:root{--ink:#202e3d;--muted:#687585;--line:#dde3e8;--paper:#fff;--bg:#f4f6f8;--blue:#496bb6;--teal:#237f78;--amber:#a46a13;--shadow:0 5px 18px #21354e0a;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:13px}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:7px;padding:7px 11px;transition:background .12s}button:hover{background:#eef2f7;border-color:#b6c3d4}button:focus-visible,input:focus-visible,canvas:focus-visible{outline:3px solid #5596dd80;outline-offset:2px}button:disabled{opacity:.4;cursor:default}h1,h2,h3,p{margin:0}h1{font-size:19px;font-weight:650;letter-spacing:-.45px}h2{font-size:16px;font-weight:650}h3{font-size:12px;letter-spacing:.04em;text-transform:uppercase}p{line-height:1.6}a{color:#355fa6}small,.muted{color:var(--muted)}code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;overflow-wrap:anywhere}kbd{font:11px ui-monospace,monospace;color:#8b95a1;background:#f2f4f6;border:1px solid #dce2e8;border-radius:4px;padding:2px 5px}.masthead{height:84px;background:var(--paper);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 25px;gap:16px}.brand{display:flex;align-items:center;gap:14px}.brand-mark{width:46px;height:46px;border:1px solid #c7d2df;border-radius:11px;display:grid;place-items:center;font-size:13px;font-weight:750;letter-spacing:1px;background:#f6f8fc;color:#35527b}.brand p{font-size:11px;color:var(--muted);margin-top:5px}.header-actions{display:flex;align-items:center;gap:19px}.header-actions>span{font-size:12px;color:#526274}.workspace{height:calc(100vh - 84px);display:grid;grid-template-columns:270px minmax(350px,1fr) 355px}.navigator{border-right:1px solid var(--line);background:#fafbfd;display:flex;flex-direction:column;min-height:0;overflow:auto}.nav-top{padding:21px 16px 14px}.nav-top h2{font-size:14px;margin-bottom:14px}.search-box{display:flex;align-items:center;gap:8px;border:1px solid #cdd6e0;background:white;padding:9px 10px;border-radius:8px}.search-box>span{font-size:20px;line-height:18px;color:#738598}.search-box input{width:100%;min-width:0;border:0;outline:0;font-size:13px;background:transparent}.search-box kbd{flex:none}.segmented{display:flex;gap:3px;margin-top:12px;padding:3px;background:#edf1f5;border-radius:7px}.segmented button{font-size:11px;flex:1;border:0;background:transparent;padding:6px}.segmented button.active{background:white;box-shadow:0 1px 5px #23384c12}.eyebrow{display:block;font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--muted);margin-bottom:8px}.examples{padding:3px 16px 18px}.examples button{display:block;width:100%;text-align:left;margin:7px 0;background:white;padding:10px 11px}.examples b{display:block;font-size:12px;font-weight:600}.examples small{display:block;font-size:10px;line-height:1.5;margin-top:4px}.browse-heading{padding:0 16px 8px;display:flex;align-items:center;justify-content:space-between}.browse-heading h2{font-size:13px}.text-button{border:0;background:transparent;color:var(--blue);font-size:11px;padding:4px}.organization-list{max-height:calc(100vh - 500px);min-height:170px;overflow:auto;padding:0 8px 15px}.org-item,.result-item{border:0;background:transparent;text-align:left;display:flex;gap:8px;align-items:flex-start;width:100%;padding:9px 8px;border-radius:5px}.org-item .name,.result-item .name{font-size:11px;line-height:1.45;display:block}.org-item small,.result-item small{font-size:10px;display:block;margin-top:3px}.org-item .count{margin-left:auto;font-size:10px;color:var(--muted);white-space:nowrap;padding-top:2px}.dot{width:7px;height:7px;flex:none;border-radius:50%;margin-top:4px;background:var(--blue)}.dot.unit{background:var(--teal)}.nav-note{padding:15px 17px;border-top:1px solid var(--line);margin-top:auto;background:#f3f6fa;font-size:11px}.nav-note p{margin-top:6px;color:var(--muted)}.search-results{padding:0 9px;overflow:auto;min-height:160px;flex:1}.result-count{padding:4px 8px 10px;font-size:11px;color:var(--muted)}.result-item mark{background:#fff2c6}.graph-pane{min-height:0;display:flex;flex-direction:column;background:white}.graph-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 23px 8px;gap:15px}.graph-heading .eyebrow{margin-bottom:6px}.graph-heading h2{font-size:18px;letter-spacing:-.35px}.graph-heading button{white-space:nowrap;font-size:11px}.breadcrumbs{display:flex;flex-wrap:wrap;gap:3px;align-items:center;padding:0 20px 12px;min-height:34px;max-height:66px;overflow:auto;color:#8a96a2;font-size:11px}.breadcrumbs button{font-size:10px;color:#637386;border:0;padding:3px;background:transparent;max-width:185px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.toolbar{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:10px 18px;border-top:1px solid #edf0f4;border-bottom:1px solid var(--line);background:#fcfdfe}.toggles,.tools{display:flex;align-items:center;gap:9px}.toggles label{font-size:10px;color:#647081;display:flex;align-items:center;gap:4px;white-space:nowrap}input[type=checkbox]{accent-color:#4e74b5;width:12px;height:12px}.tools button{font-size:10px;padding:5px 8px}.canvas-wrap{position:relative;min-height:200px;flex:1;overflow:hidden;background:#f8fafc;background-image:radial-gradient(#cfdae6 0.7px,transparent .7px);background-size:20px 20px}canvas{width:100%;height:100%;display:block;touch-action:none}.loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;background:#f8fafcf5;text-align:center;padding:25px}.loading span{font-size:12px;color:var(--muted)}.spinner{width:30px;height:30px;border:3px solid #dce6ed;border-top-color:var(--teal);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#hover-tip{position:absolute;pointer-events:none;max-width:320px;border:1px solid #d4dce5;background:white;box-shadow:var(--shadow);border-radius:6px;padding:8px 10px;font-size:11px;line-height:1.5;z-index:3}.zoom-buttons{position:absolute;right:16px;bottom:15px;display:flex;align-items:center;gap:8px;background:white;border:1px solid var(--line);padding:4px;border-radius:8px;box-shadow:var(--shadow)}.zoom-buttons button{border:0;padding:3px 8px;font-size:17px}.zoom-buttons span{font-size:10px;color:var(--muted);min-width:32px;text-align:center}.graph-footer{display:flex;justify-content:space-between;gap:8px;padding:12px 18px 5px;font-size:10px;color:var(--muted)}.legend{display:flex;flex-wrap:wrap;gap:12px}.legend span{display:flex;align-items:center;gap:5px}.legend i{width:7px;height:7px;border-radius:2px}.org-dot{background:var(--blue)}.unit-dot{background:var(--teal)}.entity-dot{background:var(--amber)}.graph-help{padding:5px 18px 12px;color:#85909b;font-size:10px}.inspector{border-left:1px solid var(--line);overflow:auto;background:#fff;min-width:0}.empty-inspector{padding:28px;color:var(--muted);line-height:1.8}.inspector-header{padding:22px 20px 16px;border-bottom:1px solid var(--line)}.badge{display:inline-flex;border-radius:4px;padding:4px 7px;background:#edf2fb;color:#4564a0;font-size:10px;font-weight:650;margin-right:5px}.badge.unit{background:#e5f3f0;color:#28756f}.badge.entity{background:#faf0df;color:#966519}.badge.warn{background:#fff2dd;color:#936015}.inspector-header h2{font-size:17px;line-height:1.45;margin-top:11px;overflow-wrap:anywhere}.inspector-header .id-line{margin-top:7px;color:var(--muted);font-size:11px}.inspector-header p{margin-top:11px;font-size:11px;color:var(--muted)}.inspector-actions{display:flex;gap:8px;margin-top:14px}.inspector-actions button{font-size:11px}.tabs{display:flex;gap:2px;padding:9px 10px 0;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:1}.tabs button{border:0;border-radius:0;background:transparent;padding:9px 8px;font-size:10px;color:#6d7987;border-bottom:2px solid transparent}.tabs button.active{border-bottom-color:var(--teal);color:var(--ink);font-weight:650}.inspector-body{padding:18px 20px 28px}.section{margin-bottom:24px}.section h3{margin-bottom:11px;color:#6e7c8b;font-size:10px}.relationship{border:1px solid var(--line);border-radius:8px;padding:11px 12px;margin:9px 0;background:#fcfdff}.relationship .rel-label{font-size:10px;font-weight:650;color:#768496;display:block;margin-bottom:6px}.relationship button{border:0;background:transparent;text-align:left;padding:0;font-size:12px;line-height:1.5;color:#355fa6}.relationship code{display:block;margin-top:6px;font-size:10px;color:var(--muted)}.relationship p{font-size:11px}.field-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:10px;padding:8px 0;border-bottom:1px solid #eef1f4;line-height:1.45;font-size:11px}.field-row dt{color:#77828e;font-family:ui-monospace,SFMono-Regular,monospace;font-size:10px;overflow-wrap:anywhere}.field-row dd{margin:0;overflow-wrap:anywhere}.fields{margin:0}.raw-source{margin:12px 0 24px}.raw-source summary{font-size:11px;cursor:pointer;font-weight:650;color:#4e647a;line-height:1.5}.raw-source>p{font-size:10px;color:var(--muted);margin:7px 0}.notice{border:1px solid #ebd5ad;background:#fff8eb;padding:10px 11px;border-radius:6px;font-size:11px;line-height:1.6;margin:12px 0;color:#816332}.metric-row{display:flex;gap:8px;margin:12px 0}.metric{background:#f5f7fa;border-radius:6px;padding:11px;flex:1}.metric strong{display:block;font-size:19px;font-weight:600}.metric span{display:block;font-size:10px;color:var(--muted);margin-top:4px}.child-link{display:flex;align-items:center;gap:7px;width:100%;text-align:left;padding:7px 0;border:0;border-radius:0;background:transparent;font-size:11px;line-height:1.5;color:#395a7b}.child-link .count{margin-left:auto;color:#8b96a1;font-size:10px;white-space:nowrap}.source-date{font-size:10px;color:var(--muted);margin-top:12px;line-height:1.5}.mini-search{width:100%;padding:8px 10px;border:1px solid var(--line);border-radius:6px;font-size:11px;margin:10px 0}.claim{padding:10px 0;border-bottom:1px solid #e8edf2;line-height:1.5;font-size:11px}.claim small{display:block;font-size:10px;margin-top:3px}.claim .badge{float:right;font-size:9px}.more-button{width:100%;font-size:11px;margin:12px 0}.role{border-bottom:1px solid #edf0f3;padding:10px 0;font-size:12px;line-height:1.5}.role small{display:block;font-size:10px;margin-top:3px}dialog{width:min(900px,95vw);max-height:88vh;border:1px solid var(--line);border-radius:13px;padding:25px 28px;color:var(--ink);box-shadow:0 20px 90px #122b4630}dialog::backdrop{background:#17293b55;backdrop-filter:blur(2px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.dialog-heading button{font-size:21px;border:0}.dialog-heading h2{font-size:21px}dialog>p{font-size:12px;color:var(--muted);margin:12px 0}.source-table{width:100%;border-collapse:collapse;font-size:11px;margin:18px 0}.source-table th{text-align:left;color:var(--muted);font-weight:500;padding:10px 7px;border-bottom:1px solid var(--line)}.source-table td{padding:10px 7px;border-bottom:1px solid #edf0f3}.source-table button{font-size:10px;padding:4px 6px}.dialog-actions{display:flex;gap:10px;margin-top:18px}.pill{display:inline-block;padding:3px 7px;background:#edf2f6;color:#647b8c;border-radius:20px;font-size:10px}.source-file{word-break:break-all;font-size:10px;color:var(--muted)}[hidden]{display:none!important}@media(min-width:1700px){.workspace{grid-template-columns:300px minmax(500px,1fr) 390px}}@media(max-width:1150px){.workspace{grid-template-columns:225px minmax(300px,1fr) 300px}.header-actions>span{display:none}.masthead{padding:0 18px}.toolbar{padding:8px}.graph-heading{padding:17px 15px 8px}.inspector-header,.inspector-body{padding-left:15px;padding-right:15px}.legend{gap:8px}.graph-help{line-height:1.5}.tabs button{padding:8px 5px}}@media(max-width:850px){.workspace{grid-template-columns:210px minmax(300px,1fr);height:auto;min-height:calc(100vh - 84px)}.graph-pane{height:calc(100vh - 84px);min-height:550px}.inspector{grid-column:1/-1;border-top:1px solid var(--line);border-left:0;max-height:none}.inspector-body{max-width:900px}.inspector-header h2{font-size:19px}.brand h1{font-size:16px}.navigator{max-height:calc(100vh - 84px)}.nav-note{display:none}.organization-list{max-height:calc(100vh - 460px)}}@media(max-width:560px){.masthead{height:90px;padding:12px}.brand-mark{display:none}.header-actions button{font-size:10px}.brand h1{font-size:15px}.brand p{font-size:9px}.workspace{display:block}.navigator{max-height:210px;border-bottom:1px solid var(--line);overflow:auto}.nav-top{padding:12px}.nav-top h2,.examples,.browse-heading,.organization-list{display:none}.search-results{min-height:50px;max-height:110px}.graph-pane{height:65vh;min-height:430px}.graph-heading h2{font-size:15px}.toggles{gap:6px}.toggles label{font-size:9px}.tools button{font-size:9px}.graph-footer{font-size:9px}.graph-help{font-size:9px}}

/* Designation associations and organization depth ordering. */
.browse-order{font-size:11px;color:#687d90;margin:0 16px 8px;line-height:1.5}.depth-heading{font-size:11px;font-weight:650;color:#657789;padding:14px 16px 7px;background:#f8fafc;border-top:1px solid #e6edf3}.dot.designation,.designation-dot{background:#905a96}.badge.designation{color:#805287;background:#f1e8f3}.child-link small{display:block;color:#81909e;font-size:10px;margin-top:3px}.role button{display:block;text-align:left;color:#805287;border:0;background:transparent;padding:0;font-weight:600}.segmented button{padding-left:6px;padding-right:6px}.toggles{flex-wrap:wrap}.toolbar{flex-wrap:wrap;row-gap:8px}.graph-footer{gap:8px;flex-wrap:wrap}
/* Explicit government scope; dataset bundles are loaded one selection at a time. */
.scope-picker{padding:17px 16px 12px;border-bottom:1px solid var(--line);background:#f0f4f9;position:sticky;top:0;z-index:4}.scope-picker label{display:block;font-size:11px;font-weight:650;color:#50657e;margin-bottom:8px}.scope-picker select{display:block;width:100%;min-width:0;max-width:100%;padding:9px 7px;border:1px solid #b9c9da;border-radius:7px;color:#233d5c;background:white;font-size:12px}.scope-picker p{font-size:10px;color:#64778b;margin-top:6px;line-height:1.5;min-height:15px}.scope-picker p.error{color:#ad3d37}.scope-busy .graph-pane,.scope-busy .inspector,.scope-busy .nav-top,.scope-busy #browse-panel,.scope-busy #search-results{pointer-events:none}.scope-busy #sources-button{pointer-events:none;opacity:.5}
/* All records remain in scrollable lists; only the on-screen rows enter the DOM. */
.inspector-actions{flex-wrap:wrap}.children-scroll{position:relative;overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:6px;margin-top:9px}.children-spacer{position:relative}.virtual-child{position:absolute;left:0;right:0;height:56px}.virtual-child .child-link{height:56px;padding:5px 8px;border-bottom:1px solid #edf0f4}.child-text{flex:1;min-width:0}.child-text>span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.child-text small{display:block;font-size:10px;margin-top:3px}.children-scroll:focus-visible{outline:3px solid #5596dd80;outline-offset:2px}.graph-help{line-height:1.6}
/* Location and coverage are attached detail boxes, outside the hierarchy layout. */
.reference-panel{position:absolute;z-index:5;width:min(320px,calc(100% - 16px));max-height:calc(100% - 16px);overflow:auto;border:1px solid #c4a66d;border-radius:9px;background:#fffdf7;box-shadow:0 6px 24px #273d5629;padding:12px 14px;overscroll-behavior:contain}.reference-panel[data-kind=coverage]{border-color:#d18d7a;background:#fff3ef}.reference-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#866126;font-size:12px}.reference-panel[data-kind=coverage] .reference-heading{color:#963f2b}.reference-heading button{border:0;background:transparent;font-size:20px;padding:0 5px;line-height:24px}.reference-owner{font-size:10px;line-height:1.5;color:#586b7d;margin:3px 0 10px;overflow-wrap:anywhere}.reference-owner small{white-space:nowrap}.reference-location h3{font-size:15px;text-transform:none;letter-spacing:0;line-height:1.5}.reference-location dl{margin:8px 0 0;font-size:11px}.reference-location dl>div{display:flex;gap:10px;justify-content:space-between;padding:5px 0}.reference-location dt{color:#7e796b}.reference-location dd{margin:0;text-align:right}.reference-location code{font-size:10px}.reference-location .muted{font-size:10px;margin-top:7px}.reference-actions{margin-top:10px}.reference-actions button{font-size:10px;padding:5px 8px;background:transparent}.reference-panel .mini-search{width:100%;margin:0;font-size:11px}.reference-panel #reference-count{font-size:10px;color:var(--muted);margin:5px 0}.reference-list{height:200px;max-height:30vh;position:relative;overflow:auto;overscroll-behavior:contain;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}#reference-spacer{position:relative}.reference-row{position:absolute;left:0;right:0;height:76px;padding:8px 4px;border-bottom:1px solid #e5eaf0;line-height:1.4}.reference-row strong{display:block;font-size:11px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reference-row small{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.coverage-flag{display:inline-block;font-size:9px;color:#276c61;background:#e7f3ef;border-radius:3px;padding:2px 5px;margin-top:3px}.coverage-flag.partial{color:#926422;background:#fcf0d9}#reference-empty{font-size:11px;padding:12px 0}.reference-list:focus-visible{outline:3px solid #5596dd80;outline-offset:-3px}

/* Unit actions share a regular grid and stable category colors. */
.unit-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.unit-actions [data-focus]{grid-column:1/-1;order:0}.unit-actions [data-location]{order:1;grid-column:1;color:#866126;border-color:#c4a66d;background:#fffaf0}.unit-actions [data-coverage]{order:2;grid-column:2;color:#963f2b;border-color:#d18d7a;background:#fff3ef}.unit-actions [data-titles]{order:3;grid-column:1;color:#78467f;border-color:#c8a9ce;background:#faf3fb}.unit-actions [data-toggle]{order:4;grid-column:2;color:#4b647c;border-color:#b1c0ce;background:#f1f5f9}.reference-panel[data-kind=coverage] .reference-actions button{color:#963f2b;border-color:#d18d7a}.reference-panel[data-kind=coverage] .reference-list{border-color:#ead1c8}

.unit-actions button:disabled{color:#83909d;border-color:#e1e6eb;background:#edf0f3;opacity:1;cursor:default}
.pages-explorer .masthead{background:#fafbf8;border-color:#dbe3dc}.pages-explorer .brand-mark{color:#116c58;background:#edf3ed;border-color:#cbd9cb;text-decoration:none;font-size:11px;white-space:nowrap;width:56px}.pages-explorer .brand-mark:hover{background:#dce9dd}.pages-explorer .brand h1{color:#203b36}
.search-help{font-size:9px;color:#718091;margin-top:8px;line-height:1.5}
@media(max-width:560px){.pages-explorer .brand-mark{display:grid;width:43px;flex:none}.pages-explorer .brand{gap:8px}.pages-explorer .brand h1{font-size:14px}}
