/* The window frame the mockup builder (mockups/build.py) draws around a screen; the look itself is brand's. */
/* The page carries the theme's ground (app.js theme() sets data-theme on <html> as on #root), so nothing past the app is
   ever the browser's white, dark or light (CONSCROLL3, Gex 2026-11-12: "when scrolling down list it goes white"). */
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--t-surface); }
/* Until app.js has set the theme the page is clear, so the window's start ground shows through (main.go startGround,
   Windows' app mode), never :root's light ground on a dark machine (TR2u console #208 R4). */
html:not([data-theme]), html:not([data-theme]) > body { background: transparent; }
/* The window never scrolls, either way: each long view scrolls in its own box (brand console.css "Scrolling"). Sideways,
   a hidden ⓘ tip at a field's end reached past the right edge and gave the sign-in screens a horizontal scroll bar (a
   tip that opens is moved inside the window, app.js tipShift); downwards, the Ctrl O switcher's 22 orgs ran past the
   app and the window scrolled (CONSCROLL3). */
#root { height: 100%; display: flex; flex-direction: column; overflow: clip; }
#root > .t-screen { flex: 1; display: flex; flex-direction: column; min-height: 0; position: relative; }

/* CONFIX1 (brand tartan-console-firstrun, locked by Gex 2026-11-06): the first run's two links under Sign in, and the
   wait screen's labelled facts (Computer, Key, Org). */
.fr-links { display: flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--t-muted); }
.fr-h { display: flex !important; align-items: center; gap: 8px; }
.fr-facts { display: grid; grid-template-columns: 84px 1fr; gap: 4px 12px; margin: 8px 0 14px; font-size: 13px; line-height: 20px; }
.fr-facts dt { color: var(--t-muted); }
.fr-facts dd { margin: 0; }
.fr-facts code { font: 12.5px/20px var(--t-font-mono); color: var(--t-ink); }

/* The lever band wraps when the window is narrower than its row (brand's console.css sets it nowrap): the Firewall
   page's last filter chips ran past the right edge, where #root clips them. A band that fits keeps its one line. */
.r-levers { flex-wrap: wrap; }

/* The one-passkey join card (ONEPASS1; brand mockups/tartan-console-onepass/onepass.css, locked 2026-11-09): This
   computer's name, then its status line (a dot, the status, a muted reason), and You'll join as's role. */
.op-form { grid-template-columns: 112px 1fr; }
.op-form label.op-top { align-self: start; padding-top: 2px; }
.op-pc code { font: 12.5px/20px var(--t-font-mono); color: var(--t-ink); }
.op-pc__s { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; line-height: 20px; }
.op-pc__s .a-dot { flex: none; transform: translateY(-1px); }
.op-pc__s small { display: block; color: var(--t-muted); font-size: 12.5px; line-height: 18px; }
.a-dot.op-ok { background: var(--t-status-connected); }
.op-role { font-weight: 600; }
/* Invite's switch line (invite.html): its words beside the toggle, muted when greyed (an Owner). */
.op-sw { margin-left: 10px; }
.op-sw--off { color: var(--t-muted); }

/* CONSCROLL1: a row the ↑↓ cursor brings into view (app.js curIntoView) clears the table's sticky header row and foot
   (brand console.css "Scrolling"). */
.a-tablescroll > .a-table tbody tr { scroll-margin-top: 34px; scroll-margin-bottom: 40px; }

/* Get started (FLOW1; brand mockups/tartan-console-getstarted/getstarted.css, locked by Gex 2026-11-13): the Overview's
   panel of numbered steps under the lever band; the next step's number ringed in gold, a done one checked. */
.gs { margin-bottom: 14px; }
.gs .a-panel__h { flex-wrap: wrap; row-gap: 6px; }
.gs-seg button { height: 24px; font-size: 12.5px; }
.gs-list { list-style: none; margin: 0; padding: 0; }
.gs-s { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--a-rule); }
.gs-n { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  font: 600 12px/1 var(--t-font-mono); color: var(--t-muted); box-shadow: inset 0 0 0 1.5px var(--a-rule); }
.gs-n svg { width: 13px; height: 13px; }
.gs-t { flex: 1; min-width: 0; display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 6px; }
.gs-t b { font-weight: 600; }
.gs-t small { flex-basis: 100%; color: var(--t-muted); font-size: 12px; line-height: 16px; }
.gs-s.is-next .gs-n { color: var(--t-ink); box-shadow: inset 0 0 0 1.5px var(--t-gold); }
.gs-s.is-wait .gs-n { color: var(--t-gold); box-shadow: inset 0 0 0 1.5px var(--t-gold); }
.gs-s.is-done .gs-n { color: var(--t-status-connected); box-shadow: inset 0 0 0 1.5px var(--t-status-connected); }
.gs-s.is-done .gs-t b { color: var(--t-muted); font-weight: 500; }
.gs-s.is-todo .gs-t b { color: var(--t-muted); }

/* The code card's Install (FLOW1 PR 3; brand getstarted.css): the switch, Download and the one line under the code. */
.gs-inst { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--a-rule); }
.gs-inst__h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.gs-inst__r { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.gs-inst__r .a-mono { font-size: 12px; }
.gs-inst__note { margin-top: 6px; color: var(--t-muted); font-size: 12px; line-height: 16px; }
