@font-face{font-family:"Yuanba Sans Fallback";src:local("Microsoft JhengHei");size-adjust:100%;ascent-override:116%;descent-override:28.8%;line-gap-override:0%}
/* Visual refinement r1: real self-hosted Noto fonts; bounded, readable service UI. */
body.yb-refined{--yb-sans:"Noto Sans TC","Noto Sans JP","Yuanba Sans Fallback","PingFang TC","Microsoft JhengHei",system-ui,sans-serif;--yb-dock-height:80px;--yb-clearance:calc(var(--yb-dock-height) + env(safe-area-inset-bottom,0px) + 24px);font-family:var(--yb-sans)!important;font-weight:400;font-size:17px;line-height:1.75;letter-spacing:.01em;font-synthesis:none;overflow-wrap:break-word;padding-bottom:var(--yb-clearance)!important;-webkit-text-size-adjust:100%}
body.yb-refined :is(h1,h2,h3,h4,h5,p,li,a,button,label,input,select,textarea,summary,th,td,dt,dd,small,span,strong,figcaption,svg text){font-family:var(--yb-sans)!important;font-synthesis:none}
body.yb-refined :is(h1,h2,h3,h4,h5,strong,b,th){font-weight:600!important}
body.yb-refined :is(button,a.button,.primary-button,.primary-link,.atlas-action,.yb-global-nav,.yb-header-call,.school-chip,.select-community,summary,label,dt){font-weight:500!important}
body.yb-refined :is(p,li,td,dd){font-weight:400;line-height:1.8}
body.yb-refined :is(h1,h2,h3,h4){line-height:1.45!important;letter-spacing:.015em!important;text-wrap:pretty}
body.yb-refined.yb-atlas :is(.guide-hero,.school-hero,.hero.shell) h1,body.yb-refined.yb-atlas.atlas-school-tool h1,body.yb-refined.yb-atlas.atlas-community-tool h1{font-size:clamp(29px,3.3vw,43px)!important;margin:0 0 12px!important}
body.yb-refined.yb-atlas h2{font-size:clamp(23px,2.3vw,30px)!important}
body.yb-refined.yb-atlas h3{font-size:clamp(19px,1.8vw,23px)!important}
body.yb-refined.yb-atlas .hero #hero-title{font-family:"Noto Serif TC","Noto Sans TC",serif!important;font-weight:600!important;font-size:clamp(32px,3.7vw,48px)!important;line-height:1.5!important;letter-spacing:.04em!important}
body.yb-refined :is(.eyebrow,.atlas-eyebrow,.kicker,.brand,.edition){font-size:13px!important;letter-spacing:.08em!important;line-height:1.6;font-weight:500}
body.yb-refined :is(.shell,.school-shell,.wrap,.page-wrap){width:100%;max-width:1160px!important}
body.yb-refined :is(.shell,.school-shell){padding-left:28px;padding-right:28px}
body.yb-refined .yb-global-inner{max-width:1220px!important;gap:20px;padding:12px 28px!important}
body.yb-refined .yb-global-brand img{max-width:125px!important;max-height:45px!important}
body.yb-refined .yb-global-brand strong{font-size:18px!important}
body.yb-refined .yb-global-brand small{font-size:11px!important;letter-spacing:.04em}
body.yb-refined .yb-global-nav a{font-size:16px!important;min-height:44px;padding:8px!important;white-space:nowrap}
body.yb-refined :is(.yb-global-more summary,.yb-header-call){font-size:15px!important;min-height:44px;line-height:1.6}
body.yb-refined :is(.primary-link,.primary-button,.button-primary,.main-btn,.atlas-action,.hero-map-cta,.cta-button){font-size:17px!important;min-height:48px;padding:11px 19px;line-height:1.65;border-radius:7px}
body.yb-refined :is(.button,.quiet-button,.small-btn,.guide-tools a){font-size:16px!important;min-height:44px;line-height:1.65;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;white-space:normal}
body.yb-refined :is(input,select,textarea){font-size:17px!important;min-height:50px;border-radius:7px;line-height:1.5;font-weight:400!important}
body.yb-refined :is(button,a,input,select,summary):focus-visible{outline:3px solid #9b7434!important;outline-offset:4px!important;scroll-margin-top:calc(var(--yb-header-height,132px) + 16px);scroll-margin-bottom:var(--yb-clearance)}
body.yb-refined :is([id],summary,a,button,input,select){scroll-margin-bottom:var(--yb-clearance)}
body.yb-refined .atlas-page-lead{font-size:18px!important;line-height:1.8!important;margin:8px 0 18px!important;max-width:48em}
body.yb-refined :is(.guide-hero,.school-hero,.flow-heading,.heading-row,.hero.shell){padding-top:30px!important;padding-bottom:24px!important;margin-bottom:20px!important}
body.yb-refined .breadcrumbs{font-size:13px!important;margin-bottom:14px;line-height:1.7}
body.yb-refined .atlas-chapter{padding-top:25px;padding-bottom:25px}
body.yb-refined .atlas-place-story{max-width:1104px;margin:20px auto 24px!important;padding:24px 0!important;border-top:1px solid #ced7c9}
body.yb-refined .refined-feature>h2{margin:0 0 12px}
body.yb-refined .refined-feature>p{font-size:17px!important;max-width:68ch}
body.yb-refined .refined-feature-diagram figure{max-width:var(--feature-width,760px)!important;margin:18px auto 12px!important}
body.yb-refined .refined-feature-diagram img{display:block;width:100%;height:auto;max-height:none}
body.yb-refined .mingren-map-caption{font-size:14px!important;line-height:1.7;padding-top:10px}
body.yb-refined .refined-feature-narrative{max-width:1104px;border:1px solid #d8dfd4!important;border-radius:10px!important;background:#f0f3eb!important;padding:24px 28px!important}
body.yb-refined .refined-feature-narrative p{max-width:65ch;margin-bottom:0}
body.yb-refined .refined-feature-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}
body.yb-refined .refined-feature-groups>h2,body.yb-refined .refined-feature-groups>p{grid-column:1/-1;margin-bottom:4px}
body.yb-refined .community-basic-group{margin:0;border:1px solid #d5ddcf;border-radius:8px;background:#fffdf7;overflow:hidden;align-self:start}
body.yb-refined .community-basic-group>summary{padding:14px 18px;min-height:50px;line-height:1.65;font-size:17px!important}
body.yb-refined .community-basic-group dl{padding:0 18px 18px;margin:0}
body.yb-refined .community-basic-group :is(dt,dd){font-size:15px!important}
body.yb-refined .atlas-community-context{padding-top:0;padding-bottom:16px}
body.yb-refined .guide-tools{margin:10px 0 12px;gap:10px}
body.yb-refined .guide-tools a{background:#fffdf7;color:#173f32!important;border:1px solid #a7b5a0;padding:10px 15px;text-decoration:none}
body.yb-refined :is(.refined-background,.refined-service-context,.refined-school-background){font-size:15px;line-height:1.8;border-top:1px solid #d5ddcf;margin:12px 0}
body.yb-refined :is(.refined-background,.refined-service-context,.refined-school-background)>summary{padding:10px 0;font-size:15px!important;min-height:44px;color:#4f6256}
body.yb-refined :is(.refined-background,.refined-service-context,.refined-school-background) p{font-size:16px!important;max-width:70ch}
body.yb-refined .atlas-reference-layout{grid-template-columns:minmax(240px,.8fr) minmax(0,1.6fr);gap:36px;padding-top:18px}
body.yb-refined .atlas-basic-facts{padding:22px;border-top-width:2px;border-radius:8px;background:#eff2e9}
body.yb-refined .atlas-basic-facts h2{font-size:23px!important;margin-bottom:14px}
body.yb-refined .atlas-basic-facts :is(dt,dd){font-size:16px!important;line-height:1.75}
body.yb-refined .atlas-basic-facts dl>div{padding:9px 0;border-bottom:1px solid #dce3d6}
body.yb-refined .guide-body p{max-width:65ch}
body.yb-refined .atlas-contents{padding:16px 0;margin-bottom:20px}
body.yb-refined .atlas-contents :is(p,h2){font-size:16px!important;margin-bottom:6px}
body.yb-refined .atlas-contents ol{gap:4px 22px}
body.yb-refined .atlas-contents a{font-size:15px!important;min-height:42px}
body.yb-refined .atlas-table-scroll{margin:18px 0;border-top-width:1px;border-radius:5px;background:#fffdf8}
body.yb-refined .atlas-table-scroll :is(th,td){font-size:16px!important;padding:12px 15px;line-height:1.8}
body.yb-refined .guide-contact{padding:32px 0!important;margin-top:32px!important}
body.yb-refined .guide-contact h2{font-size:clamp(23px,2.3vw,30px)!important;max-width:30ch}
body.yb-refined .guide-contact p{max-width:68ch;font-size:17px!important}
body.yb-refined .related-communities{margin-top:26px;margin-bottom:20px}
body.yb-refined .related-communities>div{gap:8px 16px;display:flex;flex-wrap:wrap}
body.yb-refined .related-communities a{display:inline-flex;min-height:44px;align-items:center;font-size:15px!important}
body.yb-refined .atlas-next-reading{padding-top:16px;margin:28px auto 12px}
body.yb-refined .atlas-next-reading a{font-size:17px!important}
body.yb-refined.atlas-service .guide-hero{padding-bottom:16px!important}
body.yb-refined .refined-service-example{background:#eef2e8;border-radius:9px;padding:20px 24px!important;margin:16px auto!important;border:0}
body.yb-refined .refined-service-example h2{font-size:21px!important;margin:0 0 10px}
body.yb-refined .refined-service-example a{font-size:16px!important;margin-right:22px}
body.yb-refined .refined-service-context{padding-top:4px;padding-bottom:4px;max-width:1104px}
body.yb-refined .refined-service-image{max-width:680px;max-height:390px;width:100%;height:auto;object-fit:contain}
body.yb-refined .school-applicability-note{font-size:16px!important;line-height:1.8;max-width:65ch}
body.yb-refined .school-year-notice{font-size:15px!important;line-height:1.75;background:#eef1e6;padding:12px 16px;border-radius:7px;max-width:72ch;margin:12px 0!important}
body.yb-refined .school-actions{margin:18px 0;gap:10px}
body.yb-refined .school-subnav{gap:8px 16px;margin:16px 0}
body.yb-refined .school-subnav a{font-size:15px!important}
body.yb-refined .refined-query{padding:22px!important;background:#edf2e7!important;border-radius:10px!important;border:1px solid #d6dfcf!important}
body.yb-refined .refined-query :is(h2,label){line-height:1.6}
body.yb-refined .search-main-fields{gap:16px}
body.yb-refined .school-scope-summary{padding:14px 16px;font-size:16px!important;line-height:1.8}
body.yb-refined .district-browse-controls{padding:16px 0;margin-bottom:14px}
body.yb-refined .district-browse-controls label{font-size:15px!important}
body.yb-refined .planner-result{padding:20px;border-top-width:2px}
body.yb-refined :is(.planner-caption,.school-note,.map-note,.coverage-note,.hint,.card-address,.card-meta){font-size:14px!important;line-height:1.75}
body.yb-refined .community-card{padding:20px;border-radius:9px;box-shadow:none}
body.yb-refined .select-community{font-size:21px!important;line-height:1.5}
body.yb-refined .facts :is(dt,dd){font-size:15px!important}
body.yb-refined .card-actions{gap:10px}
body.yb-refined .card-actions a{font-size:15px!important}
body.yb-refined :is(.leaflet-container,.leaflet-tooltip,.village-label,.search-school-label,.search-school-pin,.development-label,.school-short){font-family:var(--yb-sans)!important;font-weight:500}
body.yb-refined.atlas-home .section{padding-top:44px!important;padding-bottom:44px!important}
body.yb-refined.atlas-home .hero-grid{padding-top:26px!important;padding-bottom:26px!important;grid-template-columns:minmax(0,1fr) 230px;gap:30px}
body.yb-refined.atlas-home .hero .atlas-page-lead{font-size:18px!important;max-width:32em;margin:0!important}
body.yb-refined.atlas-home .hero-visual{grid-template-columns:64px minmax(0,1fr);width:230px;max-width:230px}
body.yb-refined.atlas-home .hero-visual img{width:64px;height:64px;border-radius:10px}
body.yb-refined.atlas-home .need-card{border:1px solid #d8e0d0;border-radius:9px;background:#fffdf8;padding:18px}
body.yb-refined.atlas-home .need-card h3{font-size:23px!important}
body.yb-refined.atlas-home .need-card p{font-size:16px!important;line-height:1.75}
body.yb-refined.atlas-home #start-here{padding-top:24px!important}
body.yb-refined.atlas-home .service-grid,body.yb-refined.atlas-home .community-profiles{gap:20px}
body.yb-refined.atlas-home :is(.service-card,.community-profile){border-radius:8px;padding:22px}
body.yb-refined.atlas-home .atlas-service-record{gap:16px}
body.yb-refined.atlas-home .atlas-service-record strong{font-size:23px}
body.yb-refined.atlas-development .hero-grid{gap:32px;grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr)}
body.yb-refined .refined-preview{max-width:440px;margin:0 auto}
body.yb-refined .refined-preview img{height:auto;max-height:230px;object-fit:contain}
body.yb-refined .refined-counts{margin:16px 0;gap:20px}
body.yb-refined .refined-counts strong{font-size:26px!important}
body.yb-refined .project-grid{gap:24px}
body.yb-refined .project-card{padding:20px 0}
body.yb-refined .section-nav{gap:8px 18px;font-size:15px!important}
body.yb-refined.atlas-privacy main{max-width:900px!important;margin-top:28px}
body.yb-refined .refined-privacy-choice{padding:20px 24px;background:#eff3e9;border:1px solid #d6dfcf;border-radius:9px}
body.yb-refined .refined-privacy-choice h2{font-size:23px!important}
body.yb-refined .yb-contact-dock{padding-bottom:env(safe-area-inset-bottom,0px);gap:0}
body.yb-refined .yb-contact-dock :is(a,button){font-size:15px!important;min-height:48px;line-height:1.6}
body.yb-refined .yb-page-share-dialog{max-height:calc(100dvh - 40px);overflow:auto}
body.yb-refined footer{padding-bottom:20px}
.home-street-guide{margin:28px 0 22px;padding:24px;border:1px solid #d8e1d1;border-radius:12px;background:#fffdf8}
.home-guide-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}
.home-guide-heading h2{margin:3px 0 8px}
.home-map-north{font-size:14px;white-space:nowrap;display:grid;place-items:center;border:1px solid #c9d5c1;border-radius:24px;width:48px;height:48px;color:#173f32}
.home-guide-lead{font-size:16px;margin:0 0 18px;max-width:60ch}
.home-map-controls{display:flex;align-items:end;flex-wrap:wrap;gap:12px 16px;margin:16px 0}
.home-map-controls label:first-child{flex:1;max-width:440px;min-width:190px;font-size:15px}
.home-map-controls select{display:block;width:100%;margin-top:5px;background:#fff;color:#173f32;border:1px solid #aab9a2;padding:10px}
.home-map-controls .home-boundary-toggle{display:flex;align-items:center;gap:8px;min-height:44px;font-size:15px}
.home-boundary-toggle input{width:18px;height:18px;min-height:18px!important;margin:0;accent-color:#174b3c}
.home-street-guide button{background:#fffdf8;color:#173f32;border:1px solid #aab9a2;padding:9px 14px;border-radius:7px;font-size:15px!important;min-height:44px}
.home-map-frame{position:relative;overflow:hidden;border-radius:9px;border:1px solid #d1dccb;background:#edf1e7}
#home-street-map{height:420px;width:100%;background:#edf1e7;isolation:isolate}
#home-map-status{margin:0;padding:10px 14px;background:#f0f4e8;color:#3a5140;font-size:14px;line-height:1.7;border-top:1px solid #d1dccb}
#home-map-status[data-state=error]{background:#fff0db;color:#694817}
.home-map-feedback{display:flex;align-items:center;gap:10px 18px;flex-wrap:wrap;margin:14px 0 0}
.home-map-feedback a{display:inline-flex;min-height:44px;align-items:center;font-size:16px}
.home-map-source{margin:8px 0 0;font-size:14px;line-height:1.8}
.home-map-source summary{min-height:44px;padding:8px 0;font-size:14px!important;color:#4f6256}
.home-map-source :is(p,figcaption){font-size:14px!important;line-height:1.8!important}
.home-map-original-source{margin:12px 0}
.home-guide-label{background:rgba(255,253,248,.96);border:1px solid #d7dfd0;box-shadow:0 1px 4px #173f3214;color:#173f32;border-radius:4px;padding:3px 7px;font-size:12px;font-weight:500;white-space:nowrap}
.home-guide-label:before{display:none}
.home-guide-symbol{background:#174b3c;border:2px solid #fffdf8;border-radius:50%;color:#fff;display:grid!important;place-items:center;font:500 11px/1 var(--yb-sans);box-shadow:0 1px 4px #173f3240}
.home-guide-symbol.airport{background:#52665b}
.home-village-selected-label{font-family:var(--yb-sans)!important;font-size:15px!important;font-weight:600;color:#173f32;background:#fffdf8;border:1px solid #174b3c;border-radius:5px;padding:5px 8px;box-shadow:0 1px 5px #173f3220}
.home-village-selected-label:before{display:none}
#home-street-map .yb-office-caption{font-size:12px!important;line-height:1.5}
#home-street-map .yb-office-marker{z-index:650!important}
#home-street-map .yb-office-control{max-width:170px}
#home-street-map .leaflet-control-attribution{font-family:var(--yb-sans)!important;font-size:11px!important;max-width:80%;line-height:1.6;background:#fffdf8ed}
#home-street-map .leaflet-control-zoom a{width:40px;height:40px;line-height:40px;font-size:23px;min-height:40px}
@media(max-width:900px){body.yb-refined .yb-global-inner{gap:12px}body.yb-refined .yb-global-brand img{max-width:105px!important}body.yb-refined .atlas-reference-layout{grid-template-columns:minmax(210px,.75fr) minmax(0,1.4fr);gap:24px}body.yb-refined .hero-grid{gap:24px}body.yb-refined.atlas-development .hero-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:800px){body.yb-refined :is(.shell,.school-shell){padding-left:20px;padding-right:20px}body.yb-refined .yb-global-inner{padding:10px 18px!important}body.yb-refined .yb-global-nav{gap:8px}body.yb-refined .yb-global-nav a{font-size:15px!important;padding:7px 2px!important}body.yb-refined .yb-global-brand strong{font-size:16px!important}body.yb-refined .yb-global-brand img{max-width:96px!important}body.yb-refined .atlas-reference-layout{display:flex;gap:24px}body.yb-refined .refined-feature-groups{grid-template-columns:minmax(0,1fr)}body.yb-refined .atlas-place-story{margin-left:20px!important;margin-right:20px!important;padding-top:20px!important;padding-bottom:20px!important}body.yb-refined .refined-feature-narrative{padding:20px!important}body.yb-refined .refined-service-example{margin-left:20px!important;margin-right:20px!important}body.yb-refined .refined-service-context{margin-left:0;margin-right:0}body.yb-refined .refined-query{padding:18px!important}body.yb-refined.atlas-home .section{padding-top:34px!important;padding-bottom:34px!important}body.yb-refined.atlas-home .hero-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:15px;padding-top:22px!important;padding-bottom:22px!important}body.yb-refined.atlas-home .hero-visual{width:100%;max-width:100%;grid-template-columns:48px minmax(0,1fr)}body.yb-refined.atlas-home .hero-visual img{width:48px;height:48px}body.yb-refined.atlas-home .need-card{padding:15px 16px}body.yb-refined.atlas-home .need-card h3{font-size:21px!important}body.yb-refined .atlas-basic-facts{padding:20px}.home-street-guide{padding:18px 14px;margin:22px 0 18px}.home-map-controls{gap:10px}.home-map-controls label:first-child{max-width:none;flex-basis:100%}#home-street-map{height:320px}.home-map-feedback{gap:8px 12px}.home-map-feedback a{flex-basis:100%}.home-map-source summary{font-size:14px!important}body.yb-refined .atlas-map-index ul{columns:2}body.yb-refined .atlas-map-index a{font-size:15px!important}}
@media(max-width:390px){body.yb-refined .yb-global-brand img{max-width:80px!important}body.yb-refined .yb-global-inner{gap:8px;padding-left:14px!important;padding-right:14px!important}body.yb-refined .yb-global-more summary,body.yb-refined .yb-header-call{font-size:14px!important;padding-left:8px;padding-right:8px}body.yb-refined :is(.shell,.school-shell){padding-left:16px;padding-right:16px}.home-street-guide{padding-left:10px;padding-right:10px}.home-map-controls button{font-size:14px!important}.home-map-controls .home-boundary-toggle{font-size:14px}body.yb-refined .yb-contact-dock :is(a,button){font-size:14px!important}}
@media(prefers-reduced-motion:reduce){body.yb-refined *,body.yb-refined *:before,body.yb-refined *:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.home-map-unavailable{height:110px!important}
/* r2: legacy and shared fixed controls are paired surfaces in all link states. */
body.yb-refined :is(.mobile-contact,.yb-contact-dock)>:is(a,button){background:#fffdf7!important;color:#173f32!important;border:1px solid #174b3c!important;font:500 15px/1.6 var(--yb-sans)!important;letter-spacing:.02em!important;text-decoration:none!important;min-height:48px;box-shadow:none}
body.yb-refined :is(.mobile-contact,.yb-contact-dock)>a[href*="line.me"]{background:#174b3c!important;color:#fffdf7!important}
body.yb-refined :is(.mobile-contact,.yb-contact-dock)>:is(a,button):is(:hover,:active,:focus-visible){background:#edf2e6!important;color:#173f32!important;border-color:#174b3c!important}
body.yb-refined :is(.mobile-contact,.yb-contact-dock)>a[href*="line.me"]:is(:hover,:active,:focus-visible){background:#123c30!important;color:#fffdf7!important}
body.yb-refined :is(.mobile-contact,.yb-contact-dock)>:is(a,button):focus-visible{outline:3px solid #9b7434!important;outline-offset:3px!important}
body.yb-refined .yb-page-share-actions a{background:#174b3c!important;color:#fffdf7!important;font:500 16px/1.6 var(--yb-sans)!important;border:1px solid #174b3c!important}
body.yb-refined .yb-page-share-actions a:is(:hover,:active,:focus-visible){background:#123c30!important;color:#fffdf7!important}
body.yb-refined .section-nav a:is(:hover,:active,:focus-visible){background:#edf2e6!important;color:#173f32!important}
body.yb-refined .yb-global-menu .yb-global-phone{background:#174b3c!important;color:#fffdf7!important;font-weight:500!important}
body.yb-refined .yb-global-menu .yb-global-phone:is(:hover,:active,:focus-visible){background:#123c30!important;color:#fffdf7!important}
body.yb-refined .refined-service-context{box-sizing:border-box;width:100%;max-width:1160px!important;margin:12px auto!important;padding-inline:28px}
body.yb-refined .atlas-next-reading{box-sizing:border-box;width:100%;max-width:1160px!important;margin:28px auto 12px!important;padding:18px 28px 0!important}
body.yb-refined :is(.refined-service-example,.atlas-examples,.atlas-feature-index){box-sizing:border-box;width:calc(100% - 56px);max-width:1104px!important;margin-inline:auto!important}
body.yb-refined .office-service-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.yb-refined .office-service-choice a{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;min-height:76px;margin:0!important;padding:14px 18px;border:1px solid #aab9a1;border-radius:7px;background:#fffdf8;color:#173f32!important;text-decoration:none}
body.yb-refined .office-service-choice strong{font-size:19px;font-weight:500!important}
body.yb-refined .office-service-choice span{font-size:15px;color:#4f6256}
body.yb-refined .office-service-choice a:is(:hover,:active,:focus-visible){background:#e4eddb}
body.yb-refined .office-related-links{display:flex;flex-wrap:wrap;gap:10px 22px;padding:12px 0}
body.yb-refined .office-related-links a{display:inline-flex;align-items:center;min-height:44px;font-size:15px}
@media(max-width:800px){body.yb-refined :is(.refined-service-context,.atlas-next-reading){padding-inline:20px!important}body.yb-refined :is(.refined-service-example,.atlas-examples,.atlas-feature-index){width:calc(100% - 40px)}body.yb-refined .office-service-choice{grid-template-columns:minmax(0,1fr)}body.yb-refined :is(.mobile-contact,.yb-contact-dock)>:is(a,button){font-size:15px!important}}
@media(max-width:390px){body.yb-refined :is(.refined-service-context,.atlas-next-reading){padding-inline:16px!important}body.yb-refined :is(.refined-service-example,.atlas-examples,.atlas-feature-index){width:calc(100% - 32px)}body.yb-refined :is(.mobile-contact,.yb-contact-dock)>:is(a,button){font-size:14px!important}}

/* Dark contrast repair r1: keep existing dark surfaces readable after shared chapter rules. */
@media screen{
body.yb-refined.atlas-development :is(.spotlight,.analysis-cta){color:#fffdf7!important}
body.yb-refined.atlas-development :is(.spotlight,.analysis-cta) :is(h1,h2,h3,h4,h5,h6,p,li,dt,dd,span,strong,b,em,small,summary){color:inherit!important}
body.yb-refined.atlas-development .spotlight :is(.spotlight-number,h4,.spot-observe summary),body.yb-refined.atlas-development .analysis-cta :is(.kicker,.signature){color:#dbc790!important}
body.yb-refined.atlas-development .spotlight .range{color:#c9d9ca!important}
body.yb-refined.atlas-development :is(.spotlight,.analysis-cta) a:not(.cta-button){color:#e4d5ac!important}
body.yb-refined.atlas-development :is(.spotlight,.analysis-cta) a:not(.cta-button):is(:visited,:hover,:active,:focus-visible){color:#fffdf7!important}
body.yb-refined.atlas-development :is(.spotlight,.analysis-cta) :is(a,button,summary,input,select):focus-visible{outline-color:#dbc790!important}
}

/* Nested control labels: pair light stage labels and dark selected labels explicitly. */
@media screen{
body.yb-refined.atlas-development .project-index-item :is(.project-index-code,.project-index-arrow){color:#173f32!important}
body.yb-refined.atlas-development .project-index-item:is(.yb-selected,[aria-current="location"]) .project-index-code{color:#fffdf7!important}
}
