@import url("fonts/fonts.css");
:root{color-scheme:dark;--bg:#080f18;--panel:#0e1722;--line:#22303d;--text:#edf1ee;--muted:#92a4af;--green:#64d7bb;--coral:#f4ae89;--serif:'Instrument Serif',Georgia,serif;--sans:'DM Sans',Arial,sans-serif;font-family:var(--sans);font-size:16px;background:var(--bg);color:var(--text)}
*{box-sizing:border-box}body{margin:0}button,select,input{font:inherit}button,a,select,input{touch-action:manipulation}button{color:inherit;cursor:pointer;background:none;border:0}button:hover{color:var(--green)}button:disabled{opacity:.4;cursor:wait}button:focus-visible,a:focus-visible,select:focus-visible,canvas:focus-visible{outline:2px solid var(--green);outline-offset:4px}a{color:var(--green)}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5}button svg{vertical-align:middle}.masthead{height:88px;padding:0 36px;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:64px;background:var(--bg)}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--text);font-size:.77rem;line-height:1.3;letter-spacing:.13em;font-weight:650}.brand-mark{display:grid;grid-template-columns:9px 9px;gap:4px;transform:rotate(-12deg)}.brand-mark i{width:9px;height:9px;background:var(--green);border-radius:50%}.brand-mark i:last-child{opacity:.4}.edition{font-size:.75rem;letter-spacing:.12em;color:var(--muted)}.edition span{margin:0 16px;color:#40515e}.header-actions{margin-left:auto;display:flex;gap:24px;align-items:center;font-size:.875rem}.outline{border:1px solid #3d4b56;padding:10px 15px;border-radius:6px;display:flex;gap:8px;align-items:center}.outline svg{width:18px;height:18px}.workspace{display:grid;grid-template-columns:328px 1fr;min-height:570px;height:calc(100dvh - 284px);max-height:1000px}.sidebar{background:var(--panel);border-right:1px solid var(--line);padding:30px 28px 20px;display:flex;flex-direction:column;overflow-y:auto}.eyebrow{font-size:.69rem;font-weight:550;letter-spacing:.12em;color:var(--muted);margin:0 0 18px}.intro .eyebrow{font-size:.64rem;display:flex;gap:10px;align-items:center;white-space:nowrap}.tiny-line{display:inline-block;width:18px;height:1px;background:var(--green)}h1{font-family:var(--serif);font-size:3.9rem;font-weight:400;line-height:.98;letter-spacing:-.025em;margin:0}h1 em{color:var(--green);font-weight:400}.dek{font-size:.95rem;line-height:1.6;color:#bac6cd;margin:20px 0 24px}.population{padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.population>strong{display:block;font-size:2.05rem;letter-spacing:-.05em;font-weight:500;line-height:1.1}.population>span{display:block;color:var(--muted);font-size:.84rem;margin-top:5px}.small-totals{display:flex;gap:32px;margin-top:22px}.small-totals b{font-size:.95rem;font-weight:500;display:block;font-variant-numeric:tabular-nums}.small-totals span{font-size:.76rem;color:var(--muted);display:block;margin-top:3px}.controls-section{padding:22px 0}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}h2{font-size:.9rem;font-weight:500;margin:0}.text-button{font-size:.76rem;color:var(--muted);padding:0}.field-label{font-size:.76rem;display:block;color:var(--muted);margin-bottom:7px}.select-wrap{position:relative}.select-wrap:after{content:'';pointer-events:none;position:absolute;right:14px;top:calc(50% - 4px);width:6px;height:6px;border-right:1px solid var(--muted);border-bottom:1px solid var(--muted);transform:rotate(45deg)}select{appearance:none;background:#131f2c;border:1px solid #2a3946;border-radius:5px;padding:9px 30px 9px 11px;width:100%;color:#d8e0e3;font-size:.84rem;cursor:pointer}.legend{display:grid;grid-template-columns:1fr 1fr;gap:12px 8px;padding:18px 0 22px}.legend button{font-size:.8rem;display:flex;gap:8px;align-items:center;padding:0;white-space:nowrap;transition:opacity .15s}.legend button[aria-pressed=false]{opacity:.3}.dot{width:6px;height:6px;border-radius:50%;display:inline-block;flex-shrink:0;background:var(--green)}.dot.home{background:var(--green)}.dot.work{background:#edcc75}.dot.moving{background:var(--coral)}.filter-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.filter-row select{font-size:.77rem}.sidebar-note{margin-top:auto;display:flex;gap:11px;color:var(--muted);padding-top:14px;line-height:1.55;font-size:.73rem}.sidebar-note p{margin:0}.sidebar-note p span{color:#6f8795;font-size:.69rem}.note-symbol{font-size:1.4rem;color:var(--green);line-height:1.5}.map-panel{position:relative;overflow:hidden;background:radial-gradient(ellipse at 55% 50%,#101f2b 0%,#0a131e 65%,#080f18 100%);min-width:0}#map{display:block;width:100%;height:100%;cursor:grab;touch-action:none}#map.dragging{cursor:grabbing}.map-title{position:absolute;left:30px;top:30px;pointer-events:none}.map-tag{font-size:.64rem;letter-spacing:.14em;color:var(--green)}.map-title p{font-family:var(--serif);font-size:1.7rem;margin:8px 0;color:#ccd6da}.view-switch{display:flex;position:absolute;top:30px;right:28px;background:#101c28e8;border:1px solid #2a3b49;padding:4px;border-radius:6px;gap:2px}.view-switch button{font-size:.74rem;padding:7px 11px;color:var(--muted);border-radius:3px}.view-switch button.active{background:#2a3d49;color:#edf1ee}.snapshot{position:absolute;right:32px;top:112px;width:183px;pointer-events:none}.snapshot .eyebrow{margin-bottom:6px;font-size:.62rem}.clock{display:flex;align-items:baseline;gap:10px}.clock>span:first-child{font-size:3.65rem;font-variant-numeric:tabular-nums;letter-spacing:-.07em;line-height:1.1;font-weight:450}.clock-unit{font-size:.55rem;letter-spacing:.08em;color:var(--muted)}.snapshot-label{font-size:.64rem;color:#78909e;margin:6px 0 20px}.snapshot-stat{display:flex;justify-content:space-between;font-size:.74rem;margin-top:14px;gap:15px}.snapshot-stat>span{color:#9db0bc;display:flex;align-items:center;gap:7px}.snapshot-stat strong{font-weight:500;font-variant-numeric:tabular-nums}.map-tools{position:absolute;right:28px;bottom:74px;display:flex;flex-direction:column;align-items:center;gap:0;background:#111e2be6;border:1px solid #2c3b49;border-radius:6px}.map-tools button{height:38px;width:38px;font-size:1.35rem;border-top:1px solid #2c3b49;display:grid;place-items:center}.map-tools svg{width:17px;height:17px}.north{position:relative;display:block;padding-top:10px;height:55px;font-size:.65rem;color:#a6b6bf}.north i{position:absolute;top:30px;left:-2px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:13px solid #8da3af}.map-bottom{position:absolute;bottom:23px;left:30px;right:30px;display:flex;justify-content:space-between;align-items:flex-end;color:#8296a5;font-size:.68rem;pointer-events:none}.scale{display:flex;flex-direction:column;align-items:center;gap:6px}.scale i{height:5px;width:100px;border:1px solid #8b9fac;border-top:0}.scale span{font-size:.65rem}.timeline{min-height:145px;display:grid;grid-template-columns:328px 1fr;background:#0d1722;border-top:1px solid var(--line)}.playback{display:flex;align-items:center;gap:14px;padding:20px 28px;flex-wrap:wrap;border-right:1px solid var(--line)}.play{width:45px;height:45px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:var(--green);color:#0b2022}.play:hover{background:#9ae8d3;color:#0b2022}.play svg{fill:currentColor;stroke:none;width:20px;height:20px}.playback strong{font-size:.83rem;font-weight:500;display:block}.playback span{font-size:.69rem;color:var(--muted);display:block;margin-top:5px}.speed{margin-left:59px;align-self:flex-start;width:151px}.speed select{background:transparent;font-size:.72rem;padding:6px 25px 6px 9px;border-color:#2b3b48}.time-track{padding:20px 30px 17px}.chart-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:.7rem;color:var(--muted)}#peak-label{font-size:.65rem;color:#6d8594}.chart-container{height:45px;position:relative}#day-chart{height:42px;width:100%;overflow:visible;stroke:none}input[type=range]{position:absolute;left:0;bottom:-7px;width:100%;margin:0;appearance:none;background:transparent;height:55px;cursor:ew-resize}input[type=range]::-webkit-slider-runnable-track{height:1px;background:#344650}input[type=range]::-webkit-slider-thumb{appearance:none;height:12px;width:12px;border:3px solid #0d1722;border-radius:50%;background:#ecf2ee;margin-top:-5px;box-shadow:0 0 0 1px #8b9eaa}input[type=range]::-moz-range-track{height:1px;background:#344650}input[type=range]::-moz-range-thumb{height:10px;width:10px;border:2px solid #0d1722;border-radius:50%;background:#ecf2ee}.time-labels{display:flex;justify-content:space-between;padding-top:14px;color:#79909f;font-size:.65rem;font-variant-numeric:tabular-nums}footer{height:51px;display:flex;align-items:center;padding:0 30px;justify-content:space-between;border-top:1px solid var(--line);gap:15px;font-size:.6rem;color:#6e8594;letter-spacing:.08em}footer p{font-size:.67rem;letter-spacing:0;margin:0}footer button{color:#a1b4bf;padding:0;font-size:inherit;text-decoration:underline;text-underline-offset:3px}.loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#0a131ef5;z-index:4;padding:30px;text-align:center}.loading[hidden]{display:none}.loading h2{font-family:var(--serif);font-size:2.3rem;font-weight:400;margin-top:20px}.loading p{font-size:.85rem;color:var(--muted);max-width:400px;line-height:1.6}.loader-mark{width:42px;height:42px;border:1px solid #29474a;border-top-color:var(--green);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}dialog{color:var(--text);background:#101b27;border:1px solid #33434f;border-radius:10px;padding:35px 40px;max-width:650px;width:calc(100% - 28px);max-height:88dvh;box-shadow:0 20px 100px #0009}dialog::backdrop{background:#02070dcc;backdrop-filter:blur(5px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center}.dialog-heading button{font-size:1.8rem;line-height:1;padding:0 0 15px}.dialog-heading .eyebrow{margin-bottom:0}dialog h2{font-family:var(--serif);font-size:3rem;font-weight:400;line-height:1.1;margin:12px 0 25px}dialog h2 em{color:var(--green);font-weight:400}dialog p,dialog dd{font-size:.92rem;line-height:1.75;color:#b5c5cf}dialog h3{font-size:1rem;font-weight:550;margin-top:30px}dialog dt{font-size:.85rem;font-weight:550;color:#e0e9ed;margin:18px 0 5px}dialog dd{margin:0;font-size:.86rem}.dialog-end{padding-top:20px;border-top:1px solid var(--line);margin-top:30px}.dialog-end strong{color:var(--green);font-size:.86rem}.tooltip{position:absolute;width:235px;padding:20px;background:#132331f2;border:1px solid #36525c;border-radius:7px;box-shadow:0 6px 30px #0007;z-index:3;pointer-events:auto}.tooltip .eyebrow{font-size:.59rem;display:block;margin:0 15px 12px 0}.tooltip h3{font-family:var(--serif);font-size:1.8rem;font-weight:400;margin:0}.tooltip p{font-size:.85rem;line-height:1.5;margin:8px 0 12px}.tooltip .muted{font-size:.64rem;color:var(--muted)}.tooltip button{position:absolute;right:10px;top:8px;font-size:1.3rem}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#19352f;color:#b6f2df;border:1px solid #426558;border-radius:6px;font-size:.85rem;padding:13px 22px;z-index:10;max-width:90vw;text-align:center}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(min-width:1400px){.sidebar{padding:36px 32px 24px}.workspace,.timeline{grid-template-columns:350px 1fr}.masthead{gap:86px}.intro h1{font-size:4.3rem}.dek{margin-bottom:30px}.population{padding:26px 0}.controls-section{padding:25px 0}.legend{gap:15px 8px}}
@media(max-height:900px) and (min-width:901px){.workspace{min-height:570px}.sidebar{padding-top:25px}.intro h1{font-size:3.4rem}.dek{margin:16px 0 20px;font-size:.86rem}.population{padding:18px 0}.population>strong{font-size:1.8rem}.small-totals{margin-top:15px}.controls-section{padding:18px 0}.legend{padding:15px 0 18px;gap:10px}.section-heading{margin-bottom:14px}.sidebar-note{font-size:.66rem;padding-top:3px}.sidebar-note p span{font-size:.62rem}}
@media(max-width:1100px){.masthead{gap:32px;padding:0 24px}.workspace,.timeline{grid-template-columns:290px 1fr}.sidebar{padding-left:23px;padding-right:23px}.intro h1{font-size:3.5rem}.header-actions{gap:17px}.snapshot{right:24px;width:160px}.snapshot-stat{font-size:.7rem}.clock>span:first-child{font-size:3.2rem}.map-title{left:24px}.map-title p{font-size:1.5rem}.view-switch{right:24px}.playback{padding:20px 23px}.edition{font-size:.65rem;letter-spacing:.08em}.edition span{margin:0 10px}}
@media(max-width:900px){.masthead{height:72px;padding:0 20px;gap:20px}.edition{display:none}.header-actions{font-size:.8rem;gap:15px}.outline{padding:8px 10px}.workspace{height:auto;min-height:0;max-height:none;display:flex;flex-direction:column}.sidebar{border-right:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:27px 24px 22px;overflow:visible}.intro .eyebrow{font-size:.6rem;margin-bottom:16px}.intro h1{font-size:3.5rem}.dek{font-size:.85rem;margin:15px 0 0}.population{padding:12px 0;align-self:center;border-top:0;border-bottom:0}.population>strong{font-size:1.9rem}.small-totals{gap:20px;margin-top:18px}.controls-section{grid-column:1/-1;padding:14px 0 0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:13px 20px}.section-heading{grid-column:1/-1;margin-bottom:0}.controls-section>.field-label{margin:0;align-self:center}.controls-section>.select-wrap{grid-row:2;grid-column:2}.legend{grid-column:1/-1;display:flex;flex-wrap:wrap;padding:4px 0;gap:12px 20px}.filter-row{grid-column:1/-1}.sidebar-note{grid-column:1/-1;padding:0;margin:0}.sidebar-note p{display:flex;gap:6px;flex-wrap:wrap}.sidebar-note p br{display:none}.note-symbol{font-size:1rem}.sidebar-note p span{font-size:.73rem}.map-panel{height:65dvh;min-height:480px;max-height:800px}.map-title{top:23px;left:24px}.map-title p{font-size:1.6rem}.view-switch{top:23px;right:24px}.snapshot{top:108px;right:24px;background:#0b1620c7;padding:12px;border-radius:6px;width:165px}.snapshot .eyebrow{font-size:.56rem}.clock-unit{font-size:.49rem}.clock>span:first-child{font-size:2.8rem}.snapshot-label{font-size:.58rem;margin-bottom:13px}.snapshot-stat{font-size:.66rem;margin-top:10px}.timeline{grid-template-columns:1fr;min-height:0}.playback{border-right:0;padding:18px 24px;flex-wrap:nowrap}.playback .speed{margin-left:auto;align-self:center;width:145px}.time-track{padding:0 24px 22px}.timeline .playback strong{font-size:.9rem}.timeline .playback span{font-size:.7rem}footer{height:auto;min-height:75px;padding:15px 24px;flex-wrap:wrap;gap:10px}footer>span:last-child{display:none}.map-bottom{font-size:.63rem;left:24px;right:24px}.map-tools{right:24px}.chart-header{font-size:.72rem}}
@media(max-width:520px){.masthead{padding:0 18px}.brand{font-size:.65rem;letter-spacing:.1em;gap:10px}.brand-mark{grid-template-columns:8px 8px;gap:3px}.brand-mark i{width:8px;height:8px}.header-actions{gap:12px;font-size:.72rem}.header-actions>.outline{border:0;padding:5px}.outline span{display:none}.outline svg{width:21px;height:21px}.sidebar{padding:24px 20px 18px;gap:20px 18px}.intro h1{font-size:3rem}.intro .eyebrow{font-size:.49rem;gap:6px;letter-spacing:.08em}.tiny-line{width:10px}.dek{font-size:.78rem;line-height:1.55}.population>strong{font-size:1.6rem}.population>span{font-size:.7rem}.small-totals{gap:10px;flex-direction:column;margin-top:15px}.small-totals>div{display:flex;gap:7px;align-items:baseline}.small-totals b{font-size:.8rem}.small-totals span{font-size:.64rem}.controls-section{gap:13px 15px}.section-heading h2{font-size:.85rem}.legend{gap:12px 16px}.legend button{font-size:.75rem}.sidebar-note{font-size:.65rem}.sidebar-note p span{font-size:.65rem}.map-panel{min-height:490px;height:65dvh}.map-title{left:20px;top:23px}.map-title p{font-size:1.4rem}.map-tag{font-size:.52rem;letter-spacing:.09em}.view-switch{top:auto;bottom:65px;left:20px;right:auto}.view-switch button{font-size:.67rem}.snapshot{right:15px;top:21px;width:142px;padding:10px}.clock>span:first-child{font-size:2.4rem}.clock-unit{display:none}.snapshot .eyebrow{font-size:.53rem}.snapshot-label{font-size:.53rem}.snapshot-stat{font-size:.61rem;gap:5px}.map-tools{right:18px;bottom:73px}.map-tools button{width:34px;height:34px}.map-bottom{left:20px;right:20px;bottom:22px;font-size:.59rem}.scale span{font-size:.58rem}.playback{padding:18px 20px;gap:10px}.play{width:40px;height:40px}.playback strong{font-size:.8rem!important}.playback span{font-size:.58rem!important}.playback .speed{width:116px}.speed select{font-size:.65rem}.time-track{padding-left:20px;padding-right:20px}.chart-header{font-size:.65rem}#peak-label{font-size:.55rem}footer{padding:15px 20px;font-size:.53rem}footer p{font-size:.61rem}dialog{padding:24px}dialog h2{font-size:2.6rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}.loader-mark{animation:none}}
/* Keep functional controls and map statistics readable at every viewport. */
.field-label,.legend button,.filter-row select,select,.section-heading h2,.view-switch button,.snapshot-stat{font-size:.875rem}
.sidebar-note,.sidebar-note p span,.chart-header,#peak-label,.time-labels,.map-bottom,.scale span,.snapshot-label{font-size:.75rem}
.view-switch button{padding:7px 10px}.snapshot{width:205px}.snapshot-stat{gap:8px}.snapshot-stat>span{gap:6px}
.speed select{font-size:.8rem}.time-track{padding-top:18px}.chart-header{margin-bottom:10px}
@media(max-width:1100px){.snapshot{width:195px}.view-switch button{font-size:.8rem}.snapshot-stat{font-size:.8rem}}
@media(max-width:900px){.snapshot{width:193px}.snapshot-label{font-size:.69rem}.snapshot-stat{font-size:.8rem}.sidebar-note,.sidebar-note p span{font-size:.75rem}}
@media(max-width:520px){.snapshot{width:166px;right:12px;top:108px}.snapshot-stat{font-size:.75rem}.snapshot-label{font-size:.625rem}.view-switch button{font-size:.8rem}.map-title p{font-size:1.6rem}.map-tag{font-size:.625rem}.legend button,.filter-row select{font-size:.875rem}.playback .speed{width:125px}.speed select{font-size:.75rem}.map-bottom{font-size:.625rem}#peak-label{font-size:.625rem}.time-labels{font-size:.7rem}.chart-header{font-size:.75rem}}
