/* finesse · register=product · shell=paired-climate-maps · palette=paper+textbook-colors · type=NotoSerif900+WenKai400 · engine=SVG-linked-state · material=flat-atlas */


:root{--paper:#f4f2eb;--surface:#fcfbf7;--ink:#293e38;--green:#294a43;--muted:#5d6b61;--line:#ccd3c9;--soft:#e6ece3;--accent:#a75029;--water:#d8e9eb;--rain:#478ca9;--title:28px;--heading:29px;--body:22px;--control:20px;--note:16px;--r:9px;--focus:#ad622e}
*{box-sizing:border-box}html,body{margin:0;overflow-x:clip;background:var(--paper);color:var(--ink)}body{font-family:GeoWenKai,serif;font-size:var(--body);line-height:1.5;font-synthesis:none}button,input,select{font:inherit}button{font-size:var(--control);color:var(--green);border:1px solid var(--line);border-radius:6px;background:var(--surface);padding:6px 12px;line-height:1.3;cursor:pointer;white-space:nowrap;min-height:39px}button:hover{background:var(--soft)}button[aria-pressed=true]{background:var(--green);color:var(--surface);border-color:var(--green)}button:focus-visible,input:focus-visible,summary:focus-visible,[role=button]:focus-visible{outline:3px solid var(--focus);outline-offset:3px}button:disabled{opacity:.55;cursor:default}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:GeoSerif,serif;font-weight:900;line-height:1.35;text-wrap:balance}h1{font-size:var(--title);letter-spacing:.02em}h2{font-size:var(--heading)}h3{font-size:var(--body)}[hidden]{display:none!important}.app-shell{max-width:2160px;margin:0 auto;padding:6px 26px 10px}.page-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:0;margin-bottom:8px}.compact-heading{display:flex;flex-direction:column;align-items:flex-start;gap:1px;min-width:0}.compact-heading .course{font-size:16px;line-height:1.25;margin:0}.compact-heading h1{line-height:1.3}.course{font-size:var(--note);color:var(--muted);margin-bottom:2px}.brand-anchor{width:235px;flex:0 0 235px;max-width:100%;margin-left:auto;text-align:right}.brand-logo svg{display:block;width:100%;height:auto}.brand-logo .brand{font-family:GeoSerif,serif;font-weight:900;font-synthesis:none}.teaching-thought{display:none;font:400 18px/1.2 GeoWenKai,serif}.toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:18px;padding:0 0 8px;border-top:1px solid var(--line)}.layer-controls,.season-controls,.utilities{display:flex;gap:7px;align-items:center}.layer-controls{flex-wrap:wrap}.separator{height:24px;border-left:1px solid var(--line);margin:0 5px}.season-controls{gap:0;border:1px solid var(--line);border-radius:6px;overflow:hidden;flex-shrink:0}.season-controls button{border:0;border-radius:0;min-width:61px}.utilities{margin-left:auto}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);min-width:0}.observation{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(330px,1fr);gap:14px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 18px 0}.map-tools{display:flex;align-items:center;gap:5px}.map-tools button{font-size:var(--note);min-height:32px;padding:4px 8px}.map-and-legend{display:grid;grid-template-columns:minmax(0,1fr) 165px;align-items:center;gap:9px;padding:6px 16px 4px 8px;min-height:440px}.map-stage{position:relative;min-width:0;width:100%;aspect-ratio:467.72/287.58;align-self:center;touch-action:pan-y}#worldMap{display:block;width:100%;height:100%;overflow:hidden;touch-action:none}.climate-region{cursor:pointer;transition:fill-opacity .16s ease}.climate-region.is-muted{fill-opacity:.22}.climate-region.is-selected{stroke:var(--green);stroke-width:.48;stroke-linejoin:round;paint-order:stroke fill}.water-region{pointer-events:all}.coast-path{stroke:#96b2b4;stroke-width:.18;pointer-events:none}.city-point{cursor:pointer;outline:none}.city-point circle{fill:var(--surface);stroke:var(--green);stroke-width:.6}.city-point.selected circle{fill:var(--accent);stroke:var(--surface);stroke-width:1}.city-point text{font-family:GeoWenKai,serif;font-size:8.8px;fill:var(--ink);stroke:var(--surface);stroke-width:2.5;paint-order:stroke;stroke-linejoin:round;pointer-events:none}.city-point.selected text{fill:var(--accent)}.city-point:focus-visible circle{stroke:var(--focus);stroke-width:1.5}.map-tip{position:absolute;padding:5px 11px;font-size:18px;background:var(--surface);border:1px solid var(--line);border-radius:5px;box-shadow:0 3px 14px #294a431a;pointer-events:none;z-index:3;white-space:nowrap}.selected-city-tag{display:none}.climate-legend{display:flex;flex-direction:column;gap:2px}.climate-legend button{display:flex;align-items:center;gap:7px;text-align:left;border:0;background:none;padding:5px 2px;min-height:30px;white-space:normal;font-size:17px;line-height:1.22;border-radius:3px}.climate-legend button[aria-pressed=true]{color:var(--green);background:var(--soft);box-shadow:inset 3px 0 var(--green);padding-left:6px}.swatch{flex:0 0 20px;height:13px;display:inline-block;border:1px solid #293e3820}.map-caption{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:10px 18px;border-top:1px solid var(--line);font-size:var(--note);min-height:51px}.map-caption button{font-size:var(--note);border:0;background:none;padding:2px 0}.pattern-panel{display:flex;flex-direction:column}.small-note{font-size:var(--note);color:var(--muted)}#patternMap{width:100%;flex:1;min-height:0;max-height:510px;display:block;padding:7px 7px 0}.pattern-cell{cursor:pointer;stroke:var(--surface);stroke-width:1.5;transition:opacity .15s}.pattern-cell.is-muted{opacity:.25}.pattern-cell.is-selected{stroke:var(--green);stroke-width:2.5}.pattern-label{font-family:GeoWenKai,serif;font-size:16px;fill:var(--ink);pointer-events:none}.pattern-small{font-family:GeoWenKai,serif;font-size:13px;fill:var(--muted)}.pattern-caption{font-size:var(--note);padding:10px 16px;line-height:1.45;border-top:1px solid var(--line);min-height:51px}.layer-notes{margin-top:10px;padding:12px 16px;border-left:3px solid var(--accent);background:var(--soft);font-size:var(--control);line-height:1.6}.map-overlay{pointer-events:none}.map-overlay text{font-family:GeoWenKai,serif;font-size:8px;fill:var(--green);stroke:var(--surface);stroke-width:2;paint-order:stroke}.current-warm{stroke:#b4633d}.current-cold{stroke:#397b9d}.current-path{fill:none;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}.wind-arrow{stroke:var(--green);stroke-width:.85;fill:none}.monsoon-arrow{stroke-width:1.8;fill:none;stroke-linecap:round}.pressure-label{font-size:8px}.evidence-panel{display:grid;grid-template-columns:245px minmax(0,1.85fr) minmax(250px,.85fr);gap:22px;margin-top:14px;padding:18px 20px}.city-column,.chart-column,.explanation-column{min-width:0}.city-column{padding-right:20px;border-right:1px solid var(--line)}.search-wrap{position:relative;margin-top:12px;z-index:6}.search-field{display:flex;gap:6px;align-items:center;border:1px solid #93a69b;border-radius:6px;background:var(--surface);padding:4px 8px;min-height:45px}.search-field input{min-width:0;width:100%;border:0;background:transparent;font-size:20px;color:var(--ink);outline-offset:7px;padding:4px 0}.search-field input::-webkit-search-cancel-button{display:none}.search-field button{min-height:28px;border:0;padding:0 2px;background:none}.search-results{position:absolute;top:calc(100% + 5px);left:0;min-width:100%;width:340px;max-width:calc(100vw - 50px);background:var(--surface);border:1px solid var(--line);border-radius:7px;box-shadow:0 8px 25px #294a4326;max-height:360px;overflow-y:auto}.search-results button{border:0;border-radius:0;width:100%;padding:9px 12px;text-align:left;white-space:normal;border-bottom:1px solid var(--line);font-size:19px;display:flex;justify-content:space-between;align-items:center;gap:14px}.search-results button small{color:var(--muted);font-size:15px}.search-results .empty{font-size:18px;padding:12px}.search-help{font-size:var(--note);color:var(--muted);margin-top:6px;line-height:1.4}.city-identity{margin:12px 0 8px}.city-identity h3{font-size:27px}.city-identity p{font-size:var(--note);color:var(--muted)}.city-stats{font-size:18px;margin:7px 0}.city-stats div{display:flex;gap:7px;justify-content:space-between;padding:2px 0}.city-stats dt{color:var(--muted)}.city-stats dd{margin:0;font-variant-numeric:tabular-nums}.text-action{font-size:18px;background:var(--soft);margin-top:8px}.chart-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.chart-heading h2{font-size:25px}.chart-legend{display:flex;gap:15px;font-size:var(--note)}.chart-legend span{display:flex;align-items:center;gap:5px}.line-key{display:inline-block;width:22px;height:3px;background:var(--accent)}.bar-key{display:inline-block;width:16px;height:12px;background:var(--rain)}.climate-chart svg{width:100%;display:block;overflow:visible}.climate-chart{margin-top:8px}.chart-label{font-family:GeoWenKai,serif;font-size:17px;fill:var(--muted)}.chart-tick{font-family:GeoWenKai,serif;font-size:16px;fill:var(--muted)}.chart-grid{stroke:var(--line);stroke-width:.7}.chart-month-hit{fill:transparent;cursor:crosshair}.month-readout{min-height:29px;font-size:18px;color:var(--muted);text-align:center}.comparison-chips{display:flex;flex-wrap:wrap;gap:7px;font-size:var(--note)}.comparison-chips button{font-size:var(--note);min-height:30px;padding:3px 8px}.monthly-table{font-size:var(--note);margin-top:5px}.monthly-table summary{cursor:pointer;color:var(--green);padding:5px 0}.monthly-table table{border-collapse:collapse;width:100%;font-size:16px}.monthly-table td,.monthly-table th{padding:4px 5px;text-align:right;border-bottom:1px solid var(--line);font-weight:400}.monthly-table p{line-height:1.5;margin-top:7px}.explanation-column{border-left:1px solid var(--line);padding-left:20px;font-size:20px}.selection-kicker{font-size:var(--note);color:var(--muted);margin-bottom:4px}.explanation-column h2{font-size:27px}.explanation-column h3{font-family:GeoWenKai,serif;font-weight:400;color:var(--muted);font-size:18px;margin-top:10px}.feature{margin-top:8px}.location-note{font-size:var(--note);color:var(--muted);margin-top:10px}footer{display:flex;justify-content:space-between;gap:14px;align-items:center;padding-top:12px;font-size:var(--note);color:var(--muted)}footer>div{display:flex;gap:14px;align-items:center}.footer-link{font-size:var(--note);padding:0;background:none;border:0;min-height:25px}.brand-watermark,.teaching-method{text-align:right}.teaching-method{display:none}html[data-brand=hidden] .brand-logo,html[data-brand=hidden] .brand-watermark{display:none}html[data-brand=hidden] .teaching-thought,html[data-brand=hidden] .teaching-method{display:block}.observation.no-pattern{grid-template-columns:1fr}.observation.no-pattern .world-panel .map-and-legend{max-width:1500px;margin:0 auto}.classroom .utilities #brandToggle{display:none}.classroom .evidence-panel{display:none}.classroom .observation{height:calc(100vh - 207px);min-height:470px}.classroom .map-and-legend{flex:1;min-height:0}.classroom .world-panel{display:flex;flex-direction:column}.classroom .map-stage{max-height:100%}.classroom .layer-notes{font-size:var(--note)}dialog{width:min(1440px,94vw);max-height:90vh;border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:24px;border-radius:12px}dialog::backdrop{background:#18372e77}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.dialog-intro{margin:14px 0 22px;font-size:20px}.climate-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.catalog-item{padding-bottom:18px;border-bottom:1px solid var(--line);min-width:0}.catalog-item button{border:0;display:flex;gap:9px;align-items:center;padding:2px;background:none;white-space:normal;text-align:left}.catalog-item h3{font-size:22px}.catalog-item p{font-size:var(--note);margin-top:4px}.catalog-item svg{width:100%;display:block}.catalog-item .chart-label,.catalog-item .chart-tick{font-size:19px}#sourcesDialog{max-width:900px}#sourceDetails{font-size:20px;line-height:1.8}#sourceDetails h3{margin-top:24px}#sourceDetails p{margin-top:8px}a{color:var(--green);text-underline-offset:3px}.toast{position:fixed;bottom:32px;left:50%;transform:translateX(-50%);background:var(--green);color:var(--surface);padding:10px 20px;border-radius:7px;z-index:20;font-size:20px;max-width:90vw}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1700px){:root{--title:30px}.app-shell{padding-top:8px}.brand-anchor{width:255px;flex-basis:255px}.map-and-legend{min-height:510px;grid-template-columns:minmax(0,1fr) 195px}.climate-legend button{font-size:20px;min-height:35px}.map-caption,.pattern-caption{font-size:18px}.evidence-panel{grid-template-columns:280px minmax(0,1.85fr) minmax(310px,.85fr)}.chart-heading h2{font-size:29px}.explanation-column{font-size:22px}.city-stats{font-size:20px}.search-help{font-size:17px}}
@media(max-width:1300px){:root{--title:28px;--heading:27px;--control:18px}.app-shell{padding:6px 18px 10px}.toolbar{gap:10px;flex-wrap:wrap}.utilities{gap:5px}.observation{grid-template-columns:minmax(0,1.9fr) minmax(325px,1fr)}.map-and-legend{grid-template-columns:minmax(0,1fr) 139px;min-height:405px;padding-right:8px}.climate-legend button{font-size:16px}.swatch{flex-basis:17px}.evidence-panel{grid-template-columns:210px minmax(0,1fr) 260px;gap:15px;padding:15px}.city-column{padding-right:12px}.explanation-column{padding-left:15px}.chart-heading h2{font-size:23px}.pattern-caption{font-size:15px}}
@media(max-width:1050px){.observation{grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr)}.map-and-legend{display:flex;flex-direction:column;min-height:0;padding:12px}.climate-legend{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin-top:8px}.climate-legend button{font-size:15px}.evidence-panel{grid-template-columns:220px minmax(0,1fr)}.explanation-column{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);padding:16px 0 0}.utilities{margin-left:0}.classroom .observation{height:auto}.map-tools #allTypes{display:none}footer{flex-wrap:wrap}}
@media(max-width:760px){:root{--title:26px;--heading:25px;--body:19px;--control:18px;--note:16px}.app-shell{padding:7px 12px 13px}.page-header{flex-wrap:wrap;gap:4px}.brand-anchor{width:220px;flex-basis:220px}.toolbar{gap:8px;padding:0 0 8px}.layer-controls{gap:6px;width:100%}.layer-controls button{padding:6px 9px;flex:1}.layer-controls .separator{display:none}.season-controls button{min-width:54px}.utilities{margin-left:auto;gap:5px}.utilities button{font-size:16px;padding:6px 8px}.observation{display:flex;flex-direction:column;gap:12px}.panel-heading{padding:13px 13px 0}.map-and-legend{padding:12px 9px 7px}.map-stage{touch-action:pan-y}.city-point text{display:none}.city-point circle{r:2.4;stroke-width:1}.selected-city-tag{display:block;position:absolute;left:8px;bottom:6px;background:var(--surface);padding:1px 6px;border-radius:3px;font-size:15px;pointer-events:none}.climate-legend{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:10px}.climate-legend button{font-size:16px;padding:4px 1px;min-height:35px}.swatch{flex-basis:15px;height:12px}.map-caption{font-size:15px;padding:9px 12px;align-items:flex-start}.map-caption>span{max-width:75%}.map-caption button{font-size:15px}.map-tools button{font-size:15px;min-height:30px}#patternMap{height:auto;max-height:470px;min-height:370px;padding:8px 10px 0}.pattern-caption{font-size:16px}.evidence-panel{display:flex;flex-direction:column;gap:16px;padding:16px;margin-top:12px}.city-column{border-right:0;padding-right:0}.city-identity{display:inline-block;vertical-align:top;width:50%;margin:12px 0 0}.city-stats{display:inline-block;width:48%;vertical-align:top;font-size:17px;margin:12px 0 0}.city-identity h3{font-size:26px}.city-identity p{font-size:15px}.search-field input{font-size:19px}.search-results{width:100%}.text-action{font-size:17px;margin-top:10px}.search-help{font-size:15px}.chart-column{border-top:1px solid var(--line);padding-top:14px}.chart-heading h2{font-size:22px}.chart-legend{font-size:15px;gap:10px}.chart-heading{gap:8px}.chart-label,.chart-tick{font-size:23px}.month-readout{font-size:17px;min-height:26px}.climate-chart{margin-top:12px}.explanation-column{font-size:19px}.explanation-column h2{font-size:25px}.location-note{font-size:16px}.layer-notes{font-size:18px;line-height:1.5}footer{font-size:14px;gap:8px;justify-content:flex-end}footer>div{width:100%;justify-content:space-between;gap:8px}.footer-link{font-size:15px}.brand-watermark{font-size:14px}.classroom .observation{height:auto;min-height:0}.classroom .evidence-panel{display:none}.classroom .utilities #brandToggle{display:inline-block}dialog{width:96vw;padding:17px;max-height:94vh}.climate-catalog{grid-template-columns:1fr;gap:20px}.dialog-intro{font-size:18px}.monthly-table table{font-size:15px}.monthly-table{font-size:16px}#sourceDetails{font-size:18px}.toast{font-size:18px;bottom:20px}}
@media(max-width:380px){.layer-controls button{font-size:16px;padding:5px 7px}.utilities button{font-size:14px}.season-controls button{min-width:45px}.climate-legend{grid-template-columns:repeat(2,minmax(0,1fr))}.chart-label,.chart-tick{font-size:25px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Keep the city search within reach on classroom laptops. */
.brand-logo{line-height:0}
@media(min-width:761px){.map-and-legend{min-height:0;flex:1}.map-stage{height:clamp(300px,43vh,490px);aspect-ratio:auto}.world-panel{display:flex;flex-direction:column}#patternMap{height:clamp(310px,42vh,460px);flex:1;max-height:460px}.climate-chart svg{max-height:290px}.classroom .map-stage{height:100%;min-height:300px}.classroom #patternMap{height:100%;max-height:none}.classroom .map-and-legend{height:calc(100% - 100px)}}
@media(max-width:760px){.layer-controls{display:grid;grid-template-columns:repeat(3,1fr)}.climate-chart svg{overflow:hidden}.chart-tick{font-size:21px}.chart-label{font-size:21px}}

.city-search-top{flex:1 0 230px;max-width:360px;min-width:0;margin-left:auto}.city-search-top .search-wrap{margin-top:0}.city-search-top .search-results{width:100%}.city-point text{font-size:11.5px}.atlas-labels{pointer-events:none}.atlas-labels text{font-family:GeoWenKai,serif;font-size:8px;fill:#507e8a;opacity:.8}.pattern-label[font-size="14"]{font-size:14px}
@media(min-width:761px) and (max-width:1100px){.brand-anchor{width:230px;flex-basis:230px}}
@media(max-width:760px){.city-search-top{order:-1;flex-basis:100%;max-width:none;width:100%;margin:0}.city-search-top .search-results{max-height:310px}.atlas-labels text{font-size:10px}.chart-tick{font-size:20px}.chart-label{font-size:20px}}
