/* [PAID-ONLY] Added 2026-05-31 (P2, master-plan §9.2/§9.3). Strip from free tool before
   re-release.

   Shared PSDA app-shell STYLES — the CSS analog of psda-shared.js. The download-icon export
   menu (and, over time, other shared chrome) lives here so the single-page (A), the rail (B),
   and the Waterfall (C) render identical affordances off ONE source instead of per-surface
   copies. Loaded alongside the per-surface stylesheet whenever a PSDA surface renders. */

/* ── [2026-06-15] Combined cash-flow exhibit (NOI vs Levered CF chart + Annual Cash Flow table) ──
   Base = a TRANSPARENT wrapper (display:contents) so the rail's flat flex column stacks its
   children (title → chart → table) on its own 1.25rem rhythm exactly as before. The onepage
   promotes the same wrapper to a single bordered card with the chart over the table (see
   .psda-onepage-mode .psda-dm-cfexhibit in psda-onepage.css). */
.psda-dm-cfexhibit { display: contents; }
.psda-dm-cfexhibit-head { display: flex; align-items: baseline; }
.psda-dm-cfexhibit-title { font-size: 14px; font-weight: 700; color: #1f2328; letter-spacing: -0.01em; }

/* ── Shared action toast (PsdaShared.showActionToast) — surfaces without their own toast ──
   Fixed bottom-center pill + one optional action button. Mirrors the onepage apply-toast so the
   rail's undo/redo feedback reads identically. */
.psda-action-toast {
    /* [2026-06-15] Top-right, matching the web app's standard notification position. */
    position: fixed; top: 16px; right: 16px;
    z-index: 500;
    display: flex; align-items: center; gap: 14px;
    background: #1f2328; color: #ffffff;
    border-radius: 8px; padding: 10px 16px;
    font-size: 13px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}
.psda-action-toast[hidden] { display: none; }
.psda-action-toast-btn {
    border: 1px solid rgba(255, 255, 255, 0.5); background: transparent; color: #ffffff;
    border-radius: 6px; padding: 3px 14px; font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.psda-action-toast-btn:hover { background: rgba(255, 255, 255, 0.12); }
.psda-action-toast-btn:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
@media print { .psda-action-toast { display: none !important; } }

/* ── Download-icon export menu (§9.2) ─────────────────────────────────────────── */
.psda-op-export { position: relative; }
.psda-op-export-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 32px;
    padding: 0 14px;
    border: 1px solid #d7dbe0;
    background: #ffffff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
/* Hover only fires on enabled buttons — a disabled control must not offer a brand-blue affordance. */
.psda-op-export-btn:not(:disabled):hover {
    color: var(--primary-color, #1565C0);
    border-color: var(--primary-color, #1565C0);
    background: #f4f8fd;
}
/* [2026-06-13 critique P1] Dimmed-but-visible disabled state (e.g. Undo/Redo at the history floor):
   the control stays where the user learns it, but reads clearly unavailable. */
.psda-op-export-btn:disabled {
    opacity: 0.45;
    cursor: default;
}
/* Icon-only export trigger: download glyph + a small caret that signals a menu drops below
   (the accessible name still says "Export options"). */
.psda-op-export-btn .psda-op-export-caret { font-size: 11px; color: #8a929b; margin-left: -2px; }
.psda-op-export-btn:hover .psda-op-export-caret { color: var(--primary-color, #1565C0); }
.psda-op-export-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    background: #ffffff;
    border: 1px solid #e6e8eb;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    padding: 6px;
    min-width: 188px;
    z-index: 300;
}
.psda-op-export-menu[hidden] { display: none; }
.psda-op-export-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    border: none;
    background: transparent;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 13px;
    color: #1f2328;
    text-align: left;
    cursor: pointer;
}
.psda-op-export-menu button:hover { background: #f4f8fd; color: var(--primary-color, #1565C0); }
.psda-op-export-menu button i { width: 16px; text-align: center; color: #6c757d; }
.psda-op-export-menu button:hover i { color: var(--primary-color, #1565C0); }

/* Visible focus rings (WCAG 2.4.7) + ≥44px touch targets on coarse pointers (2.5.5) so the
   shared export controls are accessible on every surface. */
.psda-op-export-btn:focus-visible,
.psda-op-export-menu button:focus-visible {
    outline: 2px solid var(--primary-color, #1565C0);
    outline-offset: 2px;
    border-radius: 4px;
}
@media (pointer: coarse) {
    .psda-op-export-btn,
    .psda-op-export-menu button {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

/* [2026-06-11 item 4] Two-flavor share popover: section labels over each link row. */
.psda-share-pop-kind {
    font-size: 11px; font-weight: 700; color: #1f2328; margin: 10px 0 4px;
}
.psda-share-pop-kind:first-of-type { margin-top: 2px; }
.psda-share-pop-hint { font-weight: 400; color: #6c757d; margin-left: 6px; }

/* [2026-06-11 item 4] View-only mode chrome: hide every edit affordance; quiet chip explains. */
.psda-op-viewonly .psda-op-rail-toggle,
.psda-op-viewonly .psda-op-rail-reopen,
.psda-op-viewonly .psda-op-sample-btn { display: none !important; }
.psda-op-viewonly-chip {
    display: inline-flex; align-items: center; gap: 5px; align-self: center;
    font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
    color: #5c636a; background: #f1f3f5; border: 1px solid #dee2e6; border-radius: 10px;
    padding: 2px 10px; margin-left: 10px; white-space: nowrap;
}
.psda-op-viewonly-chip i { font-size: 10px; }

/* ── Share-link popover (§ shared; onepage + rail) ──────────────────────────────
   A compact dialog anchored under the Share-link / Export button (positioned by JS), replacing the
   page-bottom share strip. Mirrors the Waterfall page's Share-link popover. */
.psda-share-pop {
    position: fixed;
    z-index: 1100;                 /* above the sticky header + export menu */
    width: 360px;
    max-width: calc(100vw - 24px);
    background: #ffffff;
    border: 1px solid #e6e8eb;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
    padding: 14px;
}
.psda-share-pop[hidden] { display: none; }
.psda-share-pop-title {
    font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
    color: #6c757d; font-weight: 700; margin-bottom: 10px;
}
.psda-share-pop-row { display: flex; gap: 8px; align-items: center; }
.psda-share-pop-url {
    flex: 1 1 auto; min-width: 0;
    height: 34px; padding: 0 10px;
    border: 1px solid #d7dbe0; border-radius: 6px;
    font-size: 13px; color: #1f2328; background: #f8f9fa;
}
.psda-share-pop-copy {
    flex: 0 0 auto; height: 34px; padding: 0 16px;
    border: 1px solid var(--primary-color, #1565C0); border-radius: 6px;
    background: var(--primary-color, #1565C0); color: #fff;
    font-size: 13px; font-weight: 600; cursor: pointer;
    transition: background 0.15s ease;
}
.psda-share-pop-copy:hover { background: var(--primary-color-dark, #0d47a1); }
.psda-share-pop-url:focus-visible,
.psda-share-pop-copy:focus-visible {
    outline: 2px solid var(--primary-color, #1565C0); outline-offset: 2px;
}

/* ── Sources & Uses (shared; single page + rail Purchase & Sale tab) ─────────────
   Moved here from psda-onepage.css (P2 §9.3) + soft-grey section banding on the column
   heads and total rows, matching DashboardRedesignSample.png. Kept the psda-op-su-* class
   names so the single page's click-to-trace hover rules (in psda-onepage.css) still apply. */
.psda-op-su {
    background: #ffffff;
    border: 1px solid #e6e8eb;
    border-radius: 8px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.04);
    padding: 16px 18px;
    margin: 0 0 20px;
    max-width: 760px;
}
.psda-op-su[hidden] { display: none; }
.psda-op-su-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6c757d;
    font-weight: 700;
    margin-bottom: 12px;
}
.psda-op-su-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;          /* both columns take the row's full (tallest) height */
}
/* Flex column so the Total row can be pushed to the bottom (margin-top:auto below).
   Uses and Sources usually have different row counts; this keeps Total Uses and Total
   Sources aligned side by side instead of floating at different heights. */
.psda-op-su-col {
    display: flex;
    flex-direction: column;
}
.psda-op-su-head {
    font-size: 12px;
    font-weight: 600;
    color: #1f2328;
    padding: 6px 10px;
    margin-bottom: 4px;
    background: #f5f6f8;            /* soft-grey section band (sample) */
    border-radius: 5px;
    border-bottom: 1px solid #e6e8eb;
}
.psda-op-su-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 5px 10px;             /* match the head's horizontal padding so values line up */
    font-size: 13px;
}
.psda-op-su-label { color: #495057; }
/* [2026-06-11 run3 B8] Quiet cap-rate hint appended inside the Purchase Price label. */
.psda-op-su-sub { font-size: 11px; color: #868e96; margin-left: 6px; font-weight: 400; }
/* Line-item numbers read regular; only the Total row is bold (below). */
.psda-op-su-value { color: #1f2328; font-weight: 400; font-variant-numeric: tabular-nums; }
.psda-op-su-total {
    margin-top: auto;              /* stick to the column bottom so both totals line up */
    padding: 8px 10px 6px;
    background: #f5f6f8;            /* soft-grey total row (sample) */
    border-radius: 5px;
    border-top: 1px solid #e6e8eb;
}
.psda-op-su-total .psda-op-su-label { font-weight: 700; color: #1f2328; }
.psda-op-su-total .psda-op-su-value { font-size: 14px; font-weight: 700; }
/* [2026-06-15] The compact Summary-tab total rows (e.g. "Net Proceeds to Equity", Total Uses/
   Sources) use bare <span>s rather than the .psda-op-su-label/value classes, so bold those too —
   a total row should always read bold. */
.psda-op-su-total > span { font-weight: 700; color: #1f2328; }
.psda-op-su-note { margin-top: 10px; font-size: 12px; color: #c62828; }
@media (max-width: 640px) {
    .psda-op-su-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* [2026-06-09] "Sale Assumptions" output table (psda-onepage.js buildSaleSummary → #psdaDmSaleSummary,
   which carries the shared .psda-op-su card chrome). Read-only assumption rows + a proceeds waterfall
   ending in a highlighted Proceeds-After-Debt total, matching the sale-assumptions mockup. */
.psda-op-sa-title {
    font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
    color: #6c757d; font-weight: 700; margin-bottom: 12px;
}
.psda-op-sa-lbl { color: #495057; }
/* [2026-06-10 /impeccable:delight] Deal-terms stat-tile strip: Exit Cap Rate / Month of Sale /
   Sale NOI Basis as label-over-value tiles with hairline dividers — quiet ticker, numbers hero. */
.psda-op-sa-terms {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 12px;
    border: 1px solid #eef0f2; border-radius: 6px;
    background: #fbfcfd;
}
.psda-op-sa-term {
    display: flex; flex-direction: column; gap: 2px;
    padding: 10px 14px;
    border-left: 1px solid #eef0f2;
    min-width: 0;
}
.psda-op-sa-term:first-child { border-left: none; }
.psda-op-sa-term-lbl {
    font-size: 10px; text-transform: uppercase; letter-spacing: 0.07em;
    color: #6c757d; font-weight: 700;
    /* [2026-06-12 /impeccable:polish] Wrap instead of nowrap+ellipsis — long labels like "Total
       Going-In Cap" were truncating to "…C…" in the tile strip (information loss). */
    overflow-wrap: break-word;
}
.psda-op-sa-term-val { font-size: 17px; font-weight: 700; color: #1f2328; font-variant-numeric: tabular-nums; line-height: 1.2; }
.psda-op-sa-term-sub { font-size: 11px; color: #6c757d; font-variant-numeric: tabular-nums; }
/* Sale NOI: label left, Forward-12 + Trailing-12 cells right (small caption over each value).
   The ACTIVE basis (the one driving the exit value) reads bold + tagged; the other is muted. */
.psda-op-sa-noi { display: flex; align-items: flex-end; gap: 28px; padding: 8px 0 4px; }
.psda-op-sa-noi .psda-op-sa-lbl { flex: 1 1 auto; }
.psda-op-sa-noi-cell { display: flex; flex-direction: column; align-items: flex-end; min-width: 92px; }
.psda-op-sa-noi-cap { font-size: 11px; color: #6c757d; line-height: 1.4; white-space: nowrap; }
.psda-op-sa-noi-val { font-size: 13px; font-weight: 400; color: #5c636a; font-variant-numeric: tabular-nums; }
.psda-op-sa-noi-cell.is-active .psda-op-sa-noi-val { font-weight: 700; color: #1f2328; }
.psda-op-sa-noi-tag {
    display: inline-block; font-size: 9px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.05em; color: var(--cre-blue, #1565C0);
    background: #e8f1fb; border-radius: 8px; padding: 0 6px; margin-left: 4px; vertical-align: 1px;
}
/* Proceeds waterfall — uppercase labels, bold totals, muted deduction rows. */
.psda-op-sa-waterfall { margin-top: 12px; padding-top: 12px; border-top: 1px solid #e6e8eb; }
.psda-op-sa-wf-row {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 4px 0; font-size: 12px;
}
.psda-op-sa-wf-lbl { text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; color: #1f2328; }
.psda-op-sa-wf-val { font-weight: 700; color: #1f2328; font-variant-numeric: tabular-nums; }
.psda-op-sa-wf-row.muted .psda-op-sa-wf-lbl,
.psda-op-sa-wf-row.muted .psda-op-sa-wf-val { font-weight: 400; color: #6c757d; }
/* Highlighted Proceeds After Debt total. */
.psda-op-sa-total {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 12px; padding: 12px 14px;
    background: #f5f6f8; border: 1px solid #e6e8eb; border-radius: 6px;
}
.psda-op-sa-total-lbl { text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; color: #1f2328; font-size: 12px; }
.psda-op-sa-total-val { font-size: 20px; font-weight: 700; color: #1f2328; font-variant-numeric: tabular-nums; }


/* ── Accessible blue text/controls (WCAG 1.4.3) ────────────────────────────────
   The "blue = input/action" convention used Bootstrap's #0d6efd (≈ 3.6:1 on white), which fails
   AA. Darken blue text + outline-primary controls on the PSDA surfaces to the brand --cre-blue
   (#1565C0 ≈ 5.6:1) — keeps the signal while clearing the contrast floor. Scoped to the surfaces
   (doesn't touch other pages); applies to both the rail and the single page. */
.psda-onepage-mode .text-primary,
.psda-rail-mode .text-primary {
    color: var(--cre-blue, #1565C0) !important;
}
.psda-onepage-mode .btn-outline-primary,
.psda-rail-mode .btn-outline-primary {
    color: var(--cre-blue, #1565C0) !important;
    border-color: var(--cre-blue, #1565C0) !important;
}
/* Bootstrap's outline-info teal (#17a2b8 ≈ 2.7:1) fails AA — used by the "Refi this loan" button.
   Darken to a teal that clears 4.5:1 on the PSDA surfaces. */
.psda-onepage-mode .btn-outline-info,
.psda-rail-mode .btn-outline-info {
    color: #117a8b !important;
    border-color: #117a8b !important;
}
/* The reserves editor's green "Calculate" button is redundant on the live surfaces (live recompute
   replaces it, like the other Calculate buttons) — hide it (also clears its sub-AA btn-success
   contrast). Kept in the DOM for the wizard fallback. */
.psda-onepage-mode #reservesCalculateBtn,
.psda-rail-mode #reservesCalculateBtn {
    display: none !important;
}
/* Muted secondary labels (.text-muted / the custom lighter .text-muted-2) in relocated wizard
   cards can fall just under AA on tinted (bg-light) backgrounds. Darken them on the PSDA surfaces
   to a grey that clears 4.5:1 even on #f8f9fa, without losing the "secondary" read. */
.psda-onepage-mode .text-muted,
.psda-rail-mode .text-muted,
.psda-onepage-mode .text-muted-2,
.psda-rail-mode .text-muted-2 {
    color: #5c636a !important;
}

/* [2026-06-08] Segmented "Units" control for the CF tables (Actual · $000s · $MM). Replaces the old
   single button that silently cycled — all three options + the active one are visible, so it's
   self-explanatory. Quiet/compact, right-alignable on a table title row (institutional register). */
.psda-cf-units {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}
.psda-cf-units-label {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6c757d;
    font-weight: 600;
}
.psda-cf-units-btn {
    border: 1px solid #d7dbe0;
    background: #fff;
    color: #5c636a;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    margin: 0;
    line-height: 1.45;
    cursor: pointer;
}
.psda-cf-units-btn:not(:first-of-type) { border-left: 0; }
.psda-cf-units-btn:first-of-type { border-radius: 5px 0 0 5px; }
.psda-cf-units-btn:last-of-type { border-radius: 0 5px 5px 0; }
.psda-cf-units-btn[aria-pressed="true"] {
    background: var(--primary-color, #1565C0);
    color: #fff;
    border-color: var(--primary-color, #1565C0);
}
.psda-cf-units-btn:hover:not([aria-pressed="true"]) { color: #1f2328; border-color: #adb5bd; }
.psda-cf-units-btn:focus-visible { outline: 2px solid var(--primary-color, #1565C0); outline-offset: 1px; }
/* Right-align the Units control in the Operating Financials title. The app is Bootstrap 4, where the
   margin-left-auto class is `ml-auto` (`ms-auto` is BS5 and is a no-op here), so set it explicitly. */
#dm-cfScaleToggle { margin-left: auto; }

/* [audit M4] The effective-cap-rate help cross-links ([Reserves: $0], [Loan Fees: $0]) sit in gray
   formula text and were distinguishable by color only (WCAG 1.4.1). Give them a dotted underline so
   they read as links without relying on color. */
.psda-onepage-mode .cap-rate-anchor,
.psda-rail-mode .cap-rate-anchor {
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 2px;
}

/* [2026-06-09] Summary map placeholder + ArcGIS address autocomplete. Shared here (loaded on BOTH
   the onepage and rail surfaces) because psda-report.js builds this dropdown on both — the styles
   belong with the shared report component, not a single-surface sheet. */
.psda-dm-map-ph[hidden] { display: none; }
.psda-dm-map-ph {
    flex: 1 1 auto; min-height: 120px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    text-align: center; padding: 16px;
    border: 1px dashed #cfd6dd; border-radius: 8px; background: #f8fafc; cursor: text;
}
.psda-dm-map-ph-icon { font-size: 20px; color: #9aa5b1; }
.psda-dm-map-ph-title { font-size: 13px; font-weight: 600; color: #495057; }
.psda-dm-map-ph-sub { font-size: 12px; color: #5c636a; max-width: 280px; }
.psda-dm-map-ph-input {
    margin-top: 6px; width: 100%; max-width: 320px; height: 32px; padding: 0 10px;
    border: 1px solid #d7dbe0; border-radius: 6px; font-size: 13px; color: #1f2328;
}
.psda-dm-map-ph-input:focus-visible { outline: 2px solid var(--primary-color, #1565C0); outline-offset: 1px; }

/* The input is wrapped (in JS) by .psda-dm-addr-ac so the suggestion list anchors directly beneath it. */
.psda-dm-addr-ac { position: relative; width: 100%; max-width: 320px; margin-top: 6px; }
/* Field variant (#propertyAddress): a normal form input — no placeholder sizing. */
.psda-dm-addr-ac-field { max-width: none; margin-top: 0; }
.psda-dm-addr-ac .psda-dm-map-ph-input { margin-top: 0; }
.psda-dm-addr-suggest {
    position: absolute; top: calc(100% + 2px); left: 0; right: 0; z-index: 30;
    background: #fff; border: 1px solid #d7dbe0; border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    /* Cap to the viewport so the list never demands more room than exists (mobile/short screens). */
    max-height: min(232px, 50vh); overflow-y: auto; text-align: left;
}
.psda-dm-addr-suggest[hidden] { display: none; }
/* Flip above the input when there's no room below (set by positionList() in psda-report.js). */
.psda-dm-addr-suggest.is-above { top: auto; bottom: calc(100% + 2px); }
.psda-dm-addr-opt {
    display: flex; align-items: flex-start; gap: 8px; width: 100%;
    padding: 7px 10px; border: 0; background: #fff; cursor: pointer;
    font-size: 12.5px; color: #1f2328; text-align: left;
}
.psda-dm-addr-opt + .psda-dm-addr-opt { border-top: 1px solid #f0f2f4; }
.psda-dm-addr-opt > i { flex: 0 0 auto; color: #6b7785; font-size: 12px; line-height: 1.45; }   /* >=3:1 on white; align with first text line */
/* Wrap long addresses to a 2nd line instead of truncating with an ellipsis (no info loss). */
.psda-dm-addr-opt > span { flex: 1 1 auto; min-width: 0; }
.psda-dm-addr-opt:hover { background: #eef4fb; }
/* Active (keyboard-highlighted) option: a brand-blue inset rail makes it distinct from plain hover
   (focus stays on the input per the combobox/aria-activedescendant pattern). */
.psda-dm-addr-opt.is-active { background: #eef4fb; box-shadow: inset 3px 0 0 var(--primary-color, #1565C0); }
/* No-results hint row (non-interactive). */
.psda-dm-addr-empty { padding: 8px 10px; font-size: 12px; color: #5c636a; }

/* Touch / coarse-pointer tuning (mobile + tablet):
   - input font >=16px so iOS Safari doesn't auto-zoom-and-pan on focus;
   - >=44px tap targets (WCAG 2.5.5) for the input and each option;
   - shorter viewport cap (soft keyboard eats the lower band) and wrap long addresses to 2 lines. */
@media (pointer: coarse) {
    .psda-dm-map-ph-input { font-size: 16px; height: auto; min-height: 44px; }
    .psda-dm-addr-suggest { max-height: 40vh; }
    .psda-dm-addr-opt { min-height: 44px; padding: 10px 12px; font-size: 14px; align-items: center; }
    .psda-dm-addr-empty { padding: 12px; font-size: 14px; }
}

/* [2026-06-11 item 18] Cross-promo banner — quiet hairline strip, brand-blue icon/link,
   dismissible. Never a saturated marketing band. */
.psda-promo {
    display: flex; align-items: flex-start; gap: 10px;
    background: #f4f8fd; border: 1px solid #cfe0f3; border-radius: 8px;
    padding: 10px 12px; margin: 0 0 14px;
    font-size: 12.5px; color: #3d4750; line-height: 1.45;
}
.psda-promo[hidden] { display: none; }
.psda-promo > i { color: var(--primary-color, #1565C0); font-size: 13px; margin-top: 2px; }
/* [2026-06-12] The promo's icon is now the cascade SVG glyph (matches the Push-to-Waterfall
   toolbar button); inherits brand blue via currentColor. */
.psda-promo > svg { flex: 0 0 auto; color: var(--primary-color, #1565C0); margin-top: 2px; }
.psda-promo a { color: var(--primary-color, #1565C0); font-weight: 600; }
.psda-promo-close {
    margin-left: auto; border: none; background: transparent; color: #8a929b;
    font-size: 16px; line-height: 1; cursor: pointer; padding: 0 2px; border-radius: 4px;
}
.psda-promo-close:hover { color: #1f2328; }
.psda-promo-close:focus-visible { outline: 2px solid var(--primary-color, #1565C0); outline-offset: 2px; }

/* [2026-06-12] Copy that only applies on the single-page surface (e.g. the hold-matrix
   "click a cell to apply" hint — the apply handler lives in psda-onepage.js). */
.psda-op-only { display: none; }
.psda-onepage-mode .psda-op-only { display: inline; }

/* [2026-06-11] Muted deduction rows (Less: Cost of Sale / Debt Payoff) in the compact
   Summary sale exhibit. */
.psda-op-su-row-muted .psda-op-su-label,
.psda-op-su-row-muted .psda-op-su-value { color: #6c757d; font-weight: 400; }
