:root{font-family:system-ui,-apple-system,"Noto Sans JP",sans-serif;font-size:18px;color:#223e3a;background:#f7f9f6;line-height:1.75;--green:#266c5d;--border:#c4d1ca;--muted:#4d645d}*{box-sizing:border-box}body{margin:0}a{color:#205e51;text-underline-offset:.2em}button,input,select,textarea{font:inherit;min-width:0;max-width:100%}button,input,select{min-height:48px;border-radius:6px;border:1px solid #849d92}input,select,textarea{width:100%;padding:.55rem .7rem;background:white;color:#223e3a}button{padding:.55rem 1rem;background:var(--green);color:white;cursor:pointer;white-space:normal;line-height:1.5}button.secondary{background:#fff;color:#224f43}button:disabled{background:#e4e9e4;color:#52635b;border-color:#afbeb5;cursor:not-allowed}button:hover:not(:disabled){filter:brightness(.94)}:focus-visible{outline:3px solid #9d5700;outline-offset:3px}header,main,footer,.preview{width:min(1160px,calc(100% - 48px));margin-inline:auto}header{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.5rem 0;border-bottom:1px solid var(--border)}nav{display:flex;flex-wrap:wrap;gap:.7rem 1.4rem}.brand{font-weight:750;font-size:1.3rem;text-decoration:none}.brand small{display:block;font-size:.8rem;font-weight:500}.preview{font-size:.9rem;color:#674d24;background:#faf3e4;border:1px solid #d7c9ae;padding:.65rem 1rem;border-radius:6px;margin-top:1rem}.hero{padding:2.2rem 0 1.2rem;max-width:960px}h1{font-size:clamp(1.8rem,4vw,2.6rem);line-height:1.45;letter-spacing:-.015em}h2{font-size:1.4rem;line-height:1.55;margin-top:0}h3{font-size:1.12rem;line-height:1.55}.lead{font-size:1.25rem}.eyebrow{letter-spacing:.1em;font-size:.8rem;color:#4e7668}.panel{border:1px solid var(--border);border-radius:10px;background:#fff;padding:1.6rem;margin-block:1.3rem;min-width:0}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0}.fields>div{min-width:0}label{display:block;font-weight:650;margin-bottom:.35rem}.actions{display:flex;gap:.7rem;flex-wrap:wrap;margin:1rem 0}.actions>*{flex:0 1 auto}fieldset{border:0;padding:0;min-width:0}fieldset.cohort{border:1px solid var(--border);padding:1rem;border-radius:8px;margin:1.5rem 0}legend{font-weight:700;padding:0 .3rem}.hint{font-size:.92rem;color:var(--muted);margin:.3rem 0}.notice{background:#f0f5f1;border:1px solid var(--border);padding:1rem;border-radius:6px}.examples{border-top:1px solid var(--border);padding-top:1rem;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.7rem}.examples label{grid-column:1/-1}.table-scroll{overflow-x:auto;overscroll-behavior-x:contain;max-width:100%;margin:1rem 0;border:1px solid var(--border);border-radius:5px;scrollbar-gutter:stable}.scroll-cue{font-size:.92rem;color:var(--muted)}table{border-collapse:separate;border-spacing:0;min-width:780px;width:100%;font-variant-numeric:tabular-nums}caption{text-align:left;font-weight:650;padding:.8rem;background:#f4f7f3}th,td{text-align:right;padding:.7rem;border-bottom:1px solid #d5dfd8;vertical-align:top;min-width:7rem}th:first-child{text-align:left;min-width:10rem;max-width:12rem}thead th{background:#e7eee7;font-weight:650}tbody tr:nth-child(even)>*{background:#f3f6f1}tbody tr:nth-child(odd)>*{background:#fff}tr>:first-child{position:sticky;left:0;z-index:1;border-right:1px solid #c4d1ca}thead tr>:first-child{z-index:2}td:last-child{overflow-wrap:anywhere}#chart{max-width:700px;margin-block:1.5rem;overflow-x:auto;overscroll-behavior-x:contain}#chart svg{min-width:600px}svg{display:block;width:100%;height:auto}svg text{font:18px system-ui;fill:#223e3a}#result-meta{font-size:.95rem;border-bottom:1px solid var(--border);padding-bottom:.7rem;margin-bottom:1rem}#sources p{overflow-wrap:anywhere}#movement-section,#result-method-section,#source-section,.exports{border-top:1px solid var(--border);padding-top:1.4rem;margin-top:1.4rem}.exports>select{max-width:600px}#copy-fallback-box,#share-box{margin-top:1rem}textarea{border:1px solid #849d92;border-radius:5px;overflow-wrap:anywhere}#error{border:1px solid #a53f31;color:#862b20;background:#fff1ed;padding:1rem;border-radius:6px}[aria-invalid=true]{border:2px solid #a53f31}.storage{background:#f1f5ef}.reading{max-width:850px;padding:2rem 0}.reading section,.reading h2{margin-top:2rem}.catalog{padding-left:1.5rem}.catalog li{padding:1rem 0;border-bottom:1px solid var(--border)}.catalog p{font-size:.93rem}footer{border-top:1px solid var(--border);padding:2rem 0;margin-top:2.5rem;color:var(--muted);font-size:.94rem}#print-sheet{display:none}.skip{position:absolute;left:-10000px;top:0;background:white;padding:1rem;z-index:9}.skip:focus{left:1rem}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}[hidden]{display:none!important}p,li{overflow-wrap:anywhere}@media(max-width:720px){header,main,footer,.preview{width:calc(100% - 28px)}header{align-items:flex-start;flex-direction:column;padding:1rem 0}nav{gap:.7rem 1rem;font-size:1rem}.hero{padding-top:1.2rem}.panel{padding:1rem}.fields{grid-template-columns:1fr}.actions{display:grid;grid-template-columns:1fr}.actions>*{width:100%}.examples{grid-template-columns:1fr}.examples label{grid-column:auto}.lead{font-size:1.1rem}h1{font-size:1.85rem}th:first-child{min-width:8rem;max-width:9rem}.preview{font-size:1rem}fieldset.cohort{padding:.7rem}}@media print{@page{size:A4 landscape;margin:12mm}body{background:white;font-size:11pt;color:black}header,main,footer,.preview,.skip{display:none!important}body.printing #print-sheet{display:block}#print-sheet p{font-size:10pt;margin:.45em 0}#print-sheet h1{font-size:19pt}#print-sheet table{min-width:0;width:100%;table-layout:auto;font-size:9pt}#print-sheet th,#print-sheet td{position:static;min-width:0;max-width:none;padding:.35em;overflow-wrap:anywhere}#print-sheet th:first-child{min-width:70px}thead{display:table-header-group}tr{break-inside:avoid}#print-sheet pre{white-space:pre-wrap;font:11pt system-ui;overflow-wrap:anywhere}#print-sheet svg{max-width:150mm;height:45mm;break-inside:avoid}a{color:black;text-decoration:none}}

.family-guide .chart-scroll{overflow-x:auto}.family-guide svg{display:block;min-width:540px;max-width:100%;height:auto}.family-guide details{margin:1rem 0}.family-guide summary{cursor:pointer;font-weight:700;padding:12px 0}.family-guide .readout{font-weight:600}

.indicator-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:12px}.indicator-link{display:block;padding:18px;border:1px solid #b8cbc4;border-radius:12px;text-decoration:none;min-height:100px}.indicator-link strong,.indicator-link span{display:block}.indicator-link span{margin-top:8px;font-size:16px;color:#405c55}.indicator-link:hover,.indicator-link:focus-visible{background:#edf6f1;outline:2px solid #266c5d;outline-offset:2px}

#comparison-table .station-notes{min-width:18rem;max-width:26rem;text-align:left}.station-notes summary{cursor:pointer;font-size:.95rem}.station-notes p{white-space:normal}

.climate-workspace{border-top:5px solid var(--green)}.climate-workspace .notice{font-size:.95rem}.climate-chart{overflow-x:auto;overscroll-behavior-x:contain;border:1px solid var(--border);border-radius:5px;margin:1rem 0}.climate-chart svg{width:720px;min-width:720px;max-width:none}.climate-series{border-top:1px solid var(--border);margin-top:1.8rem;padding-top:1.2rem}#climate-result{scroll-margin-top:1rem}#climate-result th:first-child{min-width:8rem;max-width:10rem}#climate-result p{overflow-wrap:anywhere}
