/* Low-glare daytime theme. Night intentionally remains the established black-red system. */
body.observatory-page .site-theme-control {
  display: inline-grid !important;
}

body.observatory-page.soft-day {
  --obs-ink: #2b2523;
  --obs-muted: #514641;
  --obs-line: #a4978f;
  --obs-paper: #eee9e2;
  --obs-canvas: #d2ccc4;
  --obs-orange: #a92d27;
  --obs-blue: #1f5660;
  --obs-green: #2b6259;
  --heat-ember: #a92d27;
  --heat-ember-strong: #8f241f;
  --heat-ember-bright: #8f241f;
  --heat-amber: #6f4010;
  --heat-amber-bright: #7c4b10;
  --heat-teal: #2b6259;
  --heat-teal-bright: #2b6259;
  --heat-blue: #1f5660;
  --heat-blue-bright: #1f5660;
  --theme-canvas: #d2ccc4;
  --theme-surface: #eee9e2;
  --theme-surface-alt: #e2dad2;
  --theme-surface-warm: #ead2ca;
  --theme-text: #2b2523;
  --theme-text-strong: #141111;
  --theme-muted: #514641;
  --theme-line: #a4978f;
  --theme-line-strong: #766760;
  --theme-primary: #a92d27;
  --theme-primary-hover: #8f241f;
  --theme-on-primary: #fff8f4;
  --theme-link: #1f5660;
  --theme-teal: #2b6259;
  --theme-amber: #6f4010;
  --theme-hero: #181415;
  --theme-hero-panel: #211b1c;
  --theme-hero-text: #f7f0eb;
  --theme-hero-muted: #cbbeb8;
  --theme-hero-line: #64413e;
  --theme-hero-overlay: rgba(24, 20, 21, 0.9);
  --theme-nav: #1d191a;
  --theme-nav-text: #d9cfca;
  --theme-control: #302829;
  --theme-shadow: rgba(55, 40, 36, 0.16);
  background: var(--theme-canvas) !important;
  background-image: none !important;
  color: var(--theme-text) !important;
  color-scheme: light;
}

/* The header stays charcoal in both modes so page transitions remain calm. */
body.observatory-page.soft-day .bd-navbar {
  background: var(--theme-nav) !important;
  border-bottom-color: #5c403d !important;
  box-shadow: 0 8px 24px rgba(49, 35, 32, 0.12) !important;
}

body.observatory-page.soft-day .site-product-brand-copy strong {
  color: #f7f0eb !important;
}

body.observatory-page.soft-day .site-product-brand-copy small,
body.observatory-page.soft-day .bd-navbar .nav-link {
  color: #d9cfca !important;
}

body.observatory-page.soft-day .bd-navbar .nav-link.active,
body.observatory-page.soft-day .bd-navbar .nav-link:hover,
body.observatory-page.soft-day .bd-navbar .nav-link:focus {
  color: #ff8a73 !important;
}

body.observatory-page.soft-day .theme-mode-control {
  background: #302829 !important;
  border-color: #70504c !important;
  border-radius: 4px !important;
  clip-path: none !important;
}

body.observatory-page.soft-day .theme-mode-control button {
  border-right-color: #59403d !important;
  color: #d9cfca !important;
  font-family: Inter, "Segoe UI", Arial, sans-serif !important;
  text-transform: none !important;
}

body.observatory-page.soft-day .theme-mode-control button.active,
body.observatory-page.soft-day .theme-mode-control button:hover {
  background: #c83a31 !important;
  color: #fff8f4 !important;
}

body.observatory-page.soft-day .dropdown-menu {
  background: #eeeae4 !important;
  border-color: var(--theme-line) !important;
  box-shadow: 0 18px 38px var(--theme-shadow) !important;
}

body.observatory-page.soft-day .dropdown-item {
  color: var(--theme-text) !important;
}

body.observatory-page.soft-day .dropdown-item:hover,
body.observatory-page.soft-day .dropdown-item.active {
  background: #ead8d2 !important;
  color: var(--theme-primary) !important;
}

body.observatory-page.soft-day footer.footer {
  background: #211b1c !important;
  border-top-color: #64413e !important;
  color: #d9cfca !important;
}

body.observatory-page.soft-day footer.footer a,
body.observatory-page.soft-day footer.footer strong {
  color: #f7f0eb !important;
}

/* Shared daytime reading surfaces. */
body.observatory-page.soft-day:not(.home-page) .site-main,
body.observatory-page.soft-day:not(.home-page) main,
body.observatory-page.soft-day:not(.home-page) .wrap {
  color: var(--theme-text) !important;
}

body.observatory-page.soft-day:not(.home-page) .site-panel,
body.observatory-page.soft-day:not(.home-page) .metric-tile,
body.observatory-page.soft-day:not(.home-page) .data-table-container,
body.observatory-page.soft-day:not(.home-page) .insight-control-panel,
body.observatory-page.soft-day:not(.home-page) .briefing-controls,
body.observatory-page.soft-day:not(.home-page) .briefing-lane,
body.observatory-page.soft-day:not(.home-page) .briefing-card,
body.observatory-page.soft-day:not(.home-page) .briefing-risk-card,
body.observatory-page.soft-day:not(.home-page) .briefing-watch-item,
body.observatory-page.soft-day:not(.home-page) .tools-app-card,
body.observatory-page.soft-day:not(.home-page) .signal-card,
body.observatory-page.soft-day:not(.home-page) .hotspot-item,
body.observatory-page.soft-day:not(.home-page) .regional-link {
  background: var(--theme-surface) !important;
  background-image: none !important;
  border-color: var(--theme-line) !important;
  color: var(--theme-text) !important;
  box-shadow: none !important;
}

body.observatory-page.soft-day:not(.home-page) .site-main h2,
body.observatory-page.soft-day:not(.home-page) .site-main h3,
body.observatory-page.soft-day:not(.home-page) .site-main h4,
body.observatory-page.soft-day:not(.home-page) .site-panel-title,
body.observatory-page.soft-day:not(.home-page) .metric-value,
body.observatory-page.soft-day:not(.home-page) .site-main strong {
  color: var(--theme-text-strong) !important;
  text-shadow: none !important;
}

body.observatory-page.soft-day:not(.home-page) .site-main p,
body.observatory-page.soft-day:not(.home-page) .site-main li,
body.observatory-page.soft-day:not(.home-page) .source-note,
body.observatory-page.soft-day:not(.home-page) .metric-label,
body.observatory-page.soft-day:not(.home-page) .site-main small {
  color: var(--theme-muted) !important;
}

body.observatory-page.soft-day:not(.home-page) a:not(.btn) {
  color: var(--theme-link) !important;
  text-decoration-color: rgba(53, 106, 115, 0.45) !important;
}

body.observatory-page.soft-day:not(.home-page) a.ar-quicklook-link {
  color: #ffffff !important;
  text-decoration: none !important;
  text-decoration-color: transparent !important;
}

body.observatory-page.soft-day .form-control,
body.observatory-page.soft-day .form-select,
body.observatory-page.soft-day input,
body.observatory-page.soft-day select,
body.observatory-page.soft-day textarea {
  background: #f0ece6 !important;
  border-color: var(--theme-line-strong) !important;
  color: var(--theme-text) !important;
}

body.observatory-page.soft-day .form-control::placeholder,
body.observatory-page.soft-day input::placeholder,
body.observatory-page.soft-day textarea::placeholder {
  color: #83746e !important;
}

body.observatory-page.soft-day .form-control:focus,
body.observatory-page.soft-day .form-select:focus,
body.observatory-page.soft-day input:focus,
body.observatory-page.soft-day select:focus,
body.observatory-page.soft-day textarea:focus {
  border-color: var(--theme-primary) !important;
  box-shadow: 0 0 0 2px rgba(181, 46, 40, 0.16) !important;
}

body.observatory-page.soft-day .btn-primary {
  background: var(--theme-primary) !important;
  border-color: var(--theme-primary) !important;
  color: var(--theme-on-primary) !important;
}

body.observatory-page.soft-day .btn-primary:hover,
body.observatory-page.soft-day .btn-primary:focus-visible {
  background: var(--theme-primary-hover) !important;
  border-color: var(--theme-primary-hover) !important;
}

body.observatory-page.soft-day .btn-outline-primary,
body.observatory-page.soft-day .btn-outline-secondary {
  background: transparent !important;
  border-color: var(--theme-line-strong) !important;
  color: var(--theme-text) !important;
}

body.observatory-page.soft-day .btn-outline-primary:hover,
body.observatory-page.soft-day .btn-outline-secondary:hover,
body.observatory-page.soft-day .btn-outline-primary:focus-visible,
body.observatory-page.soft-day .btn-outline-secondary:focus-visible {
  background: #e2d4cf !important;
  border-color: var(--theme-primary) !important;
  color: #6f1b18 !important;
}

/* Keep page introductions as restrained dark bands instead of white hero cards. */
body.observatory-page.soft-day:not(.home-page) .insight-hero,
body.observatory-page.soft-day:not(.home-page) .risk-hero,
body.observatory-page.soft-day:not(.home-page) .briefing-hero,
body.observatory-page.soft-day:not(.home-page) .chart-studio-hero,
body.observatory-page.soft-day:not(.home-page) .data-page-hero,
body.observatory-page.soft-day:not(.home-page) .tools-hero,
body.observatory-page.soft-day:not(.home-page) .site-main > .mb-4:first-child {
  background: var(--theme-hero) !important;
  border-color: var(--theme-hero-line) !important;
  border-left-color: #d34a3e !important;
  color: var(--theme-hero-text) !important;
}

body.observatory-page.soft-day:not(.home-page) .insight-hero h1,
body.observatory-page.soft-day:not(.home-page) .risk-hero h1,
body.observatory-page.soft-day:not(.home-page) .briefing-hero h1,
body.observatory-page.soft-day:not(.home-page) .chart-studio-hero h1,
body.observatory-page.soft-day:not(.home-page) .data-page-hero h1,
body.observatory-page.soft-day:not(.home-page) .tools-hero h1,
body.observatory-page.soft-day:not(.home-page) .site-main > .mb-4:first-child h1,
body.observatory-page.soft-day:not(.home-page) .insight-hero strong,
body.observatory-page.soft-day:not(.home-page) .risk-hero strong,
body.observatory-page.soft-day:not(.home-page) .briefing-hero strong,
body.observatory-page.soft-day:not(.home-page) .data-page-hero strong,
body.observatory-page.soft-day:not(.home-page) .tools-hero strong {
  color: var(--theme-hero-text) !important;
}

body.observatory-page.soft-day:not(.home-page) .insight-hero p,
body.observatory-page.soft-day:not(.home-page) .risk-hero p,
body.observatory-page.soft-day:not(.home-page) .briefing-hero p,
body.observatory-page.soft-day:not(.home-page) .chart-studio-hero p,
body.observatory-page.soft-day:not(.home-page) .data-page-hero p,
body.observatory-page.soft-day:not(.home-page) .tools-hero p,
body.observatory-page.soft-day:not(.home-page) .site-main > .mb-4:first-child p {
  color: var(--theme-hero-muted) !important;
}

/* Homepage: retain the globe theatre, soften the analytical pathways beneath it. */
body.home-page.observatory-page.soft-day {
  --home-text-strong: #181313;
  --home-text: #3e3532;
  --home-text-muted: #514641;
  --home-accent: #8f241f;
  --home-accent-text: #8f241f;
  --home-accent-soft: #7d2b26;
  --home-increase: #7a3f12;
  --home-decrease: #2b6259;
  --home-stable: #514641;
  --home-limited: #655752;
  --home-readable: #3e3532;
  --home-readable-soft: #514641;
  --home-panel: #e2dad2;
  --home-panel-strong: #eee9e2;
  --home-panel-warm: #ead2ca;
  --home-line: #a4978f;
  --home-line-strong: #806e66;
  background: var(--theme-canvas) !important;
}

body.home-page.observatory-page.soft-day .home-showcase,
body.home-page.observatory-page.soft-day .home-signature-map {
  background: #080607 !important;
  border-color: #64413e !important;
  color: #f7f0eb !important;
}

body.home-page.observatory-page.soft-day .home-service-deck {
  background: #d8d3cc !important;
  border-color: var(--theme-line) !important;
}

body.home-page.observatory-page.soft-day .home-service-heading h2,
body.home-page.observatory-page.soft-day .home-service-card strong {
  color: var(--theme-text-strong) !important;
}

body.home-page.observatory-page.soft-day .home-service-heading p,
body.home-page.observatory-page.soft-day .home-service-card p,
body.home-page.observatory-page.soft-day .home-service-card small,
body.home-page.observatory-page.soft-day .home-service-context {
  color: var(--theme-muted) !important;
}

body.home-page.observatory-page.soft-day .home-service-grid .home-service-card,
body.home-page.observatory-page.soft-day .home-service-grid .home-service-card.primary,
body.home-page.observatory-page.soft-day .home-service-grid .home-service-card.risk {
  background: #ebe7e1 !important;
  border-color: var(--theme-line) !important;
  box-shadow: none !important;
}

body.home-page.observatory-page.soft-day .home-service-card:hover {
  background: #211b1c !important;
  border-color: #b52e28 !important;
}

body.home-page.observatory-page.soft-day .home-service-card:hover strong,
body.home-page.observatory-page.soft-day .home-service-card:hover p,
body.home-page.observatory-page.soft-day .home-service-card:hover small,
body.home-page.observatory-page.soft-day .home-service-card:hover .home-service-context {
  color: #f7f0eb !important;
}

body.home-page.observatory-page.soft-day .home-metrics-row,
body.home-page.observatory-page.soft-day .home-signal-strip,
body.home-page.observatory-page.soft-day .home-today-spotlight,
body.home-page.observatory-page.soft-day .home-outlook-card {
  background: var(--home-panel) !important;
  border-color: var(--home-line) !important;
  color: var(--theme-text) !important;
}

body.home-page.observatory-page.soft-day .home-signal-strip h2,
body.home-page.observatory-page.soft-day .home-today-stats strong,
body.home-page.observatory-page.soft-day .home-outlook-signals strong {
  color: var(--theme-text-strong) !important;
}

body.home-page.observatory-page.soft-day .home-signal-strip p,
body.home-page.observatory-page.soft-day .home-daily-card p,
body.home-page.observatory-page.soft-day .home-outlook-signals > span {
  color: var(--theme-text) !important;
}

/* About and method pages use a paper-like reading field with dark scientific figures. */
body.method-family-page.observatory-page.soft-day {
  --method-bg: #d2ccc4;
  --method-panel: #eee9e2;
  --method-panel-strong: #f2ede7;
  --method-line: #a4978f;
  --method-line-strong: #766760;
  --method-text: #26201e;
  --method-copy: #473d39;
  --method-muted: #514641;
  --method-red: #a92d27;
  --method-red-soft: #8f3c35;
  --method-amber: #6f4010;
  --method-blue: #1f5660;
  --method-green: #2b6259;
  background: var(--method-bg) !important;
  color: var(--method-text) !important;
}

body.method-family-page.observatory-page.soft-day .site-main.method-family-shell,
body.method-family-page.observatory-page.soft-day .method-section-block,
body.method-family-page.observatory-page.soft-day .method-band,
body.method-family-page.observatory-page.soft-day .method-overview-card,
body.method-family-page.observatory-page.soft-day .method-callout,
body.method-family-page.observatory-page.soft-day .method-status-ribbon,
body.method-family-page.observatory-page.soft-day .event-object,
body.method-family-page.observatory-page.soft-day .future-step-grid > div {
  background: var(--method-panel) !important;
  border-color: var(--method-line) !important;
  color: var(--method-text) !important;
}

body.method-family-page.observatory-page.soft-day .method-family-hero {
  background: #1b1718 !important;
  border-color: #64413e !important;
}

body.method-family-page.observatory-page.soft-day .method-family-hero h1,
body.method-family-page.observatory-page.soft-day .method-family-hero strong {
  color: #f7f0eb !important;
}

body.method-family-page.observatory-page.soft-day .method-family-hero p,
body.method-family-page.observatory-page.soft-day .method-family-hero small {
  color: #cbbeb8 !important;
}

body.method-family-page.observatory-page.soft-day .method-system-map,
body.method-family-page.observatory-page.soft-day .method-status-panel {
  background: #292223 !important;
  border-color: #64413e !important;
}

body.method-family-page.observatory-page.soft-day .method-system-map strong,
body.method-family-page.observatory-page.soft-day .method-status-panel strong {
  color: #f7f0eb !important;
}

body.method-family-page.observatory-page.soft-day .method-system-map small,
body.method-family-page.observatory-page.soft-day .method-status-panel span,
body.method-family-page.observatory-page.soft-day .method-status-panel dd {
  color: #cbbeb8 !important;
}

body.method-family-page.observatory-page.soft-day .method-equation,
body.method-family-page.observatory-page.soft-day .method-equation mjx-container {
  color: var(--method-text) !important;
}

body.method-family-page.observatory-page.soft-day .method-equation.featured,
body.method-family-page.observatory-page.soft-day .method-definition-grid article,
body.method-family-page.observatory-page.soft-day .hpri-problem-grid article,
body.method-family-page.observatory-page.soft-day .dual-score-grid article,
body.method-family-page.observatory-page.soft-day .chronic-heat-grid article,
body.method-family-page.observatory-page.soft-day .method-visual,
body.method-family-page.observatory-page.soft-day .dfs-scene-grid article,
body.method-family-page.observatory-page.soft-day .method-spec-grid article,
body.method-family-page.observatory-page.soft-day .metric-reading-grid article,
body.method-family-page.observatory-page.soft-day .signature-reading-grid article,
body.method-family-page.observatory-page.soft-day .future-step-grid article,
body.method-family-page.observatory-page.soft-day .metric-relation-figure,
body.method-family-page.observatory-page.soft-day .method-formula-stack,
body.method-family-page.observatory-page.soft-day .method-formula-stack article,
body.method-family-page.observatory-page.soft-day .method-table-wrap,
body.method-family-page.observatory-page.soft-day .method-status-table-wrap,
body.method-family-page.observatory-page.soft-day .method-source-note,
body.method-family-page.observatory-page.soft-day .method-limit-list,
body.method-family-page.observatory-page.soft-day .hpri-definition-grid article,
body.method-family-page.observatory-page.soft-day .hpri-percentile-figure,
body.method-family-page.observatory-page.soft-day .hpri-domain-grid article,
body.method-family-page.observatory-page.soft-day .risk-layer-chain article,
body.method-family-page.observatory-page.soft-day .method-boundary-grid.compact-grid article,
body.method-family-page.observatory-page.soft-day .dual-baseline-figure,
body.method-family-page.observatory-page.soft-day .method-subsection-title,
body.method-family-page.observatory-page.soft-day .method-subsection-title + p {
  background: var(--method-panel-strong) !important;
  border-color: var(--method-line) !important;
  color: var(--method-text) !important;
}

body.method-family-page.observatory-page.soft-day .method-equation.featured {
  border-left-color: var(--method-red) !important;
}

body.method-family-page.observatory-page.soft-day .method-equation.featured > span,
body.method-family-page.observatory-page.soft-day .method-formula-stack span,
body.method-family-page.observatory-page.soft-day .method-status-chip,
body.method-family-page.observatory-page.soft-day .hpri-band-chip {
  color: var(--method-red-soft) !important;
}

body.method-family-page.observatory-page.soft-day .method-equation.featured > p,
body.method-family-page.observatory-page.soft-day .method-definition-grid p,
body.method-family-page.observatory-page.soft-day .hpri-problem-grid p,
body.method-family-page.observatory-page.soft-day .dual-score-grid p,
body.method-family-page.observatory-page.soft-day .chronic-heat-grid p,
body.method-family-page.observatory-page.soft-day .method-source-note,
body.method-family-page.observatory-page.soft-day .method-limit-list li,
body.method-family-page.observatory-page.soft-day .method-subsection-title + p,
body.method-family-page.observatory-page.soft-day .method-visual figcaption {
  color: var(--method-copy) !important;
}

body.method-family-page.observatory-page.soft-day .method-callout.important,
body.method-family-page.observatory-page.soft-day .method-callout {
  background: #f4eee7 !important;
  border-color: #aa9386 !important;
  color: var(--method-text) !important;
}

body.method-family-page.observatory-page.soft-day .method-callout strong {
  color: #140d0b !important;
}

body.method-family-page.observatory-page.soft-day .method-callout p {
  color: #3e332f !important;
}

body.observatory-page.soft-day :is(.site-panel, .metric-tile, .briefing-card, .briefing-lane, .briefing-risk-card, .briefing-watch-item, .insight-control-panel, .tools-app-card, .signal-card, .hotspot-item, .regional-link, .method-section-block, .method-band, .method-equation, .method-callout, .method-visual, .risk-method-equation, .risk-formula-card) {
  color-scheme: light;
}

body.observatory-page.soft-day :is(.site-panel, .metric-tile, .briefing-card, .briefing-lane, .briefing-risk-card, .briefing-watch-item, .insight-control-panel, .tools-app-card, .signal-card, .hotspot-item, .regional-link, .method-section-block, .method-band, .method-equation, .method-callout, .method-visual, .risk-method-equation, .risk-formula-card) :is(h1, h2, h3, h4, h5, h6, strong, b, th, dt) {
  color: #15100e !important;
}

body.observatory-page.soft-day :is(.site-panel, .metric-tile, .briefing-card, .briefing-lane, .briefing-risk-card, .briefing-watch-item, .insight-control-panel, .tools-app-card, .signal-card, .hotspot-item, .regional-link, .method-section-block, .method-band, .method-equation, .method-callout, .method-visual, .risk-method-equation, .risk-formula-card) :is(p, li, td, dd, small, figcaption) {
  color: #443936 !important;
}

/* Expert workspaces: light analysis shell, dark plotting surface. */
body.risk-expert-page.soft-day {
  --risk-bg: #d2ccc4;
  --risk-surface: #eee9e2;
  --risk-surface-raised: #e2dad2;
  --risk-border: #a4978f;
  --risk-border-warm: #956c65;
  --risk-text: #26201e;
  --risk-muted: #514641;
  --risk-dim: #655752;
  --risk-heat: #a92d27;
  --risk-heat-soft: #8f3c35;
  --risk-data: #1f5660;
  --risk-reference: #6f4010;
  --risk-decrease: #2b6259;
}

body.insights-expert-page.soft-day {
  --ins-bg: #d2ccc4;
  --ins-surface: #eee9e2;
  --ins-surface-raised: #e2dad2;
  --ins-border: #a4978f;
  --ins-border-warm: #956c65;
  --ins-text: #26201e;
  --ins-muted: #514641;
  --ins-dim: #655752;
  --ins-heat: #a92d27;
  --ins-heat-soft: #8f3c35;
  --ins-data: #1f5660;
  --ins-reference: #6f4010;
  --ins-decrease: #2b6259;
}

body.insights-expert-page.soft-day .historical-today-panel {
  background:
    radial-gradient(circle at 10% 0%, rgba(169, 45, 39, 0.12), transparent 34%),
    linear-gradient(135deg, #f3eee8 0%, #e9e3dc 100%);
  border-color: #aa817a;
  box-shadow: inset 4px 0 0 var(--ins-heat);
}

body.insights-expert-page.soft-day .historical-event-spotlight,
body.insights-expert-page.soft-day .historical-region-context,
body.insights-expert-page.soft-day .historical-component-panel,
body.insights-expert-page.soft-day .historical-evidence-panel,
body.insights-expert-page.soft-day .historical-analogs-panel {
  background: rgba(248, 245, 241, 0.86);
  border-color: #aa9d95;
}

body.insights-expert-page.soft-day .historical-mode-tabs button {
  background: #e1dbd4;
  border-color: #a99b94;
  color: #514641;
}

body.insights-expert-page.soft-day .historical-mode-tabs button:hover,
body.insights-expert-page.soft-day .historical-mode-tabs button:focus-visible {
  background: #d8cbc5;
}

body.insights-expert-page.soft-day .historical-mode-tabs button[aria-selected="true"] {
  background: #d6aaa3;
  border-color: #a92d27;
  color: #4b1512;
}

body.insights-expert-page.soft-day .historical-event-map-shell {
  background: #d9e1e1;
  border-color: #9babae;
}

body.insights-expert-page.soft-day .historical-map-heading {
  border-bottom-color: #9babae;
}

body.insights-expert-page.soft-day .historical-map-ocean {
  fill: #cedbdd;
}

body.insights-expert-page.soft-day .historical-map-graticule {
  stroke: #a6b8bc;
}

body.insights-expert-page.soft-day .historical-map-country {
  fill: #e8e4de;
  stroke: #8f9a9c;
}

body.insights-expert-page.soft-day .historical-component-track {
  background: #c9bfb8;
}

body.insights-expert-page.soft-day .historical-evidence-badges span,
body.insights-expert-page.soft-day .historical-source-tags span {
  border-color: #9d7771;
  color: #7d2b26;
}

body.insights-expert-page.soft-day .historical-source-card {
  background: #e1dbd4;
}

body.insights-expert-page.soft-day .historical-source-card a {
  color: #8f241f !important;
}

body.insights-expert-page.soft-day .historical-analog-inspect {
  border-color: #8f817a;
  color: #322a27;
}

body.insights-expert-page.soft-day .historical-case-actions {
  border-top-color: #b9aaa3;
}

body.insights-expert-page.soft-day .historical-event-identity h3 {
  color: var(--ins-text) !important;
}

body.insights-expert-page.soft-day .historical-event-metrics > div,
body.insights-expert-page.soft-day .historical-region-benchmarks > div {
  background: #e1dbd4;
  border-color: #b9aea7;
}

body.insights-expert-page.soft-day .historical-percentile-track {
  background: #c9bfb8;
}

body.insights-expert-page.soft-day .historical-today-note {
  border-top-color: #b9aaa3;
}

body.charts-expert-page.soft-day {
  --charts-bg: #d2ccc4;
  --charts-surface: #eee9e2;
  --charts-surface-raised: #e2dad2;
  --charts-border: #a4978f;
  --charts-border-warm: #956c65;
  --charts-text: #26201e;
  --charts-muted: #514641;
  --charts-dim: #655752;
  --charts-heat: #a92d27;
  --charts-heat-soft: #8f3c35;
  --charts-data: #1f5660;
  --charts-reference: #6f4010;
  --charts-decrease: #2b6259;
}

body.risk-expert-page.soft-day .risk-mode-strip button,
body.insights-expert-page.soft-day .metric-segmented button,
body.charts-expert-page.soft-day .charts-metric-segmented button {
  background: #e1dbd4 !important;
  border-color: #a99b94 !important;
  color: #625651 !important;
}

body.risk-expert-page.soft-day .risk-mode-strip button:hover,
body.insights-expert-page.soft-day .metric-segmented button:hover,
body.charts-expert-page.soft-day .charts-metric-segmented button:hover {
  background: #d8cbc5 !important;
}

body.risk-expert-page.soft-day .risk-mode-strip button.active,
body.insights-expert-page.soft-day .metric-segmented button.active,
body.charts-expert-page.soft-day .charts-metric-segmented button.active {
  background: #d6aaa3 !important;
  border-color: #b52e28 !important;
  color: #641915 !important;
}

body.risk-expert-page.soft-day .risk-mode-strip button.active strong,
body.insights-expert-page.soft-day .metric-segmented button.active strong,
body.charts-expert-page.soft-day .charts-metric-segmented button.active strong {
  color: #4b1512 !important;
}

body.risk-expert-page.soft-day .risk-analysis-contract > div,
body.risk-expert-page.soft-day .risk-selected-facts > div,
body.risk-expert-page.soft-day .risk-model-boundary dl > div,
body.risk-expert-page.soft-day .risk-sector-detail > div,
body.insights-expert-page.soft-day .quantile-grid > div,
body.charts-expert-page.soft-day .charts-series-facts > div,
body.charts-expert-page.soft-day .charts-correlation-matrix > div {
  background: #e1dbd4 !important;
  border-color: #b9aea7 !important;
  color: #302927 !important;
}

body.risk-expert-page.soft-day table th,
body.insights-expert-page.soft-day table th,
body.charts-expert-page.soft-day table th {
  background: #d7d0c9 !important;
  border-color: #a99b94 !important;
  color: #625651 !important;
}

body.risk-expert-page.soft-day table td,
body.insights-expert-page.soft-day table td,
body.charts-expert-page.soft-day table td {
  background: #ebe7e1 !important;
  border-color: #c4bab3 !important;
  color: #3c3431 !important;
}

body.risk-expert-page.soft-day table tbody tr:hover td,
body.insights-expert-page.soft-day table tbody tr:hover td,
body.charts-expert-page.soft-day table tbody tr:hover td {
  background: #e4d4cf !important;
}

body.insights-expert-page.soft-day .annual-frequency-chart,
body.charts-expert-page.soft-day .charts-canvas-wrap,
body.risk-expert-page.soft-day .risk-distribution-chart {
  background: #211b1c !important;
  border: 1px solid #604743 !important;
  box-sizing: border-box;
  padding: 12px;
}

/* Data list and DataTables controls. */
body.observatory-page.soft-day table.data-table,
body.observatory-page.soft-day table.dataTable {
  color: var(--theme-text) !important;
}

body.observatory-page.soft-day table.data-table thead th,
body.observatory-page.soft-day table.dataTable thead th {
  background: #d5cdc6 !important;
  border-color: #a99b94 !important;
  color: #4d423e !important;
}

body.observatory-page.soft-day table.data-table tbody td,
body.observatory-page.soft-day table.dataTable tbody td {
  background: #ebe7e1 !important;
  border-color: #c3b9b2 !important;
  color: #3c3431 !important;
}

body.observatory-page.soft-day table.data-table tbody tr:hover td,
body.observatory-page.soft-day table.dataTable tbody tr:hover td {
  background: #e4d4cf !important;
}

body.observatory-page.soft-day .dataTables_info,
body.observatory-page.soft-day .dataTables_length,
body.observatory-page.soft-day .dataTables_filter,
body.observatory-page.soft-day .dt-info {
  color: #574c48 !important;
}

body.observatory-page.soft-day .dataTables_paginate .paginate_button,
body.observatory-page.soft-day .dt-paging-button {
  background: #e7e1da !important;
  border-color: #a99b94 !important;
  color: #4d423e !important;
}

body.observatory-page.soft-day .dataTables_paginate .paginate_button.current,
body.observatory-page.soft-day .dataTables_paginate .paginate_button:hover,
body.observatory-page.soft-day .dt-paging-button.current,
body.observatory-page.soft-day .dt-paging-button:hover {
  background: #b52e28 !important;
  border-color: #b52e28 !important;
  color: #fff8f4 !important;
}

/* Spatial search keeps the map dark, while its controls become a calm daytime console. */
body.observatory-map-page.soft-day .wrap {
  background: #d8d3cc !important;
  color: #332d2b !important;
}

body.observatory-map-page.soft-day fieldset,
body.observatory-map-page.soft-day .output-panel,
body.observatory-map-page.soft-day .map-workspace-heading {
  background: #ebe7e1 !important;
  border-color: #b9aea7 !important;
  color: #332d2b !important;
}

body.observatory-map-page.soft-day .form-label,
body.observatory-map-page.soft-day .small,
body.observatory-map-page.soft-day .note {
  color: #655954 !important;
}

body.observatory-map-page.soft-day #map {
  background: #173e4b !important;
  border-color: #93837c !important;
}

@media (max-width: 767.98px) {
  body.observatory-page .site-theme-control {
    margin: 8px 12px 8px auto !important;
    min-width: 200px;
  }
}

/* Dark chrome needs its own contrast rules after the shared daytime link styles. */
body.observatory-page.soft-day header.bd-navbar a.nav-link:not(.btn) {
  color: #d9cfca !important;
}

body.observatory-page.soft-day header.bd-navbar a.nav-link.active:not(.btn),
body.observatory-page.soft-day header.bd-navbar a.nav-link:hover:not(.btn),
body.observatory-page.soft-day header.bd-navbar a.nav-link:focus:not(.btn) {
  color: #ff8a73 !important;
}

body.method-family-page.observatory-page.soft-day .method-subnav a {
  color: #cbbeb8 !important;
}

body.method-family-page.observatory-page.soft-day .method-subnav a:hover,
body.method-family-page.observatory-page.soft-day .method-subnav a:focus-visible,
body.method-family-page.observatory-page.soft-day .method-subnav a.active {
  border-bottom-color: #d34a3e !important;
  color: #f7f0eb !important;
}

body.observatory-page.soft-day:not(.home-page) .data-page-status small,
body.observatory-page.soft-day:not(.home-page) .insight-hero-stat small,
body.observatory-page.soft-day:not(.home-page) .risk-hero-panel small,
body.observatory-page.soft-day:not(.home-page) .briefing-score-card small,
body.observatory-page.soft-day:not(.home-page) .tools-hero-stat-grid small {
  color: #cbbeb8 !important;
}

body.observatory-page.soft-day:not(.home-page) .site-main .btn-primary {
  color: #fff8f4 !important;
}

body.observatory-map-page.soft-day fieldset legend {
  color: #9f2a24 !important;
}

/* The homepage globe remains a dark scientific theatre inside the daytime shell. */
body.home-page.observatory-page.soft-day .home-showcase {
  --home-text-strong: #f7f0eb;
  --home-text: #d9cfca;
  --home-text-muted: #aa9d97;
  --home-accent: #ff6659;
  --home-accent-text: #ff8a73;
  --home-accent-soft: #ffad9d;
}

/* Daytime readability pass: stronger contrast and a consistent expert type scale. */
body.observatory-page.soft-day {
  font-size: 17px;
  line-height: 1.6;
}

body.observatory-page.soft-day .site-kicker {
  color: var(--theme-primary-hover) !important;
  font-size: 0.92rem !important;
  line-height: 1.42 !important;
}

body.observatory-page.soft-day .theme-mode-control button {
  font-size: 0.9rem !important;
  min-height: 34px;
}

body.observatory-page.soft-day:not(.home-page) .site-panel p,
body.observatory-page.soft-day:not(.home-page) .site-panel li,
body.observatory-page.soft-day:not(.home-page) .source-note {
  color: #473d39 !important;
  font-size: 1.03rem !important;
  line-height: 1.64 !important;
}

body.observatory-page.soft-day:not(.home-page) .site-panel small,
body.observatory-page.soft-day:not(.home-page) .metric-label,
body.observatory-page.soft-day:not(.home-page) .dataTables_info,
body.observatory-page.soft-day:not(.home-page) .dataTables_length,
body.observatory-page.soft-day:not(.home-page) .dataTables_filter,
body.observatory-page.soft-day:not(.home-page) .dt-info {
  color: #514641 !important;
  font-size: 0.94rem !important;
  line-height: 1.5 !important;
}

body.observatory-page.soft-day .form-label,
body.observatory-page.soft-day label {
  color: #473d39 !important;
  font-size: 0.95rem !important;
  line-height: 1.45 !important;
}

body.observatory-page.soft-day .form-control,
body.observatory-page.soft-day .form-select,
body.observatory-page.soft-day input,
body.observatory-page.soft-day select,
body.observatory-page.soft-day textarea {
  color: #2b2523 !important;
  font-size: 1rem !important;
}

body.observatory-page.soft-day table.data-table thead th,
body.observatory-page.soft-day table.dataTable thead th,
body.observatory-page.soft-day table thead th {
  color: #473d39 !important;
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
}

body.observatory-page.soft-day table.data-table tbody td,
body.observatory-page.soft-day table.dataTable tbody td,
body.observatory-page.soft-day table tbody td {
  color: #332b28 !important;
  font-size: 0.98rem !important;
  line-height: 1.5 !important;
}

body.observatory-page.soft-day footer.footer p,
body.observatory-page.soft-day footer.footer small,
body.observatory-page.soft-day .site-footer-brand-copy small {
  color: #d9cfca !important;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
}

/* Dark introductory bands use a brighter secondary type palette. */
body.observatory-page.soft-day:not(.home-page) .insight-hero .site-kicker,
body.observatory-page.soft-day:not(.home-page) .risk-hero .site-kicker,
body.observatory-page.soft-day:not(.home-page) .briefing-hero .site-kicker,
body.observatory-page.soft-day:not(.home-page) .chart-studio-hero .site-kicker,
body.observatory-page.soft-day:not(.home-page) .data-page-hero .site-kicker,
body.observatory-page.soft-day:not(.home-page) .tools-hero .site-kicker,
body.observatory-page.soft-day:not(.home-page) .site-main > .mb-4:first-child .site-kicker {
  color: #ff8a73 !important;
}

body.observatory-page.soft-day:not(.home-page) .data-page-status span,
body.observatory-page.soft-day:not(.home-page) .insight-hero-stat span,
body.observatory-page.soft-day:not(.home-page) .risk-hero-panel span,
body.observatory-page.soft-day:not(.home-page) .briefing-score-card span,
body.observatory-page.soft-day:not(.home-page) .tools-hero-stat-grid span {
  color: #d5c7c0 !important;
  font-size: 0.9rem !important;
  line-height: 1.45 !important;
}

body.observatory-page.soft-day:not(.home-page) .method-family-hero .btn-outline-primary,
body.observatory-page.soft-day:not(.home-page) .method-family-hero .btn-outline-secondary,
body.observatory-page.soft-day:not(.home-page) .data-page-hero .btn-outline-primary,
body.observatory-page.soft-day:not(.home-page) .data-page-hero .btn-outline-secondary,
body.observatory-page.soft-day:not(.home-page) .briefing-hero .btn-outline-primary,
body.observatory-page.soft-day:not(.home-page) .briefing-hero .btn-outline-secondary {
  background: transparent !important;
  border-color: #9b6c65 !important;
  color: #f7f0eb !important;
}

/* Homepage: enlarge compact scientific annotations without crowding the globe. */
body.home-page.observatory-page.soft-day .home-showcase .home-lede {
  font-size: 1.06rem !important;
  line-height: 1.62 !important;
}

body.home-page.observatory-page.soft-day .home-dfs-guide > span,
body.home-page.observatory-page.soft-day .home-dfs-guide dd,
body.home-page.observatory-page.soft-day .home-dfs-guide p,
body.home-page.observatory-page.soft-day .home-dfs-scene-explainer > span {
  font-size: 0.58rem !important;
  line-height: 1.12 !important;
}

body.home-page.observatory-page.soft-day .home-dfs-guide dt {
  font-size: 0.68rem !important;
}

body.home-page.observatory-page.soft-day .home-dfs-scene-explainer p {
  font-size: 0.64rem !important;
  line-height: 1.2 !important;
}

body.home-page.observatory-page.soft-day .home-archive-facts dt {
  font-size: 0.84rem !important;
}

body.home-page.observatory-page.soft-day .home-archive-facts dd {
  font-size: 0.94rem !important;
}

body.home-page.observatory-page.soft-day .home-service-deck {
  background: #d2ccc4 !important;
}

body.home-page.observatory-page.soft-day .home-service-grid .home-service-card,
body.home-page.observatory-page.soft-day .home-service-grid .home-service-card.primary,
body.home-page.observatory-page.soft-day .home-service-grid .home-service-card.risk {
  background: #eee9e2 !important;
  border-color: #a4978f !important;
}

body.home-page.observatory-page.soft-day .home-service-heading .site-kicker {
  font-size: 0.9rem !important;
}

body.home-page.observatory-page.soft-day .home-showcase .site-kicker,
body.home-page.observatory-page.soft-day .home-signature-map .site-kicker {
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
}

body.home-page.observatory-page.soft-day .home-showcase .home-signature-map .home-hexbin-tabs button {
  font-size: 14px !important;
}

body.home-page.observatory-page.soft-day .home-showcase-copy .home-archive-facts dt {
  font-size: 14px !important;
}

body.home-page.observatory-page.soft-day .home-signal-colorbar-head small,
body.home-page.observatory-page.soft-day .home-signal-colorbar-note,
body.home-page.observatory-page.soft-day .home-signal-colorbar-ticks {
  font-size: 13.5px !important;
}

body.home-page.observatory-page.soft-day .home-service-card p {
  color: #473d39 !important;
  font-size: 1.04rem !important;
  line-height: 1.58 !important;
}

body.home-page.observatory-page.soft-day .home-service-context,
body.home-page.observatory-page.soft-day .home-service-card small {
  color: #514641 !important;
  font-size: 0.9rem !important;
  line-height: 1.45 !important;
}

body.home-page.observatory-page.soft-day .home-hexbin-metric-guide > span,
body.home-page.observatory-page.soft-day .home-hexbin-metric-guide p,
body.home-page.observatory-page.soft-day .home-hexbin-readout,
body.home-page.observatory-page.soft-day .home-signal-colorbar {
  font-size: 0.86rem !important;
}

/* About and method pages: stronger paper hierarchy and readable audit detail. */
body.method-family-page.observatory-page.soft-day .method-band {
  background: #e4ddd5 !important;
  border-color: #a4978f !important;
}

body.method-family-page.observatory-page.soft-day .method-overview-card,
body.method-family-page.observatory-page.soft-day .method-capability-grid article,
body.method-family-page.observatory-page.soft-day .method-chain li,
body.method-family-page.observatory-page.soft-day .method-boundary-grid article,
body.method-family-page.observatory-page.soft-day .method-next-links a {
  background: #f0ebe4 !important;
  border-color: #94867e !important;
}

body.method-family-page.observatory-page.soft-day .method-eyebrow {
  color: #8f241f !important;
  font-size: 0.9rem !important;
  line-height: 1.42 !important;
}

body.method-family-page.observatory-page.soft-day .method-family-hero .method-eyebrow {
  color: #ff8a73 !important;
}

body.method-family-page.observatory-page.soft-day .method-hero-lead {
  color: #d5c7c0 !important;
  font-size: 1.12rem !important;
  line-height: 1.62 !important;
}

body.method-family-page.observatory-page.soft-day .method-system-label {
  color: #d5c7c0 !important;
  font-size: 0.88rem !important;
}

body.method-family-page.observatory-page.soft-day .method-system-map strong {
  font-size: 1rem !important;
}

body.method-family-page.observatory-page.soft-day .method-system-map small {
  color: #d5c7c0 !important;
  font-size: 0.95rem !important;
  line-height: 1.45 !important;
}

body.method-family-page.observatory-page.soft-day .method-status-panel > p {
  color: #ff8a73 !important;
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
}

body.method-family-page.observatory-page.soft-day .method-status-panel > span {
  color: #d5c7c0 !important;
  font-size: 0.95rem !important;
  line-height: 1.45 !important;
}

body.method-family-page.observatory-page.soft-day .method-status-panel dt {
  color: #d5c7c0 !important;
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
}

body.method-family-page.observatory-page.soft-day .method-status-panel dd {
  color: #f0e6e1 !important;
  font-size: 0.95rem !important;
  line-height: 1.45 !important;
}

body.method-family-page.observatory-page.soft-day .method-at-glance ol li small {
  color: #514641 !important;
  font-size: 0.95rem !important;
  line-height: 1.45 !important;
}

body.method-family-page.observatory-page.soft-day .method-at-glance strong {
  color: #26201e !important;
  font-size: 1rem !important;
}

body.method-family-page.observatory-page.soft-day .method-toc p,
body.method-family-page.observatory-page.soft-day .method-toc a {
  font-size: 0.96rem !important;
  line-height: 1.48 !important;
}

body.method-family-page.observatory-page.soft-day .metric-relation-figure .metric-factor small {
  color: #514641 !important;
  font-size: 0.92rem !important;
  line-height: 1.42 !important;
}

body.method-family-page.observatory-page.soft-day .hpri-definition-grid p {
  color: #473d39 !important;
  font-size: 0.98rem !important;
  line-height: 1.55 !important;
}

body.method-family-page.observatory-page.soft-day .hpri-domain-grid dt {
  color: #514641 !important;
  font-size: 0.88rem !important;
}

body.method-family-page.observatory-page.soft-day .hpri-domain-grid dd {
  color: #2b2523 !important;
  font-size: 0.96rem !important;
  line-height: 1.45 !important;
}

body.method-family-page.observatory-page.soft-day .hpri-domain-grid article > div span,
body.method-family-page.observatory-page.soft-day .hpri-domain-grid article > div b {
  font-size: 0.86rem !important;
}

body.method-family-page.observatory-page.soft-day .hpri-domain-grid article > p {
  color: #473d39 !important;
  font-size: 1rem !important;
  line-height: 1.58 !important;
}

body.method-family-page.observatory-page.soft-day .risk-layer-chain article > span {
  color: #514641 !important;
  font-size: 0.88rem !important;
}

body.method-family-page.observatory-page.soft-day .risk-layer-chain article > strong {
  color: #26201e !important;
  font-size: 1rem !important;
}

body.method-family-page.observatory-page.soft-day .risk-layer-chain article > p {
  color: #473d39 !important;
  font-size: 0.98rem !important;
  line-height: 1.55 !important;
}

body.method-family-page.observatory-page.soft-day .method-data-table th {
  background: #d8d0c8 !important;
  border-color: #91847c !important;
  color: #473d39 !important;
  font-size: 0.9rem !important;
}

body.method-family-page.observatory-page.soft-day .method-data-table td {
  background: #f0ebe4 !important;
  border-color: #b5aaa3 !important;
  color: #332b28 !important;
  font-size: 0.98rem !important;
  line-height: 1.5 !important;
}

body.method-family-page.observatory-page.soft-day .method-subnav a {
  font-size: 0.98rem !important;
}

body.method-family-page.observatory-page.soft-day .method-band-heading > p:not(.method-eyebrow) {
  color: #473d39 !important;
  font-size: 1.08rem !important;
  line-height: 1.62 !important;
}

body.method-family-page.observatory-page.soft-day .method-overview-card .method-card-kicker,
body.method-family-page.observatory-page.soft-day .method-number,
body.method-family-page.observatory-page.soft-day .method-capability-code {
  color: #514641 !important;
  font-size: 0.9rem !important;
}

body.method-family-page.observatory-page.soft-day .method-overview-card .method-card-question {
  color: #6f4010 !important;
  font-size: 0.98rem !important;
  line-height: 1.5 !important;
}

body.method-family-page.observatory-page.soft-day .method-overview-card > p:not(.method-card-kicker):not(.method-card-question),
body.method-family-page.observatory-page.soft-day .method-capability-grid p,
body.method-family-page.observatory-page.soft-day .method-chain p,
body.method-family-page.observatory-page.soft-day .method-boundary-grid p {
  color: #473d39 !important;
  font-size: 1.03rem !important;
  line-height: 1.62 !important;
}

body.method-family-page.observatory-page.soft-day .method-output-list dt {
  color: #514641 !important;
  font-size: 0.88rem !important;
}

body.method-family-page.observatory-page.soft-day .method-output-list dd,
body.method-family-page.observatory-page.soft-day .method-text-link {
  color: #2b2523 !important;
  font-size: 0.98rem !important;
  line-height: 1.5 !important;
}

body.method-family-page.observatory-page.soft-day .method-text-link {
  color: #1f5660 !important;
}

/* Expert workspaces: labels no longer fall below a comfortable reading size. */
body.insights-expert-page.soft-day .expert-eyebrow,
body.charts-expert-page.soft-day .charts-eyebrow,
body.risk-expert-page.soft-day .risk-eyebrow {
  color: #8f241f !important;
  font-size: 0.9rem !important;
  line-height: 1.42 !important;
}

body.insights-expert-page.soft-day .analysis-contract dt,
body.charts-expert-page.soft-day .charts-analysis-contract dt,
body.risk-expert-page.soft-day .risk-analysis-contract dt,
body.risk-expert-page.soft-day .risk-provenance-strip dt,
body.risk-expert-page.soft-day .risk-selected-facts dt,
body.risk-expert-page.soft-day .risk-model-boundary dt,
body.risk-expert-page.soft-day .risk-sector-detail dt {
  color: #514641 !important;
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
}

body.insights-expert-page.soft-day .analysis-contract dd,
body.charts-expert-page.soft-day .charts-analysis-contract dd,
body.risk-expert-page.soft-day .risk-analysis-contract dd,
body.risk-expert-page.soft-day .risk-provenance-strip dd,
body.risk-expert-page.soft-day .risk-selected-facts dd,
body.risk-expert-page.soft-day .risk-model-boundary dd,
body.risk-expert-page.soft-day .risk-sector-detail dd {
  color: #2b2523 !important;
  font-size: 0.96rem !important;
  line-height: 1.46 !important;
}

body.insights-expert-page.soft-day .expert-controls-grid label,
body.charts-expert-page.soft-day .charts-controls-grid label,
body.risk-expert-page.soft-day .risk-controls-grid label,
body.risk-expert-page.soft-day .risk-inline-controls label {
  color: #473d39 !important;
  font-size: 0.92rem !important;
  line-height: 1.45 !important;
}

body.insights-expert-page.soft-day .expert-section-meta,
body.charts-expert-page.soft-day .charts-section-meta,
body.risk-expert-page.soft-day .risk-section-meta {
  color: #514641 !important;
  font-size: 0.94rem !important;
  line-height: 1.45 !important;
}

body.insights-expert-page.soft-day .metric-definition-strip span,
body.charts-expert-page.soft-day .charts-metric-definition span,
body.risk-expert-page.soft-day .risk-definition-strip span,
body.insights-expert-page.soft-day .expert-summary-grid > article > span,
body.charts-expert-page.soft-day .charts-summary-grid > article > span,
body.risk-expert-page.soft-day .risk-summary-grid > article > span {
  color: #514641 !important;
  font-size: 0.88rem !important;
  line-height: 1.4 !important;
}

body.insights-expert-page.soft-day .metric-definition-strip p,
body.charts-expert-page.soft-day .charts-metric-definition p,
body.risk-expert-page.soft-day .risk-definition-strip p,
body.insights-expert-page.soft-day .expert-analysis-panel p:not(.expert-eyebrow),
body.charts-expert-page.soft-day .charts-analysis-panel p:not(.charts-eyebrow),
body.risk-expert-page.soft-day .risk-analysis-panel p:not(.risk-eyebrow) {
  color: #473d39 !important;
  font-size: 1rem !important;
  line-height: 1.58 !important;
}

body.insights-expert-page.soft-day .expert-summary-grid small,
body.charts-expert-page.soft-day .charts-summary-grid small,
body.risk-expert-page.soft-day .risk-summary-grid small {
  color: #514641 !important;
  font-size: 0.94rem !important;
  line-height: 1.45 !important;
}

body.insights-expert-page.soft-day table th,
body.charts-expert-page.soft-day table th,
body.risk-expert-page.soft-day table th {
  background: #d8d0c8 !important;
  border-color: #91847c !important;
  color: #473d39 !important;
  font-size: 0.9rem !important;
}

body.insights-expert-page.soft-day table td,
body.charts-expert-page.soft-day table td,
body.risk-expert-page.soft-day table td {
  background: #eee9e2 !important;
  border-color: #b5aaa3 !important;
  color: #332b28 !important;
  font-size: 0.98rem !important;
}

body.charts-expert-page.soft-day .charts-series-facts dt {
  color: #514641 !important;
  font-size: 0.9rem !important;
}

body.charts-expert-page.soft-day .charts-series-facts dd {
  color: #2b2523 !important;
  font-size: 1rem !important;
}

body.insights-expert-page.soft-day .expert-guardrails article p,
body.charts-expert-page.soft-day .charts-guardrails article p,
body.risk-expert-page.soft-day .risk-guardrails article p {
  color: #473d39 !important;
  font-size: 1rem !important;
  line-height: 1.58 !important;
}

/* Map controls remain compact, but no longer use micro type. */
body.observatory-map-page.soft-day .map-workspace-heading h1 {
  font-size: 24px !important;
}

body.observatory-map-page.soft-day fieldset legend {
  color: #8f241f !important;
  font-size: 0.9rem !important;
}

body.observatory-map-page.soft-day fieldset .small,
body.observatory-map-page.soft-day fieldset .note {
  color: #514641 !important;
  font-size: 0.92rem !important;
  line-height: 1.45 !important;
}

/* Final readability floor for legends, sequence numbers, and diagnostics. */
body.home-page.observatory-page.soft-day .home-showcase .home-signal-colorbar-ticks span {
  color: #d8cec8 !important;
  font-size: 0.84rem !important;
  line-height: 1.35 !important;
}

body.home-page.observatory-page.soft-day .home-service-grid .home-service-index {
  color: #6e4c46 !important;
  font-size: 0.85rem !important;
}

body.method-family-page.observatory-page.soft-day .method-system-map li > span,
body.method-family-page.observatory-page.soft-day .method-next-links span,
body.method-family-page.observatory-page.soft-day .method-at-glance li > span,
body.method-family-page.observatory-page.soft-day .method-section-heading > span,
body.method-family-page.observatory-page.soft-day .dfs-scene-grid span,
body.method-family-page.observatory-page.soft-day .method-spec-grid span,
body.method-family-page.observatory-page.soft-day .metric-reading-grid span,
body.method-family-page.observatory-page.soft-day .signature-reading-grid span,
body.method-family-page.observatory-page.soft-day .future-step-grid span,
body.method-family-page.observatory-page.soft-day .method-formula-stack span,
body.method-family-page.observatory-page.soft-day .method-equation.featured > span {
  font-size: 0.84rem !important;
  line-height: 1.4 !important;
}

body.method-family-page.observatory-page.soft-day .hpri-axis-labels,
body.method-family-page.observatory-page.soft-day .hpri-axis > i b,
body.method-family-page.observatory-page.soft-day .hpri-band-chip,
body.method-family-page.observatory-page.soft-day .method-status-chip {
  font-size: 0.82rem !important;
  line-height: 1.35 !important;
}

body.method-family-page.observatory-page.soft-day .method-formula-stack p,
body.method-family-page.observatory-page.soft-day .dfs-scene-grid p,
body.method-family-page.observatory-page.soft-day .method-spec-grid p,
body.method-family-page.observatory-page.soft-day .metric-reading-grid p,
body.method-family-page.observatory-page.soft-day .signature-reading-grid p,
body.method-family-page.observatory-page.soft-day .future-step-grid p {
  color: #473d39 !important;
  font-size: 1rem !important;
  line-height: 1.56 !important;
}

body.insights-expert-page.soft-day .diagnostic-badge,
body.charts-expert-page.soft-day .charts-diagnostic-badge,
body.charts-expert-page.soft-day .period-tag,
body.risk-expert-page.soft-day .risk-band-chip,
body.risk-expert-page.soft-day .risk-diagnostic-badge,
body.risk-expert-page.soft-day .risk-status-chip,
body.risk-expert-page.soft-day .risk-sector-status {
  color: #6a352e !important;
  font-size: 0.82rem !important;
  line-height: 1.35 !important;
}

body.insights-expert-page.soft-day .chart-readout span,
body.insights-expert-page.soft-day .quantile-grid span,
body.insights-expert-page.soft-day .seasonal-row > span,
body.insights-expert-page.soft-day .seasonal-row strong,
body.insights-expert-page.soft-day .seasonal-row small,
body.charts-expert-page.soft-day .charts-metric-segmented button span,
body.risk-expert-page.soft-day .risk-mode-strip button span,
body.risk-expert-page.soft-day .risk-selected-score span,
body.risk-expert-page.soft-day .risk-selected-score small,
body.risk-expert-page.soft-day .risk-signature-row span {
  color: #514641 !important;
  font-size: 0.84rem !important;
  line-height: 1.4 !important;
}

body.insights-expert-page.soft-day .quantile-grid strong,
body.risk-expert-page.soft-day .risk-signature-row strong,
body.risk-expert-page.soft-day .risk-signature-row em {
  color: #2b2523 !important;
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
}

/* Day-specific semantic chips must not inherit pale text from the dark theme. */
body.method-family-page.observatory-page.soft-day .hpri-band-chip.monitor,
body.risk-expert-page.soft-day .risk-band-chip.monitor {
  background: #d5e2e1 !important;
  border-color: #52777a !important;
  color: #254f55 !important;
}

body.method-family-page.observatory-page.soft-day .hpri-band-chip.elevated,
body.risk-expert-page.soft-day .risk-band-chip.elevated {
  background: #eadfc8 !important;
  border-color: #98783f !important;
  color: #68440d !important;
}

body.method-family-page.observatory-page.soft-day .hpri-band-chip.high,
body.risk-expert-page.soft-day .risk-band-chip.high {
  background: #ecd2bd !important;
  border-color: #a45e30 !important;
  color: #753611 !important;
}

body.method-family-page.observatory-page.soft-day .hpri-band-chip.severe,
body.risk-expert-page.soft-day .risk-band-chip.severe {
  background: #ebc8c4 !important;
  border-color: #a64a42 !important;
  color: #7d2621 !important;
}

body.method-family-page.observatory-page.soft-day .hpri-band-chip.extreme,
body.risk-expert-page.soft-day .risk-band-chip.extreme {
  background: #e9c5ce !important;
  border-color: #a23f56 !important;
  color: #711d33 !important;
}

body.risk-expert-page.soft-day .risk-band-chip:not(.monitor):not(.elevated):not(.high):not(.severe):not(.extreme) {
  background: #ddd5ce !important;
  border-color: #8e817a !important;
  color: #4a403c !important;
}

body.method-family-page.observatory-page.soft-day .method-status-chip.available,
body.risk-expert-page.soft-day .risk-status-chip.available {
  background: #d3e2dd !important;
  border-color: #47756c !important;
  color: #2b5d55 !important;
}

body.method-family-page.observatory-page.soft-day .method-status-chip.planned,
body.risk-expert-page.soft-day .risk-status-chip.required {
  background: #d8dfe2 !important;
  border-color: #65757c !important;
  color: #3e5159 !important;
}

body.method-family-page.observatory-page.soft-day .method-status-chip.framework,
body.risk-expert-page.soft-day .risk-status-chip.framework {
  background: #eadfc8 !important;
  border-color: #98783f !important;
  color: #68440d !important;
}

body.method-family-page.observatory-page.soft-day .method-status-chip.external,
body.risk-expert-page.soft-day .risk-diagnostic-badge[data-state="external"] {
  background: #e8cfca !important;
  border-color: #9f5d52 !important;
  color: #74372f !important;
}

body.risk-expert-page.soft-day .risk-diagnostic-badge[data-state="screening"] {
  background: #ebcbc7 !important;
  border-color: #a64a42 !important;
  color: #7d2621 !important;
}

body.risk-expert-page.soft-day .risk-diagnostic-badge[data-state="incomplete"] {
  background: #d8dfe2 !important;
  border-color: #65757c !important;
  color: #3e5159 !important;
}

body.risk-expert-page.soft-day .risk-band-legend > span {
  border-color: #aca099 !important;
}

body.risk-expert-page.soft-day .risk-band-legend strong {
  color: #2b2523 !important;
  font-size: 0.86rem !important;
}

body.risk-expert-page.soft-day .risk-band-legend small {
  color: #514641 !important;
  font-size: 0.82rem !important;
  line-height: 1.4 !important;
}

/* Final day-mode contrast guards.
   These selectors sit at the end of the daytime stylesheet so later
   dark-method typography blocks cannot leak low-contrast text into day mode. */
body.home-page.observatory-page.soft-day .home-service-grid .home-service-card,
body.home-page.observatory-page.soft-day .home-service-grid .home-service-card.primary,
body.home-page.observatory-page.soft-day .home-service-grid .home-service-card.signals,
body.home-page.observatory-page.soft-day .home-service-grid .home-service-card.risk,
body.home-page.observatory-page.soft-day .home-service-grid .home-service-card.briefing,
body.home-page.observatory-page.soft-day .home-service-grid .home-service-card.method,
body.home-page.observatory-page.soft-day .home-service-grid .home-service-card.data {
  background: #eee9e2 !important;
  border-color: #a4978f !important;
  color: #2b2523 !important;
}

body.home-page.observatory-page.soft-day .home-service-card strong,
body.home-page.observatory-page.soft-day .home-service-card b {
  color: #171211 !important;
}

body.home-page.observatory-page.soft-day .home-service-card p {
  color: #473d39 !important;
}

body.home-page.observatory-page.soft-day .home-service-card small,
body.home-page.observatory-page.soft-day .home-service-card .home-service-context,
body.home-page.observatory-page.soft-day .home-service-card .home-service-index {
  color: #514641 !important;
}

body.home-page.observatory-page.soft-day .home-service-card.primary .home-service-meta > small,
body.home-page.observatory-page.soft-day .home-service-card.signals .home-service-meta > small,
body.home-page.observatory-page.soft-day .home-service-card.risk .home-service-meta > small,
body.home-page.observatory-page.soft-day .home-service-card.briefing .home-service-meta > small,
body.home-page.observatory-page.soft-day .home-service-card.method .home-service-meta > small,
body.home-page.observatory-page.soft-day .home-service-card.data .home-service-meta > small,
body.home-page.observatory-page.soft-day .home-service-card.utility .home-service-meta > small {
  color: #6a352e !important;
}

body.method-family-page.observatory-page.soft-day .method-at-glance,
body.method-family-page.observatory-page.soft-day .method-next-band {
  background: #e4ddd5 !important;
  border-color: #a4978f !important;
  color: #2b2523 !important;
}

body.method-family-page.observatory-page.soft-day .method-at-glance h2,
body.method-family-page.observatory-page.soft-day .method-next-band h2 {
  color: #171211 !important;
}

body.method-family-page.observatory-page.soft-day .method-at-glance ol,
body.method-family-page.observatory-page.soft-day .method-at-glance li,
body.method-family-page.observatory-page.soft-day .method-next-links a {
  background: #f0ebe4 !important;
  border-color: #94867e !important;
  color: #2b2523 !important;
}

body.method-family-page.observatory-page.soft-day .method-at-glance li > span,
body.method-family-page.observatory-page.soft-day .method-section-heading > span,
body.method-family-page.observatory-page.soft-day .method-definition-grid article > span,
body.method-family-page.observatory-page.soft-day .hpri-problem-grid article > span,
body.method-family-page.observatory-page.soft-day .dual-score-grid article > span,
body.method-family-page.observatory-page.soft-day .chronic-heat-grid article > span,
body.method-family-page.observatory-page.soft-day .dfs-scene-grid span,
body.method-family-page.observatory-page.soft-day .method-spec-grid span,
body.method-family-page.observatory-page.soft-day .metric-reading-grid span,
body.method-family-page.observatory-page.soft-day .signature-reading-grid span,
body.method-family-page.observatory-page.soft-day .future-step-grid span,
body.method-family-page.observatory-page.soft-day .method-formula-stack span,
body.method-family-page.observatory-page.soft-day .method-equation.featured > span {
  color: #8f241f !important;
}

body.method-family-page.observatory-page.soft-day .method-at-glance strong,
body.method-family-page.observatory-page.soft-day .method-next-links strong,
body.method-family-page.observatory-page.soft-day .method-section-heading h2,
body.method-family-page.observatory-page.soft-day .method-section-block h3,
body.method-family-page.observatory-page.soft-day .dfs-scene-grid strong,
body.method-family-page.observatory-page.soft-day .method-spec-grid strong,
body.method-family-page.observatory-page.soft-day .metric-reading-grid strong,
body.method-family-page.observatory-page.soft-day .signature-reading-grid strong,
body.method-family-page.observatory-page.soft-day .hpri-definition-grid strong,
body.method-family-page.observatory-page.soft-day .method-limit-list strong {
  color: #171211 !important;
}

body.method-family-page.observatory-page.soft-day .method-at-glance small,
body.method-family-page.observatory-page.soft-day .method-section-lead,
body.method-family-page.observatory-page.soft-day .method-section-block > p,
body.method-family-page.observatory-page.soft-day .dfs-scene-grid p,
body.method-family-page.observatory-page.soft-day .method-spec-grid p,
body.method-family-page.observatory-page.soft-day .metric-reading-grid p,
body.method-family-page.observatory-page.soft-day .signature-reading-grid p,
body.method-family-page.observatory-page.soft-day .future-step-grid p,
body.method-family-page.observatory-page.soft-day .method-limit-list p,
body.method-family-page.observatory-page.soft-day .method-next-links span {
  color: #473d39 !important;
}

body.method-family-page.observatory-page.soft-day .metric-relation-figure,
body.method-family-page.observatory-page.soft-day .method-formula-stack,
body.method-family-page.observatory-page.soft-day .method-table-wrap,
body.method-family-page.observatory-page.soft-day .method-status-table-wrap,
body.method-family-page.observatory-page.soft-day .method-limit-list,
body.method-family-page.observatory-page.soft-day .method-source-note {
  background: #f0ebe4 !important;
  border-color: #94867e !important;
}

body.method-family-page.observatory-page.soft-day .metric-factor,
body.method-family-page.observatory-page.soft-day .metric-factor.result,
body.method-family-page.observatory-page.soft-day .method-formula-stack article,
body.method-family-page.observatory-page.soft-day .method-formula-stack article.formula-identity,
body.method-family-page.observatory-page.soft-day .method-limit-list article {
  background: #f7f3ed !important;
  border-color: #b3a59d !important;
  color: #2b2523 !important;
}

body.method-family-page.observatory-page.soft-day .metric-factor span,
body.method-family-page.observatory-page.soft-day .metric-relation-figure > b,
body.method-family-page.observatory-page.soft-day .risk-layer-chain > b,
body.method-family-page.observatory-page.soft-day .method-source-note,
body.method-family-page.observatory-page.soft-day .method-source-note code {
  color: #514641 !important;
}

body.method-family-page.observatory-page.soft-day .metric-factor strong {
  color: #171211 !important;
}

body.method-family-page.observatory-page.soft-day .metric-factor small {
  color: #473d39 !important;
}

body.risk-expert-page.soft-day .risk-text-list li,
body.risk-expert-page.soft-day .risk-token-list b {
  color: #332b28 !important;
}

body.risk-expert-page.soft-day .risk-text-list li::before {
  background: #a92d27 !important;
}

body.home-page.observatory-page.soft-day .home-showcase .home-action-pill.primary,
body.home-page.observatory-page.soft-day .home-signature-map .home-hexbin-tabs button.active,
body.home-page.observatory-page.soft-day .home-signature-map .home-hexbin-tabs button:hover,
body.observatory-page.soft-day .chart-tab.active,
body.observatory-page.soft-day .chart-tab:hover {
  background: #8f241f !important;
  border-color: #8f241f !important;
  color: #fff8f4 !important;
}

body.home-page.observatory-page.soft-day .home-showcase .home-action-pill.primary svg,
body.home-page.observatory-page.soft-day .home-signature-map .home-hexbin-tabs button.active span,
body.home-page.observatory-page.soft-day .home-signature-map .home-hexbin-tabs button:hover span,
body.observatory-page.soft-day .chart-tab.active span,
body.observatory-page.soft-day .chart-tab:hover span {
  color: #fff8f4 !important;
}

body.home-page.observatory-page.soft-day .home-signature-map .home-hexbin-readout {
  background: #211b1c !important;
  border-color: #64413e !important;
}

body.home-page.observatory-page.soft-day .home-signature-map .home-hexbin-readout b,
body.home-page.observatory-page.soft-day .home-signature-map .home-hexbin-readout strong {
  color: #fff8f4 !important;
}

body.home-page.observatory-page.soft-day .home-signature-map .home-hexbin-readout span,
body.home-page.observatory-page.soft-day .home-signature-map .home-hexbin-readout p,
body.home-page.observatory-page.soft-day .home-signature-map .home-hexbin-readout small {
  color: #d9cfca !important;
}

body.method-family-page.observatory-page.soft-day .method-system-map li > span {
  color: #ff8a73 !important;
}

body.observatory-page.soft-day .dataTables_wrapper .pagination .page-link,
body.observatory-page.soft-day .page-link {
  background: #f7f3ed !important;
  border-color: #b3a59d !important;
  color: #1f5660 !important;
}

body.observatory-page.soft-day .dataTables_wrapper .pagination .page-item.active .page-link,
body.observatory-page.soft-day .page-item.active .page-link {
  background: #1f5660 !important;
  border-color: #1f5660 !important;
  color: #fff8f4 !important;
}

body.observatory-page.soft-day .dataTables_wrapper .pagination .page-item.disabled .page-link,
body.observatory-page.soft-day .page-item.disabled .page-link {
  background: #e2dad2 !important;
  border-color: #b3a59d !important;
  color: #6c605a !important;
}

body.insights-expert-page.soft-day .percentile-value {
  color: #1f5660 !important;
}

body.charts-expert-page.soft-day .charts-toggle-control {
  background: #f7f3ed !important;
  border-color: #b3a59d !important;
  color: #2b2523 !important;
}

body.charts-expert-page.soft-day .charts-toggle-control span,
body.charts-expert-page.soft-day .charts-toggle-row span {
  color: #2b2523 !important;
}

body.charts-expert-page.soft-day .correlation-cell {
  background: #f7f3ed !important;
  border-color: #b3a59d !important;
}

body.charts-expert-page.soft-day .correlation-cell.positive {
  background: #f2d6ce !important;
}

body.charts-expert-page.soft-day .correlation-cell.negative {
  background: #d5e2e1 !important;
}

body.charts-expert-page.soft-day .correlation-cell strong {
  color: #171211 !important;
}

body.charts-expert-page.soft-day .correlation-cell small {
  color: #514641 !important;
}

body.risk-expert-page.soft-day .risk-selected-score {
  background: #f7f3ed !important;
  border-color: #b3a59d !important;
}

body.risk-expert-page.soft-day .risk-selected-score strong,
body.risk-expert-page.soft-day .risk-selected-score #riskSelectedHpri {
  color: #8f241f !important;
}

body.risk-expert-page.soft-day .risk-future-flow article,
body.risk-expert-page.soft-day .risk-provenance-strip > div,
body.risk-expert-page.soft-day .risk-selected-facts > div,
body.risk-expert-page.soft-day .risk-sector-detail > div,
body.risk-expert-page.soft-day .risk-model-boundary dl > div {
  background: #f7f3ed !important;
  border-color: #b3a59d !important;
  color: #2b2523 !important;
}

body.risk-expert-page.soft-day .risk-future-flow span {
  color: #8f241f !important;
}

body.risk-expert-page.soft-day .risk-future-flow strong,
body.risk-expert-page.soft-day .risk-provenance-strip dt,
body.risk-expert-page.soft-day .risk-selected-facts dt,
body.risk-expert-page.soft-day .risk-sector-detail dt,
body.risk-expert-page.soft-day .risk-model-boundary dt {
  color: #171211 !important;
}

body.risk-expert-page.soft-day .risk-future-flow p,
body.risk-expert-page.soft-day .risk-provenance-strip dd,
body.risk-expert-page.soft-day .risk-selected-facts dd,
body.risk-expert-page.soft-day .risk-sector-detail dd,
body.risk-expert-page.soft-day .risk-model-boundary dd {
  color: #473d39 !important;
}

body.charts-expert-page.soft-day .charts-toggle-row {
  background: #f7f3ed !important;
  border-color: #b3a59d !important;
  color: #2b2523 !important;
}

body.charts-expert-page.soft-day #chartsAbsoluteShift,
body.charts-expert-page.soft-day #chartsRelativeShift,
body.charts-expert-page.soft-day #chartsSlope,
body.charts-expert-page.soft-day #chartsRegionalBody span,
body.risk-expert-page.soft-day .risk-hpri-value,
body.insights-expert-page.soft-day .event-rank {
  color: #8f241f !important;
}

body.observatory-page.soft-day #metricLinks.chart-tabs .chart-tab.active,
body.observatory-page.soft-day #metricLinks.chart-tabs .chart-tab:hover {
  background: #8f241f !important;
  border-color: #8f241f !important;
  color: #fff8f4 !important;
}

body.observatory-page.soft-day .leaflet-control-attribution {
  background: rgba(247, 243, 237, 0.92) !important;
  color: #473d39 !important;
}

body.observatory-page.soft-day .leaflet-control-attribution a {
  color: #1f5660 !important;
}

body.charts-expert-page.soft-day .charts-metric-segmented button.active span,
body.risk-expert-page.soft-day .risk-mode-strip button.active span,
body.risk-expert-page.soft-day .risk-mode-strip button.active strong {
  color: #171211 !important;
}

body.risk-expert-page.soft-day .risk-mode-strip button strong {
  color: #332b28 !important;
}

body.insights-expert-page.soft-day #summaryFrequencyShift,
body.insights-expert-page.soft-day #summaryMetricShift {
  color: #8f241f !important;
}

body.risk-expert-page.soft-day .risk-formula-strip {
  background: #f7f3ed !important;
  border-color: #b3a59d !important;
  color: #2b2523 !important;
}

body.risk-expert-page.soft-day .risk-formula-strip code {
  color: #6f4010 !important;
}

body.risk-expert-page.soft-day .risk-formula-strip p {
  color: #473d39 !important;
}
