/* Route adapters for the original, working instruments. Loaded after underground.css. */
body:is([data-ug-route="demos/today/index.html"],[data-ug-route="demos/support-intake/index.html"],[data-ug-route="demos/job-radar/index.html"],[data-ug-route="demos/validation/index.html"],[data-ug-route="labs/evidence/index.html"],[data-ug-route="labs/prooflane/index.html"],[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"],[data-ug-route="threat-globe.html"]){
  color-scheme:dark;
  --instrument-paper:#0b0a0a;
  --instrument-panel:#141010;
  --instrument-inset:#0e0b0b;
  --instrument-line:#4c332e;
  --instrument-muted:#b3a79c;
  --instrument-bone:#eee7da;
  --instrument-red:#dc6258;
  --instrument-success:#c2c9ae;
  --instrument-danger:#f18b7c;
  --faint:#a4968c;
  --dim:#b3a79c;
  --green:#c2c9ae;
  --gold:#d8b9a6;
  --blue:#e3c3b0;
  --amber:#d8b9a6;
  background:var(--instrument-paper);
  color:var(--instrument-bone);
}
body:is([data-ug-route="demos/today/index.html"],[data-ug-route="demos/support-intake/index.html"],[data-ug-route="demos/job-radar/index.html"],[data-ug-route="labs/prooflane/index.html"],[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"]) main{min-width:0}
body:is([data-ug-route="demos/today/index.html"],[data-ug-route="demos/support-intake/index.html"],[data-ug-route="demos/job-radar/index.html"],[data-ug-route="labs/prooflane/index.html"],[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"]) :is(.skip,.skip-link){background:#eee7da;color:#0b0a0a;z-index:100}
body:is([data-ug-route="demos/today/index.html"],[data-ug-route="demos/support-intake/index.html"],[data-ug-route="demos/job-radar/index.html"],[data-ug-route="labs/prooflane/index.html"]) main :is(input,select,textarea){background:#0e0b0b;color:#eee7da;border-color:#79534a;border-radius:0;accent-color:#dc6258}
body:is([data-ug-route="demos/today/index.html"],[data-ug-route="demos/support-intake/index.html"],[data-ug-route="demos/job-radar/index.html"],[data-ug-route="labs/prooflane/index.html"]) main :is(input,textarea)::placeholder{color:#ac9d91;opacity:1}
body:is([data-ug-route="demos/today/index.html"],[data-ug-route="demos/support-intake/index.html"],[data-ug-route="demos/job-radar/index.html"],[data-ug-route="labs/prooflane/index.html"]) main :is(button,input,select,textarea,summary):focus-visible{outline:2px solid #f39180;outline-offset:4px}
body:is([data-ug-route="demos/today/index.html"],[data-ug-route="demos/support-intake/index.html"],[data-ug-route="demos/job-radar/index.html"],[data-ug-route="labs/prooflane/index.html"]) main :is(table,pre){max-width:100%;border-color:#4c332e}
body:is([data-ug-route="demos/today/index.html"],[data-ug-route="demos/support-intake/index.html"],[data-ug-route="demos/job-radar/index.html"],[data-ug-route="labs/prooflane/index.html"]) main :is(th,td){border-color:#4c332e;padding:14px 16px;text-align:left}

/* Today: keep its local header, storage label and example controls. */
body[data-ug-route="demos/today/index.html"]{--paper:#0b0a0a;--white:#141010;--wash:#211513;--green:#dc6258;--danger:#f18b7c;--radius:0;--gold:#d8b9a6}
body[data-ug-route="demos/today/index.html"]>.shell{max-width:1180px}
body[data-ug-route="demos/today/index.html"] .shell>header{padding:22px 0;gap:25px;flex-wrap:wrap;min-height:86px;border-color:#4c332e}
body[data-ug-route="demos/today/index.html"] .brand{font:400 30px/1.2 var(--ug-serif);letter-spacing:-.035em;color:#eee7da}
body[data-ug-route="demos/today/index.html"] .brand-mark{border:1px solid #9b5147;border-radius:0;background:transparent;color:#dc6258;font-size:27px}
body[data-ug-route="demos/today/index.html"] .header-actions{gap:18px}
body[data-ug-route="demos/today/index.html"] #storage-status{font:11px/1.65 var(--ug-mono);color:#b3a79c}
body[data-ug-route="demos/today/index.html"] .welcome{max-width:900px;padding:40px 0 34px}
body[data-ug-route="demos/today/index.html"] .welcome h1{font:400 clamp(42px,5vw,68px)/1.08 var(--ug-serif);letter-spacing:-.045em;margin-bottom:18px}
body[data-ug-route="demos/today/index.html"] .welcome>p:last-child{font-size:16px;line-height:1.85;max-width:620px}
body[data-ug-route="demos/today/index.html"] .eyebrow{font:11px/1.7 var(--ug-mono);letter-spacing:1.3px;font-weight:400}
body[data-ug-route="demos/today/index.html"] .workspace{gap:28px;align-items:start}
body[data-ug-route="demos/today/index.html"] :is(.panel,.task,.empty-list,dialog,.notice){border-radius:0;border-color:#4c332e;box-shadow:none}
body[data-ug-route="demos/today/index.html"] .panel{padding:28px;background:#141010}
body[data-ug-route="demos/today/index.html"] .next-panel{background:#191111;border-top:2px solid #a64c42}
body[data-ug-route="demos/today/index.html"] h2{font:400 29px/1.2 var(--ug-serif);letter-spacing:-.025em;color:#eee7da}
body[data-ug-route="demos/today/index.html"] label{font:12px/1.7 var(--ug-mono);font-weight:400;color:#d5c5b8;margin-bottom:8px}
body[data-ug-route="demos/today/index.html"] :is(input,select){min-height:48px;padding:12px;font-size:15px;border-color:#79534a;background:#0e0b0b;color:#eee7da;border-radius:0}
body[data-ug-route="demos/today/index.html"] :is(.muted,.field-help,.optional,.minutes-input span,.plan-item span,.task-meta){font-size:12px;line-height:1.8;color:#b3a79c}
body[data-ug-route="demos/today/index.html"] .section-heading .muted{font-size:11px}
body[data-ug-route="demos/today/index.html"] button{background:transparent;border:1px solid #765047;color:#eee7da;font:12px/1.5 var(--ug-mono);min-height:44px;padding:12px 16px;border-radius:0;font-weight:400}
body[data-ug-route="demos/today/index.html"] button:hover{background:#2b1916;border-color:#ae6b5d}
body[data-ug-route="demos/today/index.html"] :is(button.primary,button[aria-pressed=true]){background:#a83b35;border-color:#c05b4e;color:#fff2e4}
body[data-ug-route="demos/today/index.html"] :is(button.primary,button[aria-pressed=true]):hover{background:#bd4c42}
body[data-ug-route="demos/today/index.html"] button.danger{background:transparent;color:#f18b7c;border-color:#8a4b42}
body[data-ug-route="demos/today/index.html"] button.danger:hover{background:#311512}
body[data-ug-route="demos/today/index.html"] :is(.plan-item,.task,.privacy,footer){border-color:#4c332e}
body[data-ug-route="demos/today/index.html"] .plan-item{padding:18px 0}
body[data-ug-route="demos/today/index.html"] .plan-item strong{font-size:15px;font-weight:500;line-height:1.6}
body[data-ug-route="demos/today/index.html"] :is(.plan-total,.plan-empty){font-size:14px;line-height:1.8}
body[data-ug-route="demos/today/index.html"] .your-list{padding-top:42px}
body[data-ug-route="demos/today/index.html"] .task{background:transparent;margin-top:0;border-width:0 0 1px;padding:24px 0;gap:24px}
body[data-ug-route="demos/today/index.html"] .task h3{font-size:17px;font-weight:500;line-height:1.6}
body[data-ug-route="demos/today/index.html"] .task.completed{background:#12100f;padding-inline:16px}
body[data-ug-route="demos/today/index.html"] .category-tag{background:#241714;border:1px solid #51342e;border-radius:0;padding:2px 7px;color:#d7bcaa}
body[data-ug-route="demos/today/index.html"] .empty-list{background:#110d0d;padding:30px 24px;text-align:left;border-style:solid;border-left:2px solid #985344;line-height:1.85}
body[data-ug-route="demos/today/index.html"] .notice{background:#261913;color:#ead7bd;padding:18px 20px;font-size:14px;line-height:1.8}
body[data-ug-route="demos/today/index.html"] .notice.example{background:#1e1913;border-color:#735a3e}
body[data-ug-route="demos/today/index.html"] .notice.removal{background:#261512;border-color:#835041}
body[data-ug-route="demos/today/index.html"] .message{background:#2b1713;color:#fff0de;border:1px solid #ba6a57;border-radius:0;box-shadow:0 18px 50px #0008;line-height:1.8}
body[data-ug-route="demos/today/index.html"] dialog{padding:30px;background:#141010;color:#eee7da;border-color:#9f6253;line-height:1.8}
body[data-ug-route="demos/today/index.html"] dialog::backdrop{background:#000b}
body[data-ug-route="demos/today/index.html"] .privacy{font-size:14px;line-height:1.85;padding-top:30px}
body[data-ug-route="demos/today/index.html"] details p{font-size:13px;line-height:1.9}
body[data-ug-route="demos/today/index.html"] summary{color:#e4c7b4;font-size:13px}
body[data-ug-route="demos/today/index.html"] footer{font:11px/1.8 var(--ug-mono);padding:26px 0 38px}

/* Support Intake: a readable queue, with states distinguished by text and muted accents. */
body[data-ug-route="demos/support-intake/index.html"]{--panel:#141010;--green:#c2c9ae;--gold:#d8b9a6;--red:#f18b7c;--blue:#dfcbb6}
body[data-ug-route="demos/support-intake/index.html"] .ug-brand{overflow-wrap:normal;word-break:normal;white-space:nowrap}
body[data-ug-route="demos/support-intake/index.html"] .ug-monogram{flex-shrink:0;overflow-wrap:normal;word-break:normal;white-space:nowrap;letter-spacing:-1px;font-size:22px;line-height:1}
body[data-ug-route="demos/support-intake/index.html"]>header:not(.ug-masthead){padding:28px 0 34px;border-color:#4c332e}
body[data-ug-route="demos/support-intake/index.html"] .wordmark{font:11px/1.8 var(--ug-mono);letter-spacing:1px;color:#bcaa9b}
body[data-ug-route="demos/support-intake/index.html"] .mark{border-color:#9e6553;color:#e0b49c}
body[data-ug-route="demos/support-intake/index.html"] .hero{gap:55px;align-items:start;padding-top:32px}
body[data-ug-route="demos/support-intake/index.html"] .hero h1{font-size:clamp(43px,5vw,67px)!important;max-width:820px}
body[data-ug-route="demos/support-intake/index.html"] .intro{font-size:16px;line-height:1.85;color:#c2b3a6}
body[data-ug-route="demos/support-intake/index.html"] .scope{border-color:#a25143;padding-left:22px;font-size:14px;line-height:1.9}
body[data-ug-route="demos/support-intake/index.html"] main{padding-top:30px;padding-bottom:50px}
body[data-ug-route="demos/support-intake/index.html"] :is(.scenario,.stat,.request,.check-panel,pre){border-radius:0;border-color:#4c332e;box-shadow:none}
body[data-ug-route="demos/support-intake/index.html"] .scenario{background:#1a1110;padding:26px;gap:32px;border-top:2px solid #a15143}
body[data-ug-route="demos/support-intake/index.html"] h2{font:400 29px/1.2 var(--ug-serif);letter-spacing:-.025em}
body[data-ug-route="demos/support-intake/index.html"] :is(.scenario-copy p,.small){font-size:14px;line-height:1.85;color:#b3a79c}
body[data-ug-route="demos/support-intake/index.html"] label{font:12px/1.7 var(--ug-mono);font-weight:400;color:#d7c5b5}
body[data-ug-route="demos/support-intake/index.html"] select{min-height:48px;font-size:15px;padding:12px 38px 12px 14px}
body[data-ug-route="demos/support-intake/index.html"] .clock{font:11px/1.8 var(--ug-mono);color:#d3ab92;overflow-wrap:anywhere}
body[data-ug-route="demos/support-intake/index.html"] .summary{gap:0;border-bottom:1px solid #4c332e;margin:24px 0 36px}
body[data-ug-route="demos/support-intake/index.html"] .stat{border-width:0 1px 0 0;padding:20px 26px;background:transparent}
body[data-ug-route="demos/support-intake/index.html"] .stat:first-child{padding-left:0}
body[data-ug-route="demos/support-intake/index.html"] .stat:last-child{border-right:0}
body[data-ug-route="demos/support-intake/index.html"] .stat strong{font:400 37px/1.3 var(--ug-serif);font-variant-numeric:tabular-nums;color:#eee7da}
body[data-ug-route="demos/support-intake/index.html"] .stat span{font:11px/1.8 var(--ug-mono);color:#b3a79c}
body[data-ug-route="demos/support-intake/index.html"] .queue{gap:24px}
body[data-ug-route="demos/support-intake/index.html"] .request{background:#120e0e;padding:27px}
body[data-ug-route="demos/support-intake/index.html"] .request h3{font:400 27px/1.25 var(--ug-serif);letter-spacing:-.025em;margin-bottom:20px}
body[data-ug-route="demos/support-intake/index.html"] .badge{font:11px/1.55 var(--ug-mono);font-weight:400;border-radius:0;padding:6px 9px;color:#d8b9a6}
body[data-ug-route="demos/support-intake/index.html"] .badge.confirmed{color:#c2c9ae}
body[data-ug-route="demos/support-intake/index.html"] .badge.invalid{color:#f18b7c}
body[data-ug-route="demos/support-intake/index.html"] .badge.pending{color:#dfcbb6}
body[data-ug-route="demos/support-intake/index.html"] dl{grid-template-columns:105px minmax(0,1fr);font-size:13px;line-height:1.8;gap:10px 16px}
body[data-ug-route="demos/support-intake/index.html"] dt{font:11px/1.9 var(--ug-mono);color:#b3a79c}
body[data-ug-route="demos/support-intake/index.html"] .claim{background:#1c1412;border-left-color:#9b6b53;color:#c1b2a3;font-size:13px;line-height:1.9;padding:15px}
body[data-ug-route="demos/support-intake/index.html"] :is(.reason,.next p){font-size:14px;line-height:1.85;color:#d0c2b3}
body[data-ug-route="demos/support-intake/index.html"] .next strong{font:11px/1.7 var(--ug-mono);letter-spacing:1px;color:#dfb29b}
body[data-ug-route="demos/support-intake/index.html"] .check-panel{padding:28px;background:#0f0c0c}
body[data-ug-route="demos/support-intake/index.html"] :is(.check-result,.check-list,.runbook){font-size:13px;line-height:1.9}
body[data-ug-route="demos/support-intake/index.html"] .check-result{color:#c2c9ae}
body[data-ug-route="demos/support-intake/index.html"] .check-list{gap:10px 28px;color:#b3a79c}
body[data-ug-route="demos/support-intake/index.html"] .check-list .fail{color:#f18b7c}
body[data-ug-route="demos/support-intake/index.html"] pre{background:#0e0b0b;color:#d8c9b8;font:12px/1.9 var(--ug-mono);padding:18px}
body[data-ug-route="demos/support-intake/index.html"] button{border:1px solid #79534a;border-radius:0;background:#1b1211;color:#eee7da;font:12px/1.6 var(--ug-mono);min-height:44px;padding:12px 16px}
body[data-ug-route="demos/support-intake/index.html"] button:hover{background:#2b1714;border-color:#ac6857}
body[data-ug-route="demos/support-intake/index.html"] footer{font:11px/1.8 var(--ug-mono);padding-block:25px;color:#b3a79c}

/* Job Radar: give the shared masthead its full width, then constrain the saved listing desk. */
body[data-ug-route="demos/job-radar/index.html"]{max-width:none;width:auto;min-height:100vh;padding:0;margin:0;--paper:#eee7da;--green:#c2c9ae;--red:#f18b7c;--blue:#e3c3b0}
body[data-ug-route="demos/job-radar/index.html"]>main{width:min(1080px,calc(100% - 96px));margin:auto;padding:44px 0 55px}
body[data-ug-route="demos/job-radar/index.html"] main>header{margin:0;padding:0 0 30px;border-bottom:1px solid #4c332e;background:transparent}
body[data-ug-route="demos/job-radar/index.html"] h1{font:400 clamp(48px,6vw,76px)/1.05 var(--ug-serif);letter-spacing:-.045em;margin:15px 0 24px}
body[data-ug-route="demos/job-radar/index.html"] :is(.badge,#meta,#errs,#storage-status){font:11px/1.8 var(--ug-mono);letter-spacing:.35px}
body[data-ug-route="demos/job-radar/index.html"] .badge{color:#dc6258}
body[data-ug-route="demos/job-radar/index.html"] .notice{font-size:15px;line-height:1.9;max-width:760px;color:#c2b4a7;margin-bottom:20px}
body[data-ug-route="demos/job-radar/index.html"] #meta{color:#b3a79c}
body[data-ug-route="demos/job-radar/index.html"] :is(#errs,#storage-status){color:#d9b69a}
body[data-ug-route="demos/job-radar/index.html"] .toolbar{padding:22px 0;margin:0;gap:18px;border-bottom:1px solid #4c332e;align-items:center}
body[data-ug-route="demos/job-radar/index.html"] .tabs{gap:8px}
body[data-ug-route="demos/job-radar/index.html"] .tabs button{background:transparent;border-color:#704b42;border-radius:0;color:#d6c5b5;min-height:44px;padding:11px 14px;font:11px/1.7 var(--ug-mono)}
body[data-ug-route="demos/job-radar/index.html"] .tabs button.on{background:#572321;border-color:#b56453;color:#fff0dd}
body[data-ug-route="demos/job-radar/index.html"] #q{min-height:46px;border-radius:0;padding:12px 14px;font-size:14px;flex:1 1 260px;min-width:0}
body[data-ug-route="demos/job-radar/index.html"] .job{background:transparent;border-radius:0;border-width:0 0 1px;border-color:#4c332e;padding:25px 0;margin:0;gap:18px;animation:none;align-items:start}
body[data-ug-route="demos/job-radar/index.html"] .job>div:first-child{min-width:0;flex:1 1 420px;line-height:1.85;overflow-wrap:anywhere}
body[data-ug-route="demos/job-radar/index.html"] .job a{color:#eee0cd;text-decoration:underline;text-decoration-color:#a66654;font-size:18px;line-height:1.6;text-underline-offset:5px}
body[data-ug-route="demos/job-radar/index.html"] .job.applied{border-left:2px solid #9d9e78;padding-left:20px}
body[data-ug-route="demos/job-radar/index.html"] .s{color:#c2c9ae;font:12px/1.8 var(--ug-mono);font-weight:400}
body[data-ug-route="demos/job-radar/index.html"] .new{color:#e0a88f;font:11px/1.8 var(--ug-mono);font-weight:400}
body[data-ug-route="demos/job-radar/index.html"] .age{font-size:12px;color:#b3a79c}
body[data-ug-route="demos/job-radar/index.html"] .why{font:11px/1.9 var(--ug-mono);color:#b3a79c;margin-top:10px}
body[data-ug-route="demos/job-radar/index.html"] .why b{color:#d9b498;font-weight:400}
body[data-ug-route="demos/job-radar/index.html"] button.mark{min-height:44px;padding:11px 14px;border-color:#79534a;color:#d4c0ad;border-radius:0;font:11px/1.7 var(--ug-mono)}
body[data-ug-route="demos/job-radar/index.html"] button.mark:hover{border-color:#b77b63;color:#fff0dd;background:#211412}
body[data-ug-route="demos/job-radar/index.html"] .back{font:11px/1.8 var(--ug-mono);min-height:44px;margin-top:28px;color:#cab6a3}

/* Prooflane: its local workspace navigation follows the portfolio masthead. */
body[data-ug-route="labs/prooflane/index.html"]{--paper:#141010;--panel:#141010;--panel-alt:#1c1210;--lime:#dc6258;--mint:#c2c9ae;--faint:#a4968c}
body[data-ug-route="labs/prooflane/index.html"] .sidebar{position:relative;inset:auto;width:min(1240px,calc(100% - 96px));margin:auto;padding:24px 0;display:grid;grid-template-columns:190px minmax(0,1fr);gap:12px 35px;align-items:center;border:0;border-bottom:1px solid #4c332e;background:transparent;z-index:1}
body[data-ug-route="labs/prooflane/index.html"] .sidebar .brand{font:400 29px/1.2 var(--ug-serif);letter-spacing:-.035em;color:#eee7da}
body[data-ug-route="labs/prooflane/index.html"] .brand-sub{font:9px/1.8 var(--ug-mono);letter-spacing:1px;color:#b3a79c}
body[data-ug-route="labs/prooflane/index.html"] .sidebar nav{display:flex;justify-content:flex-end;gap:6px 20px;flex-wrap:wrap;margin:0;overflow:visible}
body[data-ug-route="labs/prooflane/index.html"] .nav-link{font:11px/1.7 var(--ug-mono);min-height:44px;padding:10px 0;border:0;border-bottom:1px solid transparent;gap:8px;white-space:nowrap}
body[data-ug-route="labs/prooflane/index.html"] .nav-link.active{background:transparent;color:#eee7da;border-bottom-color:#dc6258}
body[data-ug-route="labs/prooflane/index.html"] .nav-link:hover{background:transparent;color:#f39180}
body[data-ug-route="labs/prooflane/index.html"] .nav-count{font-size:10px;color:#dfb29b;margin-left:0}
body[data-ug-route="labs/prooflane/index.html"] :is(.workspace-label,.sidebar-note,.sidebar .version){display:none}
body[data-ug-route="labs/prooflane/index.html"] .sidebar-bottom{grid-column:2;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px 24px;margin:0}
body[data-ug-route="labs/prooflane/index.html"] .sidebar-bottom a{font:10px/1.8 var(--ug-mono);min-height:36px;padding:4px 0;color:#b9a79a;gap:8px}
body[data-ug-route="labs/prooflane/index.html"] .page{margin-left:0;min-width:0}
body[data-ug-route="labs/prooflane/index.html"] .page>.topbar{width:min(1240px,calc(100% - 96px));margin:auto;padding:16px 0;height:auto;min-height:58px;border-bottom:1px solid #4c332e;gap:22px;flex-wrap:wrap}
body[data-ug-route="labs/prooflane/index.html"] .breadcrumb{font:10px/1.8 var(--ug-mono);color:#b3a79c}
body[data-ug-route="labs/prooflane/index.html"] .mode-badge{font:10px/1.8 var(--ug-mono);color:#c9bbaa}
body[data-ug-route="labs/prooflane/index.html"] .page>main{width:min(1240px,calc(100% - 96px));max-width:1240px;margin:auto;padding:0}
body[data-ug-route="labs/prooflane/index.html"] .intro{padding:40px 0 30px;gap:50px}
body[data-ug-route="labs/prooflane/index.html"] .intro h1{font:400 clamp(44px,5vw,72px)/1.07 var(--ug-serif);letter-spacing:-.045em;margin:17px 0 0}
body[data-ug-route="labs/prooflane/index.html"] .intro h1 em{color:#dc6258;font-weight:400}
body[data-ug-route="labs/prooflane/index.html"] .intro-copy{font-size:15px;line-height:1.9;max-width:600px;color:#c0b1a2}
body[data-ug-route="labs/prooflane/index.html"] .intro-right{width:320px}
body[data-ug-route="labs/prooflane/index.html"] :is(.eyebrow,.small-label,.section-index){font:10px/1.8 var(--ug-mono);letter-spacing:1.2px;color:#c9a18c}
body[data-ug-route="labs/prooflane/index.html"] :is(.routing-label,.routing-footer,.routing-node small){font-size:9px;line-height:1.8;color:#b3a79c;letter-spacing:.5px}
body[data-ug-route="labs/prooflane/index.html"] .routing-art{background:none}
body[data-ug-route="labs/prooflane/index.html"] .routing-node{color:#d8b9a6;font-size:19px}
body[data-ug-route="labs/prooflane/index.html"] .routing-path>i{background:#805648}
body[data-ug-route="labs/prooflane/index.html"] .routing-path>i::after{border-color:#805648}
body[data-ug-route="labs/prooflane/index.html"] .button{font:11px/1.7 var(--ug-mono);font-weight:400;border-radius:0;min-height:44px;padding:12px 17px;white-space:normal;text-align:center}
body[data-ug-route="labs/prooflane/index.html"] :is(.button.primary,.button.dark){background:#a83b35;border-color:#bd5b4e;color:#fff0dd}
body[data-ug-route="labs/prooflane/index.html"] .button.secondary{background:transparent;border-color:#805448;color:#e8d1bd}
body[data-ug-route="labs/prooflane/index.html"] .button:hover{background:#36201a;border-color:#c08168}
body[data-ug-route="labs/prooflane/index.html"] .mode-notice{background:#18110f;padding:18px 20px;gap:14px;border-color:#4c332e}
body[data-ug-route="labs/prooflane/index.html"] .mode-notice :is(p,a){font-size:12px;line-height:1.9}
body[data-ug-route="labs/prooflane/index.html"] .status-message{font:11px/1.8 var(--ug-mono);color:#d4b09a}
body[data-ug-route="labs/prooflane/index.html"] .status-message.error{color:#f18b7c}
body[data-ug-route="labs/prooflane/index.html"] .metrics{margin:30px 0 40px;padding-bottom:24px}
body[data-ug-route="labs/prooflane/index.html"] .metric strong{font:400 38px/1.3 var(--ug-serif);letter-spacing:-.035em;color:#eee7da}
body[data-ug-route="labs/prooflane/index.html"] .metric:last-child strong{color:#c2c9ae}
body[data-ug-route="labs/prooflane/index.html"] .metric-note{font-size:11px;line-height:1.8;color:#b3a79c}
body[data-ug-route="labs/prooflane/index.html"] .section-heading{margin-bottom:24px;gap:24px;flex-wrap:wrap}
body[data-ug-route="labs/prooflane/index.html"] h2{font:400 33px/1.18 var(--ug-serif);letter-spacing:-.03em;margin-top:10px}
body[data-ug-route="labs/prooflane/index.html"] :is(.updated-at,.subtle){font:10px/1.8 var(--ug-mono);color:#b3a79c}
body[data-ug-route="labs/prooflane/index.html"] .radar-grid{grid-template-columns:minmax(0,1.55fr) minmax(290px,1fr);border-color:#4c332e}
body[data-ug-route="labs/prooflane/index.html"] .radar-toolbar{padding:17px 18px;gap:18px;flex-wrap:wrap}
body[data-ug-route="labs/prooflane/index.html"] .filter-button{font:11px/1.7 var(--ug-mono);padding:10px 12px;border:1px solid #634138;min-height:44px;min-width:46px}
body[data-ug-route="labs/prooflane/index.html"] .filter-button.selected{background:#50211e;border-color:#b56c56;color:#ffe9d2}
body[data-ug-route="labs/prooflane/index.html"] .search-wrap{max-width:none;flex:1 1 220px;min-width:0;border:1px solid #6e4a3e;padding:0 12px}
body[data-ug-route="labs/prooflane/index.html"] .search-wrap input{font-size:13px;padding:12px 7px;background:transparent}
body[data-ug-route="labs/prooflane/index.html"] :is(.list-labels,.list-footer){background:#15100e;color:#b3a79c;font:10px/1.8 var(--ug-mono);padding:13px 18px;border-color:#4c332e;gap:20px}
body[data-ug-route="labs/prooflane/index.html"] .opportunity-list{max-height:470px;min-height:260px;scrollbar-color:#855546 #100d0c}
body[data-ug-route="labs/prooflane/index.html"] .opportunity-row{padding:20px 18px;min-height:92px;border-color:#4c332e}
body[data-ug-route="labs/prooflane/index.html"] .opportunity-row:hover{background:#211513}
body[data-ug-route="labs/prooflane/index.html"] .opportunity-row.selected{background:#2b1713;border-left-color:#dc6258}
body[data-ug-route="labs/prooflane/index.html"] .opportunity-name{font-size:16px;font-weight:500;line-height:1.6}
body[data-ug-route="labs/prooflane/index.html"] .opportunity-meta{font:10px/1.8 var(--ug-mono);color:#b3a79c}
body[data-ug-route="labs/prooflane/index.html"] .priority strong{color:#e3c3b0;font-size:16px}
body[data-ug-route="labs/prooflane/index.html"] .priority-track{background:#4b342a}
body[data-ug-route="labs/prooflane/index.html"] .priority-track span{background:#b88163}
body[data-ug-route="labs/prooflane/index.html"] .dossier{background:#1a110f;padding:24px 26px;border-color:#4c332e}
body[data-ug-route="labs/prooflane/index.html"] .dossier h3{font:400 31px/1.2 var(--ug-serif);letter-spacing:-.035em}
body[data-ug-route="labs/prooflane/index.html"] .dossier p{font-size:14px;line-height:1.9;color:#bfb0a2}
body[data-ug-route="labs/prooflane/index.html"] .dossier :is(h4,dt){font:10px/1.8 var(--ug-mono);color:#cda28b}
body[data-ug-route="labs/prooflane/index.html"] .dossier-facts dd{font-size:13px;line-height:1.8;color:#e0cbbb}
body[data-ug-route="labs/prooflane/index.html"] .dossier-link{font:12px/1.8 var(--ug-mono);color:#e3b399}
body[data-ug-route="labs/prooflane/index.html"] .reason-list li{font-size:13px;line-height:1.9}
body[data-ug-route="labs/prooflane/index.html"] .scope-note{font-size:12px!important;border-color:#654136;color:#d5c0ac}
body[data-ug-route="labs/prooflane/index.html"] :is(.empty-state,.evidence-provenance p,.finding-detail p){font-size:14px;line-height:1.9;color:#b3a79c}
body[data-ug-route="labs/prooflane/index.html"] .finding summary{padding:20px;min-height:76px;grid-template-columns:90px minmax(0,1fr) 130px 16px;gap:18px}
body[data-ug-route="labs/prooflane/index.html"] .finding summary:hover{background:#241511}
body[data-ug-route="labs/prooflane/index.html"] :is(.severity,.finding-status){font:10px/1.8 var(--ug-mono)}
body[data-ug-route="labs/prooflane/index.html"] .severity::before{border-radius:0;background:#d3b298}
body[data-ug-route="labs/prooflane/index.html"] .severity.low::before{background:#c2c9ae}
body[data-ug-route="labs/prooflane/index.html"] .severity.medium::before{background:#d5af7d}
body[data-ug-route="labs/prooflane/index.html"] :is(.severity.high,.severity.critical)::before{background:#f18b7c}
body[data-ug-route="labs/prooflane/index.html"] .finding-title{font-size:15px;line-height:1.75;color:#eee7da}
body[data-ug-route="labs/prooflane/index.html"] .finding-target{font-size:10px;color:#b3a79c;line-height:1.9}
body[data-ug-route="labs/prooflane/index.html"] .finding-detail{background:#140e0d;padding:26px 28px;border-color:#4c332e}
body[data-ug-route="labs/prooflane/index.html"] .finding-detail :is(dt,h4){font:10px/1.8 var(--ug-mono);color:#cba086}
body[data-ug-route="labs/prooflane/index.html"] .finding-detail dd{font-size:13px;line-height:1.85;color:#e2cbbb}
body[data-ug-route="labs/prooflane/index.html"] .finding-detail pre{background:#0c0a09;color:#dac5ad;border-color:#594036;font:12px/1.9 var(--ug-mono);padding:18px}
body[data-ug-route="labs/prooflane/index.html"] .workbench{background:#18100e;border:1px solid #674135;color:#eee7da;padding:32px;gap:38px;grid-template-columns:minmax(0,.85fr) minmax(0,1.2fr)}
body[data-ug-route="labs/prooflane/index.html"] .workbench-copy h2{font:400 38px/1.15 var(--ug-serif);letter-spacing:-.035em}
body[data-ug-route="labs/prooflane/index.html"] .workbench-copy>p:not(.section-index){font-size:14px;line-height:1.9;color:#bfb0a0;max-width:420px}
body[data-ug-route="labs/prooflane/index.html"] :is(.workbench-copy .section-index,.engine-label){font:10px/1.8 var(--ug-mono);color:#d9b097;border-color:#77503d}
body[data-ug-route="labs/prooflane/index.html"] .engine-capabilities{font-size:12px!important;line-height:1.9}
body[data-ug-route="labs/prooflane/index.html"] .workbench-footnote{font-size:12px;line-height:1.85;color:#baaa99}
body[data-ug-route="labs/prooflane/index.html"] .solver-panel{background:#0e0b0a;border-color:#79513f}
body[data-ug-route="labs/prooflane/index.html"] .solver-panel-top{border-color:#4c332e;padding:9px 18px;gap:16px;flex-wrap:wrap}
body[data-ug-route="labs/prooflane/index.html"] .solver-panel-top label{font:11px/1.8 var(--ug-mono);color:#dcc0aa}
body[data-ug-route="labs/prooflane/index.html"] .text-button{font:11px/1.8 var(--ug-mono);color:#e1b89a;min-height:44px}
body[data-ug-route="labs/prooflane/index.html"] .solver-panel textarea{color:#eee7da;font:13px/1.9 var(--ug-mono);min-height:165px;padding:20px}
body[data-ug-route="labs/prooflane/index.html"] .solver-panel textarea::placeholder{color:#a99685}
body[data-ug-route="labs/prooflane/index.html"] .solver-controls{padding:0 18px 18px;gap:16px;flex-wrap:wrap}
body[data-ug-route="labs/prooflane/index.html"] .solver-controls>.mono{font:10px/1.8 var(--ug-mono);color:#b9a492}
body[data-ug-route="labs/prooflane/index.html"] .solver-results{border-color:#4c332e;color:#c7b6a3;padding:18px}
body[data-ug-route="labs/prooflane/index.html"] :is(.solver-idle,.solver-message){font-size:12px;line-height:1.9}
body[data-ug-route="labs/prooflane/index.html"] .solver-result{border-color:#4c332e}
body[data-ug-route="labs/prooflane/index.html"] .solver-result strong{color:#e8c4a4;font-size:14px;line-height:1.8}
body[data-ug-route="labs/prooflane/index.html"] .solver-steps{font:11px/1.9 var(--ug-mono);color:#c1ae98}
body[data-ug-route="labs/prooflane/index.html"] .solver-hash{font:10px/1.9 var(--ug-mono);color:#ad9984}
body[data-ug-route="labs/prooflane/index.html"] :is(.activity-panel,.sources-panel){padding:26px;border-color:#4c332e;background:#120d0c}
body[data-ug-route="labs/prooflane/index.html"] .panel-heading h3{font:400 27px/1.2 var(--ug-serif);color:#eee7da}
body[data-ug-route="labs/prooflane/index.html"] :is(.panel-heading .mono,.run-meta,.source-meta){font:10px/1.9 var(--ug-mono);color:#b3a79c}
body[data-ug-route="labs/prooflane/index.html"] :is(.run-name,.source-name){font-size:14px;line-height:1.8}
body[data-ug-route="labs/prooflane/index.html"] .source-status{font:10px/1.7 var(--ug-mono);color:#c2c9ae;border-color:#747550;padding:5px 8px}
body[data-ug-route="labs/prooflane/index.html"] .source-status.error{color:#efb092;border-color:#955541}
body[data-ug-route="labs/prooflane/index.html"] .source-note{font-size:12px;line-height:1.9;color:#b3a79c}
body[data-ug-route="labs/prooflane/index.html"] .ctf-case{background:#17110e;border-color:#71513d;border-left-color:#d59671;padding:30px 32px;gap:32px}
body[data-ug-route="labs/prooflane/index.html"] .ctf-case h2 em{color:#dc6258}
body[data-ug-route="labs/prooflane/index.html"] .ctf-case p:not(.section-index){font-size:14px;line-height:1.9;color:#c1b1a0}
body[data-ug-route="labs/prooflane/index.html"] .ctf-case-meta{font:10px/1.9 var(--ug-mono);color:#c7a68b}
body[data-ug-route="labs/prooflane/index.html"] .local-callout{padding:32px 0;gap:36px}
body[data-ug-route="labs/prooflane/index.html"] .local-callout h2{font-size:30px}
body[data-ug-route="labs/prooflane/index.html"] .local-callout p{font-size:14px;line-height:1.9;max-width:720px}
body[data-ug-route="labs/prooflane/index.html"] .footer{font:11px/1.9 var(--ug-mono);gap:22px;flex-wrap:wrap;padding:26px 0;min-height:90px}
body[data-ug-route="labs/prooflane/index.html"] .footer p{font-size:11px}

/* Archived Shufflebox case: retain the permutation, code and exact check record. */
body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"]{--bg:#0b0a0a;--panel:#141010;--lime:#dc6258;--red:#dc6258}
body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"]>.topbar{background:transparent;border-color:#4c332e}
body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] .topbar .shell{min-height:66px;flex-wrap:wrap;padding:14px 0}
body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] .brand{font:400 29px/1.2 var(--ug-serif);letter-spacing:-.035em}
body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] .back{font:11px/1.8 var(--ug-mono);color:#b3a79c;min-height:44px;display:inline-flex;align-items:center}
body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] .hero{padding:50px 0 40px;background:transparent}
body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] .hero h1{font-size:clamp(55px,7vw,94px)!important}
body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] .tag{background:#231210;border-color:#955242;color:#edbaa0;font-size:11px;line-height:1.8}
body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] .hero-meta{font:11px/1.9 var(--ug-mono);color:#b3a79c;gap:12px 28px}
body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] :is(p,.steps li){color:#c4b5a7;line-height:1.9}
body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] h2{font:400 clamp(31px,3.4vw,46px)/1.14 var(--ug-serif);letter-spacing:-.035em}
body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] .grid{gap:50px;padding:48px 0;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] .terminal{background:#100c0b;border-color:#72503d;padding:25px}
body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] .terminal::before{display:none;animation:none}
body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] .terminal-head{font:10px/1.8 var(--ug-mono);color:#b3a79c;gap:18px;flex-wrap:wrap;border-color:#4c332e}
body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] .terminal-head span:last-child{color:#ddb196}
body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] .terminal pre{color:#dfcdb6;font:12px/2 var(--ug-mono)}
body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] .caption{font:11px/1.9 var(--ug-mono);color:#b3a79c;letter-spacing:.25px}
body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] .flag{background:#291613;color:#f0c4a7;border:1px solid #a8644b;border-left:3px solid #d7745b;padding:20px;font:400 clamp(16px,2vw,24px)/1.6 var(--ug-mono)}
body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] .checks li{font:12px/1.9 var(--ug-mono);color:#c6b8a8;padding:15px 0;border-color:#4c332e}
body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] .checks li::before{color:#c2c9ae}
body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] .links a{border-color:#875b46;padding:12px 16px;color:#e3c3ab;font:11px/1.8 var(--ug-mono)}
body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] .limits{background:#1d1210;border-color:#b8644d;padding:24px}
body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] .limits p{font-size:14px;line-height:1.9}
body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] .footer{font:11px/1.9 var(--ug-mono);padding:30px 0 40px;border-color:#4c332e}

/* Evidence Lab: retain the reproducer download and give the experiment states a dark surface. */
body[data-ug-route="labs/evidence/index.html"]{--bg:#0b0a0a;--panel:#141010;--ink:#eee7da;--muted:#b3a79c;--line:#4c332e;--accent:#dc6258;--mint:#c2c9ae}
body[data-ug-route="labs/evidence/index.html"] .wrap{width:min(1240px,calc(100% - 96px))}
body[data-ug-route="labs/evidence/index.html"] .mast{height:auto;min-height:64px;padding:12px 0;border-color:#4c332e;gap:25px;flex-wrap:wrap}
body[data-ug-route="labs/evidence/index.html"] .mast>.brand{display:none}
body[data-ug-route="labs/evidence/index.html"] :is(.mast-label,.mast>a:last-child){font:11px/1.8 var(--ug-mono);letter-spacing:.65px}
body[data-ug-route="labs/evidence/index.html"] .mast>a:last-child{min-height:40px;display:inline-flex;align-items:center;gap:15px;color:#d9b39c}
body[data-ug-route="labs/evidence/index.html"] .mast>a:last-child span{margin:0}
body[data-ug-route="labs/evidence/index.html"] .intro{padding:44px 0 40px;grid-template-columns:minmax(0,1.5fr) minmax(240px,.65fr);gap:65px;align-items:start}
body[data-ug-route="labs/evidence/index.html"] h1{font:400 clamp(49px,6.3vw,83px)/1.06 var(--ug-serif);letter-spacing:-.045em}
body[data-ug-route="labs/evidence/index.html"] h1 em{color:#dc6258}
body[data-ug-route="labs/evidence/index.html"] .eyebrow{font:11px/1.8 var(--ug-mono);letter-spacing:1px;margin-bottom:18px}
body[data-ug-route="labs/evidence/index.html"] .intro-copy{font-size:16px;line-height:1.85;color:#c6b7a9;letter-spacing:0;margin-top:23px}
body[data-ug-route="labs/evidence/index.html"] .intro aside{border-color:#4c332e;padding:14px 0 0 32px}
body[data-ug-route="labs/evidence/index.html"] .lab-mark{font-size:78px;letter-spacing:-12px;color:#6f5144}
body[data-ug-route="labs/evidence/index.html"] .lab-mark b{color:#d3a58a}
body[data-ug-route="labs/evidence/index.html"] .intro aside p{font-size:13px;line-height:1.85}
body[data-ug-route="labs/evidence/index.html"] .intro aside a{font:11px/1.8 var(--ug-mono);color:#e4b496;min-height:40px}
body[data-ug-route="labs/evidence/index.html"] :is(.bench,.case-tabs,.case-tabs button,.comparison,.comparison>div,.bench-footer){border-color:#624137}
body[data-ug-route="labs/evidence/index.html"] :is(.bench-top,.bench-footer){background:#191210;padding:19px 24px;font:11px/1.8 var(--ug-mono);letter-spacing:.7px;flex-wrap:wrap}
body[data-ug-route="labs/evidence/index.html"] .bench-top i{background:#c2c9ae;box-shadow:none}
body[data-ug-route="labs/evidence/index.html"] #run-state{font:10px/1.8 var(--ug-mono);color:#bcad9e}
body[data-ug-route="labs/evidence/index.html"] .case-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
body[data-ug-route="labs/evidence/index.html"] .case-tabs button{background:#141010;color:#b3a79c;padding:23px 24px;min-height:100px;border-radius:0}
body[data-ug-route="labs/evidence/index.html"] .case-tabs button[aria-selected=true]{background:#4c211f;color:#fff0dd;box-shadow:inset 0 -2px #dc6258}
body[data-ug-route="labs/evidence/index.html"] .case-tabs button:hover:not([aria-selected=true]){background:#291a16;color:#eee7da}
body[data-ug-route="labs/evidence/index.html"] .case-tabs small{font:10px/1.8 var(--ug-mono);letter-spacing:.4px;margin-bottom:10px}
body[data-ug-route="labs/evidence/index.html"] .case-tabs strong{font:400 24px/1.3 var(--ug-serif);letter-spacing:-.015em}
body[data-ug-route="labs/evidence/index.html"] .panel{grid-template-columns:minmax(0,.8fr) minmax(0,1.25fr);min-height:0}
body[data-ug-route="labs/evidence/index.html"] .experiment-copy{padding:35px 30px;min-width:0;border-color:#4c332e}
body[data-ug-route="labs/evidence/index.html"] h2{font:400 clamp(33px,3.4vw,46px)/1.15 var(--ug-serif);letter-spacing:-.035em;margin-bottom:24px}
body[data-ug-route="labs/evidence/index.html"] .experiment-copy .eyebrow{font-size:10px}
body[data-ug-route="labs/evidence/index.html"] .experiment-copy>p:not(.eyebrow){font-size:14px;line-height:1.85}
body[data-ug-route="labs/evidence/index.html"] .experiment-copy label{font:12px/1.8 var(--ug-mono);gap:18px;flex-wrap:wrap}
body[data-ug-route="labs/evidence/index.html"] .experiment-copy output{font-size:18px;color:#e3b596}
body[data-ug-route="labs/evidence/index.html"] select{min-width:0;width:100%;min-height:48px;background:#0e0b0b;border-color:#79534a;color:#eee7da;font-size:14px}
body[data-ug-route="labs/evidence/index.html"] #opening{min-height:44px;accent-color:#dc6258}
body[data-ug-route="labs/evidence/index.html"] .experiment-copy .hint{font:11px/1.9 var(--ug-mono)!important;color:#b3a79c!important}
body[data-ug-route="labs/evidence/index.html"] .experiment-copy>a{font-size:12px;line-height:1.8;color:#e3b596;min-height:40px}
body[data-ug-route="labs/evidence/index.html"] .evidence-stage{background:#110d0c;padding:26px 30px;min-width:0}
body[data-ug-route="labs/evidence/index.html"] .stage-heading{font:10px/1.8 var(--ug-mono);letter-spacing:.3px;color:#b9a491;flex-wrap:wrap}
body[data-ug-route="labs/evidence/index.html"] .byte-legend{font:9px/1.8 var(--ug-mono);color:#b3a79c;gap:7px 18px;flex-wrap:wrap}
body[data-ug-route="labs/evidence/index.html"] .byte-legend>span:first-child{color:#dcc2ab}
body[data-ug-route="labs/evidence/index.html"] .hex-dump>span{font:11px var(--ug-mono);color:#99877b}
body[data-ug-route="labs/evidence/index.html"] .hex-dump .discriminator{color:#ead4bd;background:#342318}
body[data-ug-route="labs/evidence/index.html"] .hex-dump .selected-byte{background:#bb4f41;color:#fff0dd;outline-color:#d5896855}
body[data-ug-route="labs/evidence/index.html"] .byte-callout{font:10px/1.9 var(--ug-mono);gap:10px 18px;flex-wrap:wrap}
body[data-ug-route="labs/evidence/index.html"] .byte-callout strong{font-size:11px;color:#d8c8b7}
body[data-ug-route="labs/evidence/index.html"] .comparison small{font:10px/1.8 var(--ug-mono);letter-spacing:.2px;color:#b3a79c}
body[data-ug-route="labs/evidence/index.html"] .comparison strong{font:400 clamp(30px,3.2vw,44px)/1.2 var(--ug-serif);letter-spacing:-.02em}
body[data-ug-route="labs/evidence/index.html"] .before strong{color:#f18b7c}
body[data-ug-route="labs/evidence/index.html"] .after strong{color:#c2c9ae}
body[data-ug-route="labs/evidence/index.html"] :is(.comparison code,.comparison>div>span){font:11px/1.8 var(--ug-mono);color:#b3a79c;overflow-wrap:anywhere}
body[data-ug-route="labs/evidence/index.html"] .verdict{font:12px/1.85 var(--ug-mono);color:#c8cbb7;border-left-color:#949b79}
body[data-ug-route="labs/evidence/index.html"] .trace-log li{border-color:#4c332e;color:#b3a79c}
body[data-ug-route="labs/evidence/index.html"] .trace-log li>span{font-size:10px;color:#a08b79}
body[data-ug-route="labs/evidence/index.html"] .trace-log code{font-size:12px;line-height:1.9}
body[data-ug-route="labs/evidence/index.html"] .trace-log .event-line{color:#f18b7c;background:#301712;border-color:#7a3c30}
body[data-ug-route="labs/evidence/index.html"] .trace-log .foreign-line{color:#ddc6af}
body[data-ug-route="labs/evidence/index.html"] .flow-strip{font:10px/1.8 var(--ug-mono);color:#c8b69f;gap:10px;flex-wrap:wrap}
body[data-ug-route="labs/evidence/index.html"] .flow-strip i{color:#ae7157}
body[data-ug-route="labs/evidence/index.html"] .fixture-spec{font:10px/1.8 var(--ug-mono);gap:12px;flex-wrap:wrap}
body[data-ug-route="labs/evidence/index.html"] .fixture-spec b{font-size:21px}
body[data-ug-route="labs/evidence/index.html"] .gap-chart text{font:10px var(--ug-mono);fill:#bda68e}
body[data-ug-route="labs/evidence/index.html"] .gap-chart defs path{stroke:#463124}
body[data-ug-route="labs/evidence/index.html"] .price-route{stroke:#c2c9ae}
body[data-ug-route="labs/evidence/index.html"] .gap-chart circle{fill:#110d0c;stroke:#f18b7c}
body[data-ug-route="labs/evidence/index.html"] .bench-footer>span{color:#b3a79c;font-size:10px}
body[data-ug-route="labs/evidence/index.html"] .bench-footer button{font:11px/1.8 var(--ug-mono);min-height:44px;border:1px solid #79534a;padding:10px 14px;color:#ead2ba;border-radius:0}
body[data-ug-route="labs/evidence/index.html"] .bench-footer button:hover{background:#291a16;border-color:#b78262}
body[data-ug-route="labs/evidence/index.html"] .inspect{padding:60px 0;gap:70px;grid-template-columns:minmax(0,1.1fr) minmax(0,.85fr)}
body[data-ug-route="labs/evidence/index.html"] .inspect>div>p:not(.eyebrow){font-size:15px;line-height:1.9}
body[data-ug-route="labs/evidence/index.html"] .command{background:#1d1410;border-left-color:#9b7053;padding:23px}
body[data-ug-route="labs/evidence/index.html"] .command code{font-size:16px;color:#e4b698;overflow-wrap:anywhere}
body[data-ug-route="labs/evidence/index.html"] .command span{font:10px/1.8 var(--ug-mono);color:#b3a79c;letter-spacing:0}
body[data-ug-route="labs/evidence/index.html"] .resource-links{gap:8px 22px}
body[data-ug-route="labs/evidence/index.html"] .resource-links a{font:11px/1.8 var(--ug-mono);color:#e4b698;min-height:44px;display:inline-flex;align-items:center}
body[data-ug-route="labs/evidence/index.html"] .scope{padding:28px;background:#141010;min-width:0}
body[data-ug-route="labs/evidence/index.html"] .scope p{font-size:14px;line-height:1.85}
body[data-ug-route="labs/evidence/index.html"] .scope a{font-size:12px;line-height:1.9;color:#d9c3ad}
body[data-ug-route="labs/evidence/index.html"] footer{font:11px/1.8 var(--ug-mono);letter-spacing:.4px;flex-wrap:wrap}
body[data-ug-route="labs/evidence/index.html"] .skip{background:#eee7da;color:#0b0a0a;z-index:100}

/* Validation: make the runnable bench and assertion table part of the same instrument system. */
body[data-ug-route="demos/validation/index.html"]{--bg:#0b0a0a;--panel:#141010;--paper:#eee7da;--muted:#b3a79c;--orange:#dc6258;--green:#c2c9ae;--line:#4c332e}
body[data-ug-route="demos/validation/index.html"] .page-shell{width:min(1240px,calc(100% - 96px));max-width:none;margin:auto;padding:0}
body[data-ug-route="demos/validation/index.html"] .intro{padding:46px 0 38px;gap:50px;align-items:start}
body[data-ug-route="demos/validation/index.html"] h1{font:400 clamp(49px,6.3vw,83px)/1.06 var(--ug-serif);letter-spacing:-.045em}
body[data-ug-route="demos/validation/index.html"] h1 em{letter-spacing:inherit;color:#dc6258}
body[data-ug-route="demos/validation/index.html"] :is(.eyebrow,.case-label){font:11px/1.8 var(--ug-mono);letter-spacing:1px;color:#dc6258}
body[data-ug-route="demos/validation/index.html"] .intro-copy{font-size:16px;line-height:1.85;color:#c6b7a9}
body[data-ug-route="demos/validation/index.html"] .intro-aside{padding:10px 0 0 28px;min-width:270px;border-left:1px solid #4c332e}
body[data-ug-route="demos/validation/index.html"] .big-count{font:400 60px/1.1 var(--ug-serif);letter-spacing:-.035em}
body[data-ug-route="demos/validation/index.html"] .big-count span{font:10px/1.8 var(--ug-mono);letter-spacing:.5px}
body[data-ug-route="demos/validation/index.html"] .intro-aside p{font-size:13px;line-height:1.85}
body[data-ug-route="demos/validation/index.html"] .walkthrough-button{font:11px/1.8 var(--ug-mono);letter-spacing:0;min-height:44px;padding:10px 0;border-radius:0;border-bottom-color:#8b4d40}
body[data-ug-route="demos/validation/index.html"] .lab{background:#141010;border-color:#624137}
body[data-ug-route="demos/validation/index.html"] .lab-topline{font:11px/1.8 var(--ug-mono);padding:18px 24px;letter-spacing:.7px}
body[data-ug-route="demos/validation/index.html"] .scenario-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
body[data-ug-route="demos/validation/index.html"] .scenario-tab{font:14px/1.7 var(--ug-sans);padding:20px 24px;min-height:68px;gap:14px;color:#b3a79c;background:#141010}
body[data-ug-route="demos/validation/index.html"] .scenario-tab>span:first-child{font:11px/1.8 var(--ug-mono);color:#c09f87}
body[data-ug-route="demos/validation/index.html"] .scenario-tab[aria-selected=true]{background:#4c211f;color:#fff0dd}
body[data-ug-route="demos/validation/index.html"] .scenario-tab:hover:not([aria-selected=true]){background:#291a16;color:#eee7da}
body[data-ug-route="demos/validation/index.html"] .scenario-body{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);padding:34px 30px;gap:38px}
body[data-ug-route="demos/validation/index.html"] .explanation{min-width:0}
body[data-ug-route="demos/validation/index.html"] .explanation h2{font:400 clamp(30px,3vw,41px)/1.18 var(--ug-serif);letter-spacing:-.025em;max-width:none}
body[data-ug-route="demos/validation/index.html"] .scenario-description{font-size:14px;line-height:1.85;min-height:0;max-width:440px}
body[data-ug-route="demos/validation/index.html"] .rule-card{max-width:none;border-left-color:#9d6750;padding-left:17px}
body[data-ug-route="demos/validation/index.html"] .rule-card>span{font:10px/1.8 var(--ug-mono);letter-spacing:.5px;color:#c5a58b}
body[data-ug-route="demos/validation/index.html"] .rule-card p{font-size:14px;line-height:1.8;color:#d6c7b7}
body[data-ug-route="demos/validation/index.html"] .action-row{gap:20px;flex-wrap:wrap}
body[data-ug-route="demos/validation/index.html"] .run-button{background:#a43b34;border-color:#bd6552;color:#fff0dd;min-height:46px;font:11px/1.8 var(--ug-mono);padding:12px 18px;letter-spacing:.4px;border-radius:0}
body[data-ug-route="demos/validation/index.html"] .run-button:hover{background:#c35446;border-color:#dc856b}
body[data-ug-route="demos/validation/index.html"] .reset-button{font:11px/1.8 var(--ug-mono);min-height:44px;padding:10px 5px;color:#b3a79c;border-radius:0}
body[data-ug-route="demos/validation/index.html"] .visual-stage{background:#0e0b0b;border-color:#624137;min-width:0}
body[data-ug-route="demos/validation/index.html"] .visual-topline{font:10px/1.8 var(--ug-mono);letter-spacing:.4px;color:#bcad9e;padding:17px 19px;border-color:#4c332e;flex-wrap:wrap}
body[data-ug-route="demos/validation/index.html"] .fixture-tag{color:#b08e77}
body[data-ug-route="demos/validation/index.html"] .fixture-content{padding:25px}
body[data-ug-route="demos/validation/index.html"] .visual-footnote{font:10px/1.9 var(--ug-mono);color:#b3a79c;padding:14px 19px;border-color:#4c332e;overflow-wrap:anywhere}
body[data-ug-route="demos/validation/index.html"] .timeline::before{background:#765749}
body[data-ug-route="demos/validation/index.html"] .event-marker{background:#110d0b;border-color:#a17e66}
body[data-ug-route="demos/validation/index.html"] .event-time{font:11px/1.8 var(--ug-mono);color:#b3a79c}
body[data-ug-route="demos/validation/index.html"] .event.decision::before{font-size:10px;letter-spacing:0}
body[data-ug-route="demos/validation/index.html"] .timeline-note{font:10px/1.9 var(--ug-mono);color:#b3a79c}
body[data-ug-route="demos/validation/index.html"] :is(.comparison,.comparison-cell+div,.score-card,.logic-row){border-color:#4c332e}
body[data-ug-route="demos/validation/index.html"] .comparison-cell{padding:15px;min-width:0}
body[data-ug-route="demos/validation/index.html"] .comparison-label{font:10px/1.8 var(--ug-mono);letter-spacing:.2px}
body[data-ug-route="demos/validation/index.html"] .comparison-value{font:13px/1.8 var(--ug-mono);overflow-wrap:anywhere}
body[data-ug-route="demos/validation/index.html"] .comparison-value.unsafe{color:#f18b7c}
body[data-ug-route="demos/validation/index.html"] .comparison-value.correct{color:#c2c9ae}
body[data-ug-route="demos/validation/index.html"] .score-card .score{color:#edb297;font:400 65px/1.1 var(--ug-serif)}
body[data-ug-route="demos/validation/index.html"] .score-card .score-label{font:11px/1.9 var(--ug-mono)}
body[data-ug-route="demos/validation/index.html"] .logic-row{font:11px/1.9 var(--ug-mono);flex-wrap:wrap}
body[data-ug-route="demos/validation/index.html"] .logic-row :is(code,span){color:#c6b5a4;overflow-wrap:anywhere}
body[data-ug-route="demos/validation/index.html"] .has-result .logic-row span{color:#c2c9ae}
body[data-ug-route="demos/validation/index.html"] .sequence-visual text{fill:#bca48b;font:10px var(--ug-mono)}
body[data-ug-route="demos/validation/index.html"] .results-header{font:11px/1.8 var(--ug-mono);letter-spacing:.5px;padding:18px 24px;flex-wrap:wrap}
body[data-ug-route="demos/validation/index.html"] .status{font:10px/1.8 var(--ug-mono);color:#b3a79c}
body[data-ug-route="demos/validation/index.html"] .status.passed{color:#c2c9ae}
body[data-ug-route="demos/validation/index.html"] .status.failed{color:#f18b7c}
body[data-ug-route="demos/validation/index.html"] .assertion-table{font:12px/1.85 var(--ug-mono);min-width:0}
body[data-ug-route="demos/validation/index.html"] :is(.assertion-table td,.assertion-table th){padding:15px 20px;border-color:#4c332e;overflow-wrap:anywhere}
body[data-ug-route="demos/validation/index.html"] .assertion-table th{font:10px/1.8 var(--ug-mono);color:#b3a79c;letter-spacing:.5px}
body[data-ug-route="demos/validation/index.html"] .assertion-table :is(td:first-child,td:nth-child(3)){color:#e4d4c1}
body[data-ug-route="demos/validation/index.html"] .assertion-table .pending{color:#a39080!important}
body[data-ug-route="demos/validation/index.html"] .assertion-table .pass{color:#c2c9ae}
body[data-ug-route="demos/validation/index.html"] .assertion-table .fail{color:#f18b7c}
body[data-ug-route="demos/validation/index.html"] .result-note{font-size:13px;line-height:1.85;color:#b3a79c;padding:19px 24px}
body[data-ug-route="demos/validation/index.html"] .scope{grid-template-columns:28px minmax(0,1fr) auto;gap:22px;padding:35px 0 45px}
body[data-ug-route="demos/validation/index.html"] .scope p{font-size:14px;line-height:1.85;color:#b3a79c}
body[data-ug-route="demos/validation/index.html"] .scope strong{color:#e3cbb0}
body[data-ug-route="demos/validation/index.html"] .scope a{font:11px/1.8 var(--ug-mono);letter-spacing:.3px;min-height:44px;white-space:normal;color:#d9b399}
body[data-ug-route="demos/validation/index.html"] footer{font:11px/1.8 var(--ug-mono);color:#b3a79c;letter-spacing:.4px;flex-wrap:wrap}
body[data-ug-route="demos/validation/index.html"] .skip-link{background:#eee7da;color:#0b0a0a;z-index:100}

/* Globe: keep its renderer and category colors; lift the HUD below the global masthead. */
body[data-ug-route="threat-globe.html"]{overflow-x:hidden;overflow-y:auto;--teal:#e1c7b2;--paper:#eee7da;--ink:#0b0a0a;--dim:#bdafa3;--faint:#b3a79c}
body[data-ug-route="threat-globe.html"] #main{min-height:calc(100svh - 92px);position:relative}
body[data-ug-route="threat-globe.html"] #globe{position:fixed;inset:0;z-index:0}
body[data-ug-route="threat-globe.html"] .hud{z-index:2}
body[data-ug-route="threat-globe.html"] .top{top:112px;left:48px;right:auto;max-width:550px;padding:0;background:transparent;border:0;backdrop-filter:none}
body[data-ug-route="threat-globe.html"] h1.title{font:400 31px/1.2 var(--ug-serif);letter-spacing:-.02em;color:#eee7da;margin:0;max-width:none}
body[data-ug-route="threat-globe.html"] .live{background:#dc6258;width:6px;height:6px;margin-right:10px}
body[data-ug-route="threat-globe.html"] .status{font:10px/1.9 var(--ug-mono);margin:12px 0 0 16px;letter-spacing:.6px;color:#b3a79c}
body[data-ug-route="threat-globe.html"] .status b{color:#e0a48a}
body[data-ug-route="threat-globe.html"] .back{top:119px;right:48px;padding:10px 14px;z-index:3;background:#15100ee6;color:#d3b8a3;border-color:#785443;min-height:44px;font:11px/1.8 var(--ug-mono)}
body[data-ug-route="threat-globe.html"] .stats{top:215px;left:48px;gap:10px;flex-direction:row;align-items:stretch;max-width:calc(100% - 96px)}
body[data-ug-route="threat-globe.html"] .stat{background:#120d0ce6;border-color:#684337;padding:14px 18px;min-width:0;width:155px;backdrop-filter:none}
body[data-ug-route="threat-globe.html"] .stat span{font:400 27px/1.2 var(--ug-serif);color:#ead4bd}
body[data-ug-route="threat-globe.html"] .stat label{display:block;font:10px/1.9 var(--ug-mono);letter-spacing:.5px;color:#b3a79c;margin-top:7px}
body[data-ug-route="threat-globe.html"] .legend{left:48px;bottom:30px;border-color:#684337;background:#120d0ce6;padding:18px 20px;backdrop-filter:none}
body[data-ug-route="threat-globe.html"] .legend h4{font:10px/1.9 var(--ug-mono);letter-spacing:.8px;color:#bc9b84;margin-bottom:8px}
body[data-ug-route="threat-globe.html"] .legend .row{font:11px/1.9 var(--ug-mono);color:#d4c4b1;gap:10px;padding:2px 0}
body[data-ug-route="threat-globe.html"] .feed{right:48px;bottom:30px;width:370px;background:#120d0ce6;border-color:#684337;padding:14px;backdrop-filter:none}
body[data-ug-route="threat-globe.html"] .feed .r{font:10px/1.9 var(--ug-mono);gap:8px;padding:3px 0}
body[data-ug-route="threat-globe.html"] .feed .d{color:#d6ac8e}
body[data-ug-route="threat-globe.html"] .globe-controls{bottom:78px;gap:10px;z-index:3}
body[data-ug-route="threat-globe.html"] .globe-controls button{background:#170f0de6;color:#ead4bd;border-color:#94604c;font:11px/1.8 var(--ug-mono);padding:12px 17px}
body[data-ug-route="threat-globe.html"] .globe-controls button:hover{background:#321b14;border-color:#c78768}
body[data-ug-route="threat-globe.html"] .globe-controls button:disabled{color:#a49687}
body[data-ug-route="threat-globe.html"] .note{bottom:23px;width:min(440px,calc(100% - 40px));font:10px/1.9 var(--ug-mono);color:#b3a79c;z-index:2}
body[data-ug-route="threat-globe.html"] #globe-fallback{z-index:4;background:#180f0e;color:#e8cfb8;border:1px solid #9b604b;max-width:580px;font:14px/1.9 var(--ug-sans)}
body[data-ug-route="threat-globe.html"] .skip{z-index:100;background:#eee7da;color:#0b0a0a}

@media(max-width:1000px){
  body[data-ug-route="demos/job-radar/index.html"]>main{width:calc(100% - 64px)}
  body[data-ug-route="labs/prooflane/index.html"] :is(.sidebar,.page>.topbar,.page>main){width:calc(100% - 64px)}
  body[data-ug-route="labs/prooflane/index.html"] .sidebar{grid-template-columns:160px minmax(0,1fr);gap:10px 25px}
  body[data-ug-route="labs/prooflane/index.html"] .sidebar nav{gap:5px 14px}
  body[data-ug-route="labs/prooflane/index.html"] .intro-right{width:270px}
  body[data-ug-route="labs/prooflane/index.html"] .radar-grid{grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr)}
  body[data-ug-route="labs/prooflane/index.html"] .workbench{grid-template-columns:1fr;gap:25px}
  body[data-ug-route="labs/evidence/index.html"] .wrap{width:calc(100% - 64px)}
  body[data-ug-route="labs/evidence/index.html"] .intro{gap:35px}
  body[data-ug-route="labs/evidence/index.html"] .inspect{gap:40px}
  body[data-ug-route="demos/validation/index.html"] .page-shell{width:calc(100% - 64px)}
  body[data-ug-route="demos/validation/index.html"] .scenario-body{gap:25px;padding:28px 24px}
  body[data-ug-route="demos/validation/index.html"] .scenario-tab{padding-inline:18px}
  body[data-ug-route="demos/validation/index.html"] .scope{grid-template-columns:24px minmax(0,1fr)}
  body[data-ug-route="demos/validation/index.html"] .scope a{grid-column:2}
  body[data-ug-route="threat-globe.html"] .top{left:32px}
  body[data-ug-route="threat-globe.html"] .stats{left:32px}
  body[data-ug-route="threat-globe.html"] .legend{left:32px}
}
@media(max-width:760px){
  body[data-ug-route="demos/today/index.html"] .shell>header{align-items:flex-start;padding:20px 0;gap:15px}
  body[data-ug-route="demos/today/index.html"] .header-actions{gap:8px 16px;justify-content:flex-start}
  body[data-ug-route="demos/today/index.html"] #storage-status{width:auto;text-align:left}
  body[data-ug-route="demos/today/index.html"] .welcome{padding:30px 0 26px}
  body[data-ug-route="demos/today/index.html"] .workspace{grid-template-columns:1fr;gap:22px}
  body[data-ug-route="demos/today/index.html"] .panel{padding:23px}
  body[data-ug-route="demos/today/index.html"] .task{grid-template-columns:1fr;gap:16px;padding:22px 0}
  body[data-ug-route="demos/today/index.html"] .task-actions{justify-content:flex-start;max-width:none}
  body[data-ug-route="demos/today/index.html"] .task.completed{padding-inline:14px}
  body[data-ug-route="demos/today/index.html"] .section-heading .muted{display:block}
  body[data-ug-route="demos/today/index.html"] .notice{padding:18px;font-size:13px}
  body[data-ug-route="demos/support-intake/index.html"] .hero{grid-template-columns:1fr;gap:24px}
  body[data-ug-route="demos/support-intake/index.html"] .ug-monogram{font-size:20px}
  body[data-ug-route="demos/support-intake/index.html"] .scenario{padding:22px;gap:24px}
  body[data-ug-route="demos/support-intake/index.html"] .summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
  body[data-ug-route="demos/support-intake/index.html"] .stat{padding:19px 18px;border-bottom:1px solid #4c332e}
  body[data-ug-route="demos/support-intake/index.html"] .stat:nth-child(2n){border-right:0}
  body[data-ug-route="demos/support-intake/index.html"] .stat:nth-child(3){padding-left:0}
  body[data-ug-route="demos/support-intake/index.html"] .queue{grid-template-columns:1fr;gap:20px}
  body[data-ug-route="demos/support-intake/index.html"] .request{padding:23px}
  body[data-ug-route="demos/support-intake/index.html"] .check-panel{padding:23px}
  body[data-ug-route="demos/job-radar/index.html"]>main{width:calc(100% - 40px);padding-top:34px}
  body[data-ug-route="demos/job-radar/index.html"] .toolbar{align-items:stretch;gap:16px}
  body[data-ug-route="demos/job-radar/index.html"] #q{flex-basis:100%;width:100%}
  body[data-ug-route="demos/job-radar/index.html"] .job>div:first-child{flex-basis:100%}
  body[data-ug-route="labs/prooflane/index.html"] :is(.sidebar,.page>.topbar,.page>main){width:calc(100% - 40px)}
  body[data-ug-route="labs/prooflane/index.html"] .sidebar{grid-template-columns:1fr;gap:16px;padding:23px 0}
  body[data-ug-route="labs/prooflane/index.html"] .sidebar nav{justify-content:flex-start;display:flex;gap:5px 20px;flex-wrap:wrap}
  body[data-ug-route="labs/prooflane/index.html"] .sidebar-bottom{grid-column:1;justify-content:flex-start;gap:8px 22px}
  body[data-ug-route="labs/prooflane/index.html"] .intro{display:block;padding:32px 0 28px}
  body[data-ug-route="labs/prooflane/index.html"] .intro-right{width:auto;align-items:flex-start;margin-top:25px}
  body[data-ug-route="labs/prooflane/index.html"] .routing-art{display:none}
  body[data-ug-route="labs/prooflane/index.html"] .metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 0}
  body[data-ug-route="labs/prooflane/index.html"] .metric{padding:0 18px}
  body[data-ug-route="labs/prooflane/index.html"] .metric:nth-child(2n){border-right:0}
  body[data-ug-route="labs/prooflane/index.html"] .metric:nth-child(3){padding-left:0}
  body[data-ug-route="labs/prooflane/index.html"] .radar-grid{grid-template-columns:1fr}
  body[data-ug-route="labs/prooflane/index.html"] .dossier{border-left:0;border-top:1px solid #4c332e;padding:24px}
  body[data-ug-route="labs/prooflane/index.html"] .dossier-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-ug-route="labs/prooflane/index.html"] .radar-toolbar{gap:14px;flex-wrap:wrap;padding:18px}
  body[data-ug-route="labs/prooflane/index.html"] .search-wrap{flex-basis:100%}
  body[data-ug-route="labs/prooflane/index.html"] .finding summary{grid-template-columns:75px minmax(0,1fr) 15px;gap:12px;padding:18px 16px}
  body[data-ug-route="labs/prooflane/index.html"] .finding-status{display:none}
  body[data-ug-route="labs/prooflane/index.html"] .finding-detail{padding:24px 20px}
  body[data-ug-route="labs/prooflane/index.html"] .finding-detail dl{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-ug-route="labs/prooflane/index.html"] .workbench{padding:25px 20px;gap:25px}
  body[data-ug-route="labs/prooflane/index.html"] .workbench-copy h2{font-size:34px}
  body[data-ug-route="labs/prooflane/index.html"] .activity-grid{grid-template-columns:1fr;gap:22px}
  body[data-ug-route="labs/prooflane/index.html"] .ctf-case{padding:26px 22px}
  body[data-ug-route="labs/prooflane/index.html"] .local-callout{display:block;padding:28px 0}
  body[data-ug-route="labs/prooflane/index.html"] .local-callout .button{margin-top:23px}
  body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] .grid{grid-template-columns:1fr;gap:30px;padding:38px 0}
  body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] .result-grid{grid-template-columns:1fr;gap:30px}
  body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] .terminal{padding:22px}
  body[data-ug-route="labs/evidence/index.html"] .wrap{width:calc(100% - 40px)}
  body[data-ug-route="labs/evidence/index.html"] .mast{gap:10px 20px;padding:12px 0;min-height:60px}
  body[data-ug-route="labs/evidence/index.html"] :is(.mast-label,.mast>a:last-child){font-size:10px;max-width:none}
  body[data-ug-route="labs/evidence/index.html"] .intro{grid-template-columns:1fr;gap:25px;padding:34px 0}
  body[data-ug-route="labs/evidence/index.html"] h1{font-size:clamp(45px,10.5vw,66px)}
  body[data-ug-route="labs/evidence/index.html"] .intro aside{padding:20px 0 0;border-left:0;border-top:1px solid #4c332e;gap:10px 25px}
  body[data-ug-route="labs/evidence/index.html"] .lab-mark{font-size:52px;letter-spacing:-8px;margin:0}
  body[data-ug-route="labs/evidence/index.html"] .intro aside a{margin:0}
  body[data-ug-route="labs/evidence/index.html"] .case-tabs{grid-template-columns:1fr}
  body[data-ug-route="labs/evidence/index.html"] .case-tabs button{min-height:84px;padding:15px 21px;border-right:0;border-bottom:1px solid #624137}
  body[data-ug-route="labs/evidence/index.html"] .case-tabs button:last-child{border-bottom:0}
  body[data-ug-route="labs/evidence/index.html"] .case-tabs small{margin-bottom:6px;font-size:10px}
  body[data-ug-route="labs/evidence/index.html"] .case-tabs strong{font-size:24px}
  body[data-ug-route="labs/evidence/index.html"] .panel{grid-template-columns:1fr}
  body[data-ug-route="labs/evidence/index.html"] :is(.experiment-copy,.evidence-stage){padding:26px 22px}
  body[data-ug-route="labs/evidence/index.html"] .experiment-copy{border-right:0;border-bottom:1px solid #4c332e}
  body[data-ug-route="labs/evidence/index.html"] .experiment-copy h2 br{display:none}
  body[data-ug-route="labs/evidence/index.html"] .comparison strong{font-size:34px}
  body[data-ug-route="labs/evidence/index.html"] .comparison>div:last-child{padding-left:15px}
  body[data-ug-route="labs/evidence/index.html"] .inspect{grid-template-columns:1fr;gap:30px;padding:42px 0}
  body[data-ug-route="labs/evidence/index.html"] .scope{padding:24px}
  body[data-ug-route="labs/evidence/index.html"] .bench-footer{padding:16px 21px;gap:13px}
  body[data-ug-route="labs/evidence/index.html"] .bench-footer button:last-child{margin-left:0}
  body[data-ug-route="demos/validation/index.html"] .page-shell{width:calc(100% - 40px)}
  body[data-ug-route="demos/validation/index.html"] .intro{display:block;padding:34px 0}
  body[data-ug-route="demos/validation/index.html"] h1{font-size:clamp(45px,10.5vw,66px)}
  body[data-ug-route="demos/validation/index.html"] .intro-aside{min-width:0;padding:22px 0 0;border-left:0;border-top:1px solid #4c332e;margin-top:22px;gap:14px;flex-wrap:wrap}
  body[data-ug-route="demos/validation/index.html"] .big-count{font-size:39px}
  body[data-ug-route="demos/validation/index.html"] .walkthrough-button{margin:0;font-size:10px;text-align:left}
  body[data-ug-route="demos/validation/index.html"] .scenario-body{display:flex;flex-direction:column;gap:24px;padding:26px 21px}
  body[data-ug-route="demos/validation/index.html"] .explanation h2{font-size:32px}
  body[data-ug-route="demos/validation/index.html"] .scenario-tab{padding:14px 12px;font-size:12px;gap:8px}
  body[data-ug-route="demos/validation/index.html"] .scenario-tab>span:first-child{font-size:10px}
  body[data-ug-route="demos/validation/index.html"] .scenario-tab .tab-arrow{display:none}
  body[data-ug-route="demos/validation/index.html"] .fixture-content{padding:22px 19px}
  body[data-ug-route="demos/validation/index.html"] .visual-topline{font-size:10px;letter-spacing:0;padding:15px 16px}
  body[data-ug-route="demos/validation/index.html"] .fixture-tag{display:none}
  body[data-ug-route="demos/validation/index.html"] .results-header{padding:16px;gap:8px}
  body[data-ug-route="demos/validation/index.html"] .assertion-table{font-size:11px;table-layout:fixed;width:100%}
  body[data-ug-route="demos/validation/index.html"] :is(.assertion-table th,.assertion-table td){padding:12px 9px;font-size:10px;letter-spacing:0;word-break:normal}
  body[data-ug-route="demos/validation/index.html"] .assertion-table :is(th:first-child,td:first-child){width:39%}
  body[data-ug-route="demos/validation/index.html"] .assertion-table :is(th:last-child,td:last-child){width:26px;padding-inline:3px}
  body[data-ug-route="demos/validation/index.html"] .result-note{padding:17px 16px}
  body[data-ug-route="demos/validation/index.html"] .scope{gap:14px;padding-block:28px 35px}
  body[data-ug-route="threat-globe.html"] #main{min-height:max(680px,calc(100svh - 76px));padding:20px 20px 330px}
  body[data-ug-route="threat-globe.html"] .top{position:relative;top:auto;left:auto;right:auto;max-width:none}
  body[data-ug-route="threat-globe.html"] h1.title{font-size:25px}
  body[data-ug-route="threat-globe.html"] .stats{position:relative;top:auto;bottom:auto;left:auto;right:auto;max-width:none;margin-top:25px;flex-direction:row;gap:7px}
  body[data-ug-route="threat-globe.html"] .stat{min-width:0;width:auto;flex:1;padding:11px 9px}
  body[data-ug-route="threat-globe.html"] .stat span{font-size:21px}
  body[data-ug-route="threat-globe.html"] .stat label{font-size:9px;line-height:1.7;letter-spacing:0}
  body[data-ug-route="threat-globe.html"] .legend{position:absolute;left:20px;right:20px;bottom:181px;padding:14px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 9px}
  body[data-ug-route="threat-globe.html"] .legend h4{grid-column:1/-1;font-size:9px;margin-bottom:3px}
  body[data-ug-route="threat-globe.html"] .legend .row{font-size:9px;gap:6px;padding:0}
  body[data-ug-route="threat-globe.html"] .legend i{width:7px;height:7px;flex:none}
  body[data-ug-route="threat-globe.html"] .globe-controls{position:absolute;bottom:116px;width:calc(100% - 40px);justify-content:center;gap:8px}
  body[data-ug-route="threat-globe.html"] .globe-controls button{padding:12px 15px}
  body[data-ug-route="threat-globe.html"] .note{position:absolute;bottom:59px;width:calc(100% - 40px);font-size:10px;max-width:360px}
  body[data-ug-route="threat-globe.html"] .back{position:absolute;top:auto;bottom:8px;right:20px;font-size:10px;min-height:39px;padding:8px 12px}
  body[data-ug-route="threat-globe.html"] .feed{display:none}
  body[data-ug-route="threat-globe.html"] #globe-fallback{left:20px;right:20px;top:36%;font-size:13px;padding:22px}
}
@media(max-width:420px){
  body[data-ug-route="demos/today/index.html"] .form-row{grid-template-columns:1fr;gap:16px}
  body[data-ug-route="demos/today/index.html"] .panel{padding:21px}
  body[data-ug-route="demos/today/index.html"] .header-actions{width:100%;justify-content:space-between}
  body[data-ug-route="demos/today/index.html"] :is(.file-actions,.dialog-actions){width:100%}
  body[data-ug-route="demos/today/index.html"] .dialog-actions button{flex:1 1 140px}
  body[data-ug-route="demos/support-intake/index.html"] .request-header{flex-wrap:wrap}
  body[data-ug-route="demos/support-intake/index.html"] dl{grid-template-columns:85px minmax(0,1fr);gap:9px 12px}
  body[data-ug-route="labs/prooflane/index.html"] .mode-notice{padding:17px;gap:10px}
  body[data-ug-route="labs/prooflane/index.html"] .mode-notice a{margin-left:23px}
  body[data-ug-route="labs/prooflane/index.html"] .list-footer{flex-wrap:wrap;gap:6px;font-size:9px}
  body[data-ug-route="labs/prooflane/index.html"] .finding summary{grid-template-columns:1fr 14px;gap:8px 15px}
  body[data-ug-route="labs/prooflane/index.html"] .severity{grid-column:1/-1}
  body[data-ug-route="labs/prooflane/index.html"] .finding summary>span:last-child{grid-column:2;grid-row:2}
  body[data-ug-route="labs/prooflane/index.html"] .reason-list{display:block}
  body[data-ug-route="labs/prooflane/ctf/ductf-2024-shufflebox/index.html"] .terminal pre{font-size:11px}
  body[data-ug-route="labs/evidence/index.html"] .hex-dump{grid-template-columns:repeat(12,minmax(0,1fr));gap:3px}
  body[data-ug-route="labs/evidence/index.html"] .hex-dump>span{font-size:10px}
  body[data-ug-route="labs/evidence/index.html"] .bench-top{padding:16px 18px;align-items:start;gap:10px}
  body[data-ug-route="labs/evidence/index.html"] #run-state{font-size:9px;max-width:120px}
  body[data-ug-route="labs/evidence/index.html"] .comparison small{font-size:9px}
  body[data-ug-route="labs/evidence/index.html"] .verdict{font-size:11px}
  body[data-ug-route="demos/validation/index.html"] .scenario-tabs{grid-template-columns:1fr}
  body[data-ug-route="demos/validation/index.html"] .scenario-tab{padding:13px 18px;min-height:56px;border-right:0;border-bottom:1px solid #624137;font-size:14px;gap:15px}
  body[data-ug-route="demos/validation/index.html"] .scenario-tab:last-child{border-bottom:0}
  body[data-ug-route="demos/validation/index.html"] .scenario-tab .tab-arrow{display:block}
  body[data-ug-route="demos/validation/index.html"] .lab-topline{padding:16px;font-size:10px}
  body[data-ug-route="demos/validation/index.html"] .comparison-cell{padding:12px 10px}
  body[data-ug-route="demos/validation/index.html"] .comparison-label{font-size:9px}
}
@media(max-height:600px) and (min-width:761px){
  body[data-ug-route="threat-globe.html"] .stats{top:190px;gap:6px}
  body[data-ug-route="threat-globe.html"] .stat{padding:9px 14px}
  body[data-ug-route="threat-globe.html"] .legend{bottom:18px;padding:12px 16px}
  body[data-ug-route="threat-globe.html"] .globe-controls{bottom:63px}
}
