/* vCIO Workbench app styles. Loaded after src/brand/tokens.css and src/brand/psm.css.
   Colours come only from var(--psm-...) tokens, through the app theme names below (UI-1, UI-2). */
/* Base rules from the page wrapper, moved out of an inline <style> (UI-3). */
:root{box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
html{scroll-padding-top:env(safe-area-inset-top,0px)}
body{margin:0;padding:0}
img{max-width:100%}
[hidden]:not([hidden=until-found i]){display:none!important}

/* Layout: an operations desk. Fixed client rail on the left, a working surface on the right; every panel names the system its numbers come from. */
/* App theme names mapped onto PSM brand tokens (UI-1, UI-2). Light and dark both come from tokens.css,
   so a PSM re-skin reaches this app with no change here. */
:root{
  --bg:var(--psm-color-bg); --surface:var(--psm-color-surface); --surface-2:var(--psm-color-surface-sunken);
  --line:var(--psm-color-border); --ink:var(--psm-color-text); --ink-2:var(--psm-color-text-muted); --ink-3:var(--psm-color-text-muted);
  --accent:var(--psm-color-primary); --accent-soft:var(--psm-color-surface-selected); --on-accent:var(--psm-color-on-primary);
  --good:var(--psm-color-success); --good-soft:var(--psm-color-success-tint);
  --warn:var(--psm-color-warning); --warn-soft:var(--psm-color-warning-tint);
  --crit:var(--psm-color-error); --crit-soft:var(--psm-color-error-tint);
  --info:var(--psm-color-info); --info-soft:var(--psm-color-info-tint);
  /* chart series: brand colours only, never status colours (brand guide 3) */
  --c1:var(--psm-color-primary); --c2:var(--psm-color-accent); --c3:var(--psm-color-secondary); --c4:var(--psm-color-accent-strong); --c5:var(--psm-neutral-500);
  --f-display:var(--psm-font-sans); --f-body:var(--psm-font-sans); --f-mono:var(--psm-font-mono);
  --r:var(--psm-radius-md);
}
*{box-sizing:border-box}
body{background:var(--bg);color:var(--ink);font-family:var(--f-body);font-size:14px;line-height:1.45}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
/* The kit gives .psm-main grid-area main for the shell grid; inside .app it is a plain grid cell. */
.app>.psm-main{grid-area:auto}
/* The top nav items are buttons (they switch views, not pages): clear the browser button look so the kit nav colours apply. */
.psm-nav__item{background:transparent;font:inherit;cursor:pointer}
.app{display:grid;grid-template-columns:250px minmax(0,1fr);gap:20px;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));padding-block:16px;margin:0}
.rail{position:sticky;top:calc(16px + env(safe-area-inset-top,0px));align-self:start;display:flex;flex-direction:column;gap:14px;max-height:calc(100vh - 32px);overflow:auto}
.nav{display:flex;flex-direction:column;gap:2px}
.nav button{all:unset;cursor:pointer;display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:6px;color:var(--ink-2)}
.nav button:hover{background:var(--surface-2)}
.nav button[aria-current="true"]{background:var(--surface);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line);font-weight:600}
.nav button:focus-visible{outline:2px solid var(--accent)}
.navlabel{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3);padding:6px 10px 2px;font-weight:600}
.dot{width:9px;height:9px;border-radius:50%;flex:none;background:var(--ink-3)}
.dot.good{background:var(--good)}.dot.warn{background:var(--warn)}.dot.crit{background:var(--crit)}
.navscore{margin-left:auto;font-family:var(--f-mono);font-size:12px;color:var(--ink-3)}
.me{font-size:12px;color:var(--ink-3);padding:8px 2px;border-top:1px solid var(--line);display:flex;gap:8px;align-items:center}
.me img{width:22px;height:22px;border-radius:50%}
.mobile-nav{display:none}
main{min-width:0;display:flex;flex-direction:column;gap:16px}
/* Layout only: colours and borders come from psm-banner (UI-1). */
.banner{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:12.5px}
.banner strong{color:inherit}
h1,h2,h3{font-family:var(--f-display);text-wrap:balance;margin:0}
h1{font-size:30px;font-stretch:85%;font-weight:750;letter-spacing:-.01em;line-height:1.1}
h2{font-size:17px;font-stretch:90%;font-weight:700}
h3{font-size:14px;font-weight:650;font-stretch:95%}
.eyebrow{font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:var(--ink-3);font-weight:600}
.head{display:flex;gap:16px;align-items:flex-end;justify-content:space-between;flex-wrap:wrap}
.head .meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.head .ctrls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
/* .chip replaced by psm-badge (UI-1). */


/* Tabs wrap onto more lines instead of scrolling sideways (UI-7). */
.tabs{display:flex;flex-wrap:wrap;gap:2px;border-bottom:1px solid var(--line)}
.tabs button{all:unset;cursor:pointer;padding:9px 12px;color:var(--ink-2);border-bottom:2px solid transparent;white-space:nowrap;font-weight:500}
.tabs button[aria-selected="true"]{color:var(--ink);border-bottom-color:var(--accent);font-weight:650}
.tabs button:focus-visible{outline:2px solid var(--accent)}
.sub{display:inline-flex;background:var(--surface-2);border-radius:7px;padding:3px;gap:2px;flex-wrap:wrap}
.sub button{all:unset;cursor:pointer;padding:5px 11px;border-radius:5px;color:var(--ink-2);font-size:13px}
/* A frame never matches :focus itself when its document has the focus, so app.js toggles has-focus on the box around it. */
#qprev.has-focus{outline:2px solid var(--accent);outline-offset:2px}
.sub button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.sub button[aria-pressed="true"]{background:var(--surface);color:var(--ink);font-weight:600;box-shadow:var(--psm-shadow-sm)}
/* .btn replaced by psm-btn (UI-1). */







/* Inputs are psm-input, psm-select and psm-textarea (UI-1); .in only sizes them inside rows and tables. */
.in{width:auto;display:inline-block;min-width:0}
.psm-field .in,textarea.in{width:100%;display:block}
textarea.in{resize:vertical}
.grid{display:grid;gap:14px}
.g2{grid-template-columns:repeat(2,minmax(0,1fr))}.g3{grid-template-columns:repeat(3,minmax(0,1fr))}
.g-main{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}
/* Layout only: surface, border and radius come from psm-card (UI-1). */
.panel{padding:16px;display:flex;flex-direction:column;gap:12px;min-width:0;overflow:visible}
.panel-h{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
.src{font-family:var(--f-mono);font-size:10.5px;color:var(--ink-3);letter-spacing:.02em}
.kpis{display:grid;grid-template-columns:repeat(auto-fill,minmax(138px,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.kpi{background:var(--surface);padding:12px 14px;display:flex;flex-direction:column;gap:3px;min-width:0}
.kpi .l{font-size:11.5px;color:var(--ink-3)}
.kpi .v{font-family:var(--f-display);font-stretch:85%;font-size:24px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.15}
.kpi .d{font-size:11.5px;font-variant-numeric:tabular-nums}
.up{color:var(--good)}.down{color:var(--crit)}.flat{color:var(--ink-3)}
.kpi.flag{box-shadow:inset 3px 0 0 var(--warn)}.kpi.bad{box-shadow:inset 3px 0 0 var(--crit)}
/* Tables use psm-table-wrap, which never scrolls sideways (UI-7). */
table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
th{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--ink-3);font-weight:600;text-align:left;padding:6px 8px;border-bottom:1px solid var(--line);white-space:nowrap}
td{padding:8px;border-bottom:1px solid var(--line);vertical-align:top}
tr:last-child td{border-bottom:0}
td.n,th.n{text-align:right}
tr.click{cursor:pointer}tr.click:hover td{background:var(--surface-2)}
.mono{font-family:var(--f-mono);font-size:12.5px}
.muted{color:var(--ink-3)}.small{font-size:12px}
.score{display:flex;flex-direction:column;gap:6px}
.bar{height:6px;border-radius:3px;background:var(--surface-2);overflow:hidden}
.bar>i{display:block;height:100%;background:var(--accent);border-radius:3px}
.bar.good>i{background:var(--good)}.bar.warn>i{background:var(--warn)}.bar.crit>i{background:var(--crit)}
.health{display:grid;grid-template-columns:minmax(170px,.8fr) repeat(5,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.health>div{background:var(--surface);padding:14px;display:flex;flex-direction:column;gap:6px;min-width:0}
.big{font-family:var(--f-display);font-stretch:80%;font-weight:800;font-size:52px;line-height:1;font-variant-numeric:tabular-nums}
.hbars{display:flex;flex-direction:column;gap:7px}
.hb{display:grid;grid-template-columns:minmax(0,1fr) 54px;gap:4px 10px;align-items:center;font-size:13px}
.hb .bar{grid-column:1/-1;height:5px}
.hb .num{text-align:right;font-family:var(--f-mono);font-size:12px}
.finding{display:grid;grid-template-columns:4px minmax(0,1fr) auto;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.finding:last-child{border-bottom:0}
.finding .sev{border-radius:2px;background:var(--ink-3)}
.finding .sev.crit{background:var(--crit)}.finding .sev.warn{background:var(--warn)}.finding .sev.info{background:var(--info)}
.finding .t{font-weight:600}
.finding .refs{display:flex;gap:4px;flex-wrap:wrap;margin-top:5px}
.finding .acts{display:flex;flex-direction:column;gap:4px;align-items:flex-end}
.ref{font-family:var(--f-mono);font-size:10.5px;padding:1px 6px;border-radius:4px;background:var(--surface-2);color:var(--ink-2)}
svg text{font-family:var(--f-body)}
.chart{width:100%;height:auto;display:block;overflow:visible}
.legend{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--ink-2)}
.legend i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:5px;vertical-align:-1px}
/* Layout only: border and colour come from psm-empty (UI-1). */
.empty{padding:20px;display:flex;flex-direction:column;gap:8px;align-items:center}
/* roadmap */
/* Roadmap lanes wrap onto more rows instead of scrolling sideways (UI-7). */
.road{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px;padding-bottom:6px}
.lane{background:var(--surface-2);border-radius:var(--r);padding:10px;display:flex;flex-direction:column;gap:8px;min-height:180px}
.lane.over{outline:2px dashed var(--accent);outline-offset:-2px}
.lane-h{display:flex;justify-content:space-between;align-items:baseline;gap:6px}
.lane-h b{font-family:var(--f-display);font-stretch:85%;font-size:15px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:9px 10px;display:flex;flex-direction:column;gap:6px;cursor:pointer;position:relative}
.card:hover{border-color:var(--ink-3)}
.card .ct{font-weight:600;font-size:13px;line-height:1.3}
.card .cm{display:flex;flex-wrap:wrap;gap:4px;align-items:center;font-size:11.5px;color:var(--ink-3)}
.card[data-pri="Critical"]{box-shadow:inset 3px 0 0 var(--crit)}.card[data-pri="High"]{box-shadow:inset 3px 0 0 var(--warn)}
/* risk heatmap */
.heat{display:grid;grid-template-columns:22px repeat(5,minmax(0,1fr));grid-template-rows:repeat(5,minmax(44px,auto)) 22px;gap:3px;font-size:12px}
.heat .cell{border-radius:4px;display:flex;align-items:center;justify-content:center;font-family:var(--f-mono);font-weight:600}
.heat .ax{display:flex;align-items:center;justify-content:center;color:var(--ink-3);font-size:11px}
/* drawer */
.scrim{position:fixed;inset:0;background:var(--psm-color-overlay);z-index:40}
.drawer{position:fixed;top:0;right:0;bottom:0;width:min(560px,100%);background:var(--surface);z-index:41;display:flex;flex-direction:column;border-left:1px solid var(--line);padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);padding-right:env(safe-area-inset-right,0px)}
.drawer header{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-bottom:1px solid var(--line);gap:10px}
.drawer .body{overflow:auto;padding:16px 18px;display:flex;flex-direction:column;gap:12px;flex:1}
.drawer footer{display:flex;gap:8px;justify-content:space-between;padding:12px 18px;border-top:1px solid var(--line);flex-wrap:wrap}
/* Layout only: psm-field and psm-label carry the form styles (UI-1). */
.field{gap:4px;margin-bottom:0}


.frow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.toggles{display:flex;flex-wrap:wrap;gap:6px}
.toggles label{display:inline-flex;gap:5px;align-items:center;font-size:12px;padding:3px 9px;border:1px solid var(--line);border-radius:999px;cursor:pointer;font-weight:500;color:var(--ink-2)}
.toggles input{margin:0}
.toggles label:has(input:checked){background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}
.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(20px + env(safe-area-inset-bottom,0px));background:var(--ink);color:var(--bg);padding:9px 16px;border-radius:8px;z-index:60;font-size:13px;max-width:calc(100% - 32px)}
/* report */
.report{background:var(--psm-neutral-0);color:var(--psm-neutral-900);border:1px solid var(--line);border-radius:var(--r);padding:32px;font-size:13px;line-height:1.5;max-height:900px;overflow:auto}
.report h2,.report h3{color:var(--psm-neutral-900)}
.cis-row select{min-width:130px}
.radar text{font-size:11px;fill:var(--ink-2)}
.statusline{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.split{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:16px;align-items:start}
.stack{display:flex;flex-direction:column;gap:10px}
.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.spacer{flex:1}
/* psm-kv carries the label and value grid (UI-1). */
.kv{font-size:13px}

.ctx textarea{min-height:64px}
.activity{display:flex;flex-direction:column}
.activity div{display:flex;gap:10px;padding:7px 0;border-bottom:1px solid var(--line);font-size:13px;align-items:baseline}
.activity div:last-child{border-bottom:0}
.activity time{font-family:var(--f-mono);font-size:11px;color:var(--ink-3);flex:none;width:76px}
@media (max-width:1180px){.health{grid-template-columns:repeat(3,minmax(0,1fr))}.health>div:first-child{grid-column:1/-1;flex-direction:row;align-items:center;gap:18px}}
@media (max-width:1000px){.g-main,.g3,.split{grid-template-columns:minmax(0,1fr)}}
@media (max-width:900px){
  .app{grid-template-columns:minmax(0,1fr)}
  .rail{position:static;max-height:none}
  .rail .nav.clients,.rail .navlabel.cl{display:none}
  .mobile-nav{display:block}
  .g2{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:560px){.health{grid-template-columns:repeat(2,minmax(0,1fr))}.frow{grid-template-columns:minmax(0,1fr)}h1{font-size:24px}.big{font-size:40px}.report{padding:18px}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* ---- PSM brand conversion (UI-3): classes that replace the old inline styles ---- */
.s-align-items-center{align-items:center!important}
.s-align-self-flex-start{align-self:flex-start!important}
.s-background-bg{background:var(--bg)!important}
.s-background-surface{background:var(--surface)!important}
.s-background-surface-2{background:var(--surface-2)!important}
.s-border-1-5px-dashed-line{border:1.5px dashed var(--line)!important}
.s-border-bottom-1px-solid-line{border-bottom:1px solid var(--line)!important}
.s-border-color-crit{border-color:var(--crit)!important}
.s-border-radius-12px{border-radius:12px!important}
.s-border-radius-r{border-radius:var(--r)!important}
.s-color-ink{color:var(--ink)!important}
.s-color-warn{color:var(--warn)!important}
.s-columns-3-220px{columns:3 220px!important}
.s-cursor-pointer{cursor:pointer!important}
.s-display-flex{display:flex!important}
.s-display-grid{display:grid!important}
.s-display-inline{display:inline!important}
.s-flex-direction-row{flex-direction:row!important}
.s-flex-wrap-wrap{flex-wrap:wrap!important}
.s-font-size-11-5px{font-size:11.5px!important}
.s-font-size-11px{font-size:11px!important}
.s-font-size-14px{font-size:14px!important}
.s-font-size-18px{font-size:18px!important}
.s-font-weight-400{font-weight:400!important}
.s-font-weight-600{font-weight:600!important}
.s-font-weight-650{font-weight:650!important}
.s-gap-10px{gap:10px!important}
.s-gap-12px{gap:12px!important}
.s-gap-14px{gap:14px!important}
.s-gap-16px{gap:16px!important}
.s-gap-18px{gap:18px!important}
.s-gap-2px{gap:2px!important}
.s-gap-4px{gap:4px!important}
.s-gap-6px{gap:6px!important}
.s-gap-8px{gap:8px!important}
.s-grid-template-columns-minmax-0-1fr-auto{grid-template-columns:minmax(0,1fr) auto!important}
.s-grid-template-columns-repeat-auto-fill-minmax-150px-1fr{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important}
.s-grid-template-columns-repeat-auto-fill-minmax-160px-1fr{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))!important}
.s-grid-template-columns-repeat-auto-fill-minmax-220px-1fr{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important}
.s-grid-template-columns-repeat-auto-fill-minmax-230px-1fr{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))!important}
.s-justify-content-space-between{justify-content:space-between!important}
.s-letter-spacing-08em{letter-spacing:.08em!important}
.s-margin-0{margin:0!important}
.s-margin-0-auto{margin:0 auto!important}
.s-margin-4px-0-0{margin:4px 0 0!important}
.s-margin-6px-0{margin:6px 0!important}
.s-margin-6px-0-0{margin:6px 0 0!important}
.s-margin-top-10px{margin-top:10px!important}
.s-margin-top-4px{margin-top:4px!important}
.s-margin-top-6px{margin-top:6px!important}
.s-max-height-360px{max-height:360px!important}
.s-max-height-380px{max-height:380px!important}
.s-max-height-420px{max-height:420px!important}
.s-max-height-92vh{max-height:92vh!important}
.s-max-width-220px{max-width:220px!important}
.s-max-width-260px{max-width:260px!important}
.s-max-width-340px{max-width:340px!important}
.s-max-width-380px{max-width:380px!important}
.s-max-width-980px{max-width:980px!important}
.s-min-width-160px{min-width:160px!important}
.s-min-width-200px{min-width:200px!important}
.s-overflow-auto{overflow:auto!important}
.s-padding-0{padding:0!important}
.s-padding-10px-0{padding:10px 0!important}
.s-padding-16px{padding:16px!important}
.s-padding-20px{padding:20px!important}
.s-padding-32px{padding:32px!important}
.s-padding-40px{padding:40px!important}
.s-padding-left-0{padding-left:0!important}
.s-padding-left-18px{padding-left:18px!important}
.s-white-space-nowrap{white-space:nowrap!important}
.s-white-space-pre-wrap{white-space:pre-wrap!important}
.s-width-100{width:100%!important}
.s-width-140px{width:140px!important}
.s-width-240px{width:240px!important}
.s-width-28px{width:28px!important}
.s-width-70px{width:70px!important}
.s-width-96vw{width:96vw!important}
.pct-0{width:0%!important}
.pct-1{width:1%!important}
.pct-2{width:2%!important}
.pct-3{width:3%!important}
.pct-4{width:4%!important}
.pct-5{width:5%!important}
.pct-6{width:6%!important}
.pct-7{width:7%!important}
.pct-8{width:8%!important}
.pct-9{width:9%!important}
.pct-10{width:10%!important}
.pct-11{width:11%!important}
.pct-12{width:12%!important}
.pct-13{width:13%!important}
.pct-14{width:14%!important}
.pct-15{width:15%!important}
.pct-16{width:16%!important}
.pct-17{width:17%!important}
.pct-18{width:18%!important}
.pct-19{width:19%!important}
.pct-20{width:20%!important}
.pct-21{width:21%!important}
.pct-22{width:22%!important}
.pct-23{width:23%!important}
.pct-24{width:24%!important}
.pct-25{width:25%!important}
.pct-26{width:26%!important}
.pct-27{width:27%!important}
.pct-28{width:28%!important}
.pct-29{width:29%!important}
.pct-30{width:30%!important}
.pct-31{width:31%!important}
.pct-32{width:32%!important}
.pct-33{width:33%!important}
.pct-34{width:34%!important}
.pct-35{width:35%!important}
.pct-36{width:36%!important}
.pct-37{width:37%!important}
.pct-38{width:38%!important}
.pct-39{width:39%!important}
.pct-40{width:40%!important}
.pct-41{width:41%!important}
.pct-42{width:42%!important}
.pct-43{width:43%!important}
.pct-44{width:44%!important}
.pct-45{width:45%!important}
.pct-46{width:46%!important}
.pct-47{width:47%!important}
.pct-48{width:48%!important}
.pct-49{width:49%!important}
.pct-50{width:50%!important}
.pct-51{width:51%!important}
.pct-52{width:52%!important}
.pct-53{width:53%!important}
.pct-54{width:54%!important}
.pct-55{width:55%!important}
.pct-56{width:56%!important}
.pct-57{width:57%!important}
.pct-58{width:58%!important}
.pct-59{width:59%!important}
.pct-60{width:60%!important}
.pct-61{width:61%!important}
.pct-62{width:62%!important}
.pct-63{width:63%!important}
.pct-64{width:64%!important}
.pct-65{width:65%!important}
.pct-66{width:66%!important}
.pct-67{width:67%!important}
.pct-68{width:68%!important}
.pct-69{width:69%!important}
.pct-70{width:70%!important}
.pct-71{width:71%!important}
.pct-72{width:72%!important}
.pct-73{width:73%!important}
.pct-74{width:74%!important}
.pct-75{width:75%!important}
.pct-76{width:76%!important}
.pct-77{width:77%!important}
.pct-78{width:78%!important}
.pct-79{width:79%!important}
.pct-80{width:80%!important}
.pct-81{width:81%!important}
.pct-82{width:82%!important}
.pct-83{width:83%!important}
.pct-84{width:84%!important}
.pct-85{width:85%!important}
.pct-86{width:86%!important}
.pct-87{width:87%!important}
.pct-88{width:88%!important}
.pct-89{width:89%!important}
.pct-90{width:90%!important}
.pct-91{width:91%!important}
.pct-92{width:92%!important}
.pct-93{width:93%!important}
.pct-94{width:94%!important}
.pct-95{width:95%!important}
.pct-96{width:96%!important}
.pct-97{width:97%!important}
.pct-98{width:98%!important}
.pct-99{width:99%!important}
.pct-100{width:100%!important}
.mh-0{min-height:0px}
.mh-1{min-height:20px}
.mh-2{min-height:40px}
.mh-3{min-height:60px}
.mh-4{min-height:80px}
.mh-5{min-height:100px}
.mh-6{min-height:120px}
.mh-7{min-height:140px}
.mh-8{min-height:160px}
.mh-9{min-height:180px}
.mh-10{min-height:200px}
.mh-11{min-height:220px}
.mh-12{min-height:240px}
.mh-13{min-height:260px}
.mh-14{min-height:280px}
.mh-15{min-height:300px}
.mh-16{min-height:320px}
.mh-17{min-height:340px}
.mh-18{min-height:360px}
.mh-19{min-height:380px}
.mh-20{min-height:400px}
.mh-21{min-height:420px}
.mh-22{min-height:440px}
.mh-23{min-height:460px}
.mh-24{min-height:480px}
.mh-25{min-height:500px}
.mh-26{min-height:520px}
.mh-27{min-height:540px}
.mh-28{min-height:560px}
.mh-29{min-height:580px}
.mh-30{min-height:600px}
.nodata{justify-content:center}
.sw-c1{background:var(--c1)}
.sw-c2{background:var(--c2)}
.sw-c3{background:var(--c3)}
.sw-c4{background:var(--c4)}
.sw-c5{background:var(--c5)}
.sw-crit{background:var(--crit)}
.sw-warn{background:var(--warn)}
.sw-good{background:var(--good)}
.sw-info{background:var(--info)}
.sw-accent{background:var(--accent)}
.heat-crit{background:var(--crit-soft);color:var(--crit)}
.heat-warn{background:var(--warn-soft);color:var(--warn)}
.heat-good{background:var(--good-soft);color:var(--good)}
.modal-backdrop{position:fixed;inset:0;background:var(--psm-color-overlay);display:grid;place-items:center;z-index:60}
.in[data-changed]{border-color:var(--accent);background:var(--accent-soft)}
.is-drag{border-color:var(--accent)}
.s-w100{width:100%}
.s-m0{margin:0}
.s-prewrap{white-space:pre-wrap}
/* PSM header sits above the working area; the client rail sticks below it. */
.app .rail{top:calc(var(--psm-header-height) + 16px)}

/* Keyboard access (UI-5): clickable rows and roadmap cards show the PSM focus ring. */
tr.click:focus-visible,.card[role="button"]:focus-visible{outline:var(--psm-focus-ring-width) solid var(--psm-color-focus-ring);outline-offset:calc(-1 * var(--psm-focus-ring-width))}
.report-frame{display:block;width:100%;height:836px;border:0;background:var(--psm-neutral-0)}
