/* Matte resource instruments share the network console's depth and blue seam. */
body.resource-active { height:100dvh; overflow:hidden; }
body.resource-active main { position:fixed; inset:86px 0 0; min-height:0; padding:12px 18px 16px; overflow:hidden; display:flex; flex-direction:column; }
body.resource-active :is(#scopebar,main>.topbar) { display:none; }
body.resource-active .resource-view:not(.hidden) { display:flex; flex:1; flex-direction:column; width:100%; max-width:none!important; min-height:0; height:100%; gap:12px; margin:0; overflow:hidden; }
body.resource-active .resource-view>.pagehead { display:flex!important; flex:none; align-items:center; min-height:44px; margin:0; padding:0 3px; gap:14px; }
.resource-view .pagehead .ph-txt { min-width:0; flex:1; }
.resource-view .pagehead h2 { display:inline-block; font:550 21px/1.3 var(--sans); margin:2px 10px 2px 0; letter-spacing:-.5px; }
.resource-view .pagehead .ops-eyebrow { font-size:8px; letter-spacing:.13em; }
.resource-view .pagehead .workspace-eyebrow { display:none; }
.resource-info-store { display:none; }
body.resource-active .resource-info-button { display:inline-grid; place-items:center; vertical-align:3px; width:25px; height:25px; padding:0; border-radius:8px; border:1px solid #d6e4ee18; color:#9eabb3; background:linear-gradient(#333b3f,#2a3135); box-shadow:inset 0 1px #dce9ed0e,0 2px 3px #0004; font:12px var(--sans); }
body.resource-active .resource-info-button:hover { background:#22292d; box-shadow:inset 0 2px 4px #0008; }
.resource-info { width:min(510px,calc(100vw - 24px)); max-height:calc(100dvh - 32px); padding:0; }
.resource-info header { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:14px 18px; border-bottom:1px solid #10191e; }
.resource-info h3 { font:550 14px var(--sans); margin:0; }
.resource-info-body { padding:18px; max-height:65dvh; overflow:auto; color:#b4c1c9; font:13px/1.8 var(--sans); }
.resource-info-body p { margin:0; }
.resource-view :is(.card,.resource-index,.resource-work-index) { border:1px solid #101719; border-radius:13px; background:linear-gradient(145deg,#30373b,#252c30); box-shadow:inset 0 1px #e8f1f115,0 4px 8px #0005; }
.resource-view :is(input[type=search],textarea) { font:12px/1.5 var(--sans); }
.resource-view :is(button,input,textarea):focus-visible { outline:none; box-shadow:inset 0 0 0 1px #63ceff88,inset 0 2px 5px #0008; }
.resource-view .resource-search { display:flex; align-items:center; min-width:0; padding:0 11px; border-radius:8px; border:1px solid #11191c; background:linear-gradient(#151c20,#1d2529); box-shadow:inset 0 2px 4px #0008,0 1px #e1eff311; }
.resource-search::before { content:''; width:9px; height:9px; border:1px solid #809aa9; border-radius:50%; margin-right:9px; flex:none; }
.resource-view .resource-search input { min-width:0; width:100%; padding:9px 0; background:none!important; box-shadow:none!important; border:0!important; color:#c9d8e0; }
.resource-view .resource-search:focus-within { box-shadow:inset 0 0 0 1px #48c8ff70,inset 0 2px 4px #0008; }
.resource-count,.resource-source { color:#8fa2ad; font:10px/1.6 var(--sans); }
.resource-tabs { display:flex; flex:none; gap:3px; padding:4px; min-width:0; border-radius:10px; background:linear-gradient(#161e22,#20292e); border:1px solid #10181c; box-shadow:inset 0 2px 4px #0007,0 1px #e0ecf112; }
.resource-view .resource-tabs button { min-width:0; padding:7px 11px; white-space:nowrap; font:11px var(--sans); background:none; border:1px solid transparent; box-shadow:none; border-radius:7px; color:#91a4af; }
.resource-view .resource-tabs button:hover { color:#d2e4ef; background:#adbccc0a; }
.resource-view .resource-tabs button[aria-selected=true] { color:var(--pra-selected-fg); background:var(--pra-selected-bg); border-color:var(--pra-selected-rim); box-shadow:var(--pra-selected-shadow); }
/* Source and model can be inspected together or given the entire drawing bay. */
.resource-view#view-examples>.card { flex:1; min-height:0; padding:0; }
.resource-view#view-examples .pagehead { flex-wrap:wrap; gap:6px 15px; }
.resource-view #ex-intro { font:11px/1.5 var(--sans); margin:2px 0 0; color:#c0ad92; max-width:1100px; }
.resource-view#view-examples .ex-wrap { height:100%; min-height:0; align-items:stretch; gap:0; grid-template-columns:256px minmax(0,1fr); }
.resource-index { display:flex; flex-direction:column; min-height:0; padding:12px 10px 9px; border-radius:12px 0 0 12px!important; }
.resource-index-head { flex:none; display:grid; gap:10px; padding:3px 2px 9px; }
.resource-view h3 { font:550 12px/1.5 var(--sans); color:#bdcdd6; }
.resource-index-head h3 { margin:0; }
.resource-view #ex-list { min-height:0; max-height:none; flex:1; padding:var(--pra-lift-gutter); overflow:auto; scrollbar-width:thin; }
.resource-view #ex-main { padding:14px; display:flex; flex-direction:column; gap:11px; min-height:0; height:100%; box-sizing:border-box; overflow:hidden; }
.resource-example-head { display:flex; align-items:center; flex-wrap:wrap; gap:8px 15px; flex:none; }
.resource-example-head>div:first-child { flex:1; min-width:160px; }
.resource-view #ex-main .resource-example-head h3 { font-size:20px; margin:0; letter-spacing:-.5px; }
.resource-example-head .resource-source { margin:2px 0 0; text-transform:uppercase; letter-spacing:.07em; font-size:9px; }
.resource-example-head .resource-tabs { order:3; margin-left:auto; }
.resource-view #ex-main>.ex-cols { display:grid; grid-template-columns:minmax(0,var(--example-source-share,.5fr)) 12px minmax(0,var(--example-model-share,.5fr)); grid-template-rows:minmax(0,1fr); min-height:0; flex:1; gap:0; }
.resource-view #ex-main>.ex-cols:not([data-comparison=compare]) { grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(0,1fr); }
.resource-view #ex-main .ex-cols>figure { display:flex; flex-direction:column; min-width:0; min-height:0; }
.resource-view #ex-main .ex-cols>figure[hidden] { display:none; }
.resource-view #ex-main figcaption { flex:none; padding:9px 12px; font-size:10px; background:linear-gradient(#30383c,#2a3236); color:#9dabb3; border-color:#111a1f; }
.resource-view #ex-main :is(figcaption,.ex-plot) { user-select:none; -webkit-user-select:none; }
.resource-view #ex-main .plate { touch-action:none; }
.resource-view #ex-main .plate img { -webkit-user-drag:none; }
.resource-example-splitter { position:relative; min-width:0; min-height:0; width:12px; cursor:col-resize; touch-action:none; user-select:none; -webkit-user-select:none; outline:none; }
.resource-example-splitter::before { content:''; position:absolute; left:3px; top:50%; width:6px; height:44px; transform:translateY(-50%); border:1px solid #11191d; border-radius:4px; background:linear-gradient(90deg,#1a2226,#394248 65%,#242d32); box-shadow:inset 1px 0 #d9e3e514,1px 0 2px #0005; box-sizing:border-box; }
.resource-example-splitter::after { content:''; position:absolute; left:5px; top:50%; width:2px; height:18px; transform:translateY(-50%); background:repeating-linear-gradient(to bottom,#9cabb2 0 1px,transparent 1px 4px); opacity:.6; }
.resource-example-splitter:is(:hover,:focus-visible)::before,.resource-split-resizing>.resource-example-splitter::before { background:linear-gradient(90deg,#232c31,#4a565e 65%,#2d3940); border-color:#8298a14a; box-shadow:inset 1px 0 #d9e3e526,1px 0 3px #0006; }
.resource-example-splitter:focus-visible::after { opacity:1; }
.resource-example-splitter[aria-orientation=horizontal] { width:100%; height:12px; cursor:row-resize; }
.resource-example-splitter[aria-orientation=horizontal]::before { left:50%; top:3px; width:44px; height:6px; transform:translateX(-50%); background:linear-gradient(#1a2226,#394248 65%,#242d32); }
.resource-example-splitter[aria-orientation=horizontal]::after { left:50%; top:5px; width:18px; height:2px; transform:translateX(-50%); background:repeating-linear-gradient(to right,#9cabb2 0 1px,transparent 1px 4px); }
body.resource-split-dragging,body.resource-split-dragging * { cursor:col-resize!important; user-select:none!important; -webkit-user-select:none!important; }
body.resource-split-dragging.resource-split-stacked,body.resource-split-dragging.resource-split-stacked * { cursor:row-resize!important; }
.resource-view #ex-main .ex-plot { position:relative; flex:1; min-height:0; max-height:none; height:auto!important; background-color:#20201f; background-image:radial-gradient(#bfae8e13 .6px,transparent .6px); background-size:20px 20px; border-color:#111a1f; box-shadow:inset 0 3px 8px #0006; }
.resource-view #ex-main .ex-plot>svg { width:100%!important; height:100%!important; }
.resource-view #ex-main .plate-stage { height:100%; }
.resource-view #ex-main .plate-tools { top:auto; bottom:10px; right:10px; padding:3px; }
.resource-view #ex-main .plate-tools button { font-size:10px; min-height:26px; padding:4px 8px; }
.resource-example-evidence { display:flex; flex:none; flex-wrap:wrap; gap:9px 15px; }
.resource-view #ex-main .metrics { display:flex; flex:1 1 100%; gap:0; margin:0!important; padding:9px 0; border-top:1px solid #b9c9cf18; border-bottom:1px solid #111a1e; overflow:auto; }
.resource-view #ex-main .metric { flex:1; padding:0 14px; background:none; border:0; border-right:1px solid #a4bdca17; border-radius:0; box-shadow:none; white-space:nowrap; }
.resource-view #ex-main .metric:first-child { padding-left:2px; }
.resource-view #ex-main .metric b { font:550 19px var(--sans); }
.resource-view #ex-main .metric span { display:block; margin-top:3px; font-size:9px; }
.resource-view #ex-main .ex-ready { flex:1; margin:0; min-width:160px; padding:0; border:0; background:none; font:10px/1.6 var(--sans); }
.resource-view #ex-main .ex-foot { display:flex; flex:1; justify-content:flex-end; align-items:start; min-width:220px; margin:0; padding:0; border:0; }
.resource-view #ex-main .ex-legend { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:7px; font:9px/1.7 var(--sans); color:#99abb5; }
/* Library scope, evidence, and independent study register. */
.resource-view#view-library .lib-card { display:flex; flex-direction:column; flex:1; min-height:0; padding:14px; margin:0; gap:14px; overflow:hidden; }
.resource-view#view-library .lib-head { flex:none; display:flex; align-items:center; gap:20px; margin:0; }
.resource-view#view-library .pf-pick { flex:0 1 300px; min-width:0; }
.resource-view#view-library #lib-about { font-size:10px; margin:6px 0 0; }
.resource-view#view-library .lib-stats { display:flex; flex:1; gap:0; }
.resource-view#view-library .lib-stats .metric { flex:1; padding:7px 15px; margin:0; background:none; box-shadow:none; border:0; border-left:1px solid #aec9d21d; border-radius:0; }
.resource-view#view-library .metric b { display:block; font:550 24px/1.4 var(--sans); }
.resource-register-tools { display:flex; flex:none; align-items:center; gap:14px; }
.resource-register-tools .resource-search { width:340px; max-width:100%; }
.resource-register-tools .resource-count { margin-left:auto; white-space:nowrap; }
.resource-library-layout { display:grid; flex:1; min-height:0; min-width:0; grid-template-columns:minmax(0,1fr) 260px; gap:14px; }
.resource-library-layout>#lib-body { min-height:0; min-width:0; overflow:auto; scrollbar-width:thin; }
.resource-library-layout:has(.resource-library-rail[hidden]) { grid-template-columns:minmax(0,1fr); }
.resource-library-rail { display:flex; flex-direction:column; gap:15px; min-height:0; min-width:0; overflow:auto; padding:14px; border:1px solid #111a1e; border-radius:10px; background:linear-gradient(#1b2327,#232b2e); box-shadow:inset 0 2px 5px #0007,0 1px #d4e7ed0c; }
.resource-library-rail .lib-mapwrap { margin:0; }
.resource-library-rail .lib-map { height:220px; }
.resource-view .resource-library-info { display:none; }
.resource-info-body>.resource-library-rail { display:flex; padding:0; border:0; background:none; box-shadow:none; }
.resource-library-rail h3 { margin:0 0 10px; }
.resource-view .lib-foot { color:#8fa3af; font:11px/1.8 var(--sans); margin:0; }
.resource-view .lib-table { width:100%; min-width:760px; table-layout:auto; border-collapse:separate; border-spacing:0 6px; }
.resource-view #lib-body .tblwrap { padding:var(--pra-lift-gutter); }
.resource-view .lib-table th,.resource-view .lib-table td { white-space:normal; padding:0; background:none; border:0; }
.resource-view .lib-table thead th { padding:8px 11px; font:10px/1.5 var(--sans); color:#819ca9; position:sticky; top:0; background:#212a2e; z-index:2; }
.resource-view .lib-table tbody th { max-width:250px; font:550 12px/1.5 var(--sans); }
.resource-view .lib-table .pra-row-face { min-height:50px; padding:12px 10px; font-size:11px; background:linear-gradient(#2d363a,#273034); border-top:1px solid #c7e0e809; }
.resource-view .lib-table tr::after { content:none; }
.resource-view .lib-table tbody tr.on .pra-row-face { background:var(--pra-selected-bg); color:var(--pra-selected-fg); box-shadow:var(--pra-selected-row-shadow); }
.resource-view .lib-table tbody td,.resource-view .lib-table tbody th { position:relative; isolation:isolate; }
.resource-view .lib-table tbody :is(td,th)::before { content:''; position:absolute; inset:0; z-index:0; background:#16b7ff; opacity:0; transition:opacity .58s .09s ease; }
.resource-view .lib-table .pra-row-face { position:relative; z-index:1; transition:transform .58s .09s cubic-bezier(.3,0,.25,1); }
.resource-view .lib-table tbody :is(td,th):first-child,.resource-view .lib-table tbody :is(td,th):first-child::before,.resource-view .lib-table tbody :is(td,th):first-child>.pra-row-face { border-radius:7px 0 0 7px; }
.resource-view .lib-table tbody :is(td,th):last-child,.resource-view .lib-table tbody :is(td,th):last-child::before,.resource-view .lib-table tbody :is(td,th):last-child>.pra-row-face { border-radius:0 7px 7px 0; }
@media(hover:hover) and (pointer:fine){.resource-view .lib-table tbody tr:hover :is(td,th)::before { opacity:var(--pra-hover-light,1); transition-duration:.12s; transition-delay:0s; }.resource-view .lib-table tbody tr:hover .pra-row-face { transform:var(--pra-row-hover-lift); transition-duration:.15s; transition-delay:0s; }}
.resource-view .lib-table .opt { display:table-cell; }
.resource-mobile-field { display:none; }
.resource-view .lib-table .lib-acts .pra-row-face { display:flex; gap:7px; align-items:center; }
.resource-view .lib-table .bk-tag { background:none; padding:0; font-size:9px; color:#86c9e8; }
.resource-view .lib-mine { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 12px; margin:0 0 10px; font:11px/1.7 var(--sans); color:#97acb8; border:0; border-bottom:1px solid #bacfd51b; border-radius:0; background:none; box-shadow:none; }
.resource-view #lib-add:not(.hidden) { flex:1; min-height:0; margin:0; overflow:auto; padding:20px; scrollbar-width:thin; }
.resource-view.resource-adding .lib-card { display:none!important; }
.resource-view #lib-add .lib-add-cols { grid-template-columns:1fr 1fr; }
/* Private changes: record index / selected original form / private portfolios. */
.resource-private-layout { display:grid; grid-template-columns:250px minmax(0,1fr) 290px; gap:14px; flex:1; min-height:0; }
.resource-private-layout:not(.has-private-studies) { grid-template-columns:minmax(0,1fr) 290px; }
.resource-work-index { display:flex; flex-direction:column; gap:12px; min-height:0; padding:15px 11px; }
.resource-work-index h3 { margin:0 3px; }
.resource-work-index>.resource-count { padding:0 3px; }
.resource-work-list { flex:1; min-height:0; overflow:auto; padding:var(--pra-lift-gutter); scrollbar-width:thin; }
.resource-view .resource-work-row { display:block; text-align:left; width:100%; margin-bottom:8px; padding:0; border:0; border-radius:8px; background:none; color:#aebfc9; }
.resource-work-row .pra-lift-face { display:flex; flex-direction:column; align-items:start; padding:13px 12px; gap:5px; }
.resource-work-row b { font:550 12px/1.5 var(--sans); }
.resource-work-row span:not(.pra-lift-face),.resource-work-row small { font:10px/1.5 var(--sans); color:#849ca9; }
.resource-view .mw-card { min-width:0; min-height:0; margin:0; padding:22px; overflow:auto; scrollbar-width:thin; }
.resource-view .mw-net-h { display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; margin:0 0 22px; padding-bottom:12px; border-bottom:1px solid #afcad021; }
.resource-view .mw-list { padding:0; margin:0; }
.resource-view .mw-item { display:flex; flex-direction:column; gap:18px; padding:0; border:0; position:relative; }
.resource-view .mw-main { min-width:0; }
.resource-view .mw-title { flex-wrap:wrap; gap:10px; margin-bottom:18px; }
.resource-view .mw-title h4 { flex:1 1 100%; font:550 24px/1.4 var(--sans); color:#d7e3ea; margin:0; }
.resource-view .mw-diff { font:13px/1.8 var(--sans); color:#b1c4ce; margin:20px 0; padding:16px; border-radius:9px; background:#182125; box-shadow:inset 0 2px 4px #0006; }
.resource-view .mw-desc { min-height:110px; resize:vertical; width:100%; }
.resource-view .mw-meta { margin:15px 0 0; font:10px/1.7 var(--sans); overflow-wrap:anywhere; }
.resource-view .mw-acts { display:flex; flex-direction:row; align-items:center; gap:8px; padding-top:18px; border-top:1px solid #a7bdc91c; }
.resource-view .mw-acts .danger { margin-left:auto; }
.resource-view .mw-title :is(.bk-tag,.mw-run),.resource-view .mw-ex { font-size:10px; background:none; box-shadow:none; border:0; padding:0; }
.resource-view .mw-warn { color:#c5b69b; border:1px solid #d1b68125; border-radius:8px; padding:11px 13px; background:#c0a77808; font:11px/1.7 var(--sans); }
.resource-view .mw-confirm:not(.hidden) { display:block; padding:15px; border:1px solid #cba99038; border-radius:9px; background:#302b29; font:12px/1.7 var(--sans); }
.resource-view .resource-private-portfolios { background:linear-gradient(#1e272b,#252e32); box-shadow:inset 0 2px 5px #0006; padding:18px; }
.resource-view .resource-private-portfolios .card-head { margin:0 0 16px; }
.resource-view .resource-private-portfolios .card-note { font-size:11px; line-height:1.7; }
.resource-view .mw-plist { list-style:none; padding:0; margin:0; }
.resource-view .mw-plist li { display:flex; flex-direction:column; align-items:start; gap:15px; padding:16px 0; border-top:1px solid #adc5d21a; }
.resource-view .mw-plist b { display:block; margin-bottom:7px; font:550 14px/1.6 var(--sans); }
.resource-view .mw-plist .dim { font:11px/1.8 var(--sans); }
.resource-view#view-mywork .pagehead>.resource-tabs { display:none; }
/* Archive: outcome and source lead; full identifiers wrap rather than truncate. */
.resource-view#view-hist>.card { display:flex; flex-direction:column; flex:1; min-height:0; padding:14px; gap:16px; margin:0; }
.resource-view #histlist { flex:1; min-height:0; overflow:auto; padding:var(--pra-lift-gutter); scrollbar-width:thin; }
.resource-view .runrow { position:relative; width:100%; margin:0 0 10px; padding:0; text-align:left; border:0; border-radius:10px; background:none; color:#adbfca; }
.resource-view .runrow .pra-lift-face { display:grid; grid-template-columns:90px minmax(120px,1fr) minmax(160px,1.1fr) 120px; align-items:center; gap:10px 22px; padding:18px; }
.resource-view .rr-name { grid-column:2; font:550 16px/1.5 var(--sans); color:#d0e0e8; }
.resource-view .rr-status { grid-column:1; grid-row:1/3; width:auto; font:10px/1.6 var(--sans); text-transform:uppercase; letter-spacing:.08em; border:0; box-shadow:none; background:none; }
.resource-view .rr-id { grid-column:2; grid-row:2; font:10px/1.6 var(--mono); color:#8ba0ac; overflow-wrap:anywhere; }
.resource-view .rr-id { background:none; padding:0; }
.resource-view .rr-met { grid-column:3; grid-row:1/3; font:12px/1.8 var(--sans); white-space:normal; color:#b4cad7; }
.resource-view .rr-when { grid-column:4; grid-row:2; font:10px/1.5 var(--sans); }
.resource-view .resource-run-open { grid-column:4; grid-row:1; color:#a8cee2; font:11px/1.5 var(--sans); }
.resource-view #histlist code.rr-id { padding:0; border:0; background:none; box-shadow:none; }
.resource-view#view-hist .resource-tabs button { background:none; border:1px solid transparent; box-shadow:none; }
.resource-view#view-hist .resource-tabs button[aria-selected=true] { background:var(--pra-selected-bg); border-color:var(--pra-selected-rim); box-shadow:var(--pra-selected-shadow); color:var(--pra-selected-fg); }
.resource-view#view-hist .resource-tabs button:hover:not([aria-selected=true]) { background:#ffffff06; color:#d7e6ef; }
/* An empty archive remains a purposeful instrument bay, without pretend runs. */
.resource-view#view-hist:has(.history-state)>.card { padding:9px; }
.resource-view #histlist:has(>.history-state) { display:flex; align-items:center; justify-content:center; padding:26px; border:1px solid #10191d; border-radius:10px; background:radial-gradient(ellipse at 28% 45%,#4b5b6418,transparent 58%),radial-gradient(circle,#97bccb0d .75px,transparent .85px) 0 0/22px 22px,linear-gradient(#1b2327,#202a2e); box-shadow:inset 0 4px 14px #0006,0 1px #dfebf00a; }
.history-state { display:grid; grid-template-columns:minmax(220px,.95fr) minmax(280px,1fr); align-items:center; gap:38px; width:min(100%,1000px); flex:none; min-height:320px; box-sizing:border-box; padding:28px 35px; }
.history-state-art { position:relative; min-width:0; }
.history-state-art::before { content:''; position:absolute; inset:14% 2% 2%; border-radius:50%; background:radial-gradient(ellipse,#41b8e407,transparent 68%); }
.history-state-art svg { display:block; width:100%; height:auto; max-height:330px; }
.history-state-copy { min-width:0; }
.history-state-eyebrow { color:#7794a5; font:500 9px/1.5 var(--sans); letter-spacing:.14em; text-transform:uppercase; }
.resource-view .history-state h3 { margin:10px 0 13px; color:#d3e1e9; font:500 29px/1.18 var(--sans); letter-spacing:-.7px; }
.history-state-copy>p { max-width:38ch; margin:0; color:#95adbc; font:12px/1.85 var(--sans); }
.history-state-actions { display:flex; flex-wrap:wrap; align-items:center; gap:9px; margin-top:24px; }
.resource-view .history-state-actions :is(.go,.ebtn),.resource-view .history-filter-empty button { width:auto; min-height:35px; padding:8px 13px; border:1px solid #a0bdce22; border-radius:9px; color:#b8cfdd; background:linear-gradient(#303e46,#26333a); box-shadow:inset 0 1px #d8e8f017,0 2px 4px #0006; font:500 11px/17px var(--sans); cursor:pointer; }
.resource-view .history-state-actions .go { color:#d7eaf6; background:linear-gradient(#3c5869,#2e4654); border-color:#95c2db33; }
.resource-view .history-state-actions :is(.go,.ebtn):hover,.resource-view .history-filter-empty button:hover { background:linear-gradient(#26363f,#30434e); color:#e0edf5; box-shadow:inset 0 2px 5px #0008,0 1px #e1f1ff12; }
.resource-view .history-state-actions button:focus-visible,.resource-view .history-filter-empty button:focus-visible { outline:none; box-shadow:inset 0 0 0 1px #20baff88,inset 0 2px 5px #0008; }
.history-state-capabilities { display:flex; flex-wrap:wrap; gap:9px 16px; margin-top:34px; padding-top:15px; border-top:1px solid #a4c0d013; color:#647f90; font:10px/1.5 var(--sans); }
.history-state-capabilities span+span { position:relative; }
.history-state-capabilities span+span::before { content:''; position:absolute; left:-8px; top:6px; width:1px; height:5px; background:#819ead44; }
.history-state-copy>.history-state-error { margin-top:12px; color:#a6b7c1; font-size:11px; overflow-wrap:anywhere; max-height:90px; overflow:auto; }
.history-state-loading .history-state-art { opacity:.65; }
.history-state-progress { display:block; width:115px; height:2px; margin-top:25px; border-radius:2px; background:linear-gradient(90deg,#3b596c44,#70b8dc99,#3b596c44); background-size:200% 100%; animation:history-reading 1.5s ease-in-out infinite; }
.history-filter-empty { flex:1; min-height:0; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:12px; padding:24px; border:1px solid #10191d; border-radius:10px; text-align:center; background:linear-gradient(#1a2429,#202b31); box-shadow:inset 0 3px 9px #0006; }
.resource-view .history-filter-empty h3 { margin:0; color:#c9dce8; font:500 20px/1.3 var(--sans); }
.history-filter-empty p { max-width:38ch; margin:0 0 7px; color:#8fa8b8; font:12px/1.8 var(--sans); }
@keyframes history-reading { 0%,100% { background-position:100% 0; opacity:.6; } 50% { background-position:0 0; opacity:1; } }
@media(max-width:760px) { .resource-view #histlist:has(>.history-state) { padding:15px; }.history-state { grid-template-columns:minmax(0,1fr); justify-items:center; gap:0; padding:8px 9px 18px; min-height:0; }.history-state-art { width:230px; max-width:85%; }.history-state-art svg { max-height:170px; }.history-state-copy { width:100%; max-width:360px; text-align:left; }.resource-view .history-state h3 { font-size:25px; }.history-state-copy>p { max-width:none; }.history-state-actions { margin-top:19px; }.history-state-capabilities { margin-top:24px; gap:8px 14px; font-size:9px; } }
@media(max-height:650px) { .history-state { min-height:0; padding:16px 22px; gap:24px; }.history-state-art svg { max-height:220px; }.history-state-capabilities { display:none; }.resource-view .history-state h3 { font-size:25px; }.history-state-actions { margin-top:17px; } }
@media(max-height:560px) and (max-width:760px) { .history-state { display:block; padding:8px; }.history-state-art { display:none; }.history-state-copy { max-width:480px; }.history-state-eyebrow { display:none; }.history-state-copy>p { font-size:11px; } }
@media(prefers-reduced-motion:reduce) { .history-state-progress { animation:none; } }
.resource-view .resource-no-matches::after { content:'No matching records. Clear the search or choose another filter.'; display:block; padding:25px 12px; color:#91a7b4; font:12px/1.8 var(--sans); }
.resource-view :is(.lib-empty,.mw-empty),.resource-view :is(#lib-body,#mw-body,#mw-ports,#histlist)>p { padding:25px; max-width:680px; margin:0; color:#a7bdc8; line-height:1.8; }
.resource-view :is(.lib-empty,.mw-empty) h3 { font-size:20px; color:#d0dfe8; margin:0 0 12px; }
.resource-view :is(.lib-empty,.mw-empty) .dim { font:12px/1.8 var(--sans); }
/* Published standalone models and private work share one Substations workspace. */
.sidebar #nav-mywork { display:none!important; }
#view-library>.substations-heading,#view-mywork>.substations-heading { display:grid!important; grid-template-columns:minmax(140px,1fr) auto auto auto; align-items:center; gap:12px; flex:none; }
.substations-heading>.ph-txt { display:flex; align-items:center; gap:8px; }
.substations-heading .ph-txt h2 { margin:0; }
.substations-heading :is(.workspace-eyebrow,.ops-eyebrow) { display:none; }
.substations-view-switch { display:flex; flex-direction:row; align-items:center; gap:3px; grid-column:2; grid-row:1; padding:4px; border:1px solid #11191d; border-radius:13px; background:linear-gradient(#171f23,#242e33); box-shadow:inset 0 2px 5px #0009,0 1px #d9e5ed14; }
.substations-view-button { min-height:33px; padding:7px 15px; border:1px solid transparent; border-radius:9px; background:none; box-shadow:none; color:#91a9b8; font:500 11px var(--sans); white-space:nowrap; cursor:pointer; }
.substations-view-button[aria-current=page] { color:var(--pra-selected-fg); background:var(--pra-selected-bg); border-color:var(--pra-selected-rim); box-shadow:var(--pra-selected-shadow); cursor:default; }
.substations-view-button:hover:not([aria-current=page]) { background:#ffffff06; color:#d4e5ef; }
.substations-view-button:focus-visible { outline:none; box-shadow:inset 0 0 0 1px #21baff80,inset 0 0 10px #19b6ff1a; }
.substations-heading>.ph-act { grid-column:3; grid-row:1; }
.substations-heading>.ops-explanation { grid-column:4; grid-row:1; justify-self:end; }
#view-library:has(.substations-empty) #lib-new { display:none; }
#view-library:has(.substations-empty) .lib-card { padding:8px; }
#view-library:has(.substations-empty) #lib-body { display:flex; flex-direction:column; }
.resource-view .substations-empty { display:flex; flex:1; flex-direction:column; align-items:center; justify-content:center; box-sizing:border-box; width:100%; max-width:none; min-height:260px; padding:30px 24px; text-align:center; border:1px solid #10171b; border-radius:11px; background:radial-gradient(ellipse at 50% 25%,#35434b33,transparent 65%),linear-gradient(#1b2327,#202a2f); box-shadow:inset 0 3px 12px #0007,0 1px #c3d3de12; }
.substations-empty-mark { width:220px; max-width:65%; margin-bottom:20px; padding:10px 24px; border:1px solid #a3c4d00f; border-radius:9px; background:#11191d55; box-shadow:inset 0 2px 7px #0005; }
.substations-empty-mark svg { display:block; width:100%; fill:none; stroke:#8bb4c766; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.substations-empty-mark svg circle { fill:#a4c7d5; stroke:none; }
.substations-empty-scope { color:#7f9baa; font:10px/1.5 var(--sans); margin-bottom:7px; }
.resource-view .substations-empty h3 { margin:0 0 10px; color:#cfdee7; font:550 21px/1.3 var(--sans); }
.substations-empty>p { max-width:440px; margin:0; color:#8fa7b5; font:12px/1.8 var(--sans); }
.substations-empty-actions { display:flex; justify-content:center; flex-wrap:wrap; gap:9px; margin-top:21px; }
.resource-view .substations-empty-actions :is(.go,.ebtn) { border-radius:9px; padding:9px 13px; font:500 11px var(--sans); }
.resource-view .substations-empty-actions .go { color:#d6e9f4; border:1px solid #aac9dc2b; background:linear-gradient(#3d5b6b,#2d4655); box-shadow:inset 0 1px #dceef51a,0 2px 5px #0006; }
.resource-view .substations-empty-actions .go:hover { background:linear-gradient(#344b58,#2c414e); box-shadow:inset 0 2px 5px #0007,0 1px #d6e9f414; }
.resource-view .substations-empty-actions .go:focus-visible { box-shadow:inset 0 0 0 1px #63ceff88,inset 0 2px 5px #0008; }
.substations-empty>p.substations-empty-note { margin-top:16px; color:#728d9c; font-size:10px; }
@media(max-width:760px) {
  #view-library>.substations-heading,#view-mywork>.substations-heading { grid-template-columns:minmax(0,1fr) auto auto; gap:9px; }
  .substations-view-switch { grid-column:1/-1; grid-row:2; justify-self:stretch; }
  .substations-view-button { flex:1; padding:7px 10px; }
  .substations-heading>.ph-act { grid-column:2; }
  .substations-heading>.ops-explanation { grid-column:3; }
  .substations-heading>.resource-tabs { grid-column:1/-1; grid-row:3; }
  .resource-view .substations-empty { padding:20px 14px; min-height:230px; }
  .substations-empty-mark { width:170px; margin-bottom:12px; }
  .resource-view .substations-empty h3 { font-size:18px; }
}
/* The same stationary targets and thin revealed backing used in the hierarchy. */
.resource-view :is(.resource-work-row,.runrow).pra-lift-tile { position:relative; isolation:isolate; overflow:visible; }
.resource-view :is(.resource-work-row,.runrow).pra-lift-tile::after { content:''; position:absolute; z-index:0; inset:0; border-radius:inherit; background:#16b7ff; opacity:0; transition:opacity .58s .09s ease; pointer-events:none; }
.resource-view :is(.resource-work-row,.runrow)>.pra-lift-face { position:relative; z-index:1; width:100%; box-sizing:border-box; border-radius:inherit; background:linear-gradient(150deg,#303b40,#252f34); box-shadow:inset 0 1px #daeaf10e; transition:transform .58s .09s cubic-bezier(.3,0,.25,1); }
.resource-view .resource-work-row[aria-current=true]::after { opacity:0; }
.resource-view .resource-work-row[aria-current=true]>.pra-lift-face { transform:translate(0,0); color:var(--pra-selected-fg);  background:var(--pra-selected-bg); box-shadow:var(--pra-selected-shadow);}
@media(hover:hover) and (pointer:fine){.resource-view :is(.resource-work-row,.runrow).pra-lift-tile:hover::after { opacity:var(--pra-hover-light,1); transition-duration:.12s; transition-delay:0s; }.resource-view :is(.resource-work-row,.runrow).pra-lift-tile:hover>.pra-lift-face { transform:var(--pra-hover-lift); box-shadow:var(--pra-hover-shadow); transition-duration:.15s; transition-delay:0s; }}
.resource-view [hidden] { display:none!important; }
@media(max-width:1250px){.resource-view .resource-library-info { display:inline-flex; }.resource-view .resource-register-tools .resource-count { white-space:normal; }}
@media(max-width:760px){.resource-view #ex-main .ex-foot { display:flex!important; flex-basis:100%; min-width:0; }.resource-example-evidence { max-height:130px; overflow:auto; }.resource-view #ex-main>.ex-cols[data-comparison=compare] { min-height:160px; }.resource-view#view-examples>.card { overflow:auto; }.resource-view #ex-main { overflow:auto; }.resource-view #ex-main .ex-cols { flex:1 0 240px; }}
@media(max-width:760px){
  .resource-view>.pagehead .ph-txt { min-width:0!important; }.resource-view#view-library>.pagehead { flex-wrap:nowrap; }.resource-view#view-library>.pagehead .ph-act { width:auto; flex:none; }.resource-view#view-library #lib-new { padding:8px; font-size:10px; }
  .resource-view#view-examples .resource-index { height:100%; box-sizing:border-box; overflow:hidden; grid-template-rows:minmax(0,1fr); padding:9px; }.resource-index-head { min-height:0; align-content:start; }.resource-view #ex-list { display:block; width:100%; height:100%; box-sizing:border-box; }
  .resource-view#view-library .lib-head { max-height:none; }.resource-view#view-library .pf-pick { width:100%; min-width:0; flex:none; }.resource-view#view-library .lib-stats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; min-width:0; flex:none; overflow:visible; gap:5px; }.resource-view#view-library .lib-stats .metric { min-width:0; padding:4px 9px; }.resource-view#view-library .lib-stats .metric b { font-size:18px; }
  .resource-view .lib-table { display:block; width:100%; min-width:0; }.resource-view .lib-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }.resource-view .lib-table tbody { display:grid; gap:12px; }.resource-view .lib-table tbody tr { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; border:1px solid #a0bdc31a; border-radius:8px; overflow:hidden; }.resource-view .lib-table tbody :is(td,th) { display:block!important; width:auto; max-width:none; }.resource-view .lib-table tbody th,.resource-view .lib-table tbody .lib-acts { grid-column:1/-1; }.resource-view .lib-table tbody .pra-row-face { height:100%; min-height:0; box-sizing:border-box; border-radius:0!important; padding:9px 11px; }.resource-view .lib-table tbody td .pra-row-face { display:flex; flex-direction:column; align-items:start; text-align:left; }.resource-view .lib-table tbody .lib-acts .pra-row-face { flex-direction:row; }.resource-mobile-field { display:block; margin-bottom:5px; color:#849da9; font:9px/1.5 var(--sans); }
}
@media(max-width:1250px){.resource-private-layout { grid-template-columns:220px minmax(0,1fr); }.resource-view .resource-private-portfolios { grid-column:2; }.resource-view#view-mywork .pagehead>.resource-tabs { display:flex; }.resource-private-layout[data-private-pane=changes] .resource-private-portfolios,.resource-private-layout[data-private-pane=portfolios]>.mw-card:not(.resource-private-portfolios) { display:none; }.resource-private-layout[data-private-pane=portfolios]>.resource-private-portfolios { grid-row:1; }.resource-library-layout { grid-template-columns:minmax(0,1fr); }.resource-library-rail { display:none; }.resource-view #lib-body .tblwrap { overflow:auto; }.resource-view#view-library .lib-stats .metric { padding:5px 10px; }.resource-view .runrow .pra-lift-face { grid-template-columns:70px minmax(150px,1fr) minmax(100px,1fr) 90px; gap:10px; }}
@media(max-width:950px){.resource-view #ex-main>.ex-cols[data-comparison=compare] { grid-template-columns:minmax(0,1fr); grid-template-rows:1fr 1fr; }.resource-view#view-examples .ex-wrap { grid-template-columns:210px minmax(0,1fr); }.resource-example-head .resource-tabs { width:100%; margin:0; }.resource-view#view-library .lib-head { align-items:stretch; flex-direction:column; gap:10px; }.resource-view#view-library .pf-pick { flex:auto; }.resource-view#view-library #lib-about { display:none; }.resource-view#view-library .metric b { font-size:20px; }.resource-register-tools { flex-wrap:wrap; gap:8px; }.resource-view#view-hist .resource-register-tools .resource-search { flex:1; width:auto; }.resource-view#view-hist .resource-register-tools .resource-tabs { order:3; width:100%; }.resource-view .runrow .pra-lift-face { grid-template-columns:70px minmax(0,1fr) 90px; }.resource-view .rr-met { grid-row:3; grid-column:2/-1; }.resource-view .rr-when,.resource-view .resource-run-open { grid-column:3; }}
@media(max-width:760px){body.resource-active main { inset:132px 0 0; padding:9px 10px 12px; }.resource-view#view-examples .ex-wrap { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:130px minmax(0,1fr); }.resource-index { display:grid; grid-template-columns:150px minmax(0,1fr); gap:9px; }.resource-index-head { gap:4px; }.resource-view #ex-list { min-height:0; padding:var(--pra-lift-gutter); }.resource-view #ex-list .ex-item { margin:2px 0; padding:0; }.resource-view #ex-list .pra-lift-face { padding:6px 9px; }.resource-view #ex-list .ex-group { padding:3px 8px; }.resource-view #ex-main { padding:10px; gap:8px; }.resource-example-head h3 { font-size:16px; }.resource-example-head .resource-tabs { width:auto; }.resource-view #ex-intro { font-size:9px; max-height:45px; overflow:auto; }.resource-view #ex-main .metrics { padding:5px 0; }.resource-view #ex-main .metric { padding:0 8px; }.resource-view #ex-main .metric b { font-size:15px; }.resource-view #ex-main .ex-ready { font-size:9px; }.resource-view #ex-main .ex-foot { display:none; }.resource-private-layout { display:flex; flex-direction:column; overflow:hidden; }.resource-work-index { flex:none; display:grid; grid-template-columns:130px minmax(0,1fr); padding:9px; gap:5px 10px; max-height:155px; }.resource-work-index h3 { display:none; }.resource-work-index .resource-work-list { grid-column:2; grid-row:1/3; }.resource-view .mw-card { flex:1; padding:16px; }.resource-view#view-mywork>.pagehead { flex-wrap:wrap; gap:5px; }.resource-view .mw-title h4 { font-size:20px; }.resource-view .resource-tabs button { padding:6px 9px; font-size:10px; }.resource-view .pagehead h2 { font-size:18px; }.resource-view #lib-add .lib-add-cols { grid-template-columns:1fr; }.resource-view .lib-card { padding:10px!important; gap:8px!important; }.resource-view .lib-stats { overflow:auto; }.resource-view .lib-stats .metric { min-width:120px; }.resource-view .runrow .pra-lift-face { grid-template-columns:1fr 85px; padding:14px; gap:6px; }.resource-view .rr-status { grid-column:1; grid-row:1; }.resource-view .rr-name { grid-column:1/-1; grid-row:2; font-size:14px; }.resource-view .rr-id { grid-column:1/-1; grid-row:3; }.resource-view .rr-met { grid-column:1/-1; grid-row:4; font-size:10px; }.resource-view .rr-when { grid-column:2; grid-row:5; }.resource-view .resource-run-open { grid-column:1; grid-row:5; }.resource-view .resource-register-tools .resource-count { font-size:9px; }}
@media(max-height:640px){.resource-example-evidence { max-height:110px; overflow:auto; }.resource-view#view-examples .pagehead { min-height:28px; }.resource-view #ex-intro { max-height:30px; overflow:auto; }.resource-view #ex-main .plate-tools { bottom:3px; }.resource-view#view-library .lib-head { max-height:145px; overflow:auto; }}
@media(max-width:1250px){.resource-private-layout:not(.has-private-studies) { grid-template-columns:minmax(0,1fr); }.resource-private-layout:not(.has-private-studies) .resource-private-portfolios { grid-column:1; }}
@media(max-width:950px){.resource-view #ex-main>.ex-cols[data-comparison=compare] { grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(0,var(--example-source-share,.5fr)) 12px minmax(0,var(--example-model-share,.5fr)); }}
@media(prefers-reduced-motion:reduce){.resource-view * { transition:none!important; animation:none!important; }.resource-view :is(.resource-work-row,.runrow)>.pra-lift-face,.resource-view .lib-table .pra-row-face { transform:none!important; }}
