/* Palette verified on similarweb.com: midnight #000921, action blue #195afe. */
html:root,html:root[data-theme=light]{--mint:#195afe;--text:#17233c;--white:#17233c;--muted:#55627b;--bg:#fff;--surface:#f4f6fb;--panel:#fff;--line:#dde3ef;--section-blue:#edf2ff;--section-soft:#f5f7fc;--section-card:#fff;--section-ink:#17233c;--section-accent:#195afe}
html:root[data-theme=dark]{--bg:#000921;--surface:#111b38;--panel:#111b38;--text:#fff;--white:#fff;--muted:#bbc7e0;--mint:#96b6ff;--line:#2b3857;--section-blue:#081430;--section-soft:#0d1832;--section-card:#111b38;--section-ink:#fff;--section-accent:#195afe}
html body[data-page=home] .hero{background:#000921!important;box-shadow:0 0 0 100vmax #000921;clip-path:inset(0 -100vmax);padding-top:48px!important}
html body[data-page=home] .hero h1{color:#fff!important}
html:root[data-theme] body[data-page=home] .hero h1 em{color:#83a8ff!important;-webkit-text-fill-color:transparent!important;background:linear-gradient(100deg,#ff781b,#bc70ad,#195afe)!important;background-clip:text!important;-webkit-background-clip:text!important}
html body[data-page=home] .hero>div>p{color:#d8e0f1!important}
html body .platform-search form{background:#111b38!important;border-color:#2b3857!important;box-shadow:0 0 24px #195afe44!important}
html body .platform-search input{background:transparent!important;color:#fff!important}html body .platform-search input::placeholder{color:#bdc9e3!important}
html body .platform-search form>.nx-picker{background:#182443!important;color:#fff!important;border-color:#33466a!important}
html body .platform-search form button[type=submit],html body .product-card .arrow,html body #filters button.active{background:#195afe!important;color:#fff!important}
html body .search-suggestions{color:#bbc7e0!important}html body .search-suggestions button{background:#172849!important;color:#b7ceff!important}
html body .overview-rail{background:#07122e!important}html body .overview-rail button[aria-pressed=true]{background:#195afe!important}
html body .overview-bar b{background:#195afe!important}html body .overview-bar:nth-of-type(2) b{background:#6394ff!important}html body .overview-bar:nth-of-type(3) b{background:#afc7ff!important}
html body .overview-main{color:var(--text)}html body .hero .overview-note{color:var(--muted)!important}
html body .obs-card:nth-child(n){border-top-color:#195afe!important}
html body .page-hero{background:var(--section-blue)!important}
html body .nx-picker:focus-visible,html body .nx-option:focus-visible{outline-color:#195afe!important}
/* Extend the editorial palette beyond the hero; neutral reading surfaces. */
html:root[data-theme=light]{--surface:#f7f7f9;--panel:#fff;--section-blue:#f5f5f7;--section-soft:#f7f7f9;--section-card:#fff;--line:#e1e3e9}
html body .section:has(>#osservatori){background:#000921!important;box-shadow:0 0 0 100vmax #000921!important;color:white;border-color:#263250!important}
html body .section:has(>#osservatori) .section-head h2{color:#fff!important}html body .section:has(>#osservatori) .section-head p{color:#c4cee4!important}
html body .obs-card:nth-child(n){background:#101b38!important;border:1px solid #2e3c60!important;color:#fff!important;border-top:3px solid #195afe!important}
html body .obs-card h3{color:#fff!important}html body .obs-card p{color:#c4cee4!important}html body .obs-card .arrow{color:#a9c3ff!important}
html body .product-card{background:var(--panel)!important;border:1px solid var(--line)!important;box-shadow:0 6px 22px #00092108!important}
html body .product-card .card-live-data{background:var(--surface)!important;border-color:var(--line)!important}
html body .page-hero{background:#000921!important;color:#fff!important;border-bottom:3px solid #195afe!important}
html body .page-hero h1,html body .page-hero .crumb,html body .page-hero .crumb a{color:#fff!important}html body .page-hero p,html body .page-hero .kicker{color:#bccbe9!important}
html:root[data-theme] body .page-hero h1 em{background:none!important;color:#91b3ff!important;-webkit-text-fill-color:#91b3ff!important}
html body .press-section{background:var(--bg)!important}html body .press-card{background:var(--panel)!important;border-color:var(--line)!important}
html body .assistance{background:#000921!important;color:#fff!important}html body .assistance h2,html body .assistance h3{color:#fff!important}html body .assistance p,html body .assistance .kicker{color:#c4cee4!important}html body .assistance .help-card{background:#101b38!important;border-color:#2e3c60!important}html body .assistance a{color:#a9c3ff!important}
html body .report-workspace-head{background:#000921!important;color:#fff!important;border-radius:0 0 16px 16px;padding:36px!important}html body .report-workspace-head h1{color:#fff!important}html body .report-workspace-head p,html body .report-workspace-head .kicker,html body .report-workspace-head .crumb{color:#c4cee4!important}html body .report-workspace-head a{color:#a9c3ff!important}
html body .report-kpi,html body .report-quick,html body .report-takeaway,html body .topic-section{border-color:var(--line)!important}
html:root[data-theme] body[data-page] .observatories .obs-card:nth-child(n){background:#101b38!important;background-image:none!important;border-color:#2e3c60!important}
/* Complete shared component palette, including embedded atlas and report plots. */
html:root[data-theme] body{--blue:#195afe;--orange:#ff781b;--mint:var(--section-accent);--card-bg:var(--panel);--header:#000921}
html:root[data-theme=dark] body{--section-accent:#96b6ff}
html:root[data-theme] body .site-header,html:root[data-theme] body .site-footer{background:#000921!important;color:#fff!important;border-color:#263250!important}
html:root[data-theme] body .site-footer{box-shadow:0 0 0 100vmax #000921;clip-path:inset(0 -100vmax)}
html:root[data-theme] body .site-header a,html:root[data-theme] body .site-footer a,html:root[data-theme] body .site-header .logo-copy,html:root[data-theme] body .site-footer .logo-copy{color:#fff!important}
html:root[data-theme] body .site-header small,html:root[data-theme] body .site-footer small,html:root[data-theme] body .site-footer p{color:#bdc9e3!important}
html:root[data-theme] body .site-header .nx-picker,html:root[data-theme] body .site-header .theme-toggle{background:#111b38!important;color:#fff!important;border-color:#334361!important}
html:root[data-theme] body .site-nav a.active{color:#a8c1ff!important;border-color:#195afe!important}
html:root[data-theme] body .section:has(>#recent),html:root[data-theme] body .section:has(>#products){background:linear-gradient(160deg,var(--bg) 65%,var(--section-blue))!important;border-radius:24px}
html:root[data-theme] body .product-grid .product-card{background:var(--panel)!important;background-image:none!important;border-color:var(--line)!important;box-shadow:0 8px 24px #195afe0c!important}
html:root[data-theme] body .product-card .card-live-data{background:var(--surface)!important;border:1px solid var(--line)!important}
html:root[data-theme] body .card-live-value strong{color:var(--mint)!important}
html:root[data-theme] body .assistance .help-card{background:#111b38!important;background-image:none!important;border:1px solid #2c3b5b!important}
html:root[data-theme] body .assistance .help-card h3{color:#fff!important}html:root[data-theme] body .assistance .help-card p{color:#c4cee4!important}
html:root[data-theme] body .report-quick{background:linear-gradient(130deg,var(--section-blue),var(--surface))!important}
html:root[data-theme] body .report-quick>div>article,html:root[data-theme] body .report-quick article{background:var(--panel)!important;color:var(--text)!important;border:1px solid var(--line)!important}
html:root[data-theme] body .publication-explorer,html:root[data-theme] body .data-explorer,html:root[data-theme] body .topic-context,html:root[data-theme] body .guide-card,html:root[data-theme] body .region-panel,html:root[data-theme] body .youth-region-panel{background:var(--panel)!important;background-image:none!important;color:var(--text)!important;border-color:var(--line)!important}
html:root[data-theme] body .publication-explorer.topic-dashboard{background:transparent!important}
html:root[data-theme] body .report-chart-plot,html:root[data-theme] body .q2-chart{background:var(--panel)!important;background-image:none!important;color:var(--text)!important;border:1px solid var(--line)!important}
html:root[data-theme] body .report-chart-plot :is(.graph-tools,.live-graph,.compare-values,.compare-controls,.comparison-result,.year-points,.report-data-row,.report-chart-note),html:root[data-theme] body .data-explorer :is(h3,.chart-total,.chart-heading,.data-bar,.chart-summary){color:var(--text)!important}
html:root[data-theme] body .report-readout,html:root[data-theme] body .chart-readout{background:var(--surface)!important;color:var(--text)!important;border-left-color:#195afe!important}
html:root[data-theme] body .report-data-row>i,html:root[data-theme] body .bar-plot,html:root[data-theme] body .q2-track{background:var(--surface)!important}
html:root[data-theme] body .report-data-row b{background:#195afe!important}
html:root[data-theme] body .report-kpi{background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important}
html:root[data-theme] body .report-kpi strong{background:none!important;color:var(--mint)!important;-webkit-text-fill-color:var(--mint)!important}
html:root[data-theme] body .chart-tabs button[aria-pressed=true],html:root[data-theme] body .graph-tools button[aria-pressed=true],html:root[data-theme] body .q2-controls button[aria-pressed=true]{background:#195afe!important;color:#fff!important;border-color:#195afe!important}
html:root[data-theme] body .data-explorer :is(.chart-footnote,.chart-axis,.chart-eyebrow,.chart-total span,.chart-ring-item),html:root[data-theme] body .report-chart-plot :is(label,small){color:var(--muted)!important}
html:root[data-theme] body .year-points button{background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important}
html:root[data-theme] body .year-points button[aria-pressed=true]{background:#195afe!important;color:white!important}
html:root[data-theme] body .topic-navigation,html:root[data-theme] body .topic-context details{background:var(--panel)!important;color:var(--text)!important;border-color:var(--line)!important}
html:root[data-theme] body .kicker,html:root[data-theme] body .text-link{color:var(--mint)!important}
html:root[data-theme] body .page-hero .kicker,html:root[data-theme] body .assistance .kicker,html:root[data-theme] body .report-workspace-head .kicker{color:#b6cafa!important}
html:root[data-theme] body :is(.section-heading h2,.section-heading .kicker){color:var(--text)!important}
html:root[data-theme] body .youth-map-wrap,html:root[data-theme] body .map-card{background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important}
html:root[data-theme] body .adm-table thead{background:var(--surface)!important;color:var(--text)!important}
html:root[data-theme=light] body :is(.report-chart-plot,.q2-chart,.data-explorer){--surface:#f5f7fc!important;--panel:#fff!important;--bg:#fff!important;--text:#17233c!important;--muted:#53627e!important;--line:#dde3ef!important;--mint:#195afe!important}
html:root[data-theme=dark] body :is(.report-chart-plot,.q2-chart,.data-explorer){--surface:#17233e!important;--panel:#111b38!important;--bg:#000921!important;--text:#fff!important;--muted:#bdc9e3!important;--line:#334361!important;--mint:#96b6ff!important}
html:root[data-theme] body #dashboard .report-chart-plot :is(p,span,strong,label,small,button,div){color:var(--text)!important}
html:root[data-theme] body #dashboard .report-chart-plot .report-readout{background:var(--surface)!important;color:var(--text)!important}
html:root[data-theme] body #dashboard .report-data-row>i{background:var(--surface)!important}
html:root[data-theme] body #dashboard .report-chart-plot button[aria-pressed=true]{background:#195afe!important;color:#fff!important}
html:root[data-theme] body #dashboard .report-chart-plot button[aria-pressed=true] :is(span,strong){color:#fff!important}
html:root[data-theme] body #dashboard .report-chart-plot svg text{fill:var(--muted)!important}
/* Daylight sections: separate the navy introduction from the reading areas. */
html:root[data-theme=light] body .section:has(>#osservatori){background:#f7f8fc!important;box-shadow:0 0 0 100vmax #f7f8fc!important;color:#17233c!important;border-color:#d5dbea!important}
html:root[data-theme=light] body .section:has(>#osservatori) .section-head h2{color:#17233c!important}
html:root[data-theme=light] body .section:has(>#osservatori) .section-head p{color:#53627e!important}
html:root[data-theme=light] body[data-page] .observatories .obs-card:nth-child(n){background:#fff!important;border:1px solid #c2cde2!important;border-top:3px solid #195afe!important;box-shadow:0 6px 20px #162b5010!important;color:#17233c!important}
html:root[data-theme=light] body .obs-card h3{color:#17233c!important}
html:root[data-theme=light] body .obs-card p{color:#53627e!important}
html:root[data-theme=light] body .obs-card .arrow{color:#195afe!important}
html:root[data-theme=light] body[data-page] .observatories .obs-card:hover{border-color:#195afe!important;box-shadow:0 12px 28px #195afe18!important}
html:root[data-theme=light] body .section:has(>#recent),html:root[data-theme=light] body .section:has(>#products){background:#fff!important;border-top:1px solid #d5dbea!important;border-radius:0!important}
html:root[data-theme=light] body .product-grid .product-card{border:1px solid #c2cde2!important;box-shadow:0 5px 18px #17233c0a!important}
html:root[data-theme=light] body .product-card .card-live-data{background:#f8f9fc!important;border-color:#cbd4e5!important}
html:root[data-theme=light] body .press-section{background:#f7f8fc!important;border:1px solid #cbd4e5!important}
html:root[data-theme=light] body .press-section .press-card{background:#fff!important;border:1px solid #c2cde2!important;box-shadow:0 3px 12px #17233c08!important}
