/* Site-wide accessible reading theme; Day is the default, Night retains original design. */
:root { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }
html[data-theme="light"] body {
  background: #f2f6fc !important;
  color: #172b45 !important;
}
html[data-theme="light"] body::before,
html[data-theme="light"] body::after { display: none !important; }
/* Original theme contains many dark inline panels: override them in reading mode. */
html[data-theme="light"] body :is(section, article, form, #report-result, blockquote,
  .card, .blog-card, .blog-card-new, .sky-signal-panel, .signal-card,
  .condition-card, .aurora-signal-inner, .aurora-signal-card,
  .decoder-inner, .decoder-card, .readiness-card, .readiness-verdict,
  .aurora-readiness-inner, .briefing-card, .briefing-next-action,
  .briefing-flow, .briefing-flow > div, .stay22-accommodation-options) {
  background: #ffffff !important;
  background-image: none !important;
  border-color: #ccd9e7 !important;
  box-shadow: 0 4px 18px rgba(33, 56, 91, 0.09) !important;
}
html[data-theme="light"] body :is(div, aside)[style*="background:"],
html[data-theme="light"] body :is(div, aside)[style*="background-color:"] {
  background: #ffffff !important;
  background-image: none !important;
}
html[data-theme="light"] body :is(h1,h2,h3,h4,h5,h6,p,li,dt,dd,blockquote,
  small,strong,em,span,th,td,label,figcaption,summary) {
  color: #172b45 !important;
  text-shadow: none !important;
}
html[data-theme="light"] body :is(a:not(.btn):not(.cta-button):not(.nav-cta)) {
  color: #075c98 !important;
  text-shadow: none !important;
}
html[data-theme="light"] body a:hover { text-decoration: underline; }
html[data-theme="light"] body :is(table,thead,tbody,tr,th,td) {
  background: #fff !important;
  border-color: #b9c9d9 !important;
  color: #172b45 !important;
}
html[data-theme="light"] body tr:nth-child(even) { background: #eef4fa !important; }
html[data-theme="light"] body th { background: #e1eaf5 !important; }
html[data-theme="light"] body :is(input,select,textarea) {
  background: #ffffff !important;
  color: #172b45 !important;
  border: 1px solid #718aa3 !important;
}
html[data-theme="light"] body :is(input,textarea)::placeholder { color: #52677e !important; }
html[data-theme="light"] body :is(.site-nav,.nav-links) {
  background: #e7eef8 !important;
  border-color: #bacbdd !important;
  box-shadow: 0 2px 9px rgba(36,65,97,.12) !important;
}
html[data-theme="light"] body .nav-hamburger span { background: #172b45 !important; }
html[data-theme="light"] body :is(button,.btn,.cta-button,input[type="submit"]) {
  background: #135d88 !important;
  color: #ffffff !important;
  border-color: #135d88 !important;
  box-shadow: none !important;
}
html[data-theme="light"] body :is(button,.btn,.cta-button,input[type="submit"]) :is(span,strong) {
  color: #ffffff !important;
}
html[data-theme="light"] body .site-nav a.nav-cta { background: #135d88 !important; color: #fff !important; }
html[data-theme="light"] body .filter-btn.active { background: #08486d !important; }
html[data-theme="light"] body footer { background: #e7eef8 !important; color: #172b45 !important; }
html[data-theme="light"] body .status-chip { border: 1px solid #9cb1c7 !important; }
html[data-theme="light"] body :is(.site-nav .nav-divider, .card-emoji) { color: #314d67 !important; }

/* Accessible persistent toggle, always available even on pages without a full navigation. */
#swl-theme-toggle {
  position: fixed !important;
  right: max(14px, env(safe-area-inset-right)) !important;
  bottom: max(18px, env(safe-area-inset-bottom)) !important;
  z-index: 2147482000 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-width: 118px !important;
  min-height: 48px !important;
  padding: 10px 16px !important;
  margin: 0 !important;
  border: 2px solid #668ca9 !important;
  border-radius: 30px !important;
  background: #f9fbff !important;
  color: #132e47 !important;
  font: 700 15px/1.2 system-ui, sans-serif !important;
  box-shadow: 0 4px 18px rgba(0,0,0,.25) !important;
  cursor: pointer !important;
  transform: none !important;
  text-shadow: none !important;
}
html[data-theme="dark"] #swl-theme-toggle {
  background: #152440 !important;
  color: #fff !important;
  border-color: #9bd7ed !important;
}
#swl-theme-toggle:hover { filter: brightness(1.07); transform: none !important; }
#swl-theme-toggle:focus-visible { outline: 3px solid #df8b15 !important; outline-offset: 3px !important; }
@media (max-width: 520px) {
  #swl-theme-toggle { right: 12px !important; bottom: 12px !important; min-width: 106px !important; font-size: 14px !important; }
}
@media (prefers-reduced-motion: reduce) {
  #swl-theme-toggle { transition: none !important; }
}