/* Target website pages (clients and recipients). Look comes from ../theme/theme.css (Diligence's palette, Roboto and spacing, Oct 18 2026).
   Colours and fonts only through theme variables here: no hex values, no outside URLs, no @import. */
.small { font-size: var(--dt-size-xs); }
.nowrap { white-space: nowrap; }
.full { width: 100%; display: block; margin: var(--dt-space-1) 0 var(--dt-space-2); }
body.busy { cursor: progress; }
body.busy main { opacity: .75; }
main { max-width: 1120px; margin: 0 auto; padding: var(--dt-space-5) var(--dt-space-4); }
h1 { font-size: var(--dt-size-xl); font-weight: var(--dt-weight-medium); margin: 0; }
h2 { font-size: var(--dt-size-lg); font-weight: var(--dt-weight-medium); margin: 0 0 var(--dt-space-2); }
.toolbar { display: flex; flex-wrap: wrap; gap: var(--dt-space-3); align-items: center; margin-bottom: var(--dt-space-3); }
.row { display: flex; gap: var(--dt-space-2); flex-wrap: wrap; }

/* data room */
.roomhead { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--dt-space-3); flex-wrap: wrap; margin-bottom: var(--dt-space-3); }
.grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--dt-space-3); align-items: start; }
.side { display: grid; gap: var(--dt-space-3); }
.dt-banner.ok { border-radius: var(--dt-radius); }

/* dashboard */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--dt-space-3); margin-bottom: var(--dt-space-3); }
.kpi .big { font-size: 24px; font-weight: var(--dt-weight-bold); line-height: 1.25; }
.dgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--dt-space-3); align-items: start; }
.dgrid .wide { grid-column: 1 / -1; }
.comment { border-top: 1px solid var(--dt-border); padding: 6px 0; }
.comment:first-of-type { border-top: 0; }
/* Design pass 2 (Oct 22 2026): client dashboard. KPI labels as small caps, the approval list as aligned rows with the buttons on the right,
   Q&A and update threads as separated cards, the post form on a clear grid. Visual only; colours through theme variables. */
#dash > h1, #dash > .toolbar h1 { margin-bottom: var(--dt-space-3); }
.kpi { display: flex; flex-direction: column; gap: 2px; }
.kpi > :first-child { font-size: var(--dt-size-xs); text-transform: uppercase; letter-spacing: .4px; color: var(--dt-ink-muted); font-weight: var(--dt-weight-medium); }
.kpi .big { font-size: 28px; }
#dash .dt-box > .dt-table { margin: 0 calc(-1 * var(--dt-space-4)); width: calc(100% + 2 * var(--dt-space-4)); }
#dash .dt-box > .dt-table td.nowrap { text-align: right; vertical-align: middle; }
#dash .dt-box > .dt-table td.nowrap .dt-btn { margin-left: var(--dt-space-1); }
/* Share links PR A (Dec 2 2026): the dashboard's tiles, documents, comments and questions are links */
a.kpi.kpi-link { color: inherit; text-decoration: none; cursor: pointer; }
a.kpi.kpi-link:hover { border-color: var(--dt-control-border); }
a.kpi.kpi-link:focus-visible { outline: 2px solid var(--dt-focus); outline-offset: 2px; }
a.kpi.kpi-link .big { color: var(--dt-brand); text-decoration: underline; text-underline-offset: 3px; }
#dash ul.dash-docs { list-style: none; margin: 0; padding: 0; }
#dash ul.dash-docs li { margin: 0 0 var(--dt-space-1); }
.kpi-chip { display: flex; align-items: center; gap: var(--dt-space-1); margin: 0 0 var(--dt-space-2); font-size: var(--dt-size-xs); }
.cv-docs li .dt-btn { margin-left: var(--dt-space-1); }
.deep-hit { outline: 2px solid var(--dt-focus); outline-offset: 2px; }
#dash h2 .dt-tag { vertical-align: 2px; margin-left: var(--dt-space-1); }
#dash article.thread, #dash article.post { padding: var(--dt-space-3); margin: var(--dt-space-3) 0 0; border: 1px solid var(--dt-border);
  border-radius: var(--dt-radius-sm); background: var(--dt-surface); }
#dash article.thread:hover, #dash article.post:hover { border-color: var(--dt-control-border); }
#dash article .dt-input.full { margin: var(--dt-space-2) 0; }
#dash .postform { display: grid; gap: var(--dt-space-2); margin-top: var(--dt-space-3); padding-top: var(--dt-space-3); border-top: 1px solid var(--dt-border); }
#dash .postform .row { align-items: center; }
#dash .postform .full { margin: 0; }
#dash .postform > .dt-btn, #dash .postform > button { justify-self: start; }
.dt-badge { display: inline-block; padding: 0 8px; border-radius: 999px; font-size: var(--dt-size-xs); font-weight: var(--dt-weight-medium);
  border: 1px solid var(--dt-warn); color: var(--dt-warn); background: var(--dt-surface); }

@media (max-width: 860px) {
  .grid, .dgrid { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Design pass (Oct 22 2026): client and recipient pages match the staff app. Brand colours come through var(--upt-..., var(--dt-...)) so the
   page still works without the brand tokens; no markup or script changes. */
main > h1, .roomhead h1, .toolbar h1 { color: var(--upt-navy, var(--dt-ink)); }
main > .dt-box, .grid > .dt-box, .side > .dt-box, .dgrid > .dt-box { border-radius: var(--dt-radius); box-shadow: var(--upt-shadow-1, none); }
.dt-box > h2:first-child { padding-bottom: var(--dt-space-2); margin-bottom: var(--dt-space-3); border-bottom: 1px solid var(--dt-border); }
.toolbar { padding-bottom: var(--dt-space-3); border-bottom: 2px solid var(--upt-bronze, var(--dt-border)); }
main > .dt-table, main > .tablewrap, .tablewrap > .dt-table { border: 1px solid var(--dt-border); border-radius: var(--dt-radius); overflow: hidden;
  box-shadow: var(--upt-shadow-1, none); }
.dt-table .dt-link.name, .dt-table a { font-weight: var(--dt-weight-medium); text-decoration: underline; text-underline-offset: 2px; }   /* underline kept: links are not told apart by colour alone */
.dt-table .dt-link.name:hover, .dt-table a:hover { text-decoration-thickness: 2px; }
/* Ask-for-access and confirmation cards: a centred, readable column instead of the full page width */
.dt-box.narrow { max-width: 520px; margin: var(--dt-space-5) auto; padding: var(--dt-space-5); }
.dt-box.narrow h1 { margin-bottom: var(--dt-space-2); }
.dt-box.narrow .dt-btn.primary { margin-top: var(--dt-space-2); }
/* Dashboard KPIs: navy figures with a bronze top rule */
.kpi { border-top: 3px solid var(--upt-bronze, var(--dt-border)); }
.kpi .big { color: var(--upt-navy, var(--dt-ink)); font-variant-numeric: tabular-nums; }
/* Data room updates and comments: clearer separation between posts */
.post, .thread { padding: var(--dt-space-3) 0; border-top: 1px solid var(--dt-border); }
.post:first-of-type, .thread:first-of-type { border-top: 0; padding-top: 0; }
.comment { padding: var(--dt-space-2) 0; }
.roomhead .dt-tag { padding: 2px 10px; }
/* Oct 26: the `hidden` attribute always wins. theme.css gives .dt-banner display:flex, which beat the browser's own [hidden] rule and
   showed the demo banner to a real guest on DEV. */
[hidden] { display: none !important; }
/* send model (Oct 29): the small "Upload a version" link on the NDA card */
.dt-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--dt-brand); text-decoration: underline; cursor: pointer; }
.dt-linkbtn:focus-visible { outline: 2px solid var(--dt-brand); outline-offset: 2px; }
.nda-versions li + li { margin-top: 6px; }
/* Website pages like the staff target page (Quinn, Oct 29): tabs and the two-row NDA timeline. Colours through theme variables. */
.wtabs { display: flex; flex-wrap: wrap; gap: var(--dt-space-1); margin: var(--dt-space-3) 0; border-bottom: 1px solid var(--dt-border); }
.wtab { background: none; border: 0; border-bottom: 2px solid transparent; padding: 6px 10px; font: inherit; color: inherit; cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.wtab:hover { background: var(--dt-surface-alt); }
.wtab.on, .wtab[aria-selected="true"] { border-bottom-color: var(--dt-accent); font-weight: var(--dt-weight-bold); }
.wtab:focus-visible, .wpanel:focus-visible { outline: 2px solid var(--dt-focus); outline-offset: 2px; }
.wpanel > .dt-box + .dt-box, .wpanel > .dt-box + .grid, .wpanel > .grid + .dt-box { margin-top: var(--dt-space-3); }
.nda-main { display: flex; flex-direction: column; gap: var(--dt-space-3); }
.nda-hero { border: 1px solid var(--dt-border); border-radius: var(--dt-radius); padding: var(--dt-space-3) var(--dt-space-4); background: var(--dt-surface-alt); display: flex; flex-direction: column; gap: var(--dt-space-2); }
.nda-kicker { font-size: var(--dt-size-xs); text-transform: uppercase; letter-spacing: .04em; color: var(--dt-ink-muted); }
.nda-big { font-size: var(--dt-size-xl); }
.nda-tl-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--dt-space-2) var(--dt-space-3); }
.nda-tl-head h3 { margin: 0; }
.tl { display: grid; grid-auto-flow: column; grid-template-rows: minmax(140px, auto) 40px minmax(140px, auto); grid-template-columns: 110px; grid-auto-columns: minmax(220px, max-content);
  overflow-x: auto; border: 1px solid var(--dt-border); border-radius: var(--dt-radius); }
.tl-lane { grid-column: 1; position: sticky; left: 0; z-index: 2; display: flex; align-items: center; justify-content: center; text-align: center; padding: var(--dt-space-2);
  font-weight: var(--dt-weight-medium); font-size: var(--dt-size-sm); border-right: 1px solid var(--dt-border); background: var(--dt-surface); }
.tl-lane.top { grid-row: 1; background: var(--dt-accent-soft); color: var(--dt-accent); }
.tl-lane.mid { grid-row: 2; }
.tl-lane.bottom { grid-row: 3; background: var(--dt-surface-alt); color: var(--dt-ink); }
.tl-slot { padding: var(--dt-space-2); display: flex; }
.tl-slot.top { grid-row: 1; align-items: flex-end; background: var(--dt-accent-soft); }
.tl-slot.bottom { grid-row: 3; align-items: flex-start; }
.tl-axis { grid-row: 2; position: relative; display: flex; align-items: center; justify-content: center; }
.tl-axis::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--dt-control-border); }
.tl-axis.first::before { left: 50%; }
.tl-axis.last::before { right: 50%; }
.tl-axis.first.last::before { display: none; }
.tl-axis.pending::before { background: repeating-linear-gradient(90deg, var(--dt-control-border) 0 6px, transparent 6px 10px); }
.tl-node { position: relative; z-index: 1; min-width: 28px; height: 28px; border-radius: 14px; padding: 0 6px; display: flex; align-items: center; justify-content: center;
  font-size: var(--dt-size-xs); font-weight: var(--dt-weight-bold); border: 2px solid var(--dt-control-border); background: var(--dt-surface); color: var(--dt-ink); }
.tl-node.target { border-color: var(--dt-accent); color: var(--dt-accent); }
.tl-node.pending { border-style: dashed; color: var(--dt-ink-muted); }
.tl-axis.latest .tl-node { background: var(--dt-brand); border-color: var(--dt-brand); color: var(--dt-brand-ink); }
.tl-card { width: 100%; max-width: 300px; min-width: 200px; border: 1px solid var(--dt-border); border-radius: var(--dt-radius-sm); background: var(--dt-surface); padding: var(--dt-space-2) var(--dt-space-3);
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.tl-card.target { border-top: 3px solid var(--dt-accent); }
.tl-card.ours { border-bottom: 3px solid var(--dt-control-border); }
.tl-card.latest { box-shadow: 0 0 0 2px var(--dt-brand); }
.tl-card.unsent, .tl-card.next { border-style: dashed; }
.tl-card.next { min-width: 260px; gap: var(--dt-space-2); }
.tl-card.next .dt-select, .tl-card.next .dt-input { width: 100%; }
.tl-num { font-weight: var(--dt-weight-bold); display: flex; gap: var(--dt-space-2); align-items: center; }
.tl-label { font-weight: var(--dt-weight-medium); }
.nda-hist { margin-top: var(--dt-space-1); }
/* NDA rounds (Oct 29): files sent together stack in one column; the next box holds the round's files and its one Send button */
.tl-stack { display: flex; flex-direction: column; gap: var(--dt-space-2); width: 100%; max-width: 300px; }
.tl-file { border: 1px dashed var(--dt-border); border-radius: var(--dt-radius-sm); padding: var(--dt-space-2); display: flex; flex-direction: column; gap: 4px; }
.tl-upload { display: flex; flex-direction: column; gap: var(--dt-space-1); }
.tl-card.next.wait, .tl-card.next.hint { min-width: 200px; }
/* Process tab (Quinn, Oct 30): "Your status" takes half the page width on wide screens; full width on phones */
.dt-box.half { max-width: 50%; }
@media (max-width: 760px) { .dt-box.half { max-width: none; } }
.tl-add > summary { cursor: pointer; color: var(--dt-brand); font-size: var(--dt-size-sm); }
.tl-add[open] > summary { margin-bottom: var(--dt-space-1); }
/* Process tab (Quinn, Oct 30): process documents top left, Your status top right, the Proposal timeline along the bottom */
.process { display: flex; flex-direction: column; gap: var(--dt-space-4); }
.process-top { display: grid; grid-template-columns: 1fr 1fr; gap: var(--dt-space-4); align-items: start; }
.process-top > .dt-box { margin: 0; }
@media (max-width: 760px) { .process-top { grid-template-columns: 1fr; } }
/* Meetings step 3a (Quinn, Nov 14 2026): the Process tab's Meetings section (ndacard.js meetingsView) */
.process > [data-meetings] { margin-top: var(--dt-space-4); }
.meetings { list-style: none; padding: 0; margin: 0 0 var(--dt-space-3); }
.meetings > li { padding: var(--dt-space-2) 0; border-bottom: 1px solid var(--dt-border); }
.meetings > li.meeting { display: grid; grid-template-columns: 1fr auto; column-gap: var(--dt-space-3); }
.meetings > li.meeting > button { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.meetings.past > li a { color: inherit; }
.meeting-form { display: grid; gap: var(--dt-space-2); margin-top: var(--dt-space-2); max-width: 520px; }
.meeting-form label { display: flex; align-items: center; gap: var(--dt-space-2); }
.meeting-form label .dt-input { flex: 1; }
.meeting-post > summary { cursor: pointer; font-weight: var(--dt-weight-medium); }
.nda-main.proposal > h2 { margin-bottom: 0; }

/* Quinn, Oct 30: Documents & Q&A in two halves (Q&A at the top of the right half); sortable table headers */
.grid.halves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid.halves { grid-template-columns: 1fr; } }
.dt-sortable th .dt-sort { background: none; border: 0; padding: 0; font: inherit; font-weight: 500; color: inherit; cursor: pointer; text-align: left; }
.dt-sortable th .dt-sort:hover { text-decoration: underline; }
.dt-sortable th .dt-sort:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.dt-sortable th[aria-sort="ascending"] .dt-sort::after { content: " ▲"; font-size: 0.75em; }
.dt-sortable th[aria-sort="descending"] .dt-sort::after { content: " ▼"; font-size: 0.75em; }
.dt-sortable tr.row-more > td { padding-top: 0; }
.qa-table .row-more .thread { margin: 0 0 8px; }
/* Oct 30: a document name that opens the document */
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--dt-accent); text-decoration: underline; cursor: pointer; text-align: left; }
.linklike:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
/* Oct 30 (Quinn 1A): files attached in Q&A */
.attach { display: block; margin: 6px 0; }
ul.attached { list-style: none; padding: 0; margin: 4px 0; }

/* Design pass 3 (Oct 30 2026): same calm look as the staff app. Cooler page, soft card edges, white table headers with a firm rule,
   KPI tiles with tabular numbers, company names in navy. Visual only; colours through theme tokens. */
body { background: var(--upt-page, var(--dt-bg)); }
.dt-box { border-color: var(--upt-line, var(--dt-border)); border-radius: 10px; }
main > .dt-box, .grid > .dt-box, .side > .dt-box, .dgrid > .dt-box { border-radius: 10px; }
.dt-box > h2:first-child { font-size: 16px; border-bottom-color: var(--upt-line, var(--dt-border)); }
.dt-table th { background: var(--dt-surface); font-size: 11px; letter-spacing: .06em; border-bottom: 1px solid var(--upt-line-strong, var(--dt-control-border)); }
.dt-table td { border-bottom-color: var(--upt-line, var(--dt-border)); }
main > .dt-table, main > .tablewrap, .tablewrap > .dt-table { border-color: var(--upt-line, var(--dt-border)); border-radius: 10px; }
.dt-table td a { color: var(--upt-navy, var(--dt-accent)); font-weight: var(--dt-weight-medium); text-decoration: none; }
.dt-table td a:hover { text-decoration: underline; }
.toolbar { border-bottom-color: var(--upt-line-strong, var(--dt-border)); border-bottom-width: 1px; }
.kpi { border-top: 0; }
.kpi .big { font-size: 28px; font-weight: var(--dt-weight-medium); color: var(--upt-navy, var(--dt-ink)); font-variant-numeric: tabular-nums; }
.kpi > :first-child { font-size: 11px; letter-spacing: .06em; }
.wtabs { gap: 2px; border-bottom-color: var(--upt-line-strong, var(--dt-border)); margin: var(--dt-space-3) 0 var(--dt-space-4); }
.wtab { padding: 10px 14px; color: var(--dt-ink-muted); font-weight: var(--dt-weight-medium); border-bottom-width: 3px; border-radius: 6px 6px 0 0; }
.wtab:hover { color: var(--upt-navy, var(--dt-ink)); background: var(--upt-navy-soft, var(--dt-surface-alt)); }
.wtab.on, .wtab[aria-selected="true"] { color: var(--upt-navy, var(--dt-ink)); border-bottom-color: var(--upt-navy, var(--dt-accent)); font-weight: var(--dt-weight-medium); }

/* Oct 31 (Quinn): drag and drop onto a file box (dashed; highlighted while a file is over it) */
.dt-drop { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 12px; margin: 6px 0; border: 1.5px dashed var(--upt-line-strong, var(--dt-border)); border-radius: 8px; background: var(--dt-surface); }
.dt-drop[data-over] { border-color: var(--upt-navy, var(--dt-brand)); background: var(--upt-row-alt, var(--dt-bg)); }
.dt-drop .dt-drop-hint { color: var(--dt-ink-muted); }

/* Nov 1 (Quinn): Review targets: a panel that slides over the target list (same columns, search, a box per row, bulk Approve / Exclude) */
body.rv-open { overflow: hidden; }
.rv-overlay { position: fixed; inset: 0; z-index: 50; }
.rv-backdrop { position: absolute; inset: 0; background: var(--dt-overlay); }
.rv-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(max(760px, 72vw), 100vw); background: var(--dt-surface); box-shadow: var(--dt-shadow-dialog);
  padding: var(--dt-space-4); overflow-y: auto; }
.rv-panel.rv-enter { animation: rv-slide .22s ease-out; }
@keyframes rv-slide { from { transform: translateX(40px); opacity: .4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .rv-panel.rv-enter { animation: none; } }
.rv-head { display: flex; align-items: center; gap: var(--dt-space-3); margin-bottom: var(--dt-space-3); }
.rv-head h2 { margin: 0; }
.rv-grow { flex: 1; }
.rv-bulk { display: flex; flex-wrap: wrap; align-items: center; gap: var(--dt-space-2); padding: var(--dt-space-2) var(--dt-space-3); margin-bottom: var(--dt-space-2);
  background: var(--upt-row-alt); border: 1px solid var(--dt-border); border-radius: var(--dt-radius-sm); position: sticky; top: 0; z-index: 1; }
.rv-bulk[hidden] { display: none; }
.rv-bulk .dt-input { flex: 1 1 220px; min-width: 180px; }
.rv-status { min-height: 1.2em; margin: var(--dt-space-1) 0; }
.rv-panel tr.rv-done td { opacity: .6; }
.rv-panel tr.sel td { background: var(--upt-row-alt); }
.rv-check { color: var(--dt-ok); font-weight: var(--dt-weight-bold); }
.rv-tag-ok { background: var(--dt-ok-soft); color: var(--dt-ok); }
.rv-tag-no { background: var(--dt-bad-soft); color: var(--dt-bad); }
@media (max-width: 640px) { .rv-panel { width: 100vw; padding: var(--dt-space-3); } }

/* Alerts PR 3b (Nov 1): the recipient's "Email me updates" switch under the room's name */
.dr-email { display: inline-flex; align-items: center; gap: var(--dt-space-1); margin-top: var(--dt-space-1); cursor: pointer; }
/* Digest A3 (Nov 9): the schedule link next to "Email me updates" and its small popover (theme variables only) */
.dr-email-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--dt-space-2); margin-top: var(--dt-space-1); }
.dr-email-row .dr-email { margin-top: 0; }
.dr-sched { position: relative; display: inline-flex; align-items: center; gap: var(--dt-space-2); }
.dr-sched-link { background: none; border: 0; padding: 0; font: inherit; font-size: var(--dt-size-xs); color: var(--dt-ink-muted); cursor: pointer;
  text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
.dr-sched-link:hover { color: var(--dt-ink); }
.dr-sched-link:focus-visible { outline: 2px solid var(--dt-focus); outline-offset: 2px; border-radius: var(--dt-radius-sm); }
.dr-sched-pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; display: grid; gap: var(--dt-space-2); min-width: 240px;
  background: var(--dt-surface); border: 1px solid var(--dt-border); border-radius: var(--dt-radius); padding: var(--dt-space-3);
  box-shadow: var(--upt-shadow-2); }
.dr-sched-field { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: var(--dt-space-2); }
.dr-sched-field .dt-select { min-height: 28px; padding: 2px 8px; font-size: var(--dt-size-xs); }
.dr-sched-actions { display: flex; gap: var(--dt-space-2); justify-content: flex-end; }
.dr-sched-err { color: var(--dt-bad); }
.dr-sched-msg { color: var(--dt-ink-muted); }
.dr-sched-msg.ok { color: var(--dt-ok); }

/* Nov 9 (Quinn, profile layout PR 2): the client's Company = Description full width, then Overview (left) and Financial (right), read-only, in bordered
   boxes like the staff page's; an empty box isn't drawn and the other takes the whole row (.one); stacked below 860px. */
.cv .dt-profile { margin-bottom: var(--dt-space-3); }
.cv .dt-profile > h2 { font-size: 16px; margin: 0 0 var(--dt-space-2); }
.cv .dt-pbox { border: 1px solid var(--upt-line, var(--dt-border)); border-radius: 10px; padding: 14px 16px; background: var(--dt-surface); min-width: 0; }
.cv .dt-pbox h3 { font-size: 15px; font-weight: var(--dt-weight-medium); margin: 0 0 var(--dt-space-2); }
.cv .dt-pgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--dt-space-3); align-items: start; margin-top: var(--dt-space-3); }
.cv .dt-pgrid.one { grid-template-columns: minmax(0, 1fr); }
.cv .dt-pbox + .dt-pgrid { margin-top: var(--dt-space-3); }
@media (max-width: 860px) { .cv .dt-pgrid { grid-template-columns: minmax(0, 1fr); } }
.cv .dt-pbox .kv { max-width: none; }
.cv .dt-pbox .kv td:first-child, .cv .dt-pbox .kv td.dt-muted { width: 38%; }
.cv .dt-pbox .kv td { overflow-wrap: anywhere; }
/* Nov 1 (deal close-out): the final report box; "Print / Save as PDF" prints this box only. Theme variables only. */
.deal-report .toolbar { display: flex; align-items: center; gap: var(--dt-space-2); }
.deal-report .toolbar h2 { margin: 0; }
.deal-report .grow { flex: 1; }
@media print {
  body.printing-report .dt-header, body.printing-report #notice, body.printing-report #dash > :not(.dgrid), body.printing-report .dgrid > :not([data-box="report"]),
  body.printing-report [data-act="print-report"], body.printing-report .dt-demo-banner { display: none !important; }
  body.printing-report .dgrid { display: block; }
  body.printing-report .deal-report { border: 0; box-shadow: none; padding: 0; }
  body.printing-report .tablewrap { overflow: visible; }
}

/* Nov 2 (Quinn): client view parity. The client Targets grid and target page use the staff app's look (staff/staff.css design pass 3):
   a toolbar card, KPI tiles, a card table with sortable headers, approval pills, the shared record shading, the detail header card. */
main.cv { max-width: 1320px; padding: var(--dt-space-4) var(--dt-space-5); }
.cv > .toolbar { background: var(--dt-surface); border: 1px solid var(--upt-line, var(--dt-border)); border-radius: 10px; box-shadow: var(--upt-shadow-1, none);
  padding: 10px 12px; row-gap: 8px; margin-bottom: var(--dt-space-3); }
.cv > .toolbar h1 { font-size: 18px; margin: 0 var(--dt-space-2) 0 0; }
.cv .toolbar .dt-btn.small:not(.primary) { border-color: var(--upt-line, var(--dt-border)); color: var(--upt-navy, var(--dt-ink)); background: var(--dt-surface); }
.cv .toolbar .dt-btn.small:not(.primary):hover { border-color: var(--upt-navy, var(--dt-brand)); background: var(--upt-navy-soft, var(--dt-bg)); }
.cv .grow { flex: 1; }
.cv .phasebar { display: flex; border: 1px solid var(--upt-line, var(--dt-border)); border-radius: 10px; overflow: hidden; background: var(--dt-surface);
  box-shadow: var(--upt-shadow-1, none); margin-bottom: var(--dt-space-3); }
.cv .phasebar button { flex: 1; border: 0; border-right: 1px solid var(--upt-line, var(--dt-border)); background: none; text-align: left; padding: 12px 16px; cursor: pointer;
  font: inherit; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--dt-ink-muted); }
.cv .phasebar button:last-child { border-right: 0; }
.cv .phasebar button:hover { background: var(--upt-navy-soft, var(--dt-bg)); color: var(--dt-ink); }
.cv .phasebar button b { display: block; font-size: 24px; line-height: 1.2; letter-spacing: -.01em; text-transform: none; margin-bottom: 2px; color: var(--dt-ink);
  font-weight: var(--dt-weight-medium); font-variant-numeric: tabular-nums; }
.cv .phasebar button.on { background: var(--upt-navy-soft, var(--dt-accent-soft)); color: var(--upt-navy, var(--dt-ink)); box-shadow: inset 0 -3px 0 var(--upt-navy, var(--dt-brand)); }
.cv .phasebar button.on b { color: var(--upt-navy, var(--dt-ink)); }
.cv .phasebar button:focus-visible { outline: 2px solid var(--dt-focus); outline-offset: -2px; }
.cv .listwrap { display: flex; gap: var(--dt-space-3); align-items: flex-start; }
.cv .listwrap > .main { flex: 1; min-width: 0; }
.cv .tablewrap { background: var(--dt-surface); border: 1px solid var(--upt-line, var(--dt-border)); border-radius: 10px; box-shadow: var(--upt-shadow-1, none); overflow: auto; }
.cv .tablewrap > .dt-table { border: 0; border-radius: 0; }
.cv .client-grid .dt-table th { padding: 10px 12px; white-space: nowrap; }
.cv .client-grid .dt-table td { padding: 12px; }
.cv .dt-table td.num, .cv .dt-table th.num { text-align: right; }
/* the ONE record shade (theme.css --upt-record-shade), the same as the staff grid; hover still wins */
.cv .client-grid tbody > tr:nth-child(even) > td { background: var(--upt-record-shade, var(--dt-bg)); }
.cv .client-grid tbody > tr:hover > td { background: var(--upt-navy-soft, var(--dt-bg)); }
/* N1 (Qdog, Nov 2): the same record shade on the client project dashboard's tables (dashboard.js marks them "zebra") */
.dt-table.zebra tbody > tr:nth-child(even) > td { background: var(--upt-record-shade, var(--dt-bg)); }
/* S1 (Nov 2): the read-only Docs & Q&A tab */
.cv .cv-room { border-top: 1px solid var(--upt-line, var(--dt-border)); padding-top: var(--dt-space-2); margin-top: var(--dt-space-2); }
.cv .cv-room:first-of-type { border-top: 0; margin-top: 0; }
.cv .cv-docs { margin: 4px 0 8px; padding-left: 20px; }
.cv .listwrap thead th .dt-sort { background: none; border: 0; padding: 0; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.cv .listwrap thead th .dt-sort:hover { color: var(--upt-navy, var(--dt-ink)); text-decoration: underline; }
.cv .listwrap thead th[aria-sort="ascending"] .dt-sort::after { content: " ▲"; font-size: .8em; }
.cv .listwrap thead th[aria-sort="descending"] .dt-sort::after { content: " ▼"; font-size: .8em; }
.cv .listwrap thead th[aria-sort="ascending"], .cv .listwrap thead th[aria-sort="descending"] { color: var(--upt-navy, var(--dt-ink)); }
/* approval pills: the staff pill colours (the text says the approval too, so colour is never the only sign) */
.cv .ap-pill { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: var(--dt-weight-medium); white-space: nowrap;
  border: 0; background: var(--upt-tint-grey, var(--dt-surface-alt)); color: var(--upt-ink-grey, var(--dt-ink)); }
.cv .ap-pill[data-approval="approved"] { background: var(--upt-tint-green); color: var(--upt-ink-green); }
.cv .ap-pill[data-approval="pending"] { background: var(--upt-tint-amber); color: var(--upt-ink-amber); }
.cv .ap-pill[data-approval="rejected"] { background: var(--upt-tint-red); color: var(--upt-ink-red); }
/* target page: the staff header card, underline tabs (.wtab above), readable key / value lists */
.cv .dt-detail-head { background: var(--dt-surface); border: 1px solid var(--upt-line, var(--dt-border)); border-radius: 10px; box-shadow: var(--upt-shadow-1, none);
  padding: 14px 20px 16px; margin-bottom: var(--dt-space-2); }
.cv .dt-detail-head > .toolbar { border: 0; box-shadow: none; background: none; padding: 0; margin: 0 0 var(--dt-space-2); }
.cv .dtitle { font-size: 24px; font-weight: var(--dt-weight-medium); margin: 0 var(--dt-space-2) 0 var(--dt-space-1); }
.cv .dt-detail-head .big { font-size: 15px; color: var(--upt-navy, var(--dt-ink)); padding: 2px 10px; border-radius: 999px; background: var(--upt-navy-soft, var(--dt-accent-soft)); }
.cv .dt-detail-head .row { margin-top: var(--dt-space-2); align-items: center; }
.cv .dt-detail-head .dt-edit-line { padding-top: var(--dt-space-3); margin-top: var(--dt-space-3); border-top: 1px solid var(--upt-line, var(--dt-border)); }
.cv .dt-detail-head .dt-edit-line .dt-input { flex: 1; min-width: 240px; }
.cv .wpanel > .dt-box, .cv .dt-box { padding: 18px 20px; }
.cv .kv { border-collapse: collapse; width: 100%; max-width: 720px; }
.cv .kv td { padding: 6px 16px 6px 0; border-bottom: 1px solid var(--upt-line, var(--dt-border)); }
.cv .kv tr:last-child td { border-bottom: 0; }
.cv .kv td:first-child, .cv .kv td.dt-muted { width: 180px; color: var(--dt-ink-muted); font-size: 13px; }

/* Nov 2 (Quinn, Demo 1): the version-card stream (theme/versionstream.js). ONE row of cards, oldest on the left, scrolling sideways;
   each card names its party by company name. The target's cards have an accent top edge, the client's (and Uplift's for it) a grey one;
   cards not sent yet are dashed; the newest sent card is ringed. The upload box is the last card. */
.vs-stream { display: flex; gap: var(--dt-space-3); align-items: stretch; overflow-x: auto; padding: var(--dt-space-2) 2px var(--dt-space-3); scroll-snap-type: x proximity; }
.vs-card { flex: 0 0 auto; width: 232px; display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--dt-border); border-radius: var(--dt-radius-sm);
  background: var(--dt-surface); padding: var(--dt-space-2) var(--dt-space-3); scroll-snap-align: start; min-width: 0; }
.vs-card.target { border-top: 3px solid var(--dt-accent); }
.vs-card.client { border-top: 3px solid var(--dt-control-border); }
.vs-card.held, .vs-card.vs-next { border-style: dashed; }
.vs-card.latest { box-shadow: 0 0 0 2px var(--dt-brand); }
.vs-tail { flex: 0 0 auto; display: flex; }
.vs-tail > .vs-card { width: 280px; }
.vs-stack { flex: 0 0 auto; display: flex; flex-direction: column; gap: var(--dt-space-2); }   /* Nov 6: files sent together (one Send), stacked */
.vs-top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--dt-space-1) var(--dt-space-2); min-width: 0; }   /* c2: wraps so the party name never shrinks to a letter */
.vs-num { font-size: var(--dt-size-xs); font-weight: var(--dt-weight-medium); color: var(--dt-accent); background: var(--dt-accent-soft); border-radius: 999px; padding: 1px 8px; flex: 0 0 auto; }
.vs-party { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.vs-latest { margin-left: auto; flex: 0 0 auto; }
.vs-name { font-weight: var(--dt-weight-medium); overflow-wrap: anywhere; }
.vs-file { color: var(--dt-ink-muted); overflow-wrap: anywhere; }   /* Nov 7: the uploaded file's full name, with its extension */
/* Nov 8 (Quinn): grouped NDA columns: the party and side once at the top, mini cards, the Sent line once at the bottom */
.vs-group { flex: 0 0 auto; width: 252px; display: flex; flex-direction: column; gap: var(--dt-space-2); border: 1px solid var(--dt-border); border-radius: var(--dt-radius-sm); padding: var(--dt-space-3); background: var(--dt-surface); }
.vs-group.target { border-top: 3px solid var(--dt-accent); }
.vs-group.client { border-top: 3px solid var(--dt-control-border); }
.vs-group.held { border-style: dashed; }
.vs-group-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--dt-space-1) var(--dt-space-2); min-width: 0; }
.vs-group-list { display: flex; flex-direction: column; gap: var(--dt-space-2); }
.vs-group .vs-card.vs-mini { width: auto; border-top-width: 1px; border-style: solid; padding: var(--dt-space-2); }
.vs-group .vs-card.vs-mini.latest { box-shadow: 0 0 0 2px var(--dt-brand); }
.vs-group-foot { margin-top: auto; }
@media (max-width: 1100px) { .vs-group { width: 228px; } }
.vs-sent.warn { color: var(--dt-ink-muted); font-style: italic; }
.vs-links { margin-top: auto; padding-top: 4px; gap: var(--dt-space-2); }
.vs-upload { display: flex; flex-direction: column; gap: var(--dt-space-2); }
.vs-upload input[type="file"] { max-width: 100%; }
@media (max-width: 1100px) { .vs-card { width: 208px; } .vs-tail > .vs-card { width: 248px; } }
/* c2 (Nov 3): the NDA timeline is one stream of version cards (no lanes); the side tag on each card; no NDA yet = the gray box */
.vs-side { flex: 0 0 auto; }
.nda-none { border: 1px solid var(--dt-border); border-radius: var(--dt-radius-sm); background: var(--dt-surface-alt); padding: var(--dt-space-3) var(--dt-space-4); }
.nda-none p { margin: 4px 0 0; }

/* Nov 4 (Quinn): the client Targets page in the staff look: wider page, toolbar card, phase tiles, a filter rail, Phase › Status pills,
   the side-panel button and the right-hand side panel (about 2/3 of the page, as staff). Copied from staff.css, scoped to .cv. */
main.cv { max-width: 1440px; }
.cv .cv-toolbar { flex-wrap: wrap; gap: var(--dt-space-2); }
.cv .cv-toolbar .grow { flex: 1; }
.cv .cv-project, .cv .cv-project-name { font-weight: var(--dt-weight-medium); color: var(--upt-navy, var(--dt-ink)); }
.cv .cv-search { min-width: 280px; }
.cv .filters { width: 240px; flex: none; background: var(--dt-surface); border: 1px solid var(--upt-line, var(--dt-border)); border-radius: var(--dt-radius);
  padding: var(--dt-space-3); position: sticky; top: var(--dt-space-2); max-height: calc(100vh - var(--dt-space-4)); overflow-y: auto; box-shadow: var(--upt-shadow-1, none); }
.cv .filters.collapsed { width: 40px; padding: var(--dt-space-2) 4px; }
.cv .filters.collapsed .fbody, .cv .filters.collapsed .ftitle { display: none; }
.cv .fhead { display: flex; justify-content: space-between; align-items: center; font-weight: var(--dt-weight-medium); color: var(--upt-navy, var(--dt-ink)); }
.cv .fgroup { border: 0; border-top: 1px solid var(--upt-line, var(--dt-border)); margin: var(--dt-space-2) 0 0; padding: var(--dt-space-2) 0 0; min-width: 0; }
.cv .fsec-head { display: flex; width: 100%; justify-content: space-between; align-items: center; background: none; border: 0; cursor: pointer;
  font: inherit; font-size: var(--dt-size-xs); font-weight: var(--dt-weight-medium); color: var(--dt-ink-muted); padding: 0 0 2px; text-transform: uppercase; letter-spacing: .4px; text-align: left; }
.cv .fsec-head:hover { color: var(--upt-navy, var(--dt-ink)); }
.cv .fsec-head:focus-visible { outline: 2px solid var(--dt-focus); outline-offset: 2px; border-radius: 4px; }
.cv .fsec-arrow { display: inline-block; font-size: var(--dt-size-sm); color: var(--dt-ink); transition: transform .15s ease; }
.cv .fgroup.closed .fsec-arrow { transform: rotate(-90deg); }
@media (prefers-reduced-motion: reduce) { .cv .fsec-arrow { transition: none; } }
.cv .fsec-label { display: inline-flex; align-items: baseline; gap: 6px; }
.cv .fsec-picked { text-transform: none; letter-spacing: 0; color: var(--dt-ink); font-weight: var(--dt-weight-medium); }
.cv .fsec-list[hidden] { display: none; }
.cv .fgroup label { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: var(--dt-size-sm); padding: 3px 6px; margin: 0 -6px; border-radius: 4px; cursor: pointer; }
.cv .fgroup label:hover { background: var(--upt-navy-soft, var(--dt-bg)); }
.cv .fgroup label:has(input:checked) { background: var(--upt-navy-soft, var(--dt-accent-soft)); font-weight: var(--dt-weight-medium); }
.cv .fgroup .c { color: var(--dt-ink-muted); font-size: var(--dt-size-xs); font-variant-numeric: tabular-nums; }
.cv .st-pill { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: var(--dt-weight-medium); line-height: 1.35;
  background: var(--upt-tint-grey); color: var(--upt-ink-grey); }
.cv .st-pill[data-phase="list-build"] { background: var(--upt-tint-grey); color: var(--upt-ink-grey); }
.cv .st-pill[data-phase="outreach"] { background: var(--upt-tint-blue); color: var(--upt-ink-blue); }
.cv .st-pill[data-phase="under-nda"], .cv .st-pill[data-phase="meetings"] { background: var(--upt-tint-purple); color: var(--upt-ink-purple); }
.cv .st-pill[data-phase="confirmed-interest"] { background: var(--upt-tint-green); color: var(--upt-ink-green); }
.cv .st-pill[data-phase="passed"], .cv .st-pill[data-phase="closed"] { background: var(--upt-tint-red); color: var(--upt-ink-red); }
.cv .ap-pill[data-approval="held"] { background: var(--upt-tint-amber); color: var(--upt-ink-amber); }
.cv .ap-pill[data-approval="excluded"] { background: var(--upt-tint-red); color: var(--upt-ink-red); }
.cv .dr-launch-cell { width: 1%; white-space: nowrap; text-align: right; }
.cv-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(max(760px, 66.667vw), 96vw); overflow-y: auto; z-index: 50;
  background: var(--dt-bg, var(--dt-surface)); border-left: 1px solid var(--dt-border); box-shadow: var(--upt-shadow-2, var(--dt-shadow-dialog)); padding: var(--dt-space-4); }
.cv-drawer:focus { outline: none; }
@media (max-width: 860px) { .cv .listwrap { flex-direction: column; } .cv .filters { width: auto; position: static; max-height: none; } .cv-drawer { width: 100vw; } }
.cv .sr-only, .cv-drawer .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* Copy emails (Nov 6, Quinn: "quickly copy email addresses by hovering over them and allowing me to copy and paste into an outlook email";
   dataroom.js emailCopy / copyAllEmailsButton). The Copy button shows while its row is hovered or while it has keyboard focus (opacity only,
   so Tab still reaches it); with no hover (touch screens) it is always shown. The word "Copy" is drawn here; its name is its aria-label. */
.upt-ec-tools { display: inline-flex; align-items: center; gap: var(--dt-space-1); margin-left: var(--dt-space-1); vertical-align: middle; white-space: nowrap; }
.upt-ec-btn { flex: none; font: inherit; font-size: var(--dt-size-xs); line-height: 1.4; padding: 0 6px; border: 1px solid var(--dt-control-border); border-radius: var(--dt-radius-sm); background: var(--dt-surface); color: var(--dt-accent); cursor: pointer; opacity: 0; transition: opacity .12s ease; }
.upt-ec-btn::before { content: "Copy"; }
.upt-ec-btn:hover { background: var(--dt-accent-soft); }
.upt-ec-btn:focus-visible { outline: 2px solid var(--dt-focus); outline-offset: 1px; }
:is(tr, li, .upt-ec, .upt-ec-tools):hover .upt-ec-btn, .upt-ec-btn:focus, .upt-ec-btn:focus-visible { opacity: 1; }
@media (hover: none) { .upt-ec-btn { opacity: 1; } }
/* an empty status line takes no room but stays in the accessibility tree (never display:none), so "Copied" is read out when it appears */
.upt-ec-status:empty, .upt-ecall-status:empty { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.upt-ecall { display: inline-flex; align-items: center; flex-wrap: wrap; gap: var(--dt-space-2); }
.upt-ec-head { display: flex; align-items: center; flex-wrap: wrap; gap: var(--dt-space-2); justify-content: space-between; }
/* Meetings step 6 (Nov 16 2026): the booking page, /book/ (book.js). Times by day as buttons; the picked one is filled with the accent. */
.bk .bk-about { color: var(--dt-ink-muted); margin-top: 0; }
.bk .bk-msg { color: var(--dt-warn); font-weight: var(--dt-weight-medium); }
.bk .bk-err { color: var(--dt-bad); }
.bk .bk-len { display: flex; flex-wrap: wrap; align-items: center; gap: var(--dt-space-2); margin: var(--dt-space-3) 0; }
.bk .bk-len-label { font-weight: var(--dt-weight-medium); }
.bk .bk-day { margin: var(--dt-space-3) 0; }
.bk .bk-day-name { font-size: var(--dt-size-sm); font-weight: var(--dt-weight-medium); margin: 0 0 var(--dt-space-1); }
.bk .bk-times { display: flex; flex-wrap: wrap; gap: var(--dt-space-2); }
.bk .bk-slot { font: inherit; font-size: var(--dt-size-sm); padding: 6px 12px; min-height: 36px; border: 1px solid var(--dt-control-border); border-radius: var(--dt-radius-sm);
  background: var(--dt-surface); color: var(--dt-accent); cursor: pointer; }
.bk .bk-slot:hover { background: var(--dt-accent-soft); }
.bk .bk-slot:focus-visible { outline: 2px solid var(--dt-focus); outline-offset: 1px; }
.bk .bk-slot.picked { background: var(--dt-accent); border-color: var(--dt-accent); color: var(--dt-surface); }
.bk .bk-slot:disabled { cursor: not-allowed; opacity: .6; }
.bk .bk-picked { margin-top: var(--dt-space-3); }
/* PR B (Dec 2 2026, client grid parity; clientgrid.js): move and resize columns (kept while the page is open), tick boxes for Hold / Exclude /
   Release, the pager and Add target. The resize grip and the wrap-once-sized rules are the staff grid's (staff.css, colresize.js / PR 1339). */
.cv .client-grid thead th { position: relative; }
.cv .client-grid thead th .col-grip { position: absolute; top: 0; right: 0; bottom: 0; width: 8px; cursor: col-resize; touch-action: none; user-select: none; z-index: 3; }
.cv .client-grid thead th .col-grip::after { content: ""; position: absolute; top: 25%; bottom: 25%; right: 3px; width: 1px; background: var(--upt-line-strong, var(--dt-border)); }
.cv .client-grid thead th .col-grip:hover::after, .cv .client-grid thead th .col-grip.dragging::after, .cv .client-grid thead th .col-grip:focus-visible::after { width: 2px; right: 2px; background: var(--upt-navy, var(--dt-ink)); }
.cv .client-grid thead th .col-grip:focus-visible, .cv .client-grid thead th .col-move:focus-visible { outline: 2px solid var(--dt-focus); outline-offset: -2px; }
.cv .client-grid thead th .col-move { cursor: grab; margin-right: 4px; color: var(--dt-muted, var(--dt-ink)); user-select: none; }
.cv .client-grid thead th .col-move:hover { color: var(--upt-navy, var(--dt-ink)); }
.cv .client-grid .dt-table.cols-sized { table-layout: fixed; min-width: max-content; }
.cv .client-grid .dt-table.cols-sized col.col-select { width: 44px; }
.cv .client-grid .dt-table.cols-sized col.col-open { width: 64px; }
.cv .client-grid .dt-table.cols-sized thead th { overflow: hidden; text-overflow: ellipsis; }
.cv .client-grid .dt-table.cols-sized td { min-width: 0; max-width: none; overflow-wrap: anywhere; overflow: hidden; }
.cv .client-grid .dt-table.cols-sized td:not(.dr-launch-cell) { white-space: normal; }
.cv .client-grid .sel-cell { width: 44px; text-align: center; }
.cv .client-grid tbody > tr.sel > td { background: var(--upt-navy-soft, var(--dt-accent-soft)); }
.cv .cg-pager { display: flex; flex-wrap: wrap; align-items: center; gap: var(--dt-space-2); margin-top: var(--dt-space-2); }
.cv .cg-add .cg-add-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--dt-space-2); margin: var(--dt-space-2) 0; }
.cv .cg-add .cg-add-fields label { display: flex; flex-direction: column; gap: 4px; }
.cv .cg-add .bad { color: var(--dt-bad); }
.cv .frange .fsec-list .dt-input { width: 96px; }
/* PR C (Dec 2 2026): the client target page's Docs & Q&A (targetdocs.js): versions, View / Download, a new version, reply in place */
.td-docs ul.td-list { list-style: none; margin: 0; padding: 0; }
.td-docs li.td-doc { margin: 0 0 var(--dt-space-2); }
.td-docs .td-row .dt-btn, .td-docs .td-versions .dt-btn { margin-left: var(--dt-space-1); }
.td-docs .td-versions { margin: var(--dt-space-1) 0 0 var(--dt-space-3); font-size: var(--dt-size-xs); }
.td-docs .td-versions ul { list-style: none; margin: var(--dt-space-1) 0 0; padding: 0; }
.td-docs .td-upload { margin: var(--dt-space-1) 0 0; }
.td-docs li.td-focus, .td-docs .cv-room.td-focus { outline: 2px solid var(--dt-focus); outline-offset: 2px; }
.td-reply { margin: var(--dt-space-2) 0 0; }
.td-reply .dt-btn { margin-top: var(--dt-space-1); }
td .td-open-room { margin-left: var(--dt-space-1); }
