/* Generated by docs/mocks/panel: node app.mjs help. Do not edit; rerun it. */
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/ibm-plex-mono-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/ibm-plex-mono-latin-ext-500-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/ibm-plex-sans-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/ibm-plex-sans-latin-ext-500-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/ibm-plex-sans-latin-ext-600-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
/* panel.css: the Drawing set design foundation (docs/design-system.html Part 1, boards in the panel canvas).
   Owned by chunk 2. Tokens, base, and the shared components every area uses. Area files add their own
   panel-<area>.css; they reference these tokens and never redefine them.

   Rules this file keeps (tests/panel-preview/lint.mjs checks them):
   - Raw colours (hex, rgb) appear ONLY in the token block below. Everything else uses var(--token).
   - The heavy rule is defined once (--heavy) and used only by the selectors in the budget block.
   - Every rule is scoped under .ds, the panel root (#app). The page base (html/body) is in panel-shell.css. */

/* ---------- tokens: Part 1 section 1.3 (paper = light, blueprint = dark) ---------- */
.ds{
  --paper:#F7F6F2;--ink:#15191C;--ink2:#3B4349;--mute:#5E676D;--off:#A3A097;--rule:#D9D7D0;--dot:#C3C0B6;--fill:#ECEAE3;
  --brand:#4A2680;--btn:#4A2680;--btn2:#35195E;--sel:#F2C744;--hl:#0E7553;--warn:#9A5800;--bad:#B3261E;
  /* derived, not in the Part 1 table: white button text, brand mark, soft green fill, selection-highlight text,
     split-button divider, overlay shadow and sheet scrim */
  --btn-ink:#FFFFFF;--mark:#4A2680;--hlbg:#E2EFE8;--seltext:#15191C;--split:rgba(255,255,255,.35);
  --brand-wash:#EDE7F699; /* the return mark in a review overview (docs/design-system.html 1.3), never selection or focus */
  --shadow:0 10px 28px rgba(21,25,28,.18);--scrim:rgba(21,25,28,.35);
  --cmp-add:#2563EB;--cmp-chg:#D97706;--cmp-rm:#B91C1C; /* Compare in Rhino: viewport colours, one value in both themes; swatches only (section 55) */
  --sans:"IBM Plex Sans","Segoe UI",system-ui,sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,"Cascadia Code",Consolas,monospace;
  color-scheme:light;
}
.ds.bp{
  --paper:#0F1E2E;--ink:#E6EEF5;--ink2:#B8C7D6;--mute:#8EA2B5;--off:#4E6377;--rule:#2A3F55;--dot:#34506A;--fill:#18304A;
  --brand:#B49BE0;--btn:#5B3A96;--btn2:#6B48A8;--sel:#F2C744;--hl:#5BD1A2;--warn:#F2B35E;--bad:#F08A80;
  --mark:#7D5FB8;--hlbg:rgba(91,209,162,.14);--split:rgba(255,255,255,.35);--brand-wash:#26244799;
  --shadow:0 10px 28px rgba(0,0,0,.45);--scrim:rgba(5,12,20,.55);
  color-scheme:dark; /* native radios, checkboxes and scrollbars follow the theme */
}

/* ---------- root: the one surface ---------- */
.ds[hidden]{display:none !important}
.ds{display:flex;flex-direction:column;position:relative;width:100%;height:100vh;min-width:0;min-height:0;overflow:hidden;background:var(--paper);color:var(--ink);font:400 12px/16px var(--sans);-webkit-font-smoothing:antialiased}

/* ---------- heavy-rule budget (Part 1 section 1.5) ----------
   The ONLY places a 2px ink rule is drawn: the top bar, the divide above the tabs, the title-block frame,
   the top edge of an open sheet, and the two dominant elements Part 1 lists (the sign-in code cell and the
   dropped-files review), and the card of a long operation's blocking state (58g). Pressed toggles get a 2px ink underline (Part 1 tool spec), drawn as an inset shadow. */
.ds .top,.ds .divide,.ds .tb,.ds .sheet-panel,.ds .code,.ds .rv,.ds .bcard{--heavy:2px solid var(--ink)}
.ds .top{border-bottom:var(--heavy)}
.ds .divide{border-top:var(--heavy)}
.ds .tb{border:1px solid var(--ink);border-top:var(--heavy)}
.ds .sheet-panel{border-top:var(--heavy)}
.ds .code{border:1px solid var(--ink);border-top:var(--heavy)}
.ds .rv{border-top:var(--heavy)}

/* ---------- components ---------- */
/* ---------- base ---------- */
.ds *{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:var(--dot) transparent}
.ds [hidden]{display:none !important}
.ds button,.ds input,.ds select,.ds textarea{font:inherit;color:inherit}
.ds button{cursor:pointer}
.ds :focus-visible{outline:2px solid var(--brand);outline-offset:1px}
.ds .row :focus-visible,.ds .tool:focus-visible,.ds .ib:focus-visible,.ds .hlb:focus-visible,.ds .sheet:focus-visible,.ds .mi:focus-visible,.ds .po:focus-visible,.ds .optbtn:focus-visible,.ds .choice:focus-visible,.ds .tw:focus-visible{outline-offset:-1px}
.ds .i{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;flex:none}
.ds .i.s{width:14px;height:14px}
.ds .mono{font-family:var(--mono)}
.ds .sp{flex:1}
.ds .r{display:flex;align-items:center;gap:6px;min-width:0}
.ds .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ds .cap{font:500 9.5px/12px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--mute)}
.ds .hint{font-size:11px;line-height:15px;color:var(--mute)}
.ds .kbd{display:inline-block;padding:0 4px;border:1px solid var(--rule);border-bottom-width:2px;border-radius:2px;font:500 10px/13px var(--mono);color:var(--ink2)}
.ds .lnk{border:0;background:none;padding:0 4px;color:var(--ink);font-weight:600;font-size:11px;text-decoration:underline;text-underline-offset:2px}
.ds .spin{width:12px;height:12px;border:1.5px solid var(--rule);border-top-color:var(--ink);border-radius:50%;flex:none}

/* ---------- buttons: primary / default / quiet / danger / disabled; 28px, 22px small, 36px full width ---------- */
.ds .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:28px;padding:0 10px;border:1px solid var(--mute);border-radius:3px;background:none;font:500 12px/14px var(--sans);color:var(--ink);white-space:nowrap;text-decoration:none}
.ds .btn:hover{background:var(--fill)}
.ds .btn.p{background:var(--btn);border-color:var(--btn);color:var(--btn-ink)}
.ds .btn.p:hover{background:var(--btn2);border-color:var(--btn2)}
.ds .btn.q{border-color:transparent;color:var(--ink);text-decoration:underline;text-decoration-color:var(--dot);text-underline-offset:3px}
.ds .btn.q:hover{text-decoration-color:var(--ink)}
.ds .btn.d{color:var(--bad);border-color:var(--bad)}
.ds .btn.sm{height:22px;padding:0 7px;font-size:11px}
/* small toggle: pressed = fill + 2px underline, as Tool and Segmented (a bad underline on a danger toggle); the label never changes */
.ds .btn.tg[aria-pressed="true"]{background:var(--fill);box-shadow:inset 0 -2px 0 var(--ink)}
.ds .btn.d.tg[aria-pressed="true"]{box-shadow:inset 0 -2px 0 var(--bad)}
.ds .btn.xl{width:100%;height:36px;font-size:13px}
.ds .btn[disabled],.ds .btn[aria-disabled="true"]{color:var(--off);border-color:var(--rule);background:none;cursor:default}
.ds .btn.q[disabled],.ds .btn.q[aria-disabled="true"]{border-color:transparent}
.ds .split{display:inline-flex}
.ds .split .btn:first-child{border-radius:3px 0 0 3px}
.ds .split .btn+.btn{border-radius:0 3px 3px 0;border-left-color:var(--split);padding:0 5px}
.ds .ib{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:0;border-radius:3px;background:none;color:var(--ink2);flex:none}
.ds .ib:hover,.ds .ib[aria-expanded="true"]{background:var(--fill);color:var(--ink)}
.ds .ib[aria-pressed="true"]{background:var(--fill);color:var(--ink);box-shadow:inset 0 -2px 0 var(--ink)}
.ds .ib.sm{width:24px;height:24px}
.ds .ib[disabled],.ds .ib[aria-disabled="true"]{color:var(--off);background:none}

/* ---------- top bar (heavy rule below: see the budget block) ---------- */
.ds .top{display:flex;align-items:center;gap:4px;height:38px;padding:0 4px 0 12px;flex:none}
.ds .mark{width:12px;height:12px;background:var(--mark);flex:none;margin-right:4px}
.ds .brandname{font:600 14px/18px var(--sans)}
.ds .ws{display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 6px;border:0;border-radius:3px;background:none;font:600 14px/18px var(--sans);color:var(--ink)}
.ds .ws:hover{background:var(--fill)}
.ds .ses{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 7px;border:1px solid var(--rule);border-radius:3px;background:none;font:500 11px/14px var(--mono);color:var(--ink2);white-space:nowrap}
.ds .ses i{width:6px;height:6px;border-radius:50%;background:var(--hl)}
.ds .ses.off i{background:var(--off)}
.ds .ses.bad{border-color:var(--bad);color:var(--bad)}
.ds .ses.bad i{background:var(--bad)}

/* ---------- toolbar: three captioned groups; labelled (42px) or icons only (32px) ---------- */
.ds .tools{display:flex;gap:10px;padding:6px 10px 4px;border-bottom:1px solid var(--rule);flex:none}
.ds .grp{display:flex;flex-direction:column;gap:2px}
.ds .grp>span{font-size:10.5px;line-height:13px;color:var(--mute)}
.ds .grp>div{display:flex;gap:2px}
.ds .tool{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:42px;height:42px;padding:0;border:0;border-radius:3px;background:none;color:var(--mute);font:500 10px/12px var(--sans)}
.ds .tool .i{width:18px;height:18px}
.ds .tool:hover{background:var(--fill);color:var(--ink)}
.ds .tool[aria-pressed="true"]{background:var(--fill);color:var(--ink);box-shadow:inset 0 -2px 0 var(--ink)}
.ds .tool[disabled],.ds .tool[aria-disabled="true"]{color:var(--off);background:none;box-shadow:none;cursor:default}
.ds .tool[aria-disabled="true"]:hover{background:var(--fill)} /* hover still marks the tool whose reason the tooltip gives (1d) */
.ds .tools.ic{padding:4px 10px}
.ds .tools.ic .tool{width:32px;height:32px}
.ds .tools.ic .tool .lbl,.ds .tools.ic .grp>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ds .tools.ic .grp+.grp{padding-left:10px;border-left:1px solid var(--rule)}

/* ---------- tooltip: ink ground, paper text ---------- */
.ds .tip{position:absolute;z-index:8;width:226px;padding:7px 9px;background:var(--ink);color:var(--paper);font-size:11px;line-height:15px;box-shadow:var(--shadow);pointer-events:none}
.ds .tip b{display:block;font-weight:600;font-size:12px}
.ds .tip .mono{display:block;margin:1px 0 4px;opacity:.75;font-size:10.5px}
.ds .tip .k{padding:0 3px;border:1px solid currentColor;border-radius:2px}
.ds .tip .why{display:block;white-space:pre-line}

/* ---------- title block = focused copy (frame and heavy top: see the budget block) ---------- */
.ds .tb{margin:12px 10px 0;flex:none}
.ds .tb.empty{padding:8px 10px;border:1px dashed var(--off);color:var(--mute)}
.ds .tb.warn{border-top:3px solid var(--warn)}
.ds .tbr{display:grid;grid-template-columns:1fr 92px}
.ds .tbr>div{padding:6px 8px}
.ds .tbr>div+div{border-left:1px solid var(--rule)}
.ds .tbn{font:600 17px/22px var(--sans);letter-spacing:-.01em}
.ds .tbq{font-size:12px;line-height:16px;color:var(--ink2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ds .tbq.none{color:var(--mute)}
.ds .tbu{margin-top:2px;font-size:11.5px;line-height:15px;color:var(--warn)}
.ds .rev{display:flex;flex-direction:column;align-items:center;justify-content:center}
.ds .rev b{font:600 15px/20px var(--mono);white-space:nowrap}
.ds .tbs{display:grid;grid-template-columns:1fr 1fr 92px;border-top:1px solid var(--rule)}
.ds .tbs>div{padding:4px 8px 5px}
.ds .tbs>div+div{border-left:1px solid var(--rule)}
.ds .tbs .v{display:block;font-size:11.5px;line-height:15px;color:var(--ink)}
.ds .tbs .v.warn{color:var(--warn);font-weight:600}
.ds .tba{display:flex;align-items:center;gap:6px;padding:8px;border-top:1px solid var(--rule)}
.ds .tbd{padding:8px 8px 6px;border-top:1px solid var(--rule)}
.ds .tbd .optlist{margin-top:8px}

/* ---------- selected in Rhino: Rhino-yellow 3px edge ---------- */
.ds .selb{margin:12px 10px 0;padding:6px 8px 4px 11px;border-left:3px solid var(--sel);flex:none}
.ds .selb .h{display:flex;align-items:center;gap:6px;font-weight:600}
.ds .selb.none{padding:5px 8px 5px 11px;border-left-color:var(--rule);color:var(--mute);font-size:11.5px}
.ds .sl1{display:flex;align-items:center;gap:6px;min-height:28px;border-top:1px dotted var(--rule);margin-top:4px;padding-top:2px;color:var(--ink2)}
.ds .n{font:600 11px/16px var(--mono);color:var(--ink);min-width:14px}

/* ---------- divide (heavy: budget block), sheet tabs, description, body ---------- */
.ds .divide{flex:none;height:0;margin:16px 0 0;border-right:0;border-bottom:0;border-left:0}
.ds .sheets{display:flex;margin:8px 10px 0;border-bottom:1px solid var(--rule);flex:none}
.ds .sheet{display:flex;align-items:baseline;gap:6px;height:30px;padding:6px 6px 0 2px;margin-right:10px;border:0;background:none;font:500 13px/16px var(--sans);color:var(--mute)}
.ds .sheet small{font:500 10.5px/12px var(--mono)}
.ds .sheet[aria-selected="true"]{color:var(--ink);font-weight:600;box-shadow:inset 0 -3px 0 var(--ink);margin-bottom:-1px}
.ds .sheet:hover{color:var(--ink)}
.ds .newdot{width:6px;height:6px;border-radius:50%;background:var(--ink);align-self:center;margin-left:-2px}
.ds .desc{display:flex;align-items:center;margin:0 10px;height:28px;color:var(--mute);font-size:11.5px;flex:none}
.ds .desc .aside{font-size:10.5px}
.ds .desc .dtx{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ds .desc .sab{margin-left:auto;flex:none}
.ds .body{flex:1;min-height:0;overflow:auto;margin:0 10px}

/* ---------- copy rows, connectors, version mark, highlight toggle ---------- */
.ds .tree{margin:0 10px;flex:1;min-height:0;overflow:auto}
.ds .row{position:relative;display:flex;align-items:center;gap:6px;height:28px;padding-right:2px;border-bottom:1px dotted var(--rule);white-space:nowrap}
.ds .row:hover,.ds .row.hv{background:var(--fill)}
.ds .row .nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.ds .row.focus .nm,.ds .row.open .nm{font-weight:600}
/* 43a: the note after a row's version id takes the leftover width and is cut first; the name keeps its room. */
.ds .row .nm .vnt{flex:1 1 0;margin-left:6px;font-weight:400}
.ds .row.focus{box-shadow:inset 3px 0 0 var(--brand)}
.ds .row.lit{box-shadow:inset 3px 0 0 var(--hl)}
.ds .row.picked{box-shadow:inset 3px 0 0 var(--sel)}
.ds .row.alert{box-shadow:inset 3px 0 0 var(--bad)}
.ds .row.warnrow{box-shadow:inset 3px 0 0 var(--warn)}
.ds .row.open{border-bottom:0}
.ds .row.new{box-shadow:inset 3px 0 0 var(--ink)}
.ds .row.ctx{background:var(--fill);outline:1px solid var(--ink2);outline-offset:-1px}
.ds .newtag{margin-left:5px;font:600 9.5px/12px var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--ink);border:1px solid var(--ink);padding:0 3px}
.ds .revm{display:inline-block;margin-left:5px;padding:0 4px;border:1px solid var(--dot);font:500 10.5px/15px var(--mono);color:var(--mute);vertical-align:1px}
/* A version named like a commit (board 43): mono id, then its note on one line, cut with an ellipsis. */
.ds .vl{display:inline-flex;align-items:baseline;gap:6px;min-width:0;max-width:100%;vertical-align:1px}
.ds .vl .revm{margin-left:0;flex:none}
.ds .vnt{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:var(--ink2)}
.ds .vnt.none{color:var(--mute)}
.ds .gl{display:inline-flex;width:16px;justify-content:center;color:var(--mute);flex:none}
.ds .gl.f{color:var(--brand)}
.ds .tw{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;padding:0;border:0;background:none;color:var(--ink2);flex:none}
.ds .tw.x{transform:rotate(90deg)}
.ds .delta{display:inline-flex;align-items:center;gap:3px;font:500 10.5px/14px var(--mono);color:var(--ink2);white-space:nowrap}
.ds .delta .i{width:11px;height:11px}
/* Needs save: a derived difference (a child moved past what this copy's version recorded); outlined, neutral, never amber. */
.ds .nsave{display:inline-flex;align-items:center;padding:0 4px;border:1px solid var(--ink2);border-radius:2px;font:500 10px/13px var(--mono);color:var(--ink2);white-space:nowrap}
.ds .edits{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:var(--warn);font-weight:600;white-space:nowrap}
.ds .edits::before{content:"";width:6px;height:6px;background:var(--warn);border-radius:50%}
.ds .pin{font-size:11px;color:var(--mute);white-space:nowrap}
.ds .cid{font:500 10.5px/14px var(--mono);color:var(--mute);margin-left:6px}
.ds .hlb{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:0;border-radius:3px;background:none;color:var(--mute);flex:none}
.ds .hlb .i{width:12px;height:12px}
.ds .hlb:hover{background:var(--fill);color:var(--hl)}
.ds .hlb[aria-pressed="true"]{color:var(--hl);background:var(--hlbg)}
.ds .ra{display:none;align-items:center}
.ds .row:hover .ra,.ds .row:focus-within .ra,.ds .row.hv .ra{display:flex}
.ds .c1,.ds .c2{position:relative}
.ds .c1{padding-left:30px}
.ds .c2{padding-left:56px}
.ds .c1::before,.ds .c2::before{content:"";position:absolute;top:0;height:50%;width:9px;border-left:1px solid var(--dot);border-bottom:1px solid var(--dot)}
.ds .c1::before{left:11px}
.ds .c2::before{left:37px}
.ds .c1.more::after,.ds .c2.more::after{content:"";position:absolute;top:50%;bottom:-1px;border-left:1px solid var(--dot)}
.ds .c1.more::after{left:11px}
.ds .c2.more::after{left:37px}

/* ---------- inline detail under a row: 1px dot spine (3px bad/warn for a confirm or review) ---------- */
.ds .inl{margin:0 0 0 20px;padding:8px 10px 10px;border-left:1px solid var(--dot);border-bottom:1px dotted var(--rule)}
.ds .inl.danger{border-left:3px solid var(--bad)}
.ds .inl.warn{border-left:3px solid var(--warn)}
.ds .inl h4{margin:0 0 4px;font:600 12.5px/17px var(--sans)}
.ds .inl p{margin:0 0 8px;font-size:12px;line-height:17px;color:var(--ink2)}
.ds .kv{display:grid;grid-template-columns:74px 1fr;gap:5px 8px;font-size:11.5px;line-height:15px}
.ds .kv>.cap{line-height:15px}
.ds .fnote .nlabel{flex:1 1 100%;font-size:11px;font-weight:600;color:var(--ink2)}
.ds .tbnote.fnote{flex-wrap:wrap;align-items:flex-start}
.ds .tbnote.fnote textarea.inp{flex:1 1 100%;height:28px;min-height:28px;max-height:96px;padding:5px 8px;resize:vertical;font:inherit;font-size:12.5px;line-height:16px;box-sizing:border-box}
.ds .tbnote.fnote .nfoot{flex:1 1 100%;display:flex;align-items:baseline;gap:6px;min-width:0}
.ds .tbnote.fnote .nfoot .hint{display:inline-flex;align-items:center;gap:4px;font-size:11px;line-height:15px}
.ds .tbnote.fnote .nfoot .cnt{margin-left:auto;flex:none;font:500 10.5px/15px var(--mono);color:var(--mute)}
.ds .tbnote.fnote .nfoot .cnt.bad{color:var(--bad);font-weight:600}
.ds .tbnote.fnote textarea.inp[aria-invalid="true"]{outline:2px solid var(--brand);outline-offset:-1px;border-color:var(--brand)}
.ds .tbnote.fnote textarea.inp.bad,.ds .tbnote.fnote textarea.inp.bad[aria-invalid="true"]{outline:none;border-color:var(--bad)}
.ds .kv .snote{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:16px;color:var(--ink);overflow-wrap:anywhere}
.ds .kv .snote.none{color:var(--mute)}
.ds .kv .gen{flex-direction:column;align-items:flex-start;gap:6px}

/* ---------- banner: region-level notice, 3px edge ---------- */
.ds .banner{display:flex;align-items:flex-start;gap:8px;margin:12px 10px 0;padding:7px 8px 8px 10px;border-left:3px solid var(--warn);font-size:12px;line-height:17px;color:var(--ink2);flex:none}
.ds .banner.bad{border-left-color:var(--bad)}
.ds .banner.info{border-left-color:var(--ink2)}
.ds .banner .bm{flex:1;min-width:0}
.ds .banner .ba{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.ds .banner b{color:var(--ink);font-weight:600}

/* ---------- decision list: stacked full-width choices, bold label + one-line consequence ---------- */
.ds .optlist{border-top:1px solid var(--rule)}
.ds .optbtn{display:flex;gap:10px;align-items:flex-start;width:100%;padding:8px 6px;border:0;border-bottom:1px dotted var(--rule);background:none;text-align:left}
.ds .optbtn:hover{background:var(--fill)}
.ds .optbtn .ot{display:flex;flex-direction:column;min-width:0}
.ds .optbtn b{display:block;font-weight:600;font-size:12.5px;line-height:17px;color:var(--ink)}
.ds .optbtn.danger b{color:var(--bad)}

/* ---------- choices (fresh file), ledger (numbered notes) ---------- */
.ds .lead{padding:12px 0 8px}
.ds .lead h2{margin:0;font:600 15px/20px var(--sans)}
.ds .choices{display:flex;flex-direction:column;gap:8px}
.ds .choice{display:flex;gap:10px;align-items:flex-start;width:100%;padding:10px;border:1px solid var(--rule);border-radius:0;background:none;text-align:left}
.ds .choice:hover{border-color:var(--ink)}
.ds .choice.live{border-color:var(--ink);box-shadow:inset 3px 0 0 var(--brand)}
.ds .choice.dim{opacity:.55}
.ds .ci{flex:none;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid var(--dot);color:var(--ink2)}
.ds .choice h3{margin:0;font:600 13px/18px var(--sans);color:var(--ink)}
.ds .choice p{margin:2px 0 0;font-size:12px;line-height:17px;color:var(--ink2)}
.ds .ledger{border-top:1px solid var(--rule)}
.ds .ledger .li{display:flex;gap:10px;padding:8px 0;border-bottom:1px dotted var(--rule);font-size:12px;line-height:17px;color:var(--ink2)}
.ds .ledger .li .mono{flex:none;width:18px;color:var(--mute);font-size:11px}

/* ---------- inputs and search ---------- */
.ds .fld{display:flex;flex-direction:column;gap:4px}
.ds .fld label{font-size:11px;font-weight:600;color:var(--ink2)}
.ds .inp{height:30px;padding:0 8px;border:1px solid var(--mute);border-radius:3px;background:none;font-size:12.5px;color:var(--ink);width:100%}
.ds .inp:focus,.ds .inp.f{outline:2px solid var(--brand);outline-offset:-1px;border-color:var(--brand)}
.ds .search{display:flex;align-items:center;gap:6px;height:28px;margin:8px 0 4px;padding:0 8px;border:1px solid var(--mute);border-radius:3px;color:var(--mute)}
.ds .search input{flex:1;min-width:0;border:0;outline:0;background:none;font-size:12px;color:var(--ink)}
.ds .search:focus-within,.ds .search.f{border-color:var(--brand);outline:2px solid var(--brand);outline-offset:-1px;color:var(--ink)}

/* ---------- status line ---------- */
.ds .status{display:flex;align-items:center;gap:6px;height:26px;padding:0 6px 0 10px;border-top:1px solid var(--rule);font-size:11px;color:var(--mute);flex:none;white-space:nowrap;overflow:hidden}
.ds .status .st{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.ds .status .okdot{width:6px;height:6px;border-radius:50%;background:var(--hl);flex:none}
.ds .status .okdot.off{background:var(--bad)}
.ds .status .okg{color:var(--hl)}
.ds .status.bad .i{color:var(--bad)}
.ds .status.warn .i{color:var(--warn)}

/* ---------- menu and picker: 1px frame, one soft shadow ---------- */
.ds .menu{position:absolute;z-index:6;width:268px;padding:4px 0;background:var(--paper);border:1px solid var(--ink);box-shadow:var(--shadow)}
.ds .mh{padding:4px 10px 6px;border-bottom:1px solid var(--rule);font-weight:600}
.ds .mi{display:flex;align-items:center;gap:8px;width:100%;height:28px;padding:0 10px;border:0;background:none;text-align:left;font-size:12px;white-space:nowrap}
.ds .mi:hover,.ds .mi.hv{background:var(--fill)}
.ds .mi .k{margin-left:auto;font:500 10px/12px var(--mono);color:var(--mute)}
.ds .mi.danger{color:var(--bad)}
.ds .mi[disabled],.ds .mi[aria-disabled="true"]{color:var(--off);cursor:default}
.ds .mi[aria-disabled="true"]:hover{background:none}
.ds .mi.two{height:auto;min-height:28px;padding:5px 10px;align-items:flex-start;white-space:normal}
.ds .mi.two .i{margin-top:1px;flex:none}
.ds .mi .sub{display:block;font-size:10.5px;line-height:14px;color:var(--mute);font-weight:400}
.ds .mi.two b{font-weight:600}
.ds .msep{height:0;margin:4px 0;border-top:1px dotted var(--rule)}
.ds .picker{position:absolute;z-index:6;width:300px;background:var(--paper);border:1px solid var(--ink);box-shadow:var(--shadow)}
.ds .picker .ph{padding:8px 10px;border-bottom:1px solid var(--rule)}
.ds .po{display:flex;align-items:center;gap:8px;width:100%;min-height:32px;padding:4px 10px;border:0;border-bottom:1px dotted var(--rule);background:none;text-align:left;font-size:12px}
.ds .po:hover,.ds .po.hv{background:var(--fill)}
.ds .po .ts{display:block;font-size:10.5px;line-height:14px;color:var(--mute)}
.ds .po .tn{display:block;font:500 11.5px/15px var(--mono);color:var(--ink)}
.ds .po .pa{margin-left:auto;flex:none;font-weight:600;font-size:11px;color:var(--ink)}
.ds .po mark{background:var(--sel);color:var(--seltext);padding:0}
.ds .pf{display:flex;gap:10px;padding:6px 10px;font-size:10.5px;color:var(--mute)}

/* ---------- sheet frame + scrim: rises over the tab body; the shell sets --sheet-top (below the focused copy) ---------- */
.ds .sheetwrap{position:absolute;left:0;right:0;bottom:0;top:var(--sheet-top,0px);z-index:4}
.ds .scrim{position:absolute;inset:0;background:var(--scrim)}
.ds .sheet-panel{position:absolute;left:0;right:0;bottom:0;max-height:100%;display:flex;flex-direction:column;background:var(--paper);box-shadow:var(--shadow)}
.ds .shh{display:flex;align-items:center;gap:6px;height:42px;padding:0 6px 0 12px;border-bottom:1px solid var(--rule);flex:none}
.ds .shh h2{margin:0;font:600 14px/18px var(--sans)}
.ds .shb{flex:1;min-height:0;overflow:auto;padding:10px 12px;display:flex;flex-direction:column;gap:10px}
.ds .shf{display:flex;align-items:center;gap:6px;padding:8px 12px;border-top:1px solid var(--rule);flex:none}

/* ---------- 58g-58n: the blocking state of a long operation (block in panel-core.js). The scrim starts under the top bar
   (it stays readable: the connection state) and takes every click; the card is paper, 1px ink frame, 2px ink top (3px bad
   on an error, 3px warn when Rhino did not answer), the overlay shadow. Under the tooltip, over sheets and menus. ---------- */
.ds .bscrim{position:absolute;left:0;right:0;bottom:0;z-index:7;background:var(--scrim);animation:ds-fade .15s}
.ds .bwrap{position:absolute;left:0;right:0;bottom:0;z-index:7;display:flex;align-items:center;justify-content:center;padding:16px 12px;animation:ds-fade .15s}
.ds .bscrim.out,.ds .bwrap.out{opacity:0;transition:opacity .15s;pointer-events:none}
@keyframes ds-fade{from{opacity:0}}
.ds .bcard{width:340px;max-width:100%;max-height:100%;overflow:auto;padding:12px 14px 14px;background:var(--paper);border:1px solid var(--ink);border-top:var(--heavy);box-shadow:var(--shadow);outline:none}
.ds .bcard.error{border-top:3px solid var(--bad)}
.ds .bcard.noreply{border-top:3px solid var(--warn)}
.ds .bh{display:flex;align-items:flex-start;gap:8px}
.ds .bh .spin,.ds .bh .i{flex:none;margin-top:3px}
.ds .bcard.error .bh .i{color:var(--bad)}
.ds .bcard.noreply .bh .i{color:var(--warn)}
.ds .bh h2{margin:0;min-width:0;overflow-wrap:anywhere;font:600 13.5px/18px var(--sans);color:var(--ink)}
.ds .bh h2 .mono{font:500 12px/18px var(--mono)}
.ds .bcard .bd{padding-left:20px}
.ds .bcard .bd p{margin:6px 0 0;font-size:12px;line-height:17px;color:var(--ink2);overflow-wrap:anywhere}
.ds .bcard .bd .mono{font-size:11px}
.ds .bprog{margin-top:10px}
.ds .bprog .stbar i{display:block;height:100%;background:var(--ink2)}
.ds .bcard .bd .bpt{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 8px;margin-top:5px;font-size:11.5px;line-height:15px}
.ds .bcard .bd .bel{margin-top:6px;font-size:11px;line-height:15px;color:var(--mute)}
.ds .bwhy{margin:10px 0 0 20px}
.ds .bacts{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 0 20px}
.ds .bacts .btn .spin{width:11px;height:11px}

/* ---------- schedule (a drawing schedule) and tally strip ---------- */
.ds .sched{width:100%;border-collapse:collapse;font-size:12px}
.ds .sched th{padding:2px 6px 4px;border-bottom:1px solid var(--rule);text-align:left;font:500 9.5px/12px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--mute)}
.ds .sched td{padding:6px;border-bottom:1px dotted var(--rule);vertical-align:top}
.ds .sched td.m{font:500 11px/16px var(--mono);white-space:nowrap}
.ds .tally{display:flex;flex-wrap:wrap;border:1px solid var(--rule)}
.ds .tally>div{flex:1;padding:4px 8px;border-right:1px solid var(--rule)}
.ds .tally>div:last-child{border-right:0}
.ds .tally b{display:block;font:600 16px/20px var(--mono)}

/* ---------- tag stamps and + Tag ---------- */
.ds .stamp{display:inline-flex;align-items:center;gap:3px;height:18px;padding:0 6px;border:1px solid var(--mute);border-radius:2px;font:500 10.5px/14px var(--mono);letter-spacing:.04em;color:var(--ink2);white-space:nowrap}
.ds .stamp .x{display:inline-flex;width:12px;height:12px;align-items:center;justify-content:center;padding:0;border:0;background:none;color:inherit}
.ds .stamp .x .i{width:10px;height:10px}
.ds .addtag{display:inline-flex;align-items:center;gap:3px;height:18px;padding:0 6px;border:1px dashed var(--off);border-radius:2px;background:none;font-size:10.5px;color:var(--ink2)}
.ds .addtag:hover,.ds .addtag[aria-expanded="true"]{border-style:solid;border-color:var(--ink);color:var(--ink)}
.ds .loaded{font-size:11px;color:var(--mute)}

/* ---------- Grasshopper scripts disclosure ---------- */
.ds .gh{display:inline-flex;align-items:center;gap:4px;height:20px;padding:0 6px;border:1px solid var(--dot);border-radius:2px;background:none;color:var(--ink2);font:500 10.5px/14px var(--mono)}
.ds .gens{margin-top:6px;border-top:1px solid var(--rule)}
.ds .gen{display:flex;align-items:center;gap:8px;padding:6px 0;border-bottom:1px dotted var(--rule)}
.ds .gen b{display:block;font:500 11.5px/15px var(--mono)}

/* ---------- motion: 150ms on colour and opacity only; none under reduced motion ---------- */
.ds .btn,.ds .tool,.ds .ib,.ds .hlb,.ds .row,.ds .mi,.ds .po,.ds .optbtn,.ds .choice,.ds .sheet,.ds .lnk,.ds .addtag{transition:background-color .15s,color .15s,border-color .15s,opacity .15s}
@keyframes ds-spin{to{transform:rotate(360deg)}}
.ds .spin{animation:ds-spin .8s linear infinite}
@media (prefers-reduced-motion:reduce){.ds *{transition:none !important;animation:none !important}}

/* ---------- workspace storage (5f, 5a line): drawn like a hatch legend. Design data solid, files you can delete
   hatched, free blank; colour only for state (amber at 80%, red when full). Read-only: managed on dirhp web. ---------- */
.ds .stbar{display:flex;height:10px;border:1px solid var(--ink2);background:var(--paper);overflow:hidden}
.ds .stbar.thin{height:6px;border-color:var(--mute)}
.ds .stbar.warn{border-color:var(--warn)}
.ds .stbar.full{border-color:var(--bad)}
.ds .stbar .dd,.ds .sw.dd,.ds .stgrp.dd::before{background:var(--ink2)}
.ds .stbar .sf,.ds .sw.sf,.ds .stgrp.sf::before{background:repeating-linear-gradient(135deg,var(--ink2) 0 1px,transparent 1px 4px)}
.ds .stbar .dd+.sf{border-left:1px solid var(--paper)}
.ds .sw{display:inline-block;width:10px;height:10px;flex:none;border:1px solid var(--ink2)}
.ds .sw.free{background:var(--paper);border-color:var(--mute)}
.ds .sthead{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:4px 0 6px}
.ds .sthead b{font:600 15px/20px var(--mono)}
.ds .sthead .of{font:500 11px/15px var(--mono);color:var(--mute)}
.ds .sthead .of.warn{color:var(--warn);font-weight:600}
.ds .sthead .of.bad{color:var(--bad);font-weight:600}
.ds .stleg{display:flex;flex-wrap:wrap;gap:4px 12px;padding:6px 0 2px;font-size:11px;color:var(--ink2)}
.ds .stleg>span{display:inline-flex;align-items:center;gap:5px}
.ds .stleg .m{font-family:var(--mono);color:var(--mute)}
.ds .stgrp{position:relative;margin-top:12px;padding-left:12px}
.ds .stgrp::before{content:"";position:absolute;left:0;top:2px;bottom:2px;width:4px}
.ds .stgrp.sf::before{box-shadow:inset 0 0 0 1px var(--ink2)}
.ds .sgh{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.ds .sgh h3{margin:0;font:600 13px/18px var(--sans)}
.ds .sgh .mono{font-size:11.5px;color:var(--ink2)}
.ds .sgd{margin:1px 0 4px;font-size:11.5px;line-height:16px;color:var(--ink2)}
.ds .stt{width:100%;border-collapse:collapse;font-size:12px}
.ds .stt td{padding:4px 0;border-top:1px dotted var(--dot);vertical-align:baseline}
.ds .stt td.m{text-align:right;width:62px;font:500 11px/16px var(--mono);white-space:nowrap}
.ds .stt td.p{text-align:right;width:42px;font:500 11px/16px var(--mono);color:var(--mute)}
.ds .stt .w{display:block;font-size:10.5px;line-height:14px;color:var(--mute)}
.ds .sta{padding:8px 0 2px}
.ds .stmore>summary{display:flex;align-items:center;gap:4px;padding:4px 0;border-top:1px dotted var(--dot);font-size:11.5px;color:var(--ink2);cursor:pointer;list-style:none}
.ds .stmore>summary::-webkit-details-marker{display:none}
.ds .stmore>summary .mono{margin-left:auto;padding-right:42px;font-size:11px;color:var(--ink)}
.ds .stmore[open]>summary .i{transform:rotate(90deg)}
.ds .stft{margin:8px 0 0}
.ds .stline{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:11px;color:var(--mute)}
.ds .stline .stbar{flex:1;min-width:40px}
.ds .stline .pc{font:500 11px/14px var(--mono);color:var(--ink2)}
.ds .stline.warn .pc,.ds .stline.warn .sw2{color:var(--warn);font-weight:600}
.ds .stline.full .pc,.ds .stline.full .sw2{color:var(--bad);font-weight:600}

/* panel-shell.css: layout of the Drawing set shell (chunk 3). The shared components (top bar, tool, title block,
   selection block, tabs, status line, menus) are in panel.css; this file only adds the skeleton of #app and the few
   shell-specific details. Tokens only; no raw colours. Rules are scoped under .ds except the page base below. */

/* The page base: #app fills the whole window. */
html,body{margin:0;padding:0;overflow:hidden}

/* ---------- skeleton: the upper region and tab body scroll independently ---------- */
.ds .vm{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;overflow-y:auto}
.ds .pane{flex:1;min-height:0;overflow:auto}
.ds #status{flex:none}
.ds #sheet-host{height:0;flex:none}
.ds #panel-upper{display:flex;flex-direction:column;flex:0 1 auto;height:var(--panel-upper-height,auto);min-height:72px;overflow:auto}
.ds #panel-upper>*{flex:none}
/* A panel too short for both minimum heights scrolls #view-main as a whole. */
.ds .body[role="tabpanel"]{flex:1;min-height:160px}
.ds #divide{position:relative}
.ds #panel-resize{position:absolute;inset:-7px 0 auto;height:14px;cursor:row-resize;touch-action:none;user-select:none}
.ds #panel-resize:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}

/* ---------- top bar ---------- */
.ds .top .back{display:inline-flex;align-items:center;gap:2px;height:28px;padding:0 6px 0 0;margin-left:-6px;border:0;border-radius:3px;background:none;color:var(--ink);font:500 13px/16px var(--sans)}
.ds .top .back:hover{background:var(--fill)}
.ds .top .topt{margin:0 0 0 6px;font:600 14px/18px var(--sans)}
.ds .top .ws{min-width:0;max-width:56%}
.ds .top .ws #ws-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ds .top .ses{min-width:0;flex:0 1 auto}
.ds .top .ses #ses-label{overflow:hidden;text-overflow:ellipsis}
.ds .top .ses[disabled]{cursor:default}
.ds .top a.ib{text-decoration:none}

/* 38a/38i: the feedback button carries the same 6 px dot as the Agent Desk tab while an unsent message is kept */
.ds .top .fbk{position:relative}
.ds .top .fbk .newdot{position:absolute;top:5px;right:5px;margin:0}

/* ---------- toolbar: More menu only exists when a registered command has no slot ---------- */
.ds .tools{flex-wrap:wrap}
.ds #tools-more{margin-left:auto;align-self:center}

/* ---------- selected in Rhino ---------- */
.ds .selb .tgt{color:var(--brand)}
.ds .selb .sl1 .btn{flex:none;color:var(--ink2);font-weight:400}
/* 60d: Add to option… ▾ single menu button in the selection band */
.ds .selb .optpick{flex:none;gap:3px;padding:0 7px 0 8px}
.ds .selb .optpick .dd{width:12px;height:12px;margin-right:-2px}
.ds .selb .optpick.pr{background:var(--fill);color:var(--ink)}

/* ---------- tabs ---------- */
.ds .tabtools{display:flex;align-items:center;align-self:center;gap:2px}
.ds .sheets{flex-wrap:nowrap}

/* ---------- narrow panels (300 px is the supported minimum): keep the three tabs on one line ---------- */
.ds .sheet{white-space:nowrap}
@container (max-width:340px){.ds .sheet{margin-right:6px;font-size:12px}.ds .sheets{margin-left:8px;margin-right:8px}}
.ds .top .ses .cp{width:12px;height:12px;margin-right:-2px;color:var(--mute);flex:none}
.ds .top .ses:not([disabled]):not(.bad):hover{border-color:var(--ink2);color:var(--ink)}
.ds .top .ses:not([disabled]):not(.bad):hover .cp{color:var(--ink)}
.ds .rai{position:relative;margin-right:2px}
.ds .rai .ralogo{display:block;flex:none}
.ds .rai.off{width:26px;height:24px;border:1px solid var(--ink);border-radius:5px;background:var(--paper);box-shadow:0 2px 0 var(--ink)}
.ds .rai.off:hover{background:var(--fill);transform:translateY(1px);box-shadow:0 1px 0 var(--ink)}
.ds .rai.off:active{transform:translateY(2px);box-shadow:none}
.ds .rai.off .ralogo{filter:grayscale(1);opacity:.6}
.ds.bp .rai .ralogo [fill="black"]{fill:var(--ink)}
.ds .mi .cnt{margin-left:auto;font:500 10.5px/14px var(--mono);color:var(--mute)}
/* 49f: a selection line's verbs as one split (the common action, then a menu); its text wraps to state, then layer */
.ds .sl1.sp1{padding-bottom:2px}
.ds .sl1.sp1>.tx{flex:1;min-width:0;line-height:15px}
.ds .sl1.sp1>.tx small{display:block;font-size:11px;color:var(--mute);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ds .sl1 .split .btn.pr{background:var(--fill)}
/* 65: the selection line's Lock, icon + label; icon only at 300 px (its name stays in the tooltip and aria-label). The line's
   text gives way first: every button is flex:none. */
.ds .selb .sl1 .lockb .i{margin-right:4px}
@container (max-width:320px){.ds .selb .sl1 .lockb{padding:0 6px}.ds .selb .sl1 .lockb .i{margin-right:0}.ds .selb .sl1 .lockb .lbl{display:none}}
/* 49g: Save only these' confirm step, inside the band under the line that asked */
.ds .soc{margin:2px 0 6px;padding:6px 0 2px 8px;border-left:3px solid var(--brand)}
.ds .soc .soh{font-weight:600;color:var(--ink)}
.ds .soc ul{margin:4px 0 6px;padding:0;list-style:none}
.ds .soc li{display:grid;grid-template-columns:46px minmax(0,1fr);gap:6px;padding:3px 0;border-top:1px dotted var(--rule);font-size:11.5px;line-height:15px;color:var(--ink2)}
.ds .soc li b{font:600 11.5px/15px var(--mono);color:var(--ink);text-align:right}
.ds .soc li.in b{color:var(--brand)}
.ds .soc li small{display:block;font-size:11px;color:var(--mute)}
.ds .soc .nlab{display:flex;align-items:baseline;gap:6px}
.ds .soc .nlab label{font-size:11px;font-weight:600;color:var(--ink2)}
.ds .soc .nlab .cnt{margin-left:auto;font:500 10.5px/14px var(--mono);color:var(--mute)}
.ds .soc .nlab .cnt.bad{color:var(--bad);font-weight:600}
.ds .soc .inp{width:100%;box-sizing:border-box}
.ds .soc .inp.bad{border-color:var(--bad)}
.ds .soc .r{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:6px}
.ds .soc .why{font-size:11px;line-height:15px;color:var(--ink2)}
.ds .soc .why.bad{color:var(--bad)}

/* 38k: at 340 px and narrower the header gives up words, not buttons: the session pill keeps its dot (the label stays in
   its tooltip and aria-label), Back keeps its arrow (aria-label 'Back to the panel'), gaps 4 -> 2, left padding 12 -> 8. */
@container (max-width:340px){
  .ds .top{gap:2px;padding-left:8px}
  .ds .top .back{margin-left:-2px}
  .ds .top .back .bkw,.ds .top .ses #ses-label,.ds .top .ses .cp{display:none}
}

/* ---------- 40a: the recovery screen (#recover is its own .ds root; panel.html runs it before the main script) ---------- */
.ds.rec{align-items:stretch}
.ds .rec-body{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:12px;padding:16px 12px}
.ds .rec-h{margin:0 0 6px;font:600 14px/18px var(--sans)}
.ds .rec-p{margin:0;font-size:12px;line-height:17px;color:var(--ink2)}
.ds .rec-note{margin:0}

/* panel-file.css: the In this file tab (chunk 4): copies tree, inline detail, fresh-file choices. The row, connector,
   version-mark, highlight-toggle, inline-detail, choice and GH components are in panel.css; this file adds only
   what the tab needs on top. Tokens only; no raw colours; no heavy rules. */

/* ---------- tree: any depth. Children indent 26px per level with dot connectors (c1/c2 in panel.css, generalised:
   --pl is the indent, --cl the x of this level's connector; continuing ancestor lines are inline backgrounds). ---------- */
.ds .ftree{padding-bottom:12px}
.ds .ftree .row{cursor:default}
.ds .ftree>.row:last-child{border-bottom:0}
.ds .ftree .row:focus-visible{outline:2px solid var(--brand);outline-offset:-1px}
.ds .ftree .row{padding-left:4px}
.ds .ftree .row.cn{padding-left:var(--pl)}
/* Stub: from the parent's spine to 1px short of the child's twisty; past the empty twisty slot of a leaf to its glyph or
   name; to just before the name of a ×N member row (no twisty slot). */
.ds .ftree .row.cn::before{content:"";position:absolute;top:0;left:var(--cl);height:50%;width:calc(var(--pl) - var(--cl) - 1px);border-left:1px solid var(--dot);border-bottom:1px solid var(--dot)}
.ds .ftree .row.cn:has(>span.tw:first-child)::before{width:calc(var(--pl) - var(--cl) + 18px)}
.ds .ftree .row.cn:has(>.nm:first-child)::before{width:calc(var(--pl) - var(--cl) - 4px)}
.ds .ftree .tw.lf{position:relative;z-index:1}
.ds .ftree .tw.lf::after{content:"";width:5px;height:5px;border-radius:50%;background:var(--mute)}
.ds .ftree .row.cn.more::after{content:"";position:absolute;top:50%;bottom:-1px;left:var(--cl);border-left:1px solid var(--dot)}
.ds .ftree .row .needs{font-size:11px;font-weight:600;color:var(--bad);white-space:nowrap}
.ds .ftree .row .pin.hlt{color:var(--hl)}
.ds .ftree .row .ra .ib.sm{color:var(--ink2)}
.ds .ftree .row .ra .ib.sm[aria-disabled="true"]{color:var(--off)}
.ds .ftree .row .gl .i{width:14px;height:14px}
.ds .ftree .row .who{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;border:0;border-radius:3px;background:none;color:var(--ink2);flex:none}
.ds .ftree .row .who:hover{background:var(--fill)}
.ds .ftree .row .who:focus-visible{outline:2px solid var(--brand);outline-offset:-1px}
.ds .ftree .row .who .i{width:13px;height:13px}

/* ---------- inline detail and hosted decisions: indented under the row, spine from panel.css ---------- */
.ds .inlw{position:relative}
.ds .inlw>.inl,.ds .inlw>.inlhost{margin-left:var(--il)}
.ds .inlhost:empty{display:none}
/* bar: the row's red edge runs on down the confirm, one unbroken line; text lines up with the row's glyph */
.ds .ftree .row.bar{border-bottom:0}
.ds .inlw.bar>.inlhost,.ds .inlw.bar .inl{margin-left:0}
.ds .inlw.bar .inl{padding-left:23px}
.ds .inl .revm.m0{margin-left:0}
.ds .inl .msg{display:block;margin-top:3px;color:var(--ink)}
.ds .inl .stv{color:var(--ink2)}
.ds .hint.blk{display:block}
.ds .hint.bad,.ds .fnote.bad,.ds .choice p.bad{color:var(--bad)}
.ds .inl .acts{display:flex;flex-wrap:wrap;gap:4px;margin-top:10px}
/* 56: the clean copy detail: a saved note (only while its row cuts it off), one saved line, notes, Save version and icon buttons */
.ds .inl .cdv{display:flex;flex-wrap:wrap;align-items:center;gap:0 8px;min-height:22px;font-size:11px;line-height:15px;color:var(--mute)}
.ds .inl .cdv .nhelp{margin:-4px -4px -4px -6px}
.ds .inl .kv{margin-top:4px}
.ds .inl .cda{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;margin-top:6px}
.ds .inl .cda .ibs{display:flex;align-items:center;margin-left:auto;margin-right:-6px}
.ds .inl .cda .sep{width:1px;height:16px;margin:0 3px;background:var(--rule)}
.ds .inl .gh{cursor:pointer}
.ds .inl .gens{display:block}
.ds .inl .gen .grow{flex:1;min-width:0}
/* Rename option (2j, 2k): the name field takes the name's place in the row; red while it shows a refusal */
.ds .ftree .row .rn{flex:1;min-width:0;height:22px;box-sizing:border-box;padding:0 6px;font:inherit;font-weight:600;color:var(--ink);background:transparent;border:1px solid var(--brand);border-radius:2px}
.ds .ftree .row .rn:focus{outline:1px solid var(--brand);outline-offset:-1px}
.ds .ftree .row .rn.bad{border-color:var(--bad)}
.ds .ftree .row .rn.bad:focus{outline-color:var(--bad)}
.ds .ftree .row .rn+.revm{margin-left:0}

/* ---------- notes and the tree-top name field ---------- */
.ds .fnote{margin:10px 0;font-size:11.5px;line-height:16px;color:var(--mute)}
.ds #tab-file .search{margin:8px 0 4px}
.ds .newopt{margin:8px 0 4px;padding:6px 8px 10px 11px;border-left:3px solid var(--brand);border-bottom:1px dotted var(--rule)}
.ds .newopt .nh{margin-bottom:6px;font-weight:600}
.ds .nform .fa{margin-top:6px}
.ds .nform .hint{display:block}

/* ---------- fresh file (1d, 1e): lead, three equal choices, recently saved mini list ---------- */
.ds .fresh{padding-bottom:12px}
.ds .fresh .hint.big{font-size:12px}
.ds .choice .cb{flex:1;min-width:0}
.ds .choice .fa{margin-top:8px}
.ds .choice .nform{margin-top:8px}
.ds .mini{margin-top:6px;border-top:1px solid var(--rule)}
.ds .mini .row{height:30px}
.ds .mini .row:last-child{border-bottom:0}
.ds .choice .ses.lbl{height:26px;font-size:12px;color:var(--ink2)}
.ds .choice p .mono{font-size:11.5px}
.ds .fresh-more{margin:10px 0 0}

/* ---------- tab tools (filter, reload) at the right of the tab strip ---------- */
.ds .ftools{display:inline-flex;align-items:center;gap:2px}
.ds .ftools .ib.sm{color:var(--ink2)}
.ds #tab-file .fbar{display:flex;align-items:center;gap:4px}
.ds #tab-file .fbar .search{flex:1;min-width:0}
.ds .ftree .fnote{margin:8px 0 2px}

/* 48d/48e: a copy's place in its detail (warn when dirhp fell back to the document origin) and the note that stays until it moves */
.ds .locv{color:var(--ink);overflow-wrap:anywhere}
.ds .locv.w{color:var(--warn);font-weight:600}
.ds .locv small{display:block;font-size:11px;line-height:15px;color:var(--mute);font-weight:400}
.ds .olnote{margin:8px 0 0;padding:2px 0 2px 8px;border-left:3px solid var(--ink2);font-size:11.5px;line-height:16px;color:var(--ink2)}
.ds .olnote.w{border-left-color:var(--warn)}
.ds .olnote b{color:var(--ink);font-weight:600}
.ds .olnote .acts{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.ds .olnote ul{margin:4px 0 0;padding:0;list-style:none}
.ds .olnote li{position:relative;padding:3px 0 3px 12px;border-top:1px dotted var(--dot)}
.ds .olnote li::before{content:"";position:absolute;left:2px;top:10px;width:4px;height:4px;border-radius:50%;background:var(--ink2)}
/* 48k: the base point line in the New option form */
.ds .bpl{display:grid;grid-template-columns:74px minmax(0,1fr);gap:2px 8px;margin-top:8px;padding-top:6px;border-top:1px dotted var(--rule);font-size:11.5px;line-height:15px}
.ds .bpl .cap{line-height:15px}
.ds .bpl .v{color:var(--ink);overflow-wrap:anywhere}
.ds .bpl .v small{display:block;font-size:11px;color:var(--mute)}
.ds .bpl .acts{grid-column:2;display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}

/* ---------- 49: the New option block folds; its note field (same words, limit and over-limit state as 44a) ---------- */
.ds .nrow{display:flex;align-items:center;gap:2px;margin:-2px 0 4px -4px}
.ds .nhb{flex:1;min-width:0;display:flex;align-items:center;gap:4px;min-height:28px;padding:0 4px;border:0;border-radius:2px;background:none;font:600 12px/16px var(--sans);color:var(--ink);text-align:left;cursor:pointer}
.ds .nhb:hover{background:var(--fill)}
.ds .nhb:focus-visible{outline:2px solid var(--brand);outline-offset:-1px}
.ds .nhb[aria-disabled="true"]{cursor:default}
.ds .nhb .t{flex:none}
.ds .nhb .kept{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400;color:var(--ink2)}
.ds .newopt.col{padding-bottom:2px}
.ds .newopt.col .nrow{margin-bottom:0}
.ds .nform .nlab{display:flex;align-items:baseline;gap:6px;margin-top:8px}
.ds .nform .nlab label{font-size:11px;font-weight:600;color:var(--ink2)}
.ds .nform .nlab .cnt{margin-left:auto}
.ds .nform .cnt{font:500 10.5px/14px var(--mono);color:var(--mute)}
.ds .nform .cnt.bad{color:var(--bad);font-weight:600}
.ds .nform .inp.bad,.ds .shb .inp.bad,.ds .shform .inp.bad{border-color:var(--bad)}
.ds .nform .why,.ds .shform .why{font-size:11px;line-height:15px;color:var(--ink2)}
.ds .nform .r.fa .why{flex:1 1 0;min-width:0}
.ds .nform .r.fa{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
/* 62a2: a copy's "N locked" mark that unlocks (its own locks, or any for an owner) is a quiet button; it stays while the row's
   hover actions show, since hovering is how it is reached. */
.ds .ftree .row button.pin.lockm{display:inline-flex;align-items:center;gap:3px;flex:none;height:20px;padding:0 3px;margin:0;border:0;border-radius:3px;background:none;font:inherit;font-size:11px;color:var(--mute);cursor:pointer}
.ds .ftree .row button.pin.lockm .i{width:12px;height:12px}
.ds .ftree .row button.pin.lockm:hover{color:var(--ink);background:var(--fill)}
.ds .ftree .row:hover button.pin.lockm,.ds .ftree .row:focus-within button.pin.lockm,.ds .ftree .row.hv button.pin.lockm{display:inline-flex}

/* panel-workspace.css: the Workspace tab (chunk 5, boards 2d and 2e). Tokens and shared components live in panel.css. */
.ds #tab-ws .wssearch{position:sticky;top:0;z-index:3;background:var(--paper)}
.ds #tab-ws .wssearch .search{margin:8px 0 4px}
.ds #tab-ws .wsnote{margin:8px 0}
.ds #tab-ws .wstree .row{cursor:pointer}
.ds #tab-ws .rootline{padding:0 0 4px 22px}
.ds #tab-ws .inote{margin:4px 0 4px 22px}
.ds #tab-ws .btn.indent{margin:4px 0 4px 16px}
.ds #tab-ws .ver{position:relative;padding:7px 2px 8px 22px;border-bottom:1px solid var(--rule)}
.ds #tab-ws .ver .msg{margin-top:3px;font-size:12px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ds #tab-ws .ver .msg.none{color:var(--mute);font-style:italic}
.ds #tab-ws .ver .tags{flex-wrap:wrap;gap:4px;margin-top:5px}
.ds #tab-ws .ver .acts{flex-wrap:wrap;gap:4px;margin-top:6px}
.ds #tab-ws .ver .loaded{display:block;margin-top:4px}
.ds #tab-ws .addtag .i{width:10px;height:10px}
.ds #tab-ws .gh{border-color:var(--dot)}
.ds #tab-ws .gens{border-top-color:var(--rule)}
/* Part 1: "Open in Grasshopper" is stacked under the script's details */
.ds #tab-ws .gen{flex-direction:column;align-items:flex-start;gap:6px}
.ds #tab-ws .gtext{min-width:0;max-width:100%}
.ds #tab-ws .gtext b{overflow:hidden;text-overflow:ellipsis}
.ds #tab-ws .hint.blk{display:block}
.ds #tab-ws .gen-err{margin:0 0 6px;color:var(--bad);font-size:11px;line-height:15px}
/* tag picker: opens under the version's tag row (zero-height anchor, picker floats over the rows below) */
.ds #tab-ws .pka{position:relative;height:0}
.ds #tab-ws .pka .picker{top:4px;left:0;max-width:100%;border-top-width:1px}
.ds #tab-ws .polist{max-height:216px;overflow:auto}
.ds #tab-ws .pcap{padding:6px 10px 2px}
.ds #tab-ws .pnote{padding:6px 10px}
.ds #tab-ws .po .tn{display:block;font:500 11.5px/15px var(--mono);color:var(--ink)}
/* 37: rename on the Workspace tab, the File tab's inline field (2j) on option rows and version notes */
.ds #tab-ws .rn{flex:1;min-width:0;height:22px;box-sizing:border-box;padding:0 6px;font:inherit;font-weight:600;color:var(--ink);background:transparent;border:1px solid var(--brand);border-radius:2px}
.ds #tab-ws .rn:focus{outline:1px solid var(--brand);outline-offset:-1px}
.ds #tab-ws .rn.bad{border-color:var(--bad)}
.ds #tab-ws .rn.bad:focus{outline-color:var(--bad)}
.ds #tab-ws .rn.note{display:block;width:100%;margin-top:3px;font-size:12px;font-weight:400}
.ds #tab-ws .fldr{margin-top:3px}
.ds #tab-ws .fldr .rn.note{margin:0}
.ds #tab-ws .cnt{flex:none;font:500 10.5px/14px var(--mono);color:var(--mute)}
.ds #tab-ws .cnt.bad{color:var(--bad);font-weight:600}
.ds #tab-ws .ver .inl{margin:6px 0 2px}
.ds #tab-ws .inl .was{margin:-4px 0 8px;font-size:11px;line-height:15px;color:var(--mute);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
/* 48c several options selected: a counted bar above the list (ink edge = a panel selection, never Rhino yellow) and a real checkbox per row */
.ds #tab-ws .msel{display:flex;align-items:center;gap:6px;min-height:28px;margin:0 0 4px;padding:0 2px 0 8px;border-left:3px solid var(--ink);background:var(--fill);font-size:11.5px;color:var(--ink)}
.ds #tab-ws .msel b{font-weight:600;flex:none}
.ds #tab-ws .msel .hint{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.ds #tab-ws .row .ck{width:14px;height:14px;margin:0 1px 0 5px;accent-color:var(--brand);flex:none}
.ds #tab-ws .row.chk{background:var(--fill)}
.ds #tab-ws .row.chk .nm{font-weight:600}
/* 48a, 48c, 48n: a menu heading's second line (what is selected, or the copies in this file) */
.ds .menu .mh .hint{display:block;font-weight:400}
/* 48h a saved version's Inside list: the options it holds, nested as saved, each placement with where its origin sits */
.ds #tab-ws .inside{margin-top:8px;border-top:1px solid var(--rule)}
.ds #tab-ws .inside .ih{display:flex;align-items:center;gap:4px;min-height:26px;padding:0;border:0;background:none;font:500 11.5px/15px var(--sans);color:var(--ink2);cursor:pointer}
.ds #tab-ws .occ{position:relative;display:flex;align-items:center;gap:6px;min-height:28px;padding-right:2px;border-bottom:1px dotted var(--rule);white-space:nowrap}
.ds #tab-ws .occ:hover,.ds #tab-ws .occ.hv{background-color:var(--fill)}
.ds #tab-ws .occ.ctx{background-color:var(--fill);outline:1px solid var(--ink2);outline-offset:-1px}
.ds #tab-ws .occ .nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.ds #tab-ws .occ.two{align-items:flex-start;padding-top:5px;padding-bottom:5px;white-space:normal}
.ds #tab-ws .occ.two .hlb,.ds #tab-ws .occ.two .ib{margin-top:-2px}
.ds #tab-ws .occ .nm b{font-weight:600}
.ds #tab-ws .occ .at{display:block;font:500 10.5px/14px var(--mono);color:var(--mute);white-space:nowrap}
.ds #tab-ws .occ .on{display:block;font-size:11px;line-height:15px;color:var(--ink2)}
/* 59: the search marks its matches; a tag hit shows the tag and its version in place of the closed row's hint. */
.ds #tab-ws .wstree mark{background:var(--sel);color:var(--seltext);padding:0}
.ds #tab-ws .wstree .hint.taghit{display:inline-flex;align-items:center;gap:6px;min-width:0;overflow:hidden}
.ds #tab-ws .wstree .hint.taghit .stamp{flex:none}
.ds #tab-ws .wstree .note.tagnote{display:flex;align-items:center;gap:8px;margin:4px 0}

/* panel-sheets.css: sheets and decisions (chunk 6): the Update sheet, combine review and result, copy pickers, the unload decision,
   the late-save decision in the title block, the interrupted-unload review and the offline banner.
   The frame, schedule, tally, banner and decision list are shared components in panel.css; this file only adds
   their sheet-specific details. Tokens only; every rule is scoped under .ds; no heavy rules here. */

/* ---------- sheet frame: the panel starts under the selection block (the script sets its top) ---------- */
.ds .shx .sheet-panel{max-height:none}
.ds .shx .shh .i{color:var(--ink2)}
.ds .shx .shtime{margin-right:6px;font-size:11px}
.ds .shx .shb>*{flex:none}
/* The dialog takes focus when it opens (no control is pre-focused); its own outline would only frame the sheet. */
.ds .shx .sheet-panel:focus{outline:none}
.ds .shx .sheet-panel:focus-visible{outline:none}
/* Include / pick boxes: a quiet ink square, not a filled brand control (one filled button per screen). */
.ds .shx input[type="checkbox"]{appearance:none;-webkit-appearance:none;width:13px;height:13px;margin:2px 0 0;border:1px solid var(--mute);border-radius:2px;background:none;flex:none;cursor:pointer}
.ds .shx input[type="checkbox"]:checked{background:var(--ink);box-shadow:inset 0 0 0 2px var(--paper);border-color:var(--ink)}
.ds .shx input[type="checkbox"]:disabled{border-color:var(--rule);cursor:default}
.ds .shx .shf{flex-wrap:wrap}
.ds .shleft{margin-right:auto}
.ds .shp{margin:0;font-size:12px;line-height:17px;color:var(--ink2)}
.ds .shp.mute{color:var(--mute);font-size:11.5px}
.ds .shp.bad{color:var(--bad)}
.ds .shwait{gap:8px;color:var(--mute);font-size:12px;min-height:28px}

/* ---------- 26a / 3a review schedules ---------- */
.ds .shgo th:last-child,.ds .shgo td.num{text-align:right}
.ds .shgo tr.off td{color:var(--mute)}
.ds .shgo tr.off b{font-weight:500}
.ds .shinc{display:inline-flex;align-items:flex-start;gap:6px;cursor:pointer}
.ds .shsub{display:block}
.ds .shcopy .shsub{padding-left:19px}
.ds .shex td{padding-left:10px}
.ds .shex td.warnrow{box-shadow:inset 3px 0 0 var(--warn)}
.ds .shex td.badrow,.ds .shres tr.badrow>td:first-child{box-shadow:inset 3px 0 0 var(--bad)}
.ds .shres tr.badrow>td:first-child{padding-left:10px}
.ds .shex .r b{font-weight:600}
.ds .shwhy{margin:3px 0 6px;color:var(--ink2);white-space:normal}
.ds .shfix{flex-wrap:wrap;gap:4px}
.ds .shnote{gap:6px;font-size:11.5px}
.ds .edits.inline{font-size:12px}

/* ---------- 26a Update: keep or replace my edits, per copy ---------- */
.ds .shmode{display:flex;flex-direction:column;gap:6px;min-width:0;margin:0;padding:0;border:0}
.ds .shmode>legend{padding:0;margin-bottom:6px;font:600 12px/16px var(--sans);color:var(--ink)}
.ds .shmode>legend .shinc b{font-weight:600}
.ds .shrads{border-top:1px solid var(--rule)}
.ds .shrad{display:flex;gap:8px;align-items:flex-start;padding:8px 6px;border-bottom:1px dotted var(--rule);cursor:pointer}
.ds .shrad:hover{background:var(--fill)}
.ds .shrad .ot{display:flex;flex-direction:column;min-width:0}
.ds .shrad b{font-weight:500;font-size:12.5px;line-height:17px;color:var(--ink)}
.ds .shrad.on{box-shadow:inset 3px 0 0 var(--brand)}
.ds .shrad.on b{font-weight:600}
.ds .shrad.danger b{color:var(--bad)}
.ds .shrad.dis{cursor:default}
.ds .shrad.dis:hover{background:none}
.ds .shrad.dis b{color:var(--off)}
.ds .shx input[type="radio"]{appearance:none;-webkit-appearance:none;width:13px;height:13px;margin:2px 0 0;border:1px solid var(--mute);border-radius:50%;background:none;flex:none;cursor:pointer}
.ds .shx input[type="radio"]:checked{background:var(--ink);box-shadow:inset 0 0 0 3px var(--paper);border-color:var(--ink)}
.ds .shx input[type="radio"]:disabled{border-color:var(--rule);cursor:default}

/* ---------- 26·1–26·6 combine review: where-you-are bar, an overview's row buttons, one conflict's choice cards ---------- */
.ds .loc{flex:none;display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 8px;padding:7px 12px 8px;border-bottom:1px solid var(--ink)}
.ds .loc.in{background:var(--fill)}
.ds .loc .here{display:flex;gap:6px;align-items:flex-start;min-width:0}
.ds .loc .here b{display:block;font:600 13px/18px var(--sans);color:var(--ink);overflow-wrap:anywhere}
.ds .loc .here small{display:block;font-size:11px;line-height:15px;color:var(--ink2)}
.ds .loc .here .el{flex:none;width:14px;height:14px;margin-top:2px;color:var(--ink2)}
.ds .loc .ok{color:var(--hl);font-weight:600}
.ds .loc .up{grid-column:1/3;justify-self:start;display:inline-flex;align-items:center;gap:2px;min-height:32px;padding:0 10px 0 4px;border:1px solid var(--ink2);border-radius:3px;background:var(--paper);font:500 12px/16px var(--sans);color:var(--ink);cursor:pointer}
.ds .loc .up:hover,.ds .loc .up:focus-visible{background:var(--fill)}
.ds .loc .up .i{width:14px;height:14px}
.ds .cat{display:flex;align-items:baseline;gap:6px;margin:0;padding:6px 0 4px;border-bottom:1px solid var(--rule);font:500 9.5px/12px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--mute)}
.ds .cat b{font-weight:600;color:var(--ink)}
.ds .shb>.cat+.cpls{margin-top:-10px}
.ds .cpls{margin:0;padding:0;list-style:none}
.ds .cpls li{border-bottom:1px solid var(--rule)}
.ds .cpr{width:100%;min-height:44px;display:grid;grid-template-columns:minmax(0,1fr) auto 12px;align-items:center;gap:2px 8px;padding:6px 6px 6px 8px;border:0;background:none;text-align:left;font:400 12px/16px var(--sans);color:var(--ink);cursor:pointer}
.ds .cpr:hover,.ds .cpr:focus-visible{background:var(--fill)}
.ds .cpr b{font-weight:600;overflow-wrap:anywhere}
.ds .cpr small{grid-column:1;display:block;font-size:11px;line-height:15px;color:var(--ink2)}
.ds .cpr .st{grid-row:1/3;grid-column:2;font:500 11px/15px var(--mono);white-space:nowrap;color:var(--ink)}
.ds .cpr .st.ok{display:inline-flex;align-items:center;gap:3px;color:var(--hl)}
.ds .cpr .st.n{color:var(--ink2)}
.ds .cpr .st.w{color:var(--warn)}
.ds .cpr .ch{grid-row:1/3;grid-column:3;width:12px;height:12px;color:var(--ink2)}
/* a row's focus ring goes round its whole list item (open target and quick choices); none on the focus a return restores */
.ds .cpls .cpr:focus-visible{outline:none}
.ds .cpls li:has(> .cpr:focus-visible:not([data-restored])){outline:2px solid var(--brand);outline-offset:-2px}
/* an option row's quick choices: siblings under its open target, never inside it */
.ds .cpls li.q .cpr{padding-bottom:4px}
.ds .cpls .qa{display:flex;flex-wrap:wrap;gap:6px;padding:0 6px 8px 8px}
.ds .cpls .btn:focus-visible,.ds .cat .btn:focus-visible{outline-offset:2px}
/* a row's version choice: the Segmented control, 22px; pressed = fill, 600, ink, 2px ink underline */
.ds .qa .seg{border:1px solid var(--mute);border-radius:3px;overflow:hidden}
.ds .qa .seg button{height:22px;padding:0 8px;font:500 11px/14px var(--sans);color:var(--ink2);cursor:pointer}
.ds .qa .seg button+button{border-left:1px solid var(--mute)}
.ds .qa .seg button[aria-pressed="true"]{background:var(--fill);color:var(--ink);font-weight:600;box-shadow:inset 0 -2px 0 var(--ink)}
.ds .qa .seg button:focus-visible{outline-offset:-2px}
.ds .qa .seg button.d{color:var(--bad)}
.ds .qa .seg button.d[aria-pressed="true"]{color:var(--bad);box-shadow:inset 0 -2px 0 var(--bad)}
/* 26·4: an option's own answer, full width, and the line under it */
.ds .edq{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.ds .seg.full{display:flex;width:100%}
.ds .seg.full button{flex:1 1 auto;white-space:nowrap}
.ds .ans{margin:0;font-size:12px;line-height:17px;color:var(--ink2)}
/* the return mark: the row you came back to, over the whole list item; focus keeps its own outline */
.ds .cpls li.back{background:var(--brand-wash)}
.ds .cpls li.back .cpr:hover,.ds .cpls li.back .cpr:focus-visible,.ds .cpls li.back .btn.tg[aria-pressed="true"]:not(:hover),.ds .cpls li.back .seg button[aria-pressed="true"]:not(:hover){background:transparent}
.ds .shmore{margin:0}
.ds .cat .btn{margin-left:auto;align-self:center;letter-spacing:0;text-transform:none}
.ds .cpr.off{cursor:default}
.ds .cpr.off:hover{background:none}
.ds .shwarn{padding:2px 0 2px 7px;box-shadow:inset 3px 0 0 var(--warn);font-size:11.5px;line-height:16px}
.ds .shpick>legend.cap{padding:6px 0 2px}
.ds .shmore .lnk{padding:0}
.ds .shpick{min-width:0;margin:0;padding:0;border:0;border-top:1px solid var(--rule)}
.ds .shpk{display:flex;align-items:center;gap:6px;padding-right:4px;border-bottom:1px dotted var(--rule)}
.ds .shpk .shrad{flex:1;min-width:0;border:0}
.ds .shpk .ot .hint{overflow-wrap:anywhere}
.ds .shpk>.btn,.ds .shpk>.hint{flex:none}
.ds .btn.pv{border-style:dashed}
.ds .btn.pv[aria-pressed="true"]{background:var(--ink);border-style:solid;border-color:var(--ink);color:var(--paper)}
.ds .btn.pkgo{width:100%;justify-content:center}
/* a primary that names where it goes stays on one line: the verb stays, the name ends in an ellipsis */
.ds .btn.nx{min-width:0;max-width:100%;gap:0;overflow:hidden}
.ds .btn.nx .nxl{flex:none;white-space:pre}
.ds .btn.nx .nxn{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* a footer holding one never wraps (wrapping would move it to a second row instead of shrinking it); other footers still wrap */
.ds .shx .shf:has(.nx){flex-wrap:nowrap}
.ds .shf:has(.nx) .btn:not(.nx){flex:none}
.ds .shf .btn.nx{flex:0 1 auto;min-width:0}
.ds .shby{display:block;font-size:11.5px;color:var(--mute)}
.ds .shsw{display:inline-block;width:11px;height:11px;margin-right:4px;border:1px solid var(--mute);vertical-align:-1px}
.ds .shauto{margin:0;padding:0;list-style:none;font-size:12px;line-height:17px;color:var(--ink2)}
.ds .shauto li{padding:2px 0}

/* ---------- 3b result ---------- */
.ds .tally .bad .cap,.ds .tally .bad b{color:var(--bad)}
.ds .tally .warn b{color:var(--warn)}
.ds .shok{gap:4px;color:var(--ink)}
.ds .shfail{gap:4px;color:var(--bad);font-weight:600}
.ds .shres td{white-space:normal}

/* ---------- copy picker (3d unload, Save versions, Adopt into) ---------- */
.ds .shsearch{margin:0}
.ds .shbar{gap:6px;font-size:12px}
.ds .pkl{border-top:1px solid var(--rule)}
.ds .pk{display:flex;align-items:center;gap:6px;min-height:33px;padding:4px 4px 4px 9px;border-bottom:1px dotted var(--rule);font-size:12px;line-height:16px}
.ds .pk:hover{background:var(--fill)}
.ds .pk .pkn{display:flex;align-items:center;gap:8px;flex:1;min-width:0;cursor:pointer}
.ds .pk input{margin:0;accent-color:var(--ink);flex:none}
.ds .pk .nm{flex:1;min-width:0}
.ds .pk .nm b{font-weight:500}
.ds .pk .m2{display:block;font-size:10.5px;line-height:14px;color:var(--mute)}
.ds .pk .m2 .edits{font-size:10.5px}
.ds .pk .m2 .edits::before{display:none}
.ds .pk.on{box-shadow:inset 3px 0 0 var(--ink);background:var(--fill)}
.ds .pk.on .nm b{font-weight:600}
.ds .pk.off .pkn{cursor:default;color:var(--off)}
.ds .pk.off:hover{background:none}
.ds .pk.off .revm,.ds .pk.off .m2{color:var(--off)}
.ds .pk.off .m2{color:var(--mute)}
.ds .pk.child{padding-left:32px}
.ds .shf.col{flex-direction:column;align-items:stretch;gap:8px}
.ds .shf.col>.r{gap:6px}
.ds .ed{padding:2px 0 2px 10px;border-left:3px solid var(--warn);font-size:12px;line-height:17px;color:var(--ink2)}
.ds .ed b{color:var(--ink);font-weight:600}

/* ---------- 3c inline unload decision (red spine from panel.css .inl.danger) ---------- */
.ds .shunl{margin-left:20px}
.ds .shunl>.r{gap:6px}
.ds .shdec{display:flex;flex-direction:column;align-items:stretch;gap:6px}
.ds .shdec .btn.q{padding:0 4px}

/* ---------- 4a late save: the title block holds the decision ---------- */
.ds .tbd>.shlate{margin:-8px -8px -6px}
.ds .shlate>.tbs{border-top:0}
.ds .shlated{padding:8px 8px 6px;border-top:1px solid var(--rule)}
.ds .shlead{align-items:flex-start;gap:8px}
.ds .shlead b{font:600 13px/18px var(--sans)}
.ds .shwarn{color:var(--warn)}
.ds .shlead .i{margin-top:1px}
.ds .shlated .optbtn .shoi{color:var(--ink2);margin-top:1px}
.ds .shlated .optbtn.danger .shoi{color:var(--bad)}
.ds .shlated .optbtn .ot .hint{display:block}
.ds .optbtn.static{cursor:default}
.ds .optbtn.static:hover{background:none}
.ds .shlater{margin-top:6px;gap:6px}
.ds .shlater .btn.q{padding:0 4px}
.ds .shform{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.ds .shform .btn.q{padding:0 4px}
.ds .shx .shlate{margin:0}
.ds .shx .shlate>.tbs{border:1px solid var(--rule)}

/* ---------- 4b interrupted unload review ---------- */
.ds .shrec .kv{margin-bottom:8px}
.ds .shrec .optbtn .ot .hint{display:block}
.ds .shrec .optbtn[aria-disabled="true"]{cursor:default}
.ds .shrec .optbtn[aria-disabled="true"] b,.ds .shrec .optbtn[aria-disabled="true"] .hint{color:var(--off)}
.ds .shrec .optbtn[aria-disabled="true"]:hover{background:none}
.ds .shlinks{margin-top:6px;gap:6px}
.ds .shlinks .btn.q{padding:0 4px}
.ds .shx .shrec{margin-left:0}

/* ---------- banners (4b, 4c): glyph in the edge colour ---------- */
.ds .banner>.shbad{color:var(--bad);margin-top:1px}
.ds .banner .shdet{display:block;margin-top:4px}

/* ---------- 31a/31b/31e options-inside list and the sheet's live summary line ---------- */
.ds .okl{border-top:1px solid var(--rule)}
.ds .oklh{gap:6px;min-height:26px;border-bottom:1px solid var(--rule)}
.ds .oklh .lnk[aria-pressed="true"]{color:var(--ink)}
.ds .okr{display:flex;flex-direction:column;gap:2px;padding:6px 4px 6px calc(4px + var(--d, 0) * 26px);border-bottom:1px dotted var(--rule)}
.ds .okt{display:flex;align-items:flex-start;gap:8px;cursor:pointer}
.ds .okn{flex:1;min-width:0;font-weight:500;font-size:12.5px;line-height:17px;color:var(--ink);overflow-wrap:anywhere}
.ds .okr.on .okn{font-weight:600}
.ds .okres{display:flex;flex-direction:column;align-items:flex-end;flex:none;text-align:right}
.ds .okres .mono{font-size:12px;line-height:17px;color:var(--ink);white-space:nowrap}
.ds .okwhy{font-size:9.5px;line-height:12px;color:var(--mute);white-space:nowrap}
.ds .okp{display:block;padding-left:21px;font-size:11.5px;line-height:16px;color:var(--mute)}
.ds .okc{display:block;margin:2px 0 0 21px;padding-left:8px;border-left:3px solid var(--ink2);font-size:11.5px;line-height:16px;color:var(--ink2)}
.ds .okr.dis .okt{cursor:default}
.ds .okr.dis .okn,.ds .okr.dis .okres .mono{color:var(--off)}
.ds .okr.dis .okoff{color:var(--ink2)}
.ds .okm{display:flex;align-items:center;gap:4px;width:100%;min-height:26px;padding:0 4px;border:0;border-bottom:1px dotted var(--rule);background:none;font-size:11.5px;color:var(--ink2);text-align:left;cursor:pointer}
.ds .okm:hover{background:var(--fill)}
.ds .okm[aria-expanded="true"] .i{transform:rotate(90deg)}
.ds .okml{margin:0;padding:2px 0 4px 22px;list-style:none;font-size:11.5px;line-height:16px;color:var(--ink2)}
.ds .okml li{padding:2px 0}
.ds .okcn{margin-left:6px;font-weight:400;font-size:11.5px;color:var(--mute)}
/* 31g: Show N copies under a grouped row; each copy is a button that selects and zooms in Rhino (aria-current = selected) */
.ds .okcp{margin-left:21px}
.ds .okcp>.okm{border-bottom:0;padding-left:0}
.ds .okcl{margin:0;padding:0;list-style:none;border-top:1px dotted var(--rule)}
.ds .okci{display:flex;align-items:center;gap:8px;width:100%;min-height:26px;padding:0 4px 0 8px;border:0;border-bottom:1px dotted var(--rule);background:none;font-size:11.5px;color:var(--ink);text-align:left;cursor:pointer}
.ds .okci:hover{background:var(--fill)}
.ds .okci[aria-current="true"]{box-shadow:inset 3px 0 0 var(--brand);font-weight:500}
.ds .okcin{flex:1;min-width:0;overflow-wrap:anywhere}
.ds .okci .mono{flex:none;font-size:11.5px;color:var(--ink2)}
.ds .okcsel{margin-left:6px;font-size:10.5px;font-weight:600;color:var(--ink2)}
.ds .shsum{flex-basis:100%;margin:0 0 4px;padding:1px 0 1px 8px;border-left:3px solid var(--ink2);font-size:12px;line-height:17px;color:var(--ink2)}
.ds .shsum b{font-weight:600;color:var(--ink)}
/* 31d: an update that didn't run: every row as before, the failed one on a red spine */
.ds .shpart .okt{cursor:default;align-items:center}
.ds .shpart .okp{padding-left:0}
.ds .shpart .okr.bad{padding-left:10px;box-shadow:inset 3px 0 0 var(--bad)}
.ds .shpart .okr.bad .okp{color:var(--ink2)}
.ds .shf.col>.r>.btn.grow{flex:1}
.ds .banner.brand{border-left-color:var(--brand)}
.ds .banner .agl{margin:4px 0 0;padding:0 0 0 14px;font-size:12px;line-height:17px;color:var(--ink2)}
/* 32g: the note a stopped save carries, shown in its decision */
.ds .shlated .kept{display:flex;align-items:baseline;gap:6px;margin-top:6px;font-size:12px;line-height:17px;min-width:0}
.ds .shlated .kept q{flex:1;min-width:0;color:var(--ink);overflow-wrap:anywhere}
.ds .shlated .kept .lnk{flex:none}
/* 59 (51r): a picker row led by its note; the second line is the id, who and when */
.ds .pk .vline{display:flex;align-items:baseline;gap:6px;min-width:0}
.ds .pk .vline .vm{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--ink)}
.ds .pk .vline .vm.none{color:var(--mute);font-style:italic}
.ds .pk .vline .pin,.ds .pk .vline .stamp{flex:none}
.ds .pk .m2 .mono{font-size:10.5px}

/* panel-swap.css: swapping what a child draws (boards 11-14): the swap picker, the status line that wraps, version
   marks outside the truncating name, and the ink edge. Reuses the copy-picker rows (.pk) from panel-sheets.css.
   Tokens only; every rule is scoped under .ds; no heavy rules here. */

/* ---------- version marks stay visible: only the name itself truncates ---------- */
.ds .row .nm{display:flex;align-items:center;min-width:0;overflow:visible}
.ds .row .nmt{min-width:0;overflow:hidden;text-overflow:ellipsis}
.ds .row .nm .revm,.ds .row .nm .cid{flex:none}
.ds .row .edits{flex:none}
/* state text steps aside while a hover action shows */
.ds .ftree .row:hover .pin,.ds .ftree .row:hover .edits,.ds .ftree .row:focus-within .pin,.ds .ftree .row:focus-within .edits,.ds .ftree .row.hv .pin,.ds .ftree .row.hv .edits{display:none}

/* ---------- the status line wraps when a message is long (13b, 14f) ---------- */
.ds .status.long{height:auto;min-height:26px;align-items:flex-start;padding:5px 6px 6px 10px;white-space:normal;line-height:15px;color:var(--ink2)}
.ds .status.long{max-height:84px;overflow-y:auto}
.ds .status.long .st{overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.ds .status.long .i{margin-top:1px}
.ds .status.long .lnk{flex:none}

/* ---------- picker ---------- */
.ds .shx .shb>.pkl{flex:1 1 0;min-height:0;overflow:auto}
.ds .shx .shb{gap:8px}
.ds .shh h2{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.ds .pk input[aria-disabled="true"]{opacity:.45}
.ds .pk .gh{height:24px;flex:none}
.ds .pk .m2 .cur{color:var(--ink);font-weight:600}
.ds .pk .m2.msg{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ds .pk .nm .hint{margin-right:4px}
.ds .pk .gh[disabled]{color:var(--off);border-color:var(--rule)}
.ds .pkl .swmore{margin:4px 0 4px 32px;flex:none}
.ds .pkl .hint.pad{display:block;padding:8px 9px}
.ds .pkl>.r{padding:10px 9px}
.ds .pkl .act{padding:8px 9px}
.ds .pkl .act .shp{margin-bottom:6px}
.ds .pkl .act .btn+.btn{margin-left:6px}
.ds .shf .btn{min-width:0;overflow:hidden;text-overflow:ellipsis}
.ds .shf .wait{font-size:12px;line-height:17px;color:var(--ink2)}
.ds .shf .hint.sp{flex:1}
/* What the choice means: a plain sentence, read through a polite live region */
.ds .mean{padding:2px 0 2px 10px;border-left:3px solid var(--ink2);font-size:12px;line-height:17px;color:var(--ink2)}
.ds .mean b{color:var(--ink);font-weight:600}
.ds .shx .err,.ds .pkl .err{padding:2px 0 2px 10px;border-left:3px solid var(--bad);font-size:12px;line-height:17px;color:var(--bad)}
.ds .shx .err:focus{outline:none}
.ds .inl .acts .btn.sm{height:22px}

/* ---------- child edits: a hollow dot for work below this copy (17c-f), and the note under Save ---------- */
.ds .edits.kid::before{background:none;box-shadow:inset 0 0 0 1.5px var(--warn)}
.ds .tbw{display:flex;align-items:flex-start;gap:6px;padding:5px 8px 6px;border-top:1px solid var(--rule);font-size:11px;line-height:15px;color:var(--ink2)}
.ds .tbw .st{flex:1;min-width:0}
.ds .tbw .lnk{flex:none}
.ds .ring{flex:none;width:6px;height:6px;margin-top:5px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--warn)}
.ds .ring.solid{background:var(--warn)}

/* ---------- placeholders: a slot with nothing in it (16a, 16b, 16d, 60k-60n) ---------- */
.ds .revm.none{border-style:dashed;border-color:var(--mute)}
.ds .row .usebtn{flex:none;height:22px;margin-right:4px}
.ds .row .adoptbtn{flex:none;height:22px;margin-right:4px;padding:0 8px;font-weight:600}
.ds .row .adoptbtn[aria-disabled="true"]{font-weight:500}
.ds .hlb[aria-disabled="true"]{color:var(--off);background:none;cursor:default}
.ds .inl .phh{display:block;margin:6px 0 0}
.ds .inl .phe{margin:6px 0 0;color:var(--bad);font-size:12px;line-height:17px}
.ds .inl.danger .inp{border-color:var(--bad)}
.ds .tba .btn.q{padding:0 5px}
.ds .tba .aux{display:flex;align-items:center;gap:6px;margin-left:auto}
@container (max-width:320px){.ds .tba{gap:4px}}
.ds .pk mark{background:var(--sel);color:var(--seltext);padding:0}

/* panel-solo.css: Show only (section 33): the strip under the title block, and the marks on the copies tree.
   The banner, row and state components are in panel.css; this file adds only what Show only needs.
   Tokens only; every rule is scoped under .ds; no heavy rules here. */

/* ---------- the strip: a banner in #solo, with the bulb in front ---------- */
.ds #solo .banner>.i{margin-top:1px;color:var(--ink)}
.ds #solo .banner .ba .hint{align-self:center;font-size:11px;color:var(--mute)}

/* ---------- rows: the shown copy says so in words; the hidden ones grey their name ---------- */
.ds .row .shown{display:inline-flex;align-items:center;gap:3px;font-size:11px;font-weight:600;color:var(--ink);white-space:nowrap;flex:none}
.ds .row .shown .i{width:12px;height:12px}
.ds .row .via{font-size:11px;color:var(--mute);white-space:nowrap;flex:none}
.ds .row.hid .nmt{color:var(--mute)}
.ds .row.hid .revm{color:var(--off)}
/* state text steps aside while a hover action shows, as in panel-swap.css */
.ds .ftree .row:hover .shown,.ds .ftree .row:focus-within .shown,.ds .ftree .row.hv .shown,
.ds .ftree .row:hover .via,.ds .ftree .row:focus-within .via,.ds .ftree .row.hv .via{display:none}

/* ---------- the status line's bulb ---------- */
.ds .status .sob{color:var(--mute)}

/* panel-activity.css: what the assistant did (section 35): the grey by-line on a copy row (35a) and the Activity sheet
   (35b). The sheet frame, .seg, .cap, .hint and .lnk are in panel.css and panel-pre.css; this file adds only what
   Activity needs. Tokens only; every rule is scoped under .ds; no heavy rules here. */

/* ---------- 35a: the by-line sits before the state and steps aside for the row actions on hover ---------- */
.ds .row .agby{font-size:11px;color:var(--mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:0 1 auto;max-width:45%}
.ds .ftree .row:hover .agby,.ds .ftree .row:focus-within .agby,.ds .ftree .row.hv .agby{display:none}

/* ---------- 35b: newest first, split at Since you were last here; the way back on the right ---------- */
.ds .aseg{align-self:flex-start}
.ds .asep{display:flex;align-items:baseline;gap:6px;padding:8px 0 3px;border-bottom:1px solid var(--rule)}
.ds .alog{display:flex;flex-direction:column}
.ds .ae{display:grid;grid-template-columns:40px minmax(0,1fr) auto;column-gap:8px;align-items:start;padding:6px 0;border-bottom:1px dotted var(--dot);font-size:12px;line-height:16px}
.ds .ae:last-child{border-bottom:0}
.ds .ae .t{font:400 11px/16px var(--mono);color:var(--mute);white-space:nowrap}
.ds .ae .aw{min-width:0;overflow-wrap:anywhere}
.ds .ae b{font-weight:600}
.ds .ae .m2{display:block;font-size:10.5px;line-height:14px;color:var(--mute)}
.ds .ae>.lnk,.ds .ae>.hint{white-space:nowrap;font-size:11px;line-height:16px;text-align:right}
.ds .amore{padding:6px 0}

/* panel-desk.css: the Agent Desk tab (chunk 7; boards 5a-5g). Tokens only (panel.css); every rule is under .ds.
   Heavy rule: the dropped-files review .rv takes its 2px ink top from the budget block in panel.css, nothing here
   draws one. The desk surface's top rule is 2px ink2, not the heavy ink rule. Thumbnail artwork comes from the host (images) or is built from tokens. */

/* ---------- head, add row, the desk surface (5a): a desk shared with your agent. The surface is a fill field under
   a 2px ink2 rule; cards sit on it as paper sheets, grouped Today / Earlier. ---------- */
.ds #tab-desk{padding-bottom:10px}
.ds .dkwarn:empty{display:none}
.ds .dkh{display:flex;align-items:flex-start;gap:10px;padding:10px 0 8px}
.ds .dkt{display:flex;flex-direction:column;min-width:0}
.ds .dkt b{font:600 13px/18px var(--sans)}
.ds .dkt .hint{font-size:11.5px;line-height:16px;color:var(--ink2)}
.ds .pair{display:inline-flex;align-items:center;flex:none;margin-top:1px}
.ds .pair i{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border:1px solid var(--ink2);border-radius:50%;background:var(--paper);font:600 10px/1 var(--mono);font-style:normal;color:var(--ink)}
.ds .pair i+i{margin-left:-4px}
.ds .pair .ag{width:30px;height:30px;background:var(--ink);border-color:var(--ink);color:var(--paper)}
.ds .dkadd{padding-bottom:8px}
.ds .dkadd .split .btn+.btn{border-left-color:var(--mute)}
.ds .dsurf{position:relative;background:var(--fill);border:1px solid var(--rule);border-top:2px solid var(--ink2);padding:2px 8px 0}
.ds .dsurf.over{border:2px dashed var(--ink);background:var(--paper)}
.ds .dsurf.over>:not(.dover){opacity:.1}
.ds .dover{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:12px;text-align:center}
.ds .dover[hidden]{display:none}
.ds .dover .i{width:28px;height:28px;color:var(--ink)}
.ds .dover .big{font:600 15px/20px var(--sans);color:var(--ink)}
.ds .dover .files{margin-top:2px;font:500 11px/16px var(--mono);color:var(--ink2);overflow-wrap:anywhere}
.ds .dday{display:flex;justify-content:space-between;padding:7px 0 5px}
.ds .dkempty{margin:0;padding:14px 0}
.ds .dfoot{display:flex;align-items:baseline;gap:6px;margin:10px -8px 0;padding:6px 8px;border-top:1px solid var(--rule);font-size:11px;color:var(--ink2)}
.ds .dzh{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;padding:8px;background:var(--paper);border:1px solid var(--rule)}
.ds .dzh b{font-weight:600}
.ds .dkdrop{margin:4px 0 0}

/* ---------- cards (5a) ---------- */
.ds .dgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.ds .dcell{position:relative;display:block;min-width:0;padding:4px 4px 5px;border:1px solid var(--rule);background:var(--paper);box-shadow:0 1px 0 var(--dot);text-align:left}
.ds .dcell:hover,.ds .dcell:focus-within,.ds .dcell.hv{border-color:var(--ink2)}
.ds .dthumb{position:relative;display:block;aspect-ratio:1;border:1px solid var(--rule);overflow:hidden;background:var(--paper)}
.ds .dcell:hover .dthumb,.ds .dcell:focus-within .dthumb,.ds .dcell.hv .dthumb{border-color:var(--ink)}
.ds .dthumb .dimg{display:block;width:100%;height:100%;object-fit:cover}
.ds .dthumb .dsvg{display:block;width:100%;height:100%;color:var(--ink)}
.ds .dsvg rect{fill:var(--ink2);fill-opacity:.12;stroke:var(--ink);stroke-width:1.5}
.ds .dglyph{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:var(--fill);color:var(--mute)}
.ds .dglyph .i{width:32px;height:32px;stroke-width:1.2}
.ds .dtype{position:absolute;top:0;left:0;padding:0 4px;background:var(--ink);color:var(--paper);font:500 9px/13px var(--mono)}
.ds .dsel{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:none}
.ds .dsel:focus-visible{outline-offset:-2px}
.ds .dact{position:absolute;top:2px;right:2px;display:flex;gap:2px;opacity:0;transition:opacity .15s}
.ds .dcell:hover .dact,.ds .dcell:focus-within .dact,.ds .dcell.hv .dact{opacity:1}
.ds .dact button{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;padding:0;border:0;background:var(--ink);color:var(--paper)}
.ds .dact button:hover{background:var(--ink2)}
.ds .dact .i{width:12px;height:12px}
/* Blueprint: the badge and hover actions sit on thumbnails that may be light; keep them dark-on-light reversed. */
.ds.bp .dtype,.ds.bp .dact button{background:var(--paper);color:var(--ink)}
.ds.bp .dact button:hover{background:var(--ink2)}
.ds .dname{display:block;width:100%;max-width:100%;margin:3px 0 0;padding:0;border:0;background:none;text-align:left;font-size:11px;line-height:14px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:text}
.ds .dname:hover{text-decoration:underline;text-decoration-color:var(--dot);text-underline-offset:2px}
.ds .dmeta{display:flex;flex-direction:column;font:500 9.5px/12px var(--mono);color:var(--mute)}
.ds .dsrc{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.ds .dedit{display:block;width:100%;height:20px;margin:3px 0 0;padding:0 4px;border:1px solid var(--brand);border-radius:0;background:var(--paper);font-size:11px;color:var(--ink)}

/* ---------- uploading cards lead the grid (5e) ---------- */
.ds .dthumb.up .dimg,.ds .dthumb.up .dglyph{opacity:.55}
.ds .dthumb .bar{position:absolute;left:0;right:0;bottom:0;height:4px;background:var(--rule)}
.ds .dthumb .bar span{display:block;height:100%;width:0;background:var(--ink);transition:width .12s}

/* ---------- problems and review sit on the desk, where the files were dropped (5c, 5d) ---------- */
.ds .dsurf .dkb{background:var(--paper);border:1px solid var(--rule);border-left-width:3px}
.ds .dsurf .dkb.bad{border-left-color:var(--bad)}
.ds .dsurf .rv{margin-bottom:2px;padding:0 8px;background:var(--paper);border-left:1px solid var(--ink2);border-right:1px solid var(--ink2);border-bottom:1px solid var(--ink2)}
.ds .dsurf .rvf{border-top-color:var(--rule)}
.ds .dkalerts:empty{display:none}
.ds .dkb{margin:8px 0 0}
.ds .dkb .ba{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
.ds .dkb .dkbi{margin-top:1px;color:var(--bad)}
.ds .dkb .dkbi.dkw{color:var(--warn)}
.ds .dkb .dkn{font-size:11px;font-weight:600;color:var(--ink);overflow-wrap:anywhere}
.ds .dkb .dkq{font-size:11px;overflow-wrap:anywhere}
.ds .dkb .ib{margin:-4px -4px 0 0}

/* ---------- dropped-files review (5d): heavy top rule comes from the budget block ---------- */
.ds .rv{margin-top:8px}
.ds .rv h2{margin:0;font:600 13px/18px var(--sans)}
.ds .dkrvh{padding:6px 0 2px}
.ds .dkrvl{margin:0 0 8px}
.ds .rv .dkok{display:block;color:var(--hl)}
.ds .rv .dkno{display:block;margin-top:10px;color:var(--bad)}
.ds .rv .gens{margin-top:3px}
.ds .rv .dtype{position:static;flex:none;width:34px;text-align:center}
.ds .rv .gen{align-items:center}
.ds .rv .gm{flex:1;min-width:0;overflow-wrap:anywhere}
.ds .rv .gm .hint{display:block}
.ds .rv .gen.bad .gm .hint{color:var(--bad)}
.ds .rv .gs{flex:none;line-height:15px}
.ds .rv .gs.nox{padding-right:28px}
.ds .rv .gs.over{color:var(--bad)}
.ds .rv .dkmw{padding:6px 0 8px}
.ds .rv .dkmore{padding:0}
.ds .rvf{display:flex;align-items:center;gap:6px;padding:8px 0;border-top:1px solid var(--ink)}

/* ---------- tips and clipboard fallback ---------- */
.ds .dktip{margin:8px 0 0;overflow-wrap:anywhere}
.ds .dktip b{color:var(--ink);font-weight:600}
.ds .dkfoot .desk-reference{display:block;width:100%;min-height:96px;height:auto;margin-top:8px;padding:6px 8px;font-size:11px}

.ds .dkb .lose{margin:6px 0 0;padding:0 0 0 14px;font-size:12px;line-height:17px;color:var(--ink2)}
.ds .dkb .meta{display:block;margin-top:6px;color:var(--ink2)}

/* panel-pre.css: pre-session screens (1a sign in, 1b browser code, 1c choose workspace) and Settings (5f).
   Chunk 8. Tokens only, every rule under .ds. The only heavy rule is the sign-in code cell (.code, drawn by
   panel.css from the budget block); this file adds its layout, never its rule. */

/* ---------- pre-session screens ---------- */
.ds .pre{display:flex;flex-direction:column;gap:12px;padding:28px 18px 16px}
.ds .pre h1{margin:0;font:600 21px/27px var(--sans);letter-spacing:-.015em}
.ds .pre p{margin:0;font-size:13px;line-height:19px;color:var(--ink2)}
.ds .pre p.hint{font-size:11px;line-height:15px;color:var(--mute)}
.ds .pre-acts{display:flex;flex-direction:column;gap:8px;margin-top:6px}
.ds .pre-row{gap:8px;margin-top:4px}
.ds .pre-wait{gap:8px;color:var(--ink2);font-size:12px;line-height:17px}
.ds .pre .pre-msg{font-size:12px;line-height:17px;color:var(--ink2)}
.ds .pre .pre-msg.bad{color:var(--bad)}
.ds .pre .ledger.after{margin-top:10px}
.ds .pre .ledger.note{margin-top:14px}
.ds .pre .ledger .r{padding:8px 0 2px}
.ds .pre .code{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 8px 10px 12px;font:600 24px/30px var(--mono);letter-spacing:.14em;user-select:all;overflow-wrap:anywhere}
.ds .pre .code .ib{user-select:none;letter-spacing:0}

/* ---------- choose workspace: radio rows, the chosen one marked by the purple edge ---------- */
.ds .wsf{border:0;margin:6px 0 0;padding:0;min-width:0}
.ds .wsf legend{padding:0 0 6px}
.ds .opts{border-top:1px solid var(--rule)}
.ds .opt{display:flex;align-items:flex-start;gap:10px;padding:10px 8px;border-bottom:1px dotted var(--rule);cursor:pointer}
.ds .opt:hover{background:var(--fill)}
.ds .opt.on{box-shadow:inset 3px 0 0 var(--ink)}
.ds .opt input{margin:2px 0 0;accent-color:var(--ink)}
.ds .opt b{display:block;font-weight:600;font-size:13px;line-height:18px;overflow-wrap:anywhere}
.ds .opt-t{flex:1;min-width:0}
.ds .hint.blk{display:block}
.ds .hint.nw{white-space:nowrap}

/* ---------- Settings ---------- */
.ds .setwrap{padding-bottom:16px}
.ds .setsec{margin:16px 10px 0;border-top:1px solid var(--rule)}
.ds .setsec h2{margin:0;padding:6px 0;font:600 13px/18px var(--sans)}
.ds .setsec:focus{outline:none}
.ds .setrow{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px dotted var(--rule);font-size:12px}
.ds .setrow.top{align-items:flex-start}
.ds .setrow.nob{border-bottom:0;padding-bottom:2px}
.ds .setrow input[type="checkbox"]{margin:1px 0 0;accent-color:var(--ink);flex:none}
.ds .grow{flex:1}
.ds .minw{min-width:0;overflow-wrap:anywhere}
.ds .setrow b{font-weight:600}
.ds .seg{display:inline-flex;border:1px solid var(--ink);flex:none}
.ds .seg button{height:24px;padding:0 10px;border:0;background:none;font-size:11.5px;color:var(--ink);white-space:nowrap}
.ds .seg button+button{border-left:1px solid var(--ink)}
.ds .seg button:hover{background:var(--fill)}
.ds .seg button[aria-pressed="true"]{background:var(--ink);color:var(--paper)}
.ds .seg button:focus-visible{outline-offset:-3px}
/* Command reference and Rhino aliases: collapsible sections, collapsed by default (native details/summary) */
.ds .setx details>summary{display:flex;align-items:center;gap:6px;min-height:36px;cursor:pointer;list-style:none}
.ds .setx details>summary::-webkit-details-marker{display:none}
.ds .setx summary h2{padding:0}
.ds .setx summary .hint{margin-left:auto}
.ds .setx summary .i{transition:transform .15s}
.ds .setx details[open]>summary .i{transform:rotate(90deg)}
.ds .setx summary:focus-visible{outline-offset:-1px}
.ds .albox{margin-top:6px}
.ds .albox .note{margin:0;color:var(--mute)}
.ds .aliases td:nth-child(3){color:var(--mute)}
.ds .al{display:inline-flex;align-items:center;gap:4px}
.ds .al .i.ok{color:var(--hl)}
.ds .al .i.warn{color:var(--warn)}
.ds .setact{padding:8px 0;flex-wrap:wrap}
.ds .setfld{padding:8px 0 4px}
.ds .setfld select{appearance:auto}
.ds .sethint{margin:0;padding-bottom:8px}
.ds .sethint.pyh{padding-left:21px}
.ds .sethint.bad,.ds .setflash.bad{color:var(--bad)}
.ds .setflash{margin:0;padding:0 0 8px}
.ds .setflash:empty{display:none}
.ds .cmdrow{display:flex;align-items:flex-start;gap:8px;padding:6px 0;border-bottom:1px dotted var(--rule)}
.ds .cmdrow b{display:block;font:500 11.5px/15px var(--mono);color:var(--ink)}
.ds .cmdrow .btn{flex:none;margin-top:1px}
.ds .status .ver{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ds .status .hint,.ds .status .lnk{flex:none}
.ds .pre-row .btn.q:first-child{margin-left:-10px}
.ds .setrow label.grow{display:flex;gap:4px;align-items:flex-start}
.ds .rastat{display:flex;gap:8px;align-items:flex-start;margin:0;padding:8px 0 4px;font-size:12px;line-height:17px}
.ds .rastat .okb{flex:none;width:16px;height:16px;margin-top:1px;border:1.5px solid var(--hl);color:var(--hl);display:inline-flex;align-items:center;justify-content:center}
.ds .rastat .okb .i{width:11px;height:11px}
.ds .rastat.no .okb{border-color:var(--ink2);color:var(--ink2)}

/* panel-tasks.css: First tasks dock (boards 9a-9f) and the Show me cue. Tokens only, every rule under .ds.
   Progress and cues are ink; purple stays with the focused copy and primary buttons. */

/* ---------- dock: above the status line on every tab ---------- */
.ds #dock{flex:none}
.ds .gs{flex:none;border-top:1px solid var(--ink);background:var(--paper)}
.ds .gsh{display:flex;align-items:center;gap:6px;height:28px;padding:0 4px 0 10px;background:var(--ink);color:var(--paper)}
.ds .gsh b{font:600 12.5px/16px var(--sans)}
.ds .gsh .mono{font-size:10.5px;color:var(--paper);opacity:.8}
.ds .gsh .ib,.ds .gsh .ib:hover{color:var(--paper);background:none}
.ds .gss{list-style:none;margin:0;padding:0}
.ds .gsi{display:flex;gap:8px;padding:5px 10px;border-top:1px dotted var(--dot);font-size:12px;line-height:16px;color:var(--mute)}
.ds .gsi h3{margin:0;font:inherit}
.ds .gsn{flex:none;width:14px;height:16px;display:inline-flex;align-items:center;justify-content:center;font:500 11px/16px var(--mono)}
.ds .gsn .i{width:13px;height:13px}
.ds .gsb{flex:1;min-width:0}
.ds .gsi.done,.ds .gsi.now{color:var(--ink2)}
.ds .gsi.now .gsn{color:var(--ink);font-weight:600}
.ds .gsi.now h3{font:600 12.5px/16px var(--sans);color:var(--ink)}
.ds .gsi .btn.sm{flex:none;margin:-3px 0;color:inherit}
.ds .gsi .btn.sm[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.ds .gsi.now .next{margin:2px 0 0;font-size:12px;line-height:17px;color:var(--ink2)}
.ds .gsf{display:flex;align-items:center;padding:2px 3px;border-top:1px solid var(--rule)}
/* 4 of 4: the glossary */
.ds .gsi.gsd{display:block;color:var(--ink2)}
.ds .gsd h3{font:600 13px/18px var(--sans);color:var(--ink)}
.ds .gsg{display:grid;grid-template-columns:52px 1fr;gap:3px 8px;margin:6px 0 8px;font-size:11.5px;line-height:15px;color:var(--ink2)}
.ds .gsg dt{font-weight:600;color:var(--ink)}
.ds .gsg dd{margin:0}
/* Board 9a drops the fresh file's lead while the dock is up (the dock says what to do). */
.ds.has-dock .fresh{padding-top:10px}
.ds.has-dock .fresh .lead{display:none}

/* ---------- Show me: the control a task is waiting for ---------- */
.ds .cue{position:relative;outline-width:2px;outline-style:solid;outline-color:var(--ink);outline-offset:2px}
.ds .cuen{position:absolute;top:-10px;right:-10px;z-index:2;min-width:15px;height:15px;padding:0 3px;background:var(--ink);color:var(--paper);font:600 10px/15px var(--mono);text-align:center}
.ds .row.cue{outline-offset:-2px}
.ds .row .cuen{top:2px;right:34px}
.ds .tip.show{width:252px}

/* panel-tour.css: the panel tour (boards 8a-8h) and the one-line strip (9g). Tokens only, every rule under .ds.
   The tour is CSS on #app classes: tq = the question (8a), touring + t1..t7 = a stop. Sections that come later are
   display:none, earlier ones recede, the current one is ringed. They are selected by stable ids, so a repaint of
   #title, #selection or #tools by the shell keeps the ring without any script. */

/* ---------- mounts ---------- */
.ds #tour{display:none}
.ds.tq #tour,.ds.touring #tour{display:flex;flex-direction:column;flex:1;min-height:0}
.ds #tour-bar:not(:empty){flex:none}

/* ---------- 8a: the whole panel asks one question (header keeps the mark and the brand) ---------- */
.ds.tq #view-main > :not(#tour):not(#sheet-host),.ds.tq #dock,.ds.tq #status{display:none}
.ds.tq #top > :not(.mark):not(.brandname):not(.sp){display:none}
.ds.tq #top-brand{display:inline !important}
.ds .tw0{flex:1;display:flex;flex-direction:column;justify-content:center;padding:0 20px 56px}
.ds .tw0 h1{margin:0;font:600 22px/28px var(--sans)}
.ds .tw0 p{margin:8px 0 0;font-size:13px;line-height:19px;color:var(--ink2)}
.ds .tw0 .ledger{margin-top:16px}
.ds .tw0 .btn.xl{margin-top:20px}
.ds .tw0 label{display:flex;align-items:center;gap:7px;margin-top:6px;font-size:12px;color:var(--ink2);cursor:pointer}
.ds .tw0 input{margin:0;accent-color:var(--brand)}

/* ---------- 8b-8h: what is not there yet, what has passed, what is current ---------- */
.ds.touring #panel-upper{flex:none;height:auto;min-height:0;overflow:visible}
.ds.touring #panel-upper > #banner,.ds.touring #view-main > :is(#tab-desc,.body),.ds.touring #panel-resize{display:none}
.ds.t1 :is(#tools,#selection,#divide,#tabs),.ds.t2 :is(#selection,#divide,#tabs),
.ds.t3 :is(#divide,#tabs),.ds.touring:not(.t5) #status,.ds.touring:not(.t6) #dock{display:none}
.ds:is(.t2,.t3,.t4,.t5,.t6) #top,.ds:is(.t3,.t4,.t5,.t6) #tools,
.ds:is(.t4,.t5,.t6) #selection,.ds:is(.t5,.t6) :is(#divide,#tabs){opacity:.38}
.ds.t1 #top,.ds.t2 #tools,.ds.t3 #selection > *,.ds.t4 #tabs,.ds.t5 #status,.ds.t6 #dock > .gs{outline-width:2px;outline-style:solid;outline-color:var(--ink);outline-offset:-2px;animation:var(--tf,none)}
.ds.t4 #divide{opacity:.38}
.ds.t4 #tabs{outline-offset:3px}
.ds{--tf:none}
@keyframes tfade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:no-preference){.ds{--tf:tfade .25s}}
/* stop 1: numbers on the four parts of the top bar */
.ds.t1 :is(#ws-btn,#ses-btn,#web-btn,#gear-btn){position:relative}
.ds .tk{position:absolute;top:-3px;right:-3px;z-index:2;width:14px;height:14px;background:var(--ink);color:var(--paper);font:600 9.5px/14px var(--mono);text-align:center}

/* ---------- caption and bar ---------- */
.ds .tt{flex:1;min-height:0;overflow:hidden;padding:14px 12px 0}
.ds .tt h2{margin:0;font:600 16px/22px var(--sans)}
.ds .tt p{margin:4px 0 0;font-size:12.5px;line-height:18px;color:var(--ink2)}
.ds .tt p.hint{margin-top:10px;font-size:12px}
.ds .tl{margin:10px 0 0;padding:0;list-style:none;border-top:1px solid var(--rule)}
.ds .tl li{display:flex;gap:8px;padding:7px 0;border-bottom:1px dotted var(--dot);font-size:12px;line-height:17px;color:var(--ink2)}
.ds .tl b{font-weight:600;color:var(--ink)}
.ds .tl .n{flex:none;width:14px;height:14px;margin-top:1px;background:var(--ink);color:var(--paper);font:600 9.5px/14px var(--mono);text-align:center}
.ds .tbar{flex:none;display:flex;align-items:center;gap:6px;height:44px;padding:0 10px;box-shadow:inset 0 2px 0 var(--ink)}
.ds .tbar .btn.q.sm{padding:0}
.ds .tbar .mono{margin-left:6px;font-size:11px;color:var(--mute)}

/* ---------- 9g: the strip for a file that already has copies ---------- */
.ds .gsl{flex:none;display:flex;align-items:center;gap:2px;min-height:32px;padding:0 3px 0 10px;background:var(--ink);color:var(--paper);font-size:12px}
.ds .gsl .btn.q{color:var(--paper);text-decoration-color:var(--mute)}
.ds .gsl .ib,.ds .gsl .ib:hover{color:var(--paper);background:none}

/* panel-feedback.css: Send feedback (workbench section 38). Tokens only, every rule under .ds. The section, field,
   .inl block and .kbd come from panel.css and panel-pre.css; this file adds the form layout and the count line. */
.ds .fbsec .fbintro{margin:0;padding:2px 0 0;font-size:12px;line-height:17px;color:var(--ink2)}
.ds .fbform{display:flex;flex-direction:column;gap:6px;padding:8px 0 10px}
.ds .fbta{height:auto;min-height:150px;padding:6px 8px;font:400 12.5px/18px var(--sans);resize:vertical;white-space:pre-wrap}
.ds .fbta[readonly]{color:var(--ink2);border-color:var(--rule)}
.ds .fbta.bad{border-color:var(--bad)}
.ds .fbmeta{margin:0;font-size:11px;line-height:15px;color:var(--mute)}
.ds .fbmeta b{color:var(--ink2);font-weight:600}
.ds .fbcount{margin:0;font:500 11px/15px var(--mono);color:var(--warn)}
.ds .fbcount:empty{display:none}
.ds .fbcount.bad{color:var(--bad)}
.ds .fbacts{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.ds .fbkeys{margin-left:auto;font-size:11px;color:var(--mute);white-space:nowrap}
.ds .fbsec .inl{margin:2px 0 0;padding:8px 10px 10px 12px;border-bottom:0}
.ds .fbsec .inl .acts{display:flex;gap:6px;flex-wrap:wrap}
.ds .fbdone{padding:10px 0 8px}
.ds .fbsent{display:flex;align-items:flex-start;gap:6px;margin:0 0 8px;font-size:12px;line-height:17px;color:var(--ink2)}
.ds .fbsent .i{flex:none;margin-top:1px;color:var(--hl)}
.ds .fbsent b{font-weight:600}
.ds .fbspin{display:inline-block;width:10px;height:10px;border:1.5px solid var(--rule);border-top-color:var(--ink);border-radius:50%;animation:ds-spin .8s linear infinite}
.ds .fbsec a{color:var(--ink);font-weight:600;text-underline-offset:2px}

/* panel-invite.css: Invite a teammate (workbench section 39). Tokens only, every rule under .ds. The section, field,
   .inl block, .kbd and the menu come from panel.css and panel-pre.css; this file adds the top-bar button (39m-39o),
   the form layout and the link field (39d-39l). */

/* 39m-39o: the top-bar Invite button, right of the workspace name, owners only */
.ds .top .ivb{flex:none;margin-left:2px}
.ds .top .btn.ivb{gap:4px;height:24px;padding:0 7px 0 5px;font-size:11.5px}
.ds .top .ivb[aria-disabled="true"]{color:var(--off);border-color:var(--rule);background:none;cursor:default}
/* The built header is wider than the board's: with the labelled button a 360 px panel is short by about 45 px. The
   session pill gives up its label first (its tooltip and aria-label keep it), so the workspace name stays readable. */
.ds .top.has-iv .ses{flex-shrink:6}
/* 39m-N: below 340 px Invite drops its label (24 px icon button) and the workspace name ellipsizes at 98 px */
@container (max-width:340px){
  .ds .top .btn.ivb{width:24px;padding:0;justify-content:center}
  .ds .top .btn.ivb .ivl{display:none}
  .ds .top.has-iv .ws{max-width:98px}
}

/* 39d-39l: the invite view */
.ds .ivsec .lede{margin:0;padding:2px 0 0;font-size:12px;line-height:17px;color:var(--ink2)}
.ds .ivform{display:flex;flex-direction:column;gap:8px;padding:10px 0 4px}
.ds .ivrow{display:flex;align-items:flex-end;gap:6px}
.ds .ivrow .fld{flex:1;min-width:0}
.ds .ivsel{height:28px;padding:0 6px;font:400 12.5px/16px var(--sans)}
.ds .ivsel[disabled]{color:var(--off);border-color:var(--rule)}
.ds .ivlink{flex:1;min-width:0;height:28px;font:400 11.5px/16px var(--mono);color:var(--ink);text-overflow:ellipsis;border-color:var(--mute)}
.ds .ivlink.selall{outline:2px solid var(--sel);outline-offset:-1px}
.ds .ivmeta{margin:0;font-size:11.5px;line-height:16px;color:var(--ink2)}
.ds .ivmeta b{color:var(--ink);font-weight:600}
.ds .ivwarn{margin:0;font-size:11px;line-height:15px;color:var(--mute)}
.ds .ivcopy .i{color:var(--hl)}
.ds .ivacts{display:flex;align-items:center;gap:6px;padding-top:4px}
.ds .ivsec .inl{margin:2px 0 0;padding:8px 10px 10px 12px;border-bottom:0}
.ds .ivsec .inl p{margin-bottom:0}
.ds .ivspin{display:inline-block;width:10px;height:10px;border:1.5px solid var(--rule);border-top-color:var(--ink);border-radius:50%;flex:none;animation:ds-spin .8s linear infinite}
.ds .status .ivok{color:var(--hl)}
.ds .status .ivwarnic{color:var(--warn)}

/* panel-gh.css: Grasshopper definitions in the panel (panel section 42). The rules mirror the boards' gh.css, scoped
   under .ds and aimed at the panel's own containers (.ftree for the boards' .tree). Tokens only; no raw colours; no heavy rules. */

/* the second group on In this file: definitions open in Grasshopper */
.ds .ggrp{display:flex;align-items:baseline;gap:6px;margin-top:8px;padding:7px 0 4px;border-top:1px solid var(--rule);font:600 12px/16px var(--sans);color:var(--ink)}
.ds .ggrp small{font:500 10.5px/12px var(--mono);color:var(--mute)}
.ds .ggrp .hint{margin-left:auto;font-weight:400}
.ds .ggrp+.row{border-top:1px dotted var(--rule)}
/* 42ab: Grasshopper's window is closed. The hint says so in its own slot; the action is the usual .lnk. At 300 px the hint drops under the title (right-aligned) and never truncates. */
.ds .ggrp.shut{flex-wrap:wrap}
.ds .ggrp.shut .hint{min-width:0}
/* 42ab/42ac: a Grasshopper definition carries the light green tint (--hlbg) behind the whole row, collapsed or open, and behind its detail. The tint
   means "a Grasshopper definition" and nothing else (never selection, focus or state): the second named exception to "One surface". Rows and
   details are the siblings after .ggrp, so Rhino copies and the Workspace tab stay plain. The edge (3 px alert / warnrow, the 1 px spine) is a
   box-shadow or border-left drawn over the tint and stays unbroken. */
.ds .ggrp~.row,.ds .ggrp~.inl{background:var(--hlbg)}
/* hover keeps the tint and adds a 1 px outline (the plain --fill hover would swap the tint for grey); keyboard focus keeps the brand ring and wins */
.ds .ggrp~.row:hover,.ds .ggrp~.row.hv{background:var(--hlbg);outline:1px solid var(--mute);outline-offset:-1px}
.ds .ggrp~.row:focus-visible,.ds .ggrp~.row.fr{outline:2px solid var(--brand);outline-offset:-1px}
/* a pressed toggle on a tinted row would be --hlbg on --hlbg: paper with a 1 px --hl frame */
.ds .ggrp~.row .hlb[aria-pressed="true"]{background:var(--paper);box-shadow:inset 0 0 0 1px var(--hl)}
.ds .ftree>.hint.gnone{margin:6px 0 2px}
.ds .row .nmt.mono,.ds .mono.fn{font-family:var(--mono);font-size:11.5px}
.ds .row .pin.spn{display:inline-flex;align-items:center;gap:5px}
.ds .row .needs.warn{color:var(--warn)}
.ds .delta.warn{color:var(--warn);font-weight:600}
.ds .row .via{font-size:11px;color:var(--mute);white-space:nowrap;flex:none}

/* Spine: 4b's mechanism. Rows and details are direct children of the tree. The row draws its edge at x=0 (.row.alert / .row.warnrow
   inset 3px); the detail draws the same edge at x=0 (margin 0, padding-left 20px) and the row drops its bottom rule, so the edge runs
   unbroken from the row to the detail's last line. */
.ds .ftree>.row.warnrow:has(+ .inl.warn),.ds .ftree>.row.alert:has(+ .inl.danger){border-bottom:0}
.ds .ftree>.inl.warn,.ds .ftree>.inl.danger,.ds .ftree>.inl.gin{margin:0;padding-left:20px}
/* neutral open row: the same pair in the hairline tone */
.ds .row.gopen{box-shadow:inset 1px 0 0 var(--dot)}
/* a heading inside a detail or sheet: the merge review's .cat, with a count */
.ds .cat.gcat{margin-top:8px}
.ds .cat.gcat .sp{flex:1}
/* 43h: a short id in a heading keeps its case */
.ds .cat.gcat .vidc{font:500 10.5px/14px var(--mono);text-transform:none;letter-spacing:0;color:var(--ink2)}
.ds .cat.gsub{margin-top:2px;padding:4px 0 2px;border-bottom:0;text-transform:none;letter-spacing:0;font:500 11px/15px var(--sans);color:var(--ink2)}
.ds .chg.in{padding-left:12px;box-shadow:inset 1px 0 0 var(--dot)}
/* 45b: the row whose change is drawn on the canvas */
.ds .chg.on{padding-left:8px;box-shadow:inset 2px 0 0 var(--ink)}
.ds .chg.in.on{padding-left:12px}
.ds .trunc{margin:6px 0 0;padding:4px 0 4px 8px;border-left:3px solid var(--ink2);font-size:11px;line-height:15px;color:var(--ink2)}

/* inline detail pieces */
.ds .inl .msg.none{color:var(--mute);font-style:italic}
.ds .inl .kept,.ds .shb .kept{display:flex;align-items:baseline;gap:6px;margin-top:6px;font-size:12px;line-height:17px;min-width:0}
.ds .inl .kept q,.ds .shb .kept q{flex:1;min-width:0;color:var(--ink);overflow-wrap:anywhere}
.ds .inl .kept .lnk,.ds .shb .kept .lnk{flex:none}
.ds .inl .optlist .hint{display:block}

/* a change row: subject, what changed, Show */
.ds .chgl{display:block}
.ds .chg{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:8px;align-items:start;min-height:28px;padding:6px 0 5px;border-bottom:1px dotted var(--dot);font-size:12px;line-height:16px;color:var(--ink2);white-space:normal}
.ds .chg .cw{min-width:0;overflow-wrap:anywhere}
.ds .chg b{font-weight:600;color:var(--ink)}
.ds .chg .mono{font-size:11px;color:var(--ink);white-space:nowrap}
.ds .chg .m2{display:block;font-size:11px;line-height:15px;color:var(--mute)}
.ds .chg .cl{display:inline-flex;gap:2px}
.ds .chg .lnk{font-size:11px;line-height:16px;padding:0 2px}

/* note + save row under a definition */
.ds .gsave{display:flex;flex-direction:column;gap:6px;margin-top:10px}
.ds .gsave .acts{margin-top:0;align-items:center}
.ds .gsave .tbnote{flex:none}
.ds .gsave p.hint,.ds .inl .gsave p{margin:0}
.ds .inl .acts+.hint{margin-top:6px}

/* layout only: never an edit, so never the amber Edits dot; a quiet dashed mark */
.ds .lom{display:inline-flex;align-items:center;height:16px;padding:0 4px;border:1px dashed var(--mute);font:500 10px/14px var(--mono);color:var(--mute);white-space:nowrap}

/* a version saved over a newer one: permanent, amber edge, says what it leaves out */
.ds .ovr{display:block;margin-top:5px;padding:1px 0 1px 8px;border-left:3px solid var(--warn);font-size:11px;line-height:15px;color:var(--ink2);white-space:normal}
.ds .ovr .lnk{padding:0 2px}

/* the Workspace filter: Options / Definitions */
.ds .wsq{padding:6px 0 4px}
.ds .wsq .seg small{margin-left:4px;font:500 10px/12px var(--mono)}
.ds .wsq .seg button[aria-pressed="true"] small{color:inherit}

/* history: the first summary sentences of a saved version (compare's changes.summary) */
.ds .gsum{margin:4px 0 0;padding:0 0 0 10px;border-left:1px solid var(--dot);list-style:none;font-size:11.5px;line-height:16px;color:var(--ink2);white-space:normal}
.ds .gsum li{padding:1px 0}

/* the kept note under a refusal: a hairline above it */
.ds .inl>.kept{margin-top:8px;padding-top:6px;border-top:1px dotted var(--dot)}

/* ---------- 46: options and merge ---------- */
.ds .inl .gwarn{font-weight:600;color:var(--warn)}
/* the two parents a merge saves with (a pending merged result, a merge version in history) */
.ds .gpar{display:block;margin:5px 0 3px;padding:3px 0 3px 8px;border-left:1px solid var(--dot);font-size:11px;line-height:17px;color:var(--ink2);white-space:normal}
.ds .gpar .cap,.ds .gpar .blk{display:block}
.ds .gpar .cap{margin-bottom:1px}
.ds .gpar .revm{margin-right:2px}
.ds .gpar .lnk{padding:0 2px;font-size:11px}
/* 46b2-46b7 Workspace, Definitions filter in three levels. Names and notes of all three start at x=44; level 2 hangs off x=8 (dot connector), level 3 off x=30 (dot spine). */
/* 1 · definition: a group heading, 1px rule above, 32px */
.ds #tab-ws .gdef{border-top:1px solid var(--rule)}
.ds #tab-ws .gdef.open{padding-bottom:10px}
.ds #tab-ws .gdh{height:32px;gap:6px;border-bottom:0}
.ds #tab-ws .gdh .nm{font:600 13px/16px var(--sans);color:var(--ink)}
.ds #tab-ws .gdh .gl{display:inline-flex;width:16px;height:16px;color:var(--mute);flex:none}
.ds #tab-ws .gdh .hint,.ds #tab-ws .gdh .pin{flex:none;white-space:nowrap}
.ds #tab-ws .gdh .hint{min-width:0;overflow:hidden;text-overflow:ellipsis;flex:0 1 auto}
.ds #tab-ws .ghelp{margin:0 0 4px 44px}
.ds #tab-ws .ghelp .fn{font:500 11px/15px var(--mono);color:var(--ink2)}
/* 2 · option: a block on the connector, a dotted rule under each but the last */
.ds #tab-ws .gob2{position:relative;padding-left:22px}
.ds #tab-ws .gob2::before{content:"";position:absolute;left:8px;top:0;height:14px;width:10px;border-left:1px solid var(--dot);border-bottom:1px solid var(--dot)}
.ds #tab-ws .gob2:not(:last-child)::after{content:"";position:absolute;left:8px;top:14px;bottom:0;border-left:1px solid var(--dot)}
.ds #tab-ws .og{padding:0 0 10px;border-bottom:1px dotted var(--rule)}
.ds #tab-ws .gob2+.gob2 .og{padding-top:6px}
.ds #tab-ws .gob2+.gob2::before{height:20px}
.ds #tab-ws .gob2+.gob2:not(:last-child)::after{top:20px}
.ds #tab-ws .gob2.gno .og,.ds #tab-ws .gob2:nth-last-child(2) .og{border-bottom:0}
.ds #tab-ws .obh{display:flex;align-items:center;gap:6px;min-height:28px}
.ds #tab-ws .obn{font:600 12px/16px var(--sans);color:var(--ink);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ds #tab-ws .gab{flex:none;font:500 10.5px/14px var(--mono);color:var(--ink2);white-space:nowrap}
.ds #tab-ws .obf{margin:-4px 0 0 22px;font-size:11px;line-height:15px;color:var(--mute);overflow-wrap:anywhere}
.ds #tab-ws .og.new{box-shadow:inset 3px 0 0 var(--ink)}
.ds #tab-ws .gob2.gno{min-height:28px;display:flex;align-items:center}
.ds #tab-ws .gob2.gno::before{height:50%}
.ds #tab-ws .gob2.gno .btn.q{margin-left:15px;padding:0 7px}
/* 3 · the latest version and its actions, the Rhino version block on the option's spine */
.ds #tab-ws .olv{margin:6px 0 0 8px;padding:0 0 0 14px;border-left:1px solid var(--dot)}
.ds #tab-ws .olv .ver{padding:1px 0 0;border-bottom:0}
.ds #tab-ws .olv .ver+.ver,.ds #tab-ws .olv .vbase+.ver{margin-top:8px;padding-top:8px;border-top:1px dotted var(--rule)}
.ds #tab-ws .olv .ver>.r{gap:6px}
.ds #tab-ws .olv .ver .revm{margin-left:0;flex:none}
.ds #tab-ws .olv .ver>.r .hint{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ds #tab-ws .olv .ver>.r .ib.sm{margin:-4px -4px -4px 0}
.ds #tab-ws .olv .vbase{margin-top:8px;padding-top:6px}
.ds #tab-ws .olv .vbase .mono{font:500 10.5px/14px var(--mono)}
/* a one-option definition: its versions sit straight on the connector, no option heading */
.ds #tab-ws .gvk .og{padding:6px 0 10px 22px}
.ds #tab-ws .gvk .olv{margin:0;padding:0;border-left:0}
.ds #tab-ws .gvk::before{height:18px}
.ds #tab-ws .gvk+.gob2:not(:last-child)::after{top:20px}
/* the new-option sheet: a name, the version it starts from, open it */
.ds .gstart{display:flex;flex-direction:column;gap:4px}
.ds .gsrc{display:flex;align-items:flex-start;gap:8px;padding:6px 8px;border:1px solid var(--rule);font-size:12px;line-height:16px;cursor:pointer}
.ds .gsrc.on{border-color:var(--ink);background:var(--fill)}
.ds .gsrc input{margin:2px 0 0;flex:none}
.ds .gsrc b{font-weight:600;color:var(--ink)}
.ds .gchk{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--ink)}
/* a footer's one-line consequence above its buttons */
.ds .shf .gfoot{flex:1 0 100%;margin:0 0 6px;padding-left:8px;border-left:3px solid var(--ink);font-size:11.5px;line-height:16px;color:var(--ink2)}
.ds .shf .gfoot b{color:var(--ink);font-weight:600}
/* the merge review */
.ds .gmhead{display:block;padding-bottom:6px;border-bottom:1px solid var(--rule);font-size:12.5px;line-height:17px;color:var(--ink)}
.ds .gmhead b{font-weight:600}
.ds .gcall{margin:0;padding-left:8px;border-left:3px solid var(--ink2);font-size:11.5px;line-height:16px;color:var(--ink2)}
.ds .gref{padding:6px 0 6px 10px;border-left:3px solid var(--warn);font-size:12px;line-height:17px;color:var(--ink2)}
.ds .gref.bad{border-left-color:var(--bad)}
.ds .gref p{margin:0 0 4px}
.ds .gref b{color:var(--ink);font-weight:600}
.ds .gref .btn{margin-top:4px}
.ds .gchkl p{margin:0 0 6px}
.ds .gchkl p.ok b::before{content:"\2713\00a0";color:var(--ink2)}
.ds .gchkl p.warn b::before{content:"!\00a0";color:var(--warn)}
/* one thing both options changed: open (amber edge), chosen (ink edge), or information only (dotted) */
.ds .gmi{display:flex;flex-direction:column;gap:5px;padding:7px 0 8px 10px;border-bottom:1px dotted var(--dot);box-shadow:inset 3px 0 0 var(--warn)}
.ds .gmi.on{box-shadow:inset 3px 0 0 var(--ink)}
.ds .gmi.info{box-shadow:inset 1px 0 0 var(--dot)}
/* 54g: a card chosen on the canvas flashes once; 54n: so does the footer Confirm in panel brought forward */
.ds .gmi.flash,.ds .shf.flash{animation:gm-flash .6s}
@keyframes gm-flash{from{background:var(--fill)}}
.ds .gkey{margin:6px 0 2px;color:var(--ink2)}
.ds .gmi .gmh{display:flex;align-items:baseline;gap:6px;font-size:12px;line-height:16px;color:var(--ink)}
.ds .gmi .gmh b{font-weight:600;min-width:0;overflow-wrap:anywhere}
.ds .gmi .gk{font:500 9.5px/12px var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--mute);white-space:nowrap}
.ds .gmi .sp{flex:1}
.ds .gmi .gst{display:inline-flex;align-items:center;gap:3px;font:500 10.5px/14px var(--mono);color:var(--warn);white-space:nowrap}
.ds .gmi .gst.ok{color:var(--ink)}
.ds .gmi .kv.gmv{grid-template-columns:minmax(56px,auto) 1fr}
.ds .gmi .kv .cap{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ds .gmi .mono{font-size:11.5px;color:var(--ink);overflow-wrap:anywhere}
.ds .gmi>.hint{margin:0;font-size:11px;line-height:15px}
.ds .gmi .seg.gseg{display:flex;align-self:stretch;margin-right:2px}
.ds .gmi .seg.gseg button{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.ds .gmi .seg.gseg button[aria-pressed="true"]{background:var(--fill);font-weight:600}

/* ---------- 51 ---------- */
.ds .row.g2l{height:auto;min-height:40px;align-items:flex-start;padding-top:5px;padding-bottom:5px}
.ds .row.g2l>:not(.nm){margin-top:2px;flex:none}
.ds .ftree .row.g2l>.nm{display:flex;flex-direction:column;align-items:stretch;gap:1px;min-width:0}
.ds .nm.g2 .l1{display:flex;align-items:center;min-width:0}
.ds .nm.g2 .nmt,.ds .nm.g2 .l2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:36px}
.ds .nm.g2 .l2{font:400 11px/15px var(--sans);color:var(--ink2)}
.ds .nm.g2 .l2 .on{color:var(--ink);font-weight:500}
.ds .nm.g2>.rn{flex:none;font-weight:400}
.ds .inl b.gbad,.ds .gsave .err{color:var(--bad)}
.ds .gsave .inp.bad{border-color:var(--bad)}
.ds .gsave .err,.ds .gsave .why{font-size:11px;line-height:15px}
.ds .ftree>.newopt{margin:0 0 4px}
.ds #tab-ws .vopt{flex:none;max-width:110px;overflow:hidden;text-overflow:ellipsis;padding:0 4px;border:1px solid var(--dot);font:400 10.5px/14px var(--sans);color:var(--ink2);white-space:nowrap}
.ds #tab-ws .vopt.m{border-style:dashed}
.ds #tab-ws .ver.inh,.ds #tab-ws .ver.inh .msg,.ds #tab-ws .vopt.m,.ds #tab-ws .vbase{color:var(--mute)}
.ds #tab-ws .vbase{padding:4px 0 2px;font-size:11px;line-height:15px;border-top:1px dashed var(--dot)}
/* 52, 54: the box above a compare's footer naming the canvas it draws on; the last item shown on the canvas reads bold. */
.ds .gccv{padding:6px 8px;border-left:3px solid var(--ink2);background:var(--fill);font-size:12px;line-height:17px;color:var(--ink2)}
.ds .gccv b{color:var(--ink);font-weight:600}
.ds .gccv .lnk{padding:0}
.ds .gmh .lnk{margin-left:6px;padding:0}
.ds .gmh .lnk[aria-pressed="true"],.ds .chg .cl .lnk[aria-pressed="true"]{font-weight:600}
/* 56k-56q: the clean definition detail (the copy's pieces, panel-file.css .cdv .cda .ib; panel-notes.css .snw.cdn): facts, hints, the Note field's gap */
.ds .inl.gin.cd .cat.gcat{margin-top:6px}
.ds .inl.cd .tbnote.fnote{margin-top:6px}
.ds .inl.cd .gfact{display:flex;gap:6px;align-items:flex-start;margin:4px 0 0;font-size:11.5px;line-height:15px;color:var(--ink2)}
.ds .inl.cd .gfact b{font-weight:600;color:var(--ink)}
.ds .inl.cd .gfact .blk{display:block}
.ds .inl.cd .gfact .bad{color:var(--bad)}
.ds .inl.cd p.gnote{margin:6px 0 0;font-size:11px;line-height:15px;color:var(--mute)}
.ds .inl.cd .chg .mono{white-space:nowrap}

/* panel-merge.css: merging one Rhino option into another (panel section 47). The sheet reuses the section 46 parts
   (.gmhead, .gcall, .gmi cards, .gsrc picker rows, .gfoot, .gref) and the combine review's rows (.cpls, .cpr, .loc, .shpick). Tokens only. */

/* 47a: ahead/behind or "merged into" on a collapsed option row, and the option's standing in its body */
.ds .row .mgab{font-family:var(--mono);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.ds .kv.mgstand{margin:4px 0 2px 20px;padding:6px 0 6px 10px;border-left:1px solid var(--dot)}
.ds .kv.mgstand .blk,.ds .kv.mgkv .blk{display:block}
.ds .r.acts.mgacts{margin:0 0 6px 30px;flex-wrap:wrap;gap:4px}
/* 47b: a target that can't take the merge stays listed, greyed, with why */
.ds .gsrc.dis{cursor:default;color:var(--off)}
.ds .gsrc.dis b{color:var(--off)}
/* 47c: the readiness checks */
.ds .mgchk{display:flex;gap:8px;align-items:flex-start;padding:8px 0;border-bottom:1px dotted var(--dot);font-size:12px;line-height:16px;color:var(--ink2)}
.ds .mgchk>.i{flex:none;width:14px;height:14px;margin-top:1px}
.ds .mgchk.ok>.i{color:var(--hl)}
.ds .mgchk.warn>.i{color:var(--warn)}
.ds .mgchk b{font-weight:600;color:var(--ink)}
.ds .mgchk .acts{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.ds .mgdot{flex:none;width:8px;height:8px;margin:4px 3px 0;border:1px solid var(--mute);border-radius:50%}
/* 47d: an overlap is a warning, not a choice */
.ds .chg.mgov .cw>.i{width:12px;height:12px;margin-right:4px;vertical-align:-1px;color:var(--warn)}
.ds .mginc{margin:6px 0 0}
/* 47i3: the count, take-everywhere and the filter stay at the top while the list scrolls */
.ds .mgtop{position:sticky;top:-10px;z-index:1;margin-top:-2px;padding:2px 0 6px;background:var(--paper)}
.ds .mgtop .shp{margin:0 0 4px}
.ds .seg.mgseg{margin-top:6px}
.ds .mggrp{display:flex;align-items:baseline;gap:6px;padding:8px 0 4px;border-bottom:1px solid var(--rule);font-size:12px;line-height:16px;color:var(--ink)}
.ds .mggrp b{font-weight:600}
.ds .mggrp .mono{font-size:11px;color:var(--mute)}
.ds .mggrp .sp{flex:1}
.ds .cpls.mgl .cpr{padding-left:16px}
/* 47e2: the record and its geometry under the choice */
.ds .kv.mgkv{margin-top:8px}
.ds .btn.mghl{margin-top:4px}
/* 47j: a merge version's two parents, and the compare sheet */
.ds .gpar.mgpar .lnk{margin-left:6px;font-size:11px}
.ds .mgdiff{margin:4px 0 0;padding-left:16px;font-size:12px;line-height:17px;color:var(--ink2)}
/* the footer's note takes its own line even beside a Next: button (which otherwise keeps the footer on one line) */
.ds .shx .shf:has(.gfoot.mgf){flex-wrap:wrap}

/* panel-compare.css: Compare in Rhino (panel section 55). The Compare sheet: From / To, the three category toggles, Dim the rest,
   the grouped list and the footer's "what is drawn" line. Tokens only; --cmp-add / --cmp-chg / --cmp-rm (panel.css) name the viewport
   colours and appear on swatches only, never as text and never as a fill behind text. */

.ds .cmps .shh h2{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.ds .cmps .shh h2 .mono{font:500 12.5px/18px var(--mono)}
.ds .cmps .shb>*{flex:none}

/* the swatch: a 10 px square in the viewport colour; removed mirrors the viewport (translucent, dashed edge); .off = hidden in Rhino (hollow) */
.ds .csw{display:inline-block;box-sizing:border-box;width:10px;height:10px;flex:none;vertical-align:-1px}
.ds .csw.s-add{background:var(--cmp-add)}
.ds .csw.s-chg{background:var(--cmp-chg)}
.ds .csw.s-rm{background:color-mix(in srgb,var(--cmp-rm) 30%,transparent);border:1px dashed var(--cmp-rm)}
.ds .csw.off{background:none;border:1px solid var(--mute)}
.ds .csw.s-rm.off{border-style:dashed}

/* From / To */
.ds .cpick{display:flex;gap:8px}
.ds .cpick .fld{flex:1;min-width:0}
.ds .cpick .fld>span{font-size:11px;font-weight:600;color:var(--ink2)}
.ds .cpick .inp{display:flex;align-items:center;gap:4px;padding:0 6px;font-size:12px;text-align:left;cursor:pointer}
.ds .cpick .inp .cpt{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.ds .cpick .inp .i{flex:none;color:var(--ink2)}
.ds .cpick .inp[disabled]{color:var(--ink);border-color:var(--rule);opacity:1;cursor:default}
.ds .cpick .inp[disabled] .i{display:none}
.ds .cpick .inp[aria-expanded="true"]{outline:2px solid var(--brand);outline-offset:-1px}
.ds .cpick .inp[aria-disabled="true"]{color:var(--mute);border-color:var(--rule)}
.ds .cpick .inp:focus-visible{outline:2px solid var(--brand);outline-offset:-1px}

/* the category toggles (small toggles): swatch, word, count. Pressed = drawn in Rhino. */
.ds .ctg{display:flex;flex-wrap:wrap;gap:4px;align-items:center}
.ds .ctg .btn.tg{gap:5px;padding:0 7px}
.ds .ctg .btn.tg .n{font:600 11px/14px var(--mono);color:var(--ink)}
.ds .ctg .btn.tg[aria-pressed="false"]{color:var(--ink2)}
.ds .ctg .btn.tg[aria-pressed="false"] .n{color:var(--ink2);font-weight:500}
.ds .ctg .btn.tg[aria-disabled="true"]{color:var(--off);border-color:var(--rule)}
.ds .ctg .btn.tg[aria-disabled="true"] .n{color:var(--off)}
.ds .cdim{display:flex;align-items:baseline;gap:6px;margin-top:-4px;font-size:11px;line-height:15px;color:var(--mute)}
.ds .cdim .btn.tg{flex:none}
.ds .cdim .btn.tg[aria-disabled="true"]{color:var(--off);border-color:var(--rule)}
.ds .cpick .inp:focus-visible,.ds .btn.tg:focus-visible,.ds .cr:focus-visible{outline:2px solid var(--brand);outline-offset:2px}

/* the grouped list. A group heading is the merge review's .cat with the swatch first. */
.ds .cat .csw{align-self:center;margin-right:1px}
.ds .cat .hid{margin-left:auto;text-transform:none;letter-spacing:0;font:400 11px/14px var(--sans);color:var(--mute)}
.ds .clist{display:block}
/* one row = one button: zooms Rhino to it and outlines it; again (or Esc in the panel) goes back */
.ds .cr{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) 16px;column-gap:8px;align-items:start;width:100%;min-height:28px;padding:6px 2px 5px 0;border:0;border-bottom:1px dotted var(--dot);background:none;text-align:left;font:400 12px/16px var(--sans);color:var(--ink2);cursor:pointer}
.ds .cr:hover{background:var(--fill)}
.ds .cr:focus-visible{outline-offset:-2px}
.ds .cr .cw{min-width:0;overflow-wrap:anywhere}
.ds .cr b{font-weight:600;color:var(--ink)}
.ds .cr .mono{font:500 11px/16px var(--mono);color:var(--ink)}
.ds .cr .m2{display:block;font-size:11px;line-height:15px;color:var(--mute)}
.ds .cr .zi{margin-top:1px;color:var(--mute)}
.ds .cr[aria-pressed="true"]{box-shadow:inset 3px 0 0 var(--ink2);padding-left:8px}
.ds .cr[aria-pressed="true"] .zi{color:var(--ink)}
.ds .cr[aria-disabled="true"]{cursor:default}
.ds .cr[aria-disabled="true"]:hover{background:none}
.ds .cr.nd{cursor:default}
.ds .cr.nd:hover{background:none}
.ds .cr .ndt{display:block;margin-top:1px;font-size:11px;line-height:15px;color:var(--ink2)}
.ds .cr .ndt .i{width:12px;height:12px;vertical-align:-2px;margin-right:3px}
.ds .cmore{padding:6px 0 2px;font-size:11px;line-height:15px;color:var(--mute)}
.ds .cmore .lnk{padding:0}

/* lines inside the body: .cnote = a quiet fact (3px ink2 edge), .cwarn = needs attention (3px warn), .cbad (3px bad). No fill behind any of them. */
.ds .cnote,.ds .cwarn,.ds .cbad{padding:2px 0 2px 9px;border-left:3px solid var(--ink2);font-size:12px;line-height:17px;color:var(--ink2)}
.ds .cwarn{border-left-color:var(--warn)}
.ds .cbad{border-left-color:var(--bad)}
.ds .cnote b,.ds .cwarn b,.ds .cbad b{color:var(--ink);font-weight:600}
.ds .cwarn .acts,.ds .cbad .acts{display:flex;gap:6px;margin-top:6px}

/* the footer's live line: what is drawn, and that closing clears it */
.ds .shf.col{flex-direction:column;align-items:stretch;gap:8px}
.ds .shf.col>.r{display:flex;align-items:center;gap:6px}
.ds .cmean{padding:1px 0 1px 9px;border-left:3px solid var(--ink2);font-size:11.5px;line-height:16px;color:var(--ink2)}
.ds .cmean b{color:var(--ink);font-weight:600}

/* comparing: the storage meter's bar, one ink fill */
.ds .cprog{display:flex;flex-direction:column;gap:6px}
.ds .cprog .stbar{height:6px;border-color:var(--mute)}
.ds .cprog .stbar i{display:block;height:100%;background:var(--ink2)}
.ds .cprog .r{display:flex;align-items:center;gap:6px;font-size:12px;line-height:16px;color:var(--ink2)}
.ds .cprog .hint{font-size:11px}

/* the From / To picker: groups with a heading */
.ds .picker.cfp{width:auto;max-height:260px;overflow:auto}
.ds .cfp .pgh{padding:6px 10px 3px;border-bottom:1px solid var(--rule);font:500 9.5px/12px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--mute)}
.ds .cfp .po{min-height:36px}
.ds .cfp .po .tn{display:inline}
.ds .cfp .po .nt{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px;line-height:16px;color:var(--ink)}
.ds .cfp .po>span:first-child{min-width:0;flex:1}
.ds .cfp .po[aria-selected="true"]{box-shadow:inset 3px 0 0 var(--ink2)}
.ds .cfp .po[aria-disabled="true"] .nt,.ds .cfp .po[aria-disabled="true"] .tn{color:var(--off)}
.ds .cfp .po .pa{font-weight:400;color:var(--mute);font-size:10.5px}
.ds .cfp .cpe{padding:4px 10px;color:var(--bad)}

/* panel-notes.css: notes that grow, saved notes, the tab view and what slides into it: the save view and a version's view
   (panel-notes.js; panel sections 57 and 58, docs/mocks/panel/css/notes.css and saveflow.css). */

/* A Note field grows with its text from 1 line to 3 (16 px lines: 28, 44, 60 px with the padding), then scrolls inside. A 30 px
   gutter on the right is always reserved, so the helper never covers text and nothing reflows when it appears. No drag handle:
   the field sizes itself (field-sizing; panel-notes.js sizes it from script where that is missing). The thin scrollbar is the cue. */
.ds .nbox{position:relative;display:block;flex:1 1 100%;min-width:0}
.ds .tbnote.fnote.grow textarea.inp{display:block;width:100%;height:auto;field-sizing:content;min-height:28px;max-height:60px;padding:5px 30px 5px 8px;resize:none;overflow-y:auto;overflow-wrap:anywhere;scrollbar-width:thin;scrollbar-color:var(--mute) transparent}
/* the title block's field (12 px text, 16 px lines: 26, 42, 58 px) */
.ds .tbnote:not(.fnote) .nbox{flex:1;align-self:flex-start}
.ds .tbnote:not(.fnote) textarea.inp.gro{display:block;width:100%;height:auto;field-sizing:content;min-height:26px;max-height:58px;padding:4px 30px 4px 8px;resize:none;overflow-y:auto;overflow-wrap:anywhere;font:inherit;font-size:12px;line-height:16px;scrollbar-width:thin;scrollbar-color:var(--mute) transparent}
.ds .tbnote:not(.fnote) textarea.inp.gro::placeholder{color:var(--mute);opacity:1}
/* the helper: 24 px, in the gutter at the bottom right, left of the scrollbar */
.ds .nhelp{width:24px;height:24px;color:var(--mute)}
.ds .nhelp .i{width:14px;height:14px}
.ds .nhelp:hover{background:var(--fill);color:var(--ink)}
.ds .nhelp:focus-visible{outline:2px solid var(--brand);outline-offset:-1px;color:var(--ink)}
.ds .nbox .nhelp{position:absolute;right:12px;bottom:2px}
/* while there is more below, the text fades into the field's bottom padding */
.ds .nbox.more::after{content:"";position:absolute;left:1px;right:44px;bottom:1px;height:10px;background:linear-gradient(to bottom,transparent,var(--paper) 70%);pointer-events:none}
/* the expanded editor (57e): the same field, 14 lines tall, no gutter */
.ds .tbnote.fnote.grow.big textarea.inp{field-sizing:fixed;height:320px;max-height:none;padding-right:8px}
.ds .neds .shb .hint.ned{margin:0 0 8px}
.ds .neds .shf .r{width:100%;gap:6px}

/* A saved note: whole up to 3 lines (48 px), then it scrolls; its arrow sits in its own column at the bottom right. */
.ds .snw{display:flex;align-items:flex-end;gap:2px;min-width:0}
.ds .snw .sn{flex:1;min-width:0;max-height:48px;margin:0;overflow-y:auto;overflow-wrap:anywhere;font-size:12px;line-height:16px;color:var(--ink);scrollbar-width:thin;scrollbar-color:var(--mute) transparent}
.ds .snw .sn.none{color:var(--mute);font-style:italic}
.ds .snw.more .sn{mask-image:linear-gradient(to bottom,black calc(100% - 6px),transparent)}
.ds .snw .nhelp{flex:none;margin:0 -4px -4px 0}
.ds .inl .snw.cdn{margin:0 0 4px}
.ds .inl .snw.cdn[hidden]{display:none}
.ds #tab-ws .ver .snw{margin-top:3px}
.ds #tab-ws .ver .snw .nhelp{margin-right:-2px}

/* The tab view: in place of the tab's description and list; the top bar, toolbar, title block, tabs and status line stay still.
   Only its body scrolls. The slide (57h): out 32 px with a fade, then in from 32 px the other side; none under reduced motion. */
.ds .tview{display:none;flex:1;min-height:160px;flex-direction:column;margin:0 10px}
.ds .vm.viewing .tview{display:flex}
.ds .vm.viewing #tab-desc,.ds .vm.viewing .body[role="tabpanel"]{display:none}
@keyframes dsVoutF{to{opacity:0;transform:translateX(-32px)}}
@keyframes dsVinF{from{opacity:0;transform:translateX(32px)}}
@keyframes dsVoutB{to{opacity:0;transform:translateX(32px)}}
@keyframes dsVinB{from{opacity:0;transform:translateX(-32px)}}
.ds .vout-f{animation:dsVoutF .1s cubic-bezier(.4,0,1,1) forwards}
.ds .vin-f{animation:dsVinF .1s cubic-bezier(0,0,.2,1)}
.ds .vout-b{animation:dsVoutB .1s cubic-bezier(.4,0,1,1) forwards}
.ds .vin-b{animation:dsVinB .1s cubic-bezier(0,0,.2,1)}
@media (prefers-reduced-motion:reduce){.ds .vout-f,.ds .vin-f,.ds .vout-b,.ds .vin-b{animation:none}}
.ds .vbar{display:flex;align-items:center;height:28px;flex:none;border-bottom:1px solid var(--rule)}
.ds .vback{gap:4px;margin-left:-7px}
.ds .vback .i{width:14px;height:14px}
.ds .vbd{flex:1;min-height:0;overflow:auto;padding:10px 0 12px}
.ds .tview .pka{position:relative;height:0}
.ds .tview .pka .picker{top:4px;left:0;max-width:100%;border-top-width:1px}

/* A version's view (57i): part 1, the version itself (no heading of its own: its name is the view's title, 15/20), 4 to 8 px inside */
.ds .vt{display:flex;align-items:center;gap:6px;min-height:24px}
.ds .vt h2{margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 15px/20px var(--sans);color:var(--ink);outline:none}
.ds .vt .revm{margin-left:0;flex:none}
.ds .vt .ib.sm{margin-left:-4px}
.ds .vnote{margin:6px 0 0;font-size:12.5px;line-height:17px;color:var(--ink);overflow-wrap:anywhere}
.ds .vnote.none{color:var(--mute);font-style:italic}
.ds .vsv{display:flex;align-items:center;gap:8px;min-height:22px;margin-top:4px;font-size:11px;line-height:15px;color:var(--mute)}
.ds .vsv .btn.q{margin-right:-7px}
.ds .vacts{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}
.ds .vrn{margin-top:6px}
.ds .vrn .hint.bad{margin:4px 0 0}
/* parts 2 to 4: a section each. 20 px of space, a full-width 1 px rule, then a 32 px heading line (sentence case, 13/18 600)
   with its one action on the right; 4 px to the body. */
.ds .vsec{margin-top:20px;border-top:1px solid var(--rule)}
.ds .vsh{display:flex;align-items:center;gap:6px;min-height:32px;padding-top:4px;margin-bottom:4px}
.ds .vsh h3{margin:0;min-width:0;font:600 13px/18px var(--sans);color:var(--ink)}
.ds .vsh .btn{flex:none}
.ds .vsh .btn.sm{font-size:11px}
.ds .vsec .tags{display:flex;flex-wrap:wrap;gap:4px;align-items:center}
.ds .vnone{margin:0}
.ds .vdefs{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px;font-size:12px;line-height:16px}
.ds .vdefs li{display:flex;align-items:center;gap:6px}
.ds .vdt{flex:1;min-width:0;overflow-wrap:anywhere}
.ds .vdt .fn{font-size:11px}
.ds .vdefs .btn.q{flex:none;margin-right:-7px}
.ds .vsince{margin:0}
.ds .vseg{display:flex;margin-top:2px;border:1px solid var(--mute);border-radius:3px}
.ds .vseg button{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;padding:3px 8px;border:0;background:none;font-size:11px;line-height:15px;color:var(--ink2);text-align:left}
.ds .vseg button>span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ds .vseg .vsi{color:var(--mute)}
.ds .vseg button+button{border-left:1px solid var(--mute)}
.ds .vseg button[aria-pressed="true"]{background:var(--fill);color:var(--ink);font-weight:600;box-shadow:inset 0 -2px 0 var(--ink)}
.ds .vseg button:focus-visible{outline:2px solid var(--brand);outline-offset:-1px}
.ds .vseg .mono{font-size:10.5px}
.ds .vcnt{display:flex;flex-wrap:wrap;gap:4px 14px;margin:8px 0 2px;font-size:11.5px;line-height:15px;color:var(--ink2)}
.ds .vcnt span{display:inline-flex;align-items:center;gap:5px}
.ds .vcnt b{font:600 11px/15px var(--mono);color:var(--ink)}
.ds .vlines{list-style:none;margin:4px 0 0;padding:0}
.ds .vlines li{display:grid;grid-template-columns:72px minmax(0,1fr);gap:6px;padding:5px 0;border-bottom:1px dotted var(--dot);font-size:12px;line-height:16px;color:var(--ink2)}
.ds .vk{display:flex;align-items:center;gap:5px;height:16px;font-size:11px;color:var(--mute)}
.ds .vw{min-width:0;overflow-wrap:anywhere}
.ds .vw b{font-weight:600;color:var(--ink)}
.ds .vw .mono{font:500 11px/16px var(--mono);color:var(--ink)}
.ds .vw .m2{display:block;font-size:11px;line-height:15px;color:var(--mute)}
.ds .vmore{margin:6px 0 0}
.ds .cmore.vmore{margin:0;padding:8px 0 0;font-size:11.5px;color:var(--ink2)}
.ds .vload{display:flex;align-items:flex-start;gap:6px;min-height:140px;margin:10px 0 0;font-size:11.5px;line-height:15px;color:var(--ink2)}
.ds .vload .spin{margin-top:1px}

/* The save view (58c-58f), the same frame as the version view */
.ds .svh{margin:0;font:600 15px/20px var(--sans);color:var(--ink);outline:none}
.ds .svw{margin:2px 0 0}
.ds .tview .tbnote.fnote.svn{margin-top:12px}
.ds .svt{display:flex;flex-direction:column;gap:4px;margin-top:12px}
.ds .svt .nlabel{font-size:11px;font-weight:600;color:var(--ink2)}
.ds .svt .tags{display:flex;flex-wrap:wrap;gap:4px;align-items:center}
.ds .sva{display:flex;align-items:center;gap:6px;margin-top:16px}
/* 59: a version row led by its note (notes.verRow), design and Grasshopper; boards 46t-46w, 57o-57s. Twisty at x 0-16; the note and what is under it start at 22. */
.ds #tab-ws .ver.vr2{padding:6px 2px 6px 22px;border-bottom:1px dotted var(--rule)}
.ds .ver.vr2 .vrh{display:flex;align-items:flex-start;gap:6px;min-width:0;min-height:20px;cursor:pointer}
.ds .ver.vr2 .vrh .tw{margin-top:2px}
.ds .ver.vr2 .vrh>.pin,.ds .ver.vr2 .vrh>.vt{flex:none;white-space:nowrap;line-height:20px}
.ds .ver.vr2 .vrh>.vopt{flex:none;white-space:nowrap}
.ds .ver.vr2 .vrh .ib.sm{margin:-2px -4px -2px 0;flex:none}
/* The Workspace tab scrolls: a ··· or See details past its edge would scroll it sideways, so there they end on the edge, as the option rows' ··· does. */
.ds #tab-ws .ver.vr2 .vrh .ib.sm,.ds #tab-ws .ver.vr2 .vdet{margin-right:0}
.ds .ver.vr2 .vn{flex:1;min-width:0;font-size:12px;line-height:20px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ds .ver.vr2 .vn2{flex:1;min-width:0;max-height:48px;margin:2px 0 0;overflow-y:auto;overflow-wrap:anywhere;font-size:12px;line-height:16px;color:var(--ink);scrollbar-width:thin;scrollbar-color:var(--mute) transparent;cursor:auto}
.ds .ver.vr2 .vn2.more{mask-image:linear-gradient(to bottom,black calc(100% - 6px),transparent)}
.ds .ver.vr2 .vn.none,.ds .ver.vr2 .vn2.none{color:var(--mute);font-style:italic}
.ds .ver.vr2.inh .vn,.ds .ver.vr2.inh .vn2{color:var(--mute)}
.ds #tab-ws .ver.vr2 .vopt{max-width:110px;font-size:10.5px;line-height:14px;padding:0 5px;border:1px solid var(--rule);border-radius:2px;color:var(--mute)}
.ds .ver.vr2:not(.open) .vrh{align-items:center}
.ds .ver.vr2:not(.open) .vrh .tw{margin-top:0}
.ds .ver.vr2 .vb{padding-left:22px}
.ds .ver.vr2 .vmeta{display:flex;align-items:center;gap:6px;min-width:0;margin-top:4px;min-height:22px}
.ds .ver.vr2 .vmeta .revm{margin-left:0;flex:none}
.ds .ver.vr2 .vmeta .hint{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ds .ver.vr2 .hint.blk{display:block;margin-top:2px}
.ds .ver.vr2 .vmg{margin-top:3px;font-size:11px;line-height:15px;color:var(--ink2);overflow-wrap:anywhere}
.ds .ver.vr2 .vmg .cap{margin-right:4px}
.ds .ver.vr2 .loaded{display:block;margin-top:4px}
/* in the Grasshopper tree: rows on the option's spine, split by dotted rules */
.ds #tab-ws .olv .ver.vr2{border-bottom:0;padding:3px 0}
.ds #tab-ws .olv .ver.vr2+.ver.vr2{margin-top:0;padding-top:3px;border-top:1px dotted var(--rule)}
/* See details: quiet, a labelled button at the end of the saved line */
.ds .vdet{flex:none;padding:0 6px;margin-right:-4px}
.ds .vdet:focus-visible{outline:2px solid var(--brand);outline-offset:-1px}
/* 57q: the line under who/when holds See versions then See details, first letter on the note's text edge, never wrapping */
.ds .inl .cdl{display:flex;align-items:center;gap:4px;min-height:22px;margin-left:-8px;white-space:nowrap}
.ds .inl .cdl .vl,.ds .inl .cdl .vdet{margin:0}
.ds .inl .cdl .vl{padding:0 6px;gap:0;align-items:center}
/* 59: a closed definition or option row says "latest: <note>"; the note gives way with an ellipsis */
.ds #tab-ws .row .hint.lt{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* 61 · Temporary read-only recovery of an exported workspace in Rhino.
   Uses only design-system tokens so Paper and Blueprint themes stay in sync. */

/* Secondary local-recovery block on the Sign-in view (61b) */
.ds .pre-exp{margin-top:16px;padding-top:12px;border-top:1px dotted var(--rule);display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.ds .pre-exp .hint{margin:0}

/* Temporary read-only export header strip under the top bar (61c–61e) */
.ds .exp-head{flex:none;background:var(--fill);border-bottom:1px solid var(--rule);padding:8px 10px 9px;display:flex;flex-direction:column;gap:5px}
.ds .exp-top{display:flex;align-items:center;gap:6px;min-width:0}
.ds .exp-badge{display:inline-flex;align-items:center;gap:4px;padding:1px 6px;border:1px solid var(--dot);border-radius:2px;background:var(--paper);font:500 9.5px/14px var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--ink2);white-space:nowrap}
.ds .exp-close{flex:none;max-width:168px;overflow:hidden;text-overflow:ellipsis}
.ds .exp-name{display:flex;align-items:baseline;gap:6px;min-width:0;flex-wrap:wrap}
.ds .exp-name b{font:600 13px/17px var(--sans);color:var(--ink);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ds .exp-name .hint{white-space:nowrap}
.ds .exp-hint{flex:none;margin:0;padding:6px 10px 4px;font-size:11px;line-height:15px;color:var(--mute);border-bottom:1px dotted var(--rule)}

/* Export body mirrors #tab-ws layout and built Workspace / GH Definitions rules */
.ds .exp-body{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column}
.ds .exp-body .exp-scroll{flex:1;min-height:0;overflow:auto}
.ds .exp-body .wsq{margin-bottom:4px}
.ds .exp-body .wssearch{position:sticky;top:0;z-index:3;background:var(--paper)}
.ds .exp-body .wssearch .search{margin:4px 0 4px}
.ds .exp-body .wstree .row{cursor:pointer}
.ds .exp-body .btn.indent{margin:4px 0 4px 16px}
.ds .exp-body .ver{position:relative;padding:7px 2px 8px 22px;border-bottom:1px solid var(--rule)}
.ds .exp-body .ver .tags{flex-wrap:wrap;gap:4px;margin-top:5px}
.ds .exp-body .ver .acts{flex-wrap:wrap;gap:4px;margin-top:6px}
.ds .exp-body .ver .exp-vline{margin:4px 0 0;font-size:11px;line-height:15px;color:var(--mute)}

/* Grasshopper Definitions tree inside export view (mirrors panel-gh.css #tab-ws rules) */
.ds .exp-body .gdef{border-top:1px solid var(--rule)}
.ds .exp-body .gdef.open{padding-bottom:10px}
.ds .exp-body .gdh{height:32px;gap:6px;border-bottom:0}
.ds .exp-body .gdh .nm{font:600 13px/16px var(--sans);color:var(--ink)}
.ds .exp-body .gdh .gl{display:inline-flex;width:16px;height:16px;color:var(--mute);flex:none}
.ds .exp-body .gdh .hint,.ds .exp-body .gdh .pin{flex:none;white-space:nowrap}
.ds .exp-body .gdh .hint{min-width:0;overflow:hidden;text-overflow:ellipsis;flex:0 1 auto}
.ds .exp-body .ghelp{margin:0 0 4px 44px}
.ds .exp-body .gob2{position:relative;padding-left:22px}
.ds .exp-body .gob2::before{content:"";position:absolute;left:8px;top:0;height:14px;width:10px;border-left:1px solid var(--dot);border-bottom:1px solid var(--dot)}
.ds .exp-body .gob2:not(:last-child)::after{content:"";position:absolute;left:8px;top:14px;bottom:0;border-left:1px solid var(--dot)}
.ds .exp-body .og{padding:0 0 10px;border-bottom:1px dotted var(--rule)}
.ds .exp-body .gob2+.gob2 .og{padding-top:6px}
.ds .exp-body .gob2+.gob2::before{height:20px}
.ds .exp-body .gob2+.gob2:not(:last-child)::after{top:20px}
.ds .exp-body .gob2:last-child .og{border-bottom:0}
.ds .exp-body .obh{display:flex;align-items:center;gap:6px;min-height:28px;cursor:pointer}
.ds .exp-body .obn{font:600 12px/16px var(--sans);color:var(--ink);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ds .exp-body .obf{margin:-4px 0 0 22px;font-size:11px;line-height:15px;color:var(--mute);overflow-wrap:anywhere}
.ds .exp-body .olv{margin:6px 0 0 8px;padding:0 0 0 14px;border-left:1px solid var(--dot)}
.ds .exp-body .olv .ver{padding:1px 0 0;border-bottom:0}
.ds .exp-body .olv .ver+.ver{margin-top:8px;padding-top:8px;border-top:1px dotted var(--rule)}
.ds .exp-body .olv .ver>.r{gap:6px}
.ds .exp-body .olv .ver .revm{margin-left:0;flex:none}
.ds .exp-body .olv .ver>.r .hint{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ds .exp-body .gvk .og{padding:6px 0 10px 22px}
.ds .exp-body .gvk .olv{margin:0;padding:0;border-left:0}
.ds .exp-body .gvk::before{height:18px}

/* External reference skipped warning banner inside the export view (61e) */
.ds .exp-warn{flex:none;margin:6px 10px 2px;padding:8px 10px;border:1px solid var(--warn);border-left:3px solid var(--warn);border-radius:3px;background:var(--paper);display:flex;align-items:flex-start;gap:8px;font-size:11.5px;line-height:16px;color:var(--ink)}
.ds .exp-warn .i{margin-top:1px;flex:none;color:var(--warn)}
.ds .exp-warn .bm{flex:1;min-width:0}
.ds .exp-warn p{margin:3px 0 0;color:var(--ink2)}
.ds .exp-warn .ba{display:flex;align-items:center;gap:6px;margin-top:6px}
.ds .exp-warn .ba .btn.q{padding:0}

/* Error screen for pre-v2 / invalid export folder (61f) */
.ds .exp-err{padding:18px 14px;display:flex;flex-direction:column;gap:10px}
.ds .exp-err-head{display:flex;align-items:flex-start;gap:8px}
.ds .exp-err-head .i{margin-top:2px;flex:none;color:var(--bad)}
.ds .exp-err h2{margin:0;font:600 14px/19px var(--sans);color:var(--ink)}
.ds .exp-err p{margin:0;font-size:12px;line-height:17px;color:var(--ink2)}
.ds .exp-err .exp-err-acts{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}

/* Narrow (300 px) adjustments */
@container (max-width:320px){
  .ds .exp-close{max-width:132px;padding:0 6px}
}

/* drawing.css: the shared stylesheet every board loads, after the built panel stylesheets (app.mjs builtCss). The built
   files style the boards; this file holds only what they do not: the boards' framing and a few board-only rules.
   Never copy a built rule here: change the build, or the part's markup, so the built rule applies. */

/* ==== framing: boards are fixed-size frames, not a resizable panel ==== */
/* overrides built .ds{width:100%;height:100vh}: a board has its own size. container-type: the built 340 px and 320 px
   width queries run as container queries on the board's .ds (app.mjs builtCss) */
.ds{width:360px;height:900px;container-type:inline-size}
/* parts drawn alone (PanelHeader, CopyMenu…) carry their own .ds; inside a board they add no box (overrides built display) */
.ds.part{height:auto}
.ds .ds.part{display:contents;container-type:normal}
.kf{outline:2px solid var(--brand);outline-offset:1px} /* draws the shipped :focus-visible ring on a board */

/* ==== rules the build does not have (designs not built yet, drawn boards' markup) ==== */
.pre{flex:1}
.ver .msg{margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ver .msg.none{color:var(--mute);font-style:italic}
.stleg span{display:inline-flex;align-items:center;gap:5px}
.moreb{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0;border:0;background:none}
.stline.warn .pc+span{color:var(--warn)}
.dfoot b{font-weight:500;font-size:10.5px}
.tbnote.fnote .nfoot .hint{min-width:0}
.tbnote.fnote .nfoot .cnt{flex:none}

/* Swap & placeholders family (sections 12-28) and the spec boards: what the build does not draw */

.c1::before,.c2::before{border-color:var(--dot)}

.c2.thru{background-image:linear-gradient(var(--dot),var(--dot));background-size:1px 100%;background-position:7px 0;background-repeat:no-repeat}

.pk .pkn{display:flex;align-items:center;gap:8px;cursor:pointer}

.pk .nm b{font-weight:500}

.pk.off .pkn{cursor:default}

.shb>*{flex:none}
.shb>.pkl{flex:1 1 0;min-height:0;overflow:auto}

.err{padding:2px 0 2px 10px;border-left:3px solid var(--bad);line-height:17px;color:var(--bad)}

/* spec boards: one case per block */
.spec{padding:10px 12px;display:flex;flex-direction:column;gap:8px;flex:1;min-height:0}
.spec h2{margin:0;font:600 14px/18px 'IBM Plex Sans',sans-serif}
.spec .sched{font-size:11.5px;line-height:15px} /* overrides built .sched: a schedule in a spec case */
.spec .sched td:first-child{width:92px;color:var(--ink2)}
.spec .mi{padding-left:0;padding-right:0} /* overrides built .mi padding: a menu item drawn inline in a spec case */

.frame{border-top:1px solid var(--rule);padding-top:6px;display:flex;flex-direction:column;gap:6px}
.frame .pk{border-bottom:0} /* overrides built .pk: a picker row drawn alone in a spec frame */
.frame .act{display:flex;gap:6px}

/* Update & combine family (25–28): every copy editable, Update combines with the latest */

/* review sheet: categories and items */

.item{padding:7px 0 8px 10px;border-left:3px solid var(--dot);border-bottom:1px dotted var(--dot);line-height:17px;color:var(--ink2)}
.item.both{border-left-color:var(--bad)}

.item.done{border-left-color:var(--hl)}
.item.on{background:var(--fill)}
.item .t{display:flex;align-items:center;gap:6px;color:var(--ink)}
.item .t b{font-weight:600}
.item .who2{display:grid;grid-template-columns:44px 1fr;gap:1px 6px;margin:4px 0 6px;font-size:11.5px;line-height:15px}
.item .who2 .cap{line-height:15px} /* overrides built .cap: on the 15 px grid of its row (not built) */
.item .acts{display:flex;flex-wrap:wrap;align-items:center;gap:6px}

.auto{font-size:11.5px;color:var(--ink2)}
.auto li{padding:3px 0;border-bottom:1px dotted var(--dot)}
.auto ul{margin:0;padding:0;list-style:none}

.sched td .hint{display:block}
/* layer colour swatches in review rows: always beside the colour's name */

.item .kind{font:500 9.5px/12px 'IBM Plex Mono',monospace;letter-spacing:.08em;text-transform:uppercase;color:var(--mute)}

/* property sets of the selection: opens in place under the selection bar */
.selb .pbtn{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 6px;border:1px solid var(--mute);border-radius:3px;font-size:11px}
.selb .pbtn[aria-expanded="true"]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.props{margin:0 10px;padding:4px 8px 8px 11px;border-left:3px solid var(--sel);flex:none;display:flex;flex-direction:column;gap:2px}
.props .phd{display:flex;align-items:center;gap:6px;min-height:26px}
.pset{border-top:1px solid var(--rule);padding:4px 0 2px}
.psh{display:flex;align-items:center;gap:6px;min-height:24px}
.psh b{font-weight:600}
.psh .tw{transform:rotate(90deg)}
.src{font:500 9px/12px 'IBM Plex Mono',monospace;letter-spacing:.06em;text-transform:uppercase;color:var(--mute);border:1px solid var(--rule);padding:0 4px;white-space:nowrap}
.ptbl{width:100%;border-collapse:collapse}
.ptbl th{width:46%;padding:4px 6px 4px 22px;text-align:left;font-weight:400;color:var(--ink2);border-bottom:1px dotted var(--dot);vertical-align:top}
.ptbl td{padding:4px 4px 4px 6px;border-bottom:1px dotted var(--dot);vertical-align:top}
.ptbl .u{color:var(--mute);margin-left:3px}
.ptbl tr.miss th,.ptbl tr.miss td{color:var(--warn)}
.ptbl tr.miss td{font-weight:600}
.ptbl tr.hv{background:var(--fill)}
.ptbl tr.chg td::after{content:"";display:inline-block;width:6px;height:6px;margin-left:6px;border-radius:50%;background:var(--hl);vertical-align:1px}
.ptbl tr.ed td{padding:3px 4px}
.vary{color:var(--mute)}
.ptbl .inp{height:26px;font-size:12px;padding:0 6px} /* overrides built .inp: a compact field in a table cell (not built) */

.pchk{display:flex;align-items:flex-start;gap:6px;padding:6px 0 6px 8px;border-left:3px solid var(--warn);font-size:11.5px;color:var(--ink2)}
.pchk b{color:var(--ink);font-weight:600}
.webln{display:inline-flex;align-items:center;gap:3px}
/* the Rhino viewport compare board */
/* overrides built .ds: a Rhino view, not a panel */
.vp{width:880px;height:560px;box-sizing:border-box;background:#E7E6E1;font:400 12px/16px 'IBM Plex Sans',system-ui,sans-serif}
.vp .vpt{position:absolute;left:0;right:0;top:0;height:26px;display:flex;align-items:center;gap:8px;padding:0 10px;background:#D6D5CF;font-size:11px;color:var(--ink2)}
.vp .hud{position:absolute;background:var(--paper);border:1px solid var(--ink);border-top-width:2px;box-shadow:0 10px 28px rgba(21,25,28,.18);padding:8px 10px}
.vp .hud h3{margin:0 0 4px;font:600 13px/18px 'IBM Plex Sans',sans-serif}
.vp .lg{display:flex;align-items:center;gap:8px;font-size:11.5px;line-height:18px}
.vp .lsw{display:inline-block;width:22px;height:0;border-top:2.5px solid #5A3300;flex:none}
.vp .lsw.th{border-top:2.5px dashed #6E9BD0}
.vp .lsw.un{border-top:1.5px solid #A3A097}
/* 31 · per-child update picker */
.kbar{display:flex;align-items:center;gap:4px;padding:6px 0 4px;border-top:1px solid var(--ink)}
.kbar .cap{margin-right:auto}
.kbar .lnk,.kmore summary{min-height:24px;display:inline-flex;align-items:center}

.kids{display:flex;flex-direction:column}
/* label.kid: the per-child picker row (31e, dsKdRevert); a bare .kid would catch the built Child edits pill (.edits.kid) */
label.kid{display:grid;grid-template-columns:18px 1fr auto;gap:2px 8px;padding:8px 4px;border-bottom:1px dotted var(--dot)}
label.kid>input{margin:1px 0 0;width:14px;height:14px;accent-color:#4A2680}

label.kid b{font-weight:600}
label.kid .to{font:500 11px/16px 'IBM Plex Mono',monospace;white-space:nowrap;text-align:right}
label.kid .to small{display:block;font-size:9.5px;color:var(--mute)}
label.kid .path{grid-column:2/4;font-size:11px;line-height:15px;color:var(--ink2)}
label.kid .cons{grid-column:2/4;margin-top:4px;padding:2px 0 2px 7px;border-left:3px solid var(--ink2);font-size:11.5px;color:var(--ink2)}
label.kid .cons.w{border-left-color:var(--warn)}

.kmore{padding:6px 4px;font-size:11px;color:var(--mute)}

/* 31g · many copies of one option: one row per option, copies on demand */

.cpl button:hover,.cpl button:focus-visible{background:var(--fill)}

/* 26b/26d/26f · each side of a conflict owns its Rhino control, on its own row: You → Select mine (a Rhino selection), them → Show theirs (a preview, dashed like its drawing in Rhino) */
.item .sides{display:grid;align-items:center;gap:3px 6px;margin:4px 0 7px;font-size:11.5px;line-height:15px}

/* the incoming side's geometry is an overlay in Rhino while the review is open; Highlight picks one */

.item .sides .by{display:block;font-size:10.5px;line-height:14px;color:var(--mute)}

/* 26·2/26·5 rev · one conflict at a time: each choice is a side, with its own Rhino button beside it (never inside the label) */
.pick{margin:0;padding:0;border:0;display:flex;flex-direction:column;gap:6px}
/* scoped to .pick: the built .pk is also the sheets' picker row (panel-sheets.css: Unload a copy, Switch version) */
.pick .pk{grid-template-columns:1fr auto;border:1px solid var(--rule);border-radius:3px}
.pick .pk.on{border:2px solid var(--ink)} /* overrides built .pk.on: the chosen side of a conflict (26·2, not built) */
.pick .pk label{display:flex;gap:8px;align-items:flex-start;cursor:pointer}
.pick .pk input{width:14px;height:14px}
.pick .pk b{display:block;font-weight:600;font-size:12.5px;line-height:17px;color:var(--ink)}
.pick .pk .hint{display:block}
/* 26·2/26·5 · on a conflict the primary sits right under the choice, full width; no footer there */
.btn.pkgo{margin-top:2px}

/* an option row with quick choices: the row button opens; the choices sit under it as siblings, never inside it, and tab after it */

/* a primary that names where it goes (Next: <item>, Done with <copy>, Back to <copy>) stays on one line: the verb stays, the name truncates; full text is the content (accessible name) and the title */

.shf .btn:not(.nx){flex:none}

/* a version choice on an option row: the panel's Segmented, both answers shown, the current one pressed. Selected = fill, 600, ink, 2px ink underline; idle ink2, hover fill (design system Segmented) */

/* Sections 32–36: the save note, show only one, an agent's request, what the agent did, delete on the web.
   No new colour meanings: amber = needs a decision, red = destructive, green = done, ink = everything else. */

/* 32 · the note for the next save: one quiet field on its own line in the save row */

.tbnote .inp::placeholder{color:var(--mute)}

.kept{display:flex;align-items:baseline;gap:6px;margin-top:8px;padding-top:6px;border-top:1px dotted var(--dot);font-size:11.5px;color:var(--ink2)}
.kept q{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}

/* 34 · an agent's request uses the banner; what would be lost is a short list by name */
/* not the desk's storage banner (.dkb): its list is the built bulleted one (panel-desk.css .dkb .lose) */
.banner:not(.dkb) .lose{margin:6px 0 0;padding:0;list-style:none;border-top:1px solid var(--rule)}
.banner:not(.dkb) .lose li{padding:4px 0;border-bottom:1px dotted var(--dot)}
.banner .acts{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px}
.banner .meta{display:block;margin-top:6px;font-size:11px;line-height:15px;color:var(--mute)}

.banner .pg{display:flex;align-items:center;gap:2px;margin:-2px 0 4px -4px}

/* 35 · who did it: a by-line in words; the activity list */

.alog{border-top:1px solid var(--rule)}
.ae{gap:0 8px;color:var(--ink2)}

.ae b{color:var(--ink)}

.ae .lnk{align-self:start}

/* drawn but not built yet: a dashed amber outline, explained in the board's note */
.dfr{outline:1px dashed var(--warn);outline-offset:2px}

/* 37 · rename on the Workspace tab: the File tab's inline rename (2i-2l), on option rows and version notes */

.mwrap{position:relative}
/* overrides built .menu width: a menu opened from a row, as wide as the row (not built) */
.mwrap .menu{top:0;right:0;width:calc(100% - 24px)}
.ver .mwrap .menu{top:-2px}
.rn{flex:1;min-width:0;height:22px;padding:0 6px;background:transparent;border:1px solid var(--brand)}
.rn.note{width:100%;margin:3px 0 0}
.rn.bad{border-color:var(--bad)}

.cnt{flex:none}

.ver .r .ib.sm{margin:-4px -4px -4px 0}
.wsr .row .hint{flex:none}

/* 42 · Grasshopper definitions in the panel. Tokens only; every other class is the panel's own.
   From the G-mock (docs/plans/grasshopper-versioning/panel-mock.html, "new for Grasshopper versioning"): .ggrp, .chg, .chgl, .gsave. */

/* panel-gh.css's .ftree>.inl rules (an open row's detail draws its edge at x=0), for drawn boards whose tree has no .ftree */
.tree>.inl.warn,.tree>.inl.gin{margin:0;padding-left:20px}

/* Rhino's own dialog, drawn for context only (not panel UI) */
.rdlg{position:absolute;z-index:9;left:22px;right:22px;top:300px;background:#FFFFFF;border:1px solid #6B6B6B;box-shadow:0 12px 32px rgba(0,0,0,.35);font:400 12px/17px "Segoe UI",system-ui,sans-serif}
.rdlg .rt{padding:6px 10px;border-bottom:1px solid #D0D0D0;background:#F0F0F0;font-weight:600}
.rdlg .rb{padding:12px 12px 4px;white-space:pre-line}
.rdlg .rf{display:flex;justify-content:flex-end;gap:8px;padding:10px 12px 12px}
.rdlg .rf span{display:inline-flex;align-items:center;height:24px;padding:0 14px;border:1px solid #8A8A8A;background:#F4F4F4}
.rdlg .rf span.def{border-color:#0067C0;box-shadow:inset 0 0 0 1px #0067C0}
.rcap{position:absolute;z-index:9;left:22px;top:278px;font:500 9.5px/12px var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--paper);background:var(--ink);padding:2px 6px}

/* 42y: one case per block */
.scase{padding:6px 0 8px;border-bottom:1px dotted var(--rule)}
.scase .status{margin-top:4px;border:1px solid var(--rule)}

/* ---- the Grasshopper canvas, drawn (42x, 42aa). Grasshopper's own look, the same in both panel themes. .ghcmp .sw is a
   canvas legend swatch: it overrides the built panel .sw. */
.ds.cv{width:880px;height:560px;background:#D4D4D4} /* overrides built .ds paper: not a panel */
.ghc{position:absolute;inset:0;overflow:hidden}
.ghbar{position:absolute;left:0;right:0;top:0;height:26px;display:flex;align-items:center;gap:10px;padding:0 10px;background:#EDEDED;border-bottom:1px solid #9A9A9A;font:400 11px/14px "Segoe UI",system-ui,sans-serif;color:#222}
.ghtab{padding:3px 8px;border:1px solid #B5B5B5;border-bottom:0;background:#DADADA}
.ghtab.on{background:#FFFFFF;font-weight:600}
.ghnote,.ghcmp{position:absolute;z-index:2;right:16px;width:300px;display:flex;flex-direction:column;gap:5px;padding:10px 12px;background:var(--paper);border:1px solid var(--ink);border-top:2px solid var(--ink);box-shadow:var(--shadow);line-height:17px}
.ghnote{top:auto;bottom:16px}
.ghnote span{color:var(--ink2)}
.ghcmp .lg{display:flex;align-items:center;gap:8px;color:var(--ink2)}
.ghcmp .sw{display:inline-block;border:3px solid}
.ghcmp .sw.chg{border-color:#B26A00}
.ghcmp .sw.add{border-color:#1F5FBF}
.ghcmp .sw.gho{border:1.5px dashed #6B6B6B}
.ghcmp .sw.wir{border:0;border-top:2px dashed #6B6B6B;height:0}
.pnb{padding:0 5px;border:1px solid var(--warn);font:500 10px/15px var(--mono);letter-spacing:.04em;color:var(--warn);white-space:nowrap}
.kb{padding:0 4px;border:1px solid var(--rule);border-bottom-width:2px;font:500 10px/14px var(--mono)}
.ghcmp{top:auto;bottom:16px;width:340px}
.ghcmp .sw{width:18px;height:12px}
.ghcmp .sw.cl{border-style:dashed}
/* the legend's fold chevron (parts/GhCanvas.js LegendFold; drawn by GrasshopperOverlay.cs, not by a stylesheet) */
.lfold{flex:none;width:16px;height:16px;fill:none;stroke:#1F2937;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}

/* 43-45 · versions named by short id + note (git style), a note on every save, Grasshopper changes written on the canvas.
   Tokens only. Every other class is the panel's own (drawing.css, swap.css, merge.css, agent.css, gh.css). */

/* the note after the id on a copy row: ink2, one line, ellipsis, full text in the title. The name keeps its width; the note gives way first */

.row .vmsg{flex:1 1 0;min-width:0;margin-left:6px;overflow:hidden;text-overflow:ellipsis;font-size:11.5px;color:var(--ink2);font-weight:400}
.row .vmsg.none,.vnone{color:var(--mute);font-style:italic}

.tbs .v .mono,.kv .mono{font-size:11px}

/* version blocks and picker rows: id first, then who and when, then the note */
.ver .r .hint{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.pk .vline{display:flex;align-items:baseline;gap:6px}
.pk .vline .revm{margin:0;flex:none} /* overrides built .revm margin: first on its line (not built) */
.pk .vline .t{flex:none;font:500 10.5px/15px var(--mono);color:var(--mute)}
.pk .vline .vm{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--ink)}

/* activity: a version named in a sentence */

.ae q{color:var(--ink)}

/* spec boards: one case per block, the real status line drawn inside */
.spec43{display:flex;flex-direction:column;gap:0;padding:8px 10px;flex:1;min-height:0;overflow:hidden}
.spec43 h2{margin:0 0 6px;font:600 13px/16px var(--sans)}
.spec43 .scase{padding:6px 0 8px}
.spec43 .scase .status{margin-top:4px;border:1px solid var(--rule)}
.spec43 .scase .hint{display:block;margin-top:3px}

/* 45 · labels on the Grasshopper canvas, panel side: the row Show that drew one change */

.edh{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:8px}
.edh .cat{flex:1 1 auto}
/* an id inside a cap-style heading keeps its case */
.cat .mono{text-transform:none;letter-spacing:0;font-size:10.5px}
/* two ids that share a prefix: the character that tells them apart is ink */
.revm b,.rev b b{font-weight:600;color:var(--ink)}
/* version actions wrap at 300 px instead of running off the edge */

/* 48 · original location: Load, Place…, Add as child, Open this occurrence alone, Set base point.
   Tokens only in the panel; raw colours only in the Rhino viewport drawing (.vp .cmd), as merge.css .vp.
   Every other class is the panel's own (drawing.css, swap.css, merge.css, agent.css, gh.css, ids.css, opts.css). */

/* Workspace multi-select: a counted bar above the list (ink edge = a panel selection, never Rhino yellow) and a real checkbox per option row */
.msel{display:flex;align-items:center;gap:6px;min-height:28px;margin:0 10px;padding:0 2px 0 8px;border-left:3px solid var(--ink);background:var(--fill);font-size:11.5px;flex:none}
.msel b{font-weight:600}
.row .ck{width:14px;height:14px;margin:0 1px;accent-color:var(--brand);flex:none}

.row.chk .nm{font-weight:600}

/* occurrences inside a saved parent version (Workspace tab): the version block gains an "Inside" list */
.inside{margin-top:8px;border-top:1px solid var(--rule)}
.inside .ih{display:flex;align-items:center;gap:4px;min-height:26px;padding:0;border:0;background:none}

.occ{position:relative;display:flex;align-items:center;gap:6px;min-height:28px;padding-right:2px;border-bottom:1px dotted var(--rule);white-space:nowrap}
.occ:hover,.occ.hv{background-color:var(--fill)}
.occ.ctx{background-color:var(--fill);outline:1px solid var(--ink2);outline-offset:-1px}
/* a connector that runs past a row to a later sibling of its parent (11px: level 1) */

.occ .nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.occ.two{align-items:flex-start;padding-top:5px;padding-bottom:5px;white-space:normal}
.occ.two .hlb,.occ.two .ib{margin-top:-2px}
.occ .at{display:block;font:500 10.5px/14px var(--mono);color:var(--mute);white-space:nowrap}
.occ .on{display:block;font-size:11px;line-height:15px;color:var(--ink2)}

/* spec board: one case per block, a menu item drawn in place */
.olspec{padding:12px;display:flex;flex-direction:column;gap:0;overflow:hidden}
.olspec h2{margin:0 0 4px;font:600 14px/18px var(--sans)}
.olspec>p{margin:0 0 8px;line-height:17px;color:var(--ink2)}
.olcase{padding:6px 0 7px;border-top:1px dotted var(--rule)}
.olcase .when{display:block;margin-bottom:3px;font-size:11px;line-height:15px;color:var(--mute)}
/* overrides built .mi: a menu item drawn alone, framed, in a spec case */
.olcase .mi{height:auto;border:1px solid var(--rule)}

/* the Rhino viewport, drawn for context (not panel UI): the command line under it */
.vp .cmd{position:absolute;left:0;right:0;bottom:0;height:64px;padding:5px 10px;background:#F2F1EC;border-top:1px solid #A9A79E;font:400 12px/18px "Segoe UI","IBM Plex Sans",system-ui,sans-serif}
.vp .cmd .h{display:block;color:#5E676D;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vp .cmd .p{display:flex;align-items:center;gap:2px;margin-top:2px;padding:1px 4px;background:#FFFFFF;border:1px solid #A9A79E}
.vp .cmd .car{display:inline-block;width:1px;height:14px;background:#15191C}
/* a callout on a drawn screen: what the mock wants the reviewer to see (not shown to the designer) */
.anno{position:absolute;z-index:3;padding:4px 7px;background:#15191C;color:#F7F6F2;font:500 10.5px/14px "IBM Plex Mono",monospace}
.anno::after{content:"";position:absolute;left:14px;bottom:-5px;border:5px solid transparent;border-bottom:0;border-top-color:#15191C}
.anno.up::after{bottom:auto;top:-5px;border-top:0;border-bottom:5px solid #15191C}
/* an occurrence's placement name (panel-workspace.css) */
.occ .nm b{font-weight:600}

/* 49 · user-test fixes: a note on every new option, the New option block folds, Save only these.
   Tokens only. Every other class is the panel's own (drawing.css, swap.css, merge.css, agent.css, gh.css, ids.css, opts.css, origin.css). */

/* the New option block's header is its disclosure: a real button, aria-expanded, chevron turns like the tree's .tw */

.nhb:focus-visible,.nhb.fv{outline:2px solid var(--brand);outline-offset:-1px}

.nhb .kept{color:var(--ink2)}

/* 42: the toolbar's More dirhp commands (panel-shell.css #tools-more) and the tour strip over the status line (panel-tour.css .gsl) */
.ds .tools .tmore{margin-left:auto;align-self:center}

.ds .gsl.tourbar .ib,.ds .gsl.tourbar .ib:hover{color:var(--paper);background:none}

/* the desk card's picture (panel-desk.js img.dimg) drawn as a neutral box: boards draw no pictures (desk.js Card) */
.ds .dthumb .dimg:not(img){background:var(--rule)}

/* Sheets (parts/sheet.js Sheet) placed as built, without the script: panel-shell.js sheetTop sets --sheet-top to the bottom of the
   title block (and banner), panel-sheets.js placeSheet puts the sheet at the bottom of the selection band. Panel marks both places
   (.sha: data-sha scrim, sheet) and the scrim and the sheet take their tops from those marks (anchor positioning). The marks lie outside
   .sheetwrap, so the wrap lends no box (overrides the built absolute .sheetwrap): the scrim and the sheet are placed in the
   panel itself, with the wrap's z-index. A board that passes top or scrim keeps its own (inline). */
.ds .sha{display:block;height:0;flex:none}
.ds .sha[data-sha="scrim"]{anchor-name:--sh-top}
.ds .sha[data-sha="sheet"]{anchor-name:--sh-sel}
.ds .sheetwrap{display:contents}
.ds .sheetwrap>.scrim{top:anchor(--sh-top bottom,0px);z-index:4}
.ds .sheetwrap>.sheet-panel{top:anchor(--sh-sel bottom,0px);z-index:4}

/* 8: keyboard focus drawn on a board (panel-tour.js take.focus(), next.focus()); the built ring is :focus-visible (panel.css) */
.ds .tw0 .btn.fv,.ds .tbar .btn.fv{outline:2px solid var(--brand);outline-offset:1px}

/* 9: the First tasks dock sits at the panel's foot (built: the tab body before it is flex:1, panel-shell.css .body[role=tabpanel];
   a board's tab body is not) */
.ds > #dock{margin-top:auto}

/* 17e: a row drawn with keyboard focus (copies.js CopyRow fv): the built .ftree .row:focus-visible ring, and what :focus-within
   does (panel.css .ra shows; panel-swap.css the state pills step aside) */
.ds .ftree .row.fv{outline:2px solid var(--brand);outline-offset:-1px}
.ds .row.fv .ra{display:flex}
.ds .ftree .row.fv .pin,.ds .ftree .row.fv .edits{display:none}
/* 44a: a Note ringed by Save with no note has focus (panel-shell.js focusNote), so its hint shows as the built
   .tbnote:focus-within .hint does */
.ds .tbnote:has(.inp.f[aria-invalid="true"]) .hint:not(:empty){display:inline-flex;align-items:center;gap:4px}

/* 65: the built panel-shell.css hides the Lock label below 320 px with a media query, which a 300 px board in a wider viewer
   never meets; .ic (SelectionBand narrow) stands in for it. Board-only. */
.ds .selb .sl1 .lockb.ic { padding: 0 6px; }
.ds .selb .sl1 .lockb.ic .i { margin-right: 0; }

/* 56: the clean copy detail (parts/copies.js CleanDetail). Only page 56 loads it. */

.cd .cdn{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}

/* space-between, not margin-left:auto: on one line Save is left and the icons right; once they wrap, each line starts at the left,
   so the icon glyphs line up under Save's glyph (56i, 56j, built 16b) */
.cd .cda{justify-content:space-between}

.cd .ib.fv{outline:2px solid var(--brand);outline-offset:-1px}

/* 57: notes that grow (parts/bits.js NoteField grow, TbNote, SavedNote, NoteHelper), the expanded note editor and a
   version's own view (parts/version.js). Pages that draw them list it in `css`. */

/* the expanded editor: the same field, tall (14 lines), no gutter */

.shb .hint.ned{margin:0}

/* A saved note: whole up to 3 lines (48 px), then it scrolls; the helper sits in its own column at the bottom right, so
   the scrollbar is between the text and the helper. */

.cd .snw.cdn2{margin:0 0 4px}
.ver .snw.vmsg2{margin-top:3px}
.ver .snw.vmsg2 .nhelp{margin-right:-2px} /* overrides built -4 px: the helper beside a version note (not built) */

/* A version's own view: replaces the tab's description and list. Back, then four parts (Jovin, 57: "Now the entire
   thing reads like one very long section."): the version itself, Tags, Definitions used, What changed. Only its body
   scrolls. */
.vslide{position:relative;flex:1;min-height:0;overflow:hidden}
.vlay{position:absolute;inset:0;display:flex;flex-direction:column}
.vv{flex:1;min-height:0;display:flex;flex-direction:column;margin:0 10px}

/* Definitions used: one line per definition (file, then "n of total objects"), Open in Grasshopper on the right. */

.vv .fv{outline:2px solid var(--brand);outline-offset:-1px}

/* boards with frames side by side (storyboards) */
.frames{display:flex;gap:24px;align-items:flex-start}
.frames figure{margin:0;flex:none}
.frames figcaption{height:28px;font:500 11px/28px "IBM Plex Mono",monospace;color:#3B4349;white-space:nowrap}
.frames .fp{position:relative;overflow:hidden;box-shadow:0 0 0 1px #D9D7D0}
.frames .fp>.ds{height:100%} /* overrides the framing .ds height: a panel inside a storyboard frame */

/* 46-47 · options and merge, for Grasshopper definitions and Rhino designs. Tokens only.
   Every other class is the panel's own (drawing.css, swap.css, merge.css, agent.css, gh.css, ids.css). */

/* ahead / behind against the option this one was made from (Main for a Grasshopper definition): words in mono, never an arrow alone */
.ab{display:inline-flex;align-items:center;gap:3px;font:500 10.5px/14px var(--mono);color:var(--ink2);white-space:nowrap;flex:none}

/* an option block on the Workspace tab: name, head (id + note), who saved last, ahead/behind */
.ob{padding:6px 2px 8px 22px;border-bottom:1px dotted var(--rule)}
.ob .obh{display:flex;align-items:center;gap:6px;min-height:22px}
.ob .obh .tw{margin-left:-20px}
.ob .obn{font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ob .obv{display:flex;align-items:baseline;gap:6px;margin-top:2px}
.ob .obv .msg{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.ob .obm{display:block;margin-top:2px;font-size:11px;line-height:15px;color:var(--mute);overflow-wrap:anywhere}
.ob .acts{display:flex;flex-wrap:wrap;gap:4px}

/* a merge version: both parents, in order (the option it landed on first) */
.par{display:grid;grid-template-columns:auto minmax(0,1fr);gap:1px 6px;margin-top:4px;padding:1px 0 1px 8px;border-left:1px solid var(--dot);font-size:11px;line-height:15px;color:var(--ink2)}
.par .revm{justify-self:start}

/* a conflict item decided in place: both sides with value and who set each, then one Segmented */
.ilist{margin:0;padding:0;list-style:none}
.item.td{border-left-color:var(--warn)}
.item .sides.wide{grid-template-columns:76px minmax(0,1fr) auto}
.item .sides .v{color:var(--ink);overflow-wrap:anywhere}
.item .sides .was{grid-column:1/4;font-size:11px;line-height:15px;color:var(--mute)}
.item .t .st{margin-left:auto;font:500 10.5px/14px var(--mono);white-space:nowrap;color:var(--warn)}
.item .t .st.ok{color:var(--hl)}
.item .t b{min-width:0;overflow-wrap:anywhere}

.item .qa .seg{width:100%}
.item .qa .seg button{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis}

/* the readiness list before a Rhino merge: what Rhino needs, each met or not, with its fix */
.ready{margin:0;padding:0;list-style:none;border-top:1px solid var(--rule)}
.ready li{display:grid;grid-template-columns:16px minmax(0,1fr);gap:2px 8px;padding:8px 0;border-bottom:1px dotted var(--dot);line-height:17px;color:var(--ink2)}
.ready li b{color:var(--ink);font-weight:600}
.ready li .i{margin-top:2px}
.ready li .acts{grid-column:2;display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.why1{margin:0;padding:1px 0 1px 8px;border-left:3px solid var(--ink2);font-size:11.5px;color:var(--ink2)}

/* a long list: the counted heading stays at the top of the sheet body while the list scrolls under it */

.lscroll{flex:1;min-height:0;overflow:auto;border-bottom:1px solid var(--rule)}

/* spec boards: a drawn fragment inside a case */
/* .frag .shh overrides the built sheet header: a fragment of a sheet drawn small */
.frag{margin-top:6px;border:1px solid var(--rule);padding:8px 10px}
.frag .shh{height:auto;padding:0 0 6px}
.frag .shh h2{font-size:13px}
.par .pt{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
/* a set-all toggle on a cap heading reads as a button, not a cap label */

.ob .obh .ib.sm,.wsr .ver .r .ib.sm{margin-right:0}

/* 51: Grasshopper names, options, first save, rename. Adds names only. */
/* panel-gh.css's .ftree .row.g2l rules, for drawn boards whose tree has no .ftree */
.row.g2l{height:auto}
.row.g2l>:not(.nm){flex:none}
.row.g2l>.nm.g2{flex-direction:column;align-items:stretch;gap:1px}
.nm.g2 .l1{gap:0}

.vopt{flex:none;padding:0 4px;border:1px solid var(--dot);font:400 10.5px/14px var(--sans);color:var(--ink2);white-space:nowrap}
.vopt.m{color:var(--mute);border-style:dashed}
.vrow{display:flex;align-items:baseline;gap:6px;padding:4px 0;border-top:1px dotted var(--rule);font-size:11.5px;line-height:15px}
.vrow .msg{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vrow.inh{color:var(--mute)}
.vbase{padding:4px 0 2px;font-size:11px;line-height:15px;color:var(--mute);border-top:1px dashed var(--dot)}
.fo{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;margin-left:4px;border:1px solid var(--brand);color:var(--brand);font:600 9.5px/1 var(--mono);vertical-align:1px}

.gsave .err{line-height:15px;color:var(--bad)}
.ghw{border:1px solid #9A9A9A;background:#F3F3F3;font:400 12px/16px "Segoe UI",system-ui,sans-serif;color:#222}
/* .ghw: Grasshopper's window, drawn (not panel UI); .tt overrides the built .tt */
.ghw .tt{display:flex;align-items:center;gap:8px;height:28px;padding:0 10px;background:#fff;border-bottom:1px solid #D0D0D0}
.ghw .mn{display:flex;gap:14px;height:24px;align-items:center;padding:0 10px;border-bottom:1px solid #D0D0D0;color:#444}
.ghw .tabs{display:flex;align-items:flex-end;gap:2px;height:30px;padding:0 8px;background:#E4E4E4;border-bottom:1px solid #9A9A9A}
.ghw .tab{display:flex;align-items:center;gap:6px;height:24px;padding:0 10px;border:1px solid #B5B5B5;border-bottom:0;background:#D6D6D6;white-space:nowrap}
.ghw .tab.on{height:27px;background:#fff;font-weight:600}
.ghw .tab .x{color:#777}

.ghw .cv{height:150px}
.ann{display:flex;flex-direction:column;gap:6px;margin-top:14px;font:400 12px/17px var(--sans);color:var(--ink2)}
.ann b{color:var(--ink)}
.ann .mono{font-size:11.5px;color:var(--ink)}

/* 55 · Compare two design states in the Rhino viewport: what panel-compare.css does not draw, and the viewport illustration. */

/* the sheet's title can be long: one line, cut with an ellipsis (the whole title is the tooltip) */

.shh h2 .mono{font:500 12.5px/18px var(--mono)}
.shb>*{flex:none}

/* From / To */

.cpick .inp{text-overflow:ellipsis}

/* the From picker drawn open: groups with a heading */

.cfp .po .nt{max-width:220px}

/* the status line's links when a drawing is on without its sheet (an agent started it) */
.status .cact{display:inline-flex;gap:8px;margin-left:6px}
.status .cact .lnk{padding:0;font-weight:500} /* overrides built .lnk: two links inline in the status line (not built) */

/* ---------- the viewport illustration (not a panel) ---------- */
.ds.vpb{width:880px;height:560px;background:#C9C9C9;font-family:"Segoe UI",system-ui,sans-serif} /* overrides built .ds: a Rhino view, not a panel */
.vpw{position:absolute;inset:0;overflow:hidden}
.vpw svg{position:absolute;inset:0}
.vptab{position:absolute;left:8px;top:6px;font:400 12px/16px "Segoe UI",system-ui,sans-serif;color:#1E1E1E}
.vptab b{font-weight:600}
.vptab .md{margin-left:10px;color:#3A3A3A}
/* the legend dirhp draws in the viewport's corner (as the Grasshopper canvas legend, 52g): panel paper and ink, 12 px */
.vleg{position:absolute;z-index:2;left:12px;bottom:12px;max-width:420px;display:flex;flex-direction:column;gap:4px;padding:8px 10px 9px;background:#F7F6F2;border:1px solid #15191C;border-top:2px solid #15191C;box-shadow:0 6px 18px rgba(21,25,28,.2);font:400 12px/16px "IBM Plex Sans",sans-serif}
.vleg .hd{font-weight:600}
.vleg .hd .mono{font:500 11.5px/16px "IBM Plex Mono",monospace} /* overrides built .mono: the legend is drawn by Rhino */
.vleg .lg{display:flex;flex-wrap:wrap;gap:4px 12px;color:#3B4349}
.vleg .lg span{display:inline-flex;align-items:center;gap:5px}
.vleg .lg .csw.s-chg.was{background:none; /* overrides built .csw fill: the legend's dashed "was" swatch */
  border:1.5px dashed var(--cmp-chg)}
.vleg .ft{font-size:11px;line-height:15px;color:#5E676D}
.vleg .ft.w{color:#9A5800}
.vtag{position:absolute;z-index:2;padding:2px 6px;background:rgba(255,255,255,.95);border:1px solid #1F2937;font:500 12px/16px "Segoe UI",system-ui,sans-serif;color:#1F2937;white-space:nowrap}
.vtag small{font-size:11px;color:#4B5563;margin-left:4px}

/* 54e-54k: a Grasshopper canvas with the merge-review overlay (parts/GhCanvas.js). Overlay values are
   GrasshopperOverlay.cs's: amber #D97706, blue #2563EB, red #B91C1C, tag fill white 95%, tag text #1F2937, 12 px Segoe UI. */
.ghcv{position:relative;overflow:hidden;background:#D4D4D4;font:400 12px/16px 'Segoe UI',system-ui,sans-serif;color:#1F2937}
.ghcv svg.grid,.ghcv svg.wires{position:absolute;left:0;top:0}
.ghcv svg.grid line{stroke:#C6C6C6;stroke-width:1}
.ghn{position:absolute;box-sizing:border-box;border:1px solid #2B2B2B;border-radius:4px;background:linear-gradient(#E4E4E4,#C4C4C4);font-size:11px;line-height:13px;color:#111;display:flex;align-items:center;overflow:hidden}
.ghn .gnm{flex:1;text-align:center;font-weight:600;padding:0 6px;white-space:nowrap}
.ghn .gnm.v{writing-mode:vertical-rl;transform:rotate(180deg);flex:none;width:18px;background:#6E6E6E;color:#fff;align-self:stretch;display:flex;align-items:center;justify-content:center;padding:0}
.ghn.cmp{align-items:stretch}
.ghn .pins{flex:1;display:flex;flex-direction:column;justify-content:space-around;padding:0 5px;font-size:10.5px}
.ghn .pins.o{text-align:right}
.ghn.sld{gap:6px;padding:0 6px;border-radius:12px}
.ghn.sld .snm{font-weight:600;white-space:nowrap}
.ghn.sld .rail{flex:1;height:2px;background:#555;position:relative}
.ghn.sld .rail i{position:absolute;left:58%;top:-5px;width:7px;height:12px;background:#222;border-radius:2px}
.ghn.sld .sv{font-weight:600;min-width:22px;text-align:right}
.ghn.prm{border-radius:3px}
.ghn.ghost{font-family:"Segoe UI",system-ui,sans-serif;background:rgba(185,28,28,.22);border:1.5px dashed #B91C1C;color:#7F1D1D}
/* the ghost's name tab and params (proposed 2026-11-29, not built): the tab sits on the box's top edge, one line,
   type bold then the designer's ‘rename’; the box keeps the old bounds and holds the param names at their slots.
   Ghost text is #450A0A (proposed): the built #7F1D1D on the 22% red fill is 4.65:1 on Grasshopper's default canvas
   (212,208,200) and 3.3-4.2:1 where the ghost lies over a grey component; #450A0A is 7.5:1 and 5.3:1 there.
   Over a live component (52k 8-9) the tab moves under the box (dn), or stays on top on the tag fill (solid, 15:1). */
.ghtb{position:absolute;box-sizing:border-box;display:flex;height:18px;padding:1px 6px 0;background:rgba(185,28,28,.22);border:1.5px dashed #B91C1C;border-bottom:0;border-radius:4px 4px 0 0;color:#450A0A;font-size:11px;line-height:15px;white-space:nowrap;width:max-content}
.ghtb.dn{border-bottom:1.5px dashed #B91C1C;border-top:0;border-radius:0 0 4px 4px;padding-top:0}
.ghtb.solid{background:rgba(255,255,255,.95);border-bottom:1.5px dashed #B91C1C} /* built SolidTabs: the dashed edge all round */
.ghn.ghost{border-top-left-radius:0}
.ghn.ghost.dn{border-top-left-radius:4px;border-bottom-left-radius:0}
.ghn.ghost.gp{color:#450A0A}
/* NameHead: the type whole, the rename cut first inside its quotes, never under 6 characters */
.nty{flex:none;font-weight:600}
.rq{flex:none;margin-left:.3em;white-space:pre}
.rr{flex:0 1e12 auto;min-width:.95em;overflow:hidden;text-overflow:ellipsis;white-space:pre}
.rz{flex:none}
.ghn.ghost.gp{align-items:stretch}
.ghn.ghost .gmid{flex:1;min-width:0}
.ghn.ghost .pins{flex:0 1 auto;min-width:0;padding:0 4px}
.ghn.ghost .pins>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* outlines, 2.5 px, 4 px out */
.gho{position:absolute;box-sizing:border-box;border:2.5px solid #D97706;border-radius:6px;pointer-events:none}
.gho.add{border-color:#2563EB}
.gho.add .plus{position:absolute;right:-9px;top:-9px;width:14px;height:14px;border-radius:50%;background:#2563EB;color:#fff;font:700 12px/14px sans-serif;text-align:center;font-style:normal}
.gho.rm{display:none}
.gho.conf{border:2.5px solid #B91C1C}
.gho.chosen{border:2.5px solid #1F2937}
.gho.clu{border-style:dashed}
/* the overlay's text the plug-in measures and cuts (tags, the ghost's tab): Segoe UI where there is one, else Arial's
   metrics (Liberation Sans), much nearer Segoe UI's widths than Inter, so a board cuts about where the plug-in would */
@font-face{font-family:'GhSegoe';src:local('Segoe UI'),local('SegoeUI')} /* by its own name: some Linux setups alias 'Segoe UI' to Inter */
.ghtag,.ghtb{font-family:'GhSegoe',Arial,'Liberation Sans',sans-serif}
/* tags: one line above the outline */
.ghtag{position:absolute;white-space:nowrap;padding:2px 5px 3px;background:rgba(255,255,255,.95);border:1px solid #D97706;font-size:12px;line-height:16px}
.ghtag.add{border-color:#2563EB}
.ghtag.rm{border-color:#B91C1C;color:#7F1D1D}
.ghtag .more{color:#6B7280}
.ghtag b{font-weight:600}
/* a renamed changed node's tag (proposed 2026-11-29, not built): the name head, a rule, the change; the head gives way
   first (down to the rename's 6 characters), then the change; +N more stays */
.ghtag.hd{display:flex;padding:0 5px 0 0;width:max-content;box-sizing:border-box}
.ghtag.hd .nty{padding:2px 0 3px 5px}
.ghtag.hd .rq,.ghtag.hd .rr{padding:2px 0 3px}
.ghtag.hd .rz{padding:2px 6px 3px 0;border-right:1px solid #9CA3AF}
.ghtag.hd .tx{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 0 3px 6px}
.ghtag.hd .more{flex:none;padding:2px 0 3px 4px}
/* a merge-review tag for a change that is not a conflict (built 2026-11-30, the text from the backend's merge_tag): one
   change, “field old → new (incoming)”, at most 380 px, never wider. The cut order is the flex-shrink weights, each part
   stopping at its min-width: the rename (.rr, 1e12) to 6 characters, then the old value (.tgo, 1e9) from its end down to
   “…”, then the field (.pf, 1e6) from its middle, last the new value (.pn, 1) from its middle. The arrow, a verb, a lead,
   (incoming) and +N more never shrink. mh1 is a half that loses its end with …, mh2 one that loses its start; mhw a part
   too short to cut. nh: no head (not renamed), the change starts at the tag's edge. */
.ghtag.mg .mh1,.ghtag.mg .mh2,.ghtag.mg .mhw,.ghtag.mg .tgo,.ghtag.mg .tgr,.ghtag.mg .tgl,.ghtag.mg .tgv,.ghtag.mg .tgi{padding:2px 0 3px;white-space:pre}
.ghtag.mg .mh1{min-width:1.6em;overflow:hidden;text-overflow:ellipsis}
.ghtag.mg .mh2{display:flex;justify-content:flex-end;min-width:.6em;overflow:hidden}
.ghtag.mg .mh2>span{flex:none}
.ghtag.mg .mhw{flex:none}
.ghtag.mg .mh1.pf,.ghtag.mg .mh2.pf{flex:0 1e6 auto}
.ghtag.mg .mh1.pn,.ghtag.mg .mh2.pn{flex:0 1 auto}
.ghtag.mg>.pf:first-child,.ghtag.mg .rz+.pf,.ghtag.mg>.tgl:first-child,.ghtag.mg .rz+.tgl,.ghtag.mg .rz+.tx{padding-left:6px}
.ghtag.mg.nh>:first-child{padding-left:5px}
.ghtag.mg .tgo{flex:0 1e9 auto;min-width:.95em;overflow:hidden;text-overflow:ellipsis;margin-left:4px}
.ghtag.mg .tgo.whole{flex:none;min-width:auto}
.ghtag.mg .tgr{flex:none;margin:0 4px}
.ghtag.mg .tgl{flex:none;margin-right:4px}
.ghtag.mg .tgv{flex:none;margin-left:4px}
.ghtag.mg .tgi{flex:none;margin-left:4px}
.ghtag.mg .tx{flex:0 1 auto}
/* choice chips: under a conflict's outline, one row per conflicting field */
.ghchips{position:absolute;display:flex;flex-direction:column;gap:4px;align-items:flex-start}
.ghchip{display:flex;align-items:stretch;white-space:nowrap;background:rgba(255,255,255,.95);border:1px solid #B91C1C;font-size:12px;line-height:16px}
.ghchip.done{border-color:#1F2937}
.ghchip .fld{padding:3px 6px;color:#B91C1C;font-weight:600;border-right:1px solid #E5E7EB}
.ghchip.done .fld{color:#1F2937}
.gcb{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;cursor:pointer}
.gcb+.gcb{border-left:1px solid #9CA3AF}
.gcb b{font-weight:600}
.gcb.hv{background:#E5E7EB}
.gcb.on{background:#1F2937;color:#fff}
.gcb svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:1.8}
/* the legend, top right, and the zoomed-out hint, bottom left (as built) */
.ghleg{position:absolute;right:12px;top:12px;display:flex;flex-direction:column;gap:3px;padding:8px;background:rgba(255,255,255,.95);border:1px solid #1F2937;font-size:12px;line-height:16px;max-width:380px}
.ghleg .lr{display:flex;align-items:center;gap:5px}
/* the title row folds the legend (GrasshopperOverlay.cs Key): the chevron at its right; the row fills on hover, to the box's edges */
.ghleg .lh{display:flex;align-items:center;gap:4px;margin:-8px -8px 0;padding:8px 8px 1px}
.ghleg .lh.hv{background:#E5E7EB}
.ghleg .lh b{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ghleg .lh:only-child{padding-bottom:8px;margin-bottom:-8px}
.ghleg .lr.ft{color:#7F1D1D}
.ghleg .lr.sub{font-weight:600;color:#D97706}
.ghleg .gsw{width:10px;height:8px;box-sizing:content-box;align-self:center;border:2px solid #D97706;flex:none}
.ghleg .gsw-conf{border-color:#B91C1C}
.ghleg .gsw-chosen{border-color:#1F2937}
.ghleg .gsw-add{border-color:#2563EB}
.ghleg .gsw-clu{border-style:dashed}
.ghleg .gsw-rm{border:2px dashed #B91C1C;background:rgba(185,28,28,.22)}
.ghhint{position:absolute;left:12px;bottom:12px;padding:3px 6px;background:rgba(255,255,255,.95);border:1px solid #1F2937;font-size:12px;line-height:16px}
.cur{position:absolute;pointer-events:none}
/* the board around a canvas: canvas and panel side by side, labelled */
.ghpair{display:flex;gap:16px;align-items:flex-start;padding:12px;background:#fff}
.ghpair figure{margin:0;display:flex;flex-direction:column;gap:6px}
.ghpair figcaption{font:500 11px/14px 'IBM Plex Mono',monospace;color:#5E676D}
.ghstates{display:grid;grid-template-columns:repeat(2,auto);gap:12px 16px;padding:12px;background:#fff}
.ghstates figure{margin:0;display:flex;flex-direction:column;gap:6px}
.ghstates figcaption{font:500 11px/14px 'IBM Plex Mono',monospace;color:#5E676D}
/* the board around the panel's merge cards (the cards themselves are panel-gh.css .gmi); flash: the 54g flash, held */
.ds.ghside{height:auto;width:360px}
.ds .gmhd{display:flex;align-items:center;gap:6px;padding:8px 10px 6px;border-bottom:1px solid var(--rule);font-size:12px}
.ds .gmhd .sp{flex:1}
.ds .gmlist{padding:0 10px}
.ds .gmi.flash{background:var(--fill)}
.ds .gmi .hint.blk{display:block}
.ds .gmi .seg.gseg button{background:none;color:var(--ink)}
.ds .gmi .seg.gseg button[aria-pressed="true"]{color:var(--ink)}
.ds .gmi .gmh .lnk{margin-left:6px;padding:0}
.ds .shf.gmf{flex-wrap:wrap}
.ds .shf .sp{flex:1}
/* proposed 2026-12-01 (54l-54s, not built): the legend as the review's list, the script item's chip, the shown ring.
   Same palette and 12 px text as the built overlay; buttons as the chips' (.gcb). */
.ghchip.shown{outline:2px solid #1F2937;outline-offset:1px}
.ghchip.scr{flex-wrap:wrap;width:540px;box-sizing:border-box;background:#fff} /* opaque: it paints over chips and tags (54aa) */
/* the script item's chip folds (proposed 2026-12-01, 54y-54ab): the field is its toggle; an open one is painted last, above other chips and tags */
.ghchip .fld.tg{display:inline-flex;align-items:center;gap:2px;padding-left:3px;cursor:pointer}
.ghchip .fld.tg.hv{background:#E5E7EB}
.ghchip .fld.tg .lfold{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.ghchip.scr .gcb{flex:1}
.gcx{flex-basis:100%;display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #E5E7EB}
.gcol{display:flex;flex-direction:column;padding:3px 8px 4px;min-width:0}
.gcol+.gcol{border-left:1px solid #9CA3AF}
.gcol .gch{font-weight:600;color:#1F2937}
.gcol .gcl{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gcol .gcl.more{color:#6B7280}
.gcol.off{color:#6B7280}
.gcol.off .gch{color:#6B7280;font-weight:400}
.ghleg.dl{width:440px;max-width:none;box-sizing:border-box;gap:4px}
.ghleg.dl.wide{width:600px}
.ghleg .lfc{flex:none;font-weight:600;color:#B91C1C;margin-left:6px}
.ghleg .lfc.ok{color:#1F2937}
.ghleg .dcnt b{font-weight:600;color:#B91C1C}
.ghleg .dcnt b.ok{color:#1F2937}
.ghleg .dall{display:flex;gap:6px}
.ghleg .dab,.ghleg .dpb,.ghleg .dgb{border:1px solid #9CA3AF;padding:2px 8px;cursor:pointer;white-space:nowrap}
.ghleg .dab.on{background:#1F2937;color:#fff;border-color:#1F2937}
.ghleg .hv{background:#E5E7EB}
.ghleg .dab.on.hv{background:#1F2937}
.ghleg .dlist{display:flex;flex-direction:column;border-top:1px solid #1F2937;margin:2px -8px 0}
.ghleg .di{display:flex;flex-direction:column;gap:2px;padding:4px 8px 5px;border-bottom:1px solid #E5E7EB;border-left:3px solid transparent}
.ghleg .di.shown{background:#F3F4F6;border-left-color:#1F2937}
.ghleg .dih{display:flex;align-items:baseline;gap:6px;cursor:pointer;min-width:0}
.ghleg .dih.hv{background:none}
.ghleg .dih.hv .dnm,.ghleg .dih.hv .dsh{text-decoration:underline}
.ghleg .dnm{display:flex;flex:0 1 auto;min-width:0;overflow:hidden;white-space:nowrap}
.ghleg .dfl{flex:0 1e9 auto;min-width:3em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6B7280}
.ghleg .di.open .dfl{color:#B91C1C;font-weight:600}
.ghleg .dsh{margin-left:auto;flex:none;color:#1F2937;text-decoration:underline;text-decoration-color:#9CA3AF}
.ghleg .dii{flex:none;width:12px;height:12px;border-radius:50%;border:1px solid #6B7280;color:#6B7280;font:600 9px/12px 'Segoe UI',sans-serif;text-align:center;font-style:normal;align-self:center}
.ghleg .dinf{color:#4B5563}
.ghleg .dbt{display:flex;border:1px solid #B91C1C}
.ghleg .di.done .dbt{border:1px solid #1F2937}
.ghleg .dbt .fld{flex:none;padding:3px 6px;color:#B91C1C;font-weight:600;border-right:1px solid #E5E7EB}
.ghleg .di.done .dbt .fld{color:#1F2937}
.ghleg .dbt .gcb{display:block;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ghleg .dbt .gcb svg{vertical-align:-1px;margin-right:4px}
.ghleg .dtg{display:flex;align-items:center;gap:2px;color:#1F2937;cursor:pointer}
.ghleg .dtg .lfold{width:14px;height:14px}
.ghleg .di .gcx{border:1px solid #E5E7EB}
.ghleg .dpg{display:flex;align-items:center;gap:6px;color:#4B5563}
.ghleg .dpg .sp{flex:1}
.ghleg .dpb.off{color:#9CA3AF;border-color:#E5E7EB;cursor:default}
.ghleg .dalso{flex-wrap:wrap;color:#4B5563}
.ghleg .dalso .gsw{margin-left:6px}
.ghleg .dgo{display:flex;align-items:center;gap:8px;padding-top:4px;border-top:1px solid #E5E7EB}
.ghleg .dgt{flex:1;color:#4B5563}
.ghleg .dgb{font-weight:600}
.ghleg .dgb.p{background:#1F2937;color:#fff;border-color:#1F2937}
.ghleg .dgb.p.hv{background:#374151}
/* 54n: the footer the canvas brought forward: its flash held, Confirm with the keyboard focus ring */
.ds .shf.fsfocus{background:var(--fill)}
.ds .shf.fsfocus .btn.p{outline:2px solid var(--ink);outline-offset:2px}
/* 54t-54x (proposed 2026-12-01, not built): the review box resized from its bottom-left corner. The handle: three
   diagonal strokes in the corner, drawn and hit in an 18 px square; hover fills it and the cursor turns diagonal; while
   dragging it is ink. The drag draws only an outline of the new size (anchored top right like the box) with the size
   and the items a page would hold; the box redraws on mouse up. */
.ghleg.dl.rs .dgo{padding-left:16px} /* the go line is the last line (2026-12-04, no Esc line): clear of the corner handle (54t) */
.ghleg .dgr{position:absolute;left:0;bottom:0;width:18px;height:18px;display:flex;align-items:flex-end;cursor:nesw-resize}
.ghleg .dgr svg{width:14px;height:14px;margin:0 0 1px 1px;fill:none;stroke:#4B5563;stroke-width:1.6;stroke-linecap:round}
.ghleg .dgr.hv{background:#D1D5DB} /* a step darker than HoverFill: an 18 px square in light grey is lost on white */
.ghleg .dgr.hv svg{stroke:#1F2937}
.ghleg .dgr.drag{background:#1F2937}
.ghleg .dgr.drag svg{stroke:#fff}
.ghleg .dgt.went{color:#1F2937;font-weight:600}
.drs{position:absolute;right:12px;top:12px;box-sizing:border-box;border:2px dashed #1F2937;background:rgba(31,41,55,.06);pointer-events:none}
.drs.stop{border-color:#B91C1C}
.drt{position:absolute;left:-2px;top:100%;margin-top:4px;padding:2px 6px;background:rgba(255,255,255,.95);border:1px solid #1F2937;font-size:12px;line-height:16px;white-space:nowrap}
.drs.stop .drt{border-color:#B91C1C;color:#7F1D1D}
.ghcol{display:flex;flex-direction:column;gap:16px;padding:12px;background:#fff}
.ghcol figure{margin:0;display:flex;flex-direction:column;gap:6px}
.ghcol figcaption{font:500 11px/14px 'IBM Plex Mono',monospace;color:#5E676D}
/* 54ac (proposed 2026-12-04): the review box's legend under its title row: swatch, word, bold count per kind drawn; whole
   entries wrap to a next line, never cut. The rewired swatch is a dashed wire, not a box (a box would read as Removed). */
.ghleg .dleg{display:flex;flex-wrap:wrap;gap:2px 12px;padding-bottom:2px}
.ghleg .dle{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.ghleg .dle b{font-weight:600}
.ghleg .gsw-wire{width:14px;height:0;border:none;border-top:2px dashed #B91C1C;background:none}

/* 59 · the note-led version row (parts/workspace.js VerRow) beyond the built panel-notes.css (whose #tab-ws rules style it:
   Panel draws the Workspace tab body as #tab-ws): board-only forced states, and a row after a 46b2 block. */
/* forced states: a row and See details drawn hovered or with keyboard focus */
.ver.vr2.hv>.vrh{background:var(--fill)}
.vdet.hv{background:var(--fill);color:var(--ink)}
.vdet.fv{outline:2px solid var(--brand);outline-offset:-1px}
/* not built: a note-led row after a 46b2 version block (GhWsVersion) */
.gws .olv .gv+.ver.vr2{margin-top:6px;border-top:1px dotted var(--rule)}

/* 46b2-46b7 · the Workspace tab's Definitions filter in three levels. The built panel-gh.css styles the definition, option
   and connector levels under #tab-ws (Panel draws the tab body as #tab-ws.body); this file holds only the
   version block 46b2 proposed, which the build does not draw (it draws .ver; parts/GhRow.js GhWsVersion without row). */
/* 3 · the 46b2 version block on the option's spine. 400 weights. */
.gws .gv{padding:1px 0 0}
.gws .gv+.gv,.gws .gvb+.gv{margin-top:8px;padding-top:8px;border-top:1px dotted var(--rule)}
.gws .gv .r{display:flex;align-items:center;gap:6px;min-width:0}
.gws .gv .revm{margin-left:0;flex:none}
.gws .gv .r .hint{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gws .gv .r .ib.sm{margin:-4px -4px -4px 0}
.gws .gv .msg{display:block;margin-top:3px;font-size:12px;line-height:16px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gws .gv .msg.none{color:var(--mute);font-style:italic}
.gws .gv .hint.blk{display:block;margin-top:2px}
.gws .gv .acts{flex-wrap:wrap;gap:4px;margin-top:6px}
.gws .gv.inh,.gws .gv.inh .msg{color:var(--mute)}
.gws .gvb{margin-top:8px;padding-top:6px;border-top:1px dashed var(--dot);font-size:11px;line-height:15px;color:var(--mute)}
.gws .gvb .mono{font:500 10.5px/14px var(--mono)}

/* the stuck-save boards (23) */
/* built only inside .ftree (panel-file.css); the drawn boards' rows */
.needs{font-size:11px;font-weight:600;color:var(--bad)}

html,body{margin:0;background:transparent;overflow:hidden}.hf{position:relative;overflow:hidden;transform-origin:0 0;pointer-events:none}.hf>.at{position:absolute;left:0}
