/* Shared editorial layout: readable type, varied density, clear controls. */
:root{--surface:#222b37;--line:rgba(158,183,219,.18);--shadow:0 10px 28px rgba(5,10,20,.12);--link-hover:#a9caff;}
body{background:radial-gradient(ellipse at 90% 0,rgba(52,83,130,.2),transparent 42rem),#171e28;}
body::before{opacity:.08;}
h1,h2,h3,h4{font-weight:650;text-wrap:pretty;}
a,a:hover,a:focus-visible,a:visited,.experiment-reset,.glossary-trigger{text-decoration:none!important;}
a{transition:color .18s ease,background-color .18s ease,border-color .18s ease;}
.glossary-trigger{border-bottom:0;background:rgba(115,157,219,.08);color:#b9d6ff;border-radius:4px;}
.glossary-trigger:hover{background:#304d73;color:#fff;}
.article-shell p a:not(.button),.legal-page a:not(.button),.concept-comparison p a{color:#bdd8ff;font-weight:600;border-radius:4px;}
.article-shell p a:not(.button):hover,.legal-page a:not(.button):hover{color:#fff;background:rgba(103,154,230,.15);}
:focus-visible{outline:3px solid #b4d2ff;outline-offset:4px;}
.header-inner{min-height:104px;}.brand img{width:142px;}.nav{gap:16px;}.nav a{font-size:.88rem;font-weight:700;letter-spacing:.045em;padding:12px 14px;border-radius:8px;}.nav a[aria-current]{background:#28374c;}.nav a:hover{background:#24364e;}
.button{font-size:.9rem;font-weight:650;min-height:44px;background:#345885;border-color:#678bbd;box-shadow:none;}
.button.secondary{background:rgba(39,58,84,.32);border-color:#536c90;}.button:hover{color:#fff;background:#416a9e;border-color:#a5c5f5;box-shadow:none;}
.text-link,.story-link{font-size:.92rem;font-weight:600;}.eyebrow{font-size:.7rem;font-weight:700;letter-spacing:.12em;}
.page-intro{padding:38px 0 30px;}.page-intro h1,.page-intro.tools-intro h1,.news-intro h1{font-size:clamp(1.9rem,3.1vw,2.75rem);line-height:1.16;letter-spacing:-.025em;max-width:26ch;}
.page-intro p{max-width:76ch;font-size:1.02rem;line-height:1.7;}.page-intro.contact-intro h1{font-size:clamp(1.9rem,3.1vw,2.75rem)!important;}
.section{padding:38px 0;}.section-heading{align-items:center;gap:20px;}.section-heading h2{font-size:clamp(1.45rem,2.4vw,1.95rem);line-height:1.2;}.section-heading>.text-link{flex:0 0 auto;}.section-heading p{font-size:.92rem;line-height:1.6;}
.report-label{font-size:.62rem;font-weight:600;padding:5px 9px;letter-spacing:.045em;border-radius:6px;background:#263a54;border-color:#527198;}
.hero{padding:24px 0 28px;}.news-grid{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:26px;align-items:start;}
.top-story{display:block;min-height:0;border:0;box-shadow:none;background:transparent;overflow:visible;}
.story-art{min-height:0;aspect-ratio:16/9;border-radius:14px;}.story-art img{width:100%;height:100%;object-fit:cover;transform:none;}
.story-art::after{content:attr(data-image-label);top:auto;bottom:12px;left:12px;right:auto;background:rgba(13,25,42,.88);font:600 .62rem Arial,sans-serif;letter-spacing:.07em;backdrop-filter:none;border-radius:5px;}
.story-copy{padding:20px 0 0;}.story-copy h1{font-size:clamp(1.65rem,2.6vw,2.2rem);line-height:1.2;letter-spacing:-.025em;margin:12px 0;max-width:32ch;}.story-copy>p{font-size:.98rem;line-height:1.65;margin-bottom:16px;color:#c5d0e0;}.story-meta{justify-content:space-between;align-items:center;gap:12px;}.story-meta>span{font-size:.76rem;max-width:70%;}.story-meta .button{padding:8px 14px;font-size:.83rem;}.story-copy .hero-photo-credit{margin:12px 0 0;font-size:.67rem;color:#a9b8cd;line-height:1.5;}
.side-stack{display:grid;grid-template-rows:auto auto;gap:20px;min-width:0;}
.headline-rail{padding:20px 24px;border:1px solid var(--line);border-radius:14px;background:#202b39;}.rail-heading h2{font-size:1.25rem;line-height:1.2;margin:7px 0 16px;}.headline-rail ol{list-style:none;margin:0 0 18px;padding:0;}.headline-rail li{display:grid;grid-template-columns:22px 1fr;gap:12px;padding:14px 0;border-top:1px solid var(--line);}.rail-number{font:500 .75rem 'Play',Arial,sans-serif;color:#8baedc;padding-top:3px;}.headline-rail h3{margin:0 0 7px;font-size:.94rem;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}.headline-rail p{margin:0;color:#aebed4;font-size:.72rem;line-height:1.5;}.headline-rail .text-link{font-size:.82rem;}
.side-story--learning{min-height:0;padding:22px 24px;background:linear-gradient(125deg,#283751,#26283c);box-shadow:none;justify-content:start;gap:10px;}.side-story--learning::after{display:none;}.side-story--learning h2{font-size:1.2rem;line-height:1.3;margin:2px 0;max-width:25ch;}.side-story--learning p{font-size:.87rem;line-height:1.65;}.side-story--learning .button{align-self:center;margin-top:5px;}.side-story--learning img{float:right;width:78px;height:78px;object-fit:contain;margin:-4px 0 8px 14px;}
.ticker-context{padding:14px 0;margin-top:24px;border:0;border-top:1px solid var(--line);border-radius:0;background:none;font-size:.76rem;line-height:1.65;}
.content-card,.feature-card,.workbench-card,.activity-card{box-shadow:none;background:#222c39;border-color:var(--line);}
.auto-news{border-top:1px solid var(--line);}.auto-news-grid{gap:22px;}.news-card-copy{padding:20px;}.news-card-copy h2,.content-card h2{font-size:1.2rem;line-height:1.35;letter-spacing:-.015em;}.news-card-copy>p{font-size:.91rem;line-height:1.65;}.news-card-topic{font-size:.65rem;font-weight:650;letter-spacing:.04em;}.news-card-date{font-size:.73rem;}.news-card-copy .story-link{margin-top:16px;}
.latest-digest{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0 32px;}.latest-digest .content-card{display:grid;grid-template-columns:82px minmax(0,1fr);gap:14px;align-items:start;background:none;border:0;border-top:1px solid var(--line);border-radius:0;padding:18px 0 0;}.latest-digest .thumb{min-height:0;aspect-ratio:1;border-radius:8px;}.latest-digest .thumb img{width:100%;height:100%;object-fit:cover;}.latest-digest .news-card-copy{padding:0;}.latest-digest h2{font-size:.96rem;line-height:1.45;margin:8px 0;}.latest-digest .report-label{font-size:.55rem;padding:3px 6px;}.latest-digest .news-card-copy>p:not(.news-card-date),.latest-digest .news-card-topic{display:none;}.latest-digest .news-card-date{font-size:.68rem;line-height:1.5;}.latest-digest .story-link{font-size:.78rem;margin-top:8px;}
.news-desks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:30px;}.news-desk{margin:0;padding:24px;background:#1f2937;border:1px solid var(--line);border-radius:14px;min-width:0;}.news-desk:last-child:nth-child(odd){grid-column:1/-1;}.news-desk .section-heading{align-items:start;flex-wrap:wrap;margin-bottom:12px;}.news-desk h3{font-size:1.2rem;margin:0 0 7px;}.news-desk .section-heading p{font-size:.82rem;}.news-desk .section-heading .text-link{font-size:.78rem;}.news-desk-grid{display:grid;grid-template-columns:1fr;gap:0;}.news-desk-grid article{border:0;border-top:1px solid var(--line);border-radius:0;background:none;padding:16px 0;}.news-desk-grid h4{font-size:1rem;line-height:1.45;margin:10px 0 6px;}.news-desk-grid p{font-size:.74rem;}.news-source-status{font-size:.76rem;line-height:1.7;}
.official-updates{padding:30px;border:1px solid var(--line);border-radius:16px;background:#1d2836;}.official-updates .source-icon-title .editorial-icon{width:82px;height:82px;}.official-headlines{gap:0 24px;}.official-headlines li{padding:18px 0;border:0;border-top:1px solid var(--line);background:none;border-radius:0;}.official-headlines a{font-size:.94rem;font-weight:550;}.official-description{font-size:.9rem;line-height:1.7;}.official-status{font-size:.72rem;}
.feature-grid{gap:20px;}.feature-card{padding:25px;}.feature-card h3{font-size:1.2rem;line-height:1.35;}.feature-card p{font-size:.92rem;line-height:1.75;}.feature-card .text-link{display:block;text-align:center;}
.number-preview{background:linear-gradient(115deg,#263c59,#292b40);box-shadow:none;padding:30px;gap:32px;}.number-preview h2{font-size:clamp(1.5rem,2.3vw,2rem);}.number-preview-steps strong{font-size:1.65rem;}.market-panel{gap:24px;}.market-copy{padding:30px;background:#202f46;}.market-copy h2{font-size:clamp(1.5rem,2.3vw,2rem);}.market-visual{padding:28px;background:#222d3b;}
.learning-path-card{position:relative;background:#222e3f;padding:24px;border-top:3px solid #7ea6dc;}.learning-path-card:nth-child(2){border-top-color:#a89bdb;background:#282c40;}.learning-path-card:nth-child(3){border-top-color:#81b8ba;background:#22353e;}.learning-path-card h3{font-size:1.3rem;line-height:1.3;}.learning-path-card p{font-size:.92rem;line-height:1.7;}
.practice-doorway{padding:28px;margin:36px 0;border-radius:16px;background:#24334b;border:1px solid #4b668c;}.practice-doorway>h2{font-size:1.7rem;margin:10px 0;}.practice-doorway .activity-grid{gap:0 28px;margin-bottom:0;counter-reset:activity;}.practice-doorway .activity-card{position:relative;counter-increment:activity;padding:22px 0;border:0;border-top:1px solid #4d6180;border-radius:0;background:none;box-shadow:none;}.practice-doorway .activity-card::before{content:'0' counter(activity);font:500 .8rem 'Play',Arial,sans-serif;color:#b9d4fc;margin-bottom:9px;}.practice-doorway .activity-card h3{font-size:1.15rem;}.practice-doorway .activity-card p{font-size:.9rem;margin:8px 0;}.practice-doorway .activity-card .button{align-self:flex-start;font-size:.82rem;margin-top:8px;}
.workbench-card{padding:25px;gap:10px;}.workbench-card h2{font-size:1.35rem;line-height:1.3;}.workbench-card p{font-size:.94rem;line-height:1.75;}.workbench-card .text-link{font-size:.88rem;}.tool-number{font-size:1.7rem;margin-bottom:8px;}.activity-card h3{font-size:1.2rem;}.activity-card p{font-size:.95rem;}
.article-shell{box-shadow:none;}.article-shell h1,.learn-guide h1,.source-article h1,.legal-page h1{font-size:clamp(1.8rem,2.8vw,2.55rem);line-height:1.2;letter-spacing:-.025em;}.article-shell .standfirst{font-size:1.1rem;line-height:1.75;}.article-shell h2,.learn-guide h2{font-size:clamp(1.3rem,2vw,1.65rem);line-height:1.35;}.article-shell>p,.article-shell section>p{line-height:1.85;}.source-excerpt blockquote p{font-size:1.05rem;}.article-sources,.correction-note{background:#1a2432;}.reading-actions{margin:18px 0 24px;gap:12px 18px;}.reading-actions .button{font-size:.8rem;}.reading-actions>a{font-size:.84rem;}.learn-guide.article-shell{padding:30px;}.learn-contents{gap:8px;}.learn-contents a{font-size:.85rem;}.journey-lens{padding:28px;background:#222e3e;}.journey-lens h2{font-size:1.45rem;}.learning-callout{padding:28px;background:linear-gradient(115deg,#24374e,#292c40);}.learning-callout h2{font-size:1.5rem;}.case-story p{font-size:1rem;}.challenge-card h2{font-size:1.6rem;}.concept-comparison>h2{font-size:1.6rem;}.concept-number{font-size:1.8rem;}.number-emblem{font-size:clamp(2.5rem,6vw,4.25rem);}.lesson-chapter h2{font-size:clamp(1.5rem,2.4vw,2rem);}
.contact-visual h2{font-size:1.75rem;}.about-story h2,.about-principles h2{font-size:1.8rem;}.about-pillars .feature-card{background:#222c39;}.footer-directory a{font-size:.83rem;}.site-footer{background:#1b2531;}.footer-heading p{font-size:1.1rem;}.social-links a{font-size:.75rem;}.footer-bottom .copyright{font-size:.75rem;}
.tv-holding{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;border-top:1px solid var(--line);align-items:center;}.tv-holding h2{font-size:1.6rem;margin:10px 0;}.tv-holding p{font-size:.94rem;color:var(--muted);max-width:70ch;}.tv-holding .resource-links{justify-content:center;margin:0;}
@media(max-width:760px){.tv-holding{grid-template-columns:1fr;gap:18px;}.tv-holding .resource-links{justify-content:flex-start;}}
[data-reveal],[data-reveal].is-visible{opacity:1;transform:none;transition:none;}
@media(hover:hover) and (pointer:fine){a:hover>img,.brand:hover img,.story-art:hover img{transform:none;filter:none;}.content-card:hover,.feature-card:hover,.workbench-card:hover,.activity-card:hover{border-color:#6a8ab8;box-shadow:0 8px 24px rgba(5,10,20,.15);}.experiment-reset:hover{color:#fff;background:rgba(103,154,230,.12);border-radius:6px;}}
@media(max-width:1040px){.news-grid{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:20px;}.headline-rail{padding:18px;}.headline-rail li{padding:12px 0;}.headline-rail h3{font-size:.88rem;}.side-story--learning{padding:18px;}.story-copy h1{font-size:1.85rem;}.nav a{background:none;}.section-heading{flex-wrap:wrap;}.latest-digest{grid-template-columns:1fr;}.latest-digest .content-card{grid-template-columns:96px minmax(0,1fr);}.latest-digest .thumb{aspect-ratio:4/3;}.latest-digest h2{font-size:1rem;}.news-desks{grid-template-columns:1fr;}.side-stack{gap:16px;}}
@media(max-width:760px){.news-grid{grid-template-columns:1fr;}.side-stack{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;}.headline-rail li:nth-child(n+3){display:none;}.story-copy h1{font-size:1.9rem;max-width:32ch;}.story-meta>span{max-width:65%;}.auto-news-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.auto-news-grid>.content-card:last-child:nth-child(odd){grid-column:1/-1;}.number-preview{padding:24px;gap:22px;}.news-card-copy h2{font-size:1.15rem;}.official-updates{padding:24px;}.article-shell h1,.learn-guide h1{font-size:2rem;}}
@media(max-width:580px){.header-inner{min-height:90px;gap:14px;}.brand img{width:124px;}.hero{padding-top:18px;}.side-stack{grid-template-columns:1fr;}.side-story--learning{display:grid;grid-template-columns:1fr auto;gap:12px 18px;align-items:center;}.side-story--learning>div{min-width:0;}.side-story--learning h2{font-size:1.05rem;}.side-story--learning p{font-size:.85rem;}.side-story--learning .button{grid-column:1/-1;justify-self:center;}.side-story--learning img{width:64px;height:64px;}.headline-rail li:nth-child(n+3){display:grid;}.headline-rail h3{font-size:.94rem;}.story-copy h1{font-size:1.7rem;line-height:1.25;}.story-copy>p{font-size:.95rem;}.story-meta>span{max-width:none;flex-basis:100%;}.story-meta>.button{margin-left:auto;}.page-intro{padding:28px 0 24px;}.page-intro h1,.page-intro.tools-intro h1,.news-intro h1,.article-shell h1,.learn-guide h1{font-size:1.85rem;}.page-intro.contact-intro h1{font-size:1.85rem!important;}.page-intro p{font-size:1rem;}.section{padding:30px 0;}.auto-news-grid{grid-template-columns:1fr;}.news-card-copy{padding:20px;}.latest-digest{gap:8px;}.latest-digest .content-card{grid-template-columns:74px minmax(0,1fr);gap:14px;}.latest-digest .report-label{font-size:.52rem;}.official-updates{padding:20px;}.official-headlines{grid-template-columns:1fr;}.official-updates .source-icon-title .editorial-icon{width:64px;height:64px;}.official-status{font-size:.73rem;}.news-desk{padding:20px;}.news-desk-grid h4{font-size:.96rem;}.practice-doorway{padding:22px;}.practice-doorway .activity-grid{grid-template-columns:1fr;}.workbench-card,.learn-guide.article-shell,.journey-lens{padding:22px;}.article-shell h2{font-size:1.35rem;}.article-shell .standfirst{font-size:1.05rem;}.feature-card h3{font-size:1.1rem;}.learning-callout{padding:24px;}.number-preview h2,.market-copy h2{font-size:1.55rem;}.concept-number{font-size:1.6rem;}.reading-actions{gap:12px;}.reading-actions .button{font-size:.8rem;}.reading-actions>a{font-size:.8rem;}}
@media print{body{background:white;}.headline-rail,.side-story--learning,.reading-actions{display:none;}.top-story,.journey-lens,.practice-doorway,.workbench-card,.activity-card,.official-updates,.news-desk{background:white;color:black;box-shadow:none;}.page-intro h1,.article-shell h1{font-size:25pt;}.latest-digest{display:block;}}
/* Headlines lead the reading order; the archive photograph follows the context. */
.story-copy{padding:0 0 18px;}.story-copy h1{margin-top:12px;}.story-art{aspect-ratio:21/9;}.hero-photo-credit{margin:10px 0 0;font-size:.67rem;color:#a9b8cd;line-height:1.5;}
@media(max-width:580px){.story-art{aspect-ratio:16/9;}.story-copy{padding-bottom:16px;}}
.tv-holding .editorial-icon{float:left;width:76px;height:76px;margin:0 18px 10px 0;}.tv-holding .editorial-icon img{width:100%;height:100%;object-fit:contain;}
@media(max-width:580px){.tv-holding .editorial-icon{width:64px;height:64px;margin-right:14px;}}
/* The learning invitation spans the masthead, rather than stretching a sidebar. */
.news-grid{grid-template-areas:'lead rail' 'study study';align-items:start;}.top-story{grid-area:lead;}.side-stack{display:contents;}.headline-rail,.video-carousel{grid-area:rail;}.side-story--learning{grid-area:study;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;padding:22px 28px;}.side-story--learning img{float:left;width:76px;height:76px;margin:0 22px 0 0;}.side-story--learning h2{font-size:1.2rem;max-width:none;margin:4px 0 6px;}.side-story--learning p{font-size:.9rem;max-width:80ch;}.side-story--learning .button{grid-column:auto;margin:0;justify-self:center;}.headline-rail li:nth-child(n+3){display:grid;}
@media(max-width:760px){.news-grid{grid-template-columns:1fr;grid-template-areas:'lead' 'rail' 'study';}.side-stack{display:contents;}.side-story--learning{grid-template-columns:minmax(0,1fr) auto;}}
@media(max-width:580px){.side-story--learning{grid-template-columns:1fr;gap:16px;padding:20px;}.side-story--learning img{width:64px;height:64px;margin-right:16px;}.side-story--learning .button{grid-column:1;}.side-story--learning h2{font-size:1.1rem;}.side-story--learning p{font-size:.88rem;}}
.hero-photo-credit,.headline-rail p,.latest-digest .news-card-date{font-size:.75rem;}.glossary-trigger{cursor:pointer;}
.back-to-top{display:grid;place-items:center;width:48px;height:48px;padding:0;border-radius:12px;}.back-to-top svg{display:block;pointer-events:none;}.back-to-top:hover{background:#37557b;border-color:#b4ccf1;}.back-to-top:focus-visible{outline:3px solid #b4ccf1;outline-offset:4px;}
@media(max-width:580px){.experiment-figure text,.challenge-card svg text{font-size:24px;}}
/* One news-card surface throughout the site; controls and chart series retain their states. */
@media screen{
 :root{--surface:#222c39;}
 :is(.content-card,.feature-card,.workbench-card,.activity-card,.headline-rail,.side-story,.video-carousel,.video-preview,.news-desk,.official-updates,.number-preview,.market-copy,.market-visual,.learning-path-card:nth-child(n),.learning-path-step,.practice-doorway,.journey-lens,.learning-callout,.learn-start,.learn-discovery,.learning-example,.learn-practice,.lesson-feature,.lesson-chapter,.lesson-takeaway,.lab-output,.article-shell,.article-sources,.correction-note,.release-facts,.calculator-shell,.contact-visual,.contact-form-panel,.contact-social,.contact-office,.about-story figure,.about-transparency,.tv-placeholder,.tv-note,.news-browser,.page-contents,.glossary-entry,.glossary-dialog,.visual-workshop,.experiment-figure,.experiment-takeaway,.news-learning-bridge,.challenge-card,.challenge-card svg,.challenge-claim,.concept-comparison,.concept-pair article:nth-child(n),.finder-results article,.reading-items article,[data-reading-confirm],.number-preview-steps li:nth-child(n),.compound-steps div,.tool-chart){background:var(--surface);}
 .learning-path-card:nth-child(n){border-top:1px solid var(--line);}
 .concept-pair article:nth-child(n){border-top-color:var(--line);}
 /* Compact news rows stay part of their containing surface. */
 .latest-digest .content-card,.news-desk-grid article,.practice-doorway .activity-card{background:none;}
}
/* Keep the mascot out of paragraph wrapping and give the sentence its full column. */
.side-story--learning{column-gap:24px;}
.side-story--learning>div{display:grid;grid-template-columns:76px minmax(0,1fr);column-gap:22px;align-items:center;min-width:0;}
.side-story--learning img{grid-column:1;grid-row:1/4;float:none;margin:0;}
.side-story--learning .eyebrow,.side-story--learning h2,.side-story--learning p{grid-column:2;}
.side-story--learning p{max-width:none;margin:0;text-wrap:pretty;}
.quick-check-question{white-space:nowrap;}
@media(max-width:580px){
 .side-story--learning>div{grid-template-columns:64px minmax(0,1fr);gap:6px 16px;}
 .side-story--learning img{grid-row:1/3;margin:0;}
 .side-story--learning p{grid-column:1/-1;margin-top:8px;}
}
/* Action links look actionable; inline reading links and footer navigation stay lightweight. */
main :is(.text-link,.story-link),main .resource-links>a,main .reading-actions>a,main .journey-lens>a{
 display:inline-flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;
 width:fit-content;max-width:100%;min-height:44px;padding:10px 16px;
 border:1px solid #7593bc;border-radius:10px;background:#293e59;color:#eaf1ff;
 font-family:Arial,Helvetica,sans-serif;font-weight:600;line-height:1.4;text-align:center;
 overflow-wrap:anywhere;vertical-align:middle;text-decoration:none;filter:none;transform:none;text-shadow:none;
}
.news-card-copy>.story-link{display:flex;min-height:44px;padding:10px 16px;margin:20px auto 0;}
.feature-card>.text-link,.journey-lens>a,.headline-rail>.text-link{display:flex;margin-inline:auto;}
.workbench-card>.text-link{align-self:center;}
:is(.button,button,.header-search,.glossary-alphabet a,.challenge-index a,.comparison-index a,.news-category-nav a,main .text-link,main .story-link,main .resource-links>a,main .reading-actions>a,main .journey-lens>a){
 transition:background-color .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease;
}
@media(hover:hover) and (pointer:fine){
 :is(.button,button,.header-search,.glossary-alphabet a,.challenge-index a,.comparison-index a,.news-category-nav a,main .text-link,main .story-link,main .resource-links>a,main .reading-actions>a,main .journey-lens>a):not(:disabled):not([aria-disabled="true"]):hover,
 a.workbench-card:hover .text-link{
  background:#a9b6ff;color:#182140;border-color:#d9e1ff;
  box-shadow:0 0 0 3px rgba(169,182,255,.21);text-shadow:none;filter:none;transform:none;
 }
}
:is(.button,button,.header-search,.glossary-alphabet a,.challenge-index a,.comparison-index a,.news-category-nav a,main .text-link,main .story-link,main .resource-links>a,main .reading-actions>a,main .journey-lens>a):focus-visible{
 outline:3px solid #c7d2ff;outline-offset:4px;border-color:#d9e1ff;
}
a.workbench-card:focus-visible .text-link{background:#a9b6ff;color:#182140;border-color:#d9e1ff;}
@media(prefers-reduced-motion:reduce){
 :is(.button,button,.header-search,.glossary-alphabet a,.challenge-index a,.comparison-index a,.news-category-nav a,main .text-link,main .story-link,main .resource-links>a,main .reading-actions>a,main .journey-lens>a){transition:none;}
}
@media print{
 main :is(.text-link,.story-link),main .resource-links>a,main .reading-actions>a{background:transparent;color:black;box-shadow:none;}
}

/* Let the five-release rail align with the lead on wide screens. */
@media(min-width:761px){
 .headline-rail{align-self:stretch;display:flex;flex-direction:column;min-width:0;}
 .headline-rail>.text-link{margin-top:auto;}
}
.auto-news-grid:empty,
.latest-digest:empty,
.news-desk-grid:empty { display: none; }
.weekly-agenda-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
}
.agenda-event {
  display: flex;
  flex-direction: column;
  padding: clamp(16px, 2.3vw, 26px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface, #222c39);
}
.agenda-event h3 { margin: 0 0 .35rem; }
.agenda-event p { margin: 0 0 .75rem; }
.agenda-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: auto; }
.agenda-actions button[hidden] { display: none; }
.agenda-released ul { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; list-style: none; padding: 0; }
.release-chart { margin: 1.75rem 0; }
.release-chart figcaption { font-weight: 700; margin-bottom: .75rem; }
.release-chart-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem .75rem; margin: .85rem 0; }
.release-chart-row svg { grid-column: 1/-1; width: 100%; height: .65rem; overflow: hidden; border-radius: 6px; background: #192433; }
.release-chart-row rect { fill: #a9b6ff; }
.page-intro.section-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(26px, 4.5vw, 64px);
  max-width: none;
  padding: clamp(24px, 3vw, 42px) 0 clamp(24px, 3vw, 42px);
}
.section-hero-copy { min-width: 0; }
.archive-view-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.archive-view-nav a[aria-current="page"] { border-color: #a9b6ff; background: #a9b6ff; color: #182140; }
.market-release-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.market-release > :is(h3,p) { margin: 0; }
.market-release > .text-link { margin: auto auto 0; }
.section-hero-copy > :last-child { margin-bottom: 0; }
.section-hero-media {
  position: relative;
  isolation: isolate;
  min-width: 0;
  aspect-ratio: 2.7 / 1;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
}
.section-hero-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.section-hero-media.has-mascot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 10% 90%, rgba(14, 25, 44, .72), transparent 47%);
  pointer-events: none;
}
.section-hero-mascot {
  position: absolute;
  z-index: 1;
  inset: auto auto 5% 3%;
  width: clamp(68px, 9vw, 116px);
  max-height: 70%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(9, 18, 36, .62));
}
@media (max-width: 720px) {
  .page-intro.section-hero { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .section-hero-media { aspect-ratio: 2.4 / 1; }
  .section-hero-mascot { width: clamp(66px, 21vw, 100px); }
}
:is(.story-art, .article-cover, .latest-digest .thumb) { border-radius: 6px; }
.hero .story-art { aspect-ratio: 2.55 / 1; }
:is(.headline-rail, .news-desk, .official-updates, .official-headlines li, .practice-doorway,
    .journey-lens, .article-sources, .correction-note, .ticker-context, .video-preview,
    .learning-example, .learn-practice, .lab-output, .lesson-quiz fieldset, .page-contents,
    .visual-workshop, .experiment-figure, .news-learning-bridge, .activity-card,
    .challenge-card, .concept-comparison, .concept-pair article, .finder-results article,
    .reading-items article, [data-reading-confirm], .number-preview-steps li, .compound-steps div,
    .result-grid div, .tool-chart, .tool-schedule, .tool-method details, .number-chart,
    .calendar-sources li, .agenda-event, .glossary-dialog, .reader-perspectives section) {
  border-radius: var(--radius);
}
@media (max-width: 580px) {
  .hero .story-art { aspect-ratio: 2.2 / 1; }
}
/* Shared surfaces, with stronger depth for the main editorial modules. */
@media screen {
  :root {
    --surface: #27282d;
    --surface-soft: #212228;
    --surface-raised: #303239;
    --line: #a5a2ae37;
    --line-bright: #9eabca80;
    --text: #f4f1ef;
    --muted: #c2bec4;
    --edition-ink: #141417;
    --edition-panel: linear-gradient(145deg, #2d2e34, #25262c 62%, #202126);
    --edition-feature: linear-gradient(125deg, #333037, #292a34 58%, #22242e);
    --edition-violet: linear-gradient(125deg, #30303a, #292831 55%, #222226);
    --edition-accent: #b7bdf3;
    --edition-shadow: inset 0 1px 0 #ffffff0c, 0 2px 5px #09090c47, 0 12px 27px #08080d66;
    --edition-raised: inset 0 1px 0 #ffffff0f, 0 3px 7px #08080d86, 0 20px 42px #08080d92;
  }
  body {
    background:
      radial-gradient(ellipse 48rem 30rem at 86% 9rem, #49455d45, transparent),
      radial-gradient(ellipse 44rem 26rem at 0 33rem, #3f445238, transparent),
      linear-gradient(168deg, #1b1a1d, var(--edition-ink) 68rem);
  }
  .site-header {
    background: linear-gradient(110deg, #1f2025fa, #18181cef 62%, #262329f5);
    box-shadow: 0 6px 24px #07070a80;
  }
  .demo-bar {
    background: linear-gradient(100deg, #28252c, #252832 51%, #2d2628);
    color: #e0d9de;
    font-size: .69rem;
    letter-spacing: .09em;
  }
  .site-footer {
    background: linear-gradient(155deg, #242329, #18181c 65%);
  }
  .site-header .nav a[aria-current="page"] {
    background: #3c4154;
    color: #f3f2ff;
    box-shadow: inset 0 -2px #a5b6ed;
  }
  main :is(.content-card, .feature-card, .workbench-card, .learning-path-card:nth-child(n),
      .agenda-event, .news-desk, .headline-rail, .episode-card, .calculator-shell,
      .news-browser, .visual-workshop, .challenge-card, .contact-form-panel,
      .result-grid div, .tool-chart, .tool-schedule, .tool-method details,
      .page-contents, .glossary-entry, .article-sources, .news-learning-bridge) {
    background: var(--edition-panel);
    box-shadow: var(--edition-shadow);
  }
  main :is(.featured-episode, .practice-doorway, .number-preview, .market-copy, .official-updates,
      .side-story--learning, .channel-trailer, .release-context) {
    background: var(--edition-feature);
    box-shadow: var(--edition-shadow);
  }
  main :is(.number-preview, .release-next) { background: var(--edition-violet); }
  .section-hero-media { box-shadow: var(--edition-raised); border-color: #d3bcc04d; }
  .hero .news-grid {
    grid-template-areas: "lead rail" "categories categories";
    column-gap: clamp(1.1rem, 3vw, 2.5rem);
    row-gap: 1.25rem;
  }
  .hero .top-story {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: radial-gradient(ellipse at 100% 30%, #3c394985, transparent 73%), var(--edition-panel);
    box-shadow: var(--edition-raised);
  }
  .hero .story-copy { padding: clamp(1.1rem, 3vw, 2rem); }
  .hero .story-copy h1 {
    font-size: clamp(1.85rem, 3.3vw, 3.15rem);
    line-height: 1.09;
    text-wrap: balance;
  }
  .hero .story-copy .report-label {
    border-color: #a5abe280;
    background: #36364b;
    color: #e1e3ff;
  }
  .hero .story-meta .button { background: #3e4660; border-color: #a1afd9; }
  .hero .story-art {
    aspect-ratio: 2.55 / 1;
    border-top: 1px solid #ffffff24;
    border-radius: 0;
    box-shadow: none;
  }
  .hero .story-art:focus-visible { outline-offset: -4px; }
  .hero-photo-credit { padding: 0 1rem .65rem; }
  .hero .headline-rail {
    border-top: 2px solid var(--edition-accent);
    background: var(--edition-violet);
    padding: clamp(1rem, 2.5vw, 1.85rem);
  }
  .headline-rail .rail-heading h2 { margin: 0 0 .9rem; font-size: 1.42rem; }
  .headline-rail li, .headline-rail li:nth-child(n+3) {
    display: block;
    padding: .8rem .4rem;
  }
  .headline-rail li:focus-within {
    background: #ffffff0b;
  }
  .headline-rail h3 { margin-bottom: .28rem; }
  .headline-rail ol { margin-bottom: .8rem; }
  .hero .home-news-categories {
    grid-area: categories;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem .6rem;
    align-items: center;
    margin: 0;
    padding: .5rem 0 0;
  }
  .home-news-categories a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .45rem .85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--edition-panel);
    color: #dfdbe0;
  }
  .hero .ticker-context { margin-top: 1rem; padding-block: .7rem; }
  main > .side-story--learning { width: min(calc(100% - 32px), var(--wrap, 1260px)); margin: 1.2rem auto 2rem; }
  #tv.video-showcase { margin-top: 1rem; }
  main :is(.video-showcase, .auto-news, .weekly-agenda) .section-heading {
    padding-block: .6rem;
    border-bottom: 1px solid var(--line);
  }
  .video-showcase .section-heading .eyebrow,
  .number-preview .eyebrow, .released-number-chart figcaption { color: var(--edition-accent); }
  .content-card:focus-within, .episode-card:focus-visible, .workbench-card:focus-within {
    border-color: #b5bcdf;
    box-shadow: var(--edition-raised);
  }
  main .latest-digest .content-card,
  main .news-desk-grid article,
  main .practice-doorway .activity-card { background: none; box-shadow: none; }
  main :is(.text-link, .story-link, .resource-links > a, .reading-actions > a, .journey-lens > a) {
    background: #302f38;
    border-color: #8b8d9f;
    border-radius: var(--radius);
  }
  main :is(.button, .story-link, .text-link) { transition: background-color 160ms, border-color 160ms, box-shadow 160ms, color 160ms; }
}

@media screen and (min-width: 940px) {
  .auto-news .auto-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auto-news .auto-news-grid .content-card:first-child:nth-last-child(n+2) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    align-items: stretch;
  }
  .auto-news-grid .content-card:first-child:nth-last-child(n+2) .thumb {
    aspect-ratio: auto;
    height: 100%;
  }
  .auto-news-grid .content-card:first-child:nth-last-child(n+2) .news-card-copy { padding: 1.65rem; }
  .auto-news-grid .content-card:first-child:nth-last-child(n+2) h2 { font-size: 1.55rem; }
}

@media screen and (max-width: 1120px) {
  .site-header .nav {
    background: var(--edition-panel);
    box-shadow: var(--edition-raised);
    max-height: 72vh;
    overflow-y: auto;
    padding: .7rem clamp(.8rem, 3vw, 1.5rem) 1rem;
  }
  .site-header .nav a { min-height: 48px; border-radius: var(--radius); }
}

.quick-questions {
  width: 100%;
  margin: 0 auto 2rem;
}
.quick-questions h2 { margin: 0 0 .85rem; font-size: clamp(1.2rem, 2.4vw, 1.65rem); }
.quick-questions ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.quick-questions a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  gap: .4rem .85rem;
  height: 100%;
  padding: .9rem 1.05rem;
  border: 1px solid #abaaaf58;
  border-radius: var(--radius, 7px);
  background: var(--edition-panel, #2d2e34);
  box-shadow: var(--edition-shadow);
}
.quick-questions a > strong { line-height: 1.25; }
.quick-questions a > span:first-of-type { grid-row: 2; color: #c7d2e4; font-size: .88rem; }
.quick-questions a > span:last-of-type { grid-column: 2; grid-row: 1; color: #aac4ff; }

.release-context { margin: 1.4rem 0 1.8rem; padding: clamp(1rem, 3vw, 1.6rem); border: 1px solid var(--line); border-radius: var(--radius, 7px); }
.release-context h2 { margin-top: 0; }
.release-context dl { display: grid; gap: .85rem; margin: 0; }
.release-context dl > div { padding-left: .85rem; border-left: 2px solid #849ee9; }
.release-context dt { color: #d7e4ff; font-weight: 700; }
.release-context dd { margin: .18rem 0 0; color: #d3dbe9; line-height: 1.6; }
.guide-videos { margin-block: 1.7rem; }

.reading-progress {
  position: fixed; top: 0; left: 0; z-index: 100; width: 100%; height: 3px;
  background: linear-gradient(90deg,#638df6,#a5baff); pointer-events: none;
  transform: scaleX(var(--reading-progress, 0)); transform-origin: left;
}
@media (hover: hover) and (pointer: fine) {
  main :is(.content-card, .feature-card, .workbench-card, .episode-card, .agenda-event, .quick-questions a):hover {
    border-color: #819fe2;
    box-shadow: var(--edition-raised);
  }
  main :is(.button, .story-link, .text-link):hover {
    background: linear-gradient(125deg, #4766a8, #4b5697);
    border-color: #9eb3ef;
    color: #fff;
    box-shadow: 0 5px 12px #080f285b;
  }
  .quick-questions a:hover { color: #e5edff; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  main :is(.content-card, .feature-card, .workbench-card, .episode-card, .quick-questions a) {
    transition: transform 180ms, border-color 180ms, box-shadow 180ms;
  }
  main :is(.content-card, .feature-card, .workbench-card, .episode-card, .quick-questions a):hover { transform: translateY(-3px); }
  main .latest-digest .content-card:hover { transform: none; box-shadow: none; }
}
@media (max-width: 760px) {
  .hero .news-grid { grid-template-areas: "lead" "rail" "categories"; gap: 1rem; }
  .hero .headline-rail li:nth-child(n+4) { display: none; }
  .hero .headline-rail h3 { display: block; overflow: visible; }
  .hero .story-art { aspect-ratio: 2.25 / 1; }
  .hero .story-meta > span { max-width: none; }
  .hero .story-meta .button { margin-left: auto; }
  .quick-questions ul { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce), print {
  .reading-progress { display: none; }
}

.number-preview-visual { min-width: 0; }
.released-number-chart { margin: 0; }
.released-number-chart .number-chart-row {
  grid-template-columns: minmax(5.1rem, auto) minmax(0, 1fr) auto;
  column-gap: clamp(.45rem, 2vw, 1rem);
  font-variant-numeric: tabular-nums;
}
.released-number-chart meter::-webkit-meter-bar { background: #1b1a1e; border: 0; }
.released-number-chart meter::-webkit-meter-optimum-value {
  background: linear-gradient(90deg, #6677a1, #a2aec7);
}
.released-number-chart meter::-moz-meter-bar { background: #a2aec7; }
.released-number-chart .number-chart-row + .number-chart-row meter::-webkit-meter-optimum-value {
  background: linear-gradient(90deg, #7475b6, #b7bdf3);
}
.released-number-chart .number-chart-row + .number-chart-row meter::-moz-meter-bar { background: #b7bdf3; }
.released-number-chart p { margin: .8rem 0 0; color: var(--muted); }
.number-source { margin: .65rem 0 0; font-size: .875rem; color: var(--muted); }
.number-source a { color: #c1d6fc; }
.number-edition .resource-links { justify-content: flex-start; margin-top: 1.3rem; }
.release-next h2 { margin-top: 0; }
.release-next .resource-links { justify-content: flex-start; }

.release-watch-note {
  display: grid;
  gap: .65rem;
  margin: .25rem 0 1rem;
  padding: .7rem .75rem;
  border-left: 2px solid #a5abe2;
  border-radius: 0 6px 6px 0;
  background: #19192272;
  font-size: .9rem;
}
.release-watch-note dt { font-weight: 700; color: #dddfff; }
.release-watch-note dd { margin: .12rem 0 0; }
.release-watch-note a { color: #cbd1ff; }
.agenda-released ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  list-style: none;
  gap: .65rem;
  padding: 0;
}
.release-watch-result {
  padding: .7rem .8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--edition-panel, #27282d);
}
.release-watch-result > a { color: #d2d9ff; font-weight: 700; }
.release-watch-result time { margin-left: .55rem; color: var(--muted); font-size: .8rem; }
.release-watch-result p { margin: .35rem 0 0; }

.bank-loan {
  padding: clamp(.85rem, 3vw, 1.8rem);
  border: 1px solid #72709a;
  border-radius: var(--radius);
  background: radial-gradient(ellipse at 90% 0%, #3b355b92, transparent 74%), #25242f;
  box-shadow: var(--edition-shadow);
}
.bank-loan > .eyebrow { margin: 0; }
.bank-loan > h2 { margin: .4rem 0 .5rem; }
.bank-loan-intro { margin: 0 0 .85rem; }
.bank-loan-step {
  padding: .65rem .8rem;
  border-left: 2px solid #b7bdf3;
  border-radius: 0 6px 6px 0;
  background: #19192380;
}
.bank-loan-step p { margin: .2rem 0 0; }
.bank-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin: .85rem 0;
}
.bank-ledger > section {
  padding: .7rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #17182187;
}
.bank-ledger h3 { margin: 0 0 .5rem; font-size: 1rem; }
.bank-ledger dl { margin: 0; }
.bank-ledger dl > div { padding: .35rem 0; }
.bank-ledger dt { color: var(--muted); font-size: .86rem; }
.bank-ledger dd { margin: .06rem 0 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.bank-ledger .has-change { color: #c7c8ff; }
.bank-loan-explain { margin-top: .85rem; }
.bank-loan-explain summary { cursor: pointer; padding: .5rem 0; }
.bank-loan-explain a { color: #c7c8ff; }
.weekly-numbers { margin: 0 auto 3.5rem; }
.weekly-numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.8rem, 2vw, 1.4rem);
  margin-bottom: 1.25rem;
}
.weekly-edition-card, .weekly-number-card {
  padding: clamp(1rem, 2.4vw, 1.7rem);
  border: 1px solid #575367;
  border-radius: 7px;
  background: radial-gradient(ellipse at 20% 0, #3d3754, #24232c 67%);
  box-shadow: var(--edition-shadow);
}
.weekly-edition-card { max-width: 44rem; }
.weekly-edition-card .eyebrow { margin: 0; color: #c5b8ff; }
.weekly-edition-card h2 { margin: .5rem 0; }
.weekly-number-card { display: flex; flex-direction: column; min-width: 0; }
.weekly-number {
  color: #c5b8ff;
  font-size: clamp(2.15rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.weekly-number-card h2 { margin: .55rem 0; font-size: clamp(1.2rem, 2vw, 1.4rem); }
.weekly-number-card p { margin: 0 0 1rem; }
.weekly-number-card figure {
  margin: auto 0 1.1rem;
  padding: .75rem;
  border-radius: 6px;
  background: #171720ae;
}
.weekly-number-card figcaption { font-weight: 700; margin-bottom: .65rem; }
.weekly-number-card ul { margin: 0; padding: 0; list-style: none; }
.weekly-number-card li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .25rem .5rem;
  margin-top: .55rem;
  font-size: .84rem;
}
.weekly-bar { grid-column: 1 / -1; height: .36rem; border-radius: 4px; background: #363347; }
.weekly-bar span {
  display: block;
  width: var(--fill);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9581d8, #9eb5fa);
}
.weekly-number-links { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .85rem; }
.weekly-number-links a:not(.text-link) { color: #c7c8ff; font-size: .9rem; }
@media (max-width: 60rem) { .weekly-numbers-grid { grid-template-columns: minmax(0, 1fr); } }

.price-glance {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid #59556b;
  border-radius: 7px;
  background: linear-gradient(145deg, #333045, #262632 62%, #23232c);
  box-shadow: var(--edition-shadow);
}
.price-glance h2 { margin: 0 0 .5rem; font-size: clamp(1.35rem, 2.8vw, 2.15rem); }
.price-glance p { margin: 0 0 .9rem; max-width: 36ch; }
.price-glance-chart {
  --price-origin: 0%;
  margin: 0;
  min-width: 0;
  padding: clamp(.8rem, 2vw, 1.3rem);
  border: 1px solid #69647c55;
  border-radius: 6px;
  background: #1c1b25bb;
}
.price-glance-chart.has-negative { --price-origin: 50%; }
.price-glance-chart figcaption { font-weight: 700; margin-bottom: .75rem; }
.price-glance-chart ul { display: grid; gap: .68rem; list-style: none; margin: 0; padding: 0; }
.price-glance-chart li { display: grid; grid-template-columns: 1fr auto; gap: .25rem .7rem; }
.price-glance-chart li strong { font-variant-numeric: tabular-nums; }
.price-glance-track {
  position: relative;
  grid-column: 1 / -1;
  height: .48rem;
  border-radius: 4px;
  background: #3a3749;
}
.price-glance-track span {
  position: absolute;
  left: var(--price-origin);
  width: var(--price-bar);
  height: 100%;
  border-radius: inherit;
  background: var(--price-color);
  transform-origin: left;
}
.price-glance-track .is-negative { left: calc(var(--price-origin) - var(--price-bar)); transform-origin: right; }
.price-glance-chart.has-negative .price-glance-track::after {
  position: absolute;
  left: 50%;
  top: -.15rem;
  bottom: -.15rem;
  width: 1px;
  background: #aaa5bd;
  content: "";
}
.price-glance-axis {
  display: flex;
  justify-content: space-between;
  margin-top: .35rem;
  color: var(--muted);
  font-size: .8rem;
}
.price-glance-source { display: inline-block; color: #c7c8ff; font-size: .86rem; margin-top: .65rem; }
@media (max-width: 48rem) { .price-glance { grid-template-columns: minmax(0, 1fr); } }

.loan-term-explorer {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.4rem);
  margin: 0 0 1.5rem;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid #5c556e;
  border-radius: 7px;
  background: linear-gradient(135deg, #35324a, #24232e 65%);
  box-shadow: var(--edition-shadow);
}
.loan-term-intro h2 { margin: 0 0 .5rem; font-size: clamp(1.35rem, 2.7vw, 2rem); }
.loan-term-intro p { margin: 0 0 .55rem; max-width: 34ch; }
.loan-term-intro a { color: #d0c7ff; display: inline-flex; min-height: 44px; align-items: center; }
.loan-term-panel { min-width: 0; }
.loan-term-panel label { display: flex; justify-content: space-between; align-items: center; gap: .65rem; }
.loan-term-panel label strong { color: #e0d8ff; font-variant-numeric: tabular-nums; }
.loan-term-panel input[type="range"] { width: 100%; min-width: 0; height: 44px; margin: .2rem 0 .4rem; accent-color: #b8abfc; }
.loan-term-metrics { margin: 0 0 .8rem; }
.loan-term-metrics:not([hidden]) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.loan-term-metrics div { padding: .55rem .68rem; border-radius: 6px; background: #16151f9c; }
.loan-term-metrics dt { font-size: .84rem; }
.loan-term-metrics dd {
  margin: .05rem 0;
  color: #c8c1ff;
  font-size: clamp(1.05rem, 2.1vw, 1.6rem);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.loan-term-metrics div + div dd { color: #a1deeb; }
.loan-term-figure { margin: 0; padding: .65rem; border: 1px solid #6d65824d; border-radius: 6px; background: #1d1b28; }
.loan-term-figure figcaption { color: #ddd9ea; font-size: .88rem; }
.loan-term-figure canvas { width: 100%; height: clamp(158px, 22vw, 230px); display: block; }
.loan-term-explorer + .calculator-shell #principal { scroll-margin-top: 9rem; }
@media (max-width: 48rem) { .loan-term-explorer { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: no-preference) {
  [data-chart-in-view] :is(.weekly-bar span, .price-glance-track span) {
    animation: reveal-chart-value 580ms cubic-bezier(.2,.75,.3,1) both;
  }
  [data-chart-in-view] meter { transform-origin: left; animation: reveal-chart-value 520ms ease-out both; }
  @keyframes reveal-chart-value { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
@media (max-width: 480px) {
  .bank-loan > .button { width: 100%; }
}

.news-archive-search {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, .94fr) minmax(0, 1.12fr) minmax(0, .88fr) auto;
  gap: .7rem;
  align-items: end;
}
.news-archive-search label {
  display: grid;
  gap: .4rem;
  min-width: 0;
  font-size: .88rem;
  color: var(--muted);
}
.news-archive-search :is(input, select) {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: .55rem .7rem;
  border: 1px solid #646578;
  border-radius: 6px;
  background-color: #222229;
  color: var(--text);
  font-size: 1rem;
}
.news-archive-search select {
  appearance: none;
  padding-inline-end: 1.9rem;
  text-overflow: ellipsis;
  background-image: linear-gradient(45deg, transparent 49%, #b7bdf3 50%),
    linear-gradient(135deg, #b7bdf3 49%, transparent 50%);
  background-repeat: no-repeat;
  background-position: right 15px center, right 10px center;
  background-size: 5px 5px;
}
.news-archive-search select:is(:hover, :focus-visible, :open) { border-color: #b7bdf3; }
.news-archive-search .button { min-height: 46px; }

/* A styled desktop menu, with the system picker retained for touch and fallback. */
@media (min-width: 741px) and (hover: hover) and (pointer: fine) and (forced-colors: none) {
  @supports (appearance: base-select) and selector(::picker(select)) {
    .news-archive-search select,
    .news-archive-search select::picker(select) { appearance: base-select; }
    .news-archive-search select {
      padding-inline-end: .7rem;
      background-image: none;
    }
    .news-archive-search select::picker-icon { color: #b7bdf3; }
    .news-archive-search select:open::picker-icon { rotate: 180deg; }
    .news-archive-search select::picker(select) {
      max-block-size: min(24rem, 55vh);
      margin-block: .35rem;
      padding: .32rem;
      border: 1px solid #686a84;
      border-radius: 6px;
      background: #282832;
      color: var(--text);
      box-shadow: 0 12px 26px #0c0c12c9;
    }
    .news-archive-search option {
      min-block-size: 38px;
      padding: .5rem .65rem;
      border-radius: 5px;
      overflow-wrap: anywhere;
    }
    .news-archive-search option:checked { background: #3b3c55; color: #ecedff; }
    .news-archive-search option:is(:hover, :focus-visible) { background: #474961; color: #fff; }
    .news-archive-search option::checkmark {
      order: 1;
      margin-inline-start: auto;
      color: #c4c9ff;
    }
  }
}
@media (forced-colors: active) {
  .news-archive-search select { appearance: auto; background-image: none; padding-inline-end: .7rem; }
}
@media (max-width: 959px) {
  .news-archive-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-archive-search .news-search-term { grid-column: 1 / -1; }
}

.fed-rate-panel {
  padding: clamp(.85rem, 2.8vw, 2rem);
  border: 1px solid #51546e;
  border-radius: 7px;
  background: radial-gradient(ellipse at 100% 0, #343450 0, transparent 53%), #22232e;
  box-shadow: 0 16px 32px #0a0a1273;
  scroll-margin-top: 8rem;
}
.fed-rate-header, .fed-rate-toolbar, .fed-rate-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .9rem 1.25rem;
}
.fed-rate-header > div:first-child { flex: 1 1 19rem; }
.fed-rate-header h2 { margin: 0 0 .45rem; }
.fed-rate-header p { margin: 0; color: #c9cddd; }
.fed-rate-stat {
  display: grid;
  gap: .15rem;
  padding: .6rem .9rem;
  border-inline-start: 2px solid #ac9cff;
  color: #d4d9ee;
}
.fed-rate-stat strong {
  color: #e9e3ff;
  font-size: clamp(1.55rem, 3.1vw, 2.2rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.fed-rate-chart { margin-block: 1.2rem .9rem; }
.fed-rate-toolbar { margin-block-end: .65rem; }
.fed-rate-key { display: inline-flex; align-items: center; gap: .5rem; color: #d3d8e9; font-size: .875rem; }
.fed-rate-key > span {
  width: 1.2rem;
  height: .62rem;
  border-block: 2px solid #c4b1ff;
  border-block-end-color: #71b9ff;
  background: #9698ff42;
}
.fed-rate-periods { display: flex; flex-wrap: wrap; gap: .35rem; }
.fed-rate-periods button {
  min-height: 44px;
  padding: .45rem .75rem;
  border: 1px solid #6e7799;
  border-radius: 6px;
  background: #262b3d;
  color: #f0edff;
  font: inherit;
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
}
.fed-rate-periods button:hover { background: #3e4163; }
.fed-rate-periods button[aria-pressed="true"] { background: #584781; border-color: #b7a7f3; }
.fed-rate-plot {
  display: block;
  width: 100%;
  height: clamp(11.75rem, 27vw, 18rem);
  border-radius: 6px;
  background: linear-gradient(150deg, #1d2133, #1b1d29);
  cursor: crosshair;
}
.fed-rate-selection {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 .75rem;
  margin-top: .5rem;
}
.fed-rate-selection label { font-size: .875rem; color: #d3d8e9; }
.fed-rate-selection input[type="range"] {
  grid-column: 1;
  width: 100%;
  height: 44px;
  margin: 0;
  accent-color: #c4b1ff;
  cursor: pointer;
}
.fed-rate-selection output {
  grid-area: 1 / 2 / span 2;
  display: grid;
  justify-items: end;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: #ded6ff;
}
.fed-rate-selection output time { color: #d4d9ee; font-size: .875rem; }
.fed-rate-footer { padding-top: .8rem; border-top: 1px solid #ffffff26; }
.fed-rate-footer p { margin: 0; color: #c9cde1; font-size: .875rem; }
.fed-rate-footer > div { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 540px) {
  .fed-rate-toolbar { gap: .55rem; }
  .fed-rate-periods { width: 100%; }
  .fed-rate-periods button { flex: 1; }
}

.number-preview .number-preview-date {
  margin: .4rem 0 .5rem;
  font-size: .875rem;
  color: #c8c9da;
}
.home-gdp {
  --home-gdp-height: clamp(7.5rem, 18vw, 11rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "header result" "chart chart" "footer footer";
  column-gap: .9rem;
  padding: clamp(.85rem, 2.5vw, 1.75rem);
  border: 1px solid #53546c;
  border-radius: 7px;
  background: radial-gradient(ellipse at 92% 0%, #36334d, transparent 56%), #22232d;
  box-shadow: 0 12px 26px #09091275;
  scroll-margin-top: 8rem;
}
.home-gdp-header { grid-area: header; }
.home-gdp-footer {
  grid-area: footer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1.25rem;
}
.home-gdp-header h2 { margin: .25rem 0; }
.home-gdp-header p { margin: 0; }
.home-gdp-header p:not(.eyebrow) { color: #d0d3e5; }
.home-gdp-result {
  grid-area: result;
  align-self: center;
  display: grid;
  gap: .1rem;
  min-width: 8rem;
  margin: 0;
  padding: .35rem .75rem;
  border-inline-start: 2px solid #b99ff4;
  font-variant-numeric: tabular-nums;
}
.home-gdp-result strong { color: #e2d2ff; font-size: clamp(1.55rem, 3vw, 2.3rem); line-height: 1.15; }
.home-gdp-chart {
  grid-area: chart;
  display: grid;
  position: relative;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(2px, 1vw, .65rem);
  margin: 1.35rem 0 .75rem;
  padding: 0 .2rem 0 2.25rem;
}
.home-gdp-grid { position: absolute; inset: 0 .2rem auto 2.25rem; height: var(--home-gdp-height); pointer-events: none; }
.home-gdp-grid > span {
  position: absolute;
  inset: var(--tick) 0 auto;
  border-top: 1px solid #ffffff24;
}
.home-gdp-grid > span > span {
  position: absolute;
  inset-inline-end: calc(100% + .3rem);
  transform: translateY(-55%);
  font-size: .75rem;
  white-space: nowrap;
  color: #d6d7e7;
}
.home-gdp-grid > .home-gdp-zero { border-color: #b2b8d1; }
.home-gdp-bar {
  display: grid;
  position: relative;
  grid-template-rows: var(--home-gdp-height) auto;
  gap: .4rem;
  min-width: 0;
  padding: 0 .15rem .2rem;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #dce1f2;
  font: inherit;
  cursor: pointer;
}
.home-gdp-bar:disabled { opacity: 1; cursor: default; }
.home-gdp button.home-gdp-bar[data-gdp-period]:not(:disabled):hover {
  background: #8f9bc31a;
  color: #f4efff;
  box-shadow: none;
}
.home-gdp .home-gdp-bar:focus-visible { outline: 2px solid #c5b7ff; outline-offset: 1px; }
.home-gdp-bar-area { position: relative; }
.home-gdp-bar-area > span {
  position: absolute;
  inset: var(--bar-top) 12% auto;
  height: var(--bar-height);
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(#7ea1ec, #394977);
  transition: opacity 180ms, filter 180ms;
}
.home-gdp-bar:hover .home-gdp-bar-area > span { filter: brightness(1.2); }
.home-gdp-bar[aria-pressed="true"] .home-gdp-bar-area > span { background: linear-gradient(#c5a7ff, #7553ad); }
.home-gdp-bar[aria-pressed="true"] .home-gdp-bar-label { color: #f7ecff; text-decoration: underline; text-underline-offset: .2em; }
.home-gdp-bar-label { display: grid; gap: .05rem; font-size: .875rem; line-height: 1.25; }
.home-gdp-bar-label small { font-size: .75rem; }
.home-gdp-footer { padding-top: .65rem; border-top: 1px solid #ffffff26; }
.home-gdp-footer p { margin: 0; font-size: .875rem; color: #d0d3e5; }
@media (max-width: 600px) {
  .home-gdp { grid-template-columns: minmax(0, 1fr); grid-template-areas: "header" "chart" "result" "footer"; }
  .home-gdp-result { margin: 0 0 .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home-gdp-bar-area > span { transition: none; }
}
