/* access-term — C round 2 — shell. Layout as approved; hierarchy rebuilt from type. */
.os { display: grid; grid-template-rows: 36px minmax(0, 1fr); height: 100vh; }

.sys { display: flex; align-items: center; gap: 16px; padding: 0 16px; background: var(--well); border-bottom: 1px solid var(--rule); font: 500 13px/16px var(--sans); color: var(--ink-2); white-space: nowrap; }
.sys .brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.sys .sep { width: 1px; height: 16px; background: var(--rule); }
.sys .it { display: flex; align-items: center; gap: 8px; }
.sys .it b { font-weight: 700; color: var(--ink); }
.sys .it svg.ic { width: 16px; height: 16px; }
.sys .sp { flex: 1; }
.sys .need { color: var(--hold-ink); font-weight: 700; }
.sys .lost { color: var(--stop); font-weight: 700; }
.sys .clock { color: var(--ink); font: 700 14px/16px var(--sans); font-variant-numeric: tabular-nums; }

/* the conversation is his one channel: by default it is the wider piece (about 60 %, never under 600 px from a
   1000 px window up, 880 px at most); the side region takes the rest. A divider position he set wins (divider.css). 1800 px and up keeps its own split below. */
.main { display: grid; grid-template-columns: clamp(min(600px, 62%), 60%, 880px) minmax(0, 1fr); min-height: 0; }

/* ── conversation ── */
.conv { --tw: 84px; display: flex; flex-direction: column; min-height: 0; min-width: 0; border-right: 1px solid var(--rule); position: relative; }
.job { flex: none; display: flex; align-items: baseline; gap: 16px; padding: 16px 24px 15px; border-bottom: 1px solid var(--rule); }
.job b { font: var(--l1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job span { margin-left: auto; white-space: nowrap; }
.log { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; position: relative; padding-bottom: 12px; }
.rail { position: absolute; left: calc(var(--tw) + 7px); top: 0; bottom: 0; width: 2px; background: var(--rule-2); }
.ev { display: grid; grid-template-columns: var(--tw) 24px minmax(0, 1fr); padding: 10px 24px 10px 0; position: relative; flex: none; }
.ev > .g { text-align: right; }
.ev > .g time { display: block; font: var(--meta); line-height: 28px; color: var(--ink-3); }
.ev > .g b { display: block; font: 700 13px/16px var(--sans); color: var(--ink); margin-top: -4px; }
.ev.say > .g b { font-weight: 600; }
.ev.do > .g b, .ev.chg-ev > .g b { font: 600 12.5px/16px var(--sans); color: var(--ink-2); }
.ev.do > .g b { margin-top: -6px; }
.ev.ask > .g b { color: var(--hold-ink); }
.ev > .g { overflow: hidden; white-space: nowrap; }
.ev > .tk { position: relative; }
.ev > .tk::after { content: ""; position: absolute; left: 9px; top: 13px; width: 9px; height: 2px; background: var(--rule-2); }
.ev.say > .tk::after { background: var(--ink-2); width: 11px; }
.ev.you > .tk::after { left: 3px; top: 9px; width: 10px; height: 10px; background: var(--ink); }
.ev.chg-ev > .tk::after { left: 3px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--ground); border: 2px solid var(--ink); }
.ev.ask > .tk::after { background: var(--hold); transform: rotate(45deg); left: 2px; top: 8px; width: 12px; height: 12px; }
.ev.lost > .tk::after { left: 3px; top: 9px; width: 10px; height: 10px; background: var(--ground); border: 2px solid var(--stop); }
.ev.queued > .tk::after { left: 3px; top: 9px; width: 10px; height: 10px; background: var(--ground); border: 2px dashed var(--ink-2); }
.ev p { font: var(--say); max-width: 30em; }
.ev.you p { font: var(--you); }
.ev.do { padding-top: 4px; padding-bottom: 4px; }
.ev.do > .g time { line-height: 24px; }
.ev.do > .tk::after { top: 11px; }
.act { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 24px; font: var(--do); color: var(--ink-3); }
.act svg.ic { width: 14px; height: 14px; margin-left: -2px; }
.act em { margin-left: auto; font: var(--meta); font-style: normal; font-variant-numeric: tabular-nums; }

/* the veto card: reason first, file second, diff as detail */
.chg { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r); }
.chg-h { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px 2px; }
.chg-h p { font: var(--lead); max-width: none; }
.chg-h .st { margin-left: auto; flex: none; font: 700 13px/26px var(--sans); white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.chg-m { display: flex; gap: 12px; align-items: baseline; padding: 0 16px 12px; }
.chg-m b { font: 500 13px/20px var(--mono); color: var(--ink-2); }
.diff { background: var(--well); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 8px 0; font: 400 12.5px/20px var(--mono); overflow: hidden; }
.diff div { white-space: pre; padding-left: 14px; border-left: 2px solid transparent; overflow: hidden; text-overflow: ellipsis; }
.diff .d { color: var(--ink-3); }
.diff .a { color: var(--ink-2); border-left-color: var(--ink-2); }
.chg-f { display: flex; gap: 8px; padding: 12px 16px 14px; }
.chg-f .btn { flex: 1 1 0; min-width: 0; padding: 0 10px; }
.chg-f .btn.primary { flex: 1.4; }
.kept { display: flex; align-items: baseline; gap: 10px; font: var(--do); color: var(--ink-3); min-height: 24px; }
.kept b { font: 500 13px/20px var(--mono); color: var(--ink-3); }
.kept em { margin-left: auto; font: var(--meta); font-style: normal; font-variant-numeric: tabular-nums; }

/* a question */
.ask-l { font: 700 13px/28px var(--sans); color: var(--hold-ink); }
.ask-q { font: 700 22px/30px var(--cond); margin: 10px 0 14px; max-width: 21em; }
.choices { border: 1px solid var(--rule-2); border-radius: var(--r); background: var(--panel); }
.choice { display: grid; grid-template-columns: 32px 1fr auto; gap: 14px; align-items: center; width: 100%; padding: 10px 14px; min-height: 60px; border-top: 1px solid var(--rule); }
.choice:first-child { border-top: 0; }
.choice > i { font: 700 16px/30px var(--sans); font-style: normal; width: 32px; height: 32px; border: 1px solid var(--rule-2); border-radius: var(--r); text-align: center; }
.choice b { font: 600 16px/22px var(--sans); display: block; }
.choice small { font: 400 14px/20px var(--sans); color: var(--ink-2); display: block; }
.choice .rec { font: 600 12.5px/16px var(--sans); color: var(--ink-2); }
.choice.hover { background: var(--panel-2); }
.ask-hint { font: var(--do); color: var(--ink-3); margin-top: 10px; display: flex; gap: 6px; align-items: center; }

/* Now */
.now { flex: none; border-top: 1px solid var(--rule); background: var(--panel); display: grid; grid-template-columns: var(--tw) 24px minmax(0, 1fr); padding: 14px 24px 14px 0; position: relative; }
.now .nl { text-align: right; font: 700 13px/28px var(--sans); color: var(--ink); }
.now .tk { position: relative; }
.now .tk::before { content: ""; position: absolute; left: 7px; top: -14px; height: 24px; width: 2px; background: var(--rule-2); }
.now .tk .lamp { position: absolute; left: 2px; top: 8px; width: 12px; height: 12px; }
.now-g { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: center; }
.now-1 { grid-column: 1; grid-row: 1; display: flex; align-items: baseline; gap: 12px; min-height: 28px; }
.now-1 b { font: 700 18px/28px var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.now-1 b .mono { font-weight: 600; }
.now-1 .t { margin-left: auto; font: 500 15px/28px var(--sans); font-variant-numeric: tabular-nums; color: var(--ink-2); }
.now-g .btn.stop { grid-column: 2; grid-row: 1; }
.now-2 { grid-column: 1 / 3; grid-row: 2; display: flex; align-items: flex-end; gap: 16px; margin-top: 12px; }
.now-2 .bus { flex: 1; }
.now-2 .cnt { font: 500 13.5px/16px var(--sans); color: var(--ink-2); white-space: nowrap; }
.now-2 .cnt b { color: var(--ink); font-weight: 700; }
.cmp { flex: none; padding: 0 24px 16px; background: var(--panel); }
.field { display: flex; align-items: center; height: 52px; border: 1px solid var(--rule-2); border-radius: var(--r); background: var(--well); }
.field .ib { width: 48px; height: 50px; display: grid; place-items: center; color: var(--ink-2); }
.field .to { flex: none; display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 6px 0 10px; margin-right: 12px; border: 1px solid var(--rule-2); border-radius: var(--r); font: 700 14px/16px var(--sans); color: var(--ink); white-space: nowrap; }
.field .to i { font-style: normal; font-weight: 500; color: var(--ink-3); }
.field .to svg.ic { width: 14px; height: 14px; color: var(--ink-3); }
.field .to.hold { border-color: var(--hold); }
.field span { flex: 1; min-width: 0; color: var(--ink-3); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field .hint { flex: none; display: flex; gap: 6px; align-items: center; font: var(--meta); padding-right: 4px; }

/* ── side region ── */
.side { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--well); }
.tabs { height: 48px; flex: none; display: flex; align-items: stretch; gap: 2px; padding: 0 12px; border-bottom: 1px solid var(--rule); background: var(--ground); }
.tab { display: flex; align-items: center; gap: 8px; padding: 0 12px; font: 500 14.5px/16px var(--cond); color: var(--ink-3); position: relative; white-space: nowrap; }
.tab .c { font: var(--meta); font-variant-numeric: tabular-nums; }
.tab.on { color: var(--ink); font-weight: 700; }
.tab.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; background: var(--ink); }
.tab.tapp { color: var(--ink-2); }
.tab.tapp.on { color: var(--ink); }
.tabs .tsep { width: 1px; background: var(--rule); margin: 12px 8px; }
.tabs .find { margin-left: auto; align-self: center; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px 0 10px; border: 1px solid var(--rule-2); border-radius: var(--r); color: var(--ink-2); font: 500 14px/16px var(--sans); width: 216px; }
.tabs .find svg.ic { width: 16px; height: 16px; }
.tabs .find kbd { margin-left: auto; }
.watch { flex: 1; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; padding: 12px; }
.pane { background: var(--ground); border: 1px solid var(--rule); border-radius: var(--r); display: flex; flex-direction: column; min-height: 0; min-width: 0; overflow: hidden; }
.pane-h { height: 44px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.pane-h b { font: 700 15px/20px var(--cond); }
.pane-h .m { font: var(--meta); color: var(--ink-3); }
.pane-h .r { margin-left: auto; display: flex; align-items: center; gap: 18px; font: var(--meta); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pane-h .r > span { display: flex; align-items: center; gap: 7px; }
.pane-h .r b { font: 700 13.5px/16px var(--sans); color: var(--ink); }
.md { flex: 1; min-height: 0; display: grid; grid-template-columns: 252px minmax(0, 1fr); }
.cl { border-right: 1px solid var(--rule); overflow: hidden; }
.cl-i { display: block; width: 100%; padding: 11px 14px 11px 13px; border-bottom: 1px solid var(--rule); border-left: 3px solid transparent; }
.cl-i.on { background: var(--panel); border-left-color: var(--ink); }
.cl-i .s { display: flex; align-items: center; gap: 8px; font: 500 12.5px/16px var(--sans); color: var(--ink-3); }
.cl-i .s em { margin-left: auto; font-style: normal; font-variant-numeric: tabular-nums; }
.cl-i .s.strong { color: var(--ink); font-weight: 700; }
.cl-i .s.live { color: var(--ink-2); font-weight: 600; }
.cl-i b { display: block; font: 600 15px/20px var(--sans); margin-top: 4px; }
.cl-i.q b { color: var(--ink-3); font-weight: 500; }
.cl-i u { display: block; text-decoration: none; font: 400 12px/16px var(--mono); color: var(--ink-3); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dt { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.dt-top { flex: none; padding: 16px 20px 14px; border-bottom: 1px solid var(--rule); }
.dt-top h2 { font: var(--l1); max-width: 24em; }
.dt-top div { display: flex; align-items: center; gap: 10px; margin-top: 8px; font: var(--meta); color: var(--ink-3); white-space: nowrap; }
.dt-top div b { font: 500 13px/16px var(--mono); color: var(--ink-2); }
.dt-top div .w { color: var(--ink-2); display: flex; gap: 7px; align-items: center; }
.dt-top div .n { margin-left: auto; font-variant-numeric: tabular-nums; }
.code { flex: 1; min-height: 0; overflow: hidden; background: var(--well); padding: 8px 0; font: 400 12.5px/20px var(--mono); }
.code div { display: grid; grid-template-columns: 44px 20px minmax(0, 1fr); white-space: pre; color: var(--ink-3); border-left: 2px solid transparent; }
.code u { text-decoration: none; text-align: right; color: var(--clear); font-variant-numeric: tabular-nums; }
.code s { text-decoration: none; text-align: center; }
.code .d { color: var(--ink-3); }
.code .a { color: var(--ink-2); border-left-color: var(--ink-2); }
.code .live { border-left-color: var(--run); color: var(--ink); }
.code .caret { display: inline-block; width: 7px; height: 15px; background: var(--run); vertical-align: -3px; margin-left: 1px; }
.code .h1 { display: none; }
.code .gap { display: block; font: 500 12px/26px var(--sans); color: var(--ink-3); padding-left: 64px; margin: 4px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); border-left: 0; }
.dt-f { flex: none; display: flex; align-items: center; gap: 12px; padding: 0 12px 0 20px; height: 52px; border-top: 1px solid var(--rule); font: var(--do); color: var(--ink-3); }
.dt-f .r { margin-left: auto; display: flex; gap: 8px; }
.stalebar { flex: none; display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 40px; background: var(--panel); border-bottom: 1px solid var(--rule); font: 600 14px/20px var(--sans); color: var(--ink); }
.stalebar span { font-weight: 400; color: var(--ink-2); }

/* agent board: three levels in a tile; amber dominates; done recedes */
.needs { display: flex; align-items: center; gap: 14px; margin: 12px 12px 0; padding: 0 10px 0 16px; min-height: 56px; background: var(--hold); color: var(--on-hold); border-radius: var(--r); }
.needs .lamp { background: var(--on-hold); transform: rotate(45deg); width: 10px; height: 10px; }
.needs b { font: 700 17px/24px var(--cond); white-space: nowrap; }
.needs p { font: 500 15px/20px var(--sans); flex: 1; min-width: 0; }
.needs em { font: 600 13px/16px var(--sans); font-style: normal; font-variant-numeric: tabular-nums; }
.needs .btn { height: 36px; font-size: 15px; padding: 0 14px; }
.needs.stale { background: none; box-shadow: inset 0 0 0 1px var(--rule-2); color: var(--ink-2); }
.needs.stale .lamp { background: none; border: 2px solid var(--rule-2); }
/* a tile is as wide as an agent's name needs (184 px at least) and a row holds as many as fit: a name is cut only when truly out of room */
.strips { display: grid; grid-template-columns: repeat(auto-fit, minmax(184px, 1fr)); gap: 6px; padding: 8px 12px 12px; }
.strip { display: block; height: 54px; padding: 7px 10px 7px 10px; background: var(--panel); border-left: 3px solid var(--run); border-radius: var(--r); min-width: 0; }
.strip .a { display: flex; align-items: baseline; gap: 8px; }
.strip .a b { font: 700 15px/20px var(--cond); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.strip .a em { margin-left: auto; font: var(--meta); line-height: 20px; color: var(--ink-3); font-style: normal; font-variant-numeric: tabular-nums; }
.strip .b { font: 400 13px/20px var(--sans); color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.strip.done { height: 30px; padding: 5px 10px; background: none; border-left: 2px solid var(--rule-2); }
.strip.done .a b { font: 500 13px/20px var(--sans); color: var(--ink-3); }
.strip.done .b { display: none; }
.strips.dn { padding-top: 0; margin-top: -6px; }
.strips.stale .strip { border-left-color: var(--rule-2); }

/* the full board */
.board { flex: 1; min-height: 0; display: flex; flex-direction: column; margin: 12px; }
.sum { flex: none; display: grid; grid-template-columns: repeat(4, 1fr) 1.5fr; border-bottom: 1px solid var(--rule); }
.sum > div { padding: 12px 16px 12px; border-right: 1px solid var(--rule); }
.sum > div:last-child { border-right: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.sum b { font: 700 34px/36px var(--cond); display: block; font-variant-numeric: tabular-nums; }
.sum span { font: 600 13.5px/16px var(--sans); color: var(--ink-2); display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.sum .zero b { color: var(--clear); }
.sum .zero span { color: var(--ink-3); }
.sum .first { box-shadow: inset 0 3px 0 var(--hold); }
.sum .cap { font: var(--meta); color: var(--ink-3); }
.rows { flex: 1; min-height: 0; overflow: hidden; }
.gh { display: grid; grid-template-columns: minmax(0, 1fr) 64px 104px; column-gap: 12px; align-items: center; height: 30px; padding: 0 0 0 16px; font: 700 13px/16px var(--sans); color: var(--ink); border-bottom: 1px solid var(--rule); background: var(--well); }
.gh span { display: flex; gap: 8px; }
.gh em { font-style: normal; color: var(--ink-3); font-weight: 500; }
.gh .th { font: var(--meta); color: var(--ink-3); }
.rw { display: grid; grid-template-columns: 16px 160px minmax(0, 1fr) 64px 104px; column-gap: 12px; align-items: center; height: 36px; padding: 0 0 0 16px; border-bottom: 1px solid var(--rule); }
.rw b { font: 700 15px/20px var(--cond); }
.rw .w { font: 400 14.5px/20px var(--sans); color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rw .t { font: var(--meta); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.rw .x { display: flex; justify-content: flex-end; padding-right: 12px; }
.rw.hover { background: var(--panel); }
.rw.done { height: 30px; }
.rw.done b { font: 500 13.5px/20px var(--sans); color: var(--ink-3); }
.rw.done .w { font-size: 13px; color: var(--ink-3); }
.rw.hold { height: auto; min-height: 76px; padding-top: 10px; padding-bottom: 10px; background: var(--hold); color: var(--on-hold); border-bottom: 0; grid-template-columns: 16px 160px minmax(0, 1fr) 64px auto; }
.rw.hold .lamp { background: var(--on-hold); }
.rw.hold b { font-size: 17px; }
.rw.hold .w { color: var(--on-hold); white-space: normal; font: 600 16px/22px var(--sans); }
.rw.hold .w small { display: block; font: 500 13px/18px var(--sans); }
.rw.hold .t { color: var(--on-hold); font-weight: 600; }
.bf { flex: none; display: flex; align-items: center; gap: 8px; height: 68px; padding: 0 12px 0 16px; border-top: 1px solid var(--rule); font: var(--do); color: var(--ink-3); }
.bf p { margin-right: auto; max-width: 30em; }

/* evidence for a question */
.evd { flex: 1; min-height: 0; overflow: hidden; padding: 0 20px 16px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 0 32px; align-content: start; }
.evd .wide { grid-column: 1 / 3; }
.evd h2 { font: var(--l1); padding: 16px 0 12px; }
.evd h3 { font: 700 13px/16px var(--sans); color: var(--ink); padding: 10px 0 8px; border-bottom: 1px solid var(--rule-2); }
.evd ul { list-style: none; }
.evd li { padding: 8px 0; border-bottom: 1px solid var(--rule); font: 400 14.5px/20px var(--sans); color: var(--ink-2); display: grid; grid-template-columns: 136px 1fr; gap: 12px; }
.evd li b { font: 600 14.5px/20px var(--sans); color: var(--ink); }
.tb { width: 100%; border-collapse: collapse; font: 400 15px/20px var(--sans); }
.tb td, .tb th { height: 40px; border-bottom: 1px solid var(--rule); text-align: right; padding: 0 0 0 12px; font-weight: 400; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.tb th { height: 28px; font: var(--meta); color: var(--ink-3); }
.tb td:first-child, .tb th:first-child { text-align: left; padding-left: 0; }
.tb td b { font-weight: 700; color: var(--ink); }
.tb .k { display: inline-block; width: 24px; height: 24px; border: 1px solid var(--rule-2); border-radius: var(--r); font: 700 13px/22px var(--sans); text-align: center; margin-right: 10px; color: var(--ink); }
.tb .bar { display: block; height: 6px; background: var(--ink-2); }
.tb td.bc { width: 30%; padding-left: 16px; }
.big { font: 700 44px/48px var(--cond); margin: 8px 0 0; font-variant-numeric: tabular-nums; }
.big small { font: 600 20px/24px var(--cond); color: var(--ink-2); margin-left: 4px; }
.evd .note { font: var(--do); color: var(--ink-3); margin-top: 6px; }

/* ── lock, boot ── */
.lock { height: 100vh; display: grid; grid-template-rows: minmax(0, 1fr) 48px; }
.lock-m { display: grid; grid-template-columns: minmax(0, 1fr) 500px; gap: 80px; padding: 0 96px; align-items: center; }
.lk-time { font: 500 160px/152px var(--cond); letter-spacing: -.03em; margin-left: -6px; font-variant-numeric: tabular-nums; }
.lk-date { font: 500 24px/32px var(--cond); color: var(--ink-2); margin-top: 12px; }
.lk-user { margin-top: 64px; }
.lk-user b { font: 700 22px/28px var(--cond); display: block; }
.lk-user span { font: var(--do); color: var(--ink-3); display: block; margin-top: 2px; }
.lk-form { margin-top: 16px; display: flex; gap: 8px; width: 440px; }
.lk-in { flex: 1; height: 52px; border: 1px solid var(--ink); border-radius: var(--r); background: var(--well); display: flex; align-items: center; padding: 0 14px; gap: 10px; outline: 2px solid var(--ink); outline-offset: 2px; }
.lk-in svg.ic { color: var(--ink-2); width: 18px; height: 18px; }
.lk-in .dots { letter-spacing: .3em; font-size: 13px; }
.lk-in .caret { width: 2px; height: 22px; background: var(--ink); margin-left: -6px; }
.lk-form .btn { height: 52px; padding: 0 24px; font-size: 17px; }
.lk-hint { margin-top: 16px; font: var(--meta); color: var(--ink-3); display: flex; gap: 6px; align-items: center; }
.lk-board { border: 1px solid var(--rule); border-radius: var(--r); background: var(--panel); }
.lk-board h2 { font: 700 13px/16px var(--sans); padding: 14px 20px; border-bottom: 1px solid var(--rule); display: flex; color: var(--ink-2); }
.lk-board h2 span { margin-left: auto; font: var(--meta); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.lk-job { padding: 18px 20px 20px; }
.lk-job p { font: 700 24px/32px var(--cond); }
.lk-job .bus { margin: 18px 0 12px; height: 20px; gap: 4px; }
.lk-job .bus i { height: 12px; } .lk-job .bus i.h { height: 20px; } .lk-job .bus i.d { height: 5px; }
.lk-job .cnt { display: flex; gap: 20px; font: 500 14px/16px var(--sans); color: var(--ink-2); }
.lk-job .cnt > span { display: flex; align-items: center; gap: 8px; }
.lk-job .cnt b { color: var(--ink); font-weight: 700; }
.lk-need { display: grid; grid-template-columns: 16px 1fr; gap: 2px 10px; align-items: center; padding: 14px 20px; background: var(--hold); color: var(--on-hold); }
.lk-need .lamp { background: var(--on-hold); }
.lk-need b { font: 700 17px/24px var(--sans); }
.lk-need span { grid-column: 2; font: 500 14px/20px var(--sans); }
.lk-mach { display: grid; grid-template-columns: 16px 100px 1fr auto; column-gap: 8px; align-items: center; padding: 0 20px; height: 42px; border-bottom: 1px solid var(--rule); }
.lk-mach:last-child { border-bottom: 0; }
.lk-mach b { font: 700 15px/20px var(--cond); }
.lk-mach span { font: 400 14px/20px var(--sans); color: var(--ink-2); }
.lk-mach em { font: var(--meta); font-style: normal; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.lock-b { display: flex; align-items: center; gap: 16px; padding: 0 12px 0 16px; border-top: 1px solid var(--rule); background: var(--well); font: 500 13px/16px var(--sans); color: var(--ink-2); white-space: nowrap; }
.lock-b .brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.lock-b .sp { flex: 1; }
.lock-b .it { display: flex; align-items: center; gap: 8px; }
.lock-b .it svg.ic, .lock-b .pw svg.ic { width: 16px; height: 16px; }
.lock-b .pw { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px; border: 1px solid var(--rule-2); border-radius: var(--r); color: var(--ink-2); font-weight: 600; }
.lock-b .sep { width: 1px; height: 16px; background: var(--rule); }
.boot { height: 100vh; display: grid; place-items: center; position: relative; }
.boot-c { display: flex; flex-direction: column; align-items: center; margin-top: -24px; }
.boot-c .wm { font-size: 20px; line-height: 24px; margin-top: 32px; }
.boot-c .bus { width: 240px; height: 4px; gap: 4px; margin-top: 56px; }
.boot-c .bus i { height: 4px; }
.boot-c p { margin-top: 16px; font: var(--do); color: var(--ink-2); }
.boot-f { position: absolute; left: 0; right: 0; bottom: 32px; text-align: center; font: var(--meta); color: var(--ink-3); }

.wide-only { display: none !important; }
.day { flex: none; align-items: center; gap: 12px; padding: 12px 24px 12px calc(var(--tw) + 24px); font: 700 12.5px/16px var(--sans); color: var(--ink-3); position: relative; }
.day::after { content: ""; flex: 1; height: 1px; background: var(--rule); }

@media (min-height: 1000px) { .code div.h1 { display: grid; } .code div.gap.h1 { display: block; } }
@media (min-height: 1000px) { .code div.gap.h3 { display: none; } }
@media (max-height: 820px) { .code .h3 { display: none; } }
@media (max-height: 820px) and (min-width: 700px) {
  .evd .wide, .code .h2, .short-hide { display: none !important; }
  .job { padding: 10px 24px 9px; } .dt-top { padding: 10px 20px; } .dt-f { height: 44px; }
  .strip { height: 46px; padding-top: 3px; padding-bottom: 3px; } .strip.done { height: 26px; }
  .needs { min-height: 48px; } .now { padding-top: 10px; padding-bottom: 10px; } .ev { padding-top: 7px; padding-bottom: 7px; }
  .rw { height: 31px; } .rw.done { height: 26px; } .rw.hold { min-height: 60px; padding-top: 6px; padding-bottom: 6px; } .sum b { font-size: 28px; line-height: 30px; } .sum > div { padding: 8px 16px; } .bf { height: 56px; }
  .lk-user { margin-top: 40px; } .lk-time { font-size: 128px; line-height: 120px; }
}
@media (min-width: 1800px) {
  .main { grid-template-columns: 700px minmax(0, 1fr); }
  .conv { --tw: 92px; }
  .ev.wide-only { display: grid !important; } .day.wide-only { display: flex !important; }
  .watch { grid-template-rows: minmax(0, 1fr); grid-template-columns: minmax(0, 1fr) 336px; }
  .rp .strips { grid-template-columns: 1fr; align-content: start; overflow: hidden; }
  .rp .needs { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 14px 14px; }
  .rp .needs .lamp { display: none; } .rp .needs .btn { width: 100%; }
  .rp .pane-h .m, .rp .fy { display: none; }
  .md { grid-template-columns: 288px minmax(0, 1fr); }
  .lock-m { padding: 0 160px; grid-template-columns: minmax(0, 1fr) 540px; }
}
@media (max-width: 1400px) and (min-width: 700px) {
  .conv { --tw: 76px; }
  .md { grid-template-columns: 220px minmax(0, 1fr); }
  .tabs .find { width: 150px; }
  .lock-m { padding: 0 64px; gap: 56px; grid-template-columns: minmax(0, 1fr) 450px; }
}

/* ── phone ── */
.phone { font-size: 17px; }
.phone .os { grid-template-rows: 47px 52px minmax(0, 1fr); }
.phone .ios { display: flex; align-items: center; justify-content: space-between; padding: 14px 30px 0 44px; font: 600 16px/20px var(--sans); background: var(--well); }
.phone .ios span { display: flex; gap: 6px; align-items: center; }
.phone .sys { height: 52px; padding: 0 4px 0 16px; gap: 10px; font-size: 14px; }
.phone .sys .ob { width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink); }
.phone .sys .x { color: var(--ink); font: 700 19px/24px var(--cond); }
.phone .main { grid-template-columns: minmax(0, 1fr); }
.phone .conv { --tw: 4px; border-right: 0; }      /* no speaker column on the phone: the words get the width (core.css) */
.phone .field .to { height: 44px; margin-right: 10px; }
.phone .field { height: 56px; }
.phone .ev { padding: 9px 16px 9px 0; }
.phone .ev p { font: 400 17px/26px var(--sans); }
.phone .ev.you p { font: 700 20px/28px var(--sans); }
.phone .ev > .g b { font-size: 12.5px; }
.phone .act { min-height: 28px; font-size: 15px; }
.phone .chg-h { padding: 12px 12px 2px; } .phone .chg-m { padding: 0 12px 10px; } .phone .chg-f { padding: 12px; }
.phone .chg-f .btn { padding: 0 8px; }
.phone .diff div { padding-left: 10px; }
.phone .now { padding: 12px 12px 12px 0; }
.phone .now-2 { gap: 10px; flex-direction: column; align-items: stretch; }
.phone .cmp { padding: 0 12px 34px; }
.phone .ask-q { font-size: 21px; line-height: 28px; margin: 6px 0 12px; }
.phone .choice { padding: 10px 12px; gap: 12px; grid-template-columns: 32px 1fr; }
.phone .choice .rec { display: none; }

.lostmode .cl-i.q u, .lostmode .code .h3 { display: none; }
.lostm .l { fill: var(--stop); }
