:root{color-scheme:dark;--bg:#18212c;--surface:#202b38;--raised:#263342;--map:#19232f;--border:#354252;--text:#e1e7ee;--muted:#a5b3c3;--accent:#8cb5df;--warn:#dfb980;--mono:'SF Mono',SFMono-Regular,ui-monospace,Menlo,monospace;--radius:12px;font:15px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button{min-height:36px;padding:7px 12px;border:1px solid var(--border);border-radius:8px;background:var(--raised);color:var(--text);cursor:pointer;transition:background .12s,border-color .12s}button:hover{background:#344659;border-color:#5a7189}button:active{background:#3b536b}button.active,button[aria-selected=true]{background:#354d66;border-color:#7c9fbf;color:#fff}button:disabled{opacity:.45;cursor:default}button.primary{background:#467398;border-color:#5f91b7;color:white;font-weight:600}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,[role=separator]:focus-visible{outline:3px solid var(--accent);outline-offset:3px}input,select,textarea{background:#182431;border:1px solid #465569;border-radius:7px;color:var(--text);padding:8px 10px;min-height:38px;max-width:100%}input[type=checkbox]{accent-color:#91b4d3;min-height:0;width:16px;height:16px;flex:none;margin:0}input[type=range]{padding:0;accent-color:#90b4d6;width:100%;min-height:28px}input[type=number]{width:100%}label{display:block;color:var(--muted);font-size:14px}label select,label input:not([type=checkbox]),label textarea{display:block;margin-top:6px;width:100%}label.check{display:flex;align-items:center;gap:9px;margin:12px 0;color:var(--text)}h1,h2,h3,p{margin-top:0}h1{font-size:30px;line-height:1.2;letter-spacing:-.6px;margin-bottom:12px}h2{font-size:21px;line-height:1.3;margin-bottom:10px}h3{font-size:16px;margin-bottom:8px}p{color:var(--muted);margin-bottom:14px}a{color:#a6c8e9;text-underline-offset:3px}small,.muted{font-size:13px;color:var(--muted)}.eyebrow{font:11px/1.6 var(--mono);letter-spacing:1px;color:#9dafc3;margin-bottom:8px}.row{display:flex;gap:8px;align-items:center}.row h2{margin:0;margin-right:auto}.row b{margin-right:auto}.tag{font-size:12px;white-space:nowrap;color:#b0c5bb;background:#273c3d;padding:4px 8px;border-radius:5px}.brand{display:flex;gap:10px;align-items:center}.brand b{font-size:17px;display:block}.brand small{font:11px var(--mono)}.mark{font-size:27px;color:#91afd0}header{height:76px;position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:22px;padding:12px 24px;background:#202b37;border-bottom:1px solid var(--border)}.workspaceTabs{display:flex;gap:5px;background:#182431;padding:4px;border-radius:10px;margin:auto}.workspaceTabs button{background:transparent;border-color:transparent;padding:8px 16px;font-weight:600}.workspaceTabs button.active{background:#354a60;border-color:#4b657e}.headerActions{display:flex;gap:6px}.headerActions button{font-size:13px}.pageWorkspace{max-width:1560px;margin:auto;padding:36px 40px 60px}.pageHeading,.sectionHeading{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:24px}.pageHeading p,.sectionHeading p{margin-bottom:0}.statGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.statCard,.panel,.issueCard,.overviewSummary,.capabilityNote{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px}.statCard span{display:block;color:var(--muted);font-size:14px}.statCard b{display:block;font:600 32px/1.3 var(--mono);margin:10px 0 6px;letter-spacing:-1px}.statCard small{font-size:13px}.overviewSummary{display:grid;grid-template-columns:1.15fr 1fr;gap:40px;margin-bottom:36px}.overviewSummary h2{font-size:26px;max-width:600px}.overviewSummary p{max-width:640px}.categorySummary{display:grid;grid-template-columns:1fr 1fr;gap:10px 24px}.categoryItem{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);padding:7px 0;font-size:14px}.categoryItem b{font:600 18px var(--mono)}.issueGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.issueCard{padding:22px;display:flex;flex-direction:column}.issueCard.priority{border-top:3px solid #d6b280}.issueCard.review{border-top:3px solid #849eb8}.issueCard h3{font-size:18px;margin:12px 0}.issueCard .issueValue{font:600 24px/1.4 var(--mono);margin:0 0 8px}.issueCard p{font-size:14px}.issueCard .actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:12px}.issueCard .actions button{font-size:13px;min-height:36px}.severity{font-size:12px;font-weight:600;color:#dfbf91}.severity.review{color:#aac1d6}.evidenceText{font-size:13px;color:#9cafc3}.sectionHeading{margin-top:36px}.tableScroll{overflow:auto;border:1px solid var(--border);border-radius:12px;background:var(--surface)}table{border-collapse:collapse;width:100%;font-size:14px;text-align:left}th{color:#bac9d8;font-weight:600;background:#273544;position:sticky;top:0}td,th{padding:14px 16px;border-bottom:1px solid var(--border);white-space:nowrap}td:nth-child(n+2){font-variant-numeric:tabular-nums}.lineBadge{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:7px;margin-right:10px;border:1px solid #ffffff30;color:#fff;font:600 13px var(--mono)}.capabilityNote{margin-top:32px}.capabilityNote summary{cursor:pointer}.inventoryLinks{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.inventoryLinks a{padding:6px 12px;border:1px solid var(--border);border-radius:6px}.exploreWorkspace{display:flex;height:calc(100dvh - 76px);min-height:480px}.navigator{width:270px;flex:none;overflow:auto;background:#202c38;border-right:1px solid var(--border)}.navigator section{padding:20px;border-bottom:1px solid var(--border)}.navigator h1{font-size:23px}.navigator .project p{font-size:13px}.safe{font-size:12px;color:#b0c8be}.sectionTitle{font-size:15px;font-weight:600;margin-bottom:14px}.navigator label{margin-top:15px}.navigator .row button{font-size:12px;padding:4px 8px;min-height:30px}.lineRow{display:flex;align-items:center;gap:4px;margin:5px -8px;padding:5px 8px;border-radius:8px}.lineRow:hover{background:#2e4051}.lineRow label{display:grid;grid-template-columns:16px 32px minmax(0,1fr);gap:10px;align-items:center;margin:0;flex:1;min-width:0;cursor:pointer}.lineRow .lineChip{width:32px;height:32px;display:grid;place-items:center;border-radius:7px;border:1px solid #ffffff30;color:#f0f3f6;font:600 12px var(--mono);text-shadow:0 1px 2px #000}.lineRow label b{font-size:13px;display:block;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.lineRow small{font-size:11px;display:block;white-space:nowrap}.lineRow button{padding:2px 4px;min-height:28px;background:transparent;border-color:transparent;color:#98adc2}.navigator select{font-size:14px}.navigator output{float:right;color:#abc5de;font:13px var(--mono)}.inputGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}#problemCount{margin:14px 0;color:#d9be96;font-size:13px}.workspace{flex:1;min-width:0;display:flex;flex-direction:column}.toolbar,.threeToolbar{display:flex;align-items:center;gap:8px;padding:12px 16px;background:#22303d;border-bottom:1px solid var(--border);flex-wrap:wrap;flex:none}.toolbar button,.threeToolbar button{min-height:34px;padding:6px 10px;font-size:13px}.segmented{display:flex;gap:3px}#interactionHint{margin-left:auto;font-size:12px;color:var(--muted)}#mapSearch{width:220px;font-size:13px}.threeToolbar label{display:flex;align-items:center;gap:8px;margin:0;font-size:12px}.threeToolbar label select{width:auto;margin:0;min-height:32px;padding:3px 8px;font-size:12px}.threeToolbar label input[type=number]{width:58px;min-height:30px;padding:3px 6px;margin:0}.threeToolbar>span{font-size:12px;color:var(--muted)}#mapWrap{position:relative;flex:1;min-height:220px;overflow:hidden;background:var(--map)}#map,#threeWrap{position:absolute;inset:0;width:100%;height:100%}#map{cursor:grab;touch-action:none}#threeWrap>canvas{width:100%;height:100%;display:block}.mapbadge,#legend,#coords,#scale{position:absolute;pointer-events:none;font:12px var(--mono);color:#adbed0}.mapbadge{left:14px;top:12px}#legend{right:16px;top:14px;background:#233140e8;padding:9px 12px;border:1px solid #3c4c5e;border-radius:8px;max-width:260px;font-size:12px}#coords{left:0;bottom:0;width:100%;padding:8px 14px;background:#202d3ddd}#scale{right:20px;bottom:48px;border-bottom:2px solid #adbed0;text-align:center;padding-bottom:5px;min-width:60px}.ramp{height:7px;background:linear-gradient(90deg,#6285a8,#76aca9,#b4bf98,#d0b389);border-radius:4px;margin:7px 0}#profilePanel{height:260px;min-height:90px;flex:none;position:relative;background:#202c39;border-top:1px solid var(--border);display:flex;flex-direction:column;padding:12px 16px}#profileResize{position:absolute;top:-5px;left:0;width:100%;height:9px;cursor:ns-resize;z-index:4}#profileResize:before{content:'';display:block;width:56px;height:3px;border-radius:4px;background:#61778c;margin:2px auto}.profileToolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;flex:none;font-size:13px}.profileToolbar b{font-size:14px}.profileToolbar select{min-height:32px;font-size:12px;padding:4px 8px;max-width:270px}.profileToolbar button{min-height:30px;font-size:12px;padding:4px 9px}.profileStatus{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin:10px 0;gap:12px}.profileStatus span{min-width:0}#profile{flex:1;min-height:40px;width:100%}.profileCollapsed #profilePanel{height:62px!important}.profileCollapsed #profile,.profileCollapsed .profileStatus{display:none}.details{width:320px;flex:none;padding:24px;overflow:auto;background:#202c38;border-left:1px solid var(--border)}.details h2{font-size:22px}.details h3{margin-top:20px}.details p{font-size:14px}.metric{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid var(--border);font-size:13px}.metric b{font-family:var(--mono);font-size:12px;text-align:right;font-weight:500}.metricGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.metricCard{padding:12px;background:#2b3b4b;border:1px solid var(--border);border-radius:8px}.metricCard span{display:block;font-size:12px;color:var(--muted)}.metricCard b{display:block;font:600 17px var(--mono);margin-top:8px}.curveButton{width:100%;margin-bottom:8px;font:12px var(--mono);text-align:left}.validationNotes{margin-top:28px;border-top:1px solid var(--border);padding-top:18px;font-size:13px}.validationNotes p{font-size:12px}#analysisSummary{display:none}#pickOptions button{width:100%;margin:6px 0;font-size:12px}.details code{font:11px var(--mono);overflow-wrap:anywhere;color:#9cacbd}details{margin:14px 0}summary{cursor:pointer;color:#b9cce0;padding:8px 0}details .metric{font-size:12px}.navCollapsed .navigator{display:none}.inspectorCollapsed .details{display:none}.selectionPill{background:#2d4358;border:1px solid #506f8c;border-radius:8px;padding:10px 12px;margin:14px 0;font-size:13px}.selectionPill button{margin-top:8px}.designGrid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}.designWorkspace>.panel{margin:20px 0}.formGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.calculationResult{background:#2b3e50;border-radius:9px;padding:18px;margin:18px 0;font-size:16px}.calculationResult b{font:600 25px var(--mono);display:block;margin-bottom:8px}.designSelection{background:#263747;border:1px solid #455f78;padding:24px;border-radius:12px}.designSelection h2{font-size:24px}.designSelection .row{flex-wrap:wrap}.planGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.planGrid>div{padding:14px;background:#20303f;border-radius:8px}.planGrid b{display:block;font:600 22px var(--mono);margin:8px 0}.threeLabel{position:absolute;left:0;top:0;pointer-events:none;background:#233140dc;border:1px solid #536c86;color:#d1e0ef;padding:3px 7px;font:12px var(--mono);border-radius:4px;white-space:nowrap}.threeError{padding:36px}.searchResults{position:fixed;top:128px;left:50%;transform:translateX(-50%);z-index:60;width:min(600px,90vw);max-height:420px;overflow:auto;background:#293c4e;border:1px solid #5b7896;padding:12px;border-radius:12px;box-shadow:0 16px 40px #10192680}.searchResults button{display:block;width:100%;text-align:left;margin:4px 0}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:80;background:#365168;border:1px solid #7693ad;padding:12px 20px;border-radius:9px;max-width:90vw}dialog{width:min(820px,90vw);max-height:86vh;overflow:auto;border:1px solid #566b81;border-radius:14px;background:#243343;color:var(--text);padding:28px}dialog::backdrop{background:#101924ae}textarea{width:100%;resize:vertical}#codeStatus{margin:16px 0;color:#c8d9e7}#loading{position:absolute;inset:0;display:grid;place-items:center;background:var(--map);z-index:8}#printSheet{display:none}body[data-workspace=overview] #exploreWorkspace,body[data-workspace=overview] #designWorkspace,body[data-workspace=explore] #overviewWorkspace,body[data-workspace=explore] #designWorkspace,body[data-workspace=design] #overviewWorkspace,body[data-workspace=design] #exploreWorkspace{display:none}#moreIssues{margin-top:20px}.critical{color:#ebc299}.rawCoordinates{font:14px var(--mono);color:#b1cce4}.statHint{font-size:12px;white-space:normal;max-width:220px}.blockInventory{display:flex;gap:10px;flex-wrap:wrap;font-size:13px}.blockInventory span{background:#304253;padding:6px 10px;border-radius:5px}.operationsNote{font-size:13px;margin-top:14px}
@media(max-width:1250px){header{padding:12px 16px;gap:12px}.tag{display:none}.headerActions button{padding:6px 8px}.workspaceTabs button{padding:7px 10px;font-size:13px}.navigator{width:240px}.details{width:280px;padding:18px}.issueGrid{grid-template-columns:1fr 1fr}.toolbar{gap:6px;padding:10px}#interactionHint{display:none}.pageWorkspace{padding:28px}.overviewSummary{gap:24px}.formGrid{grid-template-columns:1fr 1fr}.statCard{padding:18px}}
@media(max-width:950px){header{height:auto;min-height:106px;flex-wrap:wrap}.brand{flex:1}.workspaceTabs{order:3;width:100%;justify-content:center;margin:0}.headerActions button:nth-child(n+3){display:none}.exploreWorkspace{height:calc(100dvh - 110px)}.details{position:absolute;right:0;top:110px;bottom:0;z-index:20;box-shadow:-10px 0 30px #10192680;width:300px}.navigator{width:220px}.statGrid{grid-template-columns:1fr 1fr}.overviewSummary{grid-template-columns:1fr}.pageWorkspace{padding:24px}.designGrid{grid-template-columns:1fr}.toolbar{padding:8px}#mapSearch{width:190px}.toolbar #clearMeasure{display:none}.pageHeading{gap:16px}.pageHeading h1{font-size:27px}.profileToolbar b{display:none}}
@media(max-width:650px){.issueGrid{grid-template-columns:1fr}.pageWorkspace{padding:20px 16px}.pageHeading,.sectionHeading{flex-direction:column}.statGrid{gap:10px}.statCard b{font-size:26px}.statCard{padding:16px}.categorySummary{gap:8px 16px}.navigator{position:absolute;top:110px;bottom:0;z-index:22;width:260px;box-shadow:10px 0 30px #10192680}.formGrid,.planGrid{grid-template-columns:1fr}.workspaceTabs button{font-size:12px;padding:6px 8px}.overviewSummary{padding:20px}#toggleInspector{font-size:0}#toggleInspector:after{content:'参数';font-size:12px}.profileToolbar select{max-width:180px}.threeToolbar .check{font-size:11px}}
@media print{header,.pageWorkspace,.exploreWorkspace,dialog,#toast{display:none!important}#printSheet{display:block;color:black;background:white}#printSheet svg{width:100%;height:auto}}
/* Greenfield Portal: neutral Settings-style surfaces; line colours retain their identity. */
:root{color-scheme:light;--bg:#f2f2f7;--surface:#fff;--raised:#e9e9ee;--map:#fafafa;--border:#dcdce1;--text:#1c1c1e;--muted:#636366;--accent:#48484a;--warn:#636366;--grid:#ebebee;--axis:#77777c;--plot:#48484a;--selection:#121214;--radius:14px;font-size:16px}
body[data-theme=dark]{color-scheme:dark;--bg:#000;--surface:#1c1c1e;--raised:#2c2c2e;--map:#101012;--border:#38383a;--text:#f2f2f7;--muted:#aeaeb2;--accent:#d1d1d6;--warn:#c7c7cc;--grid:#202022;--axis:#8e8e93;--plot:#d1d1d6;--selection:#fff}
body{background:var(--bg);color:var(--text)}header{height:96px;background:var(--surface);border-color:var(--border);gap:16px;padding:12px 24px}.brand{width:392px;flex:none;gap:13px}.brand b{font-size:18px;line-height:1.25;letter-spacing:-.3px}.brand small{font:14px/1.6 -apple-system,BlinkMacSystemFont,sans-serif;color:var(--muted)}.brandLogo{display:grid;place-items:center;width:48px;height:48px;flex:none;border:2px solid var(--text);border-radius:12px;color:var(--text);font:600 20px/1 var(--mono);letter-spacing:-1px}.workspaceTabs{background:var(--bg);border:1px solid var(--border);margin:auto;border-radius:10px;padding:4px}.workspaceTabs button{color:var(--muted);font-size:14px;padding:8px 13px}.workspaceTabs button.active{background:var(--surface);color:var(--text);border-color:var(--border);box-shadow:0 1px 3px #00000012}.tag{background:var(--bg);color:var(--muted)}button{background:var(--surface);color:var(--text);border-color:var(--border);font-size:14px;min-height:40px;padding:8px 13px;border-radius:9px}button:hover{background:var(--raised);border-color:var(--muted)}button.active,button[aria-selected=true]{background:var(--raised);color:var(--text);border-color:var(--muted)}button.primary{background:var(--text);color:var(--surface);border-color:var(--text);font-weight:600}button.primary:hover{opacity:.82}input,select,textarea{background:var(--surface);border-color:var(--border);color:var(--text);min-height:40px}input[type=checkbox],input[type=range]{accent-color:var(--text)}.eyebrow{color:var(--muted);font:12px/1.6 var(--mono);letter-spacing:.7px}h1{font-size:32px;letter-spacing:-.7px}h2{font-size:23px}h3{font-size:18px}p{line-height:1.65;color:var(--muted)}a{color:var(--text)}.pageWorkspace{max-width:1560px;padding-top:34px}.statCard{padding:24px}.statCard b{font-size:36px;line-height:1.3;letter-spacing:-1px;margin:10px 0}.statCard span{font-size:15px}.statCard small{font-size:13px}.overviewSummary{background:var(--surface);border-color:var(--border);gap:44px;padding:28px}.overviewSummary h2{font-size:28px;line-height:1.35}.categoryItem{border-color:var(--border);font-size:14px;padding:9px 0}.categoryItem b{font-size:20px}.issueGrid{gap:20px}.issueCard{border:1px solid var(--border)!important;position:relative;padding:24px;overflow:hidden;background:var(--surface);border-radius:14px;gap:0}.issueLineBand{display:flex;position:absolute;inset:0 0 auto;height:5px}.issueLineBand span{flex:1;background:var(--muted)}.issueCardHeader{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}.issueLineLabel{font:11px/1.3 var(--mono);color:var(--muted);letter-spacing:.6px}.issueCard .issueLineNumber{font:600 34px/1.2 var(--mono);letter-spacing:-.6px;margin:3px 0 0;color:var(--text)}.issueKind{font-size:14px;line-height:1.4;text-align:right;color:var(--text);max-width:66%;padding-top:5px}.issueKind small{display:block;margin-top:5px;font-size:12px;color:var(--muted)}.severity,.severity.review{color:var(--muted);font-size:12px;line-height:1.5;margin-bottom:12px}.issueCard .issueValue{font-size:22px;color:var(--text);line-height:1.45;margin-bottom:16px;letter-spacing:-.4px}.issueCard p{font-size:14px;line-height:1.65;margin-bottom:16px}.issueCard .evidenceText{color:var(--muted);font-size:13px;line-height:1.6}.issueCard .actions{padding-top:14px;border-top:1px solid var(--border);gap:8px}.issueCard .actions button{font-size:13px;padding:8px 10px;min-height:38px}.tableScroll{background:var(--surface);border-color:var(--border);border-radius:14px}th{background:var(--bg);color:var(--muted);font-size:13px;font-weight:600;padding:16px;text-align:left}td{padding:17px 16px;font-size:14px;border-color:var(--border);vertical-align:middle}tr:hover td{background:var(--bg)}.lineBadge{color:var(--text);background:var(--surface)!important;position:relative;border:1px solid var(--border);height:36px;width:36px;border-radius:8px;font-size:15px}.lineBadge:before{content:'';position:absolute;top:0;left:0;right:0;height:3px;border-radius:6px 6px 0 0;background:var(--line-color,var(--muted))}.operationsNote{font-size:13px;line-height:1.7}.exploreWorkspace{height:calc(100dvh - 126px)}.navigator,.details{background:var(--surface);border-color:var(--border)}.navigator .project p{font-size:14px;line-height:1.5}.safe{color:var(--muted)}.lineRow:hover{background:var(--bg)}.lineRow label b{font-size:14px;color:var(--text)}.lineRow small{font-size:12px;color:var(--muted)}.lineRow .lineChip{color:var(--text);background:var(--surface)!important;position:relative;border-color:var(--border);font-size:13px;text-shadow:none;overflow:hidden}.lineRow .lineChip:before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:var(--line-color,var(--muted))}.lineRow button{color:var(--muted)}.navigator section{border-color:var(--border)}.navigator output{color:var(--muted)}.toolbar,.threeToolbar{background:var(--surface);border-color:var(--border)}.toolbar input{background:var(--bg)}#mapWrap{background:var(--map)}.mapbadge,#legend,#coords,#scale{color:var(--muted)}#legend{background:var(--surface);border-color:var(--border);font-size:12px}#coords{background:var(--surface);color:var(--muted);border-top:1px solid var(--border)}#scale{border-color:var(--text);color:var(--text)}#profilePanel{background:var(--surface);border-color:var(--border)}#profileResize:before{background:var(--muted)}.details h2{font-size:24px}.details p{font-size:14px}.metric{border-color:var(--border);font-size:14px}.metric b{color:var(--text)}.metricCard{background:var(--bg);border-color:var(--border);padding:15px}.metricCard b{font-size:23px;color:var(--text)}.metricCard span{font-size:13px}.selectionPill{background:var(--bg);border-color:var(--border);font-size:15px;padding:16px}.selectionPill p{font-size:14px;line-height:1.6;margin:10px 0 14px}.validationNotes{border-color:var(--border)}.calculationResult{background:var(--bg);color:var(--text);padding:22px}.calculationResult b{font-size:28px}.designSelection,.planGrid>div{background:var(--surface);border-color:var(--border)}.designSelection{padding:28px}.rawCoordinates{color:var(--text);font-size:14px}.threeLabel{background:var(--surface);border-color:var(--border);color:var(--text);font-size:13px}.searchResults{background:var(--surface);border-color:var(--border);box-shadow:0 12px 40px #00000020;top:154px}.searchResults button{background:var(--surface)}#toast{background:var(--text);color:var(--surface);border-color:var(--text)}dialog{background:var(--surface);color:var(--text);border-color:var(--border)}dialog::backdrop{background:#00000050}#codeStatus{color:var(--text)}.blockInventory span{background:var(--bg);color:var(--text)}#problemCount,.critical{color:var(--muted)}.portalFooter{min-height:30px;display:flex;align-items:center;justify-content:center;background:var(--surface);border-top:1px solid var(--border);padding:6px 18px;color:var(--muted);font:11px/1.5 var(--mono);letter-spacing:.3px}body[data-workspace=explore]{overflow:hidden}.formGrid{gap:20px}.sectionHeading{align-items:center}.sectionHeading p{font-size:14px}.panel>p{font-size:15px}.details code{color:var(--muted)}summary{color:var(--text)}
@media(max-width:1350px){header{gap:10px;padding:12px 18px}.brand{width:340px}.brand b{font-size:16px}.workspaceTabs button{font-size:13px;padding:8px 10px}.headerActions{gap:4px}.headerActions button{font-size:12px;padding:6px 8px}}
@media(max-width:1100px){header{height:138px;flex-wrap:wrap}.brand{flex:1;width:auto}.workspaceTabs{order:3;width:100%;justify-content:center;flex:none;margin:0}.headerActions{margin-left:auto}.exploreWorkspace{height:calc(100dvh - 168px)}.details,.navigator{top:138px;bottom:30px}.searchResults{top:195px}.issueGrid{grid-template-columns:1fr 1fr}.pageWorkspace{padding-top:28px}}
@media(max-width:650px){header{padding:10px 14px}.brand{gap:9px}.brand b{font-size:13px;line-height:1.3}.brand small{font-size:12px}.brandLogo{width:37px;height:37px;border-radius:9px;font-size:16px}.headerActions #audit,.headerActions #csv{display:none}.headerActions #themeToggle{display:block;font-size:12px}.workspaceTabs button{font-size:12px;padding:6px 9px}.issueGrid{grid-template-columns:1fr}.issueCard .issueLineNumber{font-size:34px}.statCard b{font-size:29px}.statCard{padding:18px}.overviewSummary h2{font-size:24px}.navigator,.details{top:138px;bottom:30px}.portalFooter{font-size:8px;letter-spacing:0}.pageHeading h1{font-size:28px}}
@media print{.portalFooter{display:none}}
.statCard b{white-space:nowrap;font-size:34px}.statGrid{margin-bottom:22px}.statCard{min-height:154px}.statCard small{line-height:1.6;display:block}.statHint{font-size:12px}.overviewSummary{margin-bottom:28px}.pageHeading{margin-bottom:22px}.issueCardHeader .issueKind{padding-top:3px}.headerActions button{white-space:nowrap}.portalFooter{position:relative;z-index:25}

.lineTableName{margin:10px 0 14px;font-size:14px;line-height:1.5;color:var(--muted)}.lineGroupStart td{border-top:2px solid var(--border)}#lineInventory td[rowspan]{vertical-align:top}#lineInventory td{white-space:nowrap}#lineInventory td:first-child{white-space:normal;min-width:140px}

/* Task flow: resource selector, issue list, black inspection canvas, contextual detail. */
:root,body[data-theme=light],body[data-theme=dark]{--map:#191b20}button{transition:none}h1,h2,h3,.eyebrow,.brand b{letter-spacing:normal;font-weight:600}.eyebrow{font-family:inherit;text-transform:none}.brand{width:auto;max-width:430px}.brandLogo{width:36px;height:36px;border-width:1px;border-radius:6px;font-size:16px}.brand b{font-size:16px}.brand small{font-size:13px}header{height:72px;padding:10px 20px}.workspaceTabs{border:0;background:transparent;gap:4px}.workspaceTabs button{font-size:16px;box-shadow:none!important}.workspaceTabs button.active{border-color:var(--border)}.headerActions button{font-size:14px}.inspectionBar{display:flex;align-items:center;gap:20px;padding:10px 20px;background:var(--surface);border-bottom:1px solid var(--border);min-height:62px}.resourceLabel{font-size:16px;font-weight:600}.resourceLabel span{font-weight:400;color:var(--muted)}.lineResource{display:flex;gap:10px;align-items:center;font-size:16px;color:var(--text)}.lineResource select{width:175px;margin:0;font-size:16px}#inspectionStatus{font-size:15px;color:var(--muted);margin-right:auto}body:not([data-workspace=explore]) #inspectionBar{display:none}.exploreWorkspace{height:calc(100dvh - 164px)}.navigator{width:320px;background:var(--surface)}.navigator .issuePanel{padding:18px 0 12px}.panelTitle{display:flex;align-items:center;justify-content:space-between;padding:0 18px}.panelTitle h2{font-size:18px;margin:0}.panelTitle span{font-size:15px;color:var(--muted)}.listHint{padding:0 18px;margin:7px 0 15px;font-size:15px}.issueFilters{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 18px}.issueFilters select{font-size:15px;min-width:0}.issueFilters #issueSort{grid-column:span 2}.issuePanel>.check{margin:14px 18px;font-size:15px}.issueTableWrap table{table-layout:fixed;border-top:1px solid var(--border)}.issueTableWrap td{padding:0;white-space:normal;border-bottom:1px solid var(--border)}.issueRowButton{display:block;width:100%;text-align:left;padding:14px 18px;border:0;border-radius:0;background:transparent;font-size:16px}.issueRowButton:hover{background:var(--bg)}.selectedIssue .issueRowButton{background:var(--raised);box-shadow:inset 3px 0 var(--text)}.rowStatus{display:block;font-size:14px;color:var(--muted);margin-bottom:5px}.rowTitle{display:block;font-weight:600;line-height:1.4;margin-bottom:5px}.rowValue{display:block;font-variant-numeric:tabular-nums;font-size:16px;line-height:1.5}.rowLocation{display:block;font-size:14px;color:var(--muted);margin-top:4px}.listEmpty{padding:18px;font-size:16px}.issuePanel #moreIssues{margin:14px 18px 0}.navTools{margin:0;border-bottom:1px solid var(--border)}.navTools>summary{padding:14px 18px;font-size:16px}.navTools section{padding:14px 18px}.navigator .lineRow label b{font-size:15px}.navigator .lineRow small{font-size:13px}.details{width:310px;padding:20px}.details h2{font-size:18px;margin-bottom:14px}.details h3{font-size:20px;margin:0 0 12px}.selectionPill{padding:0;background:transparent;border:0;border-radius:0}.selectionPill p,.details p{font-size:16px}.selectionPill .muted{font-size:14px}.metricCard{padding:12px;border-radius:6px}.metricCard b{font-size:24px}.metricCard span{font-size:14px}.details button{font-size:15px}.toolbar{padding:8px 12px;gap:7px}.toolbar button,.profileToolbar button{font-size:15px}.toolbar #mapSearch{font-size:15px;width:220px}#interactionHint{display:none}.threeToolbar label,.threeToolbar button{font-size:15px}.threeToolbar label select{font-size:15px}.threeToolbar>span{font-size:14px}#mapWrap,#map,#threeWrap{background:#191b20}.mapbadge,#coords,#scale{color:#b7c0cf}#coords,#legend{background:#141820;color:#cbd2de;border-color:#343b46}#scale{color:#cbd2de;border-color:#cbd2de}.threeLabel{background:#141820;color:#f4f6fa;border-color:#343b46}#profilePanel{height:220px}.profileToolbar select{font-size:14px}.profileStatus{font-size:14px}.networkDisclosure{border-bottom:1px solid var(--border);padding-bottom:16px}.networkDisclosure>summary{font-size:18px}.overviewSummary{border:0;border-radius:0;padding:16px 0;margin:0}.pageWorkspace{padding:24px 30px}.pageHeading h1{font-size:26px}.statCard{border:0;background:transparent;border-radius:0;padding:12px}.statCard b{font-size:26px}.panel,.designSelection{border-radius:6px;box-shadow:none}.designSelection{padding:20px}.designGrid{gap:20px}.portalFooter{font-size:12px}.validationNotes p{font-size:14px}.navCollapsed .navigator{display:none}.inspectorCollapsed .details{display:none}
@media(max-width:1200px){.brand b{font-size:14px}.brand{max-width:330px}.workspaceTabs button{font-size:15px;padding:8px}.tag{display:none}.details{width:280px}.navigator{width:300px}.resourceLabel{display:none}.toolbar #mapSearch{width:180px}}
@media(max-width:1000px){header{height:110px;flex-wrap:wrap}.workspaceTabs{order:3;width:100%;justify-content:flex-start}.inspectionBar{min-height:62px}.exploreWorkspace{height:calc(100dvh - 202px)}.details{position:absolute;right:0;top:172px;bottom:30px;z-index:24;width:310px;box-shadow:none}.navigator{position:relative;top:0;bottom:auto;z-index:auto;box-shadow:none;width:300px}#inspectionStatus{font-size:14px}.brand{max-width:none;flex:1}.toolbar #mapSearch{width:170px}}
@media(max-width:650px){header{padding:8px 14px}.brand b{font-size:13px}.workspaceTabs button{font-size:15px}.inspectionBar{padding:8px 14px;gap:10px;flex-wrap:wrap}.lineResource{font-size:15px}.lineResource select{width:155px}.inspectionBar #inspectionStatus{display:none}.inspectionBar #openStandards{margin-left:auto}.navigator{position:absolute;top:172px;bottom:30px;left:0;z-index:25;width:min(320px,90vw)}.details{width:min(310px,90vw)}.toolbar #toggleInspector{font-size:15px}.toolbar #toggleInspector:after{display:none}.toolbar #mapSearch{width:160px}.profileToolbar select{max-width:160px}.portalFooter{font-size:9px}.pageWorkspace{padding:20px 16px}}

.gestureHelp{width:100%;font-size:14px;color:var(--muted);line-height:1.5;padding-top:2px}.toolbar #fit{white-space:nowrap}#inspectionFit{white-space:nowrap}.navigator{width:350px}.details{width:300px}.toolbar #mapSearch{flex:1;min-width:160px;max-width:260px}
@media(max-width:1200px){.navigator{width:330px}}
@media(max-width:1000px){.navigator{width:320px}.details{width:310px}}
@media(max-width:650px){#inspectionFit{display:none}.navigator{width:min(340px,90vw)}}

@media(min-width:651px) and (max-width:1000px){.exploreWorkspace{display:grid;grid-template-columns:320px minmax(0,1fr);grid-template-rows:minmax(300px,1fr) auto}.workspace{grid-column:2;grid-row:1}.navigator{grid-column:1;grid-row:1;width:320px}.details{position:static;grid-column:1/-1;grid-row:2;width:100%;max-height:32vh;border-left:0;border-top:1px solid var(--border);padding:16px 20px}.navCollapsed{grid-template-columns:minmax(0,1fr)}.navCollapsed .workspace{grid-column:1}.details .selectionPill{max-width:900px}.metricGrid{max-width:420px}}
@media(max-width:650px){.exploreWorkspace{display:flex;flex-direction:column}.workspace{min-height:300px;flex:1}.details{position:static;width:100%;max-height:34vh;border-left:0;border-top:1px solid var(--border);flex:none;padding:16px}.threeToolbar{max-height:190px;overflow:auto}.threeToolbar .check{font-size:14px}.toolbar{flex-wrap:wrap}.toolbar #mapSearch{min-width:145px}.navigator{height:auto}.gestureHelp{font-size:14px}}

@media(min-width:651px) and (max-width:1000px){.details{max-height:24vh}#profilePanel{height:180px;min-height:120px}#mapWrap{min-height:160px}}
@media(max-width:650px){body[data-workspace=explore]{overflow:auto}.exploreWorkspace{height:auto;min-height:calc(100dvh - 202px)}.workspace{height:calc(100dvh - 202px);min-height:480px;flex:none}.details{max-height:none;overflow:visible}.navigator{position:fixed;top:var(--issue-drawer-top,270px);bottom:0;z-index:25}.threeToolbar{max-height:165px}#profilePanel{height:180px;min-height:120px}#mapWrap{min-height:160px}}

.inspectionBar #mapSearch{font-size:16px;width:220px;min-width:150px;max-width:260px}.threeOptions{margin:0}.threeOptions summary{font-size:15px;padding:5px 0}.threeOptions[open]{flex-basis:100%}.threeOptions[open] label{display:inline-flex;margin:6px 16px 6px 0}.gestureHelp{font-size:14px}.metricCard b{font-size:22px}.metricCard b{overflow-wrap:anywhere}
@media(max-width:1100px){#inspectionStatus{display:none}.inspectionBar #mapSearch{flex:1;max-width:none;width:160px}}
@media(min-width:651px) and (max-width:1000px){.details{max-height:20vh}#profilePanel{height:240px;min-height:180px}}
@media(max-width:650px){.inspectionBar #mapSearch{width:140px;min-width:130px;font-size:15px}.lineResource select{width:125px}#profilePanel{height:240px;min-height:180px}}

/* Keep engineering units together in compact inspectors. */
.metricCard b .metricUnit{display:inline-block;white-space:nowrap;font:inherit;color:inherit}

/* Surfaces follow the task: navigation, queue, selected section and evidence. */
body[data-theme=light]{--canvas-bg:#eef1f5;--canvas-ink:#253448;--canvas-label:#ffffff;--canvas-border:#b6c1ce;--shell:#edf0f4;--navigation:#ffffff;--resource:#e7ebf0;--queue:#f8fafc;--inspector:#ffffff;--evidence:#e7edf5;--evidence-plot:#fbfcfe;--panel-border:#c3ccd8;--divider:#d8dfe8;--selection:#e0e9f4;--section-accent:#526c8b}
body[data-theme=dark]{--canvas-bg:#191b20;--canvas-ink:#e7edf5;--canvas-label:#141820;--canvas-border:#434d5b;--shell:#10151c;--navigation:#20252d;--resource:#151c25;--queue:#202832;--inspector:#29323d;--evidence:#182433;--evidence-plot:#111a25;--panel-border:#526173;--divider:#414d5c;--selection:#374b63;--section-accent:#a5bbd3}
body{background:var(--shell)}header{background:var(--navigation);border-bottom:2px solid var(--panel-border)}.inspectionBar{background:var(--resource);border-bottom:1px solid var(--panel-border)}.resourceLabel{padding-right:20px;border-right:1px solid var(--panel-border)}.workspaceTabs button.active{background:var(--selection);border-color:var(--section-accent);color:var(--text)}
.navigator{background:var(--queue);border-right:1px solid var(--panel-border)}.panelTitle{padding-top:2px;padding-bottom:10px;border-bottom:1px solid var(--divider);margin-bottom:10px}.panelTitle h2{font-size:19px}.listHint{font-size:14px}.issueFilters{padding-bottom:4px}.issueTableWrap table{border-color:var(--divider)}.issueTableWrap td{border-color:var(--divider)}.issueRowButton{background:var(--inspector)}.selectedIssue .issueRowButton{background:var(--selection);box-shadow:inset 4px 0 var(--section-accent)}.selectedIssue .rowStatus{color:var(--text)}.navTools{border-color:var(--divider)}
.toolbar{background:var(--resource);border-bottom:1px solid var(--panel-border)}.threeToolbar{background:var(--resource);border-bottom:1px solid var(--panel-border)}#mapWrap,#map,#threeWrap{background:var(--canvas-bg)}.mapbadge,#coords,#scale{color:var(--canvas-ink)}#coords,#legend{background:var(--canvas-label);color:var(--canvas-ink);border-color:var(--canvas-border)}#scale{color:var(--canvas-ink);border-color:var(--canvas-ink)}.threeLabel{background:var(--canvas-label);color:var(--canvas-ink);border-color:var(--canvas-border)}
.details{background:var(--inspector);border-left:1px solid var(--panel-border)}.details>h2{font-size:19px;padding-bottom:12px;border-bottom:1px solid var(--divider);margin-bottom:18px}.selectionPill>h3{font-size:21px}.selectionPill .contextValue{font-size:19px;font-weight:600;color:var(--text);font-variant-numeric:tabular-nums;margin-bottom:20px}.contextReason,.contextSuggestion{margin:0 0 20px}.contextReason h4,.contextSuggestion h4{margin:0 0 7px;font-size:14px;color:var(--muted);font-weight:600}.contextReason p,.contextSuggestion p{margin:0;font-size:16px;line-height:1.6}.contextSuggestion{background:var(--evidence);border-left:3px solid var(--section-accent);padding:12px}.selectionPill>details{padding-top:10px;border-top:1px solid var(--divider)}.metricCard{background:var(--queue);border-color:var(--divider)}
#profilePanel{background:var(--evidence);border-top:2px solid var(--panel-border)}.profileToolbar{background:var(--evidence)}.profileToolbar>b{display:inline-block!important;font-size:16px;color:var(--text)}#profile{background:var(--evidence-plot);border:1px solid var(--divider)}.profileStatus{color:var(--text)}#profileResize:before{background:var(--section-accent)}.portalFooter{background:var(--navigation);border-color:var(--panel-border)}
@media(min-width:651px) and (max-width:1000px){.details{border-left:0;border-top:2px solid var(--panel-border)}}
@media(max-width:650px){.resourceLabel{border:0;padding:0}.profileToolbar>b{display:none!important}.details{border-left:0;border-top:2px solid var(--panel-border)}}

/* Information hierarchy: product title -> workspace -> scope -> selected evidence. */
header{height:88px;display:grid;grid-template-columns:minmax(230px,290px) minmax(190px,1fr) auto auto;gap:22px;padding:12px 20px}.brand{max-width:300px}.brand b{font-size:14px;line-height:1.4}.portalHeading>span{display:block;font-size:12px;color:var(--muted);margin-bottom:3px}.portalHeading h1{font-size:28px;line-height:1.1;margin:0;white-space:nowrap;font-weight:650}.workspaceTabs{margin:0;padding:0}.workspaceTabs button{font-size:15px;min-height:36px;padding:7px 10px}.headerActions{gap:8px;align-items:center}.headerActions>button{min-height:32px;font-size:13px;padding:5px 9px}.toolMenu{position:relative;flex:none}.toolMenu>summary{cursor:pointer;list-style:none;border:1px solid var(--border);border-radius:7px;padding:5px 10px;font-size:13px;min-height:32px;background:var(--surface)}.toolMenu>summary::-webkit-details-marker{display:none}.toolMenu>summary:after{content:' ▾';color:var(--muted)}.toolMenuItems{position:absolute;right:0;top:calc(100% + 7px);z-index:80;min-width:185px;padding:8px;background:var(--inspector);border:1px solid var(--panel-border);border-radius:8px;box-shadow:0 8px 24px #00000018}.toolMenu:not([open])>.toolMenuItems{display:none}.toolMenuItems button{display:block!important;width:100%;text-align:left;font-size:14px;min-height:34px;margin:3px 0;background:transparent}.toolMenuItems small{display:block;padding:4px 8px 8px;color:var(--muted);font-size:12px}.headerActions #themeToggle{display:block!important}
.inspectionBar{gap:18px;min-height:64px}.resourceLabel{font-size:13px;font-weight:500;color:var(--muted)}.lineResource{gap:9px}.lineResource>span{font-size:13px;white-space:nowrap;color:var(--muted)}.lineResource select{font-size:16px;width:235px;font-weight:500}#inspectionLineSwatch{width:5px;height:30px;border-radius:2px;flex:none}#inspectionStatus{font-size:14px}.inspectionBar>button{font-size:14px;min-height:34px}
.exploreWorkspace{height:calc(100dvh - var(--portal-top-height,152px) - 30px);min-height:560px}.navigator{width:340px}.details{width:340px}.panelTitle h2,.details>h2{font-size:18px;letter-spacing:normal}.navigator .issuePanel{padding-top:16px}.listHint{font-size:14px}.issueRowButton{padding:14px 18px 14px 14px;border-left:4px solid var(--divider)}.issueRowButton[data-level=priority]{--warning-color:#b42318;border-left-color:#d92d20}.issueRowButton[data-level=review]{--warning-color:#92400e;border-left-color:#e9a23b}.issueRowButton[data-level=candidate]{--warning-color:#66768a;border-left-color:#9aa8ba}.rowStatus{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--warning-color);margin-bottom:9px}.rowStatus em{margin-left:auto;font-size:12px;font-style:normal;font-weight:500;color:var(--text);padding:1px 5px;background:var(--surface);border-radius:3px}.rowLine{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:14px;margin-bottom:6px;color:var(--muted)}.routeTag{display:inline-flex;align-items:center;justify-content:center;min-width:25px;padding:2px 6px;border-radius:3px;background:var(--route-color);color:var(--route-ink);font:600 13px/1.5 var(--mono);white-space:nowrap;border:1px solid #ffffff22}.rowTitle{font-size:17px;font-weight:600;margin:5px 0 4px}.rowValue{font-size:22px;font-weight:600;line-height:1.35}.rowInterval{display:block;font-size:15px;line-height:1.5;margin-top:9px;color:var(--text)}.rowReason{display:block;font-size:13px;color:var(--muted);line-height:1.5;margin-top:6px}.rowLocation{font-size:12px;margin-top:5px}.selectedIssue .issueRowButton{box-shadow:none;background:var(--selection)}.selectedIssue .rowStatus{color:var(--warning-color)}body[data-theme=dark] .issueRowButton[data-level=priority]{--warning-color:#ffb1a9;border-left-color:#ee7166}body[data-theme=dark] .issueRowButton[data-level=review]{--warning-color:#f6cc82;border-left-color:#dba454}.selectionIdentity{display:flex;align-items:center;gap:8px;margin-bottom:12px;font-size:16px;font-weight:600;flex-wrap:wrap}.selectionIdentity .routeTag{font-size:16px;min-width:30px}.locationHero{padding-bottom:14px;margin-bottom:16px;border-bottom:1px solid var(--divider)}.locationHero>b{font-size:14px;color:var(--muted);font-weight:500}.locationHero>p{font-size:17px;line-height:1.5;margin:5px 0 8px;color:var(--text)}.locationHero>small{font-size:13px;color:var(--muted)}.locationHero details{font-size:14px;margin:9px 0}.locationHero details p{font-size:14px}.metricGrid{margin-bottom:22px;gap:10px}.metricCard b{display:block;font-size:28px;line-height:1.35;letter-spacing:-.3px;font-variant-numeric:tabular-nums}.metricCard span{font-size:13px}.metricCard b .metricUnit{font-size:18px}.selectionPill>h3{font-size:19px;margin-bottom:6px}.triggerValue{font-size:15px!important;color:var(--warning-color,var(--muted));margin:0 0 18px!important}.contextReason h4,.contextSuggestion h4{font-size:13px;letter-spacing:normal}.contextReason p,.contextSuggestion p{font-size:15px}.selectionActions{display:flex;gap:8px;margin:16px 0 22px}.selectionActions button{flex:1;font-size:14px}.sourceDetails{font-size:14px;margin:18px 0;border-top:1px solid var(--divider);padding-top:14px}.selectionEmpty{padding:8px 0}.selectionEmpty h3{font-size:21px}.selectionEmpty p{font-size:16px}.compactSelection{display:none}
#profilePanel{height:250px;min-height:250px;padding:12px 16px}.profileToolbar{flex-wrap:nowrap;gap:8px}.profileToolbar #toggleProfile{font-size:16px;font-weight:600;background:transparent;border:0;padding:4px 0;white-space:nowrap}.profileToolbar select{min-width:110px;max-width:190px;flex:1;font-size:14px}.profileToolbar #profileMetric{max-width:160px}.profileToolbar .toolMenu{margin-left:auto}.profileStatus{font-size:13px;line-height:1.4;margin:8px 0;min-height:19px}.profileStatus #profileCursor{display:none}#profile{display:block;flex:1;min-height:140px;width:100%}.profileCollapsed #profilePanel{height:60px!important;min-height:60px}.profileCollapsed #profile{display:none}
.threeContextCard{position:absolute;left:14px;top:40px;z-index:5;width:min(260px,calc(100% - 28px));padding:10px 12px;background:var(--canvas-label);color:var(--canvas-ink);border:1px solid var(--canvas-border);border-left:4px solid var(--section-accent);border-radius:4px;pointer-events:none;box-shadow:0 2px 6px #0000000a}.threeContextCard strong{display:block;font-size:14px;margin-bottom:5px}.threeContextCard span{display:block;font-size:13px;line-height:1.4;margin:3px 0}.threeContextCard small{display:block;font-size:12px;color:var(--canvas-ink);margin-top:4px}.threeAnchor{position:absolute;z-index:6;pointer-events:none;transform:translate(-50%,-50%);display:flex;align-items:center;gap:6px;white-space:nowrap}.threeAnchor i{display:block;position:relative;width:19px;height:19px;border:2px solid var(--canvas-ink);border-radius:50%;background:var(--canvas-label);flex:none}.pivotPin:before,.pivotPin:after{content:'';position:absolute;background:var(--canvas-ink)}.pivotPin:before{width:2px;height:25px;left:6px;top:-5px}.pivotPin:after{height:2px;width:25px;top:6px;left:-5px}.threeAnchor span,.threeHeightLabel{font-size:12px;color:var(--canvas-ink);background:var(--canvas-label);border:1px solid var(--canvas-border);padding:3px 6px;border-radius:3px}.threeHeightLabel{position:absolute;z-index:5;pointer-events:none;white-space:nowrap;transform:translate(8px,-50%)}
@media(max-width:1100px){header{height:124px;grid-template-columns:minmax(220px,1fr) minmax(190px,1fr) auto;grid-template-rows:auto auto;gap:9px 16px;padding:10px 18px}.brand{grid-column:1;grid-row:1}.portalHeading{grid-column:2;grid-row:1}.portalHeading h1{font-size:25px}.headerActions{grid-column:3;grid-row:1}.workspaceTabs{grid-column:1/-1;grid-row:2;order:initial;width:auto;justify-content:flex-start}.inspectionBar .resourceLabel{display:none}.inspectionBar #mapSearch{min-width:130px;max-width:none}.lineResource select{width:220px}body[data-workspace=explore]{overflow:auto}.exploreWorkspace{height:auto;min-height:0;display:grid;grid-template-columns:280px minmax(0,1fr);grid-template-rows:auto auto}.workspace{height:calc(100dvh - var(--portal-top-height,188px) - 30px);min-height:590px;grid-column:2;grid-row:1}.navigator{position:static;grid-column:1;grid-row:1;width:280px;height:calc(100dvh - var(--portal-top-height,188px) - 30px);min-height:590px}.details{position:static;grid-column:1/-1;grid-row:2;width:100%;max-height:none;overflow:visible;border-left:0;border-top:2px solid var(--panel-border);padding:18px 24px}.navCollapsed{grid-template-columns:minmax(0,1fr)}.navCollapsed .workspace{grid-column:1}.compactSelection{display:flex;flex:none;padding:10px 14px;gap:12px;align-items:center;background:var(--selection);border-bottom:1px solid var(--panel-border)}.compactSelection>div:first-child{min-width:0;flex:1}.compactIdentity{font-size:13px;color:var(--text)}.compactIdentity .routeTag{font-size:12px;padding:0 4px;min-width:20px}.compactSelection b{display:block;font-size:15px;font-weight:600;line-height:1.5;margin:3px 0}.compactSelection strong{font-size:17px;font-weight:600}.compactInterval{display:block;font-size:14px;line-height:1.4;color:var(--text)}.compactActions{display:flex;flex-direction:column;gap:6px;flex:none}.compactActions button{font-size:13px;padding:4px 7px;min-height:30px}#mapWrap{min-height:170px}#profilePanel{height:250px;min-height:250px}.workspace:has(#threeWrap:not([hidden])){min-height:760px}}
@media(max-width:650px){header{height:150px;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;padding:9px 14px;gap:8px}.brand{grid-column:1;grid-row:1;max-width:none}.brand b{font-size:13px}.brandLogo{width:32px;height:32px;font-size:14px}.headerActions{grid-column:2;grid-row:1}.portalHeading{grid-column:1/-1;grid-row:2}.portalHeading>span{display:none}.portalHeading h1{font-size:23px}.workspaceTabs{grid-column:1/-1;grid-row:3}.workspaceTabs button{font-size:14px;min-height:30px;padding:5px 8px}.inspectionBar{padding:8px 14px;gap:8px;min-height:60px}.lineResource{gap:5px}.lineResource>span{display:none}.lineResource select{width:155px;font-size:14px}.inspectionBar #mapSearch{min-width:100px;font-size:14px}.inspectionBar #inspectionFit{display:none}.exploreWorkspace{display:flex;height:auto;flex-direction:column}.workspace{height:calc(100dvh - var(--portal-top-height,210px) - 30px);min-height:610px;flex:none}.navigator{position:fixed;top:var(--issue-drawer-top,340px);bottom:0;z-index:25;width:min(350px,88vw);height:auto;min-height:0}.details{max-height:none;padding:18px}.toolbar{padding:8px;gap:5px;flex-wrap:nowrap;overflow:auto}.toolbar button{font-size:13px;padding:5px 7px;min-height:32px;white-space:nowrap}.toolbar #clearMeasure{display:none}.compactSelection{padding:10px 12px}.compactSelection strong{font-size:16px}.compactSelection b{font-size:14px}.compactInterval{font-size:13px}#profilePanel{height:250px;min-height:250px;padding:10px 12px}.profileToolbar{gap:6px}.profileToolbar #toggleProfile{font-size:14px}.profileToolbar select{font-size:13px;min-width:100px}.profileToolbar #profileMetric{max-width:135px}.profileToolbar #profileSelect{max-width:none}.profileMenu>summary{font-size:12px;padding:4px 7px}.profileStatus{font-size:12px}.threeContextCard{width:230px;top:38px;padding:8px 10px}.threeContextCard strong{font-size:13px}#threeWrap #legend{max-width:170px;font-size:11px}.threeToolbar{max-height:190px}.workspace:has(#threeWrap:not([hidden])){min-height:810px}}

/* Pins are centered on the projected world point; captions sit beside them. */
.threeAnchor{display:block;width:19px;height:19px}.threeAnchor span{position:absolute;left:25px;top:-3px}.compactSelection .routeTag{vertical-align:middle}

.designLocation{margin-bottom:16px;color:var(--text)}.designLocation>b{margin-left:8px;font-size:16px}.designLocation p{font-size:16px;color:var(--text);margin:8px 0}.designAdvanced{margin:22px 0;border-top:1px solid var(--divider);padding-top:15px}.designAdvanced>summary{font-size:17px;font-weight:600;cursor:pointer;margin-bottom:16px}

/* Compact auxiliary controls; diagnostic values retain their existing hierarchy. */
.toolbar{padding:4px 10px;gap:5px;min-height:42px}.toolbar button{font-size:12px;min-height:32px;padding:4px 8px;border-radius:7px}.toolbar .segmented{gap:3px}.toolbar #interactionHint{display:none}
.threeToolbar{padding:6px 10px;gap:6px;position:relative;overflow:visible;max-height:none}.threeToolbar button,.threeToolbar select{font-size:12px;min-height:32px;padding:4px 8px}.threeToolbar label{display:flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap}.threeToolbar label select{display:inline-block;width:auto;margin:0;min-width:72px}.threeOptions>summary{font-size:12px;min-height:32px;padding:6px 8px;cursor:pointer}.threeOptions[open]{position:relative;z-index:20}.threeOptions[open]>label,.threeOptions[open]>.gestureHelp{padding:8px 10px;background:var(--inspector)}.threeOptions .gestureHelp{max-width:360px;font-size:13px;line-height:1.5}.threeOptions label.check{margin:0}.threeOptions input[type=number]{width:72px}.threeToolbar>span{font-size:12px}
#profilePanel{box-shadow:0 -3px 10px #1422380a}.navigator{box-shadow:2px 0 8px #14223808}
/* Only genuinely overlapping surfaces get bounded glass; solid is the baseline. */
body{--glass-solid:#f8fafc;--glass-fill:rgba(248,251,255,.84);--glass-highlight:rgba(255,255,255,.7);--glass-edge:rgba(255,255,255,.92);--glass-shadow:0 8px 24px #172b451c,0 1px 3px #172b4512;--glass-ring:rgba(91,112,140,.22)}
body[data-theme=dark]{--glass-solid:#252c36;--glass-fill:rgba(31,39,50,.88);--glass-highlight:rgba(255,255,255,.09);--glass-edge:rgba(196,213,237,.2);--glass-shadow:0 8px 24px #00000048,0 1px 3px #00000030;--glass-ring:rgba(165,187,218,.13)}
.threeContextCard,.toolMenuItems,.searchResults,#legend{background:var(--glass-solid);border-color:var(--glass-ring);box-shadow:var(--glass-shadow);border-radius:12px}
.threeContextCard{border-left:1px solid var(--glass-ring);padding:12px 14px;color:var(--canvas-ink)}.threeContextCard strong{font-size:14px}.threeContextCard span{line-height:1.5}.threeContextCard small{line-height:1.5}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
 .threeContextCard,.toolMenuItems,.searchResults,#legend{background:linear-gradient(145deg,var(--glass-highlight),transparent 48%),var(--glass-fill);backdrop-filter:blur(14px) saturate(115%);-webkit-backdrop-filter:blur(14px) saturate(115%);box-shadow:inset 0 1px 0 var(--glass-edge),var(--glass-shadow)}
 @media(max-width:650px){.navigator{background:linear-gradient(135deg,var(--glass-highlight),transparent 60%),var(--glass-fill);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-right:1px solid var(--glass-ring);box-shadow:var(--glass-shadow)}.navigator .panelTitle,.navigator .issuePanel{background:transparent}}
}
@media(prefers-reduced-transparency:reduce){.threeContextCard,.toolMenuItems,.searchResults,#legend,.navigator{background:var(--glass-solid);backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:0 2px 8px #00000018}}
@media(max-width:650px){.toolbar{padding:4px 8px;gap:4px}.toolbar button{font-size:12px;min-height:32px;padding:4px 6px}.threeToolbar{padding:6px 8px;gap:5px}.threeContextCard{width:230px;padding:10px 12px}.threeToolbar .threeOptions{margin-left:0}.threeToolbar label{font-size:12px}}
/* A shared model viewport with three task-specific workspaces. */
body[data-workspace]{overflow:hidden}#overviewWorkspace{display:none}#dataDialog #overviewWorkspace{display:block;padding:20px;max-width:none}#dataDialog{width:min(1100px,94vw);max-height:88vh}body[data-workspace] #inspectionBar{display:flex;min-height:46px;padding:5px 14px;gap:12px}body[data-workspace] #exploreWorkspace{display:flex;height:calc(100dvh - var(--portal-top-height,112px) - 30px);min-height:480px}.exploreWorkspace>.workspace{flex:1;min-width:0}.navigator{width:280px;flex:none}.details{width:310px;flex:none;padding:16px}.resourceTree{padding:16px}.resourceTree .panelTitle{padding:0;margin-bottom:12px}.resourceTree .panelTitle h2{font-size:17px}.resourceTree p{font-size:13px}.resourceTree .row button{font-size:12px;padding:4px 6px;min-height:30px}.navigator .lineRow{padding:7px 0}.navigator .lineRow label b{font-size:13px}.navigator .lineRow label small{font-size:12px}.resourceTree #lines{margin-top:8px}.resourceTree .lineRow{border-bottom:1px solid var(--divider)}
body:not([data-workspace=overview]) .resourceTree{display:none}body:not([data-workspace=explore]) .issuePanel{display:none}body:not([data-workspace=design]) #designWorkspace{display:none}body[data-workspace=design] #designWorkspace{display:block}body[data-workspace=design] .navigator>.navTools{display:none}body[data-workspace=design] .navigator{width:380px}body[data-workspace=design] .details{display:none}body[data-workspace=overview] .compactSelection{display:none!important}.details>h2{display:flex;align-items:center;justify-content:space-between}.details>h2 button{min-height:28px;width:28px;padding:0;font-size:18px;border:0;background:transparent}.noSelection .details{display:none}
header{height:68px;padding:8px 16px;gap:16px;grid-template-columns:270px minmax(190px,1fr) auto auto}.brandLogo{width:34px;height:34px;font-size:15px;border-radius:6px}.portalHeading h1{font-size:23px}.portalHeading>span{font-size:11px}.workspaceTabs button{font-size:13px;min-height:32px;padding:5px 9px}.lineResource select{font-size:14px;min-height:32px;width:210px}.inspectionBar #mapSearch{min-height:32px;font-size:13px}.inspectionBar>button{font-size:12px;min-height:32px;padding:4px 8px}.inspectionBar .resourceLabel{display:none}#inspectionStatus{font-size:12px}.issuePanel .listHint{display:none}.navigator .issuePanel{padding-top:12px}.issueFilters{gap:6px}.issueFilters select{min-height:32px;font-size:13px;padding:5px 8px}.issuePanel>.check{font-size:13px;margin:10px 0}.issueRowButton{padding:11px 14px 11px 12px}.rowStatus{margin-bottom:6px}.rowTitle{font-size:16px}.rowInterval{margin-top:6px}.rowValue{font-size:21px}.rowLocation{font-size:11px}
#designWorkspace{margin:0;padding:16px;max-width:none;width:100%;background:var(--queue)}#designWorkspace .pageHeading{display:block;margin:0 0 16px}#designWorkspace .pageHeading .eyebrow{display:none}#designWorkspace h1{font-size:20px;margin-bottom:8px}#designWorkspace .pageHeading p{font-size:13px;line-height:1.5;margin-bottom:12px}#designBack{min-height:30px;font-size:12px;padding:4px 8px}.designSelection{padding:0;background:transparent;border:0;border-radius:0}.designSelection h2{font-size:17px}.designSelection p{font-size:13px;line-height:1.55;margin-bottom:10px}.designLocation p{font-size:15px}.designLocation>b{font-size:14px}.rawCoordinates{font-size:12px}.designGrid{display:block}.designGrid .panel,.designAdvanced .panel{padding:16px 0;background:transparent;border:0;border-top:1px solid var(--divider);border-radius:0;margin-top:16px}.designGrid h2,.designAdvanced h2{font-size:17px}.designGrid p,.designAdvanced p,#designReference{font-size:13px;line-height:1.55}.designGrid .formGrid,.designAdvanced .formGrid{display:grid;grid-template-columns:1fr;gap:10px}.designGrid label,.designAdvanced label{font-size:13px}.designGrid input,.designAdvanced input,.designAdvanced select{min-height:34px;font-size:14px}.calculationResult{padding:12px;border-radius:6px}.calculationResult b{font-size:23px}.designAdvanced{margin:18px 0}.designAdvanced>summary{font-size:14px}.designSelection .row{flex-wrap:wrap}.designSelection .row button{font-size:12px;min-height:30px;padding:4px 8px}.selectionPill{border-radius:0}.metricCard{border-radius:5px}.contextSuggestion{border-radius:0 6px 6px 0}.profileCollapsed #profilePanel{height:44px!important;min-height:44px;padding:4px 12px}.profileCollapsed .profileStatus,.profileCollapsed #profileResize,.profileCollapsed .profileToolbar select,.profileCollapsed .profileMenu{display:none}.profileCollapsed .profileToolbar #toggleProfile{min-height:32px;font-size:13px}.profileToolbar select{min-height:32px;font-size:13px;padding:4px 8px}.profileToolbar #toggleProfile{font-size:14px}.toolbar #toggleNavigator{min-width:42px}
@media(max-width:1100px){header{height:102px;grid-template-columns:minmax(210px,1fr) minmax(190px,1fr) auto;grid-template-rows:auto auto;padding:8px 14px}.portalHeading h1{font-size:22px}body[data-workspace]{overflow:auto}body[data-workspace] #exploreWorkspace{display:grid;height:auto;min-height:0;grid-template-columns:250px minmax(0,1fr)}.navigator{width:250px;height:calc(100dvh - var(--portal-top-height,148px) - 30px);min-height:590px}.workspace{height:calc(100dvh - var(--portal-top-height,148px) - 30px);min-height:590px}.navCollapsed{grid-template-columns:minmax(0,1fr)!important}.navCollapsed .workspace{grid-column:1}.details{width:100%;padding:18px}.workspace:has(#threeWrap:not([hidden])){min-height:590px}body[data-workspace=design] #exploreWorkspace{grid-template-columns:330px minmax(0,1fr)}body[data-workspace=design] .navigator{width:330px}.compactSelection{padding:8px 12px}.compactSelection b{font-size:14px}.compactSelection strong{font-size:16px}}
@media(max-width:650px){header{height:126px;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;padding:7px 12px}.brand b{font-size:12px}.portalHeading h1{font-size:21px}.workspaceTabs button{font-size:13px}.lineResource select{width:150px;font-size:13px}.inspectionBar #mapSearch{min-width:100px}body[data-workspace] #inspectionBar{padding:5px 10px;gap:7px}body[data-workspace] #exploreWorkspace{display:flex;flex-direction:column}.workspace{height:calc(100dvh - var(--portal-top-height,172px) - 30px);min-height:590px}.navigator{position:fixed;width:min(330px,88vw);height:auto;min-height:0;top:var(--issue-drawer-top);bottom:0}.workspace:has(#threeWrap:not([hidden])){min-height:590px}body[data-workspace=design] .navigator{position:static;width:100%;height:auto;min-height:0;max-height:none;order:2}body[data-workspace=design] .workspace{order:1}body[data-workspace=design] .navCollapsed .navigator{display:block}#designWorkspace{padding:18px}.compactSelection b{font-size:14px}.compactSelection strong{font-size:16px}.threeContextCard{width:220px}.threeContextCard strong{font-size:13px}.threeContextCard span{font-size:12px}#profilePanel{padding:8px 10px}.profileToolbar #toggleProfile{font-size:13px}}
@media(max-width:650px){.exploreWorkspace>.workspace{flex:none;width:100%}}
@media(max-width:650px){header{height:142px;grid-template-rows:34px 26px 32px;gap:7px}.brand{grid-column:1;grid-row:1}.headerActions{grid-column:2;grid-row:1}.portalHeading{grid-column:1/-1;grid-row:2}.workspaceTabs{grid-column:1/-1;grid-row:3}}
.planCurrent{font-size:13px;margin:8px 0 12px}.planCurrent b{font-size:16px}.planEvidence{font-size:13px;margin:10px 0}.planEvidence summary{cursor:pointer}.designGrid .formGrid{grid-template-columns:1fr 1fr;gap:10px}.designGrid label:last-child{grid-column:1/-1}.designSelection .row{margin-top:12px!important}.designSelection h2{margin-bottom:8px}.clearancePanel{border-top:1px solid var(--divider);padding-top:14px;margin-top:18px}.clearancePanel>summary{font-size:14px;font-weight:600;cursor:pointer}#designReference{font-size:12px;margin-top:12px}.designGrid .panel{margin-top:12px;padding:12px 0}.threeContextCard{max-height:calc(100% - 75px);overflow:hidden}#legend{white-space:nowrap;max-width:calc(100% - 28px)}
body[data-workspace=design] #toggleInspector{display:none}body[data-workspace=overview] .toolbar #measure,body[data-workspace=overview] .toolbar #clearMeasure{display:none}
@media(min-width:651px){body[data-workspace=design] .compactSelection{display:none!important}}
@media(max-width:650px){#designWorkspace .designGrid .formGrid{grid-template-columns:1fr 1fr}.workspaceTabs{position:static;transform:none;align-self:center;margin:0}.threeContextCard{max-height:calc(100% - 70px)}}
@media(max-width:650px) and (max-height:900px){.workspace:has(#threeWrap:not([hidden])){min-height:760px}}
@media(min-width:651px) and (max-width:1100px){header{grid-template-rows:42px 32px;gap:7px 14px;align-content:start}.brand{grid-column:1;grid-row:1}.portalHeading{grid-column:2;grid-row:1}.headerActions{grid-column:3;grid-row:1}.workspaceTabs{grid-column:1/-1;grid-row:2;align-self:center}}

.resetFilters{font-size:12px;min-height:30px;padding:4px 8px;margin:0 0 10px;background:transparent}.searchResults button[aria-selected=true]{background:var(--selection);box-shadow:inset 3px 0 0 var(--section-accent);color:var(--text)}

body{--input-error:#b42318}body[data-theme=dark]{--input-error:#ffb1a9}input[aria-invalid=true]{border-color:var(--input-error);box-shadow:inset 0 0 0 1px var(--input-error)}#clearanceResult[data-valid=false]{color:var(--input-error);border-left:3px solid var(--input-error)}

/* Observed public reference: industrial topology, thin cyan context and blue task rail. */
body[data-theme=light]{--section-accent:#08748e;--accent:#08748e;--selection:#dceef2;--resource:#e8edf0;--queue:#f4f6f7;--evidence:#e9eef0;--panel-border:#b9c7ce;--divider:#d1dce1;--rail:#075a80;--rail-hover:#126d93;--rail-active:#073e58;--rail-ink:#e8f5fa;--rail-edge:#5bd1e7}
body[data-theme=dark]{--bg:#181b1d;--surface:#25292c;--raised:#303538;--text:#eef1f2;--muted:#bac4c8;--border:#4d575c;--canvas-bg:#191b20;--canvas-label:#22272a;--canvas-border:#4f6068;--shell:#15191b;--navigation:#202528;--resource:#1a1f21;--queue:#252a2d;--inspector:#292e31;--evidence:#202629;--evidence-plot:#181d20;--panel-border:#48545a;--divider:#3d474c;--selection:#173e49;--section-accent:#62d0e3;--accent:#62d0e3;--rail:#07577d;--rail-hover:#116c93;--rail-active:#06384e;--rail-ink:#e8f5fa;--rail-edge:#67d6e7}
body{--radius:3px}button,input,select,textarea,.lineRow,.lineChip,.metricCard,.calculationResult,.statCard,.panel,.tableScroll,.toolMenuItems,.searchResults,.threeContextCard,#legend{border-radius:3px}.brandLogo{border-radius:2px}.workspaceTabs{border-radius:0}.workspaceTabs svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round;flex:none}.workspaceTabs button{display:flex;align-items:center;justify-content:center;gap:7px;border-radius:0}.workspaceTabs button.active{background:var(--selection);border-color:transparent;box-shadow:inset 0 -2px 0 var(--section-accent);color:var(--text)}
body[data-theme=dark] button{background:var(--raised);color:var(--text);border-color:var(--border)}body[data-theme=dark] button:hover{background:#3b4449;border-color:#72858e}body[data-theme=dark] button.active{background:var(--selection);color:var(--text);border-color:var(--section-accent)}body[data-theme=dark] button.primary{background:#09647b;border-color:#338ba0;color:#fff}body[data-theme=dark] input,body[data-theme=dark] select,body[data-theme=dark] textarea{background:#1c2326;border-color:#56656d;color:var(--text)}body[data-theme=dark] .lineRow:hover{background:#2c373d}body[data-theme=dark] .toolMenuItems,body[data-theme=dark] .searchResults,body[data-theme=dark] .threeContextCard,body[data-theme=dark] #legend{--glass-solid:#252c30;--glass-fill:rgba(35,43,47,.94)}
.navigator,#profilePanel{box-shadow:none}.toolbar,.threeToolbar{border-bottom:1px solid var(--panel-border)}.panelTitle{border-bottom:1px solid var(--divider);padding-bottom:10px}.details>h2{font-size:17px;border-bottom:1px solid var(--divider);padding-bottom:10px}.metricCard{border:1px solid var(--divider);background:var(--resource)}.contextSuggestion{border-radius:0;border-left-color:var(--section-accent)}.profileToolbar{border-bottom:1px solid var(--divider);padding-bottom:7px}.profileCollapsed .profileToolbar{border-bottom:0;padding-bottom:0}.resourceTree .lineRow{margin:0;padding:9px 0}.resourceTree .panelTitle{padding-bottom:12px}.workspaceTabs button:focus-visible{outline:3px solid var(--section-accent);outline-offset:2px}
@media(min-width:1101px){
 header{margin-left:64px;height:58px;grid-template-columns:270px minmax(200px,1fr) auto;padding:7px 16px;gap:16px}.portalHeading h1{font-size:21px}.portalHeading>span{font-size:10px}.brand b{font-size:13px}.headerActions{grid-column:3}.workspaceTabs{position:fixed;left:0;top:0;bottom:0;width:64px;height:100dvh;display:flex;flex-direction:column;gap:0;justify-content:flex-start;margin:0;padding:64px 0 0;background:var(--rail);border-right:1px solid #123b50;z-index:40;transform:none}.workspaceTabs:before{content:'GF';position:absolute;top:16px;left:0;width:100%;text-align:center;font:600 18px var(--mono);color:var(--rail-ink);letter-spacing:1px}.workspaceTabs button{flex-direction:column;gap:6px;width:64px;min-height:74px;padding:10px 2px;font-size:11px;font-weight:500;color:var(--rail-ink);background:transparent;border:0;box-shadow:none}.workspaceTabs button.active{background:var(--rail-active);color:var(--rail-ink);border:0;box-shadow:inset 3px 0 0 var(--rail-edge)}.workspaceTabs button:hover{background:var(--rail-hover);color:var(--rail-ink)}.workspaceTabs button:focus-visible{outline:2px solid var(--rail-edge);outline-offset:-4px}.workspaceTabs svg{width:22px;height:22px}body[data-workspace] #inspectionBar{margin-left:64px;min-height:42px;padding:4px 14px}body[data-workspace] #exploreWorkspace{margin-left:64px}body>footer{margin-left:64px}.navigator{width:260px}.details{width:300px;padding:14px}.resourceTree{padding:14px}.toolbar{min-height:40px}
}
@media(max-width:1100px){.workspaceTabs button{padding:5px 9px}.workspaceTabs svg{width:17px;height:17px}}
@media(max-width:650px){.workspaceTabs{gap:3px}.workspaceTabs button{font-size:13px;gap:5px}.workspaceTabs svg{width:16px;height:16px}}
body[data-theme=light]{--plot:#18768c}body[data-theme=dark]{--plot:#83d9e8;--axis:#b4bfc5;--grid:#303a40}

/* One map, one consolidated inspector. Content is allowed to grow; headers never clip. */
#portalHeader{height:auto;min-height:64px;grid-auto-rows:auto;align-items:center;align-content:center;overflow:visible}.headerActions{height:auto;min-height:34px;align-items:center;align-self:center}.headerActions .toolMenu{margin:0}.portalHeading{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:3px}.portalHeading h1{margin:0;font-size:22px;line-height:1.15;white-space:normal;overflow-wrap:anywhere;font-weight:700;letter-spacing:-.4px}.portalHeading>span{display:block;margin:0;font-size:11px;line-height:1.25;color:var(--muted);font-weight:500}.brand{min-width:0;gap:10px;align-items:center}.brand>div{min-width:0}.brand b{font-size:12px;line-height:1.3;font-weight:600;color:var(--muted);overflow-wrap:normal}.brandLogo{width:32px;height:32px;display:grid;place-items:center;flex:none;margin:0;line-height:1;font-size:14px}
button{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;gap:5px;line-height:1.25}input,select{line-height:1.25}select{padding-top:6px;padding-bottom:6px}.toolMenu>summary,.threeOptions>summary{display:flex;align-items:center;justify-content:center;line-height:1.25;margin:0}.toolMenu>summary{min-height:34px}.toolbar button,.toolbar select,.threeToolbar button,.threeToolbar select{min-height:34px}.toolbar label,.threeToolbar label,.profileToolbar label{align-items:center}.issueRowButton{display:block;text-align:left;width:100%}.issuePanel>.check,.navigator .check{display:flex;align-items:center;margin:10px 0;line-height:1.3}.navigator input[type=checkbox]{margin:0}.designGrid label,.designAdvanced label,.navTools label{color:var(--muted);font-size:12px;font-weight:600;line-height:1.35}.designGrid input,.designAdvanced input,.designAdvanced select,.navTools select{font-weight:500;color:var(--text);font-size:14px}.navTools label select{margin-top:5px}.panelTitle h2,.unifiedPanelHeading h2{font-size:17px;line-height:1.25;font-weight:700}.triggerValue{font-size:15px;font-weight:600}.contextReason h4,.contextSuggestion h4{font-size:12px;color:var(--section-accent);font-weight:700}.contextReason p,.contextSuggestion p{font-size:14px;line-height:1.6}
body[data-workspace] #inspectionBar{flex-wrap:wrap;align-items:center;min-height:48px}.lineResource{display:flex;align-items:center;gap:8px;border-left:3px solid var(--section-accent);padding-left:9px;min-width:0}.lineResource>span{display:block!important;font-size:12px;font-weight:700;line-height:1.25;color:var(--section-accent);white-space:nowrap}.lineResource select{min-height:36px;line-height:1.25;margin:0;width:210px;font-size:14px;font-weight:650;border-color:var(--section-accent)}#inspectionStatus{font-size:11px;color:var(--muted);font-weight:400}.inspectionBar #mapSearch{min-height:36px;font-size:13px;margin:0}.inspectionBar>button{min-height:34px;line-height:1.25}#inspectionLineSwatch{display:none}.resourceTree [data-workspace=explore]{background:var(--selection);border-color:var(--section-accent);color:var(--text);font-weight:650}.workspaceTabs button.active{font-weight:700}
body.unifiedLayout[data-workspace] #exploreWorkspace{display:flex;flex-direction:row;height:calc(100dvh - var(--portal-top-height) - 30px);min-height:480px;position:relative;gap:0}body.unifiedLayout .exploreWorkspace>.workspace{order:1;flex:1;width:auto;min-width:0;height:100%;min-height:0}body.unifiedLayout .navigator{order:2;width:380px;flex:0 0 380px;height:100%;min-height:0;max-height:none;position:static;overflow:auto;background:var(--inspector);border-left:1px solid var(--panel-border);border-right:0}body.unifiedLayout[data-workspace=design] .navigator{width:380px}body.unifiedLayout .navCollapsed .navigator{display:none}body.unifiedLayout .navCollapsed .workspace{width:100%}body.unifiedLayout .details{display:block!important;width:100%;padding:16px;overflow:visible;border:0;flex:none}body.unifiedLayout .noSelection .details{display:none!important}body.unifiedLayout[data-workspace=design] .details{display:none!important}body.unifiedLayout #compactSelection{display:none!important}body.unifiedLayout #toggleInspector{display:none}body.unifiedLayout #closeInspector{display:none}.unifiedPanelHeading{display:flex;align-items:center;justify-content:space-between;gap:10px;position:sticky;top:0;z-index:5;background:var(--inspector);padding:12px 16px;border-bottom:1px solid var(--divider)}.unifiedPanelHeading h2{margin:0}.unifiedPanelHeading button{min-height:32px;width:32px;padding:0;font-size:20px;background:transparent}.unifiedPanelHeading button:hover{background:var(--selection)}#selectionPicker{margin:0;border-bottom:1px solid var(--divider)}#selectionPicker>summary{padding:12px 16px;min-height:44px;font-size:13px;font-weight:650;cursor:pointer;color:var(--section-accent)}#selectionPicker .resourceTree,#selectionPicker .issuePanel{padding:14px 16px;border:0}body[data-workspace=design] #selectionPicker{display:none}body.unifiedLayout .navigator>.navTools{margin:0 16px;border-top:1px solid var(--divider);padding:0}body.unifiedLayout #profilePanel{margin:16px 0;height:250px;min-height:250px;padding:10px 0;border:1px solid var(--divider);background:var(--evidence);overflow:hidden}body.unifiedLayout .profileCollapsed #profilePanel{height:44px!important;min-height:44px;margin:12px 0;padding:4px 8px}.profileToolbar{gap:5px;padding:0 8px 7px;flex-wrap:wrap}.profileToolbar select{font-size:12px;min-height:32px;max-width:100%;flex:1;min-width:90px}body.unifiedLayout .profileStatus{font-size:11px;line-height:1.4;padding:4px 8px}.navigator .details>h2{display:none}body.unifiedLayout .navigator #designWorkspace{background:transparent}#profileResize{display:none}.validationNotes{font-size:12px}
.worldPointCard{position:absolute;z-index:12;left:14px;top:14px;width:340px;max-width:calc(100% - 28px);color:var(--canvas-ink);padding:12px;border:1px solid var(--glass-ring);border-radius:6px;background:var(--glass-solid);box-shadow:0 8px 28px #14223830}.worldPointCard .pointKind{font-size:12px;line-height:1.3;font-weight:650;color:var(--section-accent)}#worldCoordinates{display:block;width:100%;border:0;background:transparent;color:var(--canvas-ink);font:600 17px/1.3 var(--mono);padding:5px 0;margin:0;min-height:32px;user-select:text;cursor:text}.worldPointCard small{display:block;font-size:11px;line-height:1.45;color:var(--muted)}.worldPointActions{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}.worldPointActions button{font-size:12px;min-height:32px;padding:4px 8px;background:var(--glass-solid);color:var(--canvas-ink)}#worldCommandDetails{padding-top:10px;margin-top:10px;border-top:1px solid var(--divider)}#worldTpCommand{font:12px/1.4 var(--mono);padding:8px;width:100%;resize:vertical;user-select:text}#copyWorldCommand{font-size:12px;min-height:32px;margin:6px 0}#worldCopyStatus{display:block;font-size:12px;line-height:1.4;color:var(--section-accent);margin-top:4px}#worldCopyStatus:empty{display:none}#threeContextCard{display:none!important}.threeAnchor{z-index:8}.worldPointCard+#legend{max-width:220px}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.worldPointCard{background:linear-gradient(135deg,var(--glass-highlight),transparent 70%),var(--glass-fill);backdrop-filter:blur(22px) saturate(145%);-webkit-backdrop-filter:blur(22px) saturate(145%);box-shadow:inset 0 1px 0 var(--glass-edge),0 10px 32px #14223838}body[data-theme=dark] .worldPointCard{--glass-fill:rgba(35,43,47,.76);box-shadow:inset 0 1px 0 #ffffff24,0 10px 32px #0008}}
@media(prefers-reduced-transparency:reduce){.worldPointCard{background:var(--glass-solid);backdrop-filter:none;-webkit-backdrop-filter:none}}
@media(min-width:1101px){#portalHeader{grid-template-columns:minmax(220px,280px) minmax(180px,1fr) auto;grid-template-rows:auto}.brand,.portalHeading,.headerActions{grid-row:1}.portalHeading{grid-column:2}.brand{grid-column:1}.workspaceTabs{padding-top:68px}.headerActions{grid-column:3}}
@media(min-width:651px) and (max-width:1100px){#portalHeader{grid-template-columns:minmax(190px,1fr) minmax(180px,1fr) auto;grid-template-rows:auto auto;gap:8px 14px;padding:10px 14px}.brand,.portalHeading,.headerActions{grid-row:1}.workspaceTabs{grid-row:2}body.unifiedLayout .navigator{width:340px;flex-basis:340px}.lineResource select{width:190px}.worldPointCard{width:310px}body.unifiedLayout #legend{max-width:140px;font-size:10px;top:auto;bottom:44px}}
@media(max-width:650px){#portalHeader{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;gap:8px;padding:10px 12px;min-height:0}.brand b{font-size:11px;line-height:1.3}.brandLogo{width:28px;height:28px;font-size:12px}.brand{gap:8px}.portalHeading{grid-column:1/-1;grid-row:2}.portalHeading h1{font-size:21px}.portalHeading>span{font-size:11px}.workspaceTabs{grid-column:1/-1;grid-row:3;width:100%;justify-content:flex-start}.workspaceTabs button{font-size:12px;min-height:34px;flex:1;padding:5px 4px}.headerActions{grid-column:2;grid-row:1;gap:5px}.headerActions button,.toolMenu>summary{font-size:12px;padding:5px 7px;min-height:32px}.lineResource{flex:1 1 100%;padding:0;border:0;gap:9px}.lineResource>span{font-size:12px}.lineResource select{width:auto;flex:1;min-width:0;font-size:14px}.inspectionBar #mapSearch{flex:1 1 160px;min-width:120px;width:auto}.inspectionBar #openStandards{margin-left:0;flex:none}.inspectionBar #inspectionStatus{display:none}body.unifiedLayout #exploreWorkspace{height:calc(100dvh - var(--portal-top-height) - 30px);min-height:450px}body.unifiedLayout .navigator,body.unifiedLayout[data-workspace=design] .navigator{position:absolute;z-index:25;right:0;top:42px;bottom:0;height:auto;width:min(380px,94%);flex-basis:auto;max-height:none;min-height:0;order:2;border-left:1px solid var(--panel-border);box-shadow:-8px 0 30px #0003}body.unifiedLayout[data-workspace=design] .navCollapsed .navigator{display:none}body.unifiedLayout .workspace:has(#threeWrap:not([hidden])){min-height:0;height:100%}.worldPointCard{top:10px;left:10px;width:320px;max-width:calc(100% - 20px);padding:10px}#worldCoordinates{font-size:16px}.worldPointActions{margin-top:6px}.worldPointCard small{font-size:10px}body.unifiedLayout #legend{top:auto;bottom:44px;right:10px;max-width:190px;font-size:10px}.threeToolbar{max-height:150px;overflow:auto}.toolbar{min-height:42px}.toolMenuItems{max-width:calc(100vw - 24px)}#profilePanel{height:250px!important}.worldPointCard:has(#worldCommandDetails:not([hidden])){max-height:calc(100% - 65px);overflow:auto}}
.noSelection .worldPointCard{width:auto;max-width:calc(100% - 28px)}.noSelection #worldCoordinates,.noSelection .worldPointActions,.noSelection #worldCopyStatus{display:none}.noSelection #worldDimension{margin-top:4px}body.unifiedLayout #legend{bottom:54px;top:auto;max-width:min(260px,calc(100% - 28px))}body.unifiedLayout #scale{bottom:108px}body.unifiedLayout #profile{flex:1;min-height:120px}
body.unifiedLayout .navigator .contextReason{padding:10px 0;margin:8px 0;border:0}body.unifiedLayout .navigator .contextSuggestion{padding:12px;margin:12px 0;border:0;border-left:3px solid var(--section-accent);background:var(--resource)}.contextReason h4,.contextSuggestion h4{margin:0 0 6px}.contextReason p,.contextSuggestion p{margin:0}.selectionActions{margin:16px 0}.selectionActions button{min-height:36px;font-size:13px}
@media(max-width:650px){body.unifiedLayout .navigator,body.unifiedLayout[data-workspace=design] .navigator{left:auto;right:0}}
@media(max-width:450px){body.unifiedLayout .toolbar{flex-wrap:wrap;overflow:visible;white-space:normal}.toolbar .segmented{flex:none}}
@media(max-width:650px){body.unifiedLayout .navigator,body.unifiedLayout[data-workspace=design] .navigator{top:calc(var(--issue-drawer-top) - var(--portal-top-height))}}
#threeAxisReference{position:absolute;inset:0;width:100%;height:100%;z-index:9;pointer-events:none;overflow:hidden;stroke-width:1.5;filter:drop-shadow(0 1px 1px #0004)}#threeAxisReference text{font:600 12px/1 var(--mono);paint-order:stroke;stroke:var(--canvas-label);stroke-width:3px;stroke-linejoin:round}#threeAxisReference .axisReferenceNote{font-size:10px;font-weight:400;stroke-width:3px}.threeAnchor{pointer-events:none}

.hasAxisReference #threePivotAnchor span{left:25px;top:-72px}

/* Keep explanatory legend text within the map, including far-view intervals. */
body.unifiedLayout #legend{white-space:normal;overflow-wrap:anywhere;max-width:min(260px,calc(100% - 28px));right:14px;line-height:1.45}
body.unifiedLayout #scale{bottom:132px}

/* Task flow: one context, readable navigation and reversible queue entry. */
.queueNavigation{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0 0 16px;padding-bottom:12px;border-bottom:1px solid var(--divider)}
.queueNavigation button{min-height:36px;font-size:13px;padding:6px 9px}.queueNavigation span{font-size:12px;color:var(--muted);margin-left:auto;font-variant-numeric:tabular-nums}
body.unifiedLayout #selectionPicker>summary{font-size:14px;line-height:1.4}.rowInterval,.rowReason{font-size:13px;line-height:1.5}.rowLocation{font-size:12px;line-height:1.5}
body.unifiedLayout .contextReason p,body.unifiedLayout .contextSuggestion p{font-size:15px;line-height:1.65}.designGrid label,.designAdvanced label{font-size:13px;line-height:1.45}.calculationResult p{line-height:1.65}
body.unifiedLayout .navigator .pageHeading{gap:10px;flex-wrap:wrap}#designBack{min-height:36px;font-size:13px}

.planResumeBar{padding:12px;margin:12px 0;border:1px solid var(--divider);background:var(--resource);font-size:13px;line-height:1.55}.planResumeBar p{margin:0 0 10px}.planResumeBar button{min-height:36px;margin:3px 4px 3px 0}#resumePlanDialog{max-width:min(440px,92vw)}#resumePlanDialog p{line-height:1.6}#resumePlanDialog button{margin:4px}

/* Selection + longitudinal evidence stay together on the map. */
.mapAnalysisWindow{position:absolute;z-index:14;left:14px;bottom:16px;width:360px;max-width:calc(100% - 28px);max-height:calc(100% - 28px);overflow:auto;border:1px solid var(--glass-ring);border-radius:6px;background:var(--glass-solid);box-shadow:0 8px 28px #14223830;color:var(--canvas-ink)}
.floatWindowBar{display:flex;align-items:center;gap:5px;padding:5px 8px;border-bottom:1px solid var(--divider);position:sticky;top:0;background:var(--glass-solid);z-index:3}.floatWindowBar button{min-height:28px;font-size:12px;padding:4px 7px}.floatWindowBar #moveAnalysisWindow{flex:1;justify-content:flex-start;cursor:move;touch-action:none;background:transparent;border:0;text-align:left}
body.unifiedLayout .mapAnalysisWindow .worldPointCard{position:static!important;width:auto;max-width:none;padding:10px 12px;margin:0;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;background:transparent;overflow:visible;max-height:none}
body.unifiedLayout .mapAnalysisWindow #profilePanel{margin:0;border:0;border-top:1px solid var(--divider);height:220px!important;min-height:0;padding:6px 8px;display:flex;flex-direction:column;background:var(--glass-solid)}
body.unifiedLayout .mapAnalysisWindow #profile{height:145px;min-height:100px;flex:1;width:100%}.mapAnalysisWindow .profileToolbar{padding:0;gap:4px;flex-wrap:nowrap}.mapAnalysisWindow .profileToolbar button{font-size:12px;padding:4px 6px;min-height:30px}.mapAnalysisWindow .profileToolbar #profileMetric{min-width:80px;width:105px;font-size:12px}.mapAnalysisWindow .profileToolbar .profileMenu{margin:0}.mapAnalysisWindow .profileToolbar .profileMenu summary{min-height:30px;font-size:12px;padding:4px 6px}.mapAnalysisWindow .profileStatus{font-size:10px!important;line-height:1.3;max-height:32px;overflow:auto;padding:4px 0!important}
body.unifiedLayout .profileCollapsed .mapAnalysisWindow #profilePanel{height:44px!important;min-height:44px;padding:6px 8px}.profileCollapsed .mapAnalysisWindow #profile,.profileCollapsed .mapAnalysisWindow .profileStatus{display:none}.noSelection .mapAnalysisWindow #profilePanel{display:none!important}
#analysisDialog{width:min(760px,94vw);max-height:88vh}#analysisScope{display:block;margin:14px 0}#analysisScope select{display:block;width:100%;max-width:100%}#analysisDialog .metricCard b{font-size:24px}.surfaceTools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:6px 10px;border-bottom:1px solid var(--divider);font-size:12px}.surfaceTools label{display:flex;align-items:center;gap:5px;margin:0}.surfaceTools select{min-height:30px;font-size:12px;max-width:175px}.surfaceTools input[type=number]{width:70px;min-height:30px}.surfaceTools .check{font-size:12px}.surfaceTools #surfaceStatus{color:var(--muted);font-size:11px;line-height:1.4;flex:1 1 240px}
@media(min-width:651px) and (max-width:1100px){.mapAnalysisWindow{width:320px}body.unifiedLayout .mapAnalysisWindow #profilePanel{height:185px!important}}
@media(max-width:650px){.mapAnalysisWindow{width:300px;max-width:calc(100% - 24px);max-height:calc(100% - 24px)}.mapAnalysisWindow .worldPointCard small{font-size:10px}.mapAnalysisWindow .worldPointActions{margin-top:4px}.mapAnalysisWindow .worldPointActions button{min-height:28px;font-size:11px;padding:3px 5px}body.unifiedLayout .mapAnalysisWindow #profilePanel{height:44px!important;min-height:44px}body.unifiedLayout .mapAnalysisWindow[data-mobile-expanded=true] #profilePanel{height:170px!important}.mapAnalysisWindow .profileToolbar #toggleProfile{font-size:11px;min-width:64px}.mapAnalysisWindow .profileToolbar #openAnalysisSummary{font-size:11px}.mapAnalysisWindow .profileToolbar #profileMetric{min-width:70px;width:90px}.mapAnalysisWindow .profileToolbar .profileMenu summary{font-size:11px;padding:3px}.surfaceTools{gap:5px;max-height:110px;overflow:auto}.surfaceTools #surfaceStatus{flex-basis:100%}}

#analysisDialog #analysisSummary{display:block}

/* A narrow expanded chart reserves space instead of covering the rail view. */
@media(max-width:650px){body.mobileProfileOpen.unifiedLayout #exploreWorkspace{height:auto;min-height:0}body.mobileProfileOpen.unifiedLayout #exploreWorkspace>.workspace{height:auto;min-height:0;flex:none}body.mobileProfileOpen #mapWrap{flex:none;height:calc(var(--analysis-reserve,0px) + 250px);min-height:calc(var(--analysis-reserve,0px) + 250px)}body.mobileProfileOpen #map{height:calc(100% - var(--analysis-reserve,0px))}body.mobileProfileOpen #threeWrap{bottom:var(--analysis-reserve,0px);height:calc(100% - var(--analysis-reserve,0px))}body.mobileProfileOpen #mapWrap #legend{bottom:calc(var(--analysis-reserve,0px) + 14px)}body.mobileProfileOpen #mapWrap #scale{bottom:calc(var(--analysis-reserve,0px) + 14px)}}

@media(max-width:650px){#analysisDialog .metricGrid{grid-template-columns:1fr}#analysisDialog .metricCard{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 8px;padding:10px 12px}#analysisDialog .metricCard b{font-size:22px;white-space:nowrap;margin:0}#analysisDialog .metricCard span{margin:0}}

/* Brand artwork comes from the supplied PDF outlines; retain its native proportions. */
#portalHeader{grid-template-columns:minmax(220px,1fr) auto auto;grid-template-rows:auto;gap:16px;padding:8px 16px;min-height:68px}
#portalHeader .portalHeading{grid-column:1;grid-row:1;gap:3px}
#portalHeader .portalHeading>span{font-size:11px;color:var(--muted);letter-spacing:.2px}
#portalHeader .portalHeading h1{font-size:23px;white-space:nowrap;overflow-wrap:normal}
#portalHeader .brand{grid-column:2;grid-row:1;gap:12px;max-width:340px}
#portalHeader .brand b{font-size:12px;line-height:1.4;color:var(--text);white-space:nowrap;font-weight:600}
#portalHeader .gtaLogo{width:84px;height:auto;display:block;flex:none;background:#fff;padding:4px;border-radius:2px;object-fit:contain}
#portalHeader .headerActions{grid-column:3;grid-row:1;gap:6px}
#portalHeader .railBrand{position:fixed;left:0;top:0;width:64px;height:68px;display:grid;place-items:center;background:var(--rail);z-index:41}
#portalHeader .railBrand img{width:34px;height:auto;display:block}
.workspaceTabs:before{content:none!important}
body.unifiedLayout #exploreWorkspace{height:calc(100dvh - var(--portal-top-height));}
@media(min-width:1101px){#portalHeader .workspaceTabs{padding-top:68px}}
@media(min-width:651px) and (max-width:1100px){
 #portalHeader{grid-template-columns:36px minmax(180px,1fr) auto auto;grid-template-rows:auto auto;gap:8px 12px}
 #portalHeader .railBrand{position:static;grid-column:1;grid-row:1;width:36px;height:44px;border-radius:2px}
 #portalHeader .railBrand img{width:24px}
 #portalHeader .portalHeading{grid-column:2;grid-row:1}
 #portalHeader .portalHeading h1{font-size:21px}
 #portalHeader .brand{grid-column:3;grid-row:1;gap:8px}
 #portalHeader .gtaLogo{width:66px}
 #portalHeader .brand b{font-size:11px}
 #portalHeader .headerActions{grid-column:4;grid-row:1}
 #portalHeader .workspaceTabs{grid-column:1/-1;grid-row:2}
}
@media(max-width:760px){
 #portalHeader{grid-template-columns:36px minmax(0,1fr) auto;grid-template-rows:auto auto auto;gap:9px 8px;padding:10px 12px;margin-left:0}
 #portalHeader .railBrand{position:static;grid-column:1;grid-row:1;width:36px;height:44px;border-radius:2px}
 #portalHeader .railBrand img{width:24px}
 #portalHeader .portalHeading{grid-column:2/-1;grid-row:1}
 #portalHeader .portalHeading h1{font-size:21px}
 #portalHeader .portalHeading>span{font-size:10px}
 #portalHeader .brand{grid-column:1/3;grid-row:2;gap:8px;max-width:none}
 #portalHeader .gtaLogo{width:56px;padding:3px}
 #portalHeader .brand b{font-size:11px;line-height:1.35}
 #portalHeader .headerActions{grid-column:3;grid-row:2;gap:4px}
 #portalHeader .headerActions button,#portalHeader .toolMenu>summary{min-height:36px;padding:5px 7px;font-size:12px}
 #portalHeader .workspaceTabs{grid-column:1/-1;grid-row:3;width:100%;justify-content:flex-start}
}
@media(max-width:350px){#portalHeader{padding:9px 10px;gap:8px 6px}#portalHeader .gtaLogo{width:47px;padding:2px}#portalHeader .brand{gap:6px}#portalHeader .brand b{font-size:10px}#portalHeader .headerActions button,#portalHeader .toolMenu>summary{padding:5px 6px}}

body.unifiedLayout[data-workspace] #exploreWorkspace{height:calc(100dvh - var(--portal-top-height))}
@media(max-width:650px){body.mobileProfileOpen.unifiedLayout[data-workspace] #exploreWorkspace{height:auto;min-height:0}}

/* Compact hierarchy: less chrome, readable content, unchanged coordinate space. */
:root{font-size:14px}
#portalHeader{padding:5px 14px;min-height:54px;gap:12px}
#portalHeader .portalHeading{gap:1px}#portalHeader .portalHeading h1{font-size:19px;line-height:1.12}#portalHeader .portalHeading>span{font-size:10px;line-height:1.2}
#portalHeader .brand{gap:9px}#portalHeader .brand b{font-size:11px;line-height:1.25}#portalHeader .gtaLogo{width:66px;padding:3px}
#portalHeader .railBrand{height:56px}#portalHeader .railBrand img{width:28px}
.lineResource{border-left:0;padding-left:0;gap:0}.lineResource>span{display:none!important}.lineResource select{font-size:13px;min-height:32px;border-color:var(--panel-border)}
body[data-workspace] #inspectionBar{min-height:40px;gap:9px;padding:4px 10px}#inspectionStatus{display:none!important}
.inspectionBar #mapSearch{font-size:12px;min-height:32px}.inspectionBar>button{min-height:32px;font-size:12px}
.toolbar,.threeToolbar{gap:5px;padding:5px 8px;min-height:36px}.toolbar button,.threeToolbar button,.threeToolbar select{font-size:12px;min-height:32px;padding:4px 7px}.threeToolbar label{font-size:11px}.threeToolbar>span,#interactionHint{display:none}
.surfaceTools{padding:4px 8px;gap:6px}.surfaceTools label,.surfaceTools select{font-size:11px}.surfaceTools #surfaceStatus{font-size:11px;line-height:1.25}
body.unifiedLayout .navigator{width:310px;flex-basis:310px}.navigator section,.resourceTree{padding:12px}.navigator .lineRow{padding:6px 0}.resourceTree .lineRow label b{font-size:12px}.resourceTree .lineRow small{font-size:11px}.unifiedPanelHeading{padding:10px 12px}.unifiedPanelHeading h2{font-size:15px}.rowTitle{font-size:14px}.rowValue{font-size:18px}.rowInterval{font-size:12px}.issueRowButton{padding:9px 11px}.metricCard b{font-size:20px}#worldCoordinates{font-size:16px}
.mapAnalysisWindow{width:320px;max-width:calc(100% - 24px)}.floatWindowBar{padding:3px 6px;gap:4px;min-height:36px}.floatWindowBar .worldPointActions{display:flex;margin:0;gap:4px;flex:1}.floatWindowBar button,.floatWindowBar .worldPointActions button{font-size:11px;min-height:30px;padding:3px 5px}.floatWindowBar #resetAnalysisWindow{width:30px;min-width:30px;padding:0;font-size:19px;background:transparent}.floatWindowBar #moveAnalysisWindow{flex:0 0 28px;width:28px;font-size:18px;text-align:center;padding:2px}
body.unifiedLayout .mapAnalysisWindow .worldPointCard{padding:7px 9px}.mapAnalysisWindow .pointKind{font-size:11px}.mapAnalysisWindow .worldPointCard small{font-size:10px}.mapAnalysisWindow .profileToolbar{gap:3px}.mapAnalysisWindow .profileToolbar button{font-size:11px;padding:3px 5px}.mapAnalysisWindow .profileToolbar #profileMetric{font-size:11px;width:94px}
body.unifiedLayout .mapAnalysisWindow #profilePanel{height:190px!important;padding:5px 6px}.mapAnalysisWindow .profileStatus{font-size:10px!important}#legend{font-size:11px;max-width:210px;padding:6px 8px}.threeLabel{font-size:11px}.noSelection .floatWindowBar .worldPointActions{visibility:hidden}
@media(min-width:1101px){#portalHeader .workspaceTabs{padding-top:56px}}
@media(min-width:651px) and (max-width:1100px){#portalHeader .railBrand{height:36px;width:32px}#portalHeader .railBrand img{width:22px}#portalHeader .portalHeading h1{font-size:18px}#portalHeader .gtaLogo{width:54px}#portalHeader{gap:6px 9px}body.unifiedLayout .navigator{width:300px;flex-basis:300px}}
@media(max-width:760px){#portalHeader{padding:7px 10px;gap:6px 7px;grid-template-columns:32px minmax(0,1fr) auto}#portalHeader .railBrand{height:36px;width:32px}#portalHeader .railBrand img{width:22px}#portalHeader .portalHeading h1{font-size:18px}#portalHeader .gtaLogo{width:44px;padding:2px}#portalHeader .brand{gap:7px}#portalHeader .brand b{font-size:10px;line-height:1.25}#portalHeader .headerActions button,#portalHeader .toolMenu>summary{min-height:32px;font-size:11px;padding:4px 6px}#portalHeader .workspaceTabs button{font-size:11px;min-height:32px;padding:4px}body[data-workspace] #inspectionBar{gap:6px}.lineResource select{font-size:12px}#mapSearch::placeholder{font-size:11px}}
@media(max-width:650px){.mapAnalysisWindow{width:285px}.floatWindowBar .worldPointActions button{font-size:11px;min-height:32px}.floatWindowBar #resetAnalysisWindow,.floatWindowBar #moveAnalysisWindow{min-height:32px;width:28px;min-width:28px}.toolbar button,.threeToolbar button{min-height:32px}.mapAnalysisWindow .profileToolbar #toggleProfile{min-width:54px}.mapAnalysisWindow .profileToolbar #profileMetric{width:80px;min-width:65px}body.unifiedLayout .mapAnalysisWindow[data-mobile-expanded=true] #profilePanel{height:160px!important}}

.threeAnchor span{display:none!important}.threeHeightLabel{font-size:11px;padding:2px 5px}

.surfaceTools .surfaceModeLabel{white-space:nowrap;flex:none;min-width:175px;gap:6px;line-height:1.2}.surfaceTools .surfaceModeLabel select{width:130px;max-width:130px;margin:0}.surfaceTools #surfaceStatus{flex:0 1 auto;font-size:11px;white-space:nowrap}.surfaceTools{min-height:36px}.surfaceTools .surfaceModeLabel,.surfaceTools .surfaceModeLabel select{font-size:12px}
#surfaceNotice{position:fixed;inset:auto 16px 16px auto;margin:0;width:280px;max-width:calc(100vw - 32px);padding:12px;z-index:50;border:1px solid var(--panel-border);border-radius:4px;background:var(--surface);color:var(--text);box-shadow:0 5px 20px #0003}#surfaceNotice p{font-size:12px;line-height:1.4;margin:0 0 8px}#surfaceNotice button{min-height:32px;font-size:12px}

#mapWrap #surfaceNotice{position:absolute;inset:12px 12px auto auto;width:280px;max-width:calc(100% - 24px)}

/* 6.11: shared control tokens and two-level page chrome. */
:root{--ui-font:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--ui-size:13px;--control-height:32px;--control-radius:4px;--control-gap:6px;--control-pad:8px}
body button,body input,body select,body textarea,body summary{font-family:var(--ui-font)!important;font-size:var(--ui-size)!important;border-radius:var(--control-radius)!important;line-height:1.25!important}
body button{min-height:var(--control-height)!important;padding:5px var(--control-pad)!important;font-weight:500}
body button:not(.issueRowButton):not(.curveButton){height:var(--control-height)}
body select,body input:not([type=checkbox]):not([type=range]),.toolMenu>summary{height:var(--control-height)!important;min-height:var(--control-height)!important;padding:5px var(--control-pad)!important}
body .toolMenu>summary{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);background:var(--raised);font-weight:500}
label,small,.profileStatus,.threeLabel{font-family:var(--ui-font);font-size:var(--ui-size)}
#portalHeader{min-height:48px;height:auto;padding:4px 10px;gap:8px;grid-template-columns:minmax(180px,1fr) auto auto;grid-template-rows:auto}
#portalHeader .portalHeading h1{font-size:17px}#portalHeader .portalHeading>span{font-size:11px}#portalHeader .brand b{font-size:11px}#portalHeader .gtaLogo{width:54px}
#portalHeader .railBrand{height:48px}#portalHeader .workspaceTabs{padding-top:48px}
body[data-workspace] #inspectionBar{display:flex;align-items:center;flex-wrap:wrap;min-height:44px;padding:6px 10px;gap:var(--control-gap);position:relative;z-index:35}
#inspectionBar .lineResource{flex:0 0 156px;min-width:0;width:156px;padding:0}
#inspectionBar .lineResource select{width:100%;max-width:100%;min-width:0}
#inspectionBar .toolbar,#inspectionBar .threeToolbar{display:contents;border:0;background:none;overflow:visible}
#inspectionBar .threeToolbar[hidden]{display:none!important}
#inspectionBar .toolbar .segmented{display:flex;gap:4px}
#inspectionBar .threeToolbar>label{display:flex;align-items:center;gap:4px;font-size:13px;white-space:nowrap}
#inspectionBar .threeToolbar>label select{margin:0;width:105px}
#inspectionBar #mapSearch{order:10;margin-left:auto;flex:1 1 170px;min-width:130px;width:180px;max-width:260px;font-size:13px}
#primaryMore{margin:0;position:relative}#primaryMore>.toolMenuItems{right:0;left:auto;min-width:230px;max-width:min(310px,calc(100vw - 24px));max-height:70vh;overflow:auto;gap:6px}
#primaryMore .toolMenuItems label{font-size:13px;margin:0}#primaryMore .toolMenuItems label select{width:100%;margin:4px 0 0}
#primaryMore .threeOptions{margin:0;display:block;flex-basis:auto}#primaryMore .threeOptions[open]{display:block}#primaryMore .threeOptions>summary{font-size:13px;min-height:32px;padding:6px 0}
#primaryMore #inspectionFit{display:inline-flex}#primaryMore #toggleInspector{display:none!important}
#interactionHint,#coords{display:none!important}
.mapAnalysisWindow{width:360px;max-width:calc(100% - 24px);border-radius:var(--control-radius)}
.floatWindowBar{min-height:44px;padding:6px;gap:4px}
.floatWindowBar .worldPointActions{gap:4px;flex:1;margin:0}.floatWindowBar .worldPointActions button{flex:1;white-space:nowrap}
.floatWindowBar #resetAnalysisWindow,.floatWindowBar #moveAnalysisWindow{width:32px;min-width:32px;flex:0 0 32px;min-height:32px;padding:0!important;font-size:13px!important;background:var(--raised);border:1px solid var(--border)}
body.unifiedLayout .mapAnalysisWindow .worldPointCard{padding:0 8px 6px}#mapBadge,#worldDimension{display:none!important}
body #worldCoordinates{font-family:var(--mono)!important;font-size:16px!important;height:32px!important;min-height:32px!important;padding:4px 6px!important}
.mapAnalysisWindow .profileToolbar{gap:6px;flex-wrap:wrap;padding:0}.mapAnalysisWindow .profileToolbar #profileMetric{width:104px;min-width:104px}.mapAnalysisWindow .profileToolbar #toggleProfile{min-width:0}
.mapAnalysisWindow .surfaceTools{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:6px 8px;margin:0;border-top:1px solid var(--border);background:none;min-height:44px}
.mapAnalysisWindow .surfaceTools label{display:flex;align-items:center;gap:6px;font-size:13px;min-width:0;margin:0;white-space:nowrap}
.mapAnalysisWindow .surfaceModeLabel select{width:130px;max-width:130px;margin:0}.mapAnalysisWindow #surfaceElevationLabel input{width:65px;margin:0}.mapAnalysisWindow #surfaceStatus{font-size:13px;flex:1;text-align:right}
.mapAnalysisWindow .surfaceTools .check{margin:0;order:3}.mapAnalysisWindow #surfaceElevationLabel{order:2}
body.unifiedLayout .mapAnalysisWindow #profilePanel{padding:6px 8px}.mapAnalysisWindow .profileStatus{font-size:13px!important}
@media(max-width:1100px){#portalHeader{grid-template-columns:30px minmax(0,1fr) auto auto;grid-template-rows:auto;gap:6px}#portalHeader .railBrand{position:static;grid-column:1;grid-row:1;width:30px;height:36px}#portalHeader .portalHeading{grid-column:2;grid-row:1}#portalHeader .brand{grid-column:3;grid-row:1;max-width:230px}#portalHeader .headerActions{grid-column:4;grid-row:1}#portalHeader .workspaceTabs{grid-column:1/-1;grid-row:2;padding-top:0}#portalHeader .brand b{font-size:10px}#portalHeader .gtaLogo{width:44px}}
@media(max-width:650px){#portalHeader{grid-template-columns:28px minmax(0,1fr) auto;padding:4px 8px;gap:4px;min-height:44px}#portalHeader .railBrand{width:28px;height:32px}#portalHeader .portalHeading{grid-column:2;grid-row:1}#portalHeader .portalHeading>span{font-size:10px}#portalHeader .portalHeading h1{font-size:16px}#portalHeader .brand{display:none}#portalHeader .headerActions{grid-column:3;grid-row:1}.headerActions{gap:4px}#portalHeader .workspaceTabs{grid-row:2;padding:0}
body[data-workspace] #inspectionBar{gap:4px;padding:4px 8px}#inspectionBar .lineResource{flex:1 1 110px;width:110px}#inspectionBar #mapSearch{order:10;flex:1 1 140px;max-width:none;min-width:130px;margin-left:0}#inspectionBar .threeToolbar>label select{width:98px}#inspectionBar .toolbar .segmented{gap:2px}
.mapAnalysisWindow{width:360px}.floatWindowBar{gap:3px;padding:5px}.floatWindowBar .worldPointActions{gap:3px}.floatWindowBar .worldPointActions button{padding:5px 5px!important}.floatWindowBar #resetAnalysisWindow,.floatWindowBar #moveAnalysisWindow{width:32px;min-width:32px;flex-basis:32px}.mapAnalysisWindow .profileToolbar{gap:4px}.mapAnalysisWindow .surfaceTools{gap:4px}
}

@media(min-width:1101px){#portalHeader .workspaceTabs button{height:56px!important;min-height:56px!important;padding:4px!important;width:64px;flex:none;gap:4px}#portalHeader .workspaceTabs button span{white-space:nowrap}}
@media(min-width:651px){#viewAngles,#viewAngles>.toolMenuItems{display:contents}#viewAngles>summary{display:none!important}}
@media(max-width:650px){#viewAngles{display:block;position:relative;margin:0}#viewAngles>.toolMenuItems{display:none;min-width:100px;left:0;right:auto}#viewAngles[open]>.toolMenuItems{display:flex}#portalHeader{grid-template-columns:28px minmax(0,1fr) auto auto}#portalHeader .brand{display:flex;grid-column:3;grid-row:1;max-width:36px;gap:0}#portalHeader .brand b{display:none}#portalHeader .gtaLogo{width:36px;padding:2px}#portalHeader .headerActions{grid-column:4}#portalHeader .portalHeading h1{white-space:normal}#inspectionBar .lineResource{flex:0 0 110px}#inspectionBar #primaryMore{order:1}#inspectionBar #mapSearch{flex:1 1 130px}}

/* 6.12: task-specific architecture with one shared control system. */
:root{--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--text-body:14px;--text-secondary:13px;--text-heading:16px;--panel-width:340px}
body.unifiedLayout .navigator{width:var(--panel-width);flex-basis:var(--panel-width)}
body.unifiedLayout[data-workspace=overview]{--panel-width:310px}body.unifiedLayout[data-workspace=design]{--panel-width:390px}
body.unifiedLayout #navigatorPanel [hidden]{display:none!important}
body.unifiedLayout[data-workspace=overview] #inspectorPanel,body.unifiedLayout[data-workspace=design] #inspectorPanel{display:none!important}
#navigatorPanel{font:var(--text-body)/1.55 var(--ui-font)}#navigatorPanel section{padding:var(--space-3)}
#navigatorPanel h2,#navigatorPanel h3{font-size:var(--text-heading);line-height:1.4;margin:0 0 var(--space-2)}
#navigatorPanel .unifiedPanelHeading{padding:var(--space-2) var(--space-3)}#navigatorPanel .unifiedPanelHeading h2{margin:0}
#selectionPicker>summary{padding:var(--space-2) var(--space-3);background:var(--resource);border-bottom:1px solid var(--divider)}
.resourceTree .panelTitle{display:none}.resourceTree .lineRow label b{font-size:var(--text-body);font-weight:600}.resourceTree .lineRow small{font-size:var(--text-secondary);color:var(--muted);margin-top:3px}.resourceTree .lineRow{padding:8px 0}.resourceTree .row{gap:var(--space-2);margin-bottom:var(--space-2)}
.browseHeading{display:flex;align-items:center;gap:8px}.browseHeading h2{margin:0!important}.browseMetrics,#planComparison{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.browseMetrics>div,#planComparison>div{padding:8px 10px;background:var(--resource);border:1px solid var(--divider);border-radius:var(--control-radius)}.browseMetrics span,#planComparison span{display:block;font-size:13px;color:var(--muted)}.browseMetrics b,#planComparison b{display:block;font-size:20px;line-height:1.4;font-variant-numeric:tabular-nums}.browseMetrics small,#planComparison b small{font-size:13px;font-weight:400}.browseActions{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px}.browseEmpty{color:var(--muted)}.browseStations{list-style:none;margin:0;padding:0;border-left:3px solid var(--section-accent)}.browseStations li{position:relative;margin-left:8px;border-bottom:1px solid var(--divider)}.browseStations li:before{content:'';position:absolute;left:-14px;top:17px;width:8px;height:8px;border:2px solid var(--section-accent);border-radius:50%;background:var(--panel)}.browseStations button{height:auto!important;min-height:42px;width:100%;text-align:left;border:0;background:transparent;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:6px 8px!important}.browseStations button small{color:var(--muted);font-size:12px}.browseDefinition{font-size:13px;line-height:1.55;margin-top:12px}.browseDefinition summary{min-height:32px;cursor:pointer}.browseDefinition p{margin:8px 0}
body[data-workspace=overview] #compactSelection{display:none!important}body[data-workspace=overview] .mapAnalysisWindow #profilePanel{display:none!important}
#displaySettings{border-top:1px solid var(--divider);margin-top:8px;padding-top:8px}.globalSettings>summary{min-height:32px;padding:6px 8px;cursor:pointer}.globalSettings section{padding:8px 0}.globalSettings label{display:flex;justify-content:space-between;gap:8px;align-items:center;margin:6px 0;font-size:13px}.globalSettings input[type=range]{width:120px}.globalSettings select{max-width:155px}.globalSettings .check{justify-content:flex-start}
#screeningSettings{margin-top:12px;border-top:1px solid var(--divider)}#screeningSettings>summary{min-height:32px;padding:8px 0}
body.unifiedLayout[data-workspace=design] .navigator .pageHeading h1{display:none}body.unifiedLayout[data-workspace=design] .navigator .pageHeading{margin:0 0 12px;padding:0}#designSelection h2{font-size:16px!important;margin:8px 0}#designSelection .designLocation{margin:0}#designSelection .designLocation p{margin:6px 0;font-size:13px}.designGrid{gap:12px}.designGrid .panel{padding:0!important}.designGrid label,.designAdvanced label{font-size:13px!important}.designGrid .formGrid{gap:8px}.designGrid input{width:100%;height:32px;border-radius:4px}.calculationResult{padding:10px!important;font-size:14px!important;line-height:1.55}.calculationResult>p:not(.muted){font-size:13px}.calculationResult p{margin:8px 0}.designAdvanced,.clearancePanel{margin-top:12px!important}.designAdvanced>summary,.clearancePanel>summary{padding:8px 0;min-height:32px;font-size:14px!important;border-top:1px solid var(--divider)}#planComparison{grid-template-columns:1fr 1fr 1fr}.comparisonScope{grid-column:1/-1;font-size:12px;color:var(--muted)}#designReference{font-size:13px;line-height:1.5;margin:8px 0}.planCurrent{font-size:13px!important}.designLocation .routeTag{margin-right:6px}
.toolMenuItems{padding:8px!important;gap:6px!important;border-radius:4px!important}.toolMenuItems>button{width:100%;text-align:left}.floatWindowBar{gap:6px}.mapAnalysisWindow{border-radius:4px!important}.primary{font-weight:600}.rowTitle{font-size:16px}.rowValue{font-size:20px}.rowInterval,.rowReason{font-size:13px}
@media(max-width:1100px) and (min-width:651px){body.unifiedLayout .navigator{width:310px;flex-basis:310px}body.unifiedLayout[data-workspace=design] .navigator{width:350px;flex-basis:350px}}
@media(max-width:650px){body.unifiedLayout .navigator,body.unifiedLayout[data-workspace=design] .navigator{width:min(390px,94%);flex-basis:auto;top:0}.globalSettings select{max-width:140px}#planComparison b{font-size:18px}}

@media(min-width:651px){#inspectionBar #viewAngles>.toolMenuItems>button{width:auto!important}}
.designGrid .panel h2{margin:0 0 12px!important}.designGrid .formGrid label{margin:0;gap:4px}.designGrid .formGrid input{margin:0}#browseSummary{border-bottom:1px solid var(--divider)}
@media(min-width:651px){#inspectionBar #viewAngles{display:block}#inspectionBar #viewAngles>.toolMenuItems{display:flex;position:static;min-width:0;padding:0!important;gap:4px!important;margin:0;border:0;box-shadow:none;background:transparent;backdrop-filter:none}#inspectionBar #viewAngles>.toolMenuItems>button{width:auto!important;margin:0;display:inline-flex!important}}

/* Review correction: three task surfaces, with the same selection and cameras. */
body.unifiedLayout #inspectorPanel[hidden]{display:none!important}
.browseStations{border-left:0}.browseStations li{margin-left:0}.browseStations li:before{display:none}
.browseStations button{border-bottom:1px solid var(--divider)}
.designTargetBasis{margin:8px 0;font-size:13px}.designTargetBasis summary{cursor:pointer;min-height:32px;padding:6px 0}
.calculationBasis{margin-top:10px;border-top:1px solid var(--divider);padding-top:6px}.calculationBasis summary{cursor:pointer}
.calculationBasis,.calculationBasis p,#designReference{max-height:none!important;overflow:visible!important}
.mapAnalysisWindow .profileStatus{display:flex;flex-wrap:wrap;gap:4px;height:auto!important;min-height:22px;overflow:visible!important;white-space:normal!important}
.mapAnalysisWindow .profileStatus span{min-width:0;white-space:normal!important;overflow-wrap:anywhere;overflow:visible!important;text-overflow:clip}
body.unifiedLayout[data-workspace=explore] #exploreWorkspace{display:grid;grid-template-columns:300px minmax(0,1fr) 340px;grid-template-areas:'queue map evidence'}
body.unifiedLayout[data-workspace=explore] .navigator{grid-area:queue;width:auto;flex-basis:auto;border-left:0;border-right:1px solid var(--divider)}
body.unifiedLayout[data-workspace=explore] .workspace{grid-area:map;width:auto;min-width:0}
body.unifiedLayout[data-workspace=explore] #inspectorPanel{grid-area:evidence;display:block!important;width:auto;min-width:0;height:100%;overflow:auto;background:var(--inspector);border-left:1px solid var(--divider);padding:16px}
body.unifiedLayout[data-workspace=explore] .navCollapsed{grid-template-columns:minmax(0,1fr) 340px!important;grid-template-areas:'map evidence'!important}
body.unifiedLayout[data-workspace=explore] #selectionPicker>summary{display:none}
body.unifiedLayout[data-workspace=explore] #selectionPicker .issuePanel{display:block}
body.unifiedLayout[data-workspace=explore] .unifiedPanelHeading{position:sticky}
body.unifiedLayout[data-workspace=design] .navigator{order:1;width:62%;flex:0 0 62%;border-left:0;border-right:1px solid var(--divider);background:var(--surface)}
body.unifiedLayout[data-workspace=design] .workspace{order:2;width:38%;flex:1;min-width:0}
body.unifiedLayout[data-workspace=design] #designWorkspace{max-width:900px;margin:auto;padding:24px}
body.unifiedLayout[data-workspace=design] .designGrid .formGrid{grid-template-columns:1fr 1fr 1fr}
body.unifiedLayout[data-workspace=design] .designGrid label:last-child{grid-column:auto}
body.unifiedLayout[data-workspace=design] #planComparison{gap:12px;margin:20px 0}
body.unifiedLayout[data-workspace=design] #planComparison b{font-size:26px}
body.unifiedLayout[data-workspace=design] .mapAnalysisWindow #profilePanel{display:none!important}
@media(min-width:651px) and (max-width:1100px){
body.unifiedLayout[data-workspace=explore] #exploreWorkspace{height:calc(100dvh - var(--portal-top-height));grid-template-columns:260px minmax(0,1fr);grid-template-rows:55% 45%;grid-template-areas:'queue map' 'queue evidence'}
body.unifiedLayout[data-workspace=explore] .navCollapsed{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:'map' 'evidence'!important}
body.unifiedLayout[data-workspace=explore] .workspace,body.unifiedLayout[data-workspace=explore] #inspectorPanel{height:100%;min-height:0}
body.unifiedLayout[data-workspace=design] .navigator{width:58%;flex-basis:58%}
body.unifiedLayout[data-workspace=design] #designWorkspace{padding:16px}
body.unifiedLayout[data-workspace=design] .designGrid .formGrid{grid-template-columns:1fr 1fr}
}
@media(max-width:650px){
body.unifiedLayout[data-workspace=explore],body.unifiedLayout[data-workspace=design]{overflow:auto}
body.unifiedLayout[data-workspace=explore] #exploreWorkspace,body.unifiedLayout[data-workspace=design] #exploreWorkspace{display:flex;flex-direction:column;height:auto;min-height:0}
body.unifiedLayout[data-workspace=explore] .navigator,body.unifiedLayout[data-workspace=design] .navigator{position:static;width:100%;max-width:none;flex:none;height:auto;min-height:0;max-height:none;box-shadow:none;border:0;order:1;overflow:visible}
body.unifiedLayout[data-workspace=explore] .navigator{max-height:48dvh;overflow:auto}
body.unifiedLayout[data-workspace=explore] .workspace,body.unifiedLayout[data-workspace=design] .workspace{order:2;width:100%;height:440px;min-height:440px;flex:none}
body.unifiedLayout[data-workspace=explore] #inspectorPanel{order:3;width:100%;height:auto;overflow:visible;border-left:0;border-top:1px solid var(--divider)}
body.unifiedLayout[data-workspace=design] #designWorkspace{padding:16px}
body.unifiedLayout[data-workspace=design] .designGrid .formGrid{grid-template-columns:1fr 1fr}
body.unifiedLayout[data-workspace=design] .designGrid label:last-child{grid-column:1/-1}
body.unifiedLayout[data-workspace=design] #planComparison b{font-size:20px}
body.unifiedLayout[data-workspace=design] .navCollapsed .navigator{display:none}
}
