/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}:root{--ink:#202522;--muted:#68706b;--paper:#f2f3f1;--card:#fff;--line:#d7dbd7;--accent:#176b5d;--magenta:#be3f78}*{box-sizing:border-box}html,body{background:var(--paper);min-height:100%;color:var(--ink);margin:0;font-family:Hiragino Sans,Yu Gothic UI,system-ui,sans-serif}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline-offset:2px;outline:3px solid #005f564d}.app-shell{grid-template-rows:auto minmax(560px,1fr) auto;gap:8px;min-height:100dvh;padding:10px;display:grid}.about-button,.label-toggle{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:7px;padding:8px 11px;font-size:12px;font-weight:650}.label-toggle.on{color:var(--accent);background:#ecf7f4;border-color:#9fc6be}.toolbar{z-index:12;border:1px solid var(--line);background:#fff;border-radius:10px;align-items:center;gap:7px;padding:7px;display:flex}.segmented{background:#e8ebe8;border-radius:7px;gap:1px;padding:2px;display:flex}.segmented button{color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:5px;padding:8px 12px;font-size:12px;font-weight:700}.segmented button.active{background:var(--card);color:var(--ink);box-shadow:0 1px 3px #1423211f}.segmented.compact button{padding-inline:10px}.metric-picker{border:1px solid var(--line);height:38px;color:var(--muted);white-space:nowrap;background:#fff;border-radius:7px;align-items:center;gap:6px;padding:0 7px 0 10px;font-size:10px;font-weight:750;display:flex}.metric-picker select{height:30px;color:var(--ink);background:#f2f5f2;border:0;border-radius:5px;outline:0;padding:0 24px 0 8px;font-size:12px;font-weight:750}.metric-picker:focus-within{outline:3px solid #005f5633}.search-wrap{flex:1;min-width:190px;position:relative}.search{border:1px solid var(--line);background:#f7f8f6;border-radius:7px;align-items:center;gap:8px;padding:0 11px;display:flex}.search input{width:100%;color:var(--ink);background:0 0;border:0;outline:0;padding:9px 0;font-size:13px}.search-results{background:var(--card);border:1px solid var(--line);border-radius:8px;max-height:310px;padding:5px;position:absolute;top:43px;left:0;right:0;overflow:auto;box-shadow:0 8px 22px #14232121}.search-results button{text-align:left;background:0 0;border:0;border-radius:5px;justify-content:space-between;gap:12px;width:100%;padding:9px 10px;display:flex}.search-results button:hover{background:#edf3ef}.search-results small{color:var(--muted)}.workspace{min-height:0;position:relative}.map-panel,.detail-panel{border:1px solid var(--line);background:var(--card);border-radius:12px;min-height:0;position:relative;overflow:hidden}.map-panel{width:100%;height:100%}.info-button{border:1px solid var(--line);width:34px;height:34px;color:var(--muted);background:#fff;border-radius:7px;font-weight:700}.map-frame{touch-action:none;overscroll-behavior:contain;-webkit-user-select:none;user-select:none;cursor:grab;background:#dcecf0;width:100%;height:100%;min-height:560px;position:relative;overflow:hidden}.map-frame:active{cursor:grabbing}.map-frame canvas{transform-origin:50%;will-change:transform;position:absolute;inset:0}.flow-overlay,.label-overlay{pointer-events:none}.zoom-controls{border:1px solid var(--line);background:#fff;border-radius:8px;flex-direction:column;display:flex;position:absolute;top:50%;right:14px;overflow:hidden;transform:translateY(-50%)}.zoom-controls button{border:0;border-bottom:1px solid var(--line);width:48px;height:48px;color:var(--ink);touch-action:manipulation;background:0 0;font-size:21px}.zoom-controls button:active{background:#edf2ef}.zoom-controls button:last-child{border:0}.zoom-controls .reset{font-size:10px;font-weight:800}.map-legend{z-index:5;border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:7px;grid-template-columns:auto 150px auto auto;align-items:center;gap:5px 8px;padding:9px 10px;font-size:9px;display:grid;position:absolute;top:12px;left:12px}.map-legend strong{color:var(--ink);grid-column:1/-1;font-size:11px}.population-ramp,.projection-ramp{border-radius:999px;height:10px}.population-ramp{background:linear-gradient(90deg,#e4f6ff,#2389d7,#003b7a)}.projection-ramp{background:linear-gradient(90deg,#9b174c,#ffe88a,#007a70)}.flow-legend{grid-template-columns:auto auto auto auto auto}.flow-legend strong{grid-column:1/-1}.flow-legend i{border-radius:3px;width:10px;height:10px}.flow-legend i.in{background:#007a70}.flow-legend i.out{background:#d81b60}.detail-panel{z-index:8;flex-direction:column;width:min(360px,100% - 28px);max-height:calc(100% - 28px);display:flex;position:absolute;bottom:14px;right:14px;box-shadow:0 12px 32px #14232129}.detail-panel:not(.visible){display:none}.detail-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;padding:18px 18px 12px;display:flex}.detail-head small{color:var(--muted);font-size:9px;font-weight:700}.detail-head h2{letter-spacing:-.03em;margin:4px 0 1px;font-size:25px}.detail-head p{color:var(--muted);margin:0;font-size:11px}.detail-head button{border:1px solid var(--line);width:32px;height:32px;color:var(--muted);background:0 0;border-radius:7px;font-size:19px}.detail-body{min-height:0;padding:15px 20px 22px;overflow:auto}.headline-stat{grid-template-columns:1fr auto;align-items:end;gap:3px 10px;display:grid}.headline-stat span{color:var(--muted);font-size:10px;font-weight:700}.headline-stat strong{letter-spacing:-.03em;grid-column:1;font-size:26px}.headline-stat em{border-radius:9px;grid-area:1/2/3;padding:6px 8px;font-style:normal;font-weight:800}.positive{color:#007a70!important}.negative{color:#b21f57!important}.headline-stat .positive{background:#e3f4ee}.headline-stat .negative{background:#f8e5ed}.population-chart{width:100%;height:145px;margin:8px 0 0;display:block}.year-control{color:var(--muted);align-items:center;gap:8px;font-size:9px;display:flex}.year-control input{width:100%;accent-color:var(--magenta)}.demographic-years{grid-template-columns:1fr 1fr;gap:5px;margin-top:5px;display:grid}.demographic-years button{border:1px solid var(--line);min-height:38px;color:var(--muted);background:#f7f8f6;border-radius:7px;font-size:10px;font-weight:750}.demographic-years button.active{color:var(--accent);background:#e7f4f0;border-color:#77a9a0}.section-title{justify-content:space-between;align-items:center;margin:17px 0 9px;display:flex}.section-title span{font-size:11px;font-weight:800}.section-title small{color:var(--muted);font-size:9px}.sex-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.sex-grid div{border:1px solid var(--line);background:#fafbf8;border-radius:6px;padding:10px}.sex-grid span{color:var(--muted);font-size:9px;display:block}.sex-grid strong{font-size:14px}.age-bars{gap:7px;margin-top:11px;display:grid}.age-row{grid-template-columns:55px 1fr 39px;align-items:center;gap:7px;font-size:9px;display:grid}.age-row>div{background:#edf0ed;border-radius:999px;height:7px;overflow:hidden}.age-row i{border-radius:999px;height:100%;display:block}.age-row i.young{background:#4d99bd}.age-row i.working{background:#087f70}.age-row i.elderly{background:#c68138}.age-row strong{text-align:right}.note{color:var(--muted);margin:12px 0 0;font-size:10px;line-height:1.65}.flow-list{gap:4px;margin-top:12px;display:grid}.flow-list button{border:1px solid var(--line);text-align:left;background:#fbfcfa;border-radius:6px;justify-content:space-between;align-items:center;gap:10px;padding:9px 10px;display:flex}.flow-list button:hover{background:#f0f7f4;border-color:#94b9b1}.flow-list span{min-width:0}.flow-list strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.flow-list small{color:var(--muted);margin-top:2px;font-size:8px;display:block}.flow-list em{font-size:12px;font-style:normal;font-weight:850}.flow-totals{grid-template-columns:1fr 1fr;gap:6px;margin-top:4px;display:grid}.flow-totals>div{border:1px solid var(--line);background:#fafbf9;border-radius:7px;min-width:0;padding:10px;position:relative}.flow-totals>div:last-child{grid-column:1/-1;justify-content:space-between;align-items:center;padding-block:8px;display:flex}.flow-totals span{color:var(--muted);font-size:9px;font-weight:700;display:block}.flow-totals strong{white-space:nowrap;margin-top:2px;font-size:14px;display:block}.flow-totals i{font-size:18px;font-style:normal;font-weight:900;animation:1.8s ease-in-out infinite flow-breathe;position:absolute;top:8px;right:9px}.flow-totals .in i{color:#007a70}.flow-totals .out i{color:#d81b60;animation-direction:reverse}@keyframes flow-breathe{0%,to{opacity:.58;transform:translateY(1px)}50%{opacity:1;transform:translateY(-2px)}}.empty-detail{text-align:center;margin:auto;padding:36px}.empty-detail strong{font-size:18px;display:block}.empty-detail p{color:var(--muted);font-size:12px;line-height:1.7}footer{color:var(--muted);justify-content:space-between;gap:16px;padding:0 4px;font-size:9px;display:flex}footer button{color:var(--accent);background:0 0;border:0;font-size:9px;font-weight:800}.site-introduction{max-width:1040px;color:var(--ink);margin:0 auto;padding:44px 24px 52px}.site-introduction-lead{max-width:720px}.site-introduction .eyebrow{color:var(--accent);letter-spacing:.16em;margin:0 0 8px;font-size:9px;font-weight:850}.site-introduction h1{letter-spacing:-.03em;margin:0;font-size:24px;line-height:1.25}.site-introduction-lead>p:last-child{color:var(--muted);margin:12px 0 0;font-size:12px;line-height:1.9}.site-introduction-grid{border-top:1px solid var(--line);grid-template-columns:repeat(3,1fr);gap:30px;margin-top:32px;padding-top:24px;display:grid}.site-introduction-grid h2{letter-spacing:-.01em;margin:0 0 8px;font-size:13px}.site-introduction-grid p{color:var(--muted);margin:0;font-size:10px;line-height:1.85}.site-introduction-sources{color:var(--muted);margin:28px 0 0;font-size:9px;line-height:1.8}.site-introduction a{color:var(--accent);text-underline-offset:3px}.modal-backdrop{z-index:50;background:#0a18158c;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal{background:var(--card);border-radius:10px;width:min(560px,100%);max-height:85dvh;padding:26px;position:relative;overflow:auto;box-shadow:0 20px 60px #0000003d}.modal-close{border:1px solid var(--line);background:0 0;border-radius:7px;width:32px;height:32px;font-size:19px;position:absolute;top:14px;right:14px}.modal h2{margin:0 0 22px;font-size:24px}.modal h3{margin:18px 0 4px;font-size:12px}.modal p{color:var(--muted);margin:0;font-size:11px;line-height:1.75}.loading{background:var(--paper);min-height:100dvh;color:var(--ink);place-content:center;justify-items:center;gap:12px;display:grid}.loading span:not(.loader){color:var(--muted);font-size:11px}.loader{border:3px solid #ccd9d5;border-top-color:var(--accent);border-radius:50%;width:28px;height:28px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=850px){.app-shell{grid-template-rows:auto auto auto;padding:8px;overflow:visible}.toolbar{flex-wrap:wrap}.toolbar button,.search input{min-height:44px}.search-wrap{flex-basis:100%;order:-1}.metric-picker{height:44px}.metric-picker select{height:36px}.label-toggle{margin-left:auto}.map-panel{height:68dvh;min-height:520px}.map-frame{min-height:520px}.detail-panel{width:100%;max-height:72dvh;box-shadow:none;margin-top:8px;position:relative;bottom:auto;right:auto}.map-legend{top:10px;left:10px}.year-control input{min-height:36px}.flow-list button{min-height:48px}.site-introduction-grid{grid-template-columns:1fr;gap:20px}}@media (width<=520px){.app-shell{gap:7px;padding:7px}.toolbar{padding:6px}.mode-switch{flex:1}.segmented button{padding:8px 9px}.label-toggle{padding:8px 9px;font-size:10px}.map-panel,.detail-panel{border-radius:9px}.map-panel{height:66dvh}.map-frame{min-height:500px}.map-legend{grid-template-columns:auto 105px auto auto}.zoom-controls{flex-direction:row;top:auto;bottom:10px;right:10px;transform:none}.zoom-controls button{border-bottom:0;border-right:1px solid var(--line)}.zoom-controls button:last-child{border-right:0}.detail-head{padding:15px}.detail-body{padding:14px 15px 20px}footer span{display:none}footer{justify-content:flex-end}}@media (prefers-reduced-motion:reduce){.flow-totals i{animation:none}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
