/* Blame for Mac — concept A system. One source for every screen in .atelier/screens/. Tokens mirror /DESIGN.md. */

/* ---------- tokens ---------- */
.light, :root {
  --win: #FFFFFF;            /* content ground: solid under every number */
  --side: #F1F1F4;           /* sidebar / panel chrome (material on macOS 26, solid fallback on 14–15) */
  --chrome-edge: rgba(0,0,0,.06);
  --label: #1D1D1F;
  --label-2: #636366;        /* 5.99:1 on #FFF, 5.31:1 on #F1F1F4 */
  --sep: rgba(0,0,0,.09);
  --fill-1: rgba(0,0,0,.045); /* quiet fills: selection, symbol tiles, "everything else" */
  --fill-2: rgba(0,0,0,.085); /* sidebar selection */
  --data-a: #C9C9CE; --data-b: #D6D6DA; --data-c: #BEBEC3;   /* data blocks in the bar (neutral) */
  --amber-text: #854F00;     /* 6.74:1 on #FFF */
  --amber: #EBA941;          /* fill: Free and the one primary action */
  --on-amber: #24180A;       /* 8.5:1 on amber */
  --btn: #FFFFFF; --btn-edge: rgba(0,0,0,.14); --btn-shadow: 0 .5px 1.5px rgba(0,0,0,.12);
  --switch-on: #48484A; --switch-off: rgba(0,0,0,.1);
  --glass: rgba(255,255,255,.78); --glass-edge: rgba(0,0,0,.08);
  --desk: linear-gradient(170deg, #D5DAE1 0%, #E4E2DE 100%);
  --menubar: rgba(246,246,248,.72); --menubar-ink: #1D1D1F; --mark-filter: none;
  --win-edge: 0 0 0 .5px rgba(0,0,0,.22);
  --win-shadow: 0 24px 64px rgba(30,34,44,.26), 0 4px 14px rgba(30,34,44,.10);
}
.dark {
  --win: #1F1F21;
  --side: #2A2A2D;
  --chrome-edge: rgba(255,255,255,.07);
  --label: #F5F5F7;
  --label-2: #A1A1A6;        /* 6.4:1 on #1F1F21, 5.56:1 on #2A2A2D */
  --sep: rgba(255,255,255,.09);
  --fill-1: rgba(255,255,255,.06);
  --fill-2: rgba(255,255,255,.10);
  --data-a: #4A4A4F; --data-b: #56565B; --data-c: #424246;
  --amber-text: #F2B458;     /* 8.97:1 on #1F1F21 */
  --amber: #F2B458;
  --on-amber: #24180A;       /* 9.46:1 */
  --btn: #3A3A3D; --btn-edge: rgba(255,255,255,.10); --btn-shadow: 0 .5px 1px rgba(0,0,0,.4);
  --switch-on: #8E8E93; --switch-off: rgba(255,255,255,.14);
  --glass: rgba(58,58,62,.72); --glass-edge: rgba(255,255,255,.10);
  --desk: linear-gradient(170deg, #2B2F36 0%, #1C1D21 100%);
  --menubar: rgba(28,28,32,.55); --menubar-ink: #F5F5F7; --mark-filter: invert(1);
  --win-edge: 0 0 0 .5px rgba(0,0,0,.9), inset 0 0 0 .5px rgba(255,255,255,.12);
  --win-shadow: 0 24px 64px rgba(0,0,0,.55), 0 4px 14px rgba(0,0,0,.3);
}

/* ---------- page ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #ECECEE; }
body { font-family: -apple-system, "SF Pro Text", "SF Pro Display", system-ui; color: #1D1D1F; -webkit-font-smoothing: antialiased; padding: 40px 0 80px; }
.doc-head { width: 1080px; margin: 0 auto 28px; font-size: 13px; color: #3A3A3C; line-height: 18px; }
.doc-head b { font-size: 15px; color: #1D1D1F; }
.board { width: 1080px; margin: 0 auto 36px; }
.cap { font-size: 11px; line-height: 15px; color: #48484A; margin-top: 10px; }
.cap b { color: #1D1D1F; font-weight: 600; }
.stage { position: relative; background: var(--desk); overflow: hidden; color: var(--label); }
.stage.panelstage { width: 640px; height: 492px; }
.stage.winstage { width: 1080px; height: 760px; }

/* type ladder: 44 / 32 / 15 / 13 / 11 — five sizes */
.t44 { font-size: 44px; line-height: 48px; font-weight: 600; letter-spacing: -.3px; }
.t32 { font-size: 32px; line-height: 38px; font-weight: 600; letter-spacing: -.2px; }
.t15 { font-size: 15px; line-height: 20px; letter-spacing: -.2px; }
.t13 { font-size: 13px; line-height: 16px; letter-spacing: -.08px; }
.t11 { font-size: 11px; line-height: 14px; letter-spacing: .06px; }
.num { font-variant-numeric: tabular-nums; }
.sb { font-weight: 600; } .md { font-weight: 500; }
.l2 { color: var(--label-2); } .amb { color: var(--amber-text); }
.trunc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
svg.g { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.g.f { fill: currentColor; stroke: none; }

/* ---------- controls: two button styles ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; font: 500 13px/16px -apple-system, system-ui; letter-spacing: -.08px;
  height: 22px; padding: 0 10px; border-radius: 6px; background: var(--btn); color: var(--label); box-shadow: 0 0 0 .5px var(--btn-edge), var(--btn-shadow); white-space: nowrap; }
.btn.lg { height: 28px; padding: 0 14px; border-radius: 8px; }
.btn.pri { background: var(--amber); color: var(--on-amber); font-weight: 600; box-shadow: 0 0 0 .5px rgba(120,70,0,.25), 0 .5px 1px rgba(0,0,0,.12); }
.btn.icon { width: 28px; padding: 0; }
.switch { width: 30px; height: 17px; border-radius: 9px; background: var(--switch-off); position: relative; flex: none; }
.switch::after { content: ""; position: absolute; top: 1.5px; left: 1.5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 .5px 1.5px rgba(0,0,0,.3), 0 0 0 .5px rgba(0,0,0,.06); }
.switch.on { background: var(--switch-on); }
.switch.on::after { left: 14.5px; }

/* verdict marks: shape + word, neutral */
.v { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; line-height: 14px; font-weight: 500; letter-spacing: .06px; color: var(--label); white-space: nowrap; }
.v::before { content: ""; width: 8px; height: 8px; flex: none; box-sizing: border-box; }
.v.safe::before { border-radius: 50%; background: var(--label); }
.v.asks::before { border-radius: 50%; border: 1.5px solid var(--label); }
.v.alone { color: var(--label-2); } .v.alone::before { border: 1.5px solid var(--label-2); border-radius: 1px; }
.v.tip { color: var(--label-2); } .v.tip::before { border-radius: 50%; background: var(--label-2); opacity: .7; }

/* icons */
.ico { display: block; flex: none; object-fit: contain; }
.tile { display: flex; align-items: center; justify-content: center; flex: none; border-radius: 22%; background: var(--fill-1); box-shadow: inset 0 0 0 .5px var(--sep); color: var(--label-2); }

/* ---------- memory bar ---------- */
.bar { position: relative; border-radius: 5px; background: var(--fill-1); box-shadow: inset 0 0 0 1px var(--sep); overflow: hidden; }
.bar .seg { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; }
.bar .seg + .seg { }
.bar .a { background: var(--data-a); } .bar .b { background: var(--data-b); } .bar .c { background: var(--data-c); }
.bar .free { background: var(--amber); }
.bar .quit { background: repeating-linear-gradient(135deg, var(--amber) 0 1.6px, transparent 1.6px 5px), color-mix(in srgb, var(--amber) 18%, var(--win)); }
.bar .seg { box-shadow: 1px 0 0 var(--win); }
.bar .spill { position: absolute; top: 0; bottom: 0; right: 0; border: 1px dashed color-mix(in srgb, var(--label-2) 55%, transparent); border-left: 0; border-radius: 0 5px 5px 0; }
.bar .veil { position: absolute; top: 0; bottom: 0; right: 0; background: color-mix(in srgb, var(--win) 55%, transparent); }
.bar .ram { position: absolute; top: -1px; bottom: -1px; width: 2px; margin-left: -1px; background: var(--label); }
.barwrap { position: relative; }
.barwrap .cap-ram { position: absolute; top: -5px; width: 8px; height: 5px; margin-left: -4px; background: var(--label); clip-path: polygon(0 0,100% 0,50% 100%); }
.legend { display: flex; gap: 14px; align-items: center; }
.legend span.k { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.legend span.k b { margin-left: 2px; }
.sw { width: 14px; height: 9px; border-radius: 2px; flex: none; }
.sw.free { background: var(--amber); }
.sw.quit { background: repeating-linear-gradient(135deg, var(--amber) 0 1.4px, transparent 1.4px 4px), color-mix(in srgb, var(--amber) 18%, var(--win)); }
.sw.ram { width: 2px; height: 11px; border-radius: 0; background: var(--label); }
.sw.disk { box-shadow: inset 0 0 0 1px var(--sep); background: var(--fill-1); }

/* ---------- menu bar + panel ---------- */
.menubar { position: absolute; left: 0; right: 0; top: 0; height: 24px; background: var(--menubar); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  color: var(--menubar-ink); display: flex; align-items: center; justify-content: flex-end; padding: 0 10px; gap: 4px; font-size: 13px; }
.menubar .item { height: 22px; padding: 0 7px; border-radius: 5px; display: flex; align-items: center; gap: 5px; }
.menubar .item.on { background: color-mix(in srgb, var(--menubar-ink) 14%, transparent); }
.menubar .item img { width: 16px; height: 16px; filter: var(--mark-filter); }
.menubar .item .num { font-weight: 500; }
.panel { position: absolute; top: 30px; width: 400px; border-radius: 14px; overflow: hidden; background: var(--win);
  box-shadow: 0 0 0 .5px rgba(0,0,0,.18), 0 18px 48px rgba(20,24,32,.24), 0 3px 10px rgba(20,24,32,.10); }
.dark .panel { box-shadow: 0 0 0 .5px rgba(0,0,0,.9), inset 0 0 0 .5px rgba(255,255,255,.12), 0 18px 48px rgba(0,0,0,.55); }
.p-head { height: 40px; padding: 0 16px; display: flex; align-items: center; gap: 7px; background: var(--side); box-shadow: inset 0 -.5px 0 var(--chrome-edge); }
.p-head img { width: 15px; height: 15px; filter: var(--mark-filter); }
.p-body { padding: 14px 16px 0; }
.hero { display: flex; align-items: baseline; gap: 8px; }
.apline { display: flex; align-items: center; gap: 6px; margin-top: 2px; height: 20px; }
.apline svg.g { width: 13px; height: 13px; }
.p-row { display: grid; grid-template-columns: 24px 1fr auto 72px; align-items: center; column-gap: 10px; height: 40px; box-shadow: inset 0 -.5px 0 var(--sep); }
.p-row:last-child { box-shadow: none; }
.p-row .amt { text-align: right; }
.p-row .act { display: flex; justify-content: flex-end; }
.p-row .act .btn, .d-row .act .btn { min-width: 64px; }
.p-more { height: 30px; display: flex; align-items: center; gap: 4px; }
.p-foot { margin-top: 12px; height: 48px; padding: 0 16px; display: flex; align-items: center; gap: 8px; background: var(--side); box-shadow: inset 0 .5px 0 var(--chrome-edge); }
.receipt { margin: 0 0 12px; border-radius: 10px; background: var(--fill-1); box-shadow: inset 0 0 0 .5px var(--sep); padding: 10px 12px; }
.r-row { display: grid; grid-template-columns: 24px 1fr auto auto; column-gap: 10px; align-items: center; }
.r-row > .tile, .r-row > img { grid-row: span 2; align-self: start; margin-top: 1px; }
.r-row .btn { min-width: 56px; }

/* ---------- window ---------- */
.window { position: absolute; left: 60px; top: 56px; width: 960px; height: 640px; border-radius: 16px; overflow: hidden; background: var(--win); box-shadow: var(--win-edge), var(--win-shadow); }
.sidebar { position: absolute; left: 8px; top: 8px; bottom: 8px; width: 216px; border-radius: 11px; background: var(--side); box-shadow: inset 0 0 0 .5px var(--chrome-edge), 0 1px 3px rgba(0,0,0,.05); }
.lights { position: absolute; left: 12px; top: 14px; display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.14); }
.lights i:nth-child(1) { background: #FF5F57; } .lights i:nth-child(2) { background: #FEBC2E; } .lights i:nth-child(3) { background: #28C840; }
.sbtoggle { position: absolute; right: 10px; top: 10px; width: 28px; height: 20px; display: flex; align-items: center; justify-content: center; color: var(--label-2); }
.nav { position: absolute; top: 46px; left: 8px; right: 8px; }
.nav .row { height: 28px; border-radius: 7px; display: flex; align-items: center; gap: 8px; padding: 0 8px; }
.nav .row.sel { background: var(--fill-2); }
.nav .row svg.g { color: var(--label-2); }
.nav .row .badge { margin-left: auto; }
.nav .foot { position: absolute; }
.sidefoot { position: absolute; left: 8px; right: 8px; bottom: 8px; }
.content { position: absolute; left: 232px; right: 0; top: 0; bottom: 0; }
.toolbar { height: 52px; display: flex; align-items: center; padding: 0 16px 0 28px; gap: 10px; }
.toolbar .title { display: flex; flex-direction: column; justify-content: center; }
.toolbar .sp { flex: 1; }
.glass { height: 30px; border-radius: 15px; background: var(--glass); box-shadow: 0 0 0 .5px var(--glass-edge), 0 1px 4px rgba(0,0,0,.08); display: flex; align-items: center; padding: 0 4px; gap: 2px; color: var(--label); }
.glass .seg { height: 24px; padding: 0 11px; border-radius: 12px; display: flex; align-items: center; font-size: 13px; font-weight: 500; }
.glass .seg.on { background: var(--fill-2); }
.glass.round { width: 30px; justify-content: center; padding: 0; }
.glass.text { padding: 0 13px; font-size: 13px; font-weight: 500; }
.pad { padding: 0 28px; }
.d-row { display: grid; grid-template-columns: 28px 1fr 76px 96px 72px; column-gap: 12px; align-items: center; height: 52px; box-shadow: inset 0 -.5px 0 var(--sep); }
.d-row .amt { text-align: right; }
.d-row .act { display: flex; justify-content: flex-end; }
.d-row > span:nth-child(4) { display: flex; align-items: center; }
.sect { display: flex; align-items: baseline; gap: 8px; height: 30px; padding-top: 8px; box-shadow: inset 0 -.5px 0 var(--sep); }
.sect .sp { flex: 1; }
.link { color: var(--label-2); display: inline-flex; align-items: center; gap: 2px; }
.link svg.g { width: 10px; height: 10px; stroke-width: 1.8; }
.rec { display: grid; grid-template-columns: 28px 1fr auto auto; column-gap: 12px; align-items: center; min-height: 52px; padding: 9px 0; box-shadow: inset 0 -.5px 0 var(--sep); }
.rec .when { text-align: right; }
.rule { display: grid; grid-template-columns: 1fr 56px 30px; column-gap: 16px; align-items: center; min-height: 48px; padding: 8px 0; box-shadow: inset 0 -.5px 0 var(--sep); }
.rule .pct { text-align: right; }
.rule.free { grid-template-columns: 1fr 56px 96px; }
.scale { position: relative; height: 14px; margin-top: 10px; }
.scale .track { position: absolute; left: 0; right: 0; top: 6px; height: 3px; border-radius: 2px; background: var(--fill-2); }
.scale .fill { position: absolute; left: 0; top: 6px; height: 3px; border-radius: 2px; background: var(--label); }
.scale .dot { position: absolute; top: 3px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--label); box-shadow: 0 0 0 2px var(--win); }
.scale .line { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px dashed var(--label-2); }
.fade { position: absolute; left: 0; right: 0; bottom: 0; height: 36px; background: linear-gradient(to bottom, transparent, var(--win)); pointer-events: none; }
.ask { display: grid; grid-template-columns: 1fr auto; column-gap: 20px; align-items: center; padding: 14px 0; box-shadow: inset 0 -.5px 0 var(--sep); }

/* ---------- system sheet ---------- */
.sheet { width: 1080px; background: #fff; border-radius: 12px; box-shadow: 0 0 0 .5px rgba(0,0,0,.12); padding: 28px 32px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; color: #1D1D1F; }
.sheet h3 { font-size: 11px; line-height: 14px; font-weight: 600; color: #636366; margin-bottom: 12px; letter-spacing: .06px; }
.sheet .ladder div { display: grid; grid-template-columns: 64px 1fr; align-items: baseline; padding: 6px 0; box-shadow: inset 0 -.5px 0 rgba(0,0,0,.09); }
.chips { display: grid; grid-template-columns: 1fr; }
.chip { display: grid; grid-template-columns: 22px 22px 1fr auto; gap: 8px; align-items: center; padding: 5px 0; box-shadow: inset 0 -.5px 0 rgba(0,0,0,.09); font-size: 11px; line-height: 14px; }
.chip i { width: 22px; height: 22px; border-radius: 6px; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.15); }
.kv { display: grid; grid-template-columns: 96px 1fr; padding: 6px 0; box-shadow: inset 0 -.5px 0 rgba(0,0,0,.09); font-size: 11px; line-height: 14px; }

/* ---------- screens additions ---------- */
body.screens { padding: 32px 0 64px; background: #ECECEE; }
.board.wide { width: 1080px; }
.hero44 { display: flex; align-items: baseline; gap: 10px; }
.lab { color: var(--label); }
.row-act { display: flex; justify-content: flex-end; }
/* table (Processes) */
.tbl { margin: 0 20px; }
.tbl .th, .tbl .tr { display: grid; grid-template-columns: 1fr 96px 96px 112px 76px; column-gap: 12px; align-items: center; padding: 0 8px; }
.tbl .th { margin: 0 8px; padding: 0 !important; height: 28px; box-shadow: inset 0 -.5px 0 var(--sep); font-size: 11px; line-height: 14px; font-weight: 600; color: var(--label-2); }
.tbl .th .sorted { color: var(--label); display: inline-flex; align-items: center; gap: 3px; }
.tbl .th .sorted svg { width: 9px; height: 9px; stroke-width: 1.8; }
.tbl .tr { height: 24px; font-size: 13px; line-height: 16px; border-radius: 6px; }
.tbl .tr.sel { background: var(--fill-2); }
.tbl .r { text-align: right; font-variant-numeric: tabular-nums; }
.tbl .nm { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tbl .nm img, .tbl .nm .tile { width: 16px; height: 16px; flex: none; }
.tbl .nm .tile svg.g { width: 11px; height: 11px; }
.tbl .tr .btn { height: 20px; padding: 0 8px; font-size: 11px; line-height: 14px; border-radius: 5px; }
.search { height: 30px; border-radius: 15px; background: var(--glass); box-shadow: 0 0 0 .5px var(--glass-edge), 0 1px 4px rgba(0,0,0,.08); display: flex; align-items: center; gap: 6px; padding: 0 12px 0 10px; width: 180px; color: var(--label-2); font-size: 13px; }
.search svg.g { width: 14px; height: 14px; }
.search.on { color: var(--label); }
/* empty / calm states */
.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; color: var(--label-2); }
.empty svg.g { width: 32px; height: 32px; stroke-width: 1.2; margin-bottom: 6px; }
.empty .t15 { color: var(--label); font-weight: 600; }
/* disk bar */
.dbar { position: relative; height: 44px; border-radius: 5px; overflow: hidden; display: flex; box-shadow: inset 0 0 0 1px var(--sep); }
.dbar .used { background: color-mix(in srgb, var(--label) 30%, var(--win)); }
.dbar .free { background: var(--fill-1); flex: none; box-shadow: inset 1px 0 0 var(--win); }
.dbar .free.low { background: repeating-linear-gradient(135deg, var(--label-2) 0 1.4px, transparent 1.4px 4.5px), var(--fill-1); }
.dbar .warn { position: absolute; top: -2px; bottom: -2px; width: 1.5px; background: var(--label); }
.sw.used { background: color-mix(in srgb, var(--label) 30%, var(--win)); }
.sw.dfree { background: var(--fill-1); box-shadow: inset 0 0 0 1px var(--sep); }
.sw.line { width: 2px; height: 11px; border-radius: 0; background: var(--label); }
.prog { height: 4px; border-radius: 2px; background: var(--fill-2); width: 160px; position: relative; overflow: hidden; }
.prog i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--label-2); border-radius: 2px; }
.ph { display: inline-block; height: 8px; border-radius: 4px; background: var(--fill-2); vertical-align: middle; }
.chk { width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--btn-edge); background: var(--btn); flex: none; }
.chk.on { background: var(--switch-on); box-shadow: none; position: relative; }
.chk.on::after { content: ""; position: absolute; left: 4.5px; top: 2px; width: 4px; height: 7px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
/* generic two-line row (window) */
.wrow { display: grid; grid-template-columns: 28px 1fr 96px 96px 104px; column-gap: 12px; align-items: center; min-height: 52px; padding: 8px 0; box-shadow: inset 0 -.5px 0 var(--sep); }
.wrow .amt { text-align: right; }
.wrow .act { display: flex; justify-content: flex-end; }
.wrow .act .btn { min-width: 64px; }
.wrow > span:nth-child(4) { display: flex; align-items: center; }
/* chart */
.chart { position: relative; }
.chart svg { display: block; overflow: visible; }
.axis { font-size: 11px; fill: var(--label-2); font-family: -apple-system, system-ui; font-variant-numeric: tabular-nums; }
/* sheet / confirm */
.dim { position: absolute; inset: 0; }
.sheetdim { position: absolute; inset: 0; background: rgba(0,0,0,.10); }
.dark .sheetdim { background: rgba(0,0,0,.38); }
.sheet-win { position: absolute; left: 50%; top: 60px; width: 440px; margin-left: -220px; border-radius: 16px; background: var(--win); padding: 20px; box-shadow: 0 0 0 .5px rgba(0,0,0,.2), 0 18px 50px rgba(0,0,0,.28); }
.dark .sheet-win { box-shadow: 0 0 0 .5px rgba(0,0,0,.9), inset 0 0 0 .5px rgba(255,255,255,.12), 0 18px 50px rgba(0,0,0,.6); }
.clist { border-radius: 10px; background: var(--fill-1); padding: 10px 12px; margin-top: 12px; }
.clist .h { font-size: 11px; line-height: 14px; font-weight: 600; color: var(--label-2); margin-bottom: 6px; }
.citem { display: grid; grid-template-columns: 22px 1fr auto; column-gap: 10px; align-items: start; padding: 5px 0; }
.citem img, .citem .tile { width: 22px; height: 22px; margin-top: 1px; }
.citem .tile svg.g { width: 13px; height: 13px; }
.cbtns { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.btn.danger { color: #A5342B; }
.dark .btn.danger { color: #F2A294; }
.btn.lg.dis { background: var(--fill-2); color: var(--label-2); box-shadow: none; }
.heatcell { shape-rendering: crispEdges; }
.fadeT { position: absolute; left: 0; right: 0; height: 28px; pointer-events: none; }
.wrow.sess { grid-template-columns: 28px 1fr 96px 132px; }
.scrollbar { position: absolute; right: 4px; width: 6px; border-radius: 3px; background: color-mix(in srgb, var(--label) 28%, transparent); }
/* settings / small windows */
.swin { position: absolute; left: 50%; top: 40px; border-radius: 16px; overflow: hidden; background: var(--win); box-shadow: var(--win-edge), var(--win-shadow); }
.swin .tbar { height: 88px; position: relative; background: var(--side); box-shadow: inset 0 -.5px 0 var(--chrome-edge); display: flex; justify-content: center; align-items: flex-end; gap: 4px; padding-bottom: 8px; }
.swin .tbar .lights { top: 14px; left: 14px; }
.swin .tbar .pane { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 84px; padding: 5px 0 4px; border-radius: 8px; color: var(--label-2); font-size: 11px; line-height: 14px; }
.swin .tbar .pane.on { background: var(--fill-2); color: var(--label); }
.swin .tbar .pane svg.g { width: 20px; height: 20px; stroke-width: 1.3; }
.form { padding: 18px 20px 20px; }
.form .gh { font-size: 11px; line-height: 14px; font-weight: 600; color: var(--label-2); margin: 14px 4px 6px; }
.form .grp { border-radius: 10px; background: var(--fill-1); box-shadow: inset 0 0 0 .5px var(--sep); }
.form .fr { display: flex; align-items: center; gap: 12px; min-height: 38px; padding: 8px 12px; box-shadow: inset 0 -.5px 0 var(--sep); }
.form .fr:last-child { box-shadow: none; }
.form .fr .grow { flex: 1; min-width: 0; }
.field { height: 22px; border-radius: 5px; background: var(--btn); box-shadow: 0 0 0 .5px var(--btn-edge), inset 0 .5px 1px rgba(0,0,0,.06); display: inline-flex; align-items: center; padding: 0 7px; font-size: 13px; color: var(--label); font-variant-numeric: tabular-nums; }
.field.ph { color: var(--label-2); }
.btn.dis { color: var(--label-2); box-shadow: 0 0 0 .5px var(--btn-edge); }
.dots { display: flex; gap: 6px; align-items: center; } .dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--fill-2); } .dots i.on { width: 18px; background: var(--label-2); }
.notif { width: 356px; border-radius: 18px; padding: 12px 14px; display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; background: var(--glass); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); box-shadow: 0 0 0 .5px var(--glass-edge), 0 8px 28px rgba(0,0,0,.16); }
.appicon { width: 34px; height: 34px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.12); display: flex; align-items: center; justify-content: center; }
.appicon img { width: 22px; height: 22px; }
.dark .appicon { background: #2C2C2E; } .dark .appicon img { filter: invert(1); }
.lights i.off { background: #D9D9DB !important; } .dark .lights i.off { background: #4A4A4E !important; }

/* disk: room left before the Mac slows (the decision), then the whole disk (the context) */
.light, body.light { --danger: #C0352B; --danger-tint: rgba(192,53,43,.10); }
.dark { --danger: #FF7A6E; --danger-tint: rgba(255,122,110,.14); }
.dng { color: var(--danger); }
.gauge { position: relative; height: 40px; margin-top: 8px; border-radius: 5px; background: var(--fill-1); box-shadow: inset 0 0 0 1px var(--sep); overflow: hidden; }
.gauge .zone { position: absolute; left: 0; top: 0; bottom: 0; background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--danger) 45%, transparent) 0 1.2px, transparent 1.2px 5px), var(--danger-tint); }
.gauge .fill { position: absolute; left: 0; top: 0; bottom: 0; background: color-mix(in srgb, var(--label) 62%, var(--win)); }
.gauge .fill.dng { background: var(--danger); }
.gauge .gain { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(135deg, var(--amber) 0 1.6px, transparent 1.6px 5px), color-mix(in srgb, var(--amber) 18%, var(--win)); box-shadow: inset 1px 0 0 var(--win); }
.gauge .gline { position: absolute; top: 0; bottom: 0; width: 1.5px; margin-left: -.75px; background: var(--label); box-shadow: 0 0 0 1px var(--win); }
.gauge .gval { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.gscale { position: relative; height: 16px; margin-top: 4px; } .gscale span { position: absolute; top: 0; white-space: nowrap; }
.whole { margin-top: 14px; } .wbar { height: 8px; margin-top: 6px; border-radius: 4px; background: var(--fill-1); box-shadow: inset 0 0 0 1px var(--sep); overflow: hidden; } .wbar i { display: block; height: 100%; background: color-mix(in srgb, var(--label) 30%, var(--win)); }

/* landing copies: nothing in a mockup can be selected, dragged out or copied */
html,body,*{-webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none}
img,svg{-webkit-user-drag:none;user-drag:none}
