/* gs-craft.css — the desk's craft sheet (Window GSP-28A · docs/BLUEPRINT-GSP28-TACTILE-UX-OVERHAUL.md · AG-GS8 Pillars 1 · 2 · 4). lockout.css
 * @imports it after gs-themes.css: render-blocking on desk.html (the full desk and the Sidekick handset), in the cascade place the GSP-20C – GSP-27A
 * rules had at lockout.css's end (moved here byte for byte). Every keyframe and animation sits ABOVE the GSP-26A block (gsp26a's house rule). */
/* ── GSP-28A · ONE ease at 140 – 150 ms; the 36 px optical keycap painted inside a 44 px box (40 px on touch); .acc-wrap opens by height ── */
html[data-look] body.desk { --gs-ease: cubic-bezier(0.22, 1, 0.36, 1); --cap-bw: 4px; --cap-rad: 13px; }
@media (pointer: coarse) { html[data-look] body.desk { --cap-bw: 2px; } }
html[data-look] body.desk .gs-sheet { transition: transform 150ms var(--gs-ease), opacity 150ms ease; } /* desk-ux.css (locked by 24 suites) springs a sheet in 420 ms */
html[data-look] body.desk :is(.gs-cap, .sg-strip .gs-key--quiet) { min-width: 44px; min-height: 44px; border: var(--cap-bw) solid transparent; border-radius: var(--cap-rad); background-clip: padding-box; transition: transform 140ms var(--gs-ease), background-color 140ms var(--gs-ease), box-shadow 140ms var(--gs-ease); }
html[data-look] body.desk .sg-strip .gs-key--quiet.gs-key--quiet, html[data-look] body.desk .sg-strip .gs-key--quiet.gs-key--quiet:is(:hover, :active) { box-shadow: inset 0 0 0 1px var(--gs-keycap-border, var(--gs-edge)), inset 0 1px 0 1px rgb(255 255 255 / .06), inset 0 -2px 0 var(--gs-keycap-lip, rgb(0 0 0 / .2)); } /* every lip inset: an outer shadow would float 4 px off the paint (out-weighs gs-themes.css:122, linked later) */
html[data-look] body.desk :is(.gs-cap, .sg-strip .gs-key--quiet):hover:not(:disabled) { transform: translateY(-1px); } html[data-look] body.desk :is(.gs-cap, .sg-strip .gs-key--quiet):active:not(:disabled) { transform: translateY(0.5px) scale(0.988); }
html[data-look] body.desk .acc-wrap { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows 150ms var(--gs-ease), opacity 140ms ease, visibility 0s linear 150ms; }
html[data-look] body.desk .acc-wrap[data-open="true"] { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition: grid-template-rows 150ms var(--gs-ease), opacity 140ms ease, visibility 0s; }
html[data-look] body.desk .acc-inner { min-height: 0; overflow: hidden; }
@keyframes gs28-swap { from { opacity: 0; transform: translateY(3px); } }
html[data-look] .ptt-stage > :is(.ptt-oled, .ptt-settings):not([hidden]) { animation: gs28-swap 150ms cubic-bezier(0.22, 1, 0.36, 1) both; } /* the radio's in-place swap (desk-ptt.js data-view) */
@media (prefers-reduced-motion: reduce) { html[data-look] body.desk :is(.gs-sheet, .gs-cap, .sg-strip .gs-key--quiet, .acc-wrap, .acc-wrap[data-open="true"]) { transition: none; } html[data-look] body.desk :is(.gs-cap, .sg-strip .gs-key--quiet):is(:hover, :active) { transform: none; } html[data-look] .ptt-stage > * { animation: none; } }

/* GSP-20C · two floors on BOTH shells: (1) a guest request's time chip reads at 11:1 or better on its own dark fill, a 6 px squircle; (2) GSP-20B's owed key —
 * the check-in card's waiting key is painted 44 px tall (desk-foot.css drew 34 px over a 44 px touch area), 55 px at the handset's 80 %, by an id's weight. */
body.desk .gd-chip { border-radius: 6px; padding: 2px 8px; }
body.desk .gd-sla[data-sla="late"] { background: #34111b; border-color: #d6455d; color: #fecdd3; }
body.desk .gd-sla[data-sla="due"] { background: #2b2009; border-color: #d99316; color: #fde68a; }
body.desk .gd-sla[data-sla="ok"] { background: #0f2e1f; border-color: #2da662; color: #bbf7d0; }
body.desk .df-form #bind-submit.df-go[data-wait="room"] { min-height: 44px; }
html[data-hs-zoom="80"] body.desk .df-form #bind-submit.df-go[data-wait="room"] { min-height: 55px; }

/* GSP-25A · still tabs and drawers that open softly: (1) the full desk keeps its scrollbar's lane, short tab or tall, sheet open or not (0 px sideways; the
 * handset keeps its width); (2) a picked tab's panel and an inline drawer (.gs-drawer-in) enter in 145 ms. Under prefers-reduced-motion neither moves. */
html:has(> body.desk:not(.handset)) { scrollbar-gutter: stable; }
body.desk:not(.handset) .gs-sheet { scrollbar-gutter: stable; }
@keyframes gs25-enter-a { from { opacity: 0; transform: translateY(4px); } }
@keyframes gs25-enter-b { from { opacity: 0; transform: translateY(4px); } }
@keyframes gs25-drawer { from { opacity: 0; transform: translateY(-4px); } }
body.desk #pane[data-enter="a"] { animation: gs25-enter-a 145ms cubic-bezier(0.22, 1, 0.36, 1) backwards; }
body.desk #pane[data-enter="b"] { animation: gs25-enter-b 145ms cubic-bezier(0.22, 1, 0.36, 1) backwards; }
body.desk .gs-drawer-in:not([hidden]) { animation: gs25-drawer 145ms cubic-bezier(0.22, 1, 0.36, 1) backwards; }
@media (prefers-reduced-motion: reduce) { body.desk #pane[data-enter], body.desk .gs-drawer-in { animation: none; } }

/* ── GSP-26A · AG-GS6 Pillar 1 — the zero-jerk 9-tab command rail and the shift strip (docs/BLUEPRINT-GSP26-FULL-DESK-UNIFICATION.md §0.1): a recessed
 *    well of Tier 2 cluster cards; each tab an equal cell whose 1.5 px edge is always drawn, so a pick paints a keycap and moves no box (the pick keeps its
 *    weight in all ten desk languages); a role with fewer tabs gets fewer, wider columns. Over 780 px; a narrower desk keeps the kit's stacked rows. ── */
html[data-look] body.desk .gs-desk__tabs { background: var(--gs-s1); box-shadow: inset 0 0 0 1.5px var(--gs-well-border), var(--gs-well-shadow); }
html[data-look] body.desk .gs-desk__tabs > .gs-cluster, html[data-look="light"] body.desk .gs-desk__tabs > .gs-cluster[data-active] { background: var(--gs-card); box-shadow: 0 0 0 1px var(--gs-card-border), var(--gs-card-shadow); }
html[data-look] body.desk .gs-desk__tabs > .gs-cluster[data-active] { box-shadow: inset 0 2px 0 var(--gs-hue), 0 0 0 1px color-mix(in srgb, var(--gs-hue) 55%, var(--gs-card-border)), var(--gs-card-shadow); }
html[data-look] body.desk .gs-desk__tabs .gs-tab { border: 1.5px solid transparent; }
html[data-look] body.desk .gs-desk__tabs .gs-tab::before { display: none; }
html[data-look] body.desk .gs-desk__tabs .gs-tab:hover:not([aria-selected="true"]) { background: color-mix(in srgb, var(--gs-hue) 6%, var(--gs-card)); }
html[data-look] body.desk .gs-desk__tabs .gs-tab[aria-selected="true"] { background: var(--gs-keycap); border-color: var(--gs-keycap-border); color: var(--gs-ink); font-weight: 600; box-shadow: 0 2px 0 var(--gs-keycap-lip); }
@media (min-width: 781px) {
  html[data-look] body.desk .gs-desk__tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; padding: 8px; border-radius: 16px; }
  html[data-look] body.desk .gs-desk__tabs > .gs-cluster { display: grid; grid-template-rows: 20px auto; gap: 6px; min-width: 0; padding: 8px 8px 10px; border-radius: 12px; }
  html[data-look] body.desk .gs-desk__tabs .gs-cluster__cap { min-height: 20px; padding: 0 4px; }
  html[data-look] body.desk .gs-desk__tabs .gs-cluster__tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; }
  html[data-look] body.desk .gs-desk__tabs .gs-tab { flex-direction: column; justify-content: center; gap: 3px; width: 100%; min-width: 0; min-height: 54px; padding: 3px 4px 4px; border-radius: 10px; font-size: 13px; line-height: 16px; text-align: center; white-space: normal; }
  html[data-look] body.desk .gs-desk__tabs .gs-tab:not(#_) { min-height: 54px; } /* a K3 find: desk-ux.css:31's 44 px floor on every desk button weighs (0,6,2) and held the tabs at 52 px */
  html[data-look] body.desk .gs-desk__tabs .gs-tab::after { display: none; }
  html[data-look] body.desk .gs-desk__tabs .gs-tab__well { width: 24px; height: 24px; border-radius: 7px; }
  html[data-look] body.desk .gs-desk__tabs .gs-tab__well :is(.gs-ico, .ico) { width: 16px; height: 16px; }
  html[data-look] body.desk .gs-desk__tabs .gs-tab__word { max-width: 100%; overflow-wrap: anywhere; text-wrap: balance; }
  html[data-look] body.desk .gs-desk__tabs .gs-tab[aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--gs-hue), 0 2px 0 var(--gs-keycap-lip); }
}
/* Dark's older --card (gs.css) was a charcoal off the ladder: every legacy .card · the schedule's sticky column · a lens tile takes Tier 2, as Daylight's --card already does */
html[data-look="dark"] body.desk { --card: var(--gs-card); }
/* the shift strip: a Tier 2 card; Who's on? a recessed well (the select inside keeps its own box) */
html[data-look] body.desk .sg-strip { background: var(--gs-card); box-shadow: 0 0 0 1px var(--gs-card-border), var(--gs-card-shadow); }
html[data-look] body.desk .sg-strip .sg-clerk { border-color: transparent; background: var(--gs-input); box-shadow: inset 0 0 0 1.5px var(--gs-well-border), var(--gs-well-shadow); }
html[data-look] body.desk .sg-strip .sg-clerk__mark { background: transparent; }
/* ── GSP-26A · a key that cannot act yet reads as a quiet well in both looks — never the filled primary (rule 125's Harbor Teal outranked
 *    lockout.css's disabled Verify; Schedule's Publish this week faded the teal to 55 %: neither said "not yet"). ink-2 on s1 >= 7 : 1.
 *    gs-core.js also links gs-themes.css AFTER this sheet, so a tie with rule 125 (0,4,2) loses: the rule names [data-palette] (0,5,2). ── */
html[data-look][data-palette] body.desk :is(.gs-key--primary, .btn-primary):is(:disabled, [aria-disabled="true"]) { background: var(--gs-s1); color: var(--gs-ink-2); box-shadow: inset 0 0 0 1.5px var(--gs-well-border); opacity: 1; transform: none; cursor: not-allowed; }
/* ── GSP-26A · AG-GS6 Pillar 2 — the operational workbenches on the 4-tier ladder ── */
/* Today · Lot Patrol · Lockout ID: Tier 2 cards (a tile's tone edge stays its own); the lens switch a recessed track, the picked lens a raised keycap */
html[data-look] body.desk :is(.lens-tile, .ux-card, .lens-row, .lens-ref, .lens-pins, .patrol-lf-card, .lk-entry) { background: var(--gs-card); box-shadow: 0 0 0 1px var(--gs-card-border), var(--gs-card-shadow); }
html[data-look] body.desk .lk-code { background: var(--gs-input); box-shadow: inset 0 0 0 1.5px var(--gs-well-border), var(--gs-well-shadow); }
html[data-look] body.desk .lens-switch { gap: 4px; padding: 3px; border: 0; border-radius: 12px; background: var(--gs-s1); box-shadow: inset 0 0 0 1.5px var(--gs-well-border), var(--gs-well-shadow); }
html[data-look] body.desk .lens-pick { border: 1.5px solid transparent; border-radius: 9px; color: var(--gs-ink-2); }
html[data-look] body.desk .lens-pick[aria-checked="true"] { border-color: var(--gs-keycap-border); background: var(--gs-keycap); color: var(--gs-ink); box-shadow: inset 0 -3px 0 var(--gs-accent), 0 2px 0 var(--gs-keycap-lip); }
/* Night Audit: the day in a compact recessed well, Print and Download CSV as ONE pair beside it, the totals as recessed tabular wells */
@media (min-width: 641px) {
  html[data-look] body.desk .na-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 16px; }
  html[data-look] body.desk .na-head > .row-title { grid-column: 1 / -1; }
  html[data-look] body.desk .na-head > .field { max-width: 280px; }
  html[data-look] body.desk .na-head > .btn-row { flex-wrap: nowrap; justify-content: flex-end; }
  html[data-look] body.desk .na-head > .btn-row > .btn { flex: 0 0 auto; min-width: 128px; padding: 0 20px; }
}
html[data-look] body.desk .report-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
html[data-look] body.desk .report-grid .kpi { padding: 12px 14px; border: 0; border-radius: 12px; background: var(--gs-input); box-shadow: inset 0 0 0 1.5px var(--gs-well-border), var(--gs-well-shadow); text-align: left; font-variant-numeric: tabular-nums; }
html[data-look] body.desk .report-grid .kpi b { font-size: 26px; line-height: 32px; font-weight: 800; color: var(--gs-ink); }
html[data-look] body.desk .report-grid .kpi span { display: block; color: var(--gs-ink-2); font-size: 13px; line-height: 18px; }
/* the Living Property Map's Housekeeping board: a Tier 2 card in the accent's edge; counts as small wells; each attendant a raised keycap
 *    (the attendant's own hue stays on the badge and on the picked key's ring); the floor filter a recessed track, Fit a keycap.
 *    Each rule names body: map-stage.css is linked after this sheet at the same weight. */
html[data-look] body #gmap-staff .hk-bar { padding: 12px 14px; border: 1.5px solid var(--gs-accent); border-radius: 14px; background: var(--gs-card); color: var(--gs-ink); box-shadow: var(--gs-card-shadow); }
html[data-look] body #gmap-staff .hk-bar .hk-count { padding: 3px 10px; border-radius: 8px; background: var(--gs-input); color: var(--gs-ink); box-shadow: inset 0 0 0 1.5px var(--gs-well-border); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
html[data-look] body #gmap-staff .hk-bar .hk-count[data-zero="true"] { color: var(--gs-ink-2); }
html[data-look] body #gmap-staff .hk-bar .hk-att { border: 1.5px solid var(--gs-keycap-border); border-radius: 10px; background: var(--gs-keycap); color: var(--gs-ink); box-shadow: var(--gs-keycap-shadow); }
html[data-look] body #gmap-staff .hk-bar .hk-att[aria-checked="true"] { border-color: var(--gs-accent); background: color-mix(in srgb, var(--hk-accent, var(--gs-accent)) 16%, var(--gs-keycap)); color: var(--gs-ink); box-shadow: inset 0 -3px 0 var(--gs-accent), 0 2px 0 var(--gs-keycap-lip); } /* the pick's edge is the accent (>= 3 : 1); an attendant's pastel hue stays as the tint */
html[data-look] body #gmap-staff .hk-bar .hk-att__rooms { opacity: 1; color: var(--gs-ink-2); }
html[data-look] body #gmap-staff .hk-bar :is(.hk-tools__cap, .hk-wait, .fine, p) { color: var(--gs-ink-2); }
html[data-look] body #gmap-staff .gms-floors { background: var(--gs-s1); box-shadow: inset 0 0 0 1.5px var(--gs-well-border), var(--gs-well-shadow); }
html[data-look] body #gmap-staff .gms-key.gms-fit:not([aria-pressed="true"]) { background: var(--gs-keycap); color: var(--gs-ink); box-shadow: inset 0 0 0 1.5px var(--gs-keycap-border), var(--gs-keycap-shadow); }
/* ── GSP-26A · AG-GS6 Pillar 3 — the management workbenches (§0.2 Commit 2) ── */
/* ONE switch language: the Schedule's views and the Policies tabs are recessed tracks; the picked view a raised keycap with the accent underline (as the lens switch) */
html[data-look] body.desk #pane > .seg[role="tablist"], html[data-look] body.desk .pol-tabs { gap: 4px; padding: 3px; border: 0; border-radius: 12px; overflow: visible; background: var(--gs-s1); box-shadow: inset 0 0 0 1.5px var(--gs-well-border), var(--gs-well-shadow); }
html[data-look] body.desk #pane > .seg[role="tablist"] > button, html[data-look] body.desk .pol-tab { border: 1.5px solid transparent; border-radius: 9px; background: transparent; color: var(--gs-ink-2); box-shadow: none; }
html[data-look] body.desk #pane > .seg[role="tablist"] > button[aria-pressed="true"], html[data-look] body.desk .pol-tab[aria-selected="true"] { border-color: var(--gs-keycap-border); background: var(--gs-keycap); color: var(--gs-ink); font-weight: 700; box-shadow: inset 0 -3px 0 var(--gs-accent), 0 2px 0 var(--gs-keycap-lip); }
/* Schedule · Import: desk-sched-import.css pins #sg-import { --imp-well: #0c1114 } at an ID's weight, so every import well was the night slab in Daylight —
 *    the look's own well, a dashed recessed dropwell, and the "check" amber as the look's warning pair */
html[data-look] body.desk #sg-import { --imp-well: var(--gs-input); --imp-edge: var(--gs-well-border); }
html[data-look="light"] body.desk #sg-import { --imp-amber: var(--gs-warn-bd); }
html[data-look] body.desk #sg-import .imp-zone { border: 2px dashed var(--gs-well-border); border-radius: 12px; background: var(--gs-input); box-shadow: var(--gs-well-shadow); }
html[data-look] body.desk #sg-import .imp-zone[data-ready="true"] { border-color: var(--gs-accent); }
html[data-look] body.desk #sg-import .imp-zone[data-over="true"] { border-style: solid; border-color: var(--gs-accent); background: var(--gs-tint); }
html[data-look="light"] body.desk #sg-import .imp-chip[data-status="check"] { background: var(--gs-warn-bg); color: var(--gs-warn-ink); }
html[data-look="light"] body.desk #sg-import .imp-cell__check { background: var(--gs-warn-bg); color: var(--gs-warn-ink); box-shadow: inset 0 0 0 1px var(--gs-warn-bd); }
/* Schedule · Week: A · B · C chips Daylight-safe (each >= 6.7 : 1, the edge an inset so no chip grows), check flags and the demand row at 12 px */
html[data-look="light"] body.desk .sg-week .sg-cell { background: #d1fae5; color: #065f46; box-shadow: inset 0 0 0 1px #059669; }
html[data-look="light"] body.desk .sg-week .sg-cell[data-abc="B"] { background: #fef3c7; color: #78350f; box-shadow: inset 0 0 0 1px #b45309; }
html[data-look="light"] body.desk .sg-week .sg-cell:is([data-abc="C"], [data-night="true"]) { background: #ebeafe; color: #3730a3; box-shadow: inset 0 0 0 1px #4f46e5; }
html[data-look] body.desk .sg-week .sg-flag { font-size: 12px; font-weight: 800; } html[data-look="light"] body.desk .sg-week .sg-flag { color: #9a3412; } html[data-look="light"] body.desk .sg-week .sg-off { color: var(--gs-ink-3); }
html[data-look] body.desk .sg-week .sg-demand td { font-size: 12px; font-variant-numeric: tabular-nums; }
/* Policies · Brand Forge: the swatches and segment keys are raised 44 px keycaps (forge.css drew 40 px); the picked one the accent's tint; the hue slider's lane 44 px */
html[data-look] body.desk :is(.forge-swatch, .forge-seg button) { min-height: 44px; border: 1.5px solid var(--gs-keycap-border); background: var(--gs-keycap); color: var(--gs-ink); box-shadow: var(--gs-keycap-shadow); }
html[data-look] body.desk :is(.forge-swatch, .forge-seg button)[aria-pressed="true"] { border-color: var(--gs-accent); background: var(--gs-tint); color: var(--gs-ink); box-shadow: inset 0 -3px 0 var(--gs-accent), 0 2px 0 var(--gs-keycap-lip); }
html[data-look] body.desk .forge-seg button:disabled { opacity: 1; border-style: dashed; background: var(--gs-s1); color: var(--gs-ink-2); box-shadow: none; }
html[data-look] body.desk .forge-range input[type="range"] { min-height: 44px; }
html[data-look] body.desk :is(.forge-kicker, .forge-fine, .forge-pair-chip) { font-size: 12px; } /* forge.css drew 11 – 11.5 px */
html[data-look="dark"] body.desk .forge-partner-chip { background: #451a03; color: #fde68a; box-shadow: inset 0 0 0 1px #d97706; } /* white on the gold was 3.64 : 1 */
html[data-look="dark"] body.desk .sg-week .sg-off { color: var(--gs-ink-3); } /* sg.css's #5f6f78 was 3.68 : 1 on Tier 2 */
/* Owner: a person's row and a device's row are Tier 2 tiles inside their card */
html[data-look] body.desk .tm-list { gap: 8px; }
html[data-look] body.desk :is(.tm-row, .vg-setup .device-row) { padding: 10px 12px; border: 1px solid var(--gs-card-border); border-radius: 12px; background: var(--gs-card); box-shadow: var(--gs-card-shadow); }
html[data-look] body.desk .vg-setup .device-row + .device-row { margin-top: 8px; }
/* ── GSP-26A · AG-GS6 Pillar 3B — the Logbook's Glyph Slip Slate (vault.css keeps GSP-25A's four tiers and names no theme; these take AG-GS6's values per look) ──
 *    the warm blotter well in its #9b9283 edge (Dark #0b111b in #283a54), ONE #1e293b shift bar in both looks (white 14.63 : 1) in a #334155 ring, the drawer wells
 *    recessed #0f172a inside the bar (labels #cbd5e1 12.02 : 1, amounts #6ee7b7 11.71 : 1, not counted #fde68a 14.33 : 1), Dark's note cards on Tier 2 */
html[data-look="light"] body.desk .vault[data-skin="slate"] :is(#log-feed, #slip-vault-feed) { background: #e4e0d8; box-shadow: inset 0 2px 6px rgb(15 23 42 / .14), inset 0 0 0 1.5px #9b9283; }
html[data-look="dark"] body.desk .vault[data-skin="slate"] :is(#log-feed, #slip-vault-feed) { background: #0b111b; box-shadow: inset 0 2px 6px rgb(0 0 0 / .55), inset 0 0 0 1.5px #283a54; }
html[data-look] body.desk .vault[data-skin="slate"] :is(#log-feed, #slip-vault-feed) .vault-head { background: #1e293b; box-shadow: inset 0 0 0 1.5px #334155, 0 4px 12px -4px rgb(15 23 42 / .45); }
html[data-look] body.desk .vault[data-skin="slate"] :is(#log-feed, #slip-vault-feed) .vault-head[data-live="true"] { box-shadow: 0 0 0 2px #2ecc71, inset 0 0 0 1.5px #334155, 0 4px 12px -4px rgb(15 23 42 / .45); }
html[data-look] body.desk .vault[data-skin="slate"] :is(#log-feed, #slip-vault-feed) .vault-head .vault-now { color: #6ee7b7; }
html[data-look] body.desk .vault[data-skin="slate"] :is(#log-feed, #slip-vault-feed) .vault-head .vault-shift b { color: var(--accent-ink); } /* vault.css drew the shift letter white on the accent: 1.86 : 1 on Dark's #2dd4bf */
html[data-look] body.desk .vault[data-skin="slate"] :is(#log-feed, #slip-vault-feed) .vault-cell { background: #0f172a; box-shadow: inset 0 2px 4px rgb(0 0 0 / .5), inset 0 0 0 1px #334155; }
html[data-look] body.desk .vault[data-skin="slate"] :is(#log-feed, #slip-vault-feed) .vault-cell[data-counted="false"] { box-shadow: inset 0 2px 4px rgb(0 0 0 / .5), inset 0 0 0 1px #d9a640; }
html[data-look] body.desk .vault[data-skin="slate"] :is(#log-feed, #slip-vault-feed) :is(.vault-cell__k, .vault-cell__at) { color: #cbd5e1; }
html[data-look] body.desk .vault[data-skin="slate"] :is(#log-feed, #slip-vault-feed) .vault-cell__v { color: #6ee7b7; } html[data-look] body.desk .vault[data-skin="slate"] :is(#log-feed, #slip-vault-feed) .vault-cell__none { color: #fde68a; }
html[data-look="dark"] body.desk .vault[data-skin="slate"] :is(#log-feed, #slip-vault-feed) .sg-line.vault-line.slip[data-line]:not([data-lead="true"]) { background: var(--gs-card); }
/* Full screen (a wide sheet): the composer column beside the feed — the notes sit above the fold next to it; the Lead Vault's bar, the count and the filter head the feed */
@media (min-width: 1180px) {
  html[data-look] body.desk .vault[data-full="true"] .vault-main { max-width: none; grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); align-items: start; column-gap: 20px; }
  html[data-look] body.desk .vault[data-full="true"] .vault-main > .sg-compose { grid-column: 1; grid-row: 1 / span 4; position: sticky; top: 0; }
  html[data-look] body.desk .vault[data-full="true"] .vault-main > :is(.vault-lock, #vault-count, .vault-filter, .sg-feed) { grid-column: 2; }
}

/* ── GSP-27A · ENVOY's thread: the newest line clears the Ask | Change a policy bar and the composer (bay-follow.js pins the end; envoy.css keeps its bytes) ── */
html[data-look] .bay-thread { align-content: start; padding-bottom: 12px; scroll-padding-bottom: 12px; overscroll-behavior: contain; }
html[data-look] .sheet-right .bay-thread { min-height: 0; }
html[data-look] .bay-inline .bay-msg:last-child { scroll-margin-bottom: 132px; } /* the handset's page scrolls: the line stops above the sticky composer */
/* ── GSP-27A · the radio key: no rest-state dots (its level shows only on air or receiving), a bolder walkie, HOLD TO TALK · SPACE (gs-ops-plus.css keeps its bytes) ── */
html[data-look] .gs-ptt-pill:not([data-act="tx"]):not([data-act="rx"]) .ptt-pulse { display: none; }
html[data-look] .gs-ptt-pill__cap > .ptt-ico { width: 26px; height: 26px; stroke-width: 2.25; }
@media (max-width: 519px) { html[data-look] .gs-ptt-pill__cap > .ptt-ico { width: 24px; height: 24px; } }
@media (min-width: 720px) { html[data-look] .ptt-pad__word::after { content: "\00a0\00b7"; } }
/* the PMS Sidekick's frame has no microphone (D-2): ONE line to the full desk instead of the talk slab */
html[data-look] .ptt-hud[data-framed="1"] .ptt-pad { display: none; }
html[data-look] .ptt-framed { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; min-height: 44px; font-size: 14px; line-height: 20px; font-weight: 600; color: inherit; }
html[data-look] .ptt-framed .ptt-chip { min-height: 44px; padding: 0 12px; }

/* ── GSP-28A · the 9-tab rail: 22 px marks in 2 px strokes on a clear well, every tab a visible resting slot that brightens on hover; the pick keeps
 *    GSP-26A's keycap and weight, so no box moves (0.0 px in Daylight, Dark and every desk language) ── */
html[data-look] body.desk .gs-desk__tabs .gs-tab__well, html[data-look] body.desk .gs-desk__tabs .gs-tab[aria-selected="true"] .gs-tab__well { width: 22px; height: 22px; border-radius: 0; background: none; box-shadow: none; color: var(--gs-hue); }
html[data-look] body.desk .gs-desk__tabs .gs-tab__well :is(.gs-ico, .ico) { width: 22px; height: 22px; stroke-width: 2; --gs-hue: inherit; }
html[data-look] body.desk .gs-desk__tabs .gs-tab:not([aria-selected="true"]) { border-color: color-mix(in srgb, var(--gs-well-border) 55%, transparent); background: var(--gs-s1); }
html[data-look] body.desk .gs-desk__tabs .gs-tab:hover:not([aria-selected="true"]) { border-color: var(--gs-well-border); background: color-mix(in srgb, var(--gs-hue) 7%, var(--gs-s1)); }
@media (min-width: 781px) { html[data-look] body.desk .gs-desk__tabs .gs-tab.gs-tab { gap: 4px; } }
@media (max-width: 640px) { html[data-look] body.desk .gs-desk__tabs .gs-cluster__tabs { gap: 3px; } } /* the kit's stacked rows: each resting slot its own edge */
/* ── GSP-28A · Link tablet / phone docks in the shift strip beside the radio (desk-tether.js), so no 52 px row sits above the rail; under 1,100 px its mark alone ── */
html[data-look] body.desk .sg-strip .tether-pill { flex: none; margin-left: 0; padding: 0 12px; }
@media (max-width: 1100px) {
  html[data-look] body.desk .sg-strip .tether-pill { position: relative; width: 44px; padding: 0; }
  html[data-look] body.desk .sg-strip .tether-pill .tether-pill__word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  html[data-look] body.desk .sg-strip .tether-pill .tether-pill__dot { position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; }
}
html[data-look] body.desk .df-form .df-cols { padding-bottom: 16px; } /* the last field (Rate code) clears the sticky check-in bar */
/* ── GSP-28A · the radio reads the look and the palette: Daylight a warm stone LCD in dark ink, Dark a palette-tinted obsidian OLED; the accent rides the
 *    popover's top rail, the screen's bezel, the channel tag, the LED, the picked channel and the receive bars (each word >= 4.5 : 1, K3 measures it) ── */
html[data-look] .ptt-hud { box-shadow: 0 0 0 1px var(--gs-keycap-border, var(--gs-edge)), inset 0 3px 0 var(--gs-accent), 0 4px 0 var(--gs-keycap-lip, rgb(0 0 0 / .25)), 0 18px 40px -10px rgb(0 0 0 / .45); }
html[data-look="light"] .ptt-hud { --gs-oled-bg: color-mix(in srgb, var(--gs-accent) 7%, #e6e0d4); --gs-oled-ink: #161f29; --gs-oled-muted: #3d4c5c; --gs-oled-rx: var(--gs-accent); --gs-oled-rx-lo: color-mix(in srgb, var(--gs-accent) 70%, #161f29); --gs-oled-rx-hi: color-mix(in srgb, var(--gs-accent) 50%, #ffffff); --gs-oled-glass: rgb(22 31 41 / .07); --gs-oled-edge: rgb(22 31 41 / .22); --gs-oled-tx: #9a2a00; --gs-oled-warn: #78350f; }
html[data-look="dark"] .ptt-hud { --gs-oled-bg: color-mix(in srgb, var(--gs-accent) 8%, #0a0f15); --gs-oled-ink: #e8edf4; --gs-oled-muted: #b3c0d1; --gs-oled-rx: var(--gs-accent); --gs-oled-rx-lo: color-mix(in srgb, var(--gs-accent) 60%, #000000); --gs-oled-rx-hi: color-mix(in srgb, var(--gs-accent) 50%, #ffffff); --gs-oled-glass: rgb(255 255 255 / .08); --gs-oled-edge: rgb(255 255 255 / .2); --gs-oled-tx: rgb(255 79 23); --gs-oled-warn: #fde68a; }
html[data-look] .ptt-oled { box-shadow: inset 0 2px 6px rgb(22 31 41 / .22), inset 0 0 0 1.5px color-mix(in srgb, var(--gs-accent) 55%, var(--gs-oled-edge)); }
html[data-look="dark"] .ptt-oled { box-shadow: inset 0 2px 6px rgb(0 0 0 / .6), inset 0 0 0 1.5px color-mix(in srgb, var(--gs-accent) 45%, transparent); }
html[data-look] .ptt-oled__freq > span:first-child { color: color-mix(in srgb, var(--gs-accent) 85%, var(--gs-oled-ink)); }
html[data-look] .ptt-led { background: color-mix(in srgb, var(--gs-accent) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gs-accent) 50%, transparent); color: var(--gs-oled-ink); }
html[data-look] .ptt-oled[data-act="tx"] .ptt-led { color: var(--gs-oled-tx); background: color-mix(in srgb, var(--gs-oled-tx) 14%, transparent); box-shadow: inset 0 0 0 1px var(--gs-oled-tx); }
html[data-look] .ptt-viz { background: var(--gs-oled-glass); box-shadow: inset 0 0 0 1px var(--gs-oled-edge); }
html[data-look] .ptt-viz:not([data-act="tx"]):not([data-act="rx"]) i { background: color-mix(in srgb, var(--gs-oled-muted) 45%, transparent); }
html[data-look] :is(.ptt-oled__foot .ptt-chip, .ptt-hist__key) { background: var(--gs-oled-glass); box-shadow: inset 0 0 0 1px var(--gs-oled-edge); }
html[data-look] .ptt-oled__foot .ptt-chip:hover:not(:disabled) { background: color-mix(in srgb, var(--gs-accent) 16%, var(--gs-oled-glass)); }
html[data-look] .ptt-hist__row { background: var(--gs-oled-glass); } html[data-look="light"] .ptt-hist__list { box-shadow: inset 0 2px 6px rgb(22 31 41 / .2), inset 0 0 0 1px var(--gs-oled-edge); }
html[data-look] .ptt-chan[aria-checked="true"] .ptt-chan__cap { box-shadow: inset 0 -2.5px 0 var(--gs-accent), 0 1.5px 0 var(--gs-keycap-lip, rgb(0 0 0 / .25)); }
/* the R badge on a desk's radio key (desk-ptt.js), beside its word */
html[data-look] .ptt-key__kbd { display: none; }
@media (min-width: 720px) { html[data-look] .ptt-key__kbd { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 5px; background: rgb(0 0 0 / .22); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .5); font: 700 12px/1 var(--gs-num, ui-monospace, monospace); } }
/* ── GSP-28A · the radio and its settings swap IN PLACE: ONE fixed-height stage (desk-ptt.js data-view) — the pad never moves; Back to Radio heads the settings ── */
html[data-look] .ptt-stage { display: grid; grid-template-rows: minmax(0, 1fr); min-height: 296px; min-width: 0; } /* both panels share ONE cell: the stage is the taller one's height */
html[data-look] .ptt-stage > :is(.ptt-oled, .ptt-settings) { grid-area: 1 / 1; min-width: 0; }
html[data-look] .ptt-stage > :is(.ptt-oled, .ptt-settings)[hidden] { display: grid; visibility: hidden; } /* hidden keeps its box: a swap moves nothing */
html[data-look] .ptt-stage > .ptt-oled { grid-template-rows: auto auto minmax(64px, 1fr) auto auto; }
html[data-look] .ptt-stage .ptt-oled__body { align-content: center; } html[data-look] .ptt-stage > .ptt-settings { align-content: start; }
html[data-look] .ptt-set-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
html[data-look] .ptt-set-head__t { margin: 0; color: var(--gs-ink); font-size: 14px; font-weight: 800; line-height: 20px; }
html[data-look] .ptt-back { display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; background-color: var(--gs-keycap, var(--gs-s3)); color: var(--gs-ink); box-shadow: inset 0 0 0 1px var(--gs-keycap-border, var(--gs-edge)), inset 0 -2px 0 var(--gs-keycap-lip, rgb(0 0 0 / .2)); font: 700 14px/1 var(--gs-font, system-ui, sans-serif); cursor: pointer; }
/* the PMS Sidekick's frame: GSP-27A's one line sits INSIDE the screen as a glass notice; the full-desk link a glass pill in the accent */
html[data-look] .ptt-oled > .ptt-framed { justify-content: space-between; gap: 4px 8px; padding: 0 0 0 10px; border-radius: 10px; background: var(--gs-oled-glass); box-shadow: inset 0 0 0 1px var(--gs-oled-edge); font-size: 13px; line-height: 18px; }
html[data-look] .ptt-oled > .ptt-framed .ptt-framed__w { color: var(--gs-oled-warn); }
html[data-look] body.desk .ptt-oled > .ptt-framed .ptt-chip { gap: 6px; border: 0; border-radius: 10px; background: color-mix(in srgb, var(--gs-oled-rx) 16%, transparent); color: var(--gs-oled-ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gs-oled-rx) 55%, transparent); font-size: 13px; }
