/* Bazalt pilot: shared editorial and utility surfaces; no application logic changes. */
#visual-prototype .design-toolbar{gap:2px;padding:6px 12px}
#visual-prototype .design-toolbar a{padding:8px 9px}
#visual-prototype :is(.fr-header,.izp-global-footer,.fr-footer){background:var(--ds-night)!important;box-shadow:none!important;border:0!important}
#visual-prototype .fr-header{position:relative;top:auto}
#visual-prototype .fr-header :is(.fr-brand,.fr-brand b,.fr-brand small,.fr-nav a){color:var(--ds-white)!important}
#visual-prototype :is(.th-wrap,.fr-shell){max-width:1200px}
#visual-prototype :is(.th-hero h1,.fr-article-intro h1,.hero-copy h1){font-family:var(--ds-serif)!important;font-weight:400!important;letter-spacing:-.035em!important;line-height:1.1!important}
#visual-prototype :is(.th-hero h1,.hero-copy h1){font-size:clamp(36px,4.4vw,64px)!important}
#visual-prototype .fr-article-intro h1{font-size:clamp(34px,3.6vw,52px)!important}
#visual-prototype :is(.th-hero,.hero){background:var(--ds-night)!important;color:var(--ds-white)!important;border-radius:4px!important;border:0!important;box-shadow:none!important}
#visual-prototype .th-hero{padding:44px;margin-top:28px}
#visual-prototype .th-hero :is(h1,p,.th-kicker,a),#visual-prototype .hero-copy :is(h1,p){color:var(--ds-white)!important}
#visual-prototype .th-hero .th-meta{color:#dbe8e5!important}
#visual-prototype :is(.th-section,.th-card,.th-route,.th-place,.th-plan,.th-budget,.fr-aside-card,.fr-study,.calculator-card,.tax-card){background:var(--ds-white)!important;border:1px solid var(--ds-line)!important;border-radius:6px!important;box-shadow:none!important}
#visual-prototype :is(.th-section h2,.th-card h2,.th-route h3,.fr-article-body h2,.editor h2,.section-heading h2,.explain h2,.guide h2,.sources h2,.faq h2){font-family:var(--ds-serif)!important;font-weight:400!important;letter-spacing:-.02em!important}
#visual-prototype :is(.th-card h2,.th-route h3){font-size:27px}
#visual-prototype :is(.th-section h2,.fr-article-body h2,.editor h2){font-size:32px!important;line-height:1.2!important}
#visual-prototype .th-content{font-size:17px;line-height:1.8}
#visual-prototype .th-alert{border-radius:4px;box-shadow:none}
#visual-prototype :is(.th-visual-map,.fr-article-media){border-radius:4px!important;box-shadow:none!important;overflow:hidden}
#visual-prototype .fr-article-intro{padding:18px 0 28px}
#visual-prototype .fr-article-intro :is(h1,p){color:var(--ds-ink)!important}
#visual-prototype .fr-article-body{font-size:18px;line-height:1.85;max-width:780px}
#visual-prototype .editor{background:#e6ece7!important;color:var(--ds-ink)!important;border:0!important;border-left:4px solid var(--ds-accent)!important;border-radius:4px!important;padding:32px!important}
#visual-prototype .editor :is(h2,p){color:var(--ds-ink)!important}
#visual-prototype .fr-article-body .editor p{font-size:17px}
#visual-prototype[data-bazalt-family="calculator"] .hero{margin-top:28px;padding:44px!important}
#visual-prototype[data-bazalt-family="calculator"] .hero h1 span{color:#bddfdf!important}
#visual-prototype[data-bazalt-family="calculator"] :is(input,select){border-radius:4px!important}
#visual-prototype[data-bazalt-family="calculator"] .result-panel{background:var(--ds-night)!important;border-radius:6px!important;box-shadow:none!important}
#visual-prototype[data-bazalt-family="calculator"] .result-panel :is(h2,h3,p,span,strong,small,label,dt,dd){color:var(--ds-white)!important}
#visual-prototype[data-bazalt-family="calculator"] :is(.explain,.guide,.sources,.faq){border-radius:4px!important}
#visual-prototype .th-section{scroll-margin-top:20px}
#visual-prototype .fr-article-body :is(h2,section){scroll-margin-top:20px}
@media(max-width:760px){
 #visual-prototype .design-toolbar{flex-wrap:nowrap;justify-content:flex-start;overflow:auto;padding:7px 10px}
 #visual-prototype .design-toolbar>span{width:auto;white-space:nowrap;flex:none;margin:0 8px 0 0}
 #visual-prototype .design-toolbar a{white-space:nowrap;flex:none;min-height:36px;display:flex;align-items:center}
 #visual-prototype .th-hero,#visual-prototype[data-bazalt-family="calculator"] .hero{padding:28px 22px!important}
 #visual-prototype .editor{padding:22px!important}
 #visual-prototype .fr-article-body{font-size:17px;line-height:1.75}
 #visual-prototype :is(.th-section h2,.fr-article-body h2,.editor h2){font-size:27px!important}
}
#visual-prototype .th-breadcrumb span{color:#dbe8e5!important}
#visual-prototype .th-hero .th-alert,#visual-prototype .th-hero .th-alert :is(a,strong){color:#4a3919!important}
#visual-prototype :is(.fr-audio-credit,.fr-audio-credit a){color:var(--ds-muted)!important;opacity:1!important}
#visual-prototype .fr-topic{color:var(--ds-accent)!important}
#visual-prototype .fr-article-hero{border-radius:4px!important;box-shadow:none!important;background:var(--ds-white)!important;border:1px solid var(--ds-line)!important}
#visual-prototype .fr-article-intro{padding:32px!important}
#visual-prototype .fr-article-body,#visual-prototype .fr-article-body p{text-align:start!important}
#visual-prototype .tax-card,#visual-prototype .tax-card :is(p,h3,strong,b,a,.card-number){color:var(--ds-ink)!important}
#visual-prototype .faq .eyebrow{color:#a63b32!important}
#visual-prototype .faq details p{color:var(--ds-muted)!important}
#visual-prototype .work-hero{background:var(--ds-night)!important;padding:44px!important;border-radius:4px!important;box-shadow:none!important}
#visual-prototype .work-hero :is(h1,p){color:var(--ds-white)!important}
#visual-prototype .work-hero h1{font:400 clamp(36px,4.4vw,64px)/1.1 var(--ds-serif)!important;letter-spacing:-.035em!important}
#visual-prototype .work-hero .work-verified span{background:#e7eeea;color:var(--ds-ink);border-radius:4px}
#visual-prototype .calculator-panel{background:var(--ds-white)!important;border:1px solid var(--ds-line)!important;border-radius:6px!important;box-shadow:none!important}
#visual-prototype .calculator-panel h2,#visual-prototype .work-main h2{font-family:var(--ds-serif)!important;font-weight:400!important}
#visual-prototype .calc-result{background:var(--ds-night)!important;color:var(--ds-white)!important}
#visual-prototype .calc-result :is(h2,p,dt,dd,small,strong,span){color:var(--ds-white)!important}
#visual-prototype .th-hero img{max-height:340px;object-fit:cover;border-radius:4px!important}
@media(max-width:760px){#visual-prototype .fr-article-intro{padding:24px!important}#visual-prototype .work-hero{padding:28px 22px!important}#visual-prototype .th-hero img{max-height:210px}}
/* Keep the approved Bazalt surfaces legible when a legacy theme preference is stored. */
html[data-theme="dark"] #visual-prototype.home{--e-sunk:#e9ece5;--e-ink-3:#506368;--e-accent-ink:#146475;color-scheme:light}
html[data-theme="dark"] #visual-prototype.home :is(.category-hub-head h2,.topic-heading h2,.topic-heading>a,.topic-more summary,.topic-card>span,.discover-kicker,.discover-copy small,.voluspa-feature-copy small,.voluspa-feature-cta,.section-rule>span){color:#25434a!important}
html[data-theme="dark"] #visual-prototype.home .news-strip>a{background:#fbfaf5!important}
html[data-theme="dark"] #visual-prototype.home .news-strip>a :is(h3,time,span){color:#25434a!important}
html[data-theme="dark"] #visual-prototype.home .news-strip-copy :is(small,p){color:#25434a!important}
