/* gs-kit.css — GlyphSlip's design kit (Window GSP-1a · feat(gsp1a-desk-chrome)), promoted from the sealed K8 target
 * (docs/ux-target-glyphslip/gs-kit.css). /desk links it FIRST, so gs.css · desk-ux.css still win where a live page
 * names one of its classes; every rule here is a --gs-* token, a .gs-* component or the desk chrome's placement —
 * nothing touches a pane, a lens, the pass or a staff page. Adapted from the target:
 *  · no color-scheme on :root (gs.css owns the page's); the motion law covers .gs-* nodes only;
 *  · the kit's sheet waits inside its own scrim (.gs-scrim > .gs-sheet): the desk's spring sheet is also .gs-sheet;
 *  · the live icon set (gs-icons.js) draws its one accent in #2dd4bf, so inside the chrome that accent follows the
 *    cluster's hue (an attribute selector — the icon file is unchanged for every other page);
 *  · VERDICT §6 #1: the scan field's hint and the Room field's numerals sit centred on their line;
 *  · round 2: body.desk's older controls take the kit's 3:1 edge, its check boxes the kit's drawing, the handset a header;
 *  · the handset's key bar (gs-kit-pass.css's .gs-keybar) lives here at 44 px — gs-kit-pass.css and
 *    gs-kit-studio.css stay in the target folder until the pass and the map studio need them.
 * Hue: data-hue="guest | night | manage" re-binds --gs-hue · --gs-hue-ink · --gs-hue-wash · --gs-ring-c for a subtree. */

/* ---- Tokens ---------------------------------------------------------------------------------------------------- */
:root {
  --gs-bg: #0a111e; --gs-s1: #101a2c; --gs-s2: #16233a; --gs-s3: #1e2f4b; --gs-line: #24354f; --gs-edge: #6d84a6;
  --gs-ink: #eef3fb; --gs-ink-2: #b9c5d8; --gs-ink-3: #93a4bd;
  --gs-guest: #2dd4bf; --gs-guest-ink: #06221f; --gs-guest-wash: #193c4d;
  --gs-night: #97a8ff; --gs-night-ink: #0d1440; --gs-night-wash: #283656;
  --gs-manage: #f6b73c; --gs-manage-ink: #2a1a00; --gs-manage-wash: #35383a;
  --gs-ok: #7ee08a; --gs-look: #ff9d5c; --gs-no: #ff7b7b; --gs-live: #22d3ee; --gs-money: #f3dfa2;
  --gs-paper: #f7f3ec; --gs-card: #fffdf8; --gs-p-ink: #1d2327; --gs-p-ink-2: #4c565c; --gs-p-line: #e3dccf;
  --gs-brand: #0f766e; --gs-brand-2: #b7791f; --gs-brand-ink: #ffffff;
  --gs-font: "Segoe UI Variable Text", "Segoe UI", ui-sans-serif, system-ui, -apple-system, Roboto, sans-serif;
  --gs-num: "Segoe UI Variable Display", "Segoe UI", ui-sans-serif, system-ui, -apple-system, Roboto, sans-serif;
  --gs-r1: 8px; --gs-r2: 12px; --gs-r3: 16px; --gs-r4: 22px; --gs-pill: 999px; --gs-hair: 1px;
  --gs-lift-1: inset 0 1px 0 rgb(255 255 255 / .06), 0 1px 2px rgb(0 0 0 / .38), 0 12px 28px -16px rgb(0 0 0 / .75);
  --gs-lift-2: inset 0 1px 0 rgb(255 255 255 / .12), 0 2px 4px rgb(0 0 0 / .32), 0 14px 28px -14px rgb(0 0 0 / .85);
  --gs-lift-3: inset 0 1px 0 rgb(255 255 255 / .08), 0 6px 16px rgb(0 0 0 / .35), 0 36px 72px -24px rgb(0 0 0 / .9);
  --gs-fast: 120ms; --gs-ease: 220ms cubic-bezier(.22, 1, .36, 1);
  --gs-hit: 44px; --gs-key: 48px; --gs-scan: 56px; --gs-well: 36px; --gs-ico: 22px;
}
:root, [data-hue="guest"] { --gs-hue: var(--gs-guest); --gs-hue-ink: var(--gs-guest-ink); --gs-hue-wash: var(--gs-guest-wash); }
[data-hue="night"] { --gs-hue: var(--gs-night); --gs-hue-ink: var(--gs-night-ink); --gs-hue-wash: var(--gs-night-wash); }
[data-hue="manage"] { --gs-hue: var(--gs-manage); --gs-hue-ink: var(--gs-manage-ink); --gs-hue-wash: var(--gs-manage-wash); }
:root, [data-hue] { --gs-ring-c: color-mix(in srgb, var(--gs-hue) 45%, transparent); --gs-ring: 0 0 0 3px var(--gs-ring-c); }

:where([class^="gs-"], [class*=" gs-"]), :where([class^="gs-"], [class*=" gs-"])::before, :where([class^="gs-"], [class*=" gs-"])::after { box-sizing: border-box; }

/* ---- Motion law: ?still=1 and reduced motion stop every loop and every transition of the kit ------------------- */
html[data-still="1"] [class*="gs-"], html[data-still="1"] [class*="gs-"]::before, html[data-still="1"] [class*="gs-"]::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { [class*="gs-"], [class*="gs-"]::before, [class*="gs-"]::after { animation: none !important; transition: none !important; } }
@keyframes gs-fade { from { opacity: 0; } }
@keyframes gs-rise { from { opacity: 0; transform: translateY(12px) scale(.985); } }
@keyframes gs-drop { from { opacity: 0; transform: translateY(-6px); } }
@keyframes gs-breathe { 50% { opacity: .45; transform: scale(.82); } }

/* ---- Focus: one ring, the active hue at 45 % ------------------------------------------------------------------- */
:where(.gs-key, .gs-tab, .gs-step__btn, .gs-switch, .gs-seg__opt, .gs-check, .gs-menu__item, .gs-home, .gs-handle, .gs-keybar__key, .gs-tray__run):focus-visible { outline: 3px solid var(--gs-ring-c); outline-offset: 0; }
:where(.gs-key, .gs-tab, .gs-step__btn, .gs-switch, .gs-seg__opt, .gs-check, .gs-menu__item, .gs-home, .gs-keybar__key):focus:not(:focus-visible) { outline: none; }

/* ---- Icon ------------------------------------------------------------------------------------------------------ */
.gs-ico { width: var(--gs-ico); height: var(--gs-ico); flex: none; fill: none; stroke: currentColor; overflow: visible; }
.gs-ico-a { fill: var(--gs-hue, currentColor); fill-opacity: .3; stroke: var(--gs-hue, currentColor); }
.gs-ico-al { fill: none; stroke: var(--gs-hue, currentColor); }
.gs-ico-f { fill: currentColor; stroke: none; }
/* the live set's one accent (#2dd4bf) takes the hue inside the chrome */
:is(.gs-desk__head, .gs-desk__tabs, .gs-scan, .gs-menu, .gs-keybar) .ico [stroke="#2dd4bf"] { stroke: var(--gs-hue); }
:is(.gs-desk__head, .gs-desk__tabs, .gs-scan, .gs-menu, .gs-keybar) .ico [fill="#2dd4bf"] { fill: var(--gs-hue); }

/* ---- Cluster + tab --------------------------------------------------------------------------------------------- */
.gs-cluster { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 10px 8px 12px; border-radius: var(--gs-r3); background: linear-gradient(180deg, color-mix(in srgb, var(--gs-hue) 8%, transparent), transparent 85%); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--gs-hue) 20%, transparent); }
.gs-cluster[data-active] { background: linear-gradient(180deg, color-mix(in srgb, var(--gs-hue) 14%, transparent), transparent 90%); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--gs-hue) 38%, transparent); }
.gs-cluster__cap { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0 10px; font-size: 12px; font-weight: 700; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: var(--gs-hue); }
.gs-cluster__cap::before { content: ""; width: 14px; height: 3px; border-radius: 3px; background: currentColor; box-shadow: 0 0 8px currentColor; }
.gs-cluster__tabs { display: flex; gap: 4px; }
.gs-tab { position: relative; display: inline-flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: var(--gs-hit); min-height: 52px; padding: 8px 16px 8px 8px; border: 0; border-radius: var(--gs-r2); background: transparent; color: var(--gs-ink-2); font: inherit; font-size: 14px; font-weight: 600; line-height: 20px; text-align: left; white-space: nowrap; cursor: pointer; }
.gs-tab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgb(255 255 255 / .045); opacity: 0; transition: opacity var(--gs-fast); pointer-events: none; }
.gs-tab:hover::before { opacity: 1; }
.gs-tab::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -9px; height: 3px; border-radius: 3px; background: var(--gs-hue); box-shadow: 0 0 14px 1px color-mix(in srgb, var(--gs-hue) 75%, transparent); opacity: 0; transform: scaleX(.4); transition: opacity var(--gs-ease), transform var(--gs-ease); }
.gs-tab__well { position: relative; display: grid; place-items: center; width: var(--gs-well); height: var(--gs-well); flex: none; border-radius: 10px; background: var(--gs-hue-wash); color: var(--gs-hue); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gs-hue) 22%, transparent); }
.gs-tab__well :is(.gs-ico, .ico) { width: 22px; height: 22px; }
.gs-tab__word { display: inline-grid; }
.gs-tab__word::after { content: attr(data-label); height: 0; overflow: hidden; visibility: hidden; font-weight: 700; }
.gs-tab[aria-selected="true"] { background: linear-gradient(180deg, rgb(255 255 255 / .05), transparent 60%), var(--gs-s3); color: var(--gs-ink); font-weight: 700; box-shadow: var(--gs-lift-2); }
.gs-tab[aria-selected="true"]::after { opacity: 1; transform: none; }
.gs-tab[aria-selected="true"] .gs-tab__well { background: linear-gradient(180deg, rgb(255 255 255 / .25), transparent 60%), var(--gs-hue); color: var(--gs-hue-ink); box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 4px 14px -4px color-mix(in srgb, var(--gs-hue) 70%, transparent); }
.gs-tab[aria-selected="true"] .gs-tab__well :is(.gs-ico, .ico) { --gs-hue: var(--gs-hue-ink); }

/* ---- Scan field: the slip's shape — two side notches and a perforation --------------------------------------- */
.gs-scan { position: relative; filter: drop-shadow(0 1px 1px rgb(0 0 0 / .4)) drop-shadow(0 12px 16px rgb(0 0 0 / .35)); }
.gs-scan__body { position: relative; display: flex; align-items: center; gap: 8px; height: var(--gs-scan); padding: 0 18px 0 20px; border-radius: var(--gs-r3); background: linear-gradient(180deg, var(--gs-s3), var(--gs-s2)); box-shadow: inset 0 0 0 1px var(--gs-edge), inset 0 1px 0 1px rgb(255 255 255 / .06); -webkit-mask: radial-gradient(circle 9px at 0 50%, #0000 8.5px, #000 9px) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, #0000 8.5px, #000 9px) right / 51% 100% no-repeat; mask: radial-gradient(circle 9px at 0 50%, #0000 8.5px, #000 9px) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, #0000 8.5px, #000 9px) right / 51% 100% no-repeat; }
.gs-scan__body::before, .gs-scan__body::after { content: ""; position: absolute; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--gs-edge); pointer-events: none; }
.gs-scan__body::before { left: -10px; }
.gs-scan__body::after { right: -10px; }
.gs-scan__body:focus-within { box-shadow: inset 0 0 0 2px var(--gs-hue), inset 0 1px 0 2px rgb(255 255 255 / .06); }
.gs-scan__body:focus-within::before, .gs-scan__body:focus-within::after { box-shadow: inset 0 0 0 2px var(--gs-hue); }
.gs-scan__key { min-height: var(--gs-hit); border-radius: 10px; padding: 0 16px; }
.gs-scan__perf { width: 0; height: 32px; margin: 0 6px; border-left: 2px dashed color-mix(in srgb, var(--gs-edge) 60%, transparent); flex: none; }
.gs-scan__input { flex: 1 1 auto; min-width: 96px; height: var(--gs-hit); padding: 0 8px; border: 0; background: transparent; color: var(--gs-ink); font: 700 22px/1 var(--gs-num); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.gs-scan__input::placeholder { color: var(--gs-ink-3); font: 500 16px/1 var(--gs-font); letter-spacing: 0; }
/* VERDICT §6 #1: a 16 px hint on a 22 px numeral line sat 2.5 – 3 px low — the empty field wears the hint's own cut */
.gs-scan__input:placeholder-shown { font: 500 16px/1 var(--gs-font); letter-spacing: 0; text-overflow: ellipsis; }
.gs-scan__input:focus { outline: none; }
.gs-scan__alt { min-height: var(--gs-hit); padding: 0 14px; font-size: 14px; }
.gs-scan__go { min-height: var(--gs-hit); min-width: 72px; border-radius: 10px; font-weight: 700; }
.gs-scan__line { display: flex; align-items: center; gap: 8px; min-height: 20px; margin: 8px 0 0; padding-left: 20px; font-size: 13px; line-height: 20px; color: var(--gs-ink-3); }
.gs-scan__line[data-tone="no"] { color: var(--gs-no); font-weight: 600; }
.gs-scan[data-tone="no"] .gs-scan__body { box-shadow: inset 0 0 0 2px var(--gs-no); }

/* ---- Key ------------------------------------------------------------------------------------------------------- */
.gs-key { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: var(--gs-hit); min-height: var(--gs-key); padding: 0 18px; border: 0; border-radius: var(--gs-r2); background: var(--gs-s3); color: var(--gs-ink); box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 1px 2px rgb(0 0 0 / .3); font: inherit; font-size: 16px; font-weight: 600; line-height: 20px; white-space: nowrap; text-decoration: none; cursor: pointer; isolation: isolate; transition: transform var(--gs-fast); }
.gs-key::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgb(255 255 255 / .08); opacity: 0; transition: opacity var(--gs-fast); pointer-events: none; }
.gs-key:hover::before { opacity: 1; }
.gs-key:active { transform: translateY(1px) scale(.985); }
.gs-key :is(.gs-ico, .ico) { width: 20px; height: 20px; }
.gs-key--primary { background: linear-gradient(180deg, rgb(255 255 255 / .22), rgb(255 255 255 / 0) 55%), var(--gs-hue); color: var(--gs-hue-ink); font-weight: 700; box-shadow: inset 0 1px 0 rgb(255 255 255 / .4), inset 0 -2px 0 rgb(0 0 0 / .14), 0 2px 4px rgb(0 0 0 / .3), 0 10px 24px -10px color-mix(in srgb, var(--gs-hue) 65%, transparent); }
.gs-key--primary :is(.gs-ico, .ico) { --gs-hue: currentColor; }
.gs-key--quiet { background: var(--gs-s3); color: var(--gs-ink); box-shadow: inset 0 0 0 1px var(--gs-edge), inset 0 1px 0 1px rgb(255 255 255 / .06), 0 1px 2px rgb(0 0 0 / .3); } /* a quiet key keeps a 3:1 edge (Slop Ban row 7) */
.gs-key--ghost { background: transparent; color: var(--gs-ink-2); box-shadow: none; }
.gs-key--ghost:hover { color: var(--gs-ink); }
.gs-key--danger { background: color-mix(in srgb, var(--gs-no) 14%, var(--gs-s2)); color: var(--gs-no); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gs-no) 50%, transparent); }
.gs-key--done { background: color-mix(in srgb, var(--gs-ok) 16%, var(--gs-s2)); color: var(--gs-ok); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gs-ok) 40%, transparent); }
.gs-key--icon { width: var(--gs-hit); min-height: var(--gs-hit); padding: 0; }
.gs-key--sm { min-height: var(--gs-hit); padding: 0 14px; font-size: 14px; }
.gs-key--wide { min-width: 200px; }
.gs-key:disabled, .gs-key[aria-disabled="true"] { cursor: default; transform: none; }
.gs-key:disabled::before { opacity: 0; }
/* one filled key a view: a key that steps down from primary while the pane holds its own — a hue edge and wash */
.gs-key--tint { background: linear-gradient(180deg, rgb(255 255 255 / .05), rgb(255 255 255 / 0) 60%), color-mix(in srgb, var(--gs-hue) 16%, var(--gs-s2)); color: var(--gs-ink); font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--gs-hue), inset 0 1px 0 1.5px rgb(255 255 255 / .06), 0 1px 2px rgb(0 0 0 / .3); }
.gs-key--tint :is(.gs-ico, .ico) { color: var(--gs-hue); }
.gs-scan[data-tone="no"] .gs-scan__body::before, .gs-scan[data-tone="no"] .gs-scan__body::after { box-shadow: inset 0 0 0 2px var(--gs-no); }

/* ---- Card ------------------------------------------------------------------------------------------------------ */
.gs-card { position: relative; min-width: 0; padding: 24px; border-radius: var(--gs-r3); background: linear-gradient(180deg, rgb(255 255 255 / .03), rgb(255 255 255 / 0) 120px), var(--gs-s2); box-shadow: var(--gs-lift-1), inset 0 0 0 1px rgb(255 255 255 / .035); color: var(--gs-ink); }
.gs-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; margin-bottom: 16px; }
.gs-card__title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 18px; font-weight: 700; line-height: 24px; color: var(--gs-ink); }
.gs-card__help { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--gs-ink-2); }
.gs-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 24px -24px -24px; padding: 16px 24px; border-top: 1px solid var(--gs-line); border-radius: 0 0 var(--gs-r3) var(--gs-r3); background: rgb(0 0 0 / .14); }

/* ---- Chip ------------------------------------------------------------------------------------------------------ */
.gs-chip { --gs-tone: var(--gs-ink-2); display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 10px; border-radius: var(--gs-pill); background: color-mix(in srgb, var(--gs-tone) 14%, var(--gs-s2)); color: var(--gs-tone); font-size: 13px; font-weight: 600; line-height: 16px; white-space: nowrap; }
.gs-chip[data-tone="ok"] { --gs-tone: var(--gs-ok); }
.gs-chip[data-tone="look"] { --gs-tone: var(--gs-look); }
.gs-chip[data-tone="no"] { --gs-tone: var(--gs-no); }
.gs-chip[data-tone="live"] { --gs-tone: var(--gs-live); }
.gs-chip[data-tone="money"] { --gs-tone: var(--gs-money); }
.gs-chip[data-tone="quiet"] { background: var(--gs-s3); color: var(--gs-ink-2); }
.gs-chip__dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }
.gs-chip[data-live] .gs-chip__dot, .gs-role__dot { animation: gs-breathe 2.6s ease-in-out infinite; }

/* ---- Stepper · switch · segmented choice · check box · field (each control keeps a 3:1 edge — Slop Ban row 7) - */
.gs-step { display: inline-flex; align-items: center; height: var(--gs-key); padding: 2px; border-radius: var(--gs-r2); background: var(--gs-s1); box-shadow: inset 0 0 0 1px var(--gs-edge), inset 0 2px 4px rgb(0 0 0 / .35); }
.gs-step__btn { position: relative; display: grid; place-items: center; width: var(--gs-hit); height: var(--gs-hit); padding: 0; border: 0; border-radius: 10px; background: var(--gs-s3); color: var(--gs-ink); box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 1px 2px rgb(0 0 0 / .35); cursor: pointer; transition: transform var(--gs-fast); }
.gs-step__btn:disabled { color: var(--gs-ink-3); background: transparent; box-shadow: none; cursor: default; }
.gs-step__num { min-width: 52px; text-align: center; font: 700 22px/1 var(--gs-num); font-variant-numeric: tabular-nums; color: var(--gs-ink); }
.gs-switch { display: flex; align-items: center; gap: 12px; width: 100%; min-height: var(--gs-key); padding: 0; border: 0; border-radius: var(--gs-r2); background: transparent; color: var(--gs-ink); font: inherit; text-align: left; cursor: pointer; }
.gs-switch__label { font-size: 16px; font-weight: 600; line-height: 22px; }
.gs-switch__help { font-size: 13px; line-height: 18px; color: var(--gs-ink-3); }
.gs-switch__track { position: relative; width: 52px; height: 32px; flex: none; border-radius: var(--gs-pill); background: var(--gs-s1); box-shadow: inset 0 0 0 1px var(--gs-edge), inset 0 2px 4px rgb(0 0 0 / .4); }
.gs-switch__knob { position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--gs-ink-2); box-shadow: 0 1px 3px rgb(0 0 0 / .5), inset 0 1px 0 rgb(255 255 255 / .4); transition: transform var(--gs-ease); }
/* ONE "on" look on every surface: the status green, the bright knob */
.gs-switch[role="switch"][aria-checked="true"] .gs-switch__knob { background: #ffffff; transform: translateX(20px); }
.gs-switch[role="switch"][aria-checked="true"] .gs-switch__track { background: linear-gradient(180deg, rgb(255 255 255 / .2), transparent), var(--gs-ok); box-shadow: inset 0 0 0 1px var(--gs-ok), inset 0 2px 3px rgb(0 0 0 / .2); }
.gs-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--gs-r2); background: var(--gs-s1); box-shadow: inset 0 0 0 1px var(--gs-edge), inset 0 2px 3px rgb(0 0 0 / .3); }
.gs-seg__opt { display: inline-grid; place-items: center; align-content: center; min-width: 56px; min-height: var(--gs-hit); padding: 0 16px; border: 0; border-radius: 10px; background: transparent; color: var(--gs-ink-2); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.gs-seg__opt::after { content: attr(data-label); height: 0; overflow: hidden; visibility: hidden; font-weight: 700; }
.gs-seg__opt[aria-checked="true"] { background: var(--gs-s3); color: var(--gs-ink); font-weight: 700; box-shadow: var(--gs-lift-2); }
.gs-check { display: inline-flex; align-items: center; gap: 4px; min-height: var(--gs-hit); padding: 0 10px 0 0; border: 0; border-radius: var(--gs-r1); background: transparent; color: var(--gs-ink); font: inherit; font-size: 16px; line-height: 22px; text-align: left; cursor: pointer; }
.gs-check__box { display: grid; place-items: center; width: 24px; height: 24px; margin: 10px; flex: none; border-radius: 7px; background: var(--gs-s1); box-shadow: inset 0 0 0 2px var(--gs-edge); color: var(--gs-hue-ink); }
.gs-check[aria-checked="true"] .gs-check__box { background: var(--gs-hue); box-shadow: inset 0 1px 0 rgb(255 255 255 / .3); }
.gs-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gs-field__label { font-size: 13px; font-weight: 600; line-height: 18px; color: var(--gs-ink-2); }
.gs-field__input { width: 100%; height: var(--gs-key); padding: 0 14px; border: 1px solid var(--gs-edge); border-radius: var(--gs-r2); background: var(--gs-s1); color: var(--gs-ink); box-shadow: inset 0 2px 3px rgb(0 0 0 / .25); font: inherit; font-size: 16px; }
.gs-field__input::placeholder { color: var(--gs-ink-3); }
.gs-field__input:focus { outline: none; border-color: var(--gs-hue); box-shadow: var(--gs-ring); }
/* VERDICT §6 #1: the display cut's numerals sat 2 px low in the Room field — 4 px under the line lifts them 2 px */
.gs-field--num .gs-field__input { padding-bottom: 4px; font-family: var(--gs-num); font-size: 22px; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.gs-field--num .gs-field__input:placeholder-shown { padding-bottom: 0; font: 500 16px/1 var(--gs-font); letter-spacing: 0; }
.gs-field--big .gs-field__input { height: 56px; font-size: 28px; }
.gs-field__msg { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 18px; color: var(--gs-ink-3); }
.gs-field[data-state="no"] .gs-field__input { border-color: var(--gs-no); }
.gs-field[data-state="no"] .gs-field__msg { color: var(--gs-no); font-weight: 600; }

/* ---- Sheet (one at a time, inside its own scrim — the desk's spring sheet keeps its own .gs-sheet) -------------- */
.gs-scrim { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; background: rgb(3 7 14 / .66); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: gs-fade var(--gs-ease) both; }
.gs-scrim > .gs-sheet { position: relative; display: flex; flex-direction: column; gap: 20px; width: min(560px, 100%); max-height: 100%; overflow: auto; padding: 28px; border-radius: var(--gs-r4); background: linear-gradient(180deg, rgb(255 255 255 / .03), transparent 160px), var(--gs-s2); box-shadow: var(--gs-lift-3), inset 0 0 0 1px rgb(255 255 255 / .05); color: var(--gs-ink); animation: gs-rise var(--gs-ease) both; }
.gs-sheet__title { margin: 0; font-size: 22px; font-weight: 700; line-height: 28px; }
.gs-sheet__lead { margin: 6px 0 0; font-size: 14px; line-height: 20px; color: var(--gs-ink-2); }
.gs-sheet__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }

/* ---- Menu (the desk's and the handset's ONE More) --------------------------------------------------------------- */
.gs-more-host { position: relative; }
.gs-menu { position: absolute; z-index: 60; top: calc(100% + 6px); right: 0; min-width: 300px; max-width: calc(100vw - 16px); padding: 8px; border-radius: var(--gs-r3); background: var(--gs-s3); box-shadow: var(--gs-lift-3), inset 0 0 0 1px rgb(255 255 255 / .07); color: var(--gs-ink); animation: gs-drop var(--gs-fast) both; }
.gs-menu__item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 6px 14px 6px 6px; border: 0; border-radius: var(--gs-r2); background: transparent; color: var(--gs-ink); font: inherit; font-size: 14px; font-weight: 600; line-height: 20px; text-align: left; text-decoration: none; cursor: pointer; }
.gs-menu__item:hover, .gs-menu__item:focus-visible { background: rgb(255 255 255 / .07); }
.gs-menu__item:disabled { color: var(--gs-ink-3); background: transparent; cursor: default; }
.gs-menu__well { display: grid; place-items: center; width: var(--gs-well); height: var(--gs-well); flex: none; border-radius: 10px; background: var(--gs-s2); color: var(--gs-ink-2); box-shadow: inset 0 0 0 1px var(--gs-line); }
.gs-menu__well :is(.gs-ico, .ico) { width: 20px; height: 20px; }
.gs-menu__label { display: flex; flex-direction: column; min-width: 0; }
.gs-menu__hint { font-size: 13px; font-weight: 500; line-height: 18px; color: var(--gs-ink-3); }
.gs-menu__sep { height: 1px; margin: 6px 10px; background: var(--gs-line); }
.gs-menu__foot { margin: 6px 10px 2px; font-size: 12px; line-height: 16px; color: var(--gs-ink-3); }

/* ---- Toast · change line · stat · meter · list · room tag (the panes adopt them in GSP-1b … GSP-3) ------------- */
.gs-toast { --gs-tone: var(--gs-ok); position: fixed; z-index: 70; left: 50%; bottom: 24px; display: flex; align-items: center; gap: 12px; max-width: min(640px, calc(100% - 32px)); min-height: 56px; padding: 6px 16px 6px 12px; border-radius: var(--gs-r3); background: var(--gs-s3); color: var(--gs-ink); box-shadow: var(--gs-lift-3), inset 0 0 0 1px rgb(255 255 255 / .07); font-size: 14px; font-weight: 600; line-height: 20px; transform: translateX(-50%); }
.gs-diff { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 2px 16px; min-height: 64px; padding: 10px 16px; border-top: 1px solid var(--gs-line); }
.gs-stat { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 16px; border-radius: var(--gs-r2); background: var(--gs-s1); box-shadow: inset 0 1px 0 rgb(255 255 255 / .03), inset 0 0 0 1px rgb(255 255 255 / .025); }
.gs-stat__label { font-size: 13px; font-weight: 600; line-height: 18px; color: var(--gs-ink-2); }
.gs-stat__num { font: 700 40px/48px var(--gs-num); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--gs-ink); }
.gs-meter { display: block; height: 6px; margin-top: 8px; overflow: hidden; border-radius: 6px; background: var(--gs-s3); }
.gs-meter__fill { display: block; width: var(--gs-v, 0%); height: 100%; border-radius: inherit; background: var(--gs-hue); }
.gs-list { margin: 0; padding: 0; list-style: none; }
.gs-list__item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 64px; padding: 8px 0; border-top: 1px solid var(--gs-line); }
.gs-roomtag { display: grid; place-items: center; min-width: 72px; height: 40px; padding: 0 12px; border-radius: 10px; background: var(--gs-s1); box-shadow: inset 0 0 0 1px var(--gs-line); color: var(--gs-ink); font: 700 22px/1 var(--gs-num); font-variant-numeric: tabular-nums; }

/* ---- Desk chrome pieces: home pill, role chip, the neutral count badge ----------------------------------------- */
.gs-home { display: inline-flex; align-items: center; gap: 12px; min-height: var(--gs-key); max-width: 100%; padding: 4px 20px 4px 4px; border: 0; border-radius: var(--gs-pill); background: var(--gs-s2); color: var(--gs-ink); box-shadow: var(--gs-lift-1), inset 0 0 0 1px var(--gs-edge); font: inherit; text-align: left; cursor: pointer; } /* GSP-4b: the Home key keeps the quiet key's 3:1 edge (Slop Ban row 7) */
.gs-home .home-mark { width: 40px; height: 40px; flex: none; border-radius: 50%; }
.gs-home__name { overflow: hidden; font-size: 16px; font-weight: 700; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.gs-role { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 14px 0 12px; border-radius: var(--gs-pill); background: var(--gs-s1); box-shadow: inset 0 0 0 1px var(--gs-line); color: var(--gs-ink); font-size: 13px; font-weight: 700; line-height: 16px; white-space: nowrap; }
.gs-role__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gs-ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gs-ok) 22%, transparent); }
/* the count badge is neutral on every tab: bright ink on a quiet raised chip, never the cluster's hue, never red */
.gs-badge { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: var(--gs-pill); background: color-mix(in srgb, var(--gs-ink) 12%, var(--gs-s3)); color: var(--gs-ink); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12), inset 0 1px 0 rgb(255 255 255 / .1); font: 700 13px/1 var(--gs-num); white-space: nowrap; }
.gs-badge[hidden] { display: none; }

/* ---- The handset's key bar: ONE row of five equal cells, each a well and a word, 44 px high (VERDICT law 26) ---- */
.gs-keybar { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; padding: 0 8px; background: var(--gs-s1); box-shadow: 0 1px 0 var(--gs-line), 0 -1px 0 var(--gs-line), 0 12px 24px -16px rgb(0 0 0 / .8); }
.gs-keybar__key { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px; min-width: var(--gs-hit); min-height: 44px; height: 44px; padding: 3px 0 0; border: 0; border-radius: var(--gs-r2); background: transparent; color: var(--gs-ink-2); font: inherit; font-size: 12px; font-weight: 600; line-height: 15px; letter-spacing: 0; white-space: nowrap; cursor: pointer; }
.gs-keybar__key:disabled { color: var(--gs-ink-2); cursor: not-allowed; } /* GSP-3 r2 #9: a key this phone does not use keeps the bar's ink (its title says why), never a dimmed word */
.gs-keybar__well { display: grid; place-items: center; width: 40px; height: 22px; flex: none; border-radius: 8px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07); transition: background-color var(--gs-fast); }
.gs-keybar__well :is(.gs-ico, .ico) { width: 18px; height: 18px; --gs-hue: currentColor; }
.gs-keybar__word { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-keybar__key:hover:not(:disabled) { color: var(--gs-ink); }
.gs-keybar__key::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 32px; height: 3px; margin-left: -16px; border-radius: 3px; background: var(--gs-hue); box-shadow: 0 0 12px 1px color-mix(in srgb, var(--gs-hue) 70%, transparent); opacity: 0; transition: opacity var(--gs-fast); }
.gs-keybar__key:is([aria-current="page"], [data-on])::after { opacity: 1; }
.gs-keybar__key:is([aria-current="page"], [data-on]) { color: var(--gs-ink); font-weight: 700; }
.gs-keybar__key:is([aria-current="page"], [data-on]) .gs-keybar__well { background: linear-gradient(180deg, rgb(255 255 255 / .25), transparent 60%), var(--gs-hue); color: var(--gs-hue-ink); box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 4px 12px -4px color-mix(in srgb, var(--gs-hue) 70%, transparent); }
.ck-bar.gs-keybar { position: sticky; top: 0; z-index: 3; margin: 0 -6px 14px; }
.ck-bar .gs-menu { min-width: 260px; }

/* ---- The desk shell's placement (the target's css/desk.css, inside the live 1100 px column) -------------------- */
.gs-desk__head { gap: 8px 12px; min-height: 56px; }
.gs-desk__head .hud-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
.gs-desk__when { display: inline-flex; align-items: center; gap: 6px; color: var(--gs-ink-3); font-size: 13px; font-weight: 600; white-space: nowrap; }
.gs-desk__when .ico { width: 16px; height: 16px; }
.gs-desk__head .gs-key { min-height: var(--gs-hit); padding: 0 14px; font-size: 14px; }
.gs-desk__head .gs-badge { margin-left: 2px; }
.gs-desk__tabs { container: gstabs / inline-size; display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; padding: 8px; border-radius: var(--gs-r4); background: linear-gradient(180deg, rgb(255 255 255 / .02), transparent), var(--gs-s1); box-shadow: inset 0 1px 0 rgb(255 255 255 / .05), inset 0 0 0 1px rgb(255 255 255 / .025), 0 1px 0 rgb(0 0 0 / .45), 0 20px 40px -28px rgb(0 0 0 / .9); }
.gs-desk__tabs > .gs-cluster { flex: 1 1 auto; }
.gs-desk__tabs .gs-cluster__tabs { justify-content: space-between; }
.gs-desk__tabs .gs-tab { flex: 0 0 auto; }
/* the live column (≤ 1240 px) stands each tab as its well over its centred word, so nine tabs share one row */
@container gstabs (max-width: 1240px) {
  .gs-cluster { padding: 8px 4px 12px; }
  .gs-cluster__tabs { gap: 2px; justify-content: flex-start; }
  .gs-desk__tabs .gs-tab { flex: 1 1 auto; flex-direction: column; justify-content: center; gap: 4px; min-height: 64px; padding: 6px 6px 4px; font-size: 13px; line-height: 16px; text-align: center; }
  .gs-tab::after { left: 25%; right: 25%; bottom: -8px; }
}
.gs-scan { margin: 0 0 12px; }
@media (max-width: 900px) { .gs-desk__when { display: none; } }
/* GSP-1a round 3 · a phone (judge items 6 · 11): the scan field keeps the desk's ONE order on every screen — Scan QR,
 * the field, Upload photo, Go — in one row; the field wears its own edge, Upload photo shows its picture (its words stay
 * its name), and the field says only its typed path (GSChrome.hint). The header is two rows (GSP-4c, desk-ux.css):
 * the home pill and the role on the first, Map · Guest requests · More and the inline ENVOY medallion on the second; the three
 * clusters stand side by side as three columns of 44 px rows, so the pane starts in the top half of the first screen. */
@media (max-width: 640px) {
  .gs-scan { margin-bottom: 12px; } /* GSP-8 r1 #5: one 12 px rhythm down the desk column */
  .gs-scan__body { height: auto; min-height: var(--gs-scan); gap: 4px; padding: 6px 12px; }
  .gs-scan__perf { display: none; }
  .gs-scan__key { flex: none; gap: 6px; padding: 0 10px; font-size: 14px; }
  .gs-scan__input { flex: 1 1 0; width: 0; min-width: 0; height: var(--gs-hit); padding: 0 8px; border-radius: 10px; background: var(--gs-s1); box-shadow: inset 0 0 0 1px var(--gs-edge); }
  .gs-scan__input::placeholder, .gs-scan__input:placeholder-shown { font-size: 14px; }
  .gs-scan__alt { flex: none; justify-content: center; width: var(--gs-hit); min-width: var(--gs-hit); padding: 0; }
  .gs-scan__alt .ico-label { display: none; }
  .gs-scan__go { flex: none; gap: 2px; min-width: 48px; padding: 0 8px; }
  .hud-head.gs-desk__head { gap: 6px 8px; padding: 8px 0; }
  .gs-desk__head .gs-home { flex: 1 1 15em; min-width: 0; padding-right: 14px; } /* GSP-4b judge r1 #1: a long role chip moves under the name, never squeezes it */
  .gs-desk__head .gs-home__name { font-size: 15px; line-height: 18px; white-space: normal; overflow-wrap: normal; }
  .gs-desk__head .hud-tools { flex: 1 1 100%; flex-wrap: wrap; gap: 6px; margin-left: 0; }
  .gs-desk__head .hud-tools .gs-key { gap: 6px; padding: 0 10px; }
  .gs-desk__head #more-open { margin-left: auto; }
  .gs-desk__tabs { flex-wrap: nowrap; gap: 4px; margin: 0 0 12px; padding: 4px; }
  .gs-desk__tabs > .gs-cluster { flex: 1 1 0; min-width: 0; gap: 2px; padding: 6px 2px 2px; }
  .gs-desk__tabs .gs-cluster__cap { min-height: 30px; align-items: flex-start; padding: 0 6px; line-height: 15px; letter-spacing: .04em; white-space: normal; }
  .gs-desk__tabs .gs-cluster__cap::before { display: none; }
  .gs-desk__tabs .gs-cluster__tabs { flex-direction: column; gap: 0; }
  .gs-desk__tabs .gs-tab { flex: none; flex-direction: row; justify-content: flex-start; gap: 6px; min-height: 44px; padding: 4px 4px 4px 6px; font-size: 12px; line-height: 15px; text-align: left; white-space: normal; }
  .gs-desk__tabs .gs-tab__well { width: 28px; height: 28px; border-radius: 8px; }
  .gs-desk__tabs .gs-tab__well :is(.gs-ico, .ico) { width: 18px; height: 18px; }
  .gs-desk__tabs .gs-tab::after { left: 0; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; transform: scaleY(.4); }
  .gs-desk__tabs .gs-tab[aria-selected="true"]::after { transform: none; }
}
@media (max-width: 420px) { .gs-scan__input::placeholder, .gs-scan__input:placeholder-shown { font-size: 13px; } }
/* up to 420 px the keys take the first row (Scan QR · Upload photo, with its word — GSP-3 r2 #12) and the field its own with Go */
@media (max-width: 420px) {
  .gs-scan__body { flex-wrap: wrap; }
  .gs-scan__key { order: 1; flex: 1 1 auto; justify-content: center; }
  .gs-scan__alt { order: 2; width: auto; gap: 6px; padding: 0 12px; }
  .gs-scan__alt .ico-label { display: inline; }
  .gs-scan__input { order: 3; flex: 1 1 calc(100% - 64px); }
  .gs-scan__go { order: 4; }
}
@media (max-height: 820px) {
  .gs-desk__head { min-height: 48px; }
  .gs-cluster { gap: 6px; padding-top: 8px; padding-bottom: 10px; }
  .gs-tab { min-height: 46px; padding-top: 5px; padding-bottom: 5px; }
  .gs-tab::after { bottom: -8px; }
}

/* ---- GSP-1a round 2 · every control on the desk keeps a 3:1 edge (Slop Ban row 7) ------------------------------ */
/* The desk's older controls draw their edge from gs.css's --line (#2a3740 on #172026 ≈ 1.35 : 1). On a control itself
 * --line becomes the kit's edge (#6d84a6 ≈ 4.3 : 1 on the card, 4.9 : 1 on a field's well); a divider keeps its line,
 * and a control's own lit state (a hue border) still wins, since it names the colour, not the token. */
body.desk :is(.btn:not(.btn-primary):not(.btn-bad), .chip-btn, .seg, .ck-mode button, .ck-veh, .sg-clerk, .gmap-wing, .tabs button, select, textarea, input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"])) { --line: var(--gs-edge); }
/* the check box is the kit's drawing (a 2 px edge, the hue when ticked) — never the browser's grey square */
:where(body.desk) input[type="checkbox"] { -webkit-appearance: none; appearance: none; display: inline-grid; place-content: center; width: 24px; height: 24px; flex: none; margin: 0; border: 0; border-radius: 7px; background: var(--gs-s1); box-shadow: inset 0 0 0 2px var(--gs-edge); cursor: pointer; }
:where(body.desk) input[type="checkbox"]::before { content: ""; width: 11px; height: 6px; border: solid var(--gs-guest-ink); border-width: 0 0 2.5px 2.5px; opacity: 0; transform: translateY(-1px) rotate(-45deg); }
:where(body.desk) input[type="checkbox"]:checked { background: var(--gs-guest); box-shadow: inset 0 1px 0 rgb(255 255 255 / .3); }
:where(body.desk) input[type="checkbox"]:checked::before { opacity: 1; }
:where(body.desk) input[type="checkbox"]:focus-visible { outline: 3px solid var(--gs-ring-c); outline-offset: 1px; }
:where(body.desk) input[type="checkbox"]:disabled { opacity: .5; cursor: default; }

/* ---- The handset's header (the target's js/handset.js): the property · its lens, the shift or role, the time ---- */
.gs-hshead { display: flex; align-items: center; gap: 12px; padding: 10px 6px 8px; color: var(--gs-ink); }
.gs-hshead__mark { width: 36px; height: 36px; flex: none; border-radius: 50%; }
.gs-hshead__text { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.gs-hshead__name { font-size: 16px; font-weight: 700; line-height: 20px; overflow-wrap: anywhere; }
.gs-hshead__sub { color: var(--gs-ink-3); font-size: 12px; font-weight: 600; line-height: 16px; }
html:has(body.desk)::-webkit-scrollbar, body.desk ::-webkit-scrollbar { width: 10px; height: 10px; background: transparent; } /* GSP-4b judge r1 (row 14): the kit's own scrollbar on a desk PC · GSP-8 §2.7 (D-7): a 10 px thumb, no arrow keys — never a standard scrollbar property here (in Chromium it switches every rule below off) */
html:has(body.desk)::-webkit-scrollbar-thumb, body.desk ::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 999px; background: var(--gs-edge) padding-box; } html:has(body.desk)::-webkit-scrollbar-thumb:hover, body.desk ::-webkit-scrollbar-thumb:hover { background-color: var(--gs-ink-3); }
html:has(body.desk)::-webkit-scrollbar-button, body.desk ::-webkit-scrollbar-button, html:has(body.desk)::-webkit-scrollbar-corner, body.desk ::-webkit-scrollbar-corner { display: none; background: transparent; }
@supports not selector(::-webkit-scrollbar) { html:has(body.desk), body.desk * { scrollbar-width: thin; scrollbar-color: var(--gs-edge) transparent; } } /* Firefox: the thin bar in the kit's edge */
.gs-hshead__time { flex: none; color: var(--gs-ink-2); font: 700 14px/1 var(--gs-num); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---- GSP-4c · a list wears the kit's drawn chevron (map.css .gsel's drawing), never the browser's ----------------- */
.gs-select { position: relative; display: grid; min-width: 0; }
.gs-select > select { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer; }
.gs-select::after { content: ""; position: absolute; top: 50%; right: 16px; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--gs-ink-2); border-bottom: 2px solid var(--gs-ink-2); transform: rotate(45deg); pointer-events: none; }
/* ---- GSP-4c · a day field: the day in words at rest (Nov 8, 2026), the kit's drawn calendar; the whole field opens the
 * browser's own picker (its glyph hidden, still clickable — sg.css's slip date field), the typed form while focused ---- */
.gs-date { position: relative; display: block; min-width: 0; }
.gs-date > input { position: relative; padding-right: 48px; cursor: pointer; color-scheme: dark; }
.gs-date > input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: auto; height: auto; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.gs-date:not(:focus-within) > input { color: transparent; }
.gs-date__say { position: absolute; top: 50%; left: 15px; right: 48px; overflow: hidden; color: var(--gs-ink); font-size: 16px; line-height: 22px; text-overflow: ellipsis; white-space: nowrap; transform: translateY(-50%); pointer-events: none; }
.gs-date__say[data-empty] { color: var(--gs-ink-3); }
.gs-date:focus-within > .gs-date__say { visibility: hidden; }
.gs-date__ico { position: absolute; top: 50%; right: 14px; width: 20px; height: 20px; margin-top: -10px; color: var(--gs-ink-2); pointer-events: none; }
/* ---- GSP-4c · the Reservation list card after a file is read: the count leads, the drop area is a quiet key ------ */
.rr-sub.ri-count { margin: 0; color: var(--gs-ink); font: 700 22px/28px var(--gs-num); font-variant-numeric: tabular-nums; }
.ri-nodate { margin: 0; color: var(--gs-ink-2); font-size: 14px; font-weight: 600; line-height: 20px; }
.ri-how .sk-how__list { margin-bottom: 0; color: var(--gs-ink-2); }
.pms-drop.ri-drop.ri-drop--small { display: inline-flex; min-height: var(--gs-hit); padding: 0 14px; border: 0; border-radius: var(--gs-r2); background: transparent; color: var(--gs-ink-2); font-size: 16px; font-weight: 600; line-height: 20px; white-space: nowrap; } /* the ghost key's look, as Cancel beside it */
.pms-drop.ri-drop.ri-drop--small:hover { color: var(--gs-ink); background: rgb(255 255 255 / .06); }
/* GSP-4c · a run of facts whose separator never starts or ends a line (judge r1 #3): the run is a wrapping flex row
 * pulled one gap to the left and clipped there; every item draws its dot in that gap before itself, so the dot of an item
 * that opens a line falls into the clipped strip. Items carry no separator of their own; an item may wrap inside itself.
 * Always write it with .gs-dots--clip (below): alone, the run's own pulled-out margin is not clipped. */
.gs-dots { display: flex; flex-wrap: wrap; align-items: baseline; min-width: 0; margin: 0 0 0 -1.25em; padding: 0; overflow: hidden; list-style: none; }
.gs-dots > * { min-width: 0; }
.gs-dots > *::before { content: "\00B7"; display: inline-block; width: 1.25em; text-align: center; color: var(--gs-ink-3); }
/* GSP-4c r2 · the run's clipped form (desk-policy.js GSPolicy.dots): the run clips its own first gap (clip-path, so no
 * ancestor has to) and each item holds its dot outside its own box, so an item that wraps keeps the card's text edge.
 * The "·" stays in the text as an undrawn span (.gs-dots__say). */
.gs-dots.gs-dots--clip { margin-left: -1.25em; clip-path: inset(0 0 0 1.25em); } /* the margin again: a line's own `margin: 0` (.rp-terms · .rr-cut) never undoes the pull */
.gs-dots.gs-dots--clip > * { position: relative; margin-left: 1.25em; }
.gs-dots.gs-dots--clip > *::before { position: absolute; top: 0; left: -1.25em; }
.gs-dots__say { display: none; } /* the text keeps its dot (a copy, the tests); the kit draws the one on screen */

/* ---- GSP-4c r2 · Policies (judge r1 §3 #2): a Management tab wears Management amber, as the Owner tab does (vault.css
 * .vg-setup) — its filled keys, focus rings, checks and drawn icons; the older .btn-primary · .seg keys read --accent ---- */
#policy { --gs-hue: var(--gs-manage); --gs-hue-ink: var(--gs-manage-ink); --gs-hue-wash: var(--gs-manage-wash); --gs-ring-c: color-mix(in srgb, var(--gs-manage) 45%, transparent); --gs-ring: 0 0 0 3px var(--gs-ring-c); --accent: var(--gs-manage); --accent-ink: var(--gs-manage-ink); }
#policy input[type="checkbox"]:checked { background: var(--gs-hue); }
#policy input[type="checkbox"]::before { border-color: var(--gs-hue-ink); }
#policy .ico [stroke="#2dd4bf"] { stroke: var(--gs-hue); } #policy .ico [fill="#2dd4bf"] { fill: var(--gs-hue); }
#policy :is(.gs-key--primary, .btn-primary) .ico [stroke="#2dd4bf"] { stroke: currentColor; } #policy :is(.gs-key--primary, .btn-primary) .ico [fill="#2dd4bf"] { fill: currentColor; }
/* one card surface on the tab (judge §1 Typography): every older .card wears the kit card the Guest perks card wears */
#policy .card:not(.diff-card) { padding: 20px; border-color: transparent; border-radius: var(--gs-r3); background: linear-gradient(180deg, rgb(255 255 255 / .03), rgb(255 255 255 / 0) 120px), var(--gs-s2); box-shadow: var(--gs-lift-1), inset 0 0 0 1px rgb(255 255 255 / .035); }
#policy .diff-card { background: var(--gs-s1); box-shadow: none; }
/* Review changes sits in the card that changed, at content width, and only while a field in it differs (judge #5) */
#policy .policy-save { justify-self: start; }
#policy .policy-save[hidden] { display: none; }
/* the preset's two-way answers: the kit segment's divider between two options neither picked (judge #12) */
.rp-seg .gs-seg__opt[aria-checked="false"] + .gs-seg__opt[aria-checked="false"] { background: linear-gradient(var(--gs-edge), var(--gs-edge)) left center / 1px 56% no-repeat; border-radius: 0 10px 10px 0; }
.rp-seg .gs-seg__opt[aria-checked="false"]:has(+ .gs-seg__opt[aria-checked="false"]) { border-radius: 10px 0 0 10px; }
.rp-seg { gap: 0; }
/* the Reservation list's column the save still needs: the look tone at the field, its own words under it (judge #11) */
.ri-map .gs-field[data-need] .gs-field__input { border-color: var(--gs-look); box-shadow: inset 0 0 0 1px var(--gs-look), inset 0 2px 3px rgb(0 0 0 / .25); }
.ri-map .gs-field__msg.ri-pick { color: var(--gs-look); font-weight: 600; }
/* GSP-4c r3 (judge r2 §3 #11): Choose another file stays a ghost key at every width, as Cancel beside it */
/* GSP-4c r3 (judge #7): the drop area at rest stacks a drawn file, its words and a visible Choose file quiet key */
.ri-card .pms-drop.ri-drop:not(.ri-drop--small) { flex-direction: column; gap: 10px; padding: 20px 16px; }
.ri-card .pms-drop .ico.ri-drop__ico { width: 36px; height: 36px; color: var(--gs-ink-2); }
.ri-drop--small .ri-drop__ico, .ri-drop__key[hidden] { display: none; }
.ri-head { margin: 0; }
.ri-keys > .gs-chip.ri-need { min-height: 28px; padding: 4px 12px; color: var(--gs-tone); white-space: normal; } /* Still needed: a status at the held Save */
/* GSP-4c r3 (judge #9): the nine column lists sit in three even columns, so no field stands alone in a row */
@media (min-width: 521px) { .ri-card .ri-map { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* GSP-4c r3 (judge #6): a side's terms run the card's full width; the fee is a small chip after the last word */
p.rr-cut, p.rp-terms { text-wrap: wrap; }
.gs-chip.rr-fee { display: inline-block; min-height: 0; padding: 1px 8px; font-size: 12px; line-height: 16px; vertical-align: 1px; }
.gs-chip.rr-fee::first-letter { text-transform: uppercase; }
/* GSP-4c r3 (judge #6): a preset question's answers sit right after it, in one column down the list (never the row's far edge) */
@media (min-width: 641px) { .rp-row :is(.rp-ask > .gs-field__label, .rp-clash > .rp-clash__say) { flex: 0 0 15rem; } }
/* GSP-4c r3 (judge #11): with a day set, the terms booked on or after it wear the frame "Booked before" wears */
.rr-now { display: grid; gap: 10px; min-width: 0; }
.rr-now[data-framed] { padding: 10px 12px; border-left: 3px solid var(--gs-edge); border-radius: 0 var(--gs-r2) var(--gs-r2) 0; background: var(--gs-s1); }
/* GSP-4c r3 (judge #11): the Before → After card's keys — Apply sized to its words, Cancel a ghost beside it */
.diff-card .btn-row > .btn { flex: 0 0 auto; min-width: 120px; padding: 10px 24px; }
.diff-card .btn-row > .btn:not(.btn-primary) { min-width: 0; padding: 10px 16px; border-color: transparent; background: transparent; color: var(--gs-ink-2); }
.diff-card .btn-row > .btn:not(.btn-primary):hover { color: var(--gs-ink); background: rgb(255 255 255 / .06); }
