/* JDM Desk · Quote workspace (451R). Builds on today.css cards and register.css buttons. Square corners, mono codes, a dot for status. */
.qscreen .acts{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.qback{display:inline-block;margin-bottom:10px;color:var(--t3);font-size:13px;line-height:20px;text-decoration:none}.qback:hover{color:var(--ink)}
.qwrap{display:flex;flex-direction:column;gap:24px;padding:24px 24px 48px}
.qscreen .ph{padding-top:28px}.qscreen .titlerow{margin-top:16px}.qscreen .lede{margin-top:10px}
.qback{display:inline-flex;align-items:center;gap:4px;margin-bottom:16px}.qback svg{width:16px;height:16px}
.eyebrow .sl{color:var(--t3);font-weight:400}.eyebrow .mono{text-transform:none}
.qtl{display:flex;align-items:baseline;gap:12px;min-width:0}
.qchip{display:none} /* L2: a code is text; the eyebrow above the title already carries it in mono */
.qrd{display:inline-flex;align-items:center;gap:8px;margin-inline-end:8px;color:var(--t2);font-size:14px;line-height:20px;white-space:nowrap}
.qtabs{display:flex;align-items:stretch;gap:24px;border-bottom:1px solid var(--line);overflow-x:auto}
.qtabs .tab{display:flex;align-items:baseline;gap:8px;height:48px;padding:0;border:0;border-bottom:2px solid transparent;background:none;cursor:pointer;color:var(--ink);font:400 14px/20px var(--body);white-space:nowrap}
.qtabs .tab b{font-weight:500}.qtabs .tab[aria-selected=true]{border-bottom-color:var(--ink)}
.qtabs .qnew{margin-inline-start:auto;align-self:center;flex:none}.qnew svg{width:16px;height:16px}
.qobar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.qobar .btn{margin-inline-start:8px}
.qsteps{display:grid;grid-template-columns:1fr 1fr 1fr auto;border:1px solid var(--line);background:var(--surface);border-radius:var(--r-2);overflow:clip}
.qstep{display:flex;align-items:flex-start;gap:12px;padding:20px 24px;min-width:0;border-inline-end:1px solid var(--line)}
.qstep>div{display:flex;flex-direction:column;min-width:0}.qstep b{font:500 14px/20px var(--body)}.qstep .sub{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* step mark: a small tick or a hollow ring on the label line, not a badge */
.qck{display:grid;place-items:center;width:18px;height:18px;margin-top:2px;flex:none;border-radius:50%;border:1.5px solid var(--line-strong);color:var(--ink)}.qck.on{border-color:var(--ink)}.qck svg{width:12px;height:12px;stroke-width:2.2}
.qtotal{display:flex;gap:32px;align-items:center;padding:20px 24px}.qtotal div{display:flex;flex-direction:column}
.qtotal span{font:var(--lbl);color:var(--t3)}.qtotal b{font:500 24px/32px var(--body);letter-spacing:-.01em}
.qlines{border:1px solid var(--line);background:var(--surface);border-radius:var(--r-2);overflow:clip}
.qlh{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:12px 24px;min-height:56px}
.qlh h2{display:flex;align-items:baseline;gap:12px;margin:0;font:500 15px/22px var(--body)}
.qlt{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.qfind{width:220px;margin:0}
.qln{display:grid;grid-template-columns:56px minmax(0,1fr) 56px 72px 96px 104px 56px 96px 80px 156px;gap:12px;padding:8px 24px;border-top:1px solid var(--line-soft);font-size:14px;line-height:20px;align-items:center;position:relative}
.nocost .qln{grid-template-columns:56px minmax(0,1fr) 56px 72px 96px 104px 56px 156px}
.qln.flag::before{content:'';position:absolute;inset-inline-start:0;top:0;bottom:0;width:2px;background:var(--accent)}
.qh{border-top:1px solid var(--line);color:var(--t3);font:var(--lbl)}
.qh span:nth-child(n+3){text-align:end}.qh span:nth-child(4),.qh span:nth-child(7){text-align:start}
.qln .qc{color:var(--t2)}.qd{display:flex;flex-direction:column;min-width:0}.qd b{font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.qq,.qm,.qp{text-align:end;white-space:nowrap}.qm{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px}.qu,.qv{color:var(--t2)}
.qa{display:flex;gap:2px;justify-content:flex-end}
/* Click language v2: R8 editable values and R9 line actions. */
.qln .ed{cursor:pointer;padding:2px 4px;margin:-2px -4px;border-radius:var(--r-1)}
.qln .ed:not(.qd){text-decoration:underline dotted var(--link-line);text-decoration-thickness:1px;text-underline-offset:5px}
.qln .qd.ed b{text-decoration:underline dotted var(--link-line);text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-skip-ink:none}
.qln .ed:hover,.qln .ed:focus-visible{background:var(--link-bg);color:var(--link);outline:none}.qln .qd.ed:hover b,.qln .qd.ed:focus-visible b{color:var(--link)}
.qln .ed:hover,.qln .ed:focus-visible{text-decoration-color:var(--link)}
.qa .btn.ghost[data-q=editline]{color:var(--link)}.qa .btn.ghost[data-q=editline]:hover,.qa .btn.ghost[data-q=editline]:focus-visible{background:var(--link-bg)}
.qa .btn.ghost[data-q=rmline]{color:var(--t2)}.qa .btn.ghost[data-q=rmline]:hover,.qa .btn.ghost[data-q=rmline]:focus-visible{color:var(--bad);background:var(--m-bad-bg)}
.qgh{display:flex;align-items:center;gap:8px;height:36px;padding:0 24px 0 16px;background:var(--well);border-top:1px solid var(--line);box-shadow:inset 0 -1px 0 var(--line);font:var(--lbl);color:var(--t2)}
.qgh .qgl{display:flex;gap:8px;flex:1}.qgh b{font:500 14px/20px var(--body);letter-spacing:0;text-transform:none;color:var(--ink)}
.qfold{display:grid;place-items:center;width:24px;height:24px;border:0;background:none;color:var(--t3);cursor:pointer;border-radius:var(--r-1)}.qfold svg{width:16px;height:16px}.qfold:hover{background:var(--line-soft)}.qfold:focus-visible{outline:2px solid var(--ink);outline-offset:1px}
.qlf{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 24px;border-top:1px solid var(--line);background:var(--well)}.qlf b{font:500 15px/22px var(--body)}
/* The total and the one next action stay in view while you work the lines (look-quote-footer): the bar sticks to the foot of the screen, then rests under the table. */
.qlf{position:sticky;bottom:0;z-index:3}.qlr{display:flex;align-items:center;gap:16px}.qlr .num{font-variant-numeric:tabular-nums}
.qwarn{margin:0;font-size:13px;line-height:20px}
.qcards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.qscreen .tdc{border-radius:var(--r-2)}
@media (max-width:1180px){.qln,.nocost .qln{grid-template-columns:48px minmax(0,1fr) 48px 64px 88px 96px 156px}.qln>:nth-child(7),.qln>:nth-child(8),.qln>:nth-child(9){display:none}.qh>:nth-child(7),.qh>:nth-child(8),.qh>:nth-child(9){display:none}.nocost .qln>:nth-child(7){display:none}.qsteps{grid-template-columns:1fr 1fr}.qtotal{grid-column:1/-1;border-top:1px solid var(--line)}.qcards{grid-template-columns:minmax(0,1fr)}}
@media (max-width:760px){.qwrap{padding:12px 16px 32px}.qln,.nocost .qln{grid-template-columns:minmax(0,1fr) 96px}.qln>*{display:none}.qln>.qd,.qln>.qam{display:flex}.qln>.qa{display:flex;grid-column:1/-1;justify-content:flex-start}.qh{display:none}.qsteps{grid-template-columns:1fr}.qstep{border-inline-end:0;border-bottom:1px solid var(--line)}.qtl{flex-wrap:wrap}.qfind{width:100%}}
@media (max-width:640px){.qscreen .titlerow{flex-direction:column;align-items:flex-start;gap:12px}.qscreen .acts{justify-content:flex-start}}
/* Job workspace */
.jtop{padding:16px 24px 0;display:flex;flex-direction:column;gap:12px}
.jrib{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;margin:0;padding:0;list-style:none;border:1px solid var(--line);background:var(--surface)}
.jrib li{display:flex;flex-direction:column;gap:2px;padding:8px 16px;border-inline-start:1px solid var(--line);font-size:13px;line-height:20px;min-width:0}.jrib li:first-child{border-inline-start:0}
.jrib li span{display:flex;align-items:center;gap:8px;font-weight:500;color:var(--t3)}.jrib li.now span,.jrib li.done span{color:var(--ink)}
.jrib li em{font-style:normal;color:var(--t3);font-size:13px;line-height:20px;padding-inline-start:16px}.jrib li.skipped{opacity:.55}
.jnext{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:12px 16px;border:1px solid var(--line);border-inline-start:3px solid var(--ink);background:var(--surface)}
.jnext.flag{border-inline-start-color:var(--warn)}.jnext>div:first-child{display:flex;flex-direction:column;gap:2px}
.jnext .k{font:var(--lbl);color:var(--t3)}.jnext b{font:500 18px/26px var(--body)}
/* Job header (J1): next step, figures and references stay with the title. spec/desk2/look-job-header.md */
.jhead .lede{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}
.jhead .jflag{margin-inline-start:4px}
.jhs{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;margin-top:12px;align-items:stretch}
.jhs .jnext{margin:0}
.jfacts{display:flex;margin:0;border:1px solid var(--line);border-radius:var(--r-2);background:var(--surface)}
.jfacts>div{display:flex;flex-direction:column;justify-content:center;gap:2px;min-width:0;padding:8px 16px;border-inline-start:1px solid var(--line)}.jfacts>div:first-child{border-inline-start:0}
.jfacts dt{margin:0;font:var(--lbl);color:var(--t3);white-space:nowrap}
.jfacts dd{margin:0;font:500 15px/22px var(--body);color:var(--ink);white-space:nowrap}.jfacts dd.num{font-variant-numeric:tabular-nums}
.jfacts dd.none{color:var(--t3);font-weight:400}
.jfacts dd .sub{display:block;font:400 13px/18px var(--body);color:var(--t3)}
.jfacts dd.late{color:var(--bad)}.jfacts dd.late .sub{color:var(--t3)}
.jrefs{display:flex;flex-wrap:wrap;gap:2px 16px;margin-top:10px}
.jref{display:inline-flex;align-items:baseline;gap:6px;margin:0;padding:2px 0;border:0;background:none;color:var(--ink);font:400 13px/20px var(--body);text-align:start}
.jref .l{color:var(--t3)}.jref b{font-weight:500}.jref.none b{color:var(--t3);font-weight:400}
button.jref{cursor:pointer;border-radius:var(--r-1)}
button.jref b{text-decoration:underline dotted;text-decoration-color:var(--line-strong);text-underline-offset:3px}
button.jref:hover b,button.jref:focus-visible b{color:var(--link);text-decoration-color:var(--link);background:var(--well)}
button.jref:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
@media (max-width:1180px){.jhs{grid-template-columns:minmax(0,1fr)}.jfacts>div{flex:1 1 auto}}
/* short laptop window: the header scrolls with the page rather than leave under half the screen to the body */
@media (min-width:1001px) and (max-height:760px){.screen:has(>.jhead+.pbody){display:block;overflow:auto}.screen:has(>.jhead+.pbody)>.jhead{position:static}.screen>.jhead+.pbody{overflow:visible}}
/* phone: three figures to a row, the promise on its own row */
@media (max-width:640px){.jfacts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;background:var(--line);overflow:clip}.jfacts>div{grid-column:span 2;border-inline-start:0;background:var(--surface);padding:8px 12px}.jfacts>div:nth-child(4),.jfacts>div:nth-child(5){grid-column:span 3}.jfacts>.jprom{grid-column:1/-1}.jfacts dd{white-space:normal}}
.jleg{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) 120px 110px 120px;gap:12px;padding:8px 16px;border-top:1px solid var(--line);font-size:14px;line-height:20px;align-items:start}
.jleg.jh{border-top:0;color:var(--t3);font:var(--lbl)}
.tdb .tdr .schip{flex:none}
@media (max-width:1000px){.jtop{padding:16px 16px 0}}
@media (max-width:640px){.jleg{grid-template-columns:minmax(0,1fr) auto}.jleg>span:nth-child(2),.jleg>span:nth-child(3),.jleg.jh{display:none}}
.qmain>.tdc{margin-bottom:12px}.qscreen .tdc .facts{margin:0;padding:6px 16px}
@media (max-width:1000px){.jrib{overflow-x:auto}}
@media (max-width:640px){.jrib{grid-auto-flow:column;grid-auto-columns:minmax(112px,1fr)}.jrib li{border-top:0;border-inline-start:1px solid var(--line)}.jrib li:first-child{border-inline-start:0}}
.jch{margin:0;padding:8px 16px;background:var(--well);border-bottom:1px solid var(--line);font:var(--lbl);color:var(--t3)}.tdb>.jch:not(:first-child){border-top:1px solid var(--line)}
/* Line picker (add a line): service list, rate-card note, segmented choices. */
.dlg .lp-list{max-height:280px;overflow:auto;border:1px solid var(--line)}
.dlg .lp-row{display:grid;grid-template-columns:minmax(0,1fr) 64px 104px;gap:12px;align-items:center;width:100%;min-height:44px;padding:8px 12px;border:0;border-top:1px solid var(--line-soft);background:none;color:var(--ink);text-align:start;cursor:pointer;font:400 14px/20px var(--body)}
.dlg .lp-row:first-child{border-top:0}
.dlg .lp-row:hover,.dlg .lp-row:focus-visible{background:var(--well);outline:none}
.dlg .lp-row .lp-v{text-align:end}
.dlg .lp-chosen{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.dlg .lp-chosen .btn{margin-inline-start:auto}
.dlg .lp-rate{margin:0 0 12px;color:var(--t2);font-size:13px;line-height:20px}
.dlg .lp-seg{display:flex;margin:0 0 12px}
.dlg .lp-seg button{flex:1;height:40px;border:1px solid var(--ctl-line);background:var(--surface);color:var(--t2);font:400 14px/20px var(--body);cursor:pointer}
.dlg .lp-seg button+button{margin-inline-start:-1px}
.dlg .lp-seg button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--on-ink);position:relative}
.dlg .lp-seg button:disabled{opacity:.5;cursor:default}
.dlg .lp-seg button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.dlg .lp-prev{margin:0;padding:8px 12px;background:var(--well);font:400 14px/20px var(--body);color:var(--ink)}

.qh>:nth-child(5),.qh>:nth-child(6),.qh>:nth-child(8),.qh>:nth-child(9){text-align:end}
.nocost .qh>:nth-child(8){text-align:start}
.jdocs .tdr{align-items:center;min-height:44px;padding:4px 16px}.jdocs .tda{display:flex;gap:8px;flex:none}
/* Request workspace */
.rqwrap{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px;align-items:start}
.rqcol{display:flex;flex-direction:column;gap:16px;min-width:0}
.rqh{display:flex;align-items:center;gap:8px}.rqh .sub{margin-inline-end:4px}
.rqo{display:grid;grid-template-columns:88px minmax(0,1fr) 48px 132px 80px 96px 80px;gap:12px;align-items:center;min-height:44px;padding:4px 16px;border-top:1px solid var(--line);font-size:14px;line-height:20px}
.rqo .num,.rqo.rqh0>:nth-child(3),.rqo.rqh0>:nth-child(4),.rqo.rqh0>:nth-child(5),.rqo.rqh0>:nth-child(7){text-align:end}
.rqo.rqh0{min-height:36px;border-top:0;background:var(--well);color:var(--t3);font:var(--lbl)}
.rqo .act{display:inline-flex;align-items:center;gap:6px}
.rqf{align-items:flex-start}.rqf .tda{display:flex;gap:8px;flex:none;align-self:center}.rqf.shut .tdt b{color:var(--t3);font-weight:400}
.rqchip{display:inline-block;margin:2px 4px 0 0;padding:0 6px;border:1px solid var(--line);border-radius:var(--r-1);font-size:13px;line-height:18px;color:var(--t2)}
.rqnote{margin:0;padding:8px 16px;border-top:1px solid var(--line);font-size:13px;line-height:20px;color:var(--t3)}
.rqch{display:flex;align-items:baseline;gap:12px;padding:12px 16px}.rqch b{font:500 18px/26px var(--body)}
.rqch+.tdr{border-top:1px solid var(--line)}
.rqread{display:flex;align-items:center;gap:12px;margin-top:4px}
.rqfields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}.rqfields em{font-style:normal;font-size:13px;line-height:18px}
.rqmulti{display:flex;flex-wrap:wrap;gap:6px 14px}.rqck{display:flex;align-items:center;gap:6px;font-size:14px}
@media (max-width:1100px){.rqwrap{grid-template-columns:minmax(0,1fr)}}
@media (max-width:760px){.rqo{grid-template-columns:minmax(0,1fr) 48px 80px}.rqo>:nth-child(1),.rqo>:nth-child(4),.rqo>:nth-child(6),.rqo>:nth-child(7){display:none}.rqo.rqh0{display:none}.rqfields{grid-template-columns:1fr}}
/* Party page */
.pyt{display:flex;flex-direction:column}
.pyr{display:grid;grid-template-columns:120px 88px minmax(0,1fr) 120px 110px;gap:12px;align-items:center;min-height:44px;padding:4px 16px;border-top:1px solid var(--line);font-size:14px;line-height:20px}
.pyr.pyo{grid-template-columns:120px minmax(0,1fr) 56px 160px}.pyr .num{text-align:end}
.pyr.pyh{min-height:36px;border-top:0;background:var(--well);color:var(--t3);font:var(--lbl)}
.pyr[role=link]{cursor:pointer}.pyr[role=link]:hover,.pyr[role=link]:focus-visible{background:var(--well);outline:none}
.pyh2{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;padding:8px 16px 4px;min-height:36px;font:var(--lbl);color:var(--t3)}.tdb>.pyh2:not(:first-child){border-top:1px solid var(--line)}.pyh2 .btn{text-transform:none;letter-spacing:0;white-space:nowrap;flex:none}.qscreen .tdr .tdt{min-width:0;overflow-wrap:anywhere}.qscreen .tdr .tda{flex:none}
.rqch .sub{margin-inline-start:auto}
@media (max-width:760px){.pyr{grid-template-columns:minmax(0,1fr) 110px}.pyr>:nth-child(2),.pyr>:nth-child(3),.pyr>:nth-child(4){display:none}.pyr.pyo{grid-template-columns:minmax(0,1fr) 56px}.pyr.pyo>:nth-child(1),.pyr.pyo>:nth-child(4){display:none}.pyr.pyh{display:none}}
/* Vendor page */
.vdo{display:grid;grid-template-columns:minmax(0,1.6fr) 110px 120px minmax(0,1fr) auto;gap:12px;align-items:center;min-height:44px;padding:6px 16px;border-top:1px solid var(--line);font-size:14px;line-height:20px}
.vdo.vdh{min-height:36px;border-top:0;background:var(--well);color:var(--t3);font:var(--lbl)}
.vdo .tda{display:flex;gap:8px;justify-content:flex-end}.vdo .schip{white-space:nowrap}.qscreen .acts .btn[aria-disabled=true]{opacity:.45;cursor:not-allowed}.vdo .act{display:inline-flex;align-items:center;gap:6px}
.vdn{grid-column:1/-1;display:flex;flex-direction:column;gap:8px}.vdn .qwarn{display:flex;align-items:center;gap:8px;padding:10px 16px;border:1px solid var(--line);border-inline-start:3px solid var(--ink);background:var(--surface)}
.vdb .pyh2{padding-inline-start:0;padding-inline-end:0}
@media (max-width:900px){.vdo{grid-template-columns:minmax(0,1fr) auto}.vdo>:nth-child(2),.vdo>:nth-child(3),.vdo>:nth-child(4){display:none}.vdo.vdh{display:none}}
/* Settings overview */
/* Settings sections-left (dd, 25 Oct 2026; spec/desk2/look-settings-sections.md) */
.qwrap.stwrap{flex-direction:row;align-items:flex-start;gap:24px}
.stnav{flex:none;width:232px;position:sticky;top:24px;display:flex;flex-direction:column;gap:2px}
.stn{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:40px;padding:6px 12px;border:0;border-radius:var(--r-2);background:none;color:var(--t2);font:inherit;font-size:14px;text-align:start;cursor:pointer}
.stn:hover{background:var(--well);color:var(--ink)}.stn:focus-visible{outline:2px solid var(--link);outline-offset:-2px}
.stn.on{background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);color:var(--ink);font-weight:600}
.stcount{min-width:22px;padding:0 6px;border-radius:11px;background:var(--well);color:var(--t3);font-size:13px;line-height:20px;font-weight:600;text-align:center}.stcount.warn{background:var(--m-warn-bg,var(--well));color:var(--warn,var(--ink))}
.stl .tda{display:flex;align-items:center}
.stmain{flex:1;min-width:0;display:flex;flex-direction:column;gap:16px}
.stl a.tdr,.stl a.tdr *{text-decoration:none}.stl a.tdr{color:var(--ink);align-items:center;min-height:40px;padding:6px 16px}.stl a.tdr:hover,.stl a.tdr:focus-visible{background:var(--well);outline:none}.stl .tda svg{width:16px;height:16px;color:var(--t3)}
/* Click language v2 R10: Settings rows keep a readable chevron; label and chevron turn link-blue under the pointer. */
.stl .tda svg{color:var(--t2)}.stl a.tdr:hover,.stl a.tdr:focus-visible{background:var(--well)}.stl a.tdr:hover .tdt,.stl a.tdr:focus-visible .tdt,.stl a.tdr:hover .tda svg,.stl a.tdr:focus-visible .tda svg{color:var(--link)}
.stattn .tdr:hover .tdt,.stattn .tdr:focus-visible .tdt,.stattn .tdr:hover .tda svg,.stattn .tdr:focus-visible .tda svg{color:var(--link)}.stattn .tda svg{color:var(--t2)}
.stattn .tda .btn{white-space:nowrap}

@media (max-width:900px){.qwrap.stwrap{flex-direction:column;gap:12px}.stnav{width:100%;position:static;flex-direction:row;gap:6px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}.stn{width:auto;flex:none;white-space:nowrap;border:1px solid var(--line);background:var(--surface)}.stn.on{border-color:var(--ink)}}
/* Reports: categories, then the reports in that category, then the one picked. */
.rp-wrap{gap:16px}
.rpscreen .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.rp-ask{display:flex;gap:8px;align-items:center}.rp-q{flex:1;width:auto;max-width:640px;align-self:stretch;margin:0}.rp-q input{flex:1;min-width:0;border:0;background:none;color:var(--ink);font:400 14px/20px var(--body);outline:none}
.rp-per select{height:40px;padding:0 32px 0 12px;border:1px solid var(--ctl-line);border-radius:var(--r-1);background:var(--surface);color:var(--ink);font:500 14px/20px var(--body)}
.rp-cats{display:flex;gap:4px;padding:3px;border:1px solid var(--line);border-radius:var(--r-1);background:var(--well);align-self:flex-start;max-width:100%;overflow-x:auto}.rp-cat{flex:none}
.rp-cat{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 16px;border:0;border-radius:3px;background:none;color:var(--t2);font:500 14px/20px var(--body);cursor:pointer}
.rp-cat .n{color:var(--t3);font:400 13px/18px var(--body)}
.rp-cat[aria-selected=true]{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.08)}
.rp-cat:focus-visible,.rp-item:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
.rp-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:16px;align-items:start}
.rp-list{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--r-2);background:var(--surface);overflow:clip}
.rp-item{display:flex;flex-direction:column;gap:2px;padding:10px 16px;border:0;border-top:1px solid var(--line-soft);background:none;color:var(--ink);text-align:start;cursor:pointer;font:400 14px/20px var(--body)}
.rp-item:first-child{border-top:0}.rp-item b{font-weight:500}.rp-item span{color:var(--t3);font-size:13px;line-height:20px}
.rp-item:hover{background:var(--well)}.rp-item[aria-current=true]{background:var(--well);box-shadow:inset 3px 0 0 var(--ink)}
.rp-out{min-width:0}
.rp-h{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:16px 16px 8px}.rp-h h2{margin:0;font:500 18px/26px var(--body)}.rp-h .sub{margin:2px 0 0;color:var(--t3);font-size:13px}
.rp-hb{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}
.rp-note,.rp-about{margin:0;padding:4px 16px 8px;color:var(--t3);font-size:13px;line-height:20px}.rp-about{padding:12px 16px 16px;border-top:1px solid var(--line-soft)}
.rp-empty{padding:32px 16px;color:var(--t3)}.rp-empty p{margin:0}
.rpc{margin:8px 16px 12px;display:flex;flex-direction:column;gap:6px}.rpc figcaption{color:var(--t3);font:var(--lbl);margin-bottom:4px}
.rpc-r{display:grid;grid-template-columns:minmax(80px,180px) minmax(0,1fr) 110px;gap:12px;align-items:center;font-size:13px;line-height:20px}
.rpc-l{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--t2)}.rpc-v{text-align:end}
.rpc-t{height:10px;background:var(--well);border-radius:2px;overflow:hidden}.rpc-t i{display:block;height:100%;background:var(--ink);border-radius:2px}.rpc-t i.neg{background:var(--warn)}
.rp-tw{overflow-x:auto;border-top:1px solid var(--line)}
.rp-t{width:100%;border-collapse:collapse;font-size:14px;line-height:22px}
.rp-t th{position:sticky;top:0;background:var(--surface);color:var(--t3);font:var(--lbl);text-align:start;padding:8px 16px;border-bottom:1px solid var(--line);white-space:nowrap}
.rp-t td{padding:8px 16px;border-top:1px solid var(--line-soft)}.rp-t .r{text-align:end}
@media (max-width:1000px){.rp-grid{grid-template-columns:1fr}.rp-list{flex-direction:row;overflow-x:auto}.rp-item{min-width:220px;border-top:0;border-inline-start:1px solid var(--line-soft)}.rp-item:first-child{border-inline-start:0}.rp-item[aria-current=true]{box-shadow:inset 0 -3px 0 var(--ink)}}
@media (max-width:640px){.rp-ask{flex-direction:column;align-items:stretch}.rp-q{max-width:none}.rp-h{flex-direction:column}.rp-hb{justify-content:flex-start}}
/* Job tabs (J2): fixed with the header; the chosen tab fills the body. spec/desk2/look-job-tabs.md */
.screen:has(>.pbody)>.ph.jhead{padding-bottom:0}
.jhead .jtabs{display:flex;flex-wrap:nowrap;align-items:flex-end;gap:24px;min-height:40px;margin:12px 0 0;padding:0;border-bottom:0;overflow-x:auto;scrollbar-width:none}
#screen a.tab{display:inline-flex;align-items:center;flex:none;height:40px;color:var(--t3);text-decoration:none}
#screen a.tab:hover{color:var(--ink)}#screen a.tab[aria-current=page]{color:var(--ink);font-weight:500;border-bottom-color:var(--ink)}
#screen a.tab:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
.jtabs .tab .n{display:inline-flex;align-items:center;gap:6px;font-weight:400}
.jtab>.jtop{padding:0}
.jtab .qcards{margin-bottom:12px}

/* Activity timeline (look-timeline). Tokens only. */
.tl{margin:0;padding:8px 16px;list-style:none}
.tli{position:relative;display:flex;gap:12px;padding:0 0 16px 0}
.tli:last-child{padding-bottom:4px}
.tli::before{content:'';position:absolute;inset-inline-start:4px;top:14px;bottom:-2px;width:1px;background:var(--line)}
.tli:last-child::before{display:none}
.tlp{flex:none;box-sizing:content-box;width:5px;height:5px;margin-top:6px;border-radius:50%;background:var(--surface);border:2px solid var(--t2);position:relative;z-index:1}
.tlb{min-width:0;display:grid;gap:2px}
.tlt{color:var(--ink);overflow-wrap:anywhere}
.tls{color:var(--t3);font-size:13px;line-height:18px}.tls b{color:var(--t2);font-weight:500}
.tlm{padding:4px 16px 16px;border-top:1px solid var(--line-soft)}.tlm .sub{margin-inline-start:6px;color:var(--t3);font-weight:400}


/* Job tabs stay in view (look-job-tabs-seen, board 168). Laptop: the header is fixed, so the tabs never leave. Phone: the page scrolls,
   so the header sticks with only its tab strip showing (job.js sets --jh-off), with an edge fade where more tabs wait. Tokens only. */
.jhead .jtabs .tab{font-size:15px}
@media (max-width:720px){
  .screen:has(>.jhead+.pbody)>.jhead{position:sticky;top:var(--jh-off,0px);z-index:2;background:var(--ground)}
  .screen:has(>.jhead+.pbody)>.jhead .jtabs{border-bottom:1px solid var(--line);-webkit-mask-image:linear-gradient(to right,var(--ink) calc(100% - 28px),transparent);mask-image:linear-gradient(to right,var(--ink) calc(100% - 28px),transparent)}
  [dir=rtl] .screen:has(>.jhead+.pbody)>.jhead .jtabs{-webkit-mask-image:linear-gradient(to left,var(--ink) calc(100% - 28px),transparent);mask-image:linear-gradient(to left,var(--ink) calc(100% - 28px),transparent)}
}
/* Cargo rows keep their figures whole (board 168: text must fit its field). The name takes the first line on a phone. */
.tdb .tdr.cgr{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 16px}
.cgr .qd{flex:1 1 220px;min-width:0;overflow-wrap:anywhere}
.cgr .num{white-space:nowrap}
@media (max-width:640px){.cgr .qd{flex-basis:100%}}
