@charset "UTF-8";
:root{--ink:#203b43;--muted:#60777b;--teal:#167c70;--teal-dark:#105f57;--teal-soft:#e8f3ee;--orange:#e8a642;--paper:#f7f8f4;--line:#dce5df;--white:#fff;--risk:#b96e32;--shadow:0 8px 30px #1a49340b;--font-jp:Meiryo,"Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP","Noto Sans",sans-serif;font-family:var(--font-jp);color:var(--ink);background:var(--paper);font-synthesis:none;line-height:1.85;font-size:16px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:var(--teal);text-underline-offset:3px}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #de9334;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:.025em;line-height:1.5}h1{font-size:32px}h2{font-size:23px}h3{font-size:17px}p{margin-bottom:16px}button svg,a svg{width:19px;height:19px;flex:none}svg{vertical-align:middle}[hidden]{display:none!important}.skip-link{position:absolute;top:-100px;left:16px;background:white;padding:10px;z-index:100}.skip-link:focus{top:8px}.site-header{background:#ffffffee;border-bottom:1px solid var(--line)}.header-inner{max-width:1440px;margin:auto;padding:17px 36px;display:flex;align-items:center;gap:34px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);white-space:nowrap}.brand-mark{display:block;color:var(--teal);width:39px}.brand-mark svg{width:39px;height:39px}.brand strong{font-size:18px;display:block;letter-spacing:.04em}.brand small{font-size:14px;letter-spacing:.24em;color:var(--teal);font-weight:800;display:block;line-height:1.3}.main-nav{display:flex;gap:24px;align-self:stretch;align-items:center;margin-left:auto}.main-nav a{text-decoration:none;color:var(--muted);font-weight:700;font-size:14px;position:relative;white-space:nowrap}.main-nav a.active{color:var(--teal)}.main-nav a.active:after{content:"";height:3px;background:var(--teal);border-radius:10px;position:absolute;bottom:-19px;left:0;right:0}.audience-control{font-size:14px;color:var(--muted);display:flex;flex-direction:column;gap:2px}.audience-control select{border:1px solid var(--line);background:var(--paper);border-radius:7px;padding:5px 23px 5px 8px;font-size:14px;color:var(--ink);max-width:185px}.page{max-width:1368px;margin:auto;padding:36px 36px 56px}.eyebrow{color:var(--teal);font-size:14px;font-weight:800;letter-spacing:.18em;display:flex;align-items:center;gap:8px;margin-bottom:16px}.eyebrow:before{content:"";width:23px;height:2px;background:var(--orange)}.hero{display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:35px;min-height:420px}.hero h1{font-size:48px;font-weight:850;letter-spacing:.045em;line-height:1.6;margin:0 0 22px}.hero h1 em{font-style:normal;color:var(--teal)}.hero-copy>p{color:var(--muted);line-height:2;font-size:15px;max-width:450px}.hero-actions{display:flex;gap:12px;margin:27px 0 16px;flex-wrap:wrap}.btn{border:1px solid var(--line);background:white;color:var(--ink);border-radius:10px;padding:11px 18px;font-weight:700;font-size:14px;display:inline-flex;justify-content:center;align-items:center;gap:9px;text-decoration:none;line-height:1.5;min-height:44px;transition:background .15s,transform .15s,box-shadow .15s}.btn:hover{background:#f0f6f2;box-shadow:0 4px 12px #1642360a}.btn-primary{background:var(--teal);color:white;border-color:var(--teal)}.btn-primary:hover{background:var(--teal-dark)}.btn-orange{background:#f9e4c2;border-color:#efcb8b;color:#715019}.btn-ghost{background:transparent;border-color:transparent;padding:8px 10px;color:var(--teal);box-shadow:none!important}.btn-small{font-size:14px;padding:7px 11px;min-height:36px}.btn-full{width:100%}.hero-note{font-size:14px!important;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.hero-note span:before{content:"✓";color:var(--teal);margin-right:5px}.hero-visual{position:relative;padding:10px 0 20px}.hero-visual picture{display:block;border-radius:28px 80px 28px 28px;overflow:hidden;background:#d7e8e1;box-shadow:var(--shadow)}.hero-visual img{display:block;width:100%;aspect-ratio:1.35;object-fit:cover;object-position:56% 50%}.image-label{position:absolute;bottom:1px;left:24px;display:flex;align-items:center;gap:10px;background:white;padding:12px 18px;border:1px solid var(--line);border-radius:12px;font-size:14px;box-shadow:var(--shadow)}.image-label svg{color:var(--teal)}.image-label b{font-size:14px}.section-intro{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:38px 0 17px}.section-intro h2{margin:0}.section-intro p{color:var(--muted);font-size:14px;margin:0}.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.mode-card{background:white;border:1px solid var(--line);border-radius:18px;padding:25px 27px;display:grid;grid-template-columns:58px 1fr;gap:19px;position:relative;box-shadow:var(--shadow)}.mode-card .mode-icon{width:58px;height:58px;border-radius:17px;display:flex;align-items:center;justify-content:center;background:var(--teal-soft);color:var(--teal)}.mode-icon svg{width:29px;height:29px}.mode-card:nth-child(2) .mode-icon{background:#fbefd7;color:#b6822b}.mode-kicker{font-size:14px;letter-spacing:.13em;color:var(--muted);font-weight:700}.mode-card h3{font-size:22px;margin:3px 0 10px}.mode-card p{font-size:14px;color:var(--muted);max-width:400px;margin:0 0 17px}.mode-card .btn{font-size:14px}.card-meta{position:absolute;top:24px;right:24px;font-size:14px;color:var(--muted);border:1px solid var(--line);border-radius:20px;padding:2px 10px}.home-bottom{display:grid;grid-template-columns:1.15fr 1fr;gap:28px;margin-top:24px;align-items:center}.guide-callout{display:flex;align-items:center;gap:16px;padding:14px 20px;border-radius:14px;background:#eaf2e9}.guide-callout img{width:72px;height:76px;object-fit:contain;flex:none}.guide-callout p{font-size:14px;margin:0}.guide-callout b{display:block;font-size:14px;margin-bottom:3px}.source-note{font-size:14px;color:var(--muted);line-height:1.9}.source-note p{margin:0}.source-note a{margin-right:9px}.page-top{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:25px}.page-top h1{font-size:29px;margin:4px 0 7px}.page-top p{font-size:14px;color:var(--muted);margin:0;max-width:760px}.page-top .eyebrow{margin-bottom:4px}.pill{display:inline-flex;align-items:center;gap:6px;padding:4px 11px;border:1px solid var(--line);border-radius:25px;font-size:14px;font-weight:700;background:white;white-space:nowrap}.pill-dot{width:6px;height:6px;background:var(--teal);border-radius:50%}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;align-items:start}.workspace-left{min-width:0}.map-panel{border:1px solid #d4dfd7;border-radius:17px;overflow:hidden;background:#f0f2e9;box-shadow:var(--shadow)}.map-topbar{padding:11px 16px;background:#fff;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:12px}.map-topbar b{font-size:14px}.layer-control{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:700;color:var(--muted)}input[type=checkbox]{accent-color:var(--teal);width:16px;height:16px}.map-stage{position:relative;height:480px;isolation:isolate}.map-canvas{display:block;width:100%;height:100%;touch-action:none}.map-controls{position:absolute;right:12px;top:14px;display:flex;flex-direction:column;gap:5px}.map-control{width:35px;height:35px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);display:flex;align-items:center;justify-content:center;box-shadow:0 2px 10px #14372c0c;font-size:22px;line-height:1}.map-control svg{width:17px;height:17px}.north{position:absolute;left:16px;top:14px;display:flex;flex-direction:column;align-items:center;color:var(--ink);font-size:14px;font-weight:800;text-shadow:0 1px 3px white}.north svg{width:16px;height:24px}.map-message{position:absolute;bottom:15px;left:14px;max-width:calc(100% - 28px);background:#fffffff0;border:1px solid var(--line);border-radius:9px;padding:8px 12px;font-size:14px;box-shadow:var(--shadow)}.map-attribution{font-size:14px;background:#ffffffc9;position:absolute;right:4px;bottom:1px;padding:0 4px;z-index:1;max-width:95%;line-height:1.6}.map-legend{display:flex;flex-wrap:wrap;gap:9px 17px;font-size:14px;background:white;padding:11px 16px;line-height:1.8}.legend-symbol{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:5px;vertical-align:middle}.legend-route{width:22px;height:0;display:inline-block;border-top:3px solid var(--teal);margin-right:5px;vertical-align:middle}.legend-hazard{display:inline-block;width:12px;height:12px;margin-right:5px;vertical-align:middle;background:repeating-linear-gradient(45deg,#d58a43 0 1px,#ffe8c5 1px 4px)}.panel{border:1px solid var(--line);border-radius:16px;padding:23px;background:white;box-shadow:var(--shadow)}.panel h2{font-size:18px;margin:0 0 17px}.panel h3{font-size:14px;margin:0 0 12px}.panel+.panel{margin-top:16px}.panel-subtitle{font-size:14px;color:var(--muted);line-height:1.9;margin-top:-6px}.field{margin-bottom:18px}.field>label,.field-label{display:flex;justify-content:space-between;gap:8px;font-size:14px;font-weight:700;margin-bottom:7px;align-items:center}.field select,.field input[type=number],.field input[type=text],.field textarea{width:100%;border:1px solid var(--line);border-radius:8px;padding:9px 10px;color:var(--ink);background:#fbfcf9;font-size:14px;min-height:41px}.field select{padding-right:28px}.field output{font-size:14px;color:var(--teal);white-space:nowrap}.field input[type=range]{width:100%;accent-color:var(--teal);display:block;margin:12px 0 3px;height:20px}.range-labels{display:flex;justify-content:space-between;font-size:14px;color:var(--muted)}.check-row{display:flex;align-items:start;gap:8px;font-size:14px;line-height:1.7;padding:5px 0}.check-row input{flex:none;margin:3px 0 0}.field-help{font-size:14px;color:var(--muted);margin:7px 0 0}.small-label{font-size:14px;font-weight:800;letter-spacing:.12em;color:var(--muted)}.divider{height:1px;background:var(--line);margin:20px 0;border:0}.stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:14px 17px}.stat dt{font-size:14px;color:var(--muted)}.stat dd{margin:4px 0 0;font-size:27px;font-weight:800;line-height:1.5;font-variant-numeric:tabular-nums}.stat dd small{font-size:14px;font-weight:500;margin-left:3px;color:var(--muted)}.stat.teal dd{color:var(--teal)}.simulation-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0 0}.simulation-toolbar .time-display{margin-left:auto;font-size:14px;font-variant-numeric:tabular-nums;color:var(--muted)}.simulation-toolbar .time-display strong{font-size:20px;color:var(--ink)}.model-note{font-size:14px;color:var(--muted);line-height:1.9;margin:12px 0 0}.model-note a{white-space:nowrap}.speech{display:flex;align-items:flex-start;gap:12px}.speech img{width:56px;height:64px;object-fit:contain;flex:none}.speech-text{font-size:14px;line-height:1.9}.speech-text b{display:block;color:var(--teal);font-size:14px;margin-bottom:3px}.speech p{margin:0}.stepper{display:flex;list-style:none;padding:0;margin:0 0 22px;gap:8px}.stepper li{flex:1;display:flex;align-items:center;gap:6px;font-size:14px;color:var(--muted);border-bottom:3px solid var(--line);padding:9px 3px}.stepper .active{border-color:var(--teal);color:var(--teal);font-weight:700}.stepper .done{border-color:#a6c8b6}.step-num{border:1px solid currentColor;border-radius:50%;width:19px;height:19px;text-align:center;line-height:17px;font-size:14px;flex:none}.stepper .active .step-num{background:var(--teal);color:white;border-color:var(--teal)}.destination-list{display:flex;flex-direction:column;gap:8px;margin:16px 0}.destination-option,.route-option{display:block;text-align:left;border:1px solid var(--line);border-radius:10px;padding:12px;background:#fff;color:var(--ink);width:100%;line-height:1.6}.destination-option:hover,.route-option:hover{background:#f3f8f3}.destination-option.selected,.route-option.selected{border:2px solid var(--teal);padding:11px;background:#f0f7f1}.destination-name{font-size:14px;font-weight:700;display:flex;align-items:center;gap:6px}.destination-detail{font-size:14px;color:var(--muted);margin-top:5px}.destination-number{display:inline-flex;width:20px;height:20px;border-radius:50%;align-items:center;justify-content:center;background:var(--teal-soft);color:var(--teal);font-size:14px;flex:none}.suitability{display:inline-block;font-size:14px;padding:0 6px;border-radius:5px;background:var(--teal-soft);color:var(--teal);margin-right:4px}.suitability.no{background:#fbefdf;color:#9b682a}.notice{background:#fff4e4;border:1px solid #f1d9b0;border-radius:10px;padding:13px;font-size:14px;line-height:1.9;margin:14px 0}.notice strong{color:#8a5a22;display:block;margin-bottom:3px}.info-strip{background:#edf5ef;border-radius:9px;padding:12px 14px;font-size:14px;line-height:1.9;margin:14px 0}.route-options{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0}.route-option b{font-size:14px;display:block}.route-option span{font-size:14px;color:var(--muted)}.route-option .route-length{display:block;color:var(--teal);font-size:20px;font-weight:800;margin-top:5px}.route-option .route-length small{font-size:14px;font-weight:500}.event-card{border-color:#efc47e;background:#fffaf0}.event-card .small-label{color:#9d6828}.event-card h2{margin-top:8px}.event-choices{display:flex;flex-direction:column;gap:8px;margin-top:17px}.quest-facts{display:flex;gap:20px;flex-wrap:wrap;padding:15px 0;font-size:14px}.quest-facts strong{display:block;font-size:20px;color:var(--teal)}.learning-points{list-style:none;padding:0;margin:15px 0}.learning-points li{display:flex;gap:9px;margin-bottom:11px;font-size:14px;line-height:1.8}.learning-points svg{width:16px;height:16px;color:var(--teal);margin-top:3px;flex:none}.history-panel{margin-top:24px}.history-header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px}.history-header h2{margin:0;font-size:18px}.empty-state{font-size:14px;color:var(--muted);padding:25px 10px;text-align:center;background:#f3f6f1;border-radius:10px}.comparison-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.comparison-card{border:1px solid var(--line);border-radius:12px;padding:15px;min-width:0}.comparison-card h3{font-size:14px;margin-bottom:6px;display:flex;align-items:center;gap:8px}.series-dot{width:9px;height:9px;border-radius:50%;display:inline-block;flex:none}.comparison-card p{font-size:14px;color:var(--muted);margin:0 0 10px;overflow-wrap:anywhere}.comparison-card dl{display:grid;grid-template-columns:1fr auto;font-size:14px;gap:5px;margin:0}.comparison-card dt{color:var(--muted)}.comparison-card dd{margin:0;font-weight:700;font-variant-numeric:tabular-nums}.comparison-card .btn{margin-top:12px}.chart-wrap{margin-top:18px;min-height:190px}.chart-wrap svg{width:100%;height:210px;display:block;overflow:visible}.comparison-note{font-size:14px;color:var(--muted);margin:12px 0 0}.guide-page{max-width:1120px}.guide-lead{padding:30px;background:#eaf3eb;border-radius:18px;display:flex;gap:24px;align-items:center;margin-bottom:25px}.guide-lead img{width:105px;height:120px;object-fit:contain}.guide-lead h2{margin:0 0 10px}.guide-lead p{font-size:14px;line-height:2;margin:0}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px}.guide-section{margin-bottom:24px}.guide-section h2{font-size:21px;margin-bottom:16px}.guide-section p,.guide-section li{font-size:14px;line-height:2}.guide-section ul,.guide-section ol{padding-left:22px}.guide-section li{margin-bottom:7px}.lesson-table,.source-table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.8}.lesson-table th,.lesson-table td,.source-table th,.source-table td{text-align:left;padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:top}.lesson-table th,.source-table th{background:#f0f5ef;font-size:14px}.source-table td:first-child{width:26%}.source-table td{overflow-wrap:anywhere}.source-table a{font-weight:700}.table-wrap{overflow-x:auto}.details{margin-top:16px;border:1px solid var(--line);border-radius:10px;background:#fbfcf9}.details summary{font-size:14px;font-weight:700;padding:10px 13px;cursor:pointer}.details-body{padding:0 14px 14px;font-size:14px}.details-body p{font-size:14px;line-height:1.9}.details-body ul{padding-left:19px}.reflection-input{width:100%;resize:vertical;min-height:85px;border:1px solid var(--line);padding:12px;border-radius:9px;font-size:14px;line-height:1.9}.guide-tag{font-size:14px;padding:3px 7px;background:var(--teal-soft);color:var(--teal);border-radius:5px;margin-left:8px;white-space:nowrap}.site-footer{max-width:1368px;margin:auto;border-top:1px solid var(--line);padding:23px 36px 30px;display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:14px;line-height:1.9}.site-footer strong{font-size:14px;color:var(--ink);display:block}.site-footer span{display:block}.site-footer p{margin:0}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:13px 21px;border-radius:12px;box-shadow:var(--shadow);font-size:14px;max-width:calc(100% - 30px);z-index:100;line-height:1.7}.loading-screen{padding:100px 25px;text-align:center;min-height:60vh}.loading-screen h1{font-size:23px;margin:15px 0}.loading-screen p{color:var(--muted)}.loading-compass{font-size:50px;color:var(--teal)}.error-panel{max-width:700px;margin:60px auto;padding:25px;background:white;border:1px solid var(--line);border-radius:15px}.noscript{padding:25px;text-align:center}.advanced-fields{margin-top:15px}.form-errors{font-size:14px;color:#963d2d;margin:10px 0}.replay-banner{background:#eaf4ef;padding:10px 16px;border-radius:9px;font-size:14px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.scenario-badge{position:absolute;top:16px;left:48px;padding:4px 8px;border-radius:5px;background:#fffaf0ed;color:#93632a;font-size:14px;font-weight:700}.print-only{display:none}.mobile-visible{display:none}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-row .field{margin-bottom:0}.control-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.control-heading h2{margin:0}.status-line{font-size:14px;margin:10px 0 0;color:var(--teal);min-height:21px}.help-copy{font-size:14px;color:var(--muted)}.source-date{font-size:14px;color:var(--muted);display:block;margin-top:5px}.objective{font-size:14px;color:var(--ink);padding-bottom:16px;border-bottom:1px solid var(--line);margin-bottom:16px}.result-top{background:var(--teal-soft);padding:14px;border-radius:12px;margin:15px 0}.result-top h2{color:var(--teal);margin:0 0 3px}.result-top p{font-size:14px;margin:0}.quest-saved-note{font-size:14px;color:var(--muted);margin-top:10px}.role-note{font-size:14px;color:var(--teal);margin-top:10px}.full-span{grid-column:1/-1}.map-tooltip{position:absolute;top:60px;left:14px;max-width:250px;padding:9px 12px;background:#fff;border:1px solid var(--line);border-radius:9px;font-size:14px;pointer-events:none;box-shadow:var(--shadow)}
.map-message{position:static;max-width:none;background:white;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:9px 15px;font-size:14px;box-shadow:none}
@media(min-width:1450px){.map-stage{height:535px}.hero{min-height:470px}}
@media(max-width:1180px){.header-inner{padding:15px 24px;gap:20px;flex-wrap:wrap}.main-nav{gap:20px;order:3;flex-basis:100%;justify-content:center;border-top:1px solid var(--line);padding-top:12px}.main-nav a.active:after{bottom:-15px}.audience-control{margin-left:auto}.page{padding:28px 24px 45px}.hero h1{font-size:40px}.hero{gap:25px;min-height:365px}.hero-visual img{aspect-ratio:1.3}.workspace{grid-template-columns:minmax(0,1fr) 300px;gap:17px}.panel{padding:20px}.map-stage{height:460px}.card-meta{position:static;width:max-content;grid-column:2;margin-top:-12px}.hero-note{font-size:14px!important}}
@media(max-width:850px){.hero h1{font-size:35px}.hero{gap:20px;grid-template-columns:1fr 1fr}.hero-copy>p{font-size:14px}.hero-actions{gap:9px}.hero-actions .btn{font-size:14px;padding:10px 12px}.mode-card{padding:20px;gap:13px;grid-template-columns:42px 1fr}.mode-card .mode-icon{width:42px;height:42px;border-radius:12px}.mode-card h3{font-size:19px}.mode-card p{font-size:14px}.home-bottom{grid-template-columns:1fr}.workspace{grid-template-columns:1fr}.workspace-aside{display:grid;grid-template-columns:1fr 1fr;gap:16px}.workspace-aside>.panel{margin-top:0}.workspace-aside>.panel:first-child:last-child{grid-column:1/-1}.quest-workspace .workspace-aside{grid-template-columns:1fr}.quest-workspace .map-stage{height:390px}.map-stage{height:445px}.page-top h1{font-size:26px}.guide-grid{grid-template-columns:1fr}.site-footer{padding-left:24px;padding-right:24px}.stat dd{font-size:25px}}
@media(max-width:600px){:root{font-size:16px}.header-inner{padding:13px 16px;gap:12px}.brand{gap:7px}.brand strong{font-size:14px}.brand small{font-size:14px}.brand-mark,.brand-mark svg{width:31px;height:31px}.audience-control{font-size:14px}.audience-control select{font-size:14px;max-width:133px;padding:5px 16px 5px 6px;min-height:30px}.main-nav{justify-content:space-between;gap:8px;padding-top:11px}.main-nav a{font-size:14px}.main-nav a.active:after{bottom:-13px}.page{padding:24px 16px 36px}.hero{grid-template-columns:1fr;gap:8px;min-height:0}.hero h1{font-size:37px;line-height:1.55;margin-bottom:14px}.hero-copy>p{font-size:14px;margin-bottom:10px;max-width:none}.eyebrow{font-size:14px;letter-spacing:.13em;margin-bottom:11px}.hero-actions{margin-top:19px;margin-bottom:11px}.hero-actions .btn{font-size:14px;padding:11px 16px}.hero-visual{padding-top:9px;padding-bottom:21px}.hero-visual picture{border-radius:18px 50px 18px 18px}.hero-visual img{aspect-ratio:1.75;object-position:center 49%}.image-label{font-size:14px;padding:9px 13px;left:15px;bottom:5px}.image-label b{font-size:14px}.section-intro{margin:28px 0 14px;align-items:start;flex-direction:column;gap:5px}.section-intro h2{font-size:21px}.mode-grid{grid-template-columns:1fr;gap:14px}.mode-card{grid-template-columns:45px 1fr;padding:22px 18px;gap:15px}.mode-card h3{font-size:21px}.mode-card p{font-size:14px}.card-meta{position:absolute;top:20px;right:17px;font-size:14px;padding:1px 7px;margin-top:0}.home-bottom{margin-top:18px;gap:18px}.guide-callout{padding:13px;gap:11px}.guide-callout img{width:55px;height:66px}.guide-callout p{font-size:14px}.guide-callout b{font-size:14px}.source-note{font-size:14px}.page-top{align-items:start;gap:12px;flex-direction:column;margin-bottom:19px}.page-top h1{font-size:25px}.page-top p{font-size:14px}.pill{font-size:14px}.workspace{gap:15px}.workspace-aside{grid-template-columns:1fr}.map-stage,.quest-workspace .map-stage{height:340px}.map-topbar{padding:10px 12px}.map-topbar b{font-size:14px}.layer-control{font-size:14px}.map-legend{font-size:14px;gap:6px 11px;padding:9px 11px}.map-control{width:40px;height:40px}.map-attribution{font-size:14px}.map-message{font-size:14px;bottom:18px;padding:6px 9px}.map-topbar{align-items:center;flex-wrap:wrap}.stats-row{gap:8px;margin-top:12px}.stat{padding:11px 12px}.stat dt{font-size:14px}.stat dd{font-size:23px}.stat dd small{font-size:14px}.simulation-toolbar{gap:8px;margin-top:13px}.simulation-toolbar .btn{padding:9px 13px;font-size:14px}.simulation-toolbar .time-display{font-size:14px}.simulation-toolbar .time-display strong{font-size:17px}.panel{padding:19px 17px;border-radius:13px}.stepper{gap:5px;margin-bottom:16px}.stepper li{font-size:14px;gap:4px;padding-left:0;padding-right:0}.step-num{width:17px;height:17px;line-height:15px;font-size:14px}.comparison-grid{grid-template-columns:1fr}.comparison-card{padding:15px}.comparison-card dl{grid-template-columns:1fr 1fr}.history-header{align-items:flex-start}.history-header h2{font-size:17px}.history-header .btn{font-size:14px;white-space:nowrap}.guide-lead{padding:20px 16px;gap:14px;align-items:flex-start}.guide-lead img{width:63px;height:78px}.guide-lead h2{font-size:18px}.guide-lead p{font-size:14px}.guide-section h2{font-size:20px}.guide-section p,.guide-section li{font-size:14px}.lesson-table th,.lesson-table td,.source-table th,.source-table td{padding:10px 8px;font-size:14px}.source-table td:first-child{width:32%}.site-footer{padding:19px 16px 25px;flex-direction:column;gap:8px;font-size:14px}.field select,.field input[type=number],.field input[type=text],.field textarea,.reflection-input{font-size:16px;min-height:44px}.btn-small{min-height:40px}.check-row{min-height:40px;align-items:center}.mobile-visible{display:block}.speech img{width:49px;height:57px}.speech-text{font-size:14px}.guide-tag{font-size:14px}.form-row{gap:10px}.chart-wrap svg{height:190px}.replay-banner{font-size:14px}.scenario-badge{font-size:14px}}
@media(max-width:360px){.brand strong{font-size:14px}.brand small{font-size:14px}.brand-mark,.brand-mark svg{width:28px;height:28px}.audience-control select{max-width:115px;font-size:14px}.hero h1{font-size:33px}.main-nav a{font-size:14px}.card-meta{display:none}.hero-actions .btn{padding:10px 12px}.map-stage,.quest-workspace .map-stage{height:305px}.stat{padding:10px}.stat dd{font-size:21px}.stepper li{font-size:14px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Readable Japanese type and controls at every viewport width. */
body{font-family:var(--font-jp)}
button,input,select,textarea{font-family:var(--font-jp)}
p,li,dt,dd,label,button,a{overflow-wrap:break-word}
.header-inner{gap:22px;flex-wrap:wrap}
.brand strong{font-size:18px;letter-spacing:.02em}
.brand small{font-size:11px;letter-spacing:.2em}
.main-nav{gap:18px;min-width:0}
.main-nav a{font-size:14px;min-height:44px;display:flex;align-items:center;justify-content:center;padding:5px 0;line-height:1.6}
.audience-control{font-size:13px;gap:5px}
.audience-control select{font-size:16px;min-height:44px;max-width:245px;padding:8px 27px 8px 10px}
.hero-copy>p{font-size:16px;line-height:1.95}
.hero-note{font-size:13px!important;gap:6px 12px}
.eyebrow,.mode-kicker,.small-label{font-size:12px;letter-spacing:.1em}
.card-meta{font-size:12px}
.section-intro p,.mode-card p,.guide-callout p,.page-top p{font-size:15px;line-height:1.9}
.mode-card .btn,.hero-actions .btn{font-size:16px}
.guide-callout b{font-size:16px}
.source-note{font-size:13px;line-height:1.9}
.page-top h1{line-height:1.6}
.pill{font-size:13px;white-space:normal}
.workspace{grid-template-columns:minmax(0,1fr) 360px;gap:24px}
.workspace-aside{min-width:0}
.panel{padding:24px}
.panel h2{font-size:21px;line-height:1.6}
.panel h3{font-size:17px}
.panel-subtitle,.speech-text,.notice,.info-strip,.help-copy,.objective{font-size:16px;line-height:1.9}
.speech-text b{font-size:14px}
.field{margin-bottom:21px}
.field>label,.field-label,.check-row{font-size:15px;line-height:1.8}
.field>label,.field-label{gap:10px;margin-bottom:9px}
.field select,.field input[type=number],.field input[type=text],.field textarea,.reflection-input{font-size:16px;line-height:1.7;min-height:46px;padding:11px 12px}
.field output{font-size:16px}
.field input[type=range]{height:25px}
.field-help,.model-note,.range-labels,.destination-detail,.comparison-note,.quest-saved-note,.source-date,.role-note{font-size:13px;line-height:1.9}
.check-row{min-height:44px;gap:10px;align-items:flex-start;padding:8px 0}
.check-row input{margin-top:5px;width:18px;height:18px}
.btn{font-size:16px;line-height:1.65;min-height:46px;padding:11px 16px}
.btn-small,.btn-ghost{font-size:14px;min-height:44px;padding:9px 12px}
.btn-full{width:100%}
.map-topbar{padding:12px 16px;flex-wrap:wrap}
.map-topbar b,.layer-control{font-size:14px;line-height:1.7}
.layer-control{gap:9px;min-height:32px}
.layer-control select{font-size:16px;padding:5px 7px;border:1px solid var(--line);border-radius:6px;min-height:44px;background:#fff;color:var(--ink)}
.map-control{width:44px;height:44px;font-size:24px}
.map-controls{right:12px;top:14px;gap:6px}
.north{font-size:12px}
.scenario-badge{font-size:12px;line-height:1.7;left:46px;max-width:calc(100% - 118px)}
.map-message{font-size:14px;line-height:1.8;padding:12px 16px}
.map-attribution{position:static;padding:8px 15px;font-size:12px;line-height:1.7;max-width:none;background:#fff;border-top:1px solid var(--line);text-align:right}
.map-legend{font-size:13px;line-height:1.85;padding:12px 16px;gap:9px 16px}
.legend-original,.legend-backtrack,.legend-alternate,.legend-blocked{display:inline-block;width:24px;height:0;margin-right:6px;vertical-align:middle;border-top:3px dashed #78828c}
.legend-backtrack{border-color:#7954a8}
.legend-alternate{border-color:#7998aa}
.legend-blocked{border-color:#c74641;border-top-style:solid}
.map-tooltip{font-size:14px;line-height:1.8;max-width:270px}
.stat{padding:15px 16px}
.stat dt{font-size:13px;line-height:1.7}
.stat dd{font-size:27px}
.stat dd small{font-size:14px}
.simulation-toolbar{gap:12px}
.simulation-toolbar .btn{font-size:15px}
.simulation-toolbar .time-display{font-size:14px}
.simulation-toolbar .time-display strong{font-size:22px}
.status-line{font-size:14px;line-height:1.8;min-height:26px}
.stepper{gap:12px}
.stepper li{font-size:14px;gap:8px;line-height:1.7;padding:10px 4px}
.step-num{width:24px;height:24px;line-height:22px;font-size:13px}
.destination-option,.route-option{padding:14px;line-height:1.8;min-width:0}
.destination-option.selected,.route-option.selected{padding:13px}
.destination-name{font-size:16px;gap:9px}
.destination-number{width:24px;height:24px;font-size:13px}
.suitability{font-size:13px;padding:1px 6px}
.route-options{gap:12px}
.route-option b{font-size:15px}
.route-option span{font-size:13px;line-height:1.8}
.route-option .route-length{font-size:23px}
.route-option .route-length small{font-size:14px}
.event-choices{gap:12px}
.quest-facts{font-size:15px;gap:18px 26px}
.quest-facts strong{font-size:24px}
.learning-points li{font-size:15px;line-height:1.9;gap:10px;margin-bottom:14px}
.learning-points svg{width:18px;height:18px;margin-top:5px}
.comparison-grid{gap:16px}
.comparison-card{padding:18px}
.comparison-card h3{font-size:16px}
.comparison-card p{font-size:13px;line-height:1.9}
.comparison-card dl{font-size:14px;gap:8px}
.chart-wrap svg text{font-family:var(--font-jp);font-size:14px}
.guide-lead p,.guide-section p,.guide-section li{font-size:16px;line-height:2}
.lesson-table,.source-table{font-size:15px;line-height:1.9}
.lesson-table th,.lesson-table td,.source-table th,.source-table td{padding:14px 16px;font-size:15px}
.details summary,.details-body{font-size:15px;line-height:1.9}
.details summary{padding:13px 15px;min-height:46px}
.details-body{padding:0 16px 16px}
.details-body p{font-size:14px;line-height:1.9}
.guide-tag{font-size:12px;line-height:1.7;white-space:normal}
.site-footer{font-size:13px;line-height:1.9}
.site-footer strong{font-size:15px}
.toast{font-size:15px;line-height:1.8}
.form-errors,.replay-banner{font-size:14px}
.result-top p{font-size:14px;line-height:1.9}

/* Two trips that differ only in when road information is received. */
.compare-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 24px;align-items:start}
.compare-controls>.field{margin:0}
.compare-controls .full-span{grid-column:1/-1}
.compare-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:24px 0;align-items:start}
.journey-card{--journey-color:var(--teal);background:#fff;border:1px solid var(--line);border-top:5px solid var(--journey-color);border-radius:16px;overflow:hidden;min-width:0;box-shadow:var(--shadow)}
.journey-card:nth-child(2){--journey-color:#a76e15}
.journey-heading{padding:19px 21px;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;background:#fcfdf9}
.journey-heading h2,.journey-heading h3{font-size:21px;line-height:1.7;margin:0 0 4px;color:var(--journey-color)}
.journey-heading p{font-size:14px;line-height:1.8;margin:0}
.journey-heading .pill{color:var(--journey-color)}
.journey-map{height:360px;position:relative;overflow:hidden;background:#f1f3ee;isolation:isolate}
.journey-map canvas{display:block;width:100%;height:100%;touch-action:none}
canvas.journey-map{display:block;width:100%;touch-action:none}
.journey-status{font-size:15px;line-height:1.85;min-height:76px;padding:15px 20px;background:#f7faf5;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.journey-status p{margin:0}
.journey-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0;padding:18px 20px}
.journey-metrics>div{min-width:0}
.journey-metrics dt{font-size:13px;color:var(--muted);line-height:1.7}
.journey-metrics dd{margin:5px 0 0;font-size:24px;line-height:1.5;color:var(--journey-color);font-weight:700;font-variant-numeric:tabular-nums}
.journey-metrics dd small{font-size:14px;font-weight:400;color:var(--ink)}
.journey-progress{font-size:14px;line-height:1.7;margin:0 20px 20px;accent-color:var(--journey-color)}
.journey-progress progress{display:block;width:100%;height:14px;margin-top:8px;accent-color:var(--journey-color)}
progress.journey-progress{display:block;width:calc(100% - 40px);height:14px}
.comparison-summary{padding:22px 24px;background:var(--teal-soft);border:1px solid #c9e0d4;border-radius:14px;font-size:16px;line-height:1.9;margin:20px 0}
.comparison-summary h2,.comparison-summary h3{margin:0 0 10px;font-size:22px;line-height:1.7}
.comparison-summary p:last-child{margin-bottom:0}
.prediction-options{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0 18px}
.prediction-options>*{flex:1 1 190px}
.timing-choice,.closure-choice{display:block;min-width:0;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);padding:14px 16px;font-size:15px;line-height:1.8;text-align:left}
.timing-choice label,.closure-choice label{font-size:15px;line-height:1.8}
.timing-choice input,.closure-choice input{accent-color:var(--teal);margin-right:8px}
.timing-choice.selected,.closure-choice.selected,.timing-choice[aria-pressed=true],.closure-choice[aria-pressed=true]{border:2px solid var(--teal);padding:13px 15px;background:var(--teal-soft)}
.timing-choice:focus-within,.closure-choice:focus-within{outline:3px solid #de9334;outline-offset:3px}
.timing-choice strong,.closure-choice strong{display:block;font-size:16px;line-height:1.8}
.timing-choice small,.closure-choice small{display:block;font-size:13px;line-height:1.9;color:var(--muted);margin-top:5px}
.compare-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:20px 0}
.compare-result{padding:22px 24px;background:#fff;border:1px solid var(--line);border-radius:15px;font-size:16px;line-height:1.9;min-width:0}
.compare-result h2{font-size:23px;line-height:1.7;margin-bottom:14px}
.compare-result p:last-child{margin-bottom:0}

@media(max-width:1180px){
  .header-inner{gap:16px 22px}
  .main-nav{gap:20px}
  .workspace{grid-template-columns:minmax(0,1fr) 335px;gap:20px}
  .panel{padding:22px}
  .card-meta{font-size:12px}
}
@media(max-width:850px){
  .workspace{grid-template-columns:1fr}
  .workspace-aside{grid-template-columns:1fr 1fr}
  .quest-workspace .workspace-aside{grid-template-columns:1fr}
  .mode-card p{font-size:15px}
  .compare-controls{grid-template-columns:1fr 1fr}
  .compare-grid{grid-template-columns:1fr}
  .comparison-grid{grid-template-columns:1fr}
  .journey-heading h2,.journey-heading h3{font-size:21px}
}
@media(max-width:600px){
  .header-inner{padding:14px 16px;gap:14px}
  .brand strong{font-size:17px}
  .brand small{font-size:11px}
  .brand-mark,.brand-mark svg{width:35px;height:35px}
  .audience-control{width:100%;margin:0;display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;font-size:14px;gap:8px}
  .audience-control select{font-size:16px;max-width:none;min-width:0;width:100%;min-height:44px}
  .main-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 14px;width:100%;padding-top:9px}
  .main-nav a{font-size:14px;min-height:44px;white-space:normal;text-align:center;padding:7px 2px;line-height:1.6}
  .main-nav a.active:after{bottom:0}
  .hero-copy>p{font-size:16px}
  .hero-actions .btn{font-size:16px;padding:11px 16px}
  .hero-note{font-size:13px!important}
  .image-label,.image-label b{font-size:13px}
  .eyebrow,.mode-kicker,.small-label{font-size:12px}
  .mode-card p{font-size:15px}
  .card-meta{position:static;grid-column:2;max-width:100%;width:max-content;font-size:12px;margin-top:0}
  .guide-callout p{font-size:15px}
  .guide-callout b{font-size:16px}
  .source-note{font-size:13px}
  .page-top p{font-size:15px}
  .pill{font-size:13px}
  .workspace-aside{grid-template-columns:1fr}
  .panel{padding:20px 17px}
  .map-topbar b,.layer-control{font-size:14px}
  .map-control{width:44px;height:44px}
  .map-message{font-size:14px;padding:11px 13px}
  .map-attribution{font-size:12px;padding:8px 12px}
  .map-legend{font-size:13px;gap:8px 13px;padding:12px}
  .map-stage,.quest-workspace .map-stage{height:360px}
  .scenario-badge{font-size:12px}
  .stats-row{gap:8px}
  .stat{padding:12px 10px}
  .stat dt{font-size:13px}
  .stat dd{font-size:24px}
  .stat dd small{font-size:13px}
  .simulation-toolbar .btn{font-size:15px;padding:10px 13px}
  .simulation-toolbar .time-display{font-size:14px}
  .simulation-toolbar .time-display strong{font-size:21px}
  .stepper{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .stepper li{font-size:13px;line-height:1.7;flex-direction:column;align-items:center;text-align:center;gap:7px;padding:10px 1px}
  .step-num{width:24px;height:24px;line-height:22px;font-size:13px}
  .speech-text{font-size:16px}
  .history-header{flex-wrap:wrap;gap:12px}
  .history-header .btn{font-size:14px}
  .comparison-card dl{grid-template-columns:minmax(0,1fr) auto}
  .guide-lead p,.guide-section p,.guide-section li{font-size:16px}
  .guide-lead{gap:16px}
  .guide-lead img{width:54px;height:64px}
  .lesson-table th,.lesson-table td,.source-table th,.source-table td{font-size:14px;padding:12px 10px}
  .source-table{min-width:470px}
  .site-footer{font-size:13px}
  .guide-tag{font-size:12px}
  .replay-banner{font-size:14px}
  .chart-wrap svg{height:220px}
  .compare-controls{grid-template-columns:1fr;gap:18px}
  .compare-grid{grid-template-columns:1fr;gap:20px}
  .journey-heading{padding:16px}
  .journey-heading h2,.journey-heading h3{font-size:19px}
  .journey-heading p{font-size:14px}
  .journey-map{height:300px}
  .journey-status{padding:14px 16px;font-size:15px}
  .journey-metrics{padding:16px;gap:10px}
  .journey-metrics dt{font-size:13px}
  .journey-metrics dd{font-size:22px}
  .journey-progress{margin-left:16px;margin-right:16px}
  progress.journey-progress{width:calc(100% - 32px)}
  .comparison-summary,.compare-result{padding:20px 17px}
  .comparison-summary h2,.comparison-summary h3{font-size:20px}
  .prediction-options{flex-direction:column}
  .prediction-options>*{flex:auto}
  .compare-actions .btn{flex:1 1 145px}
}
@media(max-width:360px){
  .brand strong{font-size:16px}
  .brand small{font-size:11px}
  .audience-control select{font-size:16px}
  .main-nav a{font-size:14px}
  .hero-actions .btn{width:100%;font-size:16px}
  .card-meta{display:block}
  .stepper li{font-size:13px}
  .stat dd{font-size:22px}
  .route-options{grid-template-columns:1fr}
  .journey-metrics{grid-template-columns:1fr 1fr}
}

/* Match the comparison page's real form, metrics and progress markup. */
.compare-controls>div:first-child{grid-column:1/-1}
.compare-controls>div:first-child p{margin-bottom:0}
.compare-controls>.form-row{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;min-width:0}
.compare-controls .field,.compare-controls .form-row>div{min-width:0}
.compare-controls select,.compare-controls input{max-width:100%}
.field select{padding-right:30px}
.compare-controls .field-help{margin-top:9px}
.compare-actions{display:block;margin:28px 0 22px}
.compare-actions h2{font-size:23px;line-height:1.7;margin:0 0 15px}
.compare-actions .simulation-toolbar{margin:0;gap:12px}
.compare-actions>.field-help{margin-top:14px}
.prediction-options .btn[aria-pressed=true]{background:var(--teal-soft);border:2px solid var(--teal);color:var(--teal-dark);padding:10px 15px}
.prediction-options .btn[aria-pressed=true]:before{content:"✓";font-size:18px;font-weight:700}
.compare-grid{align-items:stretch}
.journey-card{display:flex;flex-direction:column}
.journey-card[data-mode=early]{--journey-color:#167c70}
.journey-card[data-mode=late]{--journey-color:#a36516}
.journey-heading{justify-content:flex-start;min-height:168px;flex:none}
.journey-heading>div{min-width:0;flex:1}
.journey-letter{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:12px;background:var(--journey-color);color:#fff;font-size:26px;font-weight:700;line-height:1}
.journey-map{flex:none}
.journey-status{min-height:88px;flex:none}
.journey-status[data-state=arrived]{background:#e8f4eb;color:#13654f;font-weight:700}
.journey-status[data-state=unreachable],.journey-status[data-state=time-limit]{background:#fff2e3;color:#82501f;font-weight:700}
.journey-metrics{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}
.journey-metrics>div>span{display:block;font-size:13px;color:var(--muted);line-height:1.7}
.journey-metrics>div>strong{display:block;font-size:24px;line-height:1.5;color:var(--journey-color);margin-top:6px;font-variant-numeric:tabular-nums}
.journey-metrics [id^=timing-knowledge]{font-size:16px;line-height:1.8;margin-top:9px}
.journey-progress[role=progressbar]{height:12px;border-radius:999px;background:#e0e8e2;overflow:hidden;flex:none;margin-bottom:10px}
.journey-progress[role=progressbar]>span{display:block;width:0;height:100%;border-radius:inherit;background:var(--journey-color)}
.journey-caption{font-size:14px;line-height:1.85;margin:10px 20px 22px;min-height:3.7em}
.compare-callout{margin:24px 0;border-left:5px solid var(--teal);background:#edf6f0}
.compare-callout h2{margin-bottom:10px}
.compare-callout p{font-size:16px;line-height:1.9;max-width:68em}
.legend-closed{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;border:1.5px dashed #c74641;background:rgba(204,68,62,.13);color:#c74641;font-style:normal;font-size:14px;font-weight:700;line-height:1;margin-right:6px;vertical-align:middle}
.legend-closed:after{content:"×"}
.compare-result .source-table{table-layout:fixed;min-width:0}
.compare-result .source-table th:first-child{width:30%}
.compare-result .source-table td{font-variant-numeric:tabular-nums}
.compare-result .comparison-summary{margin-top:8px}
@media(max-width:1100px){
  .compare-controls{grid-template-columns:minmax(0,1fr)}
  .compare-controls>.form-row{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .compare-controls>.form-row{grid-template-columns:minmax(0,1fr)}
  .compare-result .source-table{display:block}
  .compare-result .source-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .compare-result .source-table tbody{display:grid;gap:14px}
  .compare-result .source-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--line);border-radius:10px;overflow:hidden}
  .compare-result .source-table tbody th{grid-column:1/-1;width:auto;padding:12px;font-size:14px}
  .compare-result .source-table tbody td{min-width:0;width:auto;padding:12px;font-size:15px;line-height:1.85;border-bottom:0}
  .compare-result .source-table tbody td+td{border-left:1px solid var(--line)}
  .compare-result .source-table tbody td:before{display:block;font-size:13px;font-weight:700;line-height:1.7;margin-bottom:8px}
  .compare-result .source-table tbody td:nth-child(2):before{content:"A：先に知る";color:#167c70}
  .compare-result .source-table tbody td:nth-child(3):before{content:"B：途中で知る";color:#a36516}
}
@media(max-width:600px){
  .journey-heading{min-height:0}
  .journey-letter{width:42px;height:42px;font-size:23px;border-radius:10px}
  .journey-metrics>div>strong{font-size:22px}
  .journey-metrics [id^=timing-knowledge]{font-size:16px}
  .journey-caption{font-size:14px;margin:10px 16px 20px;min-height:0}
  .compare-actions h2{font-size:21px}
  .compare-actions .time-display{width:100%;margin-left:0;font-size:15px}
  .compare-result .source-table tbody td{padding:10px}
}

.lab-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.stat .state-value{font-size:18px;line-height:1.7;font-weight:700;margin-top:8px;min-height:1.7em;overflow-wrap:anywhere}
@media(min-width:601px) and (max-width:1180px){
  .main-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;width:100%}
  .main-nav a{min-width:0;white-space:normal;text-align:center}
  .main-nav a.active:after{bottom:-10px}
}
@media(min-width:851px) and (max-width:1100px),(max-width:700px){
  .lab-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .stat .state-value{font-size:17px}
}

@media print{body{background:white;color:black;font-size:11pt}.site-header,.site-footer,.toast,.hero,.btn,.map-controls,.layer-control,.main-nav,.skip-link{display:none!important}.page{padding:0;max-width:none}.panel,.guide-lead{box-shadow:none;break-inside:avoid;border-color:#aaa;background:white}.guide-grid{display:block}.print-only{display:block}.guide-section{break-inside:avoid}.table-wrap{overflow:visible}.guide-lead img{width:60px;height:70px}a{color:black}.page-top h1{font-size:22pt}.guide-section h2{font-size:16pt}.workspace{display:block}.workspace-aside{display:block}.map-stage{height:350px}.stats-row{display:flex}.stat{flex:1}.chart-wrap{break-inside:avoid}.comparison-grid{grid-template-columns:repeat(3,1fr)}}

/* Region and disaster selection, shared by every learning mode. */
.scenario-panel{padding:23px 26px;margin-bottom:30px;background:#fff;border:1px solid var(--line);border-top:4px solid var(--teal);border-radius:16px;box-shadow:var(--shadow)}
.scenario-heading{display:flex;align-items:baseline;gap:18px;flex-wrap:wrap;margin-bottom:16px}
.scenario-heading h2{font-size:21px;margin:0;line-height:1.7}
.scenario-heading .small-label{margin:0;color:var(--teal)}
.scenario-fields{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px}
.scenario-fields .field{margin-bottom:14px;min-width:0}
.scenario-fields select{width:100%;min-height:48px;font-size:16px;background:#f8faf7}
.scenario-description{display:flex;gap:15px;align-items:flex-start;border-radius:11px;background:#edf5ee;padding:15px 18px}
.scenario-description b{display:block;font-size:16px;line-height:1.8}
.scenario-description p{margin:3px 0 0;font-size:14px;line-height:1.9}
.scenario-description .field-help{font-size:13px}
.scenario-symbol{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex:none;border-radius:10px;background:#fff;color:var(--teal)}
.scenario-symbol svg{width:27px;height:27px}
.scenario-status{font-size:13px;color:var(--muted);line-height:1.9;margin:10px 0 0}
body[data-hazard=flood] .scenario-panel{border-top-color:#367dae}
body[data-hazard=flood] .scenario-description{background:#edf4fb}
body[data-hazard=flood] .scenario-symbol{color:#367dae}
.hazard-context{padding:15px 18px;background:#fff9ed;border-top:1px solid #e6d7b5;font-size:14px;line-height:1.9}
.hazard-context.flood{background:#edf4fb;border-color:#c7daeb}
.hazard-context p{margin:5px 0 8px;font-size:13px;line-height:1.9}
.hazard-context b{font-size:14px}
.official-reference{margin-top:14px}
.official-reference summary{cursor:pointer;min-height:44px;padding:7px 0;font-weight:700}
.official-reference img{display:block;width:100%;height:auto;margin:10px 0;border:1px solid var(--line);border-radius:6px;background:#fff}
.legend-hazard.flood{background:repeating-linear-gradient(135deg,#6a9ed94a,#6a9ed94a 3px,transparent 3px,transparent 7px);border-color:#5a8db9}
.legend-flood-road{display:inline-block;width:24px;border-top:3px solid #367dae;margin-right:6px;vertical-align:middle}
.flood-stage-panel{background:#edf4fb;border:1px solid #c7daeb;border-radius:12px;padding:17px 16px;margin:0 0 22px}
.flood-stage-panel .field{margin-bottom:10px}
.flood-stage-panel .field-help:last-child{margin-bottom:0}
.designation-note{font-size:14px;line-height:1.9;margin:12px 0 0;padding-top:10px;border-top:1px solid #d2d9ca}
.disaster-comparison{margin:25px 0}
.disaster-comparison .table-wrap{margin-top:13px}
@media(max-width:700px){.scenario-panel{padding:18px 16px;margin-bottom:22px}.scenario-heading{gap:5px;flex-direction:column}.scenario-heading h2{font-size:20px}.scenario-fields{grid-template-columns:1fr;gap:0}.scenario-description{padding:13px 12px;gap:10px}.scenario-description b{font-size:15px}.scenario-symbol{width:32px;height:36px}.scenario-symbol svg{width:23px;height:23px}.scenario-fields select{font-size:16px;max-width:100%}.hazard-context{padding:14px}.flood-stage-panel{padding:15px 13px}}
@media print{.scenario-panel{box-shadow:none;border:1px solid #aaa;background:white;padding:12px}.scenario-description{background:white}.scenario-status{display:none}.scenario-fields select{border:0;padding:0}.official-reference{display:none}.hazard-context{background:white}}
