@import "https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Noto+Serif+JP:wght@400;500;600;700&family=Zen+Kaku+Gothic+New:wght@400;500;600;700&display=swap";:root{color:#252a27;font-synthesis:none;text-rendering:optimizelegibility;--paper:#f4f2ec;--card:#fbfaf7;--ink:#252a27;--muted:#777d75;--line:#deded5;--accent:#176b62;--soft:#e9e8df;--shadow:0 20px 55px #24312b12;background:#f4f2ec;font-family:Zen Kaku Gothic New,sans-serif;font-weight:400}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--paper);min-width:320px;margin:0}.app{max-width:1440px;min-height:100vh;color:var(--ink);margin:0 auto;padding:0 7.2%;transition:background .25s,color .25s}.dark{--paper:#181f1d;--card:#222a27;--ink:#e8e8df;--muted:#a3aaa1;--line:#39433e;--soft:#2d3732;--accent:#85bdb0;--shadow:0 20px 55px #0003}button,a{font:inherit;color:inherit}.topbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:84px;display:flex}.brand{letter-spacing:.04em;align-items:center;gap:12px;font-size:14px;font-weight:600;text-decoration:none;display:flex}.brand-mark{background:var(--ink);width:30px;height:30px;color:var(--paper);border-radius:50%;place-items:center;font-family:Noto Serif JP,serif;font-size:13px;display:grid}.top-actions{align-items:center;gap:8px;display:flex}.nav-button,.theme-button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;gap:7px;padding:9px 13px;font-size:13px;display:flex}.nav-button.active{color:var(--ink);background:var(--soft)}.theme-button{border:1px solid var(--line);width:38px;height:38px;margin-left:6px;padding:0}.intro{border-bottom:1px solid var(--line);grid-template-columns:1fr auto;align-items:end;gap:20px;padding:67px 0 57px;display:grid}.eyeline,.section-kicker{text-transform:none;color:var(--muted);letter-spacing:.08em;align-items:center;gap:9px;font-family:DM Mono,monospace;font-size:11px;display:flex}.eyeline-dot{background:#e16c46;border-radius:50%;width:7px;height:7px}.intro h1{letter-spacing:-.055em;margin:18px 0 16px;font-family:Noto Serif JP,serif;font-size:clamp(40px,6.3vw,78px);font-weight:500;line-height:1.27}.intro h1 em{color:var(--accent);font-style:normal}.intro-copy>p{color:var(--muted);margin:0;font-size:15px;line-height:1.8}.population-stamp{border-left:1px solid var(--line);flex-direction:column;gap:7px;min-width:220px;padding:0 0 4px 28px;display:flex}.population-stamp span,.population-stamp small{color:var(--muted);font-size:12px}.population-stamp strong{letter-spacing:-.04em;white-space:nowrap;font-family:Noto Serif JP,serif;font-size:29px;font-weight:500}.explorer{border-bottom:1px solid var(--line);padding:40px 0 35px}.explorer-head{justify-content:space-between;align-items:end;margin-bottom:22px;display:flex}.explorer h2,.detail-top h2,.list-heading h2{letter-spacing:-.04em;margin:7px 0 0;font-family:Noto Serif JP,serif;font-size:25px;font-weight:500}.count-pill,.measure-tag{border:1px solid var(--line);color:var(--muted);white-space:nowrap;border-radius:999px;padding:6px 10px;font-family:DM Mono,monospace;font-size:10px}.picker-groups{gap:15px;display:grid}.picker-group{grid-template-columns:78px 1fr;align-items:start;gap:12px;display:grid}.group-name{color:var(--muted);padding-top:8px;font-size:12px}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{border:1px solid var(--line);color:var(--muted);cursor:pointer;background:0 0;border-radius:999px;padding:7px 13px;font-size:12px;transition:all .2s}.chip:hover{border-color:var(--accent);color:var(--ink)}.chip.selected{background:var(--ink);color:var(--paper);border-color:var(--ink)}.detail-panel{background:var(--card);box-shadow:var(--shadow);border-radius:10px;margin:38px 0 0;padding:34px 38px 25px;animation:.45s both appear}.detail-top{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding-bottom:26px;display:flex}.detail-top h2{font-size:27px}.measure-tag{color:var(--accent);border-color:color-mix(in srgb,var(--accent) 35%,transparent)}.measure-tag.overlap{color:#c06c47;border-color:#c06c4760}.visual-layout{grid-template-columns:minmax(300px,1fr) minmax(285px,.92fr);align-items:center;gap:35px;padding:28px 0 27px;display:grid}.dot-visual{flex-direction:column;align-items:center;display:flex}.viz-title{color:var(--muted);text-align:center;margin-bottom:14px;font-size:11px}.dot-svg{width:min(100%,326px);height:auto;overflow:visible}.person-dot{transition:fill .5s;animation:.35s both dot-in}.dot-caption{width:min(100%,326px);color:var(--muted);justify-content:space-between;margin-top:9px;font:10px DM Mono,monospace;display:flex}.legend{grid-template-columns:1fr;gap:0;max-height:350px;display:grid;overflow:auto}.legend-row{border-bottom:1px solid var(--line);grid-template-columns:12px 1fr auto 48px;align-items:center;gap:10px;padding:9px 0;font-size:12px;display:grid}.legend-swatch{background:var(--swatch);border-radius:3px;width:9px;height:9px}.legend-label{min-width:0}.legend-value{color:var(--muted);text-align:right;white-space:nowrap;font-family:DM Mono,monospace;font-size:11px}.legend-share{text-align:right;font-family:DM Mono,monospace;font-size:11px}.source-row{border-top:1px solid var(--line);border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:15px 0;display:flex}.source-icon{background:var(--soft);width:31px;height:31px;color:var(--accent);border-radius:50%;flex:none;place-items:center;display:grid}.source-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.source-text strong{font-size:12px;font-weight:500;line-height:1.55}.source-text span{color:var(--muted);font-size:10px}.source-row>a{color:var(--muted);padding:7px}.notes{color:var(--muted);padding-top:12px;font-size:11px;line-height:1.7}.notes p{margin:4px 0}.notes details{margin-top:8px}.notes summary{cursor:pointer;color:var(--ink)}.notes details p{margin-top:7px}.next-cuts{padding:40px 0 70px}.next-heading{justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.next-heading h2{font-family:Noto Serif JP,serif;font-size:21px;font-weight:500}.next-heading button{color:var(--muted);cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;font-size:12px;display:flex}.cut-cards{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.cut-card{border:1px solid var(--line);text-align:left;cursor:pointer;background:0 0;border-radius:6px;justify-content:space-between;align-items:center;height:100px;padding:15px;font-size:13px;transition:all .2s;display:flex}.cut-card:hover{background:var(--card);transform:translateY(-2px)}.cut-card-no{color:var(--muted);align-self:flex-start;font:10px DM Mono,monospace}.cut-card svg{color:var(--accent)}.bars-visual{align-self:stretch;padding:7px 8px}.bar-row{margin:0 0 15px}.bar-label{justify-content:space-between;gap:12px;margin-bottom:6px;font-size:12px;display:flex}.bar-label b{color:var(--muted);font:11px DM Mono,monospace}.bar-track{background:var(--soft);border-radius:99px;height:8px;overflow:hidden}.bar-track span{border-radius:99px;height:100%;transition:width .5s;display:block}.bar-row small{color:var(--muted);margin-top:4px;font-size:10px;display:block}.pref-map-wrap{min-width:0}.pref-map{grid-template-rows:repeat(16,31px);grid-template-columns:repeat(16,minmax(24px,1fr));gap:3px;max-width:560px;display:grid}.pref-tile{background:color-mix(in srgb,#176b62 calc(var(--heat)*100%),var(--soft));color:var(--ink);border-radius:3px;flex-direction:column;justify-content:center;align-items:center;line-height:1.1;display:flex;overflow:hidden}.dark .pref-tile{background:color-mix(in srgb,#4d9c8b calc(var(--heat)*100%),#34403a)}.pref-tile span{font-size:9px}.pref-tile small{opacity:.75;margin-top:2px;font:8px DM Mono,monospace}.heat-key{color:var(--muted);align-items:center;gap:5px;margin-top:11px;font-size:9px;display:flex}.heat-key i{opacity:.2;background:#176b62;border-radius:2px;width:13px;height:7px}.heat-key i:nth-of-type(2){opacity:.4}.heat-key i:nth-of-type(3){opacity:.6}.heat-key i:nth-of-type(4){opacity:.8}.heat-key i:nth-of-type(5){opacity:1}.list-view{padding:42px 0 70px}.list-heading{justify-content:space-between;align-items:end;margin-bottom:25px;display:flex}.list-heading h2{font-size:30px}.list-heading>p{color:var(--muted);font-size:12px}.list-table{border-top:1px solid var(--line)}.list-row{border:0;border-bottom:1px solid var(--line);text-align:left;cursor:pointer;background:0 0;grid-template-columns:42px minmax(170px,1fr) 2fr 20px;align-items:center;gap:12px;width:100%;padding:14px 4px;display:grid}.list-row:hover{background:color-mix(in srgb,var(--card) 65%,transparent)}.list-index{color:var(--muted);font:10px DM Mono,monospace}.list-name{font-size:13px}.list-name small{color:var(--muted);margin-top:3px;font-size:10px;display:block}.list-summary{flex-wrap:wrap;gap:6px 14px;display:flex}.list-summary>span{color:var(--muted);white-space:nowrap;font-size:10px}.list-summary i{border-radius:50%;width:7px;height:7px;margin-right:5px;display:inline-block}.list-summary b{color:var(--ink);font-weight:500}.list-row>svg{color:var(--muted)}.list-footnote{color:var(--muted);margin-top:20px;font-size:11px}footer{border-top:1px solid var(--line);height:74px;color:var(--muted);justify-content:space-between;align-items:center;font-size:10px;display:flex}@keyframes appear{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes dot-in{0%{opacity:.2}to{opacity:1}}.pref-layout .legend{grid-template-columns:1fr 1fr;max-height:none}.bars-layout{grid-template-columns:1fr}.bar-group h3{color:var(--muted);margin:10px 0 12px;font:11px DM Mono,monospace}.bar-group+.bar-group{margin-top:24px}@media (width<=800px){.app{padding:0 5%}.intro{padding:48px 0 42px}.intro h1{font-size:56px}.population-stamp{min-width:180px;padding-left:19px}.population-stamp strong{font-size:24px}.visual-layout{grid-template-columns:1fr;gap:23px}.dot-svg{width:min(80vw,310px)}.legend{grid-template-columns:1fr 1fr;column-gap:22px}.pref-map{grid-template-rows:repeat(16,29px)}.cut-cards{grid-template-columns:repeat(2,1fr)}.detail-panel{padding:28px 26px 22px}}@media (width<=520px){.pref-layout .legend{grid-template-columns:1fr}.app{padding:0 20px}.topbar{height:66px}.brand{gap:8px;font-size:12px}.brand-mark{width:27px;height:27px}.top-actions{gap:0}.nav-button{padding:8px 9px;font-size:11px}.nav-button svg{width:14px}.theme-button{width:32px;height:32px;margin-left:4px}.intro{padding:37px 0 30px;display:block}.intro h1{margin:15px 0 11px;font-size:46px}.intro-copy>p{font-size:12px}.population-stamp{border-left:0;border-top:1px solid var(--line);grid-template-columns:1fr auto;align-items:center;gap:0;margin-top:19px;padding:22px 0 0;display:grid}.population-stamp span{grid-area:1/1}.population-stamp strong{grid-area:2/1;font-size:22px}.population-stamp small{grid-area:2/2}.explorer{padding:29px 0 25px}.explorer-head{margin-bottom:16px}.explorer h2,.detail-top h2{font-size:21px}.picker-groups{gap:13px}.picker-group{grid-template-columns:52px 1fr;gap:6px}.group-name{padding-top:8px;font-size:11px}.chips{gap:6px}.chip{padding:6px 10px;font-size:10px}.detail-panel{margin-top:23px;padding:22px 17px 16px}.detail-top{align-items:flex-start;gap:8px;padding-bottom:17px}.detail-top h2{font-size:20px}.section-kicker{font-size:9px}.measure-tag{padding:5px 8px;font-size:9px}.visual-layout{gap:17px;padding:21px 0}.dot-svg{width:min(76vw,280px)}.dot-caption{width:100%;font-size:9px}.legend{grid-template-columns:1fr;max-height:300px}.legend-row{gap:8px;padding:8px 0;font-size:11px}.legend-value,.legend-share{font-size:10px}.source-row{gap:9px}.source-text strong{font-size:10px}.source-text span{font-size:9px}.notes{font-size:10px}.pref-map{grid-template-rows:repeat(16,20px);grid-template-columns:repeat(16,minmax(12px,1fr));gap:2px}.pref-tile{border-radius:2px}.pref-tile span{font-size:6px}.pref-tile small{font-size:5px}.viz-title{font-size:10px}.bars-visual{padding:3px 0}.bar-row{margin-bottom:13px}.bar-label{font-size:11px}.bar-label b{font-size:10px}.cut-cards{gap:7px}.cut-card{height:78px;padding:10px;font-size:11px}.next-cuts{padding:30px 0 45px}.next-heading h2{font-size:18px}.list-view{padding:31px 0 50px}.list-heading{display:block}.list-heading h2{font-size:24px}.list-heading>p{margin:8px 0 0;font-size:11px}.list-row{grid-template-columns:27px 1fr 17px;gap:8px;padding:12px 1px}.list-summary{grid-area:2/2;gap:5px 10px}.list-row>svg{grid-area:1/3}.list-name{font-size:12px}.list-summary>span{font-size:9px}.list-footnote{font-size:10px;line-height:1.7}footer{height:60px;font-size:9px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
