/* Tema escuro de baixa emissão. Mantém o tema claro intacto. */
:root{
  --adaptive-panel:#f8fbff;
  --adaptive-surface:#fff;
  --adaptive-soft:#eef7ff;
  --adaptive-guide:#f4f8fd;
  --adaptive-control:#f7fafe;
  --adaptive-border:#d6e4ef;
  --adaptive-text:#132c45;
  --adaptive-control-text:#2e415d;
  --adaptive-muted:#5d748b;
  --adaptive-accent:#126bd5;
  --adaptive-primary-start:#0759b5;
  --adaptive-primary-end:#07509f;
  --adaptive-head:radial-gradient(circle at 86% 0,rgba(40,162,255,.18),transparent 38%),linear-gradient(155deg,#edf7ff,#f9fcff);
  --adaptive-login:linear-gradient(145deg,#eef8ff,#fff);
  --adaptive-actions:linear-gradient(transparent,#f8fbff 24%);
}
html[data-theme="dark"]{
  color-scheme:dark;
  background:#061225;
  --night-surface-1:#0b192d;
  --night-surface-2:#10233c;
  --night-surface-3:#173451;
  --night-border:#304b69;
  --night-text:#f4f8ff;
  --night-muted:#c2cfdf;
  --night-accent:#9bd0ff;
  --adaptive-panel:#08192b;
  --adaptive-surface:#10233c;
  --adaptive-soft:#173451;
  --adaptive-guide:#0b192d;
  --adaptive-control:#10233c;
  --adaptive-border:#304b69;
  --adaptive-text:#f4f8ff;
  --adaptive-control-text:#f4f8ff;
  --adaptive-muted:#c2cfdf;
  --adaptive-accent:#9bd0ff;
  --adaptive-head:#0b1b2c;
  --adaptive-login:#0a1d32;
  --adaptive-actions:linear-gradient(transparent,#08192b 24%);
}
html[data-theme="dark"] body{background:radial-gradient(circle at 8% -6%,rgba(18,123,255,.22),transparent 31%),radial-gradient(circle at 92% 10%,rgba(14,65,126,.18),transparent 28%),#061225;color:#f4f8ff}
html[data-theme="dark"] :where(
  .journey-feature-v08:not(.is-active),.sources-toggle,.menu-button,.bag-option,.destination-option,.origin-option,
  .environment-tab,.environment-close,.ghost-button,.secondary-button,
  input:not([type="checkbox"]):not([type="radio"]),select,textarea
){background:var(--night-surface-2)!important;border-color:var(--night-border)!important;color:var(--night-text)!important;box-shadow:none!important}
html[data-theme="dark"] :where(
  .bag-option.is-active,.environment-tab.is-active,.recommendation,
  .v085-explore-origin,.direction-block,.route-placeholder,
  .business-entry-v08,.private-transport-v08,.sports-entry-icon,
  .directory-policy-note,.price-filter-control,.tour-price,
  .transport-price,.directory-price,.tour-card,.directory-card,
  .exit-option-v08,.events-empty-v08,.lodging-placeholder-v08,.destination-group>summary,.empty-search,.assist-person-box,.price-reference
){background:var(--night-surface-3)!important;border-color:var(--night-border)!important;color:var(--night-text)!important;box-shadow:none!important}
html[data-theme="dark"] :where(
  .card,.journey-control-v08,.journey-workspace-v08,.explore-panel-v08,
  .exit-planner-v08,.checkout-bag-v08,.events-panel-v08,.tupa-card,
  .arrival-card,.map-card,.bag-card,.sources-card,.sheet
){background-color:var(--night-surface-1)!important;border-color:var(--night-border)!important;color:var(--night-text)!important}
html[data-theme="dark"] :where(
  .section-heading h2,.section-heading h3,.section-heading p,
  .journey-context-copy-v08 h2,.journey-context-copy-v08 p,
  .tour-card h3,.tour-card p,.tour-card small,
  .directory-card h3,.directory-card p,.directory-card small,
  .transport-card h3,.transport-card p,.transport-card small,
  .direction-block strong,.direction-block small,.route-placeholder,
  .business-entry-v08 strong,.business-entry-v08 p,
  .sources-toggle,.bag-option strong,.bag-option small,
  .environment-tab strong,.environment-tab small,
  .v08-form-block label,.v085-explore-origin label,
  .tour-price-label,.transport-price-label,.directory-price-label
){color:var(--night-text)!important}
html[data-theme="dark"] :where(
  .tour-note,.transport-note,.directory-description,.directory-meta,
  .directory-map-disabled,.category-art-note,.mode-state-note-v08,
  .environment-source,.environment-card-heading span,
  .events-empty-v08 p,.lodging-placeholder-v08 p,.sheet p,.sheet small,.sheet label,.destination-option-photo.is-placeholder
){color:var(--night-muted)!important}
html[data-theme="dark"] :where(input,select,textarea)::placeholder{color:#aebfd2!important;opacity:1}
html[data-theme="dark"] :where(.schedule-chips span,.tour-tags span,.directory-tags span,.tag-row span,.directory-offer-tags span,.freshness,.data-status,.environment-updated){background:#162d48!important;border-color:#365371!important;color:#dce9f7!important}
html[data-theme="dark"] :where(.environment-tab-icon,.mobility-icon,.tupa-icon,.sports-entry-icon,.rotezi-account-button-avatar){background:#173451!important;border-color:#365371!important;color:var(--night-accent)!important}
html[data-theme="dark"] .category-story-media{border-color:#42617f!important;box-shadow:0 0 0 1px #213c58,0 8px 20px rgba(0,0,0,.38)!important}
html[data-theme="dark"] .category-story.is-active .category-story-media{box-shadow:0 0 0 3px #4aa3ff,0 0 0 7px rgba(74,163,255,.2),0 12px 30px rgba(0,0,0,.4)!important}
html[data-theme="dark"] .category-story.is-active{background:transparent!important;border-color:transparent!important}
html[data-theme="dark"] :where(.primary-button,.journey-feature-v08.is-active){background:#0b64d8!important;color:#fff!important}
html[data-theme="dark"] :where(.hero-v08-ask,.brand-logo-picture){background:#10233c!important;background-image:none!important;border-color:#304b69!important;box-shadow:none!important}
html[data-theme="dark"] .brand-logo-picture{background:#10233c!important;background-image:none!important}
html[data-theme="dark"] :where(.hero-v08-ask strong,.hero-v08-ask small,.hero-v08-ask b,footer strong,footer span,.bag-option span,#environment-title,.environment-heading p,.tide-event small,.v085-explore-origin span,.v085-explore-origin small,.section-label,.eyebrow){color:#f4f8ff!important}
html[data-theme="dark"] :where(.text-button,.text-link,.source-inline a,.transport-type,.tour-meta-type,.directory-type,.directory-correction-button,.rotezi-tide-legend b){color:#9bd0ff!important}
html[data-theme="dark"] .sources-list a{color:#a8d4ff!important}
html[data-theme="dark"] .support-fab{background:#0750a8!important;color:#fff!important}
html[data-theme="dark"] .sheet :where(.destination-option,.origin-option,.v083-no-lodging,.destination-group>summary){background:var(--night-surface-2)!important;border-color:var(--night-border)!important;color:var(--night-text)!important}
html[data-theme="dark"] .sheet :where(.destination-option:hover,.destination-option.is-selected,.origin-option:hover,.v083-no-lodging.is-selected){background:var(--night-surface-3)!important;border-color:#4a79a8!important;color:var(--night-text)!important}
html[data-theme="dark"] .sheet :where(.destination-option-photo.is-placeholder){background:#173451!important;color:#c2cfdf!important}
html[data-theme="dark"] .sheet :where(.destination-option small,.origin-option span,.v083-no-lodging small,.destination-group>summary small){color:var(--night-muted)!important}
html[data-theme="dark"] .sheet .v083-no-lodging b{color:#a8d4ff!important}
html[data-theme="dark"] .sheet .price-reference span{color:var(--night-muted)!important}
html[data-theme="dark"] :where(.directory-rating-copy,.directory-area-count){color:#c2cfdf!important}
html[data-theme="dark"] .recommendation-icon{background:#8f321b!important;color:#fff!important}
html[data-theme="dark"] .environment-glance-dock button>span{background:var(--glance-accent)!important;color:#07182c!important}
html[data-theme="dark"] :where(.environment-chart-legend span,.environment-timeline button small,.environment-timeline button span){color:#c2cfdf!important}

@media(prefers-color-scheme:dark){
  html:not([data-theme="light"]){
    --night-surface-1:#0b192d;--night-surface-2:#10233c;--night-surface-3:#173451;
    --night-border:#304b69;--night-text:#f4f8ff;--night-muted:#c2cfdf;--night-accent:#9bd0ff;
    --adaptive-panel:#08192b;--adaptive-surface:#10233c;--adaptive-soft:#173451;
    --adaptive-guide:#0b192d;--adaptive-control:#10233c;--adaptive-border:#304b69;
    --adaptive-text:#f4f8ff;--adaptive-control-text:#f4f8ff;--adaptive-muted:#c2cfdf;--adaptive-accent:#9bd0ff;
    --adaptive-head:#0b1b2c;--adaptive-login:#0a1d32;--adaptive-actions:linear-gradient(transparent,#08192b 24%);
  }
  html:not([data-theme="light"]) :where(.journey-feature-v08:not(.is-active),.sources-toggle,.menu-button,.bag-option,.destination-option,.origin-option,.environment-tab,.environment-close,.ghost-button,.secondary-button,input:not([type="checkbox"]):not([type="radio"]),select,textarea){background:var(--night-surface-2)!important;border-color:var(--night-border)!important;color:var(--night-text)!important;box-shadow:none!important}
  html:not([data-theme="light"]) :where(.bag-option.is-active,.environment-tab.is-active,.recommendation,.v085-explore-origin,.direction-block,.route-placeholder,.business-entry-v08,.private-transport-v08,.sports-entry-icon,.directory-policy-note,.price-filter-control,.tour-price,.transport-price,.directory-price,.tour-card,.directory-card,.exit-option-v08,.events-empty-v08,.lodging-placeholder-v08,.destination-group>summary,.empty-search,.assist-person-box,.price-reference){background:var(--night-surface-3)!important;border-color:var(--night-border)!important;color:var(--night-text)!important;box-shadow:none!important}
  html:not([data-theme="light"]) :where(.card,.journey-control-v08,.journey-workspace-v08,.explore-panel-v08,.exit-planner-v08,.checkout-bag-v08,.events-panel-v08,.tupa-card,.arrival-card,.map-card,.bag-card,.sources-card,.sheet){background-color:var(--night-surface-1)!important;border-color:var(--night-border)!important;color:var(--night-text)!important}
  html:not([data-theme="light"]) :where(.section-heading h2,.section-heading h3,.section-heading p,.journey-context-copy-v08 h2,.journey-context-copy-v08 p,.tour-card h3,.tour-card p,.tour-card small,.directory-card h3,.directory-card p,.directory-card small,.transport-card h3,.transport-card p,.transport-card small,.direction-block strong,.direction-block small,.route-placeholder,.business-entry-v08 strong,.business-entry-v08 p,.sources-toggle,.bag-option strong,.bag-option small,.environment-tab strong,.environment-tab small,.v08-form-block label,.v085-explore-origin label,.tour-price-label,.transport-price-label,.directory-price-label){color:var(--night-text)!important}
  html:not([data-theme="light"]) :where(.tour-note,.transport-note,.directory-description,.directory-meta,.directory-map-disabled,.category-art-note,.mode-state-note-v08,.environment-source,.environment-card-heading span,.events-empty-v08 p,.lodging-placeholder-v08 p,.sheet p,.sheet small,.sheet label,.destination-option-photo.is-placeholder){color:var(--night-muted)!important}
  html:not([data-theme="light"]) :where(input,select,textarea)::placeholder{color:#aebfd2!important;opacity:1}
  html:not([data-theme="light"]) :where(.schedule-chips span,.tour-tags span,.directory-tags span,.tag-row span,.directory-offer-tags span,.freshness,.data-status,.environment-updated){background:#162d48!important;border-color:#365371!important;color:#dce9f7!important}
  html:not([data-theme="light"]) :where(.environment-tab-icon,.mobility-icon,.tupa-icon,.sports-entry-icon,.rotezi-account-button-avatar){background:#173451!important;border-color:#365371!important;color:var(--night-accent)!important}
  html:not([data-theme="light"]) .category-story-media{border-color:#42617f!important;box-shadow:0 0 0 1px #213c58,0 8px 20px rgba(0,0,0,.38)!important}
  html:not([data-theme="light"]) .category-story.is-active .category-story-media{box-shadow:0 0 0 3px #4aa3ff,0 0 0 7px rgba(74,163,255,.2),0 12px 30px rgba(0,0,0,.4)!important}
  html:not([data-theme="light"]) .category-story.is-active{background:transparent!important;border-color:transparent!important}
  html:not([data-theme="light"]) :where(.primary-button,.journey-feature-v08.is-active){background:#0b64d8!important;color:#fff!important}
  html:not([data-theme="light"]) :where(.hero-v08-ask,.brand-logo-picture){background:#10233c!important;background-image:none!important;border-color:#304b69!important;box-shadow:none!important}
  html:not([data-theme="light"]) .brand-logo-picture{background:#10233c!important;background-image:none!important}
  html:not([data-theme="light"]) :where(.hero-v08-ask strong,.hero-v08-ask small,.hero-v08-ask b,footer strong,footer span,.bag-option span,#environment-title,.environment-heading p,.tide-event small,.v085-explore-origin span,.v085-explore-origin small,.section-label,.eyebrow){color:#f4f8ff!important}
  html:not([data-theme="light"]) :where(.text-button,.text-link,.source-inline a,.transport-type,.tour-meta-type,.directory-type,.directory-correction-button,.rotezi-tide-legend b){color:#9bd0ff!important}
  html:not([data-theme="light"]) .sources-list a{color:#a8d4ff!important}
  html:not([data-theme="light"]) .support-fab{background:#0750a8!important;color:#fff!important}
  html:not([data-theme="light"]) .sheet :where(.destination-option,.origin-option,.v083-no-lodging,.destination-group>summary){background:var(--night-surface-2)!important;border-color:var(--night-border)!important;color:var(--night-text)!important}
  html:not([data-theme="light"]) .sheet :where(.destination-option:hover,.destination-option.is-selected,.origin-option:hover,.v083-no-lodging.is-selected){background:var(--night-surface-3)!important;border-color:#4a79a8!important;color:var(--night-text)!important}
  html:not([data-theme="light"]) .sheet :where(.destination-option-photo.is-placeholder){background:#173451!important;color:#c2cfdf!important}
  html:not([data-theme="light"]) .sheet :where(.destination-option small,.origin-option span,.v083-no-lodging small,.destination-group>summary small){color:var(--night-muted)!important}
  html:not([data-theme="light"]) .sheet .v083-no-lodging b{color:#a8d4ff!important}
  html:not([data-theme="light"]) .sheet .price-reference span{color:var(--night-muted)!important}
  html:not([data-theme="light"]) :where(.directory-rating-copy,.directory-area-count){color:#c2cfdf!important}
  html:not([data-theme="light"]) .recommendation-icon{background:#8f321b!important;color:#fff!important}
  html:not([data-theme="light"]) .environment-glance-dock button>span{background:var(--glance-accent)!important;color:#07182c!important}
  html:not([data-theme="light"]) :where(.environment-chart-legend span,.environment-timeline button small,.environment-timeline button span){color:#c2cfdf!important}
}

/* Superfícies globais compartilham uma única implementação adaptativa. */
.v08-guide-group{background:var(--adaptive-guide)!important;border-color:var(--adaptive-border)!important;color:var(--adaptive-text)!important}
.v08-guide-group>strong{color:var(--adaptive-accent)!important}
.v08-guide-group button{background:var(--adaptive-control)!important;border-color:var(--adaptive-border)!important;color:var(--adaptive-control-text)!important;box-shadow:none!important}
.rotezi-account-button{background:var(--adaptive-control)!important;border-color:var(--adaptive-border)!important;color:var(--adaptive-control-text)!important;box-shadow:none!important}
.rotezi-account-panel{background:var(--adaptive-panel)!important;color:var(--adaptive-text)!important}
.rotezi-account-head{background:var(--adaptive-head)!important;border-color:var(--adaptive-border)!important;color:var(--adaptive-text)!important}
.rotezi-account-head>button{background:var(--adaptive-control)!important;border-color:var(--adaptive-border)!important;color:var(--adaptive-control-text)!important}
.rotezi-account-head span{color:var(--adaptive-accent)!important}
.rotezi-account-head h2,.rotezi-account-login strong{color:var(--adaptive-text)!important}
.rotezi-account-head p,.rotezi-account-login>span,.rotezi-account-signup-content>p:first-child,.rotezi-account-footnote,.rotezi-account-field small{color:var(--adaptive-muted)!important}
.rotezi-account-benefits span,.rotezi-account-consents label{background:var(--adaptive-soft)!important;border-color:var(--adaptive-border)!important;color:var(--adaptive-control-text)!important}
.rotezi-oauth-grid button,.rotezi-account-field input,.rotezi-account-field select{background:var(--adaptive-control)!important;border-color:var(--adaptive-border)!important;color:var(--adaptive-control-text)!important}
.rotezi-account-login{background:var(--adaptive-login)!important;border-color:var(--adaptive-border)!important;color:var(--adaptive-text)!important}
.rotezi-account-signup{background:var(--adaptive-surface)!important;border-color:var(--adaptive-border)!important;color:var(--adaptive-text)!important}
.rotezi-account-signup summary,.rotezi-account-field>span{color:var(--adaptive-control-text)!important}
.rotezi-account-divider{color:var(--adaptive-muted)!important}
.rotezi-account-divider::before,.rotezi-account-divider::after{background:var(--adaptive-border)!important}
.rotezi-account-primary{background:linear-gradient(135deg,var(--adaptive-primary-start),var(--adaptive-primary-end))!important;color:#fff!important;box-shadow:none!important}
.journey-scroll-hint-v08{color:var(--adaptive-muted)!important;opacity:1!important}
.rotezi-account-actions{background:var(--adaptive-actions)!important}

/* Acessibilidade: contraste estável e resumos sem sobreposição. */
.environment-glance-dock strong{overflow-wrap:anywhere;white-space:normal}
@media(min-width:761px) and (max-width:860px){.environment-glance-dock{width:100%;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))}}
.environment-dashboard-hero-weather :where(.section-label,h3,p){color:#3c2b00!important}
.environment-dashboard-hero-sun :where(.section-label,h3,p){color:#2b1600!important}
html[data-theme="dark"] .environment-dashboard-hero-weather .section-label{color:#3c2b00!important}
html[data-theme="dark"] .environment-dashboard-hero-sun .section-label{color:#2b1600!important}
@media(prefers-color-scheme:dark){
  html:not([data-theme="light"]) .environment-dashboard-hero-weather .section-label{color:#3c2b00!important}
  html:not([data-theme="light"]) .environment-dashboard-hero-sun .section-label{color:#2b1600!important}
}
.environment-dashboard-hero-moon :where(.section-label,h3,p){color:#fff!important}
.environment-data-panel .environment-selected :where(p,small,span,strong){color:#fff!important}
.rotezi-tide-day.is-active{color:#020914!important}
.rotezi-tide-legend b{color:#0750a8}
.environment-heading p,.mode-state-note-v08{color:#52657d}
footer{color:#40536a!important}
.journey-mode-option-v08 small,.directory-area-count{color:#40536a}
.rotezi-ad-label{color:#40536a!important}
html[data-theme="light"] .rotezi-account-head span{color:#0750a8!important}
html[data-theme="light"] .rotezi-account-head p{color:#40536a!important}
html[data-theme="light"] .rotezi-oauth-grid button:disabled{opacity:1;background:#e5edf3!important;color:#40536a!important}
html[data-theme="light"] :where(.rotezi-account-footnote,.rotezi-account-login>span){color:#52657d!important}
html[data-theme="light"] .sheet .destination-option small{color:#52657d!important}
@media(prefers-color-scheme:light){
  html:not([data-theme="dark"]) .rotezi-account-head span{color:#0750a8!important}
  html:not([data-theme="dark"]) .rotezi-account-head p{color:#40536a!important}
  html:not([data-theme="dark"]) .rotezi-oauth-grid button:disabled{opacity:1;background:#e5edf3!important;color:#40536a!important}
  html:not([data-theme="dark"]) :where(.rotezi-account-footnote,.rotezi-account-login>span){color:#52657d!important}
  html:not([data-theme="dark"]) .sheet .destination-option small{color:#52657d!important}
}
html[data-theme="dark"] .v085-porter-route{border-color:var(--night-border);background:var(--night-surface-2)}
html[data-theme="dark"] .v085-porter-route :where(label span,p,small){color:var(--night-text)!important}
html[data-theme="dark"] .rotezi-tide-day.is-active{background:#0b64d8!important;color:#fff!important}
html[data-theme="dark"] .rotezi-ad-label{color:#dce9f7!important}
@media(prefers-color-scheme:dark){
  html:not([data-theme="light"]) .v085-porter-route{border-color:var(--night-border);background:var(--night-surface-2)}
  html:not([data-theme="light"]) .v085-porter-route :where(label span,p,small){color:var(--night-text)!important}
  html:not([data-theme="light"]) .rotezi-tide-day.is-active{background:#0b64d8!important;color:#fff!important}
  html:not([data-theme="light"]) .rotezi-ad-label{color:#dce9f7!important}
}
