/* ────────────────────────────────────────────────────────────────────────
 * ASCENT — Phase 10 CSS split (2026-08-20, PARALLEL_DEV_PLAN.md).
 *
 * WARNING -- READ BEFORE TOUCHING <link> TAGS IN Ascent_Dashboard.html --
 * This file is one of twelve pieces of what used to be a single 2,142-line
 * <style> block inside Ascent_Dashboard.html. The split is a byte-exact,
 * order-preserving cut -- verified by concatenating all twelve files back
 * together and diffing against the original block (identical, zero bytes
 * different). That means the CSS cascade today is unchanged from before
 * the split, PROVIDED the <link rel="stylesheet"> tags for these files
 * stay in the exact order listed in ARCHITECTURE.md's "File split in
 * Phase 10" section.
 *
 * Several rules across these files reuse the same class name with a
 * different definition in a different file (this was already true inside
 * the single original block -- see this repo's shell-duplicate-and-
 * agent-cards.css for the clearest example). Same-specificity CSS
 * resolves by *source order*: whichever rule loads last wins. Reordering
 * these <link> tags -- alphabetizing them, "cleaning up" the <head>,
 * inserting a new file in the middle -- can silently flip which rule
 * wins, with no error and no obvious symptom beyond something looking
 * subtly wrong on one tab. If you add new CSS, prefer appending a new
 * file at the END of the <link> list over inserting into this sequence.
 * ──────────────────────────────────────────────────────────────────────── */

/* Source: original Ascent_Dashboard.html lines 1811-1951 (pre-split). */
/* Riley -- Transaction Coordinator workspace styling. */

  /* ── RILEY · TRANSACTION COORDINATOR WORKSPACE ── */
  .tc-toolbar { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin-bottom:18px; }
  .tc-eyebrow { color:var(--coral); font-size:13px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; margin-bottom:4px; }
  .tc-heading { color:var(--ink); font-size:22px; line-height:1.2; font-weight:900; letter-spacing:-.025em; }
  .tc-subheading { color:#777780; font-size:14px; margin-top:5px; }
  .tc-actions { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
  .tc-btn { border:1px solid var(--border); background:#fff; color:var(--text); border-radius:7px; padding:8px 12px; font:600 12px/1 'Inter',sans-serif; cursor:pointer; display:inline-flex; align-items:center; gap:6px; }
  .tc-btn:hover { border-color:var(--coral-200); background:var(--coral-50); color:#b84322; }
  .tc-btn.primary { background:var(--coral); border-color:var(--coral); color:#fff; }
  .tc-btn.primary:hover { background:#bf4a25; color:#fff; }
  .lw-record-head .lw-secondary-btn, .lw-record-head .lw-primary-btn { margin-bottom:16px; }
  /* "← Transactions" back button on a transaction's detail page --
   * Mark, 2026-09-25: "This button should be coral with white text."
   * Scoped to this modifier, not the shared .lw-secondary-btn base class
   * itself, since that class is reused for plain neutral secondary
   * buttons across Listings/CRM/TC (32 call sites) that should stay as-is. */
  .lw-secondary-btn.tc-back-solid { background:var(--coral); border-color:var(--coral); color:#fff; }
  .lw-secondary-btn.tc-back-solid:hover { background:var(--coral-700, #a8431f); border-color:var(--coral-700, #a8431f); color:#fff; }
  .tc-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:16px; }
  .tc-stat { background:var(--coral-50); border:1px solid var(--coral-100); border-radius:10px; padding:14px 15px; position:relative; overflow:hidden; }
  .tc-stat-label { color:rgba(17,17,20,.72); font-size:13px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
  .tc-stat-value { color:var(--ink); font-size:25px; line-height:1.15; font-weight:900; margin-top:5px; }
  .tc-stat-meta { color:rgba(17,17,20,.72); font-size:13.5px; margin-top:3px; }
  .tc-stat-meta strong { color:var(--ink); }
  .tc-stat.attention { background:var(--coral-300); border-color:var(--coral-500); }
  .tc-stat.attention .tc-stat-label, .tc-stat.attention .tc-stat-value, .tc-stat.attention .tc-stat-meta, .tc-stat.attention .tc-stat-meta strong { color:var(--ink); }
  .tc-layout { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(280px,.75fr); grid-template-areas:'pipeline attention' 'selected ask'; gap:16px; align-items:stretch; }
  .tc-layout > div { display:contents; }
  .tc-pipeline-panel { grid-area:pipeline; }
  .tc-selected-panel { grid-area:selected; }
  .tc-attention-panel { grid-area:attention; }
  .tc-ask-panel { grid-area:ask; }
  .tc-layout .tc-panel + .tc-panel { margin-top:0; }
  .tc-panel { background:#fff; border:1px solid var(--border); border-radius:10px; overflow:hidden; }
  .tc-panel + .tc-panel { margin-top:16px; }
  .tc-panel-head { min-height:46px; padding:11px 14px; border-bottom:1px solid var(--coral-300); background:var(--coral-200); color:var(--ink); display:flex; align-items:center; justify-content:space-between; gap:12px; }
  .tc-attention-panel .tc-panel-head { background:var(--coral-300); border-bottom-color:var(--coral-500); }
  .tc-panel-title { color:var(--ink); font-size:14px; font-weight:800; display:flex; align-items:center; gap:8px; }
  .tc-panel-head .tc-btn { background:rgba(255,255,255,.62); border-color:rgba(216,90,48,.28); color:var(--ink); }
  .tc-panel-head .tc-filter { background:rgba(255,255,255,.62); border-color:rgba(216,90,48,.28); color:var(--ink); }
  .tc-count { background:var(--coral-50); color:var(--coral); border-radius:10px; padding:1px 7px; font-size:13px; font-weight:800; }
  .tc-filter { border:1px solid var(--border); border-radius:6px; background:#fff; color:#66666f; padding:5px 8px; font:600 11px 'Inter',sans-serif; }
  .tc-table-wrap { overflow-x:auto; }
  .tc-table { width:100%; border-collapse:collapse; min-width:690px; }
  .tc-table th { background:#f7f7f8; color:#888890; font-size:11.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; text-align:left; padding:9px 12px; border-bottom:1px solid var(--border); }
  .tc-table td { padding:11px 12px; border-bottom:1px solid #ececef; vertical-align:middle; font-size:13.5px; color:#55555d; }
  .tc-table tr:last-child td { border-bottom:0; }
  .tc-table tbody tr { cursor:pointer; transition:background .15s; }
  .tc-table tbody tr:hover, .tc-table tbody tr.selected { background:#fff8f5; }
  .tc-property { color:var(--ink); font-size:14px; font-weight:800; }
  .tc-client { color:#888890; font-size:13px; margin-top:1px; }
  .tc-stage { display:inline-flex; border-radius:12px; padding:3px 7px; background:#eef6ff; color:#3975bc; font-size:11.5px; font-weight:800; }
  .tc-stage.coral { background:var(--coral-50); color:#be4927; }
  .tc-stage.teal { background:var(--teal-100); color:var(--teal-600); }
  .tc-progress { width:74px; height:5px; background:#e6e6e9; border-radius:5px; overflow:hidden; margin-bottom:4px; }
  .tc-progress span { display:block; height:100%; background:var(--teal-500); border-radius:5px; }
  .tc-progress-label { font:600 9px var(--mono); color:#85858d; }
  /* Milestone B (2026-09-26): Lone Wolf's own real phase label, shown in
     the pipeline table's Stage column for a synced row with no linked
     Ascent workspace yet -- see tcPipelineRow() in dashboard.js. Plain
     muted text, not a pill, so it doesn't read as a computed stage. */
  .tc-lw-phase-label { font-size:13.5px; color:#85858d; }
  .tc-risk { display:inline-flex; align-items:center; gap:5px; font-size:13px; font-weight:800; }
  .tc-risk:before { content:''; width:6px; height:6px; border-radius:50%; background:var(--teal-500); }
  .tc-risk.watch { color:#bf6a28; }
  .tc-risk.watch:before { background:#ee9a45; }
  .tc-risk.urgent { color:#c53f2e; }
  .tc-risk.urgent:before { background:#d9503f; box-shadow:0 0 0 3px rgba(217,80,63,.12); }
  .tc-attention { padding:0 14px; }
  .tc-attention-item { display:flex; gap:10px; padding:12px 0; border-bottom:1px solid #ececef; }
  .tc-attention-item:last-child { border-bottom:0; }
  .tc-attention-icon { width:29px; height:29px; border-radius:7px; background:var(--coral-50); color:var(--coral); display:flex; align-items:center; justify-content:center; flex:0 0 auto; }
  .tc-attention-main { min-width:0; flex:1; }
  .tc-attention-title { font-size:13.5px; font-weight:800; color:var(--ink); }
  .tc-attention-meta { font-size:13px; color:#85858d; margin-top:2px; }
  .tc-due { color:#c53f2e; font:700 9px var(--mono); white-space:nowrap; }
  .tc-assistant { background:linear-gradient(145deg,#fff 0%,#fff8f5 100%); }
  .tc-assistant-copy { padding:14px; color:#66666f; font-size:13.5px; }
  .tc-quick-grid { display:grid; grid-template-columns:1fr 1fr; gap:7px; margin-top:11px; }
  .tc-quick { border:1px solid var(--coral-100); background:#fff; color:#9e3e23; border-radius:7px; padding:9px; font:700 10px/1.3 'Inter',sans-serif; text-align:left; cursor:pointer; }
  .tc-quick:hover { background:var(--coral-50); }
  .tc-detail { padding:14px; }
  .tc-detail-top { display:flex; justify-content:space-between; gap:12px; margin-bottom:13px; }
  .tc-detail-address { color:var(--ink); font-size:14px; font-weight:900; }
  .tc-detail-party { color:#777780; font-size:13px; margin-top:2px; }
  .tc-detail-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
  .tc-detail-field { background:#f7f7f8; border-radius:7px; padding:9px; }
  .tc-detail-label { color:#92929a; font-size:11px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; }
  .tc-detail-value { color:var(--ink); font-size:13px; font-weight:700; margin-top:2px; }
  .tc-doc-panel { margin-top:16px; }
  .tc-doc-summary { color:#6f3d31; font-size:13px; font-weight:700; }
  .tc-doc-group-row td { padding:10px 12px 8px; background:var(--coral-50); border-top:1px solid var(--coral-100); border-bottom:1px solid var(--coral-100); cursor:default; }
  .tc-doc-group-row:first-child td { border-top:0; }
  .tc-doc-group { display:flex; align-items:center; justify-content:space-between; gap:12px; }
  .tc-doc-group-title { color:var(--ink); font-size:13.5px; font-weight:850; display:flex; align-items:center; gap:7px; }
  .tc-doc-group-title i { color:var(--coral-500); font-size:14px; }
  .tc-doc-group-note { color:var(--slate); font-size:11.5px; font-weight:600; }
  .tc-doc-name { display:flex; align-items:center; gap:8px; color:var(--ink); font-size:13.5px; font-weight:600; }
  .tc-doc-name i { color:#777780; font-size:15px; }
  .tc-doc-status { display:inline-flex; align-items:center; gap:5px; border-radius:12px; padding:3px 8px; font-size:11.5px; font-weight:800; }
  .tc-doc-status:before { content:''; width:6px; height:6px; border-radius:50%; background:currentColor; }
  .tc-doc-status.signed, .tc-doc-status.complete { background:var(--teal-100); color:var(--teal-600); }
  .tc-doc-status.pending { background:#fff4dc; color:#a46718; }
  .tc-doc-status.overdue { background:#fde7e2; color:#c53f2e; }
  .tc-doc-status.review { background:#eaf1ff; color:#3975bc; }
  .tc-doc-status.not-started { background:#eeeeF1; color:#73737c; }
  .tc-doc-action { border:0; background:none; color:var(--coral); font:700 10px 'Inter',sans-serif; cursor:pointer; margin-right:10px; padding:2px 1px; border-radius:3px; transition:color .12s ease, opacity .12s ease; }
  .tc-doc-action:last-child { margin-right:0; }
  .tc-doc-action:hover { color:var(--coral-700, #a8431f); text-decoration:underline; }
  .tc-doc-action:active { opacity:.6; }
  .tc-doc-action:focus-visible { outline:2px solid var(--coral-300); outline-offset:1px; }
  /* Manual "revert to pending" override (2026-09-17, Mark: "a way to
   * mark the form as unsigned... the user wants to manually override the
   * signed status") -- deliberately muted/slate rather than coral so it
   * doesn't read as just another forward status step next to Mark
   * signed/complete, and isn't the easiest thing in the row to click. */
  .tc-doc-action.tc-doc-action-revert { color:var(--slate); }
  .tc-doc-action.tc-doc-action-revert:hover { color:var(--ink); }
  /* Icon-only Preview/Download/Email buttons for the per-form structured
   * table (2026-09-25, Mark: the text-link version needed horizontal
   * scroll -- see tc-doc-forms-table below). title/aria-label carry the
   * label that used to be visible text, since only the icon shows now. */
  .tc-doc-icon-btn { border:0; background:none; color:var(--coral); font-size:14px; line-height:1; cursor:pointer; padding:4px 6px; border-radius:5px; transition:background .12s ease, color .12s ease; }
  .tc-doc-icon-btn:hover { background:#fdf0ea; color:var(--coral-700, #a8431f); }
  .tc-doc-icon-btn:active { opacity:.6; }
  .tc-doc-icon-btn:focus-visible { outline:2px solid var(--coral-300); outline-offset:1px; }
  /* Per-form status control, same table (2026-09-25) -- a native <select>
   * standing in for both the old plain .tc-doc-status pill AND the
   * separate Mark-sent/signed/complete text links, colored the same way
   * .tc-doc-status already is per status so it still reads as a status
   * pill, just one that's also the control. */
  .tc-doc-status-select { border:1px solid transparent; border-radius:12px; padding:3px 6px; font:800 9px 'Inter',sans-serif; color:inherit; cursor:pointer; }
  .tc-doc-status-select.signed, .tc-doc-status-select.complete { background:var(--teal-100); color:var(--teal-600); }
  .tc-doc-status-select.pending { background:#fff4dc; color:#a46718; }
  .tc-doc-status-select.overdue { background:#fde7e2; color:#c53f2e; }
  .tc-doc-status-select.review { background:#eaf1ff; color:#3975bc; }
  .tc-doc-status-select.not-started { background:#eeeeF1; color:#73737c; }
  .tc-doc-status-select:focus-visible { outline:2px solid var(--coral-300); outline-offset:1px; }
  /* External-vendor order-page menu (e.g. NHD's hazard-report providers).
   * Rebuilt 2026-09-25 as a <details>/<summary> disclosure instead of a
   * native <select> -- see tcVendorMenuHtml()'s header comment in
   * dashboard.js for the two real bugs (select-width-follows-widest-option;
   * the native focus ring overlapping the preceding label text) that a
   * <select> couldn't be fully fixed out of. Trigger styled like
   * .tc-doc-action's bare coral text-link, not a bordered button/pill --
   * this is a menu of outbound links, not a status or a form control. */
  .tc-vendor-menu { position:relative; display:inline-block; margin-right:10px; }
  .tc-vendor-menu summary { list-style:none; cursor:pointer; display:inline-flex; align-items:center; gap:3px; color:var(--coral); font:700 10px 'Inter',sans-serif; padding:2px 1px; border-radius:3px; }
  .tc-vendor-menu summary::-webkit-details-marker { display:none; }
  .tc-vendor-menu summary i.ti-chevron-down { font-size:11.5px; }
  .tc-vendor-menu:hover summary, .tc-vendor-menu[open] summary { color:var(--coral-700, #a8431f); }
  .tc-vendor-menu summary:focus-visible { outline:2px solid var(--coral-300); outline-offset:2px; }
  .tc-vendor-menu-list { position:absolute; left:0; top:calc(100% + 4px); z-index:80; min-width:190px; padding:5px; background:#fff; border:1px solid var(--border); border-radius:8px; box-shadow:0 12px 28px rgba(32,37,41,.14); }
  .tc-vendor-menu-list a { display:block; padding:8px 10px; border-radius:6px; color:var(--ink); font:700 11px 'Inter',sans-serif; text-decoration:none; white-space:nowrap; }
  .tc-vendor-menu-list a:hover { background:var(--off-white); color:var(--coral); }
  /* Compress with the window instead of clipping (2026-09-25, Mark:
   * the icons on the right were getting cut off as the browser window
   * narrowed, rather than the row shrinking along with it). The shared
   * .lw-table's min-width:1020px is sized for the wide Listings
   * Portfolio table; this compact 3-column form table (name / status /
   * icons) never needs that floor. And as a flex item inside
   * .tc-tl-doc-card-actions (display:flex;flex-wrap:wrap), its
   * .lw-table-scroll wrapper defaults to min-width:auto, so it
   * wouldn't shrink below that same 1020px content width either --
   * both together are why the row held its width and overflowed
   * instead of compressing. Dropping both floors lets table-layout:auto
   * size all three columns down together as the card narrows; only if
   * a genuinely long document name leaves no room at all does
   * .lw-table-scroll's own overflow:auto kick in as a last-resort
   * scroll, never a hard clip. */
  .tc-tl-doc-card-actions .lw-table-scroll { min-width:0; flex:1 1 100%; }
  .lw-table.tc-doc-forms-table { min-width:0; width:100%; table-layout:auto; }
  /* nowrap, not word-break (2026-09-25 follow-up, Mark: short codes
   * like "CR-S"/"CR-B1" were wrapping one letter per line, the trade-off
   * from an earlier pass at this same table today). A nowrap cell's
   * minimum content width is just its own text, so it no longer competes
   * for space the way a wrappable cell did -- table-layout:auto still
   * sizes the other two columns (status select, action icons) around it,
   * and the table as a whole still shrinks with the card; a genuinely
   * long name just widens the row (falling back to .lw-table-scroll's
   * own overflow:auto if that's more than the card can hold) rather than
   * wrapping letter-by-letter. */
  .tc-doc-forms-table .tc-doc-form-inline-name { white-space:nowrap; margin-right:6px; }
  .tc-doc-forms-table-actions { white-space:nowrap; }
  /* Remove-attached-form action (2026-09-23, Mark: ability to delete
     attached forms) -- same destructive-red palette as .tc-btn.danger
     (#b23b35/#8f2c26), scaled down to .tc-doc-action's own bare-text size. */
  .tc-doc-action.tc-doc-action-danger { color:#D85A30; }
  .tc-doc-action.tc-doc-action-danger:hover { color:#B4441F; }
  .tc-doc-icon-btn.tc-doc-action-danger { color:#D85A30; }
  .tc-doc-icon-btn.tc-doc-action-danger:hover { color:#D85A30; background:#FDE7E2; }
  .tc-attach-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:9px 4px; border-bottom:1px solid var(--border); font-size:14px; }
  .tc-attach-row:last-child { border-bottom:none; }
  .tc-attach-label { display:flex; flex-direction:column; gap:2px; flex:1; min-width:0; }
  .tc-attach-name { color:var(--ink); font-weight:700; }
  .tc-attach-code { color:var(--slate); font-size:11.5px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }
  /* Merge into one single table (2026-09-12): the Transaction documents
     table's "Attached form" / Actions cells, once they can show a real
     zipForm form (or several) matched to a checklist row instead of the
     old always-'—' placeholder columns. */
  .tc-doc-form-chip { display:flex; align-items:center; gap:5px; font-size:13.5px; font-weight:700; color:var(--ink); padding-bottom:7px; margin-bottom:7px; border-bottom:1px dashed var(--border); }
  .tc-doc-form-chip:last-child { padding-bottom:0; margin-bottom:0; border-bottom:0; }
  .tc-doc-form-chip i { color:var(--teal-600); font-size:14px; }
  .tc-doc-form-empty { color:var(--slate); font-size:13.5px; font-style:italic; margin-right:8px; }
  .tc-doc-form-actionrow { display:flex; flex-wrap:wrap; align-items:center; padding-bottom:7px; margin-bottom:7px; border-bottom:1px dashed var(--border); }
  .tc-doc-form-actionrow:last-child { padding-bottom:0; margin-bottom:0; border-bottom:0; }

  /* Row actions as plain text links, not pills (2026-09-13, Mark: the
   * pill version -- tried first -- read as too crowded with three of them
   * stacked/wrapped per row). Back to .tc-doc-action's own bare-text style
   * (shared with several unrelated buttons elsewhere in this file, so left
   * untouched), with a thin middot separator between actions on the same
   * row so "Preview Download Email to client" doesn't read as one run-on
   * phrase -- .tc-doc-action's own margin-right is zeroed out here since
   * the separator span now carries the spacing instead. */
  .tc-doc-form-actionrow .tc-doc-action { margin-right:0; }
  .tc-doc-action-sep { color:var(--slate); font-size:13px; margin:0 7px; }

  /* Parties card grid (2026-09-13) -- replaces .lw-key-value's full-width
   * label/value rows, which spread a short label and a short value across
   * the entire panel width once it stopped being a narrow sidebar. Cards
   * wrap into however many columns fit instead of stretching one pair
   * across the whole row. */
  .tc-party-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(230px,1fr)); gap:10px; }
  .tc-party-card { border:1px solid var(--border); border-radius:9px; padding:11px 12px; background:var(--card-hi); display:flex; flex-direction:column; gap:2px; }
  .tc-party-role { font-size:11.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--slate); font-weight:800; }
  .tc-party-name { font-size:14px; font-weight:800; color:var(--ink); margin-top:2px; }
  .tc-party-detail { font-size:13px; color:var(--muted); line-height:1.4; }
  .tc-party-detail.missing { color:#c53f2e; }
  .tc-party-actions { display:flex; gap:12px; margin-top:7px; }
  @media (max-width:480px) { .tc-party-grid { grid-template-columns:1fr; } }

  /* Parties table (2026-09-13, Mark: picked "option 2" from the Parties
   * redesign mockups, restyled to match the coral-header / alternating-row
   * look of the Documents table -- these rows render inside .lw-table
   * directly, so this block is just the cell-level bits .lw-table doesn't
   * already cover: the role pill, the secondary company line, and the
   * stacked email/phone contact cell. The old .tc-party-grid/.tc-party-card
   * rules above are unused now but left in place in case a card view is
   * wanted again later. */
  /* Option 1 (2026-09-25, Mark's pick from the header-treatment
   * mockups): the Parties pop-up's own coral title bar (.tc-modal-head,
   * Ascent_Dashboard.html) already carries the color, so this table's
   * header row -- otherwise coral-200 via the shared .lw-table th rule
   * in listings-workspace.css -- goes plain here instead of stacking a
   * second coral band right underneath it. Scoped to tc-parties-table
   * specifically so every other .lw-table (Documents, Transactions,
   * Forms...) keeps its coral header unchanged. */
  .tc-parties-table th { background:none; border-bottom:1px solid var(--border); }
  .tc-party-role-pill { display:inline-flex; font-size:12px; font-weight:800; padding:3px 9px; border-radius:20px; background:var(--card-hi); color:var(--dim); white-space:nowrap; }
  .tc-party-company { color:var(--slate); font-size:13px; margin-top:1px; }
  .tc-party-contact { display:flex; flex-direction:column; gap:2px; font-size:13px; }
  .tc-party-contact a { color:var(--muted); text-decoration:none; }
  .tc-party-contact a:hover { color:var(--coral); text-decoration:underline; }
  .tc-party-contact .tc-party-detail.missing { font-size:13px; }
  /* Action links in the Actions column vary in label length ("Edit" vs
   * "Add email"), which pushed "Remove" to a different x-position row to
   * row (Mark, 2026-09-13: "edit/remove/add email looks out of
   * alignment"). Fixing the first action's width lines up the separator
   * and Remove consistently down the column. */
  /* Icon-only Edit/Remove (2026-09-25) -- .tc-party-action-primary's
   * fixed min-width existed only to keep "Edit" and "Add email" (the
   * two text labels the same button could show) from shifting the
   * Remove link's position; icon buttons are a fixed size regardless of
   * which title they carry, so that's no longer needed. */
  .tc-party-actions-cell { display:inline-flex; align-items:center; gap:2px; }

  /* Vendors directory table + role chips (2026-09-13, Option 2 of Mark's
   * three mockups -- without the gap-check banner, which he asked to
   * drop). Table itself reuses .lw-table/.lw-table-scroll for visual
   * consistency with every other data table in the app; these are just
   * the filter chips and the vendor-cell contents. */
  .tc-vendor-chips { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:14px; }
  .tc-vendor-chip { border:1px solid var(--border); background:#fff; color:var(--slate); font:700 11px 'Inter',sans-serif; padding:7px 13px; border-radius:999px; cursor:pointer; display:inline-flex; align-items:center; gap:6px; }
  .tc-vendor-chip:hover { border-color:var(--coral-200); color:var(--ink); }
  .tc-vendor-chip .n { font-size:12px; background:var(--card-hi); color:var(--dim); padding:1px 6px; border-radius:20px; }
  .tc-vendor-chip.active { background:var(--ink); border-color:var(--ink); color:#fff; }
  .tc-vendor-chip.active .n { background:rgba(255,255,255,.2); color:#fff; }
  .tc-vendor-role-pill { display:inline-flex; font-size:12px; font-weight:800; padding:3px 9px; border-radius:20px; background:var(--card-hi); color:var(--dim); white-space:nowrap; }
  .tc-vendor-name { font-weight:500; color:var(--ink); font-size:14px; } /* regular weight, not bold (Mark, 2026-10-25) */
  .tc-vendor-company { color:var(--slate); font-size:13px; margin-top:1px; }
  .tc-vendor-contact { display:flex; flex-direction:column; gap:2px; font-size:13px; }
  .tc-vendor-contact a { color:var(--muted); text-decoration:none; }
  .tc-vendor-contact a:hover { color:var(--coral); text-decoration:underline; }
  /* 2026-09-26 -- Mark changed his mind on making the business name itself
     a link: name stays plain text, this small icon-only button (shown only
     when the row has a website) opens the site in a new tab instead. */
  .tc-vendor-site-link { display:inline-flex; align-items:center; justify-content:center; width:16px; height:16px; margin-left:4px; color:var(--muted); vertical-align:-2px; }
  .tc-vendor-site-link:hover { color:var(--coral); }
  .tc-vendor-site-link .ti { font-size:14px; }
  /* 2026-09-26 -- Mark: "I also need a way to edit each of these existing
     entries." Same small icon-button treatment as the site-link above,
     right next to it. */
  .tc-vendor-edit-btn { display:inline-flex; align-items:center; justify-content:center; width:16px; height:16px; margin-left:2px; padding:0; border:0; background:none; color:var(--muted); vertical-align:-2px; cursor:pointer; }
  .tc-vendor-edit-btn:hover { color:var(--coral); }
  .tc-vendor-edit-btn .ti { font-size:14px; }

  /* Vendors tab accordion sections (2026-09-26) -- Mark picked
     "Collapsible sections (accordion)" from three header-compression
     mockups: each section is its own bordered, clickable bar (chevron +
     label + count) that expands/collapses independently. A section with
     rows opens by default; an empty one starts collapsed to a single thin
     bar. See tcVendorAccordionSectionHTML()/tcToggleVendorSection() in
     dashboard.js. */
  .tc-vendor-acc-section { border:1px solid var(--border); border-radius:8px; margin-bottom:8px; overflow:hidden; background:#fff; }
  .tc-vendor-acc-head { display:flex; align-items:center; gap:8px; padding:9px 13px; background:var(--off-white); cursor:pointer; }
  .tc-vendor-acc-head:hover { background:var(--card-hi); }
  .tc-vendor-acc-chev { display:inline-flex; align-items:center; justify-content:center; width:14px; font-size:13.5px; color:var(--muted); }
  .tc-vendor-acc-label { flex:1; font:800 10px 'Inter',sans-serif; text-transform:uppercase; letter-spacing:.06em; color:var(--dim); }
  .tc-vendor-acc-count { font:700 9.5px 'Inter',sans-serif; background:rgba(17,17,20,.08); color:var(--dim); padding:2px 8px; border-radius:20px; }
  .tc-vendor-acc-body { display:none; border-top:1px solid var(--border); }
  .tc-vendor-acc-section.open .tc-vendor-acc-body { display:block; }
  .tc-vendor-acc-empty { padding:12px 13px; font-size:13.5px; color:var(--muted); }
  .tc-vendor-acc-table { margin:0; }
  .tc-toast { position:fixed; right:24px; bottom:24px; z-index:2000; background:#fff; color:var(--ink); border:1px solid #FCD1C7; border-left:4px solid var(--coral-500,#D85A30); box-shadow:0 12px 32px rgba(17,17,20,.18); border-radius:10px; padding:10px 14px; font-size:13.5px; font-weight:600; opacity:0; transform:translateY(8px); pointer-events:none; transition:.2s; }
  .tc-toast.show { opacity:1; transform:translateY(0); }
  .tc-modal-overlay { position:fixed; inset:0; z-index:1800; display:none; align-items:center; justify-content:center; padding:24px; background:rgba(17,17,20,.68); backdrop-filter:blur(5px); }
  .tc-modal-overlay.open { display:flex; }
  /* 2026-09-22 fix: tc-party-modal (Add/Edit party -- includes the
   * row-level "Add email"/"Edit" action) can be opened WHILE
   * tc-parties-full-modal is still open behind it (tcRenderParties()'s
   * per-row button calls tcOpenPartyModal() directly, without closing the
   * full Parties list first -- unlike the list's own footer "Add party"
   * button, which does close it first). Every .tc-modal-overlay shares the
   * same z-index:1800, so with two open at once the LATER one in DOM
   * order wins the tie -- and tc-parties-full-modal is defined after
   * tc-party-modal in Ascent_Dashboard.html, so it was winning and
   * burying the newly-opened edit modal behind itself (Mark, live test:
   * clicking "Add email" showed the email field hidden behind the Parties
   * list). Giving tc-party-modal its own higher z-index makes it always
   * stack on top, whether opened alone or from within the Parties list. */
  #tc-party-modal { z-index:1850; }
  .tc-modal { width:min(1040px,100%); max-height:92vh; overflow:hidden; background:#fff; border:1px solid var(--border); border-radius:16px; box-shadow:0 28px 80px rgba(0,0,0,.28); display:flex; flex-direction:column; }
  .tc-modal-head { padding:17px 20px; background:var(--coral-200); border-bottom:1px solid var(--coral-300); display:flex; align-items:center; justify-content:space-between; gap:16px; }
  .tc-modal-title { color:var(--ink); font-size:18px; font-weight:900; display:flex; align-items:center; gap:9px; }
  /* Standing rule (Mark, 2026-10-01): a coral-headed pop-up's subtitle is
     always var(--ink) (black), never a tinted/muted color -- matches the
     same rule on .lw-modal-coral .lw-modal-head p in
     css/listings-workspace.css, the other coral-header family. */
  .tc-modal-sub { color:var(--ink); font-size:13px; font-weight:650; margin-top:2px; }
  .tc-modal-close { width:32px; height:32px; border:1px solid rgba(216,90,48,.3); border-radius:8px; background:rgba(255,255,255,.65); color:var(--ink); cursor:pointer; font-size:16px; }
  .tc-modal-body { padding:20px; overflow:auto; }
  /* 2026-11-13: compose modals wrap body+foot in a form div (#op-request-form, #tc-notify-compose-form). Without this the wrapper grew past .tc-modal's 92vh cap and overflow:hidden clipped the footer (Send/Cancel) instead of scrolling the body. */
  #op-request-form, #tc-notify-compose-form { display:flex; flex-direction:column; flex:1 1 auto; min-height:0; }
  #op-request-form .tc-modal-body, #tc-notify-compose-form .tc-modal-body { flex:1 1 auto; min-height:0; }
  #op-request-form .tc-modal-foot, #tc-notify-compose-form .tc-modal-foot { flex:0 0 auto; }
  .tc-modal-foot { padding:13px 20px; border-top:1px solid var(--border); background:var(--off-white); display:flex; align-items:center; justify-content:space-between; gap:12px; }
  .tc-modal-foot-note { color:var(--slate); font-size:13px; }
  .tc-modal-actions { display:flex; gap:8px; }
  .tc-close-date-input { width:100%; min-height:44px; padding:10px 12px; border:1px solid var(--border); border-radius:8px; background:#fff; color:var(--ink); font:600 14px 'Inter',sans-serif; }
  .tc-close-date-input:focus { outline:2px solid rgba(216,90,48,.2); border-color:var(--coral); }
  .tc-close-date-note { margin:9px 0 0; color:var(--slate); font-size:14px; line-height:1.45; }
  .tc-record-head-actions { margin-left:auto; display:flex; align-items:center; gap:8px; }
  /* Blocked-complete notice (2026-09-25) -- bullet list of nested
   * transaction_documents rows that still need to be completed before a
   * transaction_deadlines milestone can be marked complete. Plain <ul>
   * inside .tc-modal-body otherwise inherits default browser list
   * styling (indent, disc bullets) that doesn't match the rest of the
   * app's card/list surfaces. */
  .tc-blocked-complete-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px; }
  .tc-blocked-complete-list li { display:flex; align-items:center; gap:8px; padding:8px 12px; background:var(--off-white); border:1px solid var(--border); border-radius:8px; color:var(--ink); font-size:14px; font-weight:650; }
  .tc-blocked-complete-list li::before { content:''; width:7px; height:7px; border-radius:50%; background:var(--coral-500); flex:none; }
  /* Milestone 26 (2026-09-11): the period text + Copy/Download actions
   * that used to sit in the modal's own header row, now the first row
   * inside the Weekly Digest tab's body. */
  .tc-digest-panel-meta { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:14px; }
  .tc-digest-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-bottom:17px; }
  .tc-digest-stat { padding:12px; border:1px solid var(--coral-100); border-radius:9px; background:var(--coral-50); }
  .tc-digest-stat strong { display:block; color:var(--ink); font-size:20px; line-height:1.1; }
  .tc-digest-stat span { display:block; color:var(--slate); font-size:11.5px; font-weight:750; text-transform:uppercase; letter-spacing:.06em; margin-top:4px; }
  .tc-digest-section { margin-top:17px; }
  .tc-digest-section-title { color:var(--ink); font-size:14px; font-weight:850; margin-bottom:8px; display:flex; align-items:center; gap:7px; }
  .tc-digest-table { width:100%; border-collapse:collapse; }
  /* Mark, 2026-09-11: coral-200 to match the coral bar behind the
   * "Weekly digest"/"Review timeline" card titles, instead of the
   * plain off-white/gray this inherited before. */
  .tc-digest-table th { padding:8px 10px; background:var(--coral-200); color:var(--ink); border-bottom:1px solid var(--border); text-align:left; font-size:11px; letter-spacing:.07em; text-transform:uppercase; }
  .tc-digest-table td { padding:10px; border-bottom:1px solid var(--light-gray); color:var(--slate); font-size:13px; vertical-align:top; }
  .tc-digest-table td strong { color:var(--ink); font-size:13.5px; }
  .tc-digest-attention { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
  .tc-digest-alert { padding:10px 11px; border:1px solid var(--coral-100); border-radius:8px; background:var(--coral-50); }
  .tc-digest-alert strong { display:block; color:var(--ink); font-size:13px; }
  .tc-digest-alert span { display:block; color:var(--slate); font-size:11.5px; margin-top:2px; }
  .tc-timeline-toolbar { display:flex; gap:9px; align-items:center; margin-bottom:16px; flex-wrap:wrap; }
  .tc-timeline-toolbar label { color:var(--slate); font-size:11.5px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
  .tc-timeline-filter { min-width:170px; border:1px solid var(--border); border-radius:7px; padding:8px 10px; background:#fff; color:var(--ink); font:600 11px 'Inter',sans-serif; }
  .tc-timeline-status-group { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
  .tc-timeline-check { display:flex; align-items:center; gap:5px; color:var(--ink); font:600 11px 'Inter',sans-serif; cursor:pointer; user-select:none; }
  .tc-timeline-check input { accent-color:var(--coral); width:13px; height:13px; cursor:pointer; }
  .tc-timeline-list { position:relative; padding-left:26px; }
  /* Mark, 2026-09-11: the line used to be one continuous bar spanning the
   * whole list (top:8px to bottom:8px of the container), which ran past
   * the last event's dot into the trailing whitespace below it. Switched
   * to a per-event connector segment (dot -> next dot) so the last event
   * -- which gets no :after segment -- has nothing continuing past its
   * own dot. Mirrors the .tc-tl-item:not(.tc-tl-last):before pattern used
   * for the per-transaction detail Timeline card. */
  .tc-timeline-event:not(:last-child):after { content:''; position:absolute; left:-18px; top:10px; bottom:-10px; width:2px; background:var(--coral-100); z-index:1; }
  .tc-timeline-event { position:relative; display:grid; grid-template-columns:86px 150px minmax(0,1fr) auto; gap:12px; align-items:start; padding:0 0 15px 0; }
  .tc-timeline-event:before { content:''; position:absolute; left:-22px; top:5px; width:10px; height:10px; border-radius:50%; background:var(--coral-300); border:2px solid #fff; box-shadow:0 0 0 2px var(--coral-100); z-index:2; }
  .tc-timeline-event.urgent:before { background:var(--coral-500); box-shadow:0 0 0 2px var(--coral-200); }
  .tc-timeline-event.complete:before { background:var(--teal-500); box-shadow:0 0 0 2px var(--teal-100); }
  .tc-timeline-date { color:var(--slate); font:700 9px var(--mono); }
  .tc-timeline-address { color:var(--ink); font-size:14px; font-weight:900; line-height:1.3; overflow-wrap:break-word; display:flex; align-items:center; gap:7px; }

  /* Mark, 2026-09-11 (Milestone 26): Review Timeline can now be grouped
   * by property instead of flat chronological order (Date/Property
   * toggle in the toolbar). Both modes use the SAME brand-color rotation
   * per property, assigned by tcTimelinePropertyColorIndex() in
   * dashboard.js -- Date mode shows it as a small swatch next to the
   * address, Property mode uses it as the group header background.
   * Colors are the official Ascent brand palette ONLY (see the brand
   * sheet Mark provided 2026-09-11, saved to the project as
   * claude/ascent-brand-color-palette-2026-09-11.md). Mark asked
   * (2026-09-11, same day) to use the Neutral family specifically rather
   * than a mix of coral/teal/neutral -- charcoal, slate, gray, light-gray,
   * off-white, in that order (the brand sheet's own dark-to-light
   * sequence), cycling if a 6th property ever shows up (typical caseload
   * is 4-5 active files). Gray/light-gray/off-white are too pale for
   * white text, so indices 2-4 switch to ink text + a visible border --
   * see .tc-timeline-color-2/-3/-4's paired rules below. */
  .tc-timeline-group-toggle { display:flex; border:1px solid var(--border); border-radius:7px; overflow:hidden; }
  .tc-group-toggle-btn { border:none; background:#fff; color:var(--slate); font:700 10.5px 'Inter',sans-serif; padding:7px 12px; cursor:pointer; }
  .tc-group-toggle-btn + .tc-group-toggle-btn { border-left:1px solid var(--border); }
  .tc-group-toggle-btn.active { background:var(--ink); color:#fff; }
  /* Swatches (Date view) always get a faint inner ring -- invisible on
   * the dark colors, but load-bearing on the pale ones (light-gray,
   * off-white) so they don't disappear against the white row background. */
  .tc-timeline-swatch { display:inline-block; width:9px; height:9px; border-radius:2.5px; flex:none; box-shadow:inset 0 0 0 1px rgba(17,17,20,.18); }
  .tc-timeline-color-0 { background:var(--charcoal); }
  .tc-timeline-color-1 { background:var(--slate); }
  .tc-timeline-color-2 { background:var(--gray); }
  .tc-timeline-color-3 { background:var(--light-gray); }
  .tc-timeline-color-4 { background:var(--off-white); }
  .tc-timeline-group { border:1px solid var(--border); border-radius:10px; margin-bottom:14px; overflow:hidden; }
  .tc-timeline-group:last-child { margin-bottom:0; }
  .tc-timeline-group-head { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 14px; font:800 12px 'Inter',sans-serif; color:#fff; }
  /* gray/light-gray/off-white (indices 2-4) are too pale for white text --
   * switch to ink text, a subtle dark count-pill, and a bottom border so
   * the header still reads as a distinct band above the white card body
   * (this matters most for off-white, which is nearly the same white as
   * the body below it). */
  .tc-timeline-group-head.tc-timeline-color-2,
  .tc-timeline-group-head.tc-timeline-color-3,
  .tc-timeline-group-head.tc-timeline-color-4 { color:var(--ink); border-bottom:1px solid var(--border); }
  .tc-timeline-group-count { font:700 9.5px 'Inter',sans-serif; background:rgba(255,255,255,.25); padding:3px 9px; border-radius:20px; white-space:nowrap; }
  .tc-timeline-group-head.tc-timeline-color-2 .tc-timeline-group-count,
  .tc-timeline-group-head.tc-timeline-color-3 .tc-timeline-group-count,
  .tc-timeline-group-head.tc-timeline-color-4 .tc-timeline-group-count { background:rgba(17,17,20,.08); color:var(--ink); }
  .tc-timeline-group-body { position:relative; padding:10px 14px 4px 26px; }
  .tc-timeline-event--grouped { grid-template-columns:70px minmax(0,1fr) auto; }
  .tc-timeline-title { color:var(--ink); font-size:13.5px; font-weight:800; }
  .tc-timeline-meta { color:#7b7b83; font-size:11.5px; margin-top:2px; }
  .tc-timeline-empty { padding:32px; text-align:center; color:var(--slate); font-size:13.5px; }
  @media (max-width:1050px) { .tc-layout { grid-template-columns:1fr; grid-template-areas:'pipeline' 'selected' 'attention' 'ask'; } .tc-stats { grid-template-columns:repeat(2,1fr); } }
  @media (max-width:720px) { .tc-toolbar { flex-direction:column; } .tc-actions { justify-content:flex-start; } .tc-stats { grid-template-columns:1fr 1fr; } .tc-detail-grid { grid-template-columns:1fr 1fr; } .tc-modal-overlay{padding:0}.tc-modal{height:100vh;max-height:none;border-radius:0}.tc-digest-stats{grid-template-columns:1fr 1fr}.tc-digest-attention{grid-template-columns:1fr}.tc-timeline-event{grid-template-columns:72px minmax(0,1fr)}.tc-timeline-event .tc-timeline-address,.tc-timeline-event .tc-timeline-body,.tc-timeline-event .tc-doc-status{grid-column:2}.tc-modal-foot{align-items:stretch;flex-direction:column}.tc-modal-actions{display:grid;grid-template-columns:1fr 1fr} }


  /* Milestone 18 (2026-09-10): progress ring for the merged Transactions
   * list + detail workspace -- conic-gradient ring reusing .tc-progress's
   * existing track/fill colors so it reads as the same "progress" concept,
   * not a new visual language. */
  .tc-ring { --pct:0; width:60px; height:60px; border-radius:50%; flex:0 0 auto; background:conic-gradient(var(--teal-500) calc(var(--pct)*1%), #e6e6e9 0); display:flex; align-items:center; justify-content:center; }
  .tc-ring span { width:46px; height:46px; border-radius:50%; background:#fff; display:flex; align-items:center; justify-content:center; font:800 12px var(--mono); color:var(--ink); }

  /* Milestone 19 (2026-09-10): Contract/Inspection/Loan/Appraisal/Close
   * stage rail (tcStageRail() in dashboard.js) -- replaces the plain
   * "Stage" text pill + separate Close/Progress-bar columns, per Mark's
   * chosen mockup direction rebuilt on this app's existing white/light
   * theme. Rail colors reuse the teal/coral vocabulary already used
   * elsewhere on this page rather than a new palette; the risk pill reuses
   * .lw-status.on-track/.needs-attention, already defined in
   * css/listings-workspace.css. */
  .tc-rail { display:flex; align-items:flex-start; padding-right:10px; }
  /* Milestone 22 follow-up (2026-09-10): the connecting line is drawn as
   * two half-width pseudo-elements per step (::before spans from the step's
   * own left edge to its dot's center, ::after from the dot's center to the
   * step's right edge) instead of separate flex "connector" spans between
   * steps. Connector spans always left a visible gap on either side of every
   * dot -- the dot sits centered inside a step box sized by its own label's
   * width, so the connector's flex-filled space never actually reached the
   * dot, and the line read as a row of dashes instead of one continuous
   * line even after Milestone 22's width bump. Anchoring each half to its
   * own step's padding box guarantees the line runs edge-to-edge behind
   * every dot, regardless of label width -- verified against both the
   * pipeline table (360px Stage column) and the detail-page hero rail. */
  .tc-rail-step { display:flex; flex-direction:column; align-items:center; gap:5px; flex:0 0 auto; min-width:48px; padding:0 10px; position:relative; }
  .tc-rail-step:first-child { padding-left:0; }
  .tc-rail-step:last-child { padding-right:0; }
  .tc-rail-step::before, .tc-rail-step::after { content:''; position:absolute; top:6px; height:2px; background:var(--border); z-index:0; }
  .tc-rail-step::before { left:0; right:50%; }
  .tc-rail-step::after { left:50%; right:0; }
  .tc-rail-step:first-child::before, .tc-rail-step:last-child::after { content:none; }
  .tc-rail-step.tc-rail-line-left-done::before { background:var(--teal-500); }
  .tc-rail-step.tc-rail-line-right-done::after { background:var(--teal-500); }
  .tc-rail-dot { width:11px; height:11px; border-radius:50%; background:var(--card-hi); border:2px solid var(--border); display:block; position:relative; z-index:1; }
  .tc-rail-step.tc-rail-done .tc-rail-dot { background:var(--teal-500); border-color:var(--teal-500); }
  .tc-rail-step.tc-rail-current .tc-rail-dot { background:var(--coral); border-color:var(--coral); box-shadow:0 0 0 3px rgba(216,90,48,.18); }
  .tc-rail-label { font-size:11.5px; color:var(--muted); white-space:nowrap; }
  .tc-rail-step.tc-rail-current .tc-rail-label { color:var(--coral); font-weight:800; }
  .tc-rail-step.tc-rail-done .tc-rail-label { color:var(--dim); }
  .tc-rail-precontract { display:flex; align-items:center; gap:6px; }
  .tc-rail-precontract .tc-rail-dot { width:9px; height:9px; background:var(--coral); border:none; }
  .tc-rail-active-label { font-size:13.5px; font-weight:800; color:var(--coral); }
  .lw-hero-info .tc-rail { margin:7px 0 2px; }
  @media (max-width:900px) { .tc-rail-label { display:none; } }

  /* Milestone 23 (2026-09-10), Option B: slim detail-page header (address,
   * status, key stats) replacing the old hero-photo + record-grid layout. */
  .tc-detail-header { display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:14px; }
  .tc-detail-heading { display:flex; align-items:center; gap:12px; min-width:0; }
  .tc-detail-heading h2 { font-size:17px; font-weight:900; color:var(--ink); display:flex; align-items:center; flex-wrap:wrap; }
  .tc-detail-heading p { color:var(--slate); font-size:13.5px; margin-top:2px; }
  .tc-detail-heading .lw-status { margin-top:6px; display:inline-block; }
  .tc-ring-sm { width:44px; height:44px; }
  .tc-ring-sm span { width:34px; height:34px; font-size:13px; }
  .tc-detail-stats { display:flex; gap:22px; flex-wrap:wrap; }
  .tc-detail-stat { display:flex; flex-direction:column; gap:2px; }
  .tc-detail-stat strong { font-size:14px; font-weight:800; color:var(--ink); }
  .tc-detail-stat span { font-size:11.5px; color:var(--slate); text-transform:uppercase; letter-spacing:.05em; }
  .tc-detail-actions { display:flex; gap:8px; flex-wrap:wrap; align-self:flex-start; }

  /* Per-transaction dated timeline (tcBuildTimeline() in dashboard.js).
   * Mirrors the absolutely-positioned :before connector-line technique
   * already used by .lw-activity-item in listings-workspace.css (proven
   * working in this app) rather than a new CSS-grid stretch approach. */
  .tc-timeline { display:flex; flex-direction:column; }
  /* Fixed (not auto-growing) status column (2026-09-14, Mark: picked
   * "Option 2" from the Full timeline mockups) -- the old trailing
   * `auto` track grew to soak up every pixel of leftover width once this
   * panel got wider than its content, dragging the status pill out to
   * the far edge with a huge dead gap before it. A fixed 104px keeps it
   * planted right after the content column regardless of panel width. */
  .tc-tl-item { position:relative; display:grid; grid-template-columns:64px 20px minmax(0,1fr) 104px; column-gap:12px; align-items:start; padding-bottom:18px; }
  .tc-tl-item.tc-tl-last { padding-bottom:0; }
  .tc-tl-item:not(.tc-tl-last):before { content:''; position:absolute; left:85px; top:16px; bottom:-2px; width:2px; background:var(--border); }
  .tc-tl-item.tc-tl-line-done:before { background:var(--teal-500); }
  .tc-tl-date { font:700 10px var(--mono); color:var(--slate); padding-top:2px; white-space:nowrap; }
  .tc-tl-node { position:relative; z-index:1; display:flex; justify-content:center; padding-top:2px; }
  .tc-tl-dot { width:10px; height:10px; border-radius:50%; background:var(--card-hi); border:2px solid var(--border); }
  .tc-tl-dot.done { background:var(--teal-500); border-color:var(--teal-500); }
  .tc-tl-content { min-width:0; }
  .tc-tl-title { font-size:14px; font-weight:800; color:var(--ink); }
  .tc-tl-meta { font-size:13px; color:var(--slate); margin-top:1px; }
  /* Milestone 25 (2026-09-11): documents nested under a Timeline row --
   * date + status + the document that satisfies it, in one row.
   *
   * Redesigned 2026-09-14 (Mark: "Option 2" from the mockups, but each
   * document on its own line -- the mockup's 2-up grid was just an
   * example of using the width the fixed status column frees up, not
   * something Mark wanted here) -- one flex row per document, full width,
   * with a subtle divider between them (the part of that mockup he did
   * want) instead of the old shared-grid trick that kept every pill in
   * one column. */
  .tc-tl-docs { margin-top:8px; }
  .tc-tl-doc { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:6px 0; border-bottom:1px solid var(--off-white); font-size:13px; color:var(--ink); }
  .tc-tl-doc:last-child { border-bottom:0; padding-bottom:0; }
  /* Status text de-pilled (2026-09-14, Mark: didn't like the bordered pill
   * look here) -- .tc-doc-status's shared background/padding/border-radius
   * are stripped just inside .tc-tl-doc, leaving its per-status color and
   * dot (:before, still inherited) so Overdue/Signed/etc. still stand out
   * from the muted default Not-started text, just without the chip chrome. */
  .tc-tl-doc .tc-doc-status { background:none; padding:0; border-radius:0; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; white-space:nowrap; }

  /* Full merge of Documents into Timeline (2026-09-16, Mark: "each
   * milestone row contains its real documents directly, with their
   * send/sign/complete actions nested inside... one view, no switching,
   * ever"). Replaces the .tc-tl-docs/.tc-tl-doc jump-link chips above for
   * real (non-demo, non-Lone-Wolf) transactions -- those rules are left
   * in place rather than deleted (harmless, unused) since nothing renders
   * them anymore once tcBuildTimeline() stopped emitting .tc-tl-doc rows.
   * tcDocumentCardHtml()/tcOtherFormCardHtml() in dashboard.js build
   * these cards with the exact same Preview/Download/Email-to-client/
   * manual-status actions the old flat Documents tab had -- nothing
   * lost, just relocated to live where the document actually belongs. */
  .tc-tl-doc-cards { display:flex; flex-direction:column; gap:8px; margin-top:10px; }
  .tc-tl-doc-card { background:var(--off-white); border:1px solid var(--border); border-radius:8px; padding:10px 12px; }
  .tc-tl-doc-card-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
  .tc-tl-doc-card-meta { font-size:13px; color:var(--slate); margin:3px 0 8px; }
  .tc-tl-doc-card-forms:empty, .tc-tl-doc-card-actions:empty { display:none; }
  .tc-tl-doc-card-forms { margin-bottom:2px; }
  .tc-tl-doc-card-actions { display:flex; flex-wrap:wrap; align-items:center; row-gap:6px; column-gap:4px; }

  /* Compact card layout (2026-09-17, Mark's Option 2 pick) -- a form's
   * name and its own Preview/Download/Email actions share one inline
   * row instead of a separate bordered chip row plus a separate bordered
   * action row. tc-doc-form-inline-block forces a form onto its own line
   * (flex-basis:100%) for the multi-form case (e.g. AVID-1 + AVID-2) so
   * they stay readable; the single-form case has no such rule and just
   * flows inline with everything else on the row, including the
   * Mark-signed/complete controls appended to it. */
  .tc-doc-form-inline { display:inline-flex; flex-wrap:wrap; align-items:center; gap:0; }
  .tc-doc-form-inline-block { flex-basis:100%; }
  .tc-doc-form-inline-name { display:inline-flex; align-items:center; gap:5px; font-size:13.5px; font-weight:700; color:var(--ink); margin-right:10px; }
  .tc-doc-form-inline-name i { color:var(--teal-600); font-size:14px; }

  /* Leading group ("Contract & escrow documents") above the timeline, for
   * documents with no deadline_type match and no agent-assigned timeline
   * date yet, and the trailing "Other attached forms" group after it for
   * zipForm forms attached to this transaction that don't match any
   * transaction_documents checklist row. Same card treatment as inside a
   * milestone -- just outside the rail's date/dot columns, since neither
   * group has a milestone date of its own. */
  .tc-tl-leading { margin-bottom:18px; }
  .tc-tl-leading.tc-tl-trailing { margin-top:18px; margin-bottom:0; }
  .tc-tl-leading-head { font-size:13px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; color:var(--slate); margin-bottom:8px; }

  /* Optional agent-assigned date (2026-09-17, Mark: "add the documents
   * that don't have any milestone to the timeline by optionally assigning
   * a date to them") for a document with no contract milestone of its own
   * (RPA, escrow instructions, prelim title report, etc.) -- lets it
   * graduate from the leading "no milestone yet" group into its own dated
   * row on the timeline, sorted in with the real deadlines, without
   * inventing a fake milestone/deadline_type for it. Shown only on a card
   * whose document has no deadline_type -- a milestone-matched document
   * already has a timeline home and doesn't need this. */
  .tc-doc-date-assign { display:inline-flex; align-items:center; gap:8px; flex-wrap:wrap; }
  .tc-doc-date-input { font:600 10px 'Inter',sans-serif; color:var(--ink); border:1px solid var(--border); border-radius:6px; padding:4px 6px; background:#fff; }

  /* Jump-link (2026-09-12): a Timeline doc chip is a shortcut into its full
   * Documents-tab row (see tcJumpToDocument() in dashboard.js), not a
   * second place to act on it -- so the whole chip is clickable, with only
   * the name picking up a hover color/underline as the affordance. */
  .tc-tl-doc-link { cursor:pointer; }
  .tc-tl-doc-link:hover span:first-child { color:var(--teal-600); text-decoration:underline; }

  /* Highlights the Documents-tab row a Timeline chip jumped to, so it's
   * obvious which row just scrolled into view rather than the user landing
   * on the tab and having to re-find it. */
  .tc-doc-row-flash { animation: tcDocRowFlash 2s ease; }
  @keyframes tcDocRowFlash {
    0% { background: rgba(0, 127, 112, 0.14); }
    100% { background: transparent; }
  }

  /* Mark, 2026-09-11: white cards instead of gray on the transaction
   * detail page specifically -- scoped to .tc-record-page (the wrapper
   * tcBuildDetailWorkspace() renders into) rather than the shared
   * .lw-card class itself, so Listings' own record pages (which also use
   * .lw-card) are unaffected. */
  .tc-record-page .lw-card { background:#fff; }
  /* (#tc-notifications-section's tinted-tray rule removed 2026-10-03 --
   * the section became #tc-review-modal, see .tc-attn-pill below.) */
  /* Compact row list (2026-09-13, Mark: picked "Option 1 / compact rows"
   * from the three review-card mockups) -- replaces a stack of full white
   * cards (title + full sentence + To line, ~120px each) with one row per
   * item: a status dot, subject + a truncating meta line, and Send/Dismiss.
   * Send opens tcOpenNotifyCompose()'s editable draft modal rather than
   * sending inline. */
  .tc-notify-list { border:1px solid var(--coral-200); border-radius:9px; overflow:hidden; }
  /* Risk pill as the "Needs your review" pop-up trigger (2026-10-03).
   * Disabled = a plain status pill (no pending items, or Lone Wolf);
   * enabled = count bubble + chevron + hover, same coral language. */
  .tc-attn-pill { margin-top:8px; gap:6px; font-family:inherit; line-height:1.2; cursor:pointer; transition:background .12s,border-color .12s; }
  .tc-attn-pill:disabled { cursor:default; }
  .tc-attn-pill:not(:disabled):hover { background:rgba(224,122,95,.18); border-color:rgba(224,122,95,.5); }
  .tc-attn-pill:focus-visible { outline:2px solid var(--coral); outline-offset:2px; }
  .tc-attn-pill-count { display:inline-flex; align-items:center; justify-content:center; min-width:18px; height:18px; padding:0 5px; border-radius:999px; background:var(--coral); color:#fff; font-size:13px; font-weight:800; }
  .tc-attn-pill-count[hidden] { display:none; }
  .tc-attn-pill-chev { font-size:14px; }
  .tc-attn-pill:disabled .tc-attn-pill-chev { display:none; }
  .tc-notify-row { display:flex; align-items:center; gap:12px; padding:10px 14px; background:#fff; }
  .tc-notify-row + .tc-notify-row { border-top:1px solid var(--coral-100); }
  .tc-notify-dot { width:7px; height:7px; border-radius:50%; background:var(--coral); flex:0 0 auto; }
  .tc-notify-main { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
  .tc-notify-main strong { font-size:14px; font-weight:800; color:var(--ink); }
  .tc-notify-meta { font-size:13.5px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  /* Send/Dismiss icon buttons (2026-09-25, Mark: dot separator "skewed to
   * the right", then "prefer icons instead of 'send' and 'dismiss'", then
   * a rebuild after the icon-only .tc-doc-action version rendered as
   * nothing -- .tc-doc-action's own bold-Inter font shorthand was built
   * for icon+text rows (e.g. "Attach a file") and isn't a proven icon-only
   * treatment, unlike .tc-doc-icon-btn, already used and confirmed working
   * for the Preview/Download/Email icon buttons elsewhere on this same
   * page -- reused here instead of debugging .tc-doc-action further.
   * .tc-doc-icon-btn carries no left/right margin of its own, so
   * .tc-doc-action-sep's symmetric margin:0 7px is the only spacing on
   * either side of the dot, fixing the original skew too. */
  .tc-notify-actions { flex:0 0 auto; white-space:nowrap; display:flex; align-items:center; }
  @media (max-width:640px) {
    .tc-notify-row { flex-wrap:wrap; }
    .tc-notify-meta { white-space:normal; }
  }

  /* Mark, 2026-09-11: same white-card treatment for the Transactions list
   * page's own toolbar/table card (.lw-portfolio-card), and for the Weekly
   * Digest / Review Timeline tab panels (.lw-deadlines-card) -- all were
   * showing the shared .lw-card gray background. Scoped to #tc-root
   * (Riley's own render root) rather than either class itself, since
   * Listings' Portfolio and Seller Concierge pages reuse both classes and
   * haven't asked for this. */
  #tc-root .lw-portfolio-card, #tc-root .lw-deadlines-card { background:#fff; }

  /* 2026-09-11, Option B: Timeline sits beside a single
   * merged "deal at a glance" card instead of running full width above a
   * 3-tab bar. Reuses .tc-tl-item's own narrow-width collapse (the same
   * rules the 640px mobile breakpoint below already defines) unconditionally
   * inside this grid, since the Timeline column is narrow by design here
   * regardless of viewport width -- not a new layout, just applied without
   * waiting for a media query. */
  .tc-workspace-grid { display:grid; grid-template-columns:minmax(380px,max-content) minmax(320px,1fr); gap:12px; align-items:start; margin-bottom:12px; }
  .tc-workspace-grid .tc-tl-item { grid-template-columns:48px 16px 1fr; }
  .tc-workspace-grid .tc-tl-item:not(.tc-tl-last):before { left:67px; }
  .tc-workspace-grid .tc-tl-item > .lw-status { grid-column:1/-1; margin-left:88px; margin-top:6px; }
  @media (max-width:900px) { .tc-workspace-grid { grid-template-columns:1fr; } }

  .tc-deal-card { display:flex; flex-direction:column; }
  .tc-deal-section { padding:14px 17px; border-bottom:1px solid var(--border); }
  .tc-deal-section:last-child { border-bottom:0; }
  .tc-deal-section h4 { margin:0 0 10px; font-size:13px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; color:var(--slate); }
  .tc-tl-item > .lw-status { margin-top:1px; white-space:nowrap; }
  /* Narrow rework (2026-09-25, Mark: "fix this formatting issue when
   * the browser window is squeezed") -- the old narrow-width rule just
   * dropped the 104px status-pill column and let the pill fall onto its
   * own full-width row, margin-nudged to fake alignment under the dot.
   * That still left date+dot eating a fixed ~88px strip out of an
   * already-narrow viewport, which is what was actually squeezing
   * titles and (worse) a document card's Preview/Download/Email/status
   * icon row down to 2-3 icons before wrapping -- confirmed with a
   * Playwright repro against this exact CSS at 320-640px, not just
   * eyeballed. This reworks the item into two rows instead: date +
   * status pill share a top row (pill right-aligned, same row the dot
   * sits beside), title/meta/nested-content drop to a second row that
   * gets the full width minus only the 16px dot column -- freeing up
   * the ~50px date+extra-gap the old layout still reserved out of an
   * already-tight content column. */
  @media (max-width:640px) {
    .tc-tl-item { grid-template-columns: 16px 1fr; column-gap: 10px; row-gap: 3px; }
    .tc-tl-item .tc-tl-date { grid-column: 2; grid-row: 1; font-size: 11.5px; align-self: center; }
    .tc-tl-item .tc-tl-node { grid-column: 1; grid-row: 1 / span 2; padding-top: 4px; }
    .tc-tl-item .tc-tl-content { grid-column: 2; grid-row: 2; }
    .tc-tl-item > .lw-status { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; margin: 0; }
    .tc-tl-item:not(.tc-tl-last):before { left: 7px; }
  }
  @media (max-width:900px) { .tc-detail-stats { gap:14px; } }

  /* Option 2 redesign (2026-09-13, Mark's pick from the layout mockups):
   * a persistent narrow rail beside a right panel that toggles between
   * Documents / Parties / Full timeline instead of stacking all three.
   * .tc-workspace-grid / .tc-deal-card / .tc-deal-section / .tc-quick-grid
   * above are now unused by tcBuildDetailWorkspace() (only .tc-deal-section
   * is still reused, for the "Needs your review" banner) -- left in place
   * per this file's own established "leave superseded code as harmless
   * dead code" convention rather than deleted. */
  .tc-detail-rail-grid { display:grid; grid-template-columns:280px minmax(0,1fr); gap:12px; align-items:start; margin-top:14px; }
  @media (max-width:900px) { .tc-detail-rail-grid { grid-template-columns:1fr; } }
  .tc-detail-rail { display:flex; flex-direction:column; gap:12px; }
  /* Coral header band (2026-09-17, Mark: "give each of the side cards a
   * header area with this medium coral color" -- same coral-200/coral-300
   * pair as .tc-modal-head and the Transactions table's own column-header
   * band). tc-detail-rail-card carries no padding of its own any more --
   * tc-detail-rail-card-head is a full-bleed band at the top (its square
   * corners clipped to the card's rounded ones by overflow:hidden below,
   * the same trick .tc-modal already uses for its own head), and
   * tc-detail-rail-card-body holds the padding for everything under it. */
  .tc-detail-rail-card { padding:0; overflow:hidden; }
  .tc-detail-rail-card-body { padding:16px; }
  .tc-detail-rail-card-head { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:12px 16px; background:var(--coral-200); border-bottom:1px solid var(--coral-300); }
  .tc-detail-rail-card-head h3 { font-size:14px; font-weight:850; }
  .tc-detail-rail-card-head a { font-size:13px; font-weight:800; color:var(--coral); text-decoration:none; }
  .tc-detail-rail-card-head a:hover { text-decoration:underline; }
  .tc-detail-rail-card-head .tc-detail-rail-addr { margin-top:0; }
  /* .lw-preview-pill's default near-transparent coral tint (built for a white card background) all but disappears on the coral-200 head band -- same swap the brand-palette doc's neutral-rotation precedent uses for a pale background: a light, mostly-opaque fill plus dark text and a visible border instead of a coral-on-coral wash. */
  .tc-detail-rail-card-head .lw-preview-pill { background:rgba(255,255,255,.6); border-color:rgba(17,17,20,.18); color:var(--ink); }
  .tc-detail-rail-addr h2 { font-size:15px; font-weight:900; display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
  .tc-detail-rail-addr p { font-size:13.5px; color:var(--slate); margin-top:3px; }
  .tc-detail-rail-next { font-size:13.5px; font-weight:700; color:var(--ink); margin-top:8px; line-height:1.4; }
  .tc-detail-rail-stats { display:flex; flex-direction:column; gap:7px; margin-top:12px; padding-top:12px; border-top:1px solid var(--border); }
  .tc-detail-rail-stat { display:flex; justify-content:space-between; gap:10px; font-size:13.5px; }
  .tc-detail-rail-stat span:first-child { color:var(--slate); }
  .tc-detail-rail-stat span:last-child { font-weight:750; text-align:right; }
  .tc-detail-rail-step { display:flex; align-items:center; gap:9px; padding:6px 0; position:relative; }
  .tc-detail-rail-step-dot { width:8px; height:8px; border-radius:50%; background:var(--light-gray); border:2px solid var(--gray); flex:0 0 auto; box-sizing:border-box; position:relative; z-index:1; }
  .tc-detail-rail-step-dot.done { background:var(--teal-600); border-color:var(--teal-600); }
  .tc-detail-rail-step-dot.current { border-color:var(--coral); }
  .tc-detail-rail-step-label { flex:1; font-size:13.5px; color:var(--slate); }
  .tc-detail-rail-step.current .tc-detail-rail-step-label { color:var(--ink); font-weight:800; }
  .tc-detail-rail-step-date { font-size:13px; color:var(--gray); }
  /* Connecting line between dots (2026-09-25, Mark: "use a vertical line
   * that connects the dots ... matching the format we use for the full
   * length timeline") -- same absolutely-positioned :before technique as
   * .tc-tl-item's connector in the full timeline above, but with
   * percentage top/bottom instead of hand-measured pixel offsets: since
   * every row here is the same height, "this row's vertical center"
   * (top:50%) extended to "50% of this row's own height past its bottom
   * edge" (bottom:-50%) lands exactly on the next row's dot center,
   * regardless of this component's row height/dot size. left:4px is half
   * of the 8px (border-box) dot's width, centering the line under it. */
  /* left:3px, not 4px (2026-09-25, Mark: the line wasn't centered on
   * the dots) -- the dot is 8px wide so its center sits at 4px from the
   * row's left edge, but a 2px-wide line's own left EDGE, not its
   * center, was placed at that 4px mark, shifting the line's center to
   * 5px. left:3px puts this 2px line's center back on the dot's 4px
   * center: (8-2)/2 = 3. */
  /* 2026-10-03 (Mark: broken line where a label wraps to 3 lines): rows
   * are no longer all the same height, so each row now draws its own two
   * halves -- :before from its top edge down to its dot, :after from its
   * dot down to its bottom edge -- and adjacent rows always meet with no
   * gap. The segment between two dots is teal when the upper item is done
   * (its :after, plus the next row's :before via the sibling selector). */
  .tc-detail-rail-step:before, .tc-detail-rail-step:after { content:''; position:absolute; left:3px; width:2px; background:var(--border); }
  .tc-detail-rail-step:before { top:0; height:50%; }
  .tc-detail-rail-step:after { top:50%; bottom:0; }
  .tc-detail-rail-step:first-child:before, .tc-detail-rail-step.tc-detail-rail-step-last:after { display:none; }
  .tc-detail-rail-step.tc-detail-rail-step-line-done:after,
  .tc-detail-rail-step.tc-detail-rail-step-line-done + .tc-detail-rail-step:before { background:var(--teal-500); }

  /* Parties rail summary card (2026-09-17) -- compact role/name rows
   * under the High-level timeline card, replacing the Full-timeline/
   * Parties toggle for real, merged transactions. "View full details"
   * opens tc-parties-full-modal instead of switching panels. */
  .tc-detail-rail-party { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:5px 0; border-bottom:1px dashed var(--border); }
  .tc-detail-rail-party:last-child { border-bottom:0; }
  .tc-detail-rail-party-role { font-size:13px; color:var(--slate); }
  .tc-detail-rail-party-name { font-size:13.5px; color:var(--ink); font-weight:700; text-align:right; }
  .tc-detail-rail-party-name i { color:var(--coral); font-size:14px; margin-left:2px; }

  /* Parties rail summary card (2026-09-17) -- compact role/name rows
   * under the High-level timeline card, replacing the Full-timeline/
   * Parties toggle for real, merged transactions. "View full details"
   * opens tc-parties-full-modal instead of switching panels. */
  .tc-detail-rail-party { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:5px 0; border-bottom:1px dashed var(--border); }
  .tc-detail-rail-party:last-child { border-bottom:0; }
  .tc-detail-rail-party-role { font-size:13px; color:var(--slate); }
  .tc-detail-rail-party-name { font-size:13.5px; color:var(--ink); font-weight:700; text-align:right; }
  .tc-detail-rail-party-name i { color:var(--coral); font-size:14px; margin-left:2px; }

  /* Ask Riley dropdown -- same overlay-menu pattern as .nl-draft-menu
   * (new-listing-flow.css): position:relative on the trigger, an absolute
   * panel that overlays instead of pushing the rail's layout down. */
  .tc-ask-riley { position:relative; }
  .tc-ask-riley summary { list-style:none; cursor:pointer; display:inline-flex; align-items:center; gap:7px; justify-content:center; width:100%; border:1px solid var(--coral-200); background:var(--coral-50); color:var(--coral); border-radius:999px; padding:9px 16px; font:800 11px 'Inter',sans-serif; }
  .tc-ask-riley summary::-webkit-details-marker { display:none; }
  .tc-ask-riley[open] summary { border-color:var(--coral-300); }
  .tc-ask-riley-menu { position:absolute; left:0; right:0; top:calc(100% + 6px); z-index:80; padding:5px; background:#fff; border:1px solid var(--border); border-radius:8px; box-shadow:0 12px 28px rgba(32,37,41,.14); }
  .tc-ask-riley-menu button { display:flex; width:100%; align-items:center; gap:7px; padding:9px 10px; border:0; border-radius:6px; background:transparent; color:var(--ink); font:700 11px 'Inter',sans-serif; text-align:left; cursor:pointer; }
  .tc-ask-riley-menu button:hover { background:var(--off-white); }

  /* Segmented toggle for the right panel (Documents / Parties / Full
   * timeline) -- same look as the app's other segmented controls
   * (.lw-view-switch, listings-workspace.css). */
  .tc-detail-rail-panel { min-width:0; }
  .tc-seg { display:inline-flex; gap:3px; background:var(--off-white); padding:3px; border-radius:8px; border:1px solid var(--border); margin-bottom:12px; }
  .tc-seg button { border:0; background:transparent; color:var(--slate); font:750 13.5px 'Inter',sans-serif; padding:7px 14px; border-radius:6px; cursor:pointer; }
  .tc-seg button.active { background:#fff; color:var(--coral); box-shadow:0 1px 4px rgba(30,35,40,.08); }
  .tc-panel { display:flex; flex-direction:column; gap:12px; }
  /* Merged single-timeline layout (2026-09-23) -- #tc-panel-timeline
     often wraps exactly one .lw-card.lw-section child (the "Full
     timeline" card itself), which duplicates .tc-panel's own
     border/background/radius right on top of the child's identical
     ones (Mark: "looks like the 'full timeline' card has a double
     border"). Stripping the outer panel's own chrome here leaves
     just the inner card's border visible, with zero effect on the
     old segmented layout (tc-panel-documents/-parties), which still
     get their border/background from this id-free .tc-panel rule
     when they hold more than one section. Also adds real spacing
     between the Full-timeline panel and the new Forms section below
     it (Mark: "we need some padding between these two cards") --
     they're two independent siblings now, not two sections inside
     one flex-gap container, so the .tc-panel+.tc-panel margin rule
     above never applied to this pair. */
  #tc-panel-timeline { border:none; background:transparent; overflow:visible; }
  #tc-forms-section { margin-top:16px; }

  /* Archive/Delete row menu + confirm/preview modals (2026-09-12). Mirrors
   * the look of new-listing-flow.css's .nl-draft-menu popover (same
   * pattern already used elsewhere in the app for a per-card "more
   * actions" menu) rather than reusing those classes directly, since this
   * is an unrelated feature (transactions, not listing drafts). */
  .tc-row-menu-wrap { position:relative; display:inline-flex; }
  .tc-row-menu { position:absolute; top:32px; right:0; z-index:80; width:160px; padding:5px; background:#fff; border:1px solid var(--border); border-radius:8px; box-shadow:0 12px 28px rgba(32,37,41,.14); text-align:left; }
  .tc-row-menu button { display:flex; width:100%; align-items:center; gap:7px; padding:8px 9px; border:0; border-radius:6px; background:transparent; color:var(--text); font:600 12px/1.2 'Inter',sans-serif; text-align:left; cursor:pointer; }
  .tc-row-menu button:hover, .tc-row-menu button:focus { background:var(--off-white,#f7f5f2); outline:0; }
  .tc-row-menu button.danger { color:#D85A30; }
  .tc-row-menu button.danger:hover, .tc-row-menu button.danger:focus { background:#FDE7E2; }
  .tc-row-menu-note { padding:8px 9px; font:500 11px/1.4 'Inter',sans-serif; color:var(--slate,#5a626e); }
  .tc-btn.danger { border-color:#F9B8A6; color:#D85A30; }
  .tc-btn.danger:hover { background:#FDE7E2; border-color:#F38A6E; color:#D85A30; }
  .tc-archived-pill { display:inline-flex; align-items:center; gap:5px; padding:3px 9px; border-radius:999px; font-size:13px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; }
  .tc-archived-pill.is-archived { background:rgba(90,98,110,.1); color:var(--slate,#5a626e); }
  .tc-archived-pill.is-deleted { background:rgba(178,59,53,.1); color:#b23b35; }
  .tc-view-toggle { display:inline-flex; border:1px solid var(--border); border-radius:8px; overflow:hidden; }
  .tc-view-toggle button { border:0; background:#fff; color:var(--text); font:600 12px/1 'Inter',sans-serif; padding:8px 12px; cursor:pointer; }
  .tc-view-toggle button + button { border-left:1px solid var(--border); }
  .tc-view-toggle button.active { background:var(--coral); color:#fff; }

  /* ── Actionable stat-tile detail modal (2026-09-14; converted from a
   * right-side drawer to a centered floating modal 2026-09-17 -- Mark
   * wanted every popup in this workspace -- Email to client, Parties,
   * this -- to float the same way, rather than some sliding in from the
   * right. The .tc-stat-drawer-* row/content classes below are unchanged;
   * only the old positioning modifier (.tc-modal-overlay:has(.tc-stat-
   * drawer), .tc-stat-drawer's own width/height/animation, and its
   * @keyframes) was removed -- the modal markup now just uses the
   * default .tc-modal shell with an inline max-width, same pattern as
   * tc-parties-full-modal. Reference implementation on Transactions, per
   * claude/ascent-actionable-stat-tiles-scoping-2026-09-14.md.
   * .jd-briefing-stat.tc-attn-stat-btn (2026-09-19) matches Marketing >
   * Today's own tile style -- js/quinn.js's .quinn-today-stat-btn -- per
   * Mark's ask that Transactions' header tiles use the same look; own copy
   * per this project's per-workflow CSS-duplication convention (see
   * .tc-cal-* / .quinn-cal-* for precedent). */
  .jd-briefing-stat.tc-attn-stat-btn { cursor:pointer; font:inherit; display:flex; align-items:center; justify-content:space-between; gap:8px; transition:background .12s,border-color .12s; }
  .jd-briefing-stat.tc-attn-stat-btn:hover { background:rgba(255,255,255,.9); }
  .jd-briefing-stat.tc-attn-stat-btn:focus-visible { outline:2px solid var(--coral,#D85A30); outline-offset:2px; border-color:var(--coral-300,#F2A98D); }
  .jd-briefing-stat.tc-attn-stat-btn .tc-attn-stat-text { text-align:left; }
  .jd-briefing-stat.tc-attn-stat-btn svg { flex-shrink:0; }
  .tc-stat-drawer-row { display:flex; align-items:flex-start; gap:10px; padding:12px 20px; border-bottom:1px solid var(--border); cursor:pointer; }
  .tc-stat-drawer-row:hover { background:var(--off-white); }
  .tc-stat-drawer-row:last-child { border-bottom:0; }
  .tc-stat-drawer-dot { width:8px; height:8px; border-radius:50%; margin-top:6px; flex:0 0 auto; background:var(--slate,#5a626e); }
  .tc-stat-drawer-row.urgent .tc-stat-drawer-dot { background:var(--coral-500); } /* coral, not red (Mark, 2026-10-25) */
  .tc-stat-drawer-main { flex:1; min-width:0; }
  .tc-stat-drawer-title { font:700 13px/1.35 'Inter',sans-serif; color:var(--ink); }
  .tc-stat-drawer-meta { font:500 11px/1.4 'Inter',sans-serif; color:var(--slate,#5a626e); margin-top:2px; }
  .tc-stat-drawer-due { font:800 10px/1 'Inter',sans-serif; color:var(--dim,#404048); text-transform:uppercase; letter-spacing:.03em; white-space:nowrap; margin-left:auto; padding-top:2px; }
  .tc-stat-drawer-row.urgent .tc-stat-drawer-due { color:var(--coral-500); }
  .tc-stat-drawer-group-label { padding:10px 20px 4px; font:800 10px/1 'Inter',sans-serif; color:var(--slate,#5a626e); text-transform:uppercase; letter-spacing:.04em; background:var(--off-white); }

  /* ── Review Timeline calendar (2026-09-14) ──────────────────────────────
   * Month grid (primary) + Week view toggle, built to match Marketing >
   * Content's Quinn calendar format exactly: Today/prev/next nav, a
   * Week/Month segmented switch, a colored-dot status legend, day-of-week
   * headers, and two-tone (colored-header-strip + lighter body) event
   * cards. Rebuilt here under a tc-cal-* namespace rather than sharing
   * Quinn's classes -- same per-workflow CSS-duplication convention
   * already used for .jd-briefing across dashboard.js/quinn.js/mail.js/
   * js/shared/workflow-briefing.js. Unlike quinn-cal's "month" (a rolling
   * 28-day/4-week window), tc-cal's month view is a true calendar-month
   * grid -- see tcCalActiveRange() in dashboard.js. Status colors reuse
   * Quinn's exact role mapping: slate=complete (was Posted),
   * teal-600=upcoming (was Queued), coral-500=urgent (was Needs Review). */
  .tc-cal-toolbar { display:flex; align-items:center; gap:8px; width:100%; flex-wrap:wrap; margin-bottom:14px; }
  .tc-cal-today { padding:6px 10px; border:1px solid var(--border); border-radius:7px; background:#fff; color:var(--slate); font:700 10px 'Inter',sans-serif; cursor:pointer; }
  .tc-cal-nav { width:30px; height:30px; border:1px solid var(--border); border-radius:7px; background:#fff; color:var(--slate); cursor:pointer; font-size:17px; }
  .tc-cal-range { min-width:150px; color:var(--ink); font-size:14px; font-weight:800; }
  .tc-cal-view-switch { margin-left:auto; display:flex; padding:3px; border:1px solid var(--border); border-radius:8px; background:var(--off-white); }
  .tc-cal-view { padding:6px 10px; border:0; border-radius:6px; background:transparent; color:#8b8b94; font:700 10px 'Inter',sans-serif; cursor:pointer; }
  .tc-cal-view.active { background:#fff; color:var(--coral-500); box-shadow:0 1px 4px rgba(44,46,51,.1); }
  .tc-cal-mode-switch { display:flex; padding:3px; border:1px solid var(--border); border-radius:8px; background:var(--off-white); }
  .tc-cal-mode-btn { padding:6px 12px; border:0; border-radius:6px; background:transparent; color:#8b8b94; font:700 10px 'Inter',sans-serif; cursor:pointer; }
  .tc-cal-mode-btn.active { background:#fff; color:var(--coral-500); box-shadow:0 1px 4px rgba(44,46,51,.1); }
  .tc-cal-legend { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:10px; font-size:13.5px; color:var(--dim); }
  .tc-cal-legend-item { display:flex; align-items:center; gap:5px; font-weight:600; }
  .tc-cal-legend-item .legend-dot { width:8px; height:8px; border-radius:50%; }
  .tc-cal-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:1px; background:var(--border); border:1px solid var(--border); border-radius:12px; overflow:hidden; margin-bottom:8px; }
  .tc-cal-dow { background:var(--off-white); text-align:center; padding:9px 4px; font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.07em; color:var(--ink); }
  .tc-cal-cell { background:#fff; padding:7px 6px 8px; min-height:104px; display:flex; flex-direction:column; gap:3px; }
  .tc-cal-cell.tc-cal-today { background:rgba(232,96,58,0.03); }
  .tc-cal-cell.tc-cal-outside { background:#fafafa; }
  .tc-cal-cell.tc-cal-outside .tc-cal-cell-date { color:#d3d3d8; }
  .tc-cal-cell-date { font-size:13.5px; font-weight:700; color:#b8b8c2; margin-bottom:1px; line-height:1; }
  .tc-cal-date-circle { width:22px; height:22px; border-radius:50%; background:var(--coral); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size:13.5px; font-weight:800; margin-bottom:2px; flex-shrink:0; }
  .tc-cal-grid.tc-cal-week-view .tc-cal-cell { min-height:230px; padding:10px 8px; }
  .tc-cal-grid.tc-cal-week-view .tc-cal-card { margin-bottom:6px; box-shadow:0 2px 6px rgba(44,46,51,.08); }
  .tc-cal-grid.tc-cal-week-view .tc-cal-card-title { padding:6px; min-height:34px; line-height:1.35; }
  .tc-cal-card { border-radius:5px; overflow:hidden; cursor:pointer; flex-shrink:0; }
  .tc-cal-card-head { display:flex; align-items:center; justify-content:space-between; padding:3px 5px; gap:3px; line-height:1; }
  .tc-cal-card-head-left { display:flex; align-items:center; gap:3px; font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; min-width:0; }
  .tc-cal-card-head-left i { flex-shrink:0; font-size:13px; }
  .tc-cal-card-title { padding:3px 5px 4px; font-size:13.5px; font-weight:600; color:var(--dim); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .tc-cal-card.complete .tc-cal-card-head  { background:var(--slate); color:#fff; }
  .tc-cal-card.complete .tc-cal-card-title { background:var(--light-gray); }
  .tc-cal-card.upcoming .tc-cal-card-head  { background:var(--teal-600); color:#fff; }
  .tc-cal-card.upcoming .tc-cal-card-title { background:var(--teal-100); }
  .tc-cal-card.urgent   .tc-cal-card-head  { background:var(--coral-500); color:#fff; }
  .tc-cal-card.urgent   .tc-cal-card-title { background:var(--coral-50); }
  .tc-cal-more { font-size:12px; font-weight:700; color:var(--slate); padding:2px 5px 0; cursor:pointer; }
  .tc-cal-more:hover { text-decoration:underline; }
  @media (max-width:700px) { .tc-cal-toolbar { flex-wrap:wrap; } .tc-cal-view-switch { margin-left:0; } .tc-cal-cell { min-width:0; } }

  /* ── TC task layer (2026-10-03, js/transaction-coordinator/tasks.js) ──
   * Coordination tasks nested under timeline milestones (or as their own
   * rail rows), plus the Notice-to-Perform / weekend-closing callouts and
   * the "Removed from timeline" restore list. Sits in the same visual
   * family as .tc-tl-doc-card, but lighter: a task is a to-do line, not a
   * document. */
  .tc-task-list { display:flex; flex-direction:column; gap:6px; margin-top:8px; }
  .tc-task { display:flex; align-items:flex-start; gap:10px; padding:9px 12px; background:#fff; border:1px solid var(--border); border-radius:9px; }
  .tc-task.overdue { border-color:var(--coral-200); background:var(--coral-50); }
  .tc-task.done, .tc-task.skipped { background:var(--card-hi); }
  .tc-task.done .tc-task-label, .tc-task.skipped .tc-task-label { color:var(--dim); text-decoration:line-through; font-weight:600; }
  .tc-task-check { flex:0 0 auto; border:0; background:transparent; padding:0; margin-top:1px; cursor:pointer; color:var(--coral); font-size:18px; line-height:1; }
  .tc-task-check:disabled { color:var(--muted); cursor:default; }
  .tc-task.done .tc-task-check { color:var(--teal-500); }
  .tc-task-check:focus-visible { outline:2px solid var(--coral); outline-offset:2px; border-radius:4px; }
  .tc-task-main { flex:1; min-width:0; }
  .tc-task-label { font-size:14px; font-weight:600; color:var(--ink); line-height:1.35; }
  .tc-task-tag { display:inline-flex; align-items:center; gap:3px; margin-left:4px; padding:1px 6px; border-radius:999px; background:var(--coral-50); border:1px solid var(--coral-200); color:var(--coral); font-size:12px; font-weight:800; vertical-align:1px; }
  .tc-task-tag i { font-size:13.5px; }
  .tc-task-meta { font-size:13.5px; color:var(--muted); line-height:1.45; margin-top:2px; }
  .tc-task-due { font-weight:700; color:var(--dim); }
  .tc-task.overdue .tc-task-due { color:var(--coral); }
  .tc-task-actions { flex:0 0 auto; display:flex; align-items:center; gap:4px; }
  .tc-task-actions .tc-doc-date-input { width:128px; }
  @media (max-width:720px) {
    .tc-task { flex-wrap:wrap; }
    .tc-task-actions { width:100%; justify-content:flex-end; }
  }
  .tc-nbp-callout { display:flex; gap:10px; align-items:flex-start; margin-top:8px; padding:10px 12px; border-radius:9px; background:var(--coral-50); border:1px solid var(--coral-200); font-size:13.5px; color:var(--ink); line-height:1.5; }
  .tc-nbp-callout > i { color:var(--coral); font-size:16px; margin-top:1px; flex:0 0 auto; }
  .tc-nbp-actions { margin-top:6px; }
  .tc-removed { margin-top:16px; border-top:1px solid var(--border); padding-top:10px; }
  .tc-removed-toggle { display:inline-flex; align-items:center; gap:6px; border:0; background:transparent; padding:4px 0; font:inherit; font-size:13.5px; font-weight:800; color:var(--dim); cursor:pointer; }
  .tc-removed-toggle:hover { color:var(--coral); }
  .tc-removed-list { display:flex; flex-direction:column; gap:6px; margin-top:8px; }
  .tc-removed-row { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 12px; border:1px dashed var(--border); border-radius:9px; background:var(--card-hi); }
  .tc-removed-row strong { display:block; font-size:14px; color:var(--ink); }
  .tc-removed-row span { display:block; font-size:13px; color:var(--muted); margin-top:1px; }
  /* Forms table actions as icons (2026-10-03) -- one tidy, right-aligned row. */
  .tc-forms-actions { white-space:nowrap; text-align:right; }
  .tc-forms-actions .tc-doc-date-assign { display:inline-flex; align-items:center; gap:4px; margin-left:6px; vertical-align:middle; }

  /* Timeline accordion (2026-10-03): chevron toggle on each milestone row;
   * the nested body (tasks, documents, forms, controls) shows only when
   * open, and a collapsed row shows a short progress summary instead. */
  .tc-tl-toolbar { display:flex; justify-content:flex-end; align-items:center; gap:2px; margin:-4px 0 8px; }
  .tc-tl-toggle { display:inline-flex; align-items:center; gap:6px; border:0; background:none; padding:0; margin:0; font:inherit; color:inherit; cursor:pointer; text-align:left; }
  .tc-tl-toggle:focus-visible { outline:2px solid var(--coral); outline-offset:3px; border-radius:4px; }
  .tc-tl-chevron { font-size:14px; color:var(--coral); transition:transform .15s ease; flex:0 0 auto; }
  .tc-tl-open .tc-tl-chevron { transform:rotate(90deg); }
  .tc-tl-toggle:hover .tc-tl-title { color:var(--coral); }
  .tc-tl-collapsible .tc-tl-meta { padding-left:20px; }
  .tc-tl-body { display:none; }
  .tc-tl-open .tc-tl-body { display:block; }
  .tc-tl-summary { color:var(--muted); }
  .tc-tl-summary.flagged { color:var(--coral); font-weight:700; }
  .tc-tl-open .tc-tl-summary { display:none; }
  .tc-task-reopen { white-space:nowrap; }

  /* Contract & escrow documents -- compact table (2026-10-03, Option A). */
  .tc-ldoc-headline { display:flex; align-items:baseline; justify-content:space-between; gap:12px; flex-wrap:wrap; }
  .tc-ldoc-summary { font-size:13.5px; font-weight:600; letter-spacing:0; text-transform:none; color:var(--muted); }
  .tc-ldoc-table { background:#fff; border:1px solid var(--border); border-radius:10px; overflow:visible; }
  .tc-ldoc-row { display:grid; grid-template-columns:22px minmax(0,1fr) 150px 96px 104px 226px; align-items:center; gap:12px; padding:6px 12px; border-top:1px solid var(--border); font-size:14px; }
  .tc-ldoc-row:nth-child(odd):not(.tc-ldoc-head) { background:#fff8f5; }
  .tc-ldoc-head { border-top:0; background:var(--coral-200); border-radius:10px 10px 0 0; padding:8px 12px; font-size:12px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; color:var(--ink); }
  .tc-ldoc-row:last-child { border-radius:0 0 10px 10px; }
  .tc-ldoc-icon { color:var(--muted); font-size:16px; display:inline-flex; }
  .tc-ldoc-icon.attached { color:var(--teal-600); }
  .tc-ldoc-name { min-width:0; }
  .tc-ldoc-title { font-weight:600; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .tc-ldoc-sub { font-size:13px; color:var(--teal-600); margin-top:1px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .tc-ldoc-needed { font-size:13.5px; color:var(--dim); }
  .tc-ldoc-date { display:flex; align-items:center; gap:4px; }
  .tc-doc-date-link { display:inline-flex; align-items:center; gap:4px; white-space:nowrap; }
  .tc-ldoc-date .tc-doc-date-input[hidden] { display:none; }
  .tc-ldoc-date .tc-doc-date-input { width:118px; }
  .tc-ldoc-actions { display:flex; align-items:center; justify-content:flex-end; gap:0; }
  .tc-ldoc-actions-head { text-align:right; }
  .tc-more { position:relative; display:inline-block; }
  .tc-more > summary { list-style:none; display:inline-flex; }
  .tc-more > summary::-webkit-details-marker { display:none; }
  .tc-more-menu { position:absolute; right:0; top:calc(100% + 4px); z-index:30; min-width:210px; background:#fff; border:1px solid var(--border); border-radius:10px; box-shadow:0 12px 32px rgba(20,20,22,.16); padding:5px; }
  .tc-more-item { display:flex; align-items:center; gap:9px; width:100%; padding:8px 10px; border:0; background:none; border-radius:6px; font:inherit; font-size:14px; color:var(--ink); text-align:left; cursor:pointer; }
  .tc-more-item i { color:var(--coral); font-size:15px; }
  .tc-more-item:hover { background:var(--coral-50); }
  .tc-more-item.danger, .tc-more-item.danger i { color:#D85A30; }
  @media (max-width:900px) {
    .tc-ldoc-row { grid-template-columns:22px minmax(0,1fr) 226px; }
    .tc-ldoc-head span:nth-child(n+3):not(.tc-ldoc-actions-head) { display:none; }
    .tc-ldoc-needed, .tc-ldoc-row > span:nth-child(4), .tc-ldoc-date { grid-column:2 / 3; }
  }

  /* Task order (2026-10-03): a task whose prerequisites aren't done shows a
   * lock instead of a checkbox, plus a "Waiting on" line. */
  .tc-task-check.locked { color:var(--muted); cursor:not-allowed; }
  .tc-task.locked .tc-task-label { color:var(--dim); }
  .tc-task-waiting { display:flex; align-items:center; gap:5px; margin-top:4px; font-size:13px; font-weight:700; color:var(--dim); }
  .tc-task-waiting i { font-size:14px; }

  /* Signature preview under email compose boxes (2026-10-03). */
  .tc-sig-preview { margin-top:10px; padding:10px 12px; border:1px dashed var(--border); border-radius:8px; background:var(--card-hi); }
  .tc-sig-preview:empty { display:none; }
  .tc-sig-preview-label { font-size:13px; font-weight:700; color:var(--dim); margin-bottom:6px; }
  .tc-sig-preview-body { font-size:14px; line-height:1.45; color:#333333; }
  .tc-sig-logo { max-height:64px; max-width:220px; display:block; margin:4px 0 8px; }


/* ── Reports repository (2026-10-03) ─────────────────────────────────── */
.tc-report-links { display:flex; flex-wrap:wrap; gap:6px; margin-top:6px; }
.tc-report-chip { display:inline-flex; align-items:center; gap:5px; max-width:260px; padding:3px 10px; border:1px solid #E7C3B5; border-radius:999px; background:#FFF8F5; font:inherit; font-size:14px; font-weight:600; color:#8F3215; cursor:pointer; }
.tc-report-chip span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tc-report-chip:hover { background:#FDECE6; border-color:#C74A22; }
.tc-report-chip.add { background:#fff; border-style:dashed; color:#B8431F; }
.tc-report-chip.more { background:#fff; color:#4A4A54; }
.tc-report-list { display:flex; flex-direction:column; gap:14px; }
.tc-report-group-head { font-size:13.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#3A3A42; margin-bottom:4px; }
.tc-report-group-head span { font-weight:600; color:#8A8A94; margin-left:4px; }
.tc-report-row { display:grid; grid-template-columns:22px minmax(0,1fr) 230px auto; gap:12px; align-items:center; padding:8px 4px; border-top:1px solid #EEEEF2; }
.tc-report-name { min-width:0; }
.tc-report-cat, .tc-report-select { width:100%; padding:6px 8px; border:1px solid var(--border,#ddd); border-radius:8px; font:inherit; font-size:14px; background:#fff; }
.tc-report-file-input { display:block; width:100%; margin-bottom:12px; font-size:14px; }
.tc-field-label { display:block; font-size:13.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; margin:10px 0 6px; }
.tc-report-select { margin-bottom:4px; }
.tc-report-error { color:#B8431F; font-size:14px; min-height:16px; margin-top:8px; }
#tc-reports-section .lw-section-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
@media (max-width:720px) { .tc-report-row { grid-template-columns:22px minmax(0,1fr); } .tc-report-row .tc-report-cat, .tc-report-row .tc-ldoc-actions { grid-column:2; } }
#tc-reports-section { margin-top:16px; }

.tc-report-empty { display:flex; align-items:center; gap:16px; width:100%; margin-top:6px; padding:18px 20px; border:1.5px dashed #E8957A; border-radius:12px; background:#FFF4EF; font:inherit; color:#3A3A42; text-align:left; cursor:pointer; }
.tc-report-empty:hover { background:#FDE8DF; border-color:#C74A22; }
.tc-report-empty-icon { flex:0 0 auto; width:42px; height:42px; border-radius:50%; background:#FBD3C4; color:#B8431F; display:inline-flex; align-items:center; justify-content:center; font-size:22px; }
.tc-report-empty-text { flex:1; display:flex; flex-direction:column; gap:2px; font-size:14px; }
.tc-report-empty-text strong { font-size:14.5px; font-weight:700; color:#8F3215; }
.tc-report-empty-cta { flex:0 0 auto; display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border-radius:8px; background:#C74A22; color:#fff; font-size:14px; font-weight:700; }
@media (max-width:720px) { .tc-report-empty { flex-wrap:wrap; } .tc-report-empty-cta { margin-left:58px; } }

.tc-ldoc-sum-need { color:#B8431F; font-weight:700; }
.tc-ldoc-sum-ok { color:#2F7D6D; font-weight:700; display:inline-flex; align-items:center; gap:4px; }
.tc-ldoc-sum-muted { color:#5E5E68; }

/* Hide a Lone Wolf transaction from Ascent (2026-10-25) */
.lw-record-head:has(.tc-hide-lw-btn) { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.tc-hide-lw-btn { color:#5B616B; }
.tc-hide-lw-btn:hover { color:#B4441F; border-color:#F9B8A6; background:#FDE7E2; }
.lw-table-foot-link { border:0; background:none; padding:0; margin-left:4px; font:inherit; font-weight:700; color:#D85A30; cursor:pointer; text-decoration:underline; text-underline-offset:2px; }
.lw-table-foot-link:hover { color:#B4441F; }

/* ── Reference Library tab: full library in place (Mark, 2026-10-25) ──
   Option B "list and reader"; the left list reuses the Vendors tab's
   accordion sections (.tc-vendor-acc-*) and the shared .lw-table look. */
.tc-ref-intro { margin:0 0 14px; font-size:14px; line-height:1.55; color:var(--ink); max-width:760px; }
.tc-ref-layout { display:flex; flex-wrap:wrap; gap:18px; align-items:flex-start; }
.tc-ref-list { flex:1 1 300px; max-width:380px; min-width:0; display:flex; flex-direction:column; gap:10px; }
.tc-ref-search { display:flex; align-items:center; gap:8px; height:40px; padding:0 12px; border:1px solid var(--border); border-radius:9px; background:#fff; color:var(--muted); }
.tc-ref-search:focus-within { border-color:var(--coral-300); }
.tc-ref-search input { flex:1; min-width:0; border:0; outline:0; background:transparent; font:inherit; font-size:14px; color:var(--ink); }
.lw-table.tc-ref-table { min-width:0; width:100%; table-layout:fixed; }
.lw-table.tc-ref-table td { padding:11px 13px; }
.lw-table.tc-ref-table td strong { display:block; font-size:14px; font-weight:500; line-height:1.35; color:var(--ink); }
.lw-table.tc-ref-table .lw-cell-sub { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.lw-table.tc-ref-table tbody tr.tc-ref-row-selected,
.lw-table.tc-ref-table tbody tr.tc-ref-row-selected:hover { background:var(--coral-50); }
.lw-table.tc-ref-table tbody tr.tc-ref-row-selected td strong { font-weight:700; }
.lw-table.tc-ref-table tbody tr.tc-ref-row-selected .lw-cell-sub { color:#B8461F; }
.lw-table.tc-ref-table tbody tr:focus-visible { outline:2px solid var(--coral-500); outline-offset:-2px; }
.tc-ref-reader { flex:999 1 520px; min-width:0; background:#fff; border:1px solid var(--border); border-radius:12px; padding:20px 24px 22px; }
.tc-ref-eyebrow { font-size:13px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; color:#B8461F; }
.tc-ref-reader h3 { margin:6px 0; font-size:20px; line-height:1.25; font-weight:800; color:var(--ink); }
.tc-ref-desc { margin:0 0 12px; font-size:14.5px; line-height:1.55; color:var(--dim); max-width:720px; }
.tc-ref-chips { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:16px; }
.tc-ref-chip { font-size:13.5px; font-weight:600; color:var(--dim); background:var(--mid); border:1px solid var(--card-hi); border-radius:6px; padding:4px 8px; }
.tc-ref-body { border-top:1px solid var(--border); padding-top:14px; max-width:760px; }
.tc-ref-body p { margin:0 0 11px; font-size:14.5px; line-height:1.65; color:var(--ink); white-space:pre-line; }
.tc-ref-body .tc-ref-h { margin:18px 0 6px; font-size:14.5px; font-weight:700; line-height:1.4; color:var(--ink); }
.tc-ref-body .tc-ref-h:first-child { margin-top:0; }
.tc-ref-source { margin-top:6px; padding:12px 14px; background:var(--off-white); border:1px solid var(--card-hi); border-radius:9px; font-size:14px; line-height:1.55; color:var(--dim); }
.tc-ref-source-label { margin-bottom:4px; font-size:13px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; color:var(--slate); }
.tc-ref-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:16px; }
.tc-ref-spacer { flex:1; }
.tc-ref-step { width:38px; justify-content:center; padding-left:0; padding-right:0; }
.tc-ref-pos { font-size:14px; font-weight:600; color:var(--slate); }
@media (max-width: 760px) { .tc-ref-list { max-width:none; } .tc-ref-reader { padding:16px; } }

/* Source column tag (2026-11-25, Mark: the pills were too large) */
.tc-src { display: inline-block; padding: 2px 8px; border-radius: 6px; background: #F2F3F5; color: #4A4F57; font: 600 12.5px/1.4 'Inter', sans-serif; letter-spacing: 0; text-transform: none; white-space: nowrap; }
/* Optional deadline time next to the date (2026-11-25). */
.tc-doc-date-assign .tc-doc-time-input { width: 104px; margin-left: 6px; }
