:root{color-scheme:light;--page: #f5f2ef;--surface: #fff;--surface-soft: #f8f5f2;--surface-hover: #f3ede8;--ink: #151413;--ink-secondary: #3e3732;--muted: #615850;--edge: #e3dbd4;--control-edge: #c7bcb4;--accent: #E8380D;--accent-ink: #a62a0f;--accent-soft: #fff0e8;--accent-hover: #ffe3d6;--accent-edge: #ebb7a4;--status: #26734f;--map-ground: #f2f1ee;--map-glow: #ffffffd9;--map-grid: #6b655714;--map-grid-major: #6b65571f;--map-hud: #fffffff5;--map-label: #151413;--map-label-highlight: #151413;--map-label-shadow: #ffffffe8;--map-face-1: #bacbd4;--map-face-2: #c3d1d8;--map-face-3: #aec3ce;--map-face-4: #c9d7dd;--map-face-5: #b6c8d2;--map-side: #718a98;--map-outline: #516b79;--map-outline-opacity: .75;--map-hover-face: #f8b99e;--map-hover-side: #ce7459;--map-hover-outline: #056a91;--map-focus-halo: #fff8ee;--map-selected-face: #f59e7f;--map-selected-side: #be634a;--map-selected-outline: var(--accent);--map-city-outline: #655247;--map-district-outline: #fff7e8;--map-district-casing: #3d2d24;--map-institution-face: #66bfaa;--map-institution-side: #398779;--map-institution-mark: #146c5b;--map-muted-face: #dddcd7;--map-muted-side: #abaeab;--map-segment-a: #79c1a5;--map-segment-b: #8db6e5;--map-segment-c: #edc271;--map-segment-d: #c6b1d7;--map-overview-fill: #cedbe1;--map-overview-outline: #647c89;--map-overview-active: #f5ad91;--map-overview-active-outline: var(--accent)}[data-theme=dark]{color-scheme:dark;--page: #0a111c;--surface: #101b2a;--surface-soft: #142337;--surface-hover: #1b3047;--ink: #eaf1fb;--ink-secondary: #c3d3e6;--muted: #9aadc4;--edge: #25364b;--control-edge: #38506c;--accent: #66e0e9;--accent-ink: #a7f2f3;--accent-soft: #123240;--accent-hover: #1a4653;--accent-edge: #3c6572;--status: #7ad8af;--map-ground: #0a1826;--map-glow: #22496565;--map-grid: #2a57741d;--map-grid-major: #305d7530;--map-hud: #102336ec;--map-label: #f4fbff;--map-label-highlight: #c8feff;--map-label-shadow: #071a2c;--map-face-1: #326c9e;--map-face-2: #3977a9;--map-face-3: #2d6499;--map-face-4: #3a7cae;--map-face-5: #316fa1;--map-side: #28749c;--map-outline: #80c6e8;--map-outline-opacity: .58;--map-hover-face: #529dcc;--map-hover-side: #388fb6;--map-hover-outline: #d1f6ff;--map-focus-halo: #102336;--map-selected-face: #218aa7;--map-selected-side: #27869f;--map-selected-outline: #a8edee;--map-city-outline: #f5d487;--map-district-outline: #ffeac2;--map-district-casing: #171d2b;--map-institution-face: #378d7a;--map-institution-side: #245e57;--map-institution-mark: #8eecd1;--map-muted-face: #253547;--map-muted-side: #182638;--map-segment-a: #267d68;--map-segment-b: #356db2;--map-segment-c: #956823;--map-segment-d: #775793;--map-overview-fill: #244c6a;--map-overview-outline: #80bacb;--map-overview-active: #b4893e;--map-overview-active-outline: var(--map-city-outline)}:root{font-family:PingFang SC,Microsoft YaHei,Noto Sans CJK SC,system-ui,sans-serif;background:var(--page);color:var(--ink);font-synthesis:none;--mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-width:300px}button,select,input{font:inherit}button{cursor:pointer}button:disabled,select:disabled{cursor:default}button:focus-visible,a.button:focus-visible,select:focus-visible,input:focus-visible,.table-scroll:focus-visible,.panel-divider:focus-visible,.detail-body:focus-visible{outline:2px solid var(--accent);outline-offset:3px}h1,h2,h3,p,dl,dd{margin:0}.wrap{width:min(1440px,100% - 80px);margin-inline:auto}.mono{font-family:var(--mono)}.site-header{margin-block:18px 14px}.masthead{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"brand coverage actions";align-items:center;gap:14px 24px;padding:16px 20px;border:1px solid var(--edge);border-radius:12px;background:var(--surface)}.masthead-brand{grid-area:brand;display:flex;align-items:center;gap:12px;min-width:0}.masthead-actions{grid-area:actions;display:flex;align-items:center;justify-content:flex-end;gap:8px}.brand-mark{width:44px;height:44px;flex:none;display:grid;place-items:center;color:var(--accent-ink);background:var(--accent-soft);border:1px solid var(--accent-edge);border-radius:11px}.brand-mark svg{width:28px;height:28px;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}.brand-name{font-size:clamp(20px,2vw,28px);line-height:1.3;font-weight:750;overflow-wrap:anywhere}.button.ratings-link{color:var(--accent-ink);border-color:var(--accent-edge);min-height:40px;background:var(--accent-soft);text-decoration:none;white-space:nowrap}.button.ratings-link:hover{background:var(--accent-hover)}.map-footer i{display:inline-block;border-radius:50%;background:var(--accent);width:6px;height:6px;margin-right:5px;vertical-align:2px}.button.theme-toggle{width:40px;height:40px;padding:0;color:var(--accent-ink)}.theme-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.coverage{grid-area:coverage;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));text-align:center}.coverage div{min-width:86px;padding-inline:12px;display:flex;flex-direction:column-reverse;gap:4px}.coverage div+div{border-left:1px solid var(--edge)}.coverage dt{color:var(--muted);font-size:11px;white-space:nowrap}.coverage dd{font:700 22px/1 var(--mono);color:var(--ink);letter-spacing:-.04em}.button{display:inline-flex;justify-content:center;align-items:center;gap:7px;background:var(--surface-soft);border:1px solid var(--edge);border-radius:7px;color:var(--ink);min-height:35px;padding:6px 11px;font-size:12px;font-weight:650}.button:hover:not(:disabled){background:var(--surface-hover);border-color:var(--control-edge)}.button:disabled{opacity:.6}.side-heading svg,.map-controls svg,.fullscreen-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}.compact{min-height:29px;padding:3px 9px}.primary{background:var(--accent-soft);border-color:var(--accent-edge);color:var(--accent-ink)}.primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent)}.workspace{--map-panel-height: 550px;--detail-panel-height: var(--map-panel-height);display:grid;grid-template-columns:minmax(0,1fr) 16px minmax(0,var(--detail-width))}.panel-divider{display:grid;place-items:center;align-self:stretch;cursor:col-resize;touch-action:none;-webkit-user-select:none;user-select:none;border-radius:5px}.panel-divider:after{content:"";width:3px;height:35px;border-radius:4px;background:var(--control-edge)}.panel-divider:hover:after,.panel-divider:active:after,.panel-divider:focus-visible:after{background:var(--accent)}.panel-divider:focus-visible{outline-offset:-3px}.panel{background:var(--surface);border:1px solid var(--edge);border-radius:12px;min-width:0;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--edge)}.panel-heading h2{font-size:15px;line-height:1.35;font-weight:700;letter-spacing:.018em}.map-panel,.detail-panel{display:flex;flex-direction:column}.map-panel{height:var(--map-panel-height)}.detail-panel{height:var(--detail-panel-height)}.map-panel .panel-heading,.map-footer,.detail-panel .panel-heading{flex-shrink:0}.map-heading{padding:15px 18px 13px}.breadcrumbs{margin-top:5px;color:var(--muted);font-size:11px}.breadcrumbs span{margin-inline:5px;color:var(--muted)}.map-heading-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:7px}.map-view-switch{display:inline-flex}.map-view-switch .button{min-width:30px;border-radius:0}.map-view-switch .button+.button{margin-left:-1px}.map-view-switch .button:first-child{border-radius:7px 0 0 7px}.map-view-switch .button:last-child{border-radius:0 7px 7px 0}.map-view-switch [aria-pressed=true],.segment-toggle[aria-pressed=true]{color:var(--accent-ink);background:var(--accent-soft);border-color:var(--accent-edge)}.map-view-switch [aria-pressed=true]{z-index:1;opacity:1}.detail-heading-actions{display:flex;align-items:center;gap:7px}.fullscreen-button{white-space:nowrap}.fullscreen-button[aria-pressed=true]{border-color:var(--accent-edge);color:var(--accent-ink)}.tag{font-size:11px;font-weight:650;line-height:1.35;border-radius:5px;color:var(--ink-secondary);background:var(--surface-soft);border:1px solid var(--edge);padding:4px 7px;white-space:nowrap}.level-tag{color:var(--accent-ink);background:var(--accent-soft);border-color:var(--accent-edge)}.labels-toggle[aria-pressed=true]{color:var(--accent-ink)}.map-layer-bar{flex:none;display:flex;align-items:center;flex-wrap:wrap;gap:5px 7px;padding:7px 12px;border-bottom:1px solid var(--edge);background:var(--surface)}.map-layer-title,.map-layer-status{color:var(--ink-secondary);font-size:11px}.merge-editor{border:0;margin:0;padding:0;min-width:0}.merge-controls{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.map-layer-title{font-weight:650;margin-right:3px}.map-layer-options{display:flex;flex-wrap:wrap;gap:5px}.map-layer-options .button{position:relative;cursor:pointer}.map-layer-options input{position:absolute;width:1px;height:1px;opacity:0}.map-layer-options .button:has(:checked){color:var(--accent-ink);background:var(--accent-soft);border-color:var(--accent-edge)}.map-layer-options .button:has(:focus-visible){outline:2px solid var(--accent);outline-offset:2px}.map-layer-options .button:has(:disabled){opacity:.55;cursor:default}.map-content{display:flex;flex:1;min-height:0;min-width:0}.map-institution-filter{width:108px;flex:none;display:flex;flex-direction:column;gap:7px;padding:10px 8px;border-right:1px solid var(--edge);background:var(--surface)}.map-institution-heading{display:flex;justify-content:space-between;align-items:center;gap:2px}.map-institution-filter h3{font-size:12px}.map-institution-heading .text-button{flex:none}.map-institution-buttons{display:grid;align-content:start;gap:4px;overflow-y:auto;padding:3px}.map-institution-buttons .button:focus-visible{outline-offset:-2px}.map-institution-buttons .button[aria-pressed=true]{color:var(--accent-ink);background:var(--accent-soft);border-color:var(--accent-edge)}.map-institution-status{color:var(--muted);font-size:11px}.map-stage{position:relative;min-height:0;flex:1;isolation:isolate;overflow:hidden;container-type:inline-size;background-color:var(--map-ground);background-image:radial-gradient(ellipse at 50% 40%,var(--map-glow) 0%,transparent 72%),linear-gradient(var(--map-grid) 1px,transparent 1px),linear-gradient(90deg,var(--map-grid) 1px,transparent 1px),linear-gradient(var(--map-grid-major) 1px,transparent 1px),linear-gradient(90deg,var(--map-grid-major) 1px,transparent 1px);background-size:100% 100%,24px 24px,24px 24px,96px 96px,96px 96px;background-position:center}.map-stage canvas{position:absolute;inset:0;display:block;cursor:grab}.map-stage canvas:active{cursor:grabbing!important}.map-labels{position:absolute;inset:0;pointer-events:none}.map-label{position:absolute;transform:translate(-50%,-50%);white-space:nowrap;color:var(--map-label);font-size:12px;font-weight:700;letter-spacing:.015em;text-shadow:0 1px 3px var(--map-label-shadow),0 0 7px var(--map-label-shadow)}.map-label-active,.map-label-hover{padding:2px 6px;border-radius:6px;background:var(--map-hud);color:var(--map-label-highlight);text-shadow:none}.map-label-hover{outline:1px solid var(--map-hover-outline);z-index:1}.map-label-active{outline:1px solid var(--map-selected-outline);z-index:2}.map-label-muted:not(.map-label-active):not(.map-label-hover){opacity:.62;font-weight:550}.map-label-covered:before,.map-key .institution-key i{display:inline-block;width:7px;height:7px;margin-right:4px;border-radius:50%;background:var(--map-institution-mark);box-shadow:0 0 0 1px var(--map-hud)}.map-label-covered:before{content:"";vertical-align:1px}.map-controls{position:absolute;right:13px;top:13px;display:grid;grid-template-columns:repeat(3,36px);border:1px solid var(--control-edge);border-radius:7px;overflow:hidden;background:var(--map-hud)}.map-zoom{grid-column:1 / -1;display:flex;flex-wrap:wrap;justify-content:space-between;gap:3px;padding:6px 8px 4px;border-bottom:1px solid var(--edge);color:var(--ink-secondary);font-size:11px;font-variant-numeric:tabular-nums}.map-zoom input{width:100%;height:18px;margin:0;accent-color:var(--accent)}.map-controls button{display:grid;place-items:center;height:30px;padding:0;background:transparent;color:var(--ink);border:0;font-size:19px}.map-controls button+button{border-left:1px solid var(--edge)}.map-controls button:hover{color:var(--accent-ink);background:var(--accent-soft)}.map-controls :focus-visible{outline-offset:-3px}.map-legend{position:absolute;bottom:13px;left:14px;pointer-events:none;display:grid;gap:4px;justify-items:start}.map-legend-right{left:auto;right:14px;justify-items:end}.map-key{display:flex;flex-wrap:wrap;gap:4px 12px;background:var(--map-hud);border:1px solid var(--edge);border-radius:6px;padding:7px 9px;color:var(--ink-secondary);font-size:10px}.map-key i{display:inline-block;width:10px;height:7px;margin-right:5px;border-radius:2px;background:var(--map-face-2);border:1px solid var(--map-outline)}.map-key .selected-key i{background:transparent;border:2px solid var(--map-selected-outline)}.map-key .city-key i{height:2px;margin-bottom:2px;border:0;background:var(--map-city-outline)}.map-key .district-key i{height:4px;margin-bottom:1px;border:1px solid var(--map-district-casing);background:var(--map-district-outline)}.map-key .institution-key i{border:0}.map-key>span{white-space:nowrap}.layer-key{max-width:min(320px,68cqw)}.layer-key strong{width:100%;font-weight:650}.map-key.satellite-key>span{white-space:normal}.province-overview{position:absolute;bottom:13px;left:14px;width:120px;padding:5px 6px 6px;background:var(--map-hud);color:var(--ink);border:1px solid var(--control-edge);border-radius:8px;display:grid;gap:3px;text-align:center;font-size:11px;font-weight:650}.province-overview:hover{background:var(--accent-soft);border-color:var(--accent)}.province-overview svg{display:block;width:100%;height:84px}.province-overview path{fill:var(--map-overview-fill);stroke:var(--map-overview-outline);stroke-width:.8;fill-rule:evenodd;vector-effect:non-scaling-stroke}.province-overview .overview-active{fill:var(--map-overview-active);stroke:var(--map-overview-active-outline)}.overview-enter-active,.overview-leave-active{transition:transform .46s cubic-bezier(.2,.72,.25,1),opacity .46s ease}.overview-enter-from,.overview-leave-to{transform:translate(clamp(40px,32cqw,330px),-95px) scale(2.6);opacity:0}.overview-leave-active{pointer-events:none}@media(prefers-reduced-motion:reduce){.overview-enter-active,.overview-leave-active{transition:none}}.map-footer{padding:11px 17px;color:var(--muted);font-size:11px;display:flex;gap:10px;justify-content:space-between;border-top:1px solid var(--edge)}.map-footer span:first-child{color:var(--ink-secondary)}.map-empty{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);text-align:center;width:min(90%,340px);background:var(--surface);border:1px solid var(--control-edge);color:var(--ink-secondary);padding:17px;border-radius:8px;font-size:13px;line-height:1.6}.side-heading{padding:13px 15px;min-height:48px}.side-heading h2{display:flex;gap:7px;align-items:center}.side-heading svg{color:var(--accent)}.filter-panel{display:grid;grid-template-columns:124px minmax(0,1fr);margin-bottom:14px}.filter-panel .side-heading{align-items:flex-start;justify-content:center;flex-direction:column;gap:7px;border-bottom:0;border-right:1px solid var(--edge)}.filter-panel .side-heading circle{fill:var(--surface)}.text-button{color:var(--accent-ink);font-size:11px;border:0;padding:3px 0;background:none}.text-button:hover{color:var(--accent-ink);text-decoration:underline}.filter-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:12px 15px}.field-label{display:block;color:var(--ink-secondary);font-size:12px;font-weight:650;margin-bottom:6px}select{width:100%;min-height:34px;padding:6px 10px;border:1px solid var(--control-edge);border-radius:6px;background:var(--surface);color:var(--ink);font-size:12px}select:disabled{color:var(--muted);background:var(--surface-soft);border-color:var(--edge)}.detail-body{flex:1;min-height:0;overflow:auto;padding:14px 15px}.detail-body:focus-visible{outline-offset:-3px}.detail-body h3{font-size:20px;line-height:1.35;margin-bottom:5px}.detail-body p{color:var(--muted);font-size:12px;line-height:1.7;margin-top:6px}.detail-meta{color:var(--muted);font-size:11px}.detail-level{font-size:10px}.detail-action{margin-top:12px}.detail-sample{margin-top:10px;padding:8px 10px;border-left:2px solid var(--accent);background:var(--accent-soft);border-radius:0 5px 5px 0}.detail-sample strong{color:var(--accent-ink);font-size:11px}.detail-sample p{margin-top:3px;color:var(--ink-secondary)}.institution-body{padding:13px 17px 17px}.institution-notice{color:var(--muted);font-size:12px;line-height:1.6}.institution-notice:not(:last-child){margin-bottom:7px}.institution-scroll{max-height:355px;border:1px solid var(--edge);border-radius:7px}.institution-table{min-width:944px;text-align:center;white-space:nowrap}.institution-table th,.institution-table td{padding:7px}.institution-table th:first-child{position:sticky;left:0;width:132px;text-align:left;padding-left:10px;border-right:1px solid var(--edge)}.institution-table thead th:first-child{z-index:2}.institution-table tbody th{z-index:1;background:var(--surface);color:var(--ink);font-weight:550}.institution-table tbody tr{cursor:default}.institution-table .institution-city th{color:var(--ink);font-weight:700}.institution-table .institution-hovered>*{background:var(--accent-hover);color:var(--ink)}.institution-table .institution-hovered>th{box-shadow:inset 3px 0 var(--accent)}.institution-present{color:var(--status);font-weight:650}.institution-blank{color:var(--muted)}.business-detail{margin-top:12px}.business-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.business-fields>div{padding:7px 9px;border-radius:6px;background:var(--surface-soft)}.business-fields dt{color:var(--muted);font-size:11px;overflow-wrap:anywhere}.business-fields dd{margin-top:3px;font-size:14px;font-weight:650;overflow-wrap:anywhere}.business-segments{grid-template-columns:repeat(4,minmax(0,1fr))}.business-segments i{display:inline-block;width:7px;height:7px;margin-right:4px;border-radius:50%}.business-detail h4{margin:13px 0 7px;font-size:14px}.package-scroll{border:1px solid var(--edge);border-radius:7px;max-height:240px}.package-table{min-width:270px;white-space:nowrap}.package-table th,.package-table td{padding:7px 8px}.package-table tbody tr{cursor:default}.business-issues{margin:9px 0 0;padding-left:18px;color:var(--accent-ink);font-size:12px;line-height:1.55}.panel:is(:fullscreen,.panel-expanded){width:100%;height:100%;min-height:0;margin:0;border:0;border-radius:0}.panel::backdrop{background:var(--page)}.panel-expanded{position:fixed;inset:0;z-index:20}html:has(.panel-expanded){overflow:hidden}body:has(.panel-expanded) :is(.site-header,.filter-panel,.table-panel,.institutions-panel,.site-footer,.panel-divider,.workspace>.panel:not(.panel-expanded)){visibility:hidden}.detail-panel:is(:fullscreen,.panel-expanded) .side-heading{padding:17px clamp(16px,4vw,60px)}.detail-panel:is(:fullscreen,.panel-expanded) .detail-body{width:min(100%,960px);margin-inline:auto;padding:clamp(24px,5vw,70px) clamp(18px,5vw,60px)}.detail-panel:is(:fullscreen,.panel-expanded) .detail-body h3{font-size:clamp(25px,4vw,42px)}.detail-panel:is(:fullscreen,.panel-expanded) .detail-body p{font-size:16px}.detail-panel:is(:fullscreen,.panel-expanded) .detail-meta,.detail-panel:is(:fullscreen,.panel-expanded) .detail-sample strong{font-size:14px}.detail-panel:is(:fullscreen,.panel-expanded) .detail-sample{margin-top:18px;padding:14px 16px}.table-panel,.institutions-panel{margin-top:17px}.table-heading{padding:13px 17px}.table-heading p{color:var(--muted);font-size:11px;margin-top:4px}.table-scroll{overflow:auto;max-height:420px}table{border-collapse:separate;border-spacing:0;width:100%;min-width:590px;text-align:left;font-size:12px}th,td{padding:9px 13px;border-bottom:1px solid var(--edge)}th:first-child,td:first-child{padding-left:17px;width:8%}thead th{position:sticky;top:0;z-index:1;font-size:11px;font-weight:600;color:var(--ink-secondary);background:var(--surface-soft)}tbody td{color:var(--ink-secondary)}tbody tr{cursor:pointer}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:var(--surface-hover)}tbody .selected{background:var(--accent-soft)}tbody .selected td:first-child{box-shadow:inset 2px 0 var(--accent)}.row-button{border:0;padding:2px 0;background:none;color:var(--ink);font-weight:650;text-align:left}.row-button:hover,.row-button[aria-pressed=true]{color:var(--accent-ink)}.resource-institution-bar{display:flex;align-items:center;gap:9px;padding:8px 13px 8px 17px;border-bottom:1px solid var(--edge)}.resource-institution-bar>span{flex:none;color:var(--ink-secondary);font-size:12px;font-weight:650}.resource-institution-options{display:flex;min-width:0;gap:6px;overflow-x:auto;padding:4px}.resource-institution-options .button{flex:none;white-space:nowrap}.resource-institution-options .institution-all-selected{color:var(--accent-ink);background:var(--accent-soft);border-color:var(--accent-edge)}.institution-package-count{color:var(--muted);font-size:10px}.institution-all-selected .institution-package-count{color:var(--accent-ink)}.resource-selection{display:grid;grid-template-columns:minmax(315px,.9fr) minmax(0,1.5fr)}.resource-tree-panel,.resource-stats{min-width:0;padding:14px 16px 17px}.resource-tree-panel{border-right:1px solid var(--edge)}.resource-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.resource-heading h3,.resource-subheading{font-size:14px}.resource-heading .text-button:disabled{opacity:.55;text-decoration:none}.resource-tree,.resource-children{margin:0;list-style:none;padding:0}.resource-tree{max-height:420px;overflow:auto;padding:3px}.resource-children{margin:0 0 3px 13px;padding-left:9px;border-left:1px solid var(--edge)}.resource-branch{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;min-height:32px;padding:3px 8px 3px 4px;border-radius:6px;font-size:12px}.resource-branch:hover,.package-choice:hover{background:var(--surface-hover)}.resource-active,.resource-active:hover{background:var(--accent-soft)}.branch-toggle{width:22px;height:23px;border:0;border-radius:4px;background:transparent;color:var(--muted);display:grid;place-items:center}.branch-toggle:before{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg)}.branch-toggle[aria-expanded=true]:before{transform:translateY(-1px) rotate(45deg)}.branch-toggle:hover{background:var(--surface-soft);color:var(--ink)}.branch-count,.package-rank{color:var(--muted);font-size:11px;white-space:nowrap}.package-choice{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:7px;min-height:34px;padding:4px 8px;border-radius:6px;cursor:pointer;font-size:12px}.package-choice input{accent-color:var(--accent);margin:0;cursor:pointer}.package-choice strong{color:var(--accent-ink);white-space:nowrap;font-size:11px}.resource-empty{color:var(--muted);font-size:12px;line-height:1.55}.resource-children .resource-empty{padding:6px 8px}.resource-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.resource-metrics>div{padding:9px 10px;background:var(--surface-soft);border-radius:7px}.resource-metrics dt{color:var(--muted);font-size:11px}.resource-metrics dd{margin-top:5px;font:700 18px/1.3 var(--mono);overflow-wrap:anywhere}.resource-subheading{margin:14px 0 8px}.resource-summary-scroll{max-height:330px;border:1px solid var(--edge);border-radius:7px}.resource-summary{min-width:555px}.resource-summary tbody tr{cursor:default}.resource-summary th:first-child,.resource-summary td:first-child{width:auto}.resource-stats-empty{margin-top:14px;padding:14px;border:1px dashed var(--edge);border-radius:7px}.site-footer{padding:17px 0 21px;color:var(--muted);font-size:11px}.page-version{margin-top:4px;color:var(--muted);font-size:12px}.ratings-page{padding-block:24px}.ratings-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.ratings-heading h1{font-size:24px}.ratings-heading a{text-decoration:none;white-space:nowrap}.ratings-toolbar{padding:14px 18px}.ratings-toolbar h2{flex:1}.ratings-controls{display:flex;flex-wrap:wrap;align-items:end;gap:10px 14px;padding:12px 18px}.ratings-controls label{flex:1 1 180px;max-width:285px}.ratings-controls input{width:100%;min-height:34px;padding:6px 10px;border:1px solid var(--control-edge);border-radius:6px;color:var(--ink);background:var(--surface)}.ratings-controls .tag{align-self:end;margin-bottom:4px}.rating-analysis{margin:0 18px 16px}.rating-analysis h3{font-size:15px;margin-bottom:10px}.rating-overview,.rating-charts{display:grid;gap:10px}.rating-overview{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:10px}.rating-overview>div{display:flex;flex-direction:column-reverse;gap:4px;padding:10px 12px;border:1px solid var(--edge);border-radius:8px;background:var(--surface-soft)}.rating-overview dt{font-size:12px;color:var(--muted)}.rating-overview dd{font:700 24px/1.1 var(--mono)}.rating-charts{grid-template-columns:repeat(auto-fit,minmax(min(400px,100%),1fr))}.rating-chart-card{min-width:0;padding:12px 14px;border:1px solid var(--edge);border-radius:8px}.rating-chart-card h4{margin:0 0 8px;font-size:14px}.rating-chart-card .map-view-switch{max-width:100%}.rating-chart-card .button{white-space:nowrap}.rating-chart-note,.ratings-preview{color:var(--muted);font-size:12px;line-height:1.55}.rating-chart-note{margin-block:7px}.rating-count-list{margin:4px 0 0;padding:0;list-style:none}.rating-count-list li{display:grid;grid-template-columns:5.8em minmax(0,1fr) 2.4em;gap:8px;align-items:center;min-height:27px;border-bottom:1px solid var(--edge);font-size:12px}.rating-count-list li:last-child{border-bottom:0}.rating-count-list strong{text-align:right}.rating-track{display:block;min-width:0;height:7px;overflow:hidden;border-radius:4px;background:var(--surface-hover)}.rating-track i{display:block;height:100%;border-radius:inherit;background:var(--accent)}.rating-count-list[data-metric=second] i{background:var(--map-segment-b)}.rating-count-list[data-metric=exclusive] i{background:var(--map-segment-a)}.rating-count-list[data-metric=last] i,.rating-rate-last i{background:var(--map-segment-d)}.rating-rates{min-width:0;table-layout:fixed}.rating-rates :is(th,td){padding:5px 4px}.rating-rates thead th{position:static}.rating-rates th:first-child{width:5.8em;white-space:nowrap}.rating-rates th:nth-child(2){width:3.5em}.rating-rates tbody th{font-weight:550}.rating-rates tbody tr{cursor:default}.rating-rate{display:grid;grid-template-columns:minmax(0,1fr) 4.1em;gap:4px;align-items:center}.rating-rate .mono{text-align:right}.ratings-preview{padding:8px 18px;border-block:1px solid var(--edge);background:var(--surface-soft)}.rating-inspection{position:fixed;right:16px;bottom:16px;z-index:12;display:flex;align-items:start;gap:10px;max-width:calc(100vw - 32px);padding:10px 12px;background:var(--surface);border:1px solid var(--accent-edge);border-radius:9px;box-shadow:0 4px 18px #0002;color:var(--ink-secondary);font-size:12px}.rating-inspection div{display:flex;flex-wrap:wrap;gap:4px 12px}.rating-inspection strong{flex-basis:100%;color:var(--ink)}.ratings-scroll{max-height:none}.ratings-table th:first-child{min-width:180px}.ratings-table th small{display:block;margin-top:3px;color:var(--muted);font-size:10px;font-weight:400}.ratings-table .rating-unrated{background:var(--surface-soft);color:var(--muted)}.rating-sort,.rating-cell{width:100%;border:0;border-radius:4px;background:transparent;color:inherit;white-space:nowrap}.rating-sort{padding:4px;font-weight:inherit}.rating-sort:hover,.rating-cell:hover,.rating-cell:focus-visible{background:var(--accent-soft)}.rating-cell{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:5px 4px}.rating-rank{padding:2px 4px;border-radius:4px;background:var(--surface-hover);color:var(--muted);font-size:10px}.rating-first{background:var(--accent-soft);color:var(--accent-ink)}.ratings-note{padding:10px 18px;border-top:1px solid var(--edge);color:var(--muted);font-size:12px}.ratings-empty{padding:30px 16px;text-align:center;color:var(--muted);font-size:13px}.detail-ratings-scroll{max-height:180px;margin-top:6px;border:1px solid var(--edge);border-radius:6px}.detail-ratings-table th[scope=row]{font-weight:550}.setup-page{max-width:960px;padding-block:24px}.setup-heading,.setup-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.setup-heading{margin-bottom:16px}.setup-heading h1{font-size:24px}.setup-heading a{text-decoration:none;white-space:nowrap}.setup-heading .setup-actions{flex-wrap:wrap}.setup-login{max-width:420px;margin-inline:auto}.setup-page>.panel+.panel{margin-top:16px}.setup-panel-heading{padding:14px 18px}.setup-body{display:grid;gap:14px;padding:16px 18px}.setup-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));gap:12px}.setup-login input,.setup-controls input,.setup-segment-fields input,.setup-segment-table input{width:100%;min-height:34px;padding:6px 10px;border:1px solid var(--control-edge);border-radius:6px;color:var(--ink);background:var(--surface)}.setup-note,.setup-alert{font-size:13px;line-height:1.6}.setup-note{color:var(--muted)}.setup-alert{padding:8px 10px;border-radius:6px;color:var(--accent-ink);background:var(--accent-soft)}.setup-counties{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));gap:8px;padding:0;margin:0;list-style:none}.setup-counties label{display:flex;align-items:center;gap:8px;min-height:42px;padding:6px 8px;border:1px solid var(--edge);border-radius:6px;font-size:13px;cursor:pointer}.setup-counties label:has(:checked){border-color:var(--accent-edge);background:var(--accent-soft)}.setup-counties input{accent-color:var(--accent)}.setup-counties .mono{margin-left:auto;font-size:11px;color:var(--muted)}.setup-actions{justify-content:flex-end}.setup-segments{margin-bottom:16px}.setup-segment-rule{min-width:0;margin:0;padding:8px 12px 12px;border:1px solid var(--edge);border-radius:6px}.setup-segment-rule legend{padding-inline:5px;font-size:13px;font-weight:650}.setup-segment-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(135px,100%),1fr));gap:10px}.setup-segment-rule>.setup-note{margin-block:5px 8px}.setup-segment-rule>.setup-alert{margin-top:8px}.setup-segment-rule summary{cursor:pointer;font-size:13px;font-weight:650}.setup-segment-extra{min-width:0;margin:0;padding:0;border:0}.setup-segment-table{min-width:0}.setup-segment-table :is(th,td){padding:6px}.setup-segment-table tbody tr{cursor:default}.setup-segment-table input{max-width:110px;min-width:58px}@media(max-width:1050px){.wrap{width:calc(100% - 48px)}}@media(max-width:790px){.resource-selection{grid-template-columns:minmax(0,1fr)}.resource-tree-panel{border-right:0;border-bottom:1px solid var(--edge)}.wrap{width:calc(100% - 32px)}.masthead{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand brand" "coverage actions"}.masthead-brand{padding-bottom:12px;border-bottom:1px solid var(--edge)}.coverage div{min-width:0}.coverage dd{font-size:20px}.coverage dt{font-size:10px}.workspace{--map-panel-height: 430px;--detail-panel-height: 360px;grid-template-columns:minmax(0,1fr);gap:13px}.panel-divider{display:none}}@media(max-width:500px){.map-institution-filter{width:78px;padding:8px 5px}.map-institution-buttons .button{padding-inline:2px;font-size:11px;white-space:nowrap}.rating-analysis{margin-inline:10px}.rating-overview,.resource-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.site-header{margin-block:10px}.masthead{grid-template-columns:minmax(0,1fr);grid-template-areas:"brand" "coverage" "actions";gap:10px;padding:12px}.masthead-actions .ratings-link{flex:1}.brand-mark{width:32px;height:32px;border-radius:8px}.brand-mark svg{width:21px;height:21px}.brand-name{font-size:clamp(14px,calc(3vw + 5px),19px)}.coverage div{padding-inline:8px}.filter-panel{grid-template-columns:minmax(0,1fr)}.filter-panel .side-heading{flex-direction:row;align-items:center;justify-content:space-between;border-right:0;border-bottom:1px solid var(--edge)}.filter-body{gap:10px}.workspace{--map-panel-height: 365px}.map-heading,.map-footer{padding-inline:10px}.map-heading{flex-wrap:wrap}.map-heading-actions{justify-content:flex-start}.map-heading h2{font-size:13px}.fullscreen-button span{display:none}.map-footer{font-size:9px}.map-label{font-size:10px}.province-overview{left:8px;bottom:8px;width:86px;font-size:9px}.province-overview svg{height:59px}.map-legend{left:8px;bottom:8px}.map-legend-right{left:auto;right:8px}.map-key{gap:5px;padding:5px;font-size:8px}}
