:root{--ink:#162e3d;--muted:#596d79;--navy:#122d3c;--teal:#117c8b;--yellow:#f6cf4b;--line:#dce5e8;--bg:#f5f8f9;--header-height:78px;--step-offset:100px;color-scheme:light}*{box-sizing:border-box}html{scroll-behavior:auto}body{margin:0;font:16px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:#fff}h1,h2,h3,p,figure{margin:0}h1,h2,h3{line-height:1.2;letter-spacing:-.025em}h1{font-size:clamp(34px,4.5vw,58px)}h2{font-size:clamp(26px,3vw,36px)}h3{font-size:23px}a{color:inherit;text-underline-offset:4px}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #ce9700;outline-offset:4px}img{max-width:100%;display:block}button{border:0}[hidden]{display:none!important}.skip{position:fixed;top:-90px;left:16px;z-index:99;background:white;padding:12px}.skip:focus{top:12px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 20px;border-radius:8px;font-size:15px;font-weight:650;text-decoration:none;line-height:1.35;transition:background .15s,transform .15s}.button:hover{transform:translateY(-1px)}.button-yellow{background:var(--yellow);color:#173243}.button-yellow:hover{background:#ffdd70}.button-dark{background:var(--navy);color:white}.button-outline{border:1px solid #bfd0d7;background:white;color:var(--ink)}.text-link{display:inline-flex;align-items:center;gap:18px;color:var(--teal);font-weight:650;text-decoration:none}.small-link{font-size:14px;color:var(--teal);margin-left:14px}.small-note{font-size:14px;color:var(--muted)}
.site-header{height:78px;background:#fffffffa;position:sticky;top:0;z-index:40;border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.header-inner{max-width:1280px;margin:auto;height:100%;display:flex;align-items:center;gap:32px;padding:0 32px}.brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:750;letter-spacing:-.6px;text-decoration:none;white-space:nowrap}.brand-mark{width:36px;height:36px;display:grid;place-items:center;background:var(--yellow);color:var(--navy);border-radius:8px;font-size:26px;line-height:1}.brand-light{font-weight:450}.header-nav{display:flex;gap:28px;margin-left:auto;font-size:14px;font-weight:600}.header-nav a{text-decoration:none}.language-switch{border:1px solid var(--line);padding:7px 12px;border-radius:7px;font-size:14px;text-decoration:none;white-space:nowrap}
.hero{background:var(--navy);color:#fff;overflow:hidden}.hero-inner{max-width:1280px;margin:auto;padding:65px 32px 70px;display:grid;grid-template-columns:1.05fr 1fr;gap:64px;align-items:center}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.16em;color:#bcd3de;margin-bottom:20px}.hero h1{font-size:clamp(42px,4.7vw,64px);font-weight:720;line-height:1.08;letter-spacing:-.045em}.hero h1 span{color:var(--yellow)}.hero-description{font-size:17px;line-height:1.7;color:#d4e1e7;max-width:540px;margin:24px 0 27px}.search-form label{display:block;font-size:14px;font-weight:600;margin-bottom:9px}.search-row{display:flex;gap:8px;background:white;border-radius:10px;padding:7px;box-shadow:0 7px 18px #0002}.search-row input{border:0;min-width:0;flex:1;padding:8px 10px;font-size:15px;color:var(--ink);background:white;border-radius:5px}.search-row .button{white-space:nowrap;padding:12px 16px}.location-button{color:#fff;background:transparent;min-height:44px;padding:12px 0 4px;font-size:15px;font-weight:600;text-decoration:underline;text-underline-offset:5px}.location-button span{margin-right:5px;font-size:23px;text-decoration:none}.location-privacy{font-size:12px;color:#aac1ce;line-height:1.5;max-width:460px;margin-top:6px}.coverage-note{font-size:13px;color:#d4e1e7;margin-top:18px}.hero-visual{position:relative;min-width:0;padding-bottom:26px}.hero-visual>img{width:100%;aspect-ratio:1.04;object-fit:cover;object-position:58% center;border-radius:18px;border:1px solid #ffffff30;box-shadow:0 25px 70px #06151e65}.hero-visual-tag{position:absolute;bottom:5px;left:-18px;right:24px;border-radius:10px;background:white;color:var(--ink);padding:18px 22px;display:flex;gap:14px;align-items:center;box-shadow:0 7px 35px #0002}.hero-visual-tag strong{font-size:22px;display:block}.hero-visual-tag div span{font-size:13px;color:var(--muted)}.tag-arrow{background:#e4f1f2;color:var(--teal);font-size:29px;width:49px;height:49px;display:grid;place-items:center;border-radius:8px}.visual-caption{position:absolute;left:18px;top:17px;background:#122d3cdd;border-radius:4px;padding:5px 9px;font-size:12px;color:white}.location-result:not(:empty){background:#1d4356;border:1px solid #5d7e8f;border-radius:8px;padding:15px;margin-top:13px}.location-result p{font-size:14px;color:#dbe5eb;margin:4px 0}.location-result .button{margin-top:10px;min-height:42px;font-size:14px}
.benefits{display:grid;grid-template-columns:repeat(3,1fr);max-width:1216px;margin:auto;padding:34px 0;border-bottom:1px solid var(--line);gap:40px}.benefits>div{position:relative;padding-left:45px}.feature-symbol{position:absolute;left:0;top:0;color:var(--teal);font:500 17px/1.8 ui-monospace,monospace}.benefits strong{font-size:17px}.benefits p{font-size:14px;color:var(--muted);margin-top:5px}.section{max-width:1280px;margin:auto;padding:66px 32px}.section-kicker{font-size:12px;font-weight:750;letter-spacing:.1em;color:var(--teal);margin-bottom:12px;text-transform:uppercase}.section-intro{margin:14px 0 27px;color:var(--muted)}#areas{scroll-margin-top:var(--header-height)}.area-card{display:grid;grid-template-columns:.9fr 1.1fr;border:1px solid var(--line);border-radius:14px;overflow:hidden;max-width:970px;background:white;margin-top:26px;box-shadow:0 6px 22px #1b3b4e08}.area-photo{position:relative;overflow:hidden}.area-photo img{width:100%;height:100%;object-fit:cover;aspect-ratio:1.7}.photo-label{position:absolute;top:15px;left:15px;background:#ffffffee;padding:5px 9px;border-radius:4px;font-size:12px;font-weight:600}.area-info{padding:30px}.area-info h3{font-size:29px;margin-bottom:9px}.area-info h3 a{text-decoration:none}.area-info p{font-size:15px;color:var(--muted)}.area-info .text-link{margin-top:20px}.meta-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}.meta-pills span{font-size:13px;line-height:1.5;background:#eaf0f3;color:#355568;border-radius:5px;padding:5px 10px}.how-section{background:var(--bg);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:46px;margin-top:35px}.step-number{font:500 18px ui-monospace,monospace;color:var(--teal);display:block;margin-bottom:20px}.how-grid h3{font-size:21px;margin-bottom:12px}.how-grid p{font-size:15px;color:var(--muted)}.faq-section{max-width:960px}.faq-list{margin-top:27px;border-top:1px solid var(--line)}.faq-list details{border-bottom:1px solid var(--line)}.faq-list summary{font-weight:650;padding:20px 0;font-size:17px}.faq-list details p{padding:0 0 22px;color:var(--muted);font-size:15px;line-height:1.8}.cta-section{text-align:center;padding:53px 24px;background:var(--navy);color:white}.cta-section p{color:#c6d9e2;margin:15px 0 23px}.site-footer{background:#f4f7f8;border-top:1px solid var(--line)}.footer-inner{max-width:1280px;margin:auto;padding:40px 32px;display:grid;grid-template-columns:1fr auto;gap:22px}.footer-inner>div>p{font-size:14px;color:var(--muted);margin-top:12px}.footer-inner nav{display:flex;align-items:start;gap:25px;font-size:14px}.footer-inner nav a{text-decoration:none}.disclaimer,.source-credit{grid-column:1/-1;font-size:12px;color:var(--muted)}.source-credit{margin-top:-12px}
.page-container{max-width:1180px;margin:auto;padding:26px 32px 64px}.breadcrumbs{font-size:13px;display:flex;gap:10px;flex-wrap:wrap;color:var(--muted);margin:0 0 35px}.breadcrumbs a{text-decoration:none}.region-intro{max-width:870px;margin:0 0 28px}.region-intro h1{font-size:43px}.lead{font-size:18px;line-height:1.75;color:var(--muted);margin-top:19px}.start-card{border:1px solid #bbd2d9;background:#f0f7f8;border-radius:12px;display:flex;justify-content:space-between;gap:22px;align-items:center;padding:26px;margin:28px 0 42px}.start-card h2{font-size:24px;margin-bottom:8px}.start-card p{font-size:15px}.start-card .small-note{font-size:13px;margin-top:8px}.start-card .button{flex-shrink:0}.region-routes h2{margin-bottom:22px}.route-choice{display:flex;gap:22px;align-items:center;border:1px solid var(--line);border-radius:11px;padding:24px;background:white;text-decoration:none;margin:12px 0;transition:border-color .15s,background .15s}.route-choice:hover{border-color:var(--teal);background:#f7fbfc}.route-number{width:52px;height:52px;flex-shrink:0;border-radius:9px;background:var(--navy);color:var(--yellow);display:grid;place-items:center;font:650 21px ui-monospace,monospace}.route-choice h3{font-size:22px}.route-choice p{font-size:14px;color:var(--muted);margin-top:8px;line-height:1.75}.route-card-meta{display:flex;gap:15px;flex-wrap:wrap;font-size:12px;margin-top:12px;color:var(--teal)}.choice-arrow{margin-left:auto;font-size:26px;color:var(--teal)}.editorial{max-width:850px;margin-top:49px}.editorial h2{font-size:27px}.editorial p{color:var(--muted);margin:17px 0}.prose{max-width:880px}.prose h1{font-size:40px}.prose section{margin:34px 0}.prose h2{font-size:24px;margin-bottom:13px}.prose p{color:var(--muted);line-height:1.9}.error-page{min-height:55vh;padding-top:70px}.error-page p{margin:22px 0}
.route-page{background:var(--bg)}.route-page .site-footer{padding-bottom:85px}.route-container{max-width:1320px}.route-intro{display:flex;align-items:start;gap:24px;justify-content:space-between}.route-intro h1{font-size:36px;max-width:950px}.route-intro>div>p:not(.section-kicker){font-size:15px;color:var(--muted);margin-top:15px}.route-intro>.button{flex-shrink:0;font-size:13px}.route-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:25px}.route-tabs a{padding:13px 16px;background:white;border:1px solid var(--line);border-radius:8px;text-decoration:none;font-size:14px}.route-tabs strong{display:block}.route-tabs span{display:block;font-size:12px;color:var(--muted);margin-top:3px;line-height:1.5}.route-tabs a[aria-current=page]{background:var(--navy);color:white;border-color:var(--navy)}.route-tabs a[aria-current=page] span{color:#d3e2ea}.evidence-note{font-size:12px;color:var(--muted);margin:14px 0 20px}.map-section{background:white;border:1px solid var(--line);padding:17px 19px;border-radius:9px;margin-bottom:18px}.map-section>p,#map-status{font-size:13px;color:var(--muted);margin-top:10px}.map-section .button{min-height:42px;font-size:14px;padding:10px 14px}#route-map{height:380px;margin-top:15px;z-index:1;border-radius:6px}.leaflet-popup-content p{font-size:13px;margin:7px 0}.leaflet-container a{color:#126d83}.road-sequence{background:white;border:1px solid var(--line);border-radius:8px;margin-bottom:21px}.road-sequence summary{font-size:14px;font-weight:650;padding:13px 16px}.road-sequence p{font-size:14px;line-height:2;padding:0 16px 16px;color:var(--muted)}.timeline-layout{display:grid;grid-template-columns:226px minmax(0,1fr);gap:27px}.route-index{position:sticky;top:calc(var(--header-height) + 18px);max-height:calc(100vh - var(--header-height) - 120px);overflow:auto;align-self:start;border-right:1px solid var(--line);padding-right:14px;scrollbar-width:thin}.route-index a{display:flex;gap:10px;padding:9px 7px;font-size:13px;text-decoration:none;border-radius:5px;color:var(--muted);line-height:1.5}.route-index a>span{font:12px/1.6 ui-monospace,monospace;color:#8094a0;min-width:21px}.route-index a[aria-current=step]{background:#e0edef;color:#086c7b;font-weight:650}.event-card{scroll-margin-top:var(--step-offset);background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-bottom:25px;box-shadow:0 3px 12px #132c3c04}.event-copy{padding:20px 23px}.event-meta{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted);margin-bottom:13px}.event-meta>a{margin-left:auto;font:13px ui-monospace,monospace;color:var(--teal);white-space:nowrap}.event-number{background:var(--navy);color:white;padding:4px 7px;border-radius:3px;font:600 12px ui-monospace,monospace}.road-transition{display:flex;align-items:center;gap:11px;flex-wrap:wrap;line-height:1.5}.road-transition h2,.from-road{font-size:21px;line-height:1.4;letter-spacing:-.02em;font-weight:650}.turn-pill{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:700;padding:4px 9px;color:#0b6877;background:#e5f1f3;border-radius:4px;white-space:nowrap}.turn-pill b{font-size:24px;font-weight:400;line-height:1.1}.event-copy>p{font-size:14px;line-height:1.8;color:var(--muted);margin-top:12px}.event-card img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#e0e7eb}.event-card figcaption{display:flex;justify-content:space-between;gap:12px;padding:8px 18px;background:#f7fafb;font-size:12px;color:var(--muted);border-top:1px solid var(--line)}.speed-card .event-copy{border-left:4px solid var(--yellow)}.speed-card .event-number{background:#7b600d}.speed-value{display:inline-flex;align-items:baseline;gap:8px;background:#fff2bc;border-radius:5px;padding:2px 12px;font-weight:750;font-size:29px;color:#66500c}.speed-value small{font-size:12px;font-weight:600}.coordinate-details{border-top:1px solid var(--line);font-size:13px;padding:0 18px}.coordinate-details summary{padding:12px 0;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:revert}.geo-status{font-size:11px;color:#126c67;line-height:1.5;text-align:right;font-weight:500}.geo-status.review{color:#936113}.coordinate-details dl{display:grid;grid-template-columns:125px 1fr;gap:8px;margin:4px 0 10px}.coordinate-details dt{color:var(--muted)}.coordinate-details dd{margin:0;overflow-wrap:anywhere}.coordinate-details p{font-size:12px;color:var(--muted);margin:9px 0}.coordinate-details small{display:block;font-size:11px;color:var(--muted);margin-bottom:14px}.coordinate-details a{color:var(--teal)}.end-card{padding:25px;border:1px solid #bbd3dc;background:#e7f1f5;border-radius:10px}.end-card h2{font-size:24px}.end-card p{font-size:14px;color:var(--muted);margin:12px 0 18px}.more-routes{margin-top:45px}.more-routes h2{font-size:27px}.step-dock{position:fixed;z-index:45;bottom:0;left:0;right:0;display:flex;justify-content:center;align-items:center;gap:20px;background:#fffffff5;backdrop-filter:blur(13px);border-top:1px solid var(--line);padding:10px 20px calc(10px + env(safe-area-inset-bottom))}.step-dock>.button{font-size:14px;min-width:120px;min-height:43px;padding:10px 14px}.step-dock>div{width:320px;max-width:40%;text-align:center;font-size:14px;line-height:1.45}.step-dock>div>span{display:block;font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.step-dock [aria-disabled=true]{opacity:.4;pointer-events:none}.mobile-jump{display:none}
@media(max-width:1100px){.hero-inner{gap:35px}.hero-description{font-size:16px}.benefits{margin:0 32px;gap:24px}.search-row{flex-direction:column}.search-row input{min-height:44px}.timeline-layout{grid-template-columns:200px minmax(0,1fr);gap:20px}}
@media(max-width:740px){:root{--header-height:66px;--step-offset:140px}.site-header{height:66px}.header-inner{padding:0 18px;gap:12px}.brand{font-size:19px;gap:8px;letter-spacing:-.5px}.brand-mark{width:31px;height:31px;font-size:24px}.header-nav{display:none}.language-switch{margin-left:auto;font-size:13px;padding:7px 10px}.hero-inner{display:block;padding:34px 20px 37px}.eyebrow{font-size:11px;margin-bottom:18px}.hero h1{font-size:43px;line-height:1.09}.hero-description{font-size:16px;margin:20px 0 23px}.search-form label{font-size:14px}.search-row{flex-direction:column;padding:7px}.search-row input{font-size:16px;min-height:45px;padding:8px}.search-row .button{min-height:46px}.location-button{font-size:14px;padding-top:12px}.location-privacy{font-size:12px}.coverage-note{font-size:12px;margin-top:15px}.hero-visual{margin:30px 0 0;padding-bottom:20px}.hero-visual>img{aspect-ratio:1.8;object-position:center;border-radius:11px}.hero-visual-tag{left:12px;right:12px;bottom:0;padding:13px 15px;gap:11px;border-radius:8px}.hero-visual-tag strong{font-size:19px}.hero-visual-tag div span{font-size:12px}.tag-arrow{width:40px;height:40px;font-size:26px}.visual-caption{top:11px;left:12px;font-size:11px}.benefits{display:block;margin:0 20px;padding:22px 0}.benefits>div{padding-left:38px;margin:18px 0}.benefits strong{font-size:16px}.benefits p{font-size:14px;margin-top:2px}.section{padding:39px 20px}.section h2{font-size:28px}.section-intro{font-size:15px;margin-top:12px}.area-card{display:block;margin-top:22px;border-radius:11px}.area-photo img{aspect-ratio:1.9}.area-info{padding:22px}.area-info h3{font-size:27px}.area-info .section-kicker{font-size:11px}.area-info p{font-size:14px}.meta-pills span{font-size:12px}.how-grid{display:block;margin-top:29px}.how-grid article{position:relative;padding-left:47px;margin:28px 0}.step-number{position:absolute;left:0;top:3px;font-size:16px}.how-grid h3{font-size:21px}.how-grid p{font-size:15px}.faq-list summary{font-size:16px;padding:18px 0}.cta-section{padding:37px 23px}.cta-section h2{font-size:27px}.cta-section p{font-size:15px}.footer-inner{display:block;padding:32px 20px}.footer-inner>div>p{font-size:13px}.footer-inner nav{margin:24px 0;font-size:13px;gap:20px}.disclaimer{margin-top:24px}.source-credit{margin-top:12px}.page-container{padding:20px 18px 44px}.breadcrumbs{margin-bottom:24px;font-size:12px;gap:8px}.region-intro h1{font-size:33px}.lead{font-size:16px;margin-top:17px}.start-card{display:block;padding:20px;margin:25px 0 30px}.start-card h2{font-size:22px}.start-card .button{margin-top:17px;width:100%;font-size:14px}.region-routes h2{font-size:27px}.route-choice{gap:13px;padding:18px 15px;align-items:flex-start}.route-number{width:39px;height:39px;font-size:18px;border-radius:7px}.route-choice h3{font-size:19px}.route-choice p{font-size:13px}.route-card-meta{font-size:11px;gap:9px}.choice-arrow{font-size:20px}.editorial{margin-top:34px}.editorial h2{font-size:25px}.editorial p{font-size:15px}.prose h1{font-size:32px}.prose h2{font-size:23px}.prose p{font-size:16px}.route-intro{display:block}.route-intro h1{font-size:29px}.route-intro>div>p:not(.section-kicker){font-size:14px;margin-top:12px}.route-intro>.button{margin-top:17px;min-height:42px}.route-tabs{gap:6px;margin-top:22px}.route-tabs a{padding:11px 9px}.route-tabs strong{font-size:13px}.route-tabs span{font-size:11px;line-height:1.5}.route-tabs a[aria-current=page]{box-shadow:inset 0 -3px var(--yellow)}.evidence-note{font-size:12px;line-height:1.7}.map-section{padding:14px}.map-section>p{font-size:12px}.map-section .button{font-size:13px}#route-map{height:320px}.mobile-jump{display:block;position:sticky;top:var(--header-height);z-index:35;background:var(--bg);padding:9px 0 11px;margin-bottom:2px}.mobile-jump label{position:absolute;left:-9999px}.mobile-jump select{width:100%;border:1px solid #bccdd5;border-radius:7px;background:white;color:var(--ink);padding:10px 9px;font-size:14px;min-height:44px}.timeline-layout{display:block}.route-index{display:none}.event-card{margin-bottom:20px}.event-copy{padding:16px}.road-transition{gap:8px}.road-transition h2,.from-road{font-size:19px}.turn-pill{font-size:12px;padding:4px 8px}.event-copy>p{font-size:14px;line-height:1.85}.event-meta{font-size:11px;gap:8px}.event-meta>a{font-size:12px}.event-number{font-size:11px}.event-card figcaption{padding:8px 12px;font-size:11px;line-height:1.6}.coordinate-details{padding:0 13px}.coordinate-details summary{font-size:12px;align-items:flex-start}.geo-status{font-size:10px;max-width:48%}.coordinate-details dl{grid-template-columns:85px 1fr;font-size:12px;gap:7px}.coordinate-details p{font-size:12px}.step-dock{gap:10px;padding:9px 12px calc(9px + env(safe-area-inset-bottom))}.step-dock>.button{font-size:13px;min-width:87px;min-height:43px;padding:10px}.step-dock>div{max-width:none;flex:1;min-width:0;line-height:1.45;font-size:13px}.step-dock>div>span{font-size:10px}.end-card{padding:21px}.more-routes h2{font-size:24px}.route-page .site-footer{padding-bottom:80px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{.site-header,.site-footer,.step-dock,.map-section,.route-index,.mobile-jump,.route-tabs{display:none}.timeline-layout{display:block}.event-card{break-inside:avoid;box-shadow:none}.event-card img{max-height:300px}.page-container{padding:0}.route-page{background:white}}

/* Practice mode: automatic steps, large targets, no embedded navigation. */
.practice-entry{background:var(--yellow);border-radius:8px;min-height:46px;padding:10px 14px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;font-weight:750;text-decoration:none;font-size:15px}
.simulator-page{background:#f3f6f7;color:#102e3d}.simulator-page>.site-header,.simulator-page>.site-footer{display:none}.sim-header{position:sticky;top:0;z-index:50;min-height:76px;padding:10px max(16px,env(safe-area-inset-right));background:#112e3e;color:white;display:flex;align-items:center;justify-content:space-between;gap:8px}.sim-header>span{font-size:17px;font-weight:700}.sim-header>div{display:flex;align-items:center;gap:10px}.sim-header button{background:#244756;color:white;border-radius:10px;min-width:52px;min-height:52px;font-size:19px;font-weight:700}.sim-header #sim-exit{font-size:38px;line-height:1}.sim-content{max-width:640px;margin:0 auto;padding:28px 20px calc(32px + env(safe-area-inset-bottom))}.sim-content h1{font-size:clamp(36px,8vw,54px);letter-spacing:-.035em;line-height:1.14;overflow-wrap:anywhere;margin:16px 0 24px}.sim-content h2{font-size:28px}.sim-content p{line-height:1.55}.sim-eyebrow{color:#476374;font-size:14px;letter-spacing:.07em;font-weight:750}.sim-lead{font-size:23px}.sim-button{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;width:100%;min-height:76px;margin:14px 0;padding:18px;border-radius:14px;font-size:24px;font-weight:750;line-height:1.3;text-decoration:none;background:#ffcc4b;color:#112d3d}.sim-button.secondary{background:white;border:2px solid #bbcad0;font-size:21px}.sim-button small{font-size:15px;font-weight:500;margin-top:9px}.sim-note{color:#526771;font-size:14px}.sim-turn{background:#123e4c;color:white;font-size:clamp(30px,7vw,43px);font-weight:750;line-height:1.22;padding:24px;border-radius:16px;overflow-wrap:anywhere}.sim-turn.uncertain{background:#6b4d19}.sim-cautions{font-size:22px;font-weight:650}.sim-photo{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:12px}.sim-reading{display:flex;justify-content:space-between;align-items:center;background:white;border-radius:12px;padding:16px 20px;font-size:36px;font-weight:750}.sim-reading small{font-size:16px;font-weight:500}.sim-reading>span+span{font-size:14px;text-align:right}.sim-reading strong{display:block;font-size:30px}.sim-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sim-summary>div{border-radius:14px;background:white;padding:22px 16px}.sim-summary dt{font-size:15px;color:#526771}.sim-summary dd{font-size:clamp(26px,6vw,36px);font-weight:750;margin:8px 0 0;line-height:1.25}#sim-status{border:1px solid #debe71;background:#fff0c9;border-radius:12px;padding:16px;margin-bottom:22px;font-size:21px;font-weight:650}#sim-status p{margin:0}#sim-status .sim-button{margin-bottom:0}.sim-error{padding:14px;background:#ffe8d6;border-radius:8px;font-size:18px}#sim-dialog{border:0;border-radius:20px;padding:26px;width:min(92vw,520px);color:#112e3e}#sim-dialog::backdrop{background:#001622bb}#sim-dialog h2{font-size:32px}#sim-dialog p{font-size:21px;line-height:1.6}
@media(max-width:740px){.site-header{height:auto;min-height:72px}.header-inner{min-height:72px;padding:10px 14px;gap:10px;flex-wrap:wrap}.header-nav{display:none}.header-inner .brand{font-size:17px;gap:6px}.header-inner .brand-light{display:none}.header-inner .brand-mark{width:30px;height:34px}.practice-entry{margin-left:auto;font-size:16px;min-height:48px;padding:10px}.header-inner .language-switch{margin-left:0;min-width:44px;padding:10px 4px;font-size:14px}:root{--header-height:72px}.sim-content{padding-top:24px}}

#sim-dialog .sim-dialog-exit{float:right;width:52px;height:52px;margin:-10px -10px 6px 12px;border-radius:10px;background:#e4edf1;font-size:36px;line-height:1}#sim-dialog h2{padding-top:6px}

/* Compact phone landscape: no header band; reserve a side gutter for the floating exit. */
@media (orientation:landscape) and (max-height:500px) and (max-width:1100px){
 .simulator-page #sim-root{padding-right:max(80px,calc(env(safe-area-inset-right) + 76px))}
 .simulator-page .sim-header{position:static;height:0;min-height:0;padding:0;background:transparent}
 .simulator-page .sim-header>span,.simulator-page #sim-language{display:none}
 .simulator-page .sim-header>div{display:contents}
 .simulator-page .sim-header #sim-exit{position:fixed;top:max(8px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));z-index:60;width:56px;height:56px;min-width:56px;min-height:56px;border:2px solid white;border-radius:50%;background:#ffcc4b;color:#112e3e;box-shadow:0 3px 14px #0005;font-size:40px}
 .simulator-page .sim-content{padding-top:max(12px,env(safe-area-inset-top));padding-left:max(20px,env(safe-area-inset-left))}
}

/* Separate UI preview controls; hiding them leaves the real simulator layout intact. */
#preview-controls{position:fixed;z-index:80;bottom:calc(60px + env(safe-area-inset-bottom));left:max(10px,env(safe-area-inset-left));width:min(620px,calc(100vw - 20px));max-height:48dvh;overflow:auto;padding:14px;background:#fff;border:2px solid #587686;border-radius:14px;box-shadow:0 6px 25px #001d3b33;font-size:14px}
#preview-controls[hidden]{display:none}#preview-controls p{font-size:12px;margin:4px 0 10px;line-height:1.4}.preview-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.preview-fields label{min-width:0;font-size:13px;font-weight:650}.preview-fields select{display:block;width:100%;min-height:44px;margin-top:4px;border:1px solid #b9c9d0;background:white;border-radius:6px;padding:6px;font-size:16px;color:#112e3e}.preview-step-field{grid-column:1/-1}.preview-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}#preview-controls button,#preview-toggle{min-height:44px;padding:8px 12px;border-radius:8px;background:#112e3e;color:white;font-size:14px;font-weight:650}#preview-controls button:disabled{opacity:.4}#preview-toggle{position:fixed;z-index:81;left:max(10px,env(safe-area-inset-left));bottom:max(8px,env(safe-area-inset-bottom));border:2px solid #587686;box-shadow:0 3px 12px #0003}
