:root {
  color-scheme: light;
  --bg: #f3f2ed;
  --paper: #ffffff;
  --paper-soft: #f7f9f7;
  --ink: #17221c;
  --ink-soft: #35443c;
  --muted: #68746d;
  --muted-2: #8b958f;
  --line: #dce3de;
  --line-strong: #c9d5ce;
  --accent: #315b4e;
  --accent-strong: #24483d;
  --accent-soft: #eaf2ed;
  --accent-pale: #f0f6f2;
  --warn: #8a5c1e;
  --warn-bg: #fff7e8;
  --danger: #9d4741;
  --danger-bg: #fff0ee;
  --ok: #2f6d50;
  --shadow: 0 12px 32px rgba(28, 54, 43, .055);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(49, 91, 78, .22);
  outline-offset: 2px;
}

.shell { width: min(100%, 1440px); margin: 0 auto; padding: 32px 28px 70px; }
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 14px;
  padding: 25px 27px 24px 31px;
  border: 1px solid #d4dfd8;
  border-radius: var(--radius);
  background: #edf4ef;
  box-shadow: var(--shadow);
}

.hero::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--accent);
  content: "";
}

.hero-copy { max-width: 780px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.eyebrow-dot { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); }
h1 { margin: 0; color: var(--ink); font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; }
h1 span { color: inherit; }
.lede { max-width: 720px; margin: 11px 0 0; color: var(--muted); font-size: 15px; line-height: 1.62; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 17px; margin-top: 17px; color: var(--muted); font-size: 12px; font-weight: 650; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta i { width: 5px; height: 5px; border-radius: 50%; background: #719485; }
.hero-links { display: grid; width: min(100%, 250px); gap: 8px; flex: 0 0 auto; }
.dashboard-link {
  display: grid;
  min-height: 58px;
  align-content: center;
  gap: 1px;
  padding: 10px 13px;
  border: 1px solid #b9ccc1;
  border-radius: 10px;
  background: rgba(255, 255, 255, .72);
  color: var(--accent);
  text-decoration: none;
}

.dashboard-link:hover { background: #fff; border-color: #92ac9e; }
.dashboard-link span { display: flex; justify-content: space-between; font-weight: 700; }
.dashboard-link b { font-size: 15px; }
.dashboard-link small { color: var(--muted); font-size: 11px; }
.notice, .panel, .metric { border: 1px solid var(--line); background: var(--paper); }
.notice { position: relative; padding: 13px 17px 13px 20px; border-radius: 12px; box-shadow: var(--shadow); color: var(--ink-soft); }
.notice::before { position: absolute; inset: 0 auto 0 0; width: 4px; border-radius: 12px 0 0 12px; background: var(--accent); content: ""; }
.notice strong { color: var(--accent-strong); }
.notice.is-warning { border-color: #ecd9b8; background: var(--warn-bg); }
.notice.is-warning::before { background: var(--warn); }
.metrics { display: none; }
.tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(145px, 1fr));
  gap: 7px;
  overflow-x: auto;
  margin: 16px 0 9px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ebece8;
  scrollbar-width: thin;
}

.tabs button { display: flex; min-width: max-content; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--ink-soft); cursor: pointer; font-weight: 680; }
.tabs button:hover { background: rgba(255, 255, 255, .65); color: var(--accent-strong); }
.tabs button small { display: inline-grid; min-width: 25px; height: 20px; place-items: center; padding: 0 6px; border-radius: 99px; background: #dde3df; color: var(--muted); font-size: 11px; font-weight: 750; }
.tabs button[aria-selected="true"] { border-color: var(--accent); background: var(--accent); color: #fff; }
.tabs button[aria-selected="true"] small { background: rgba(255, 255, 255, .17); color: #fff; }
.panel { min-height: 550px; padding: 22px; border-radius: var(--radius); box-shadow: var(--shadow); }
.section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.section-head h2 { margin: 0; color: var(--ink); font-size: 25px; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.section-head p { max-width: 790px; margin: 5px 0 0; }
.muted { color: var(--muted); font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
button, .button { min-height: 38px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; color: var(--ink-soft); cursor: pointer; text-decoration: none; }
button:hover, .button:hover { border-color: #9fb2a7; }
.primary { border-color: var(--accent); background: var(--accent); color: #fff; font-weight: 700; }
.primary:hover { background: var(--accent-strong); }
.secondary { background: var(--paper-soft); }
.icon-button { display: grid; width: 36px; height: 36px; place-items: center; padding: 0; }
.pipeline-metrics, .portfolio-summary, .summary-strip { display: grid; gap: 9px; margin-bottom: 15px; }
.pipeline-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.portfolio-summary { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.summary-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metric, .portfolio-summary article, .summary-strip article { min-width: 0; padding: 14px 15px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper-soft); }
.pipeline-metrics .metric { min-height: 96px; }
.pipeline-metrics .metric:first-child { border-left: 3px solid var(--accent); }
.portfolio-summary article { min-height: 104px; background: #fff; }
.metric strong, .portfolio-summary strong, .summary-strip strong { display: block; margin-bottom: 7px; color: var(--ink); font-size: clamp(19px, 2vw, 27px); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; overflow-wrap: anywhere; }
.metric span, .portfolio-summary span, .summary-strip span { display: block; color: var(--muted); font-size: 11px; line-height: 1.35; }
.portfolio-summary strong { font-size: clamp(17px, 1.5vw, 22px); }
.summary-strip strong { font-size: 21px; }
.workflow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; margin: 2px 0 17px; }
.workflow article { position: relative; min-height: 78px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-soft); }
.workflow article:not(:last-child)::after { position: absolute; z-index: 2; right: -8px; top: 50%; width: 16px; height: 16px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--accent); content: "›"; font-size: 15px; font-weight: 700; line-height: 13px; text-align: center; transform: translateY(-50%); }
.workflow strong { display: block; color: var(--accent-strong); font-size: 12px; }
.workflow span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.recovery-card, .empty-state { padding: 15px 16px; border: 1px dashed #bdc9c2; border-radius: 11px; background: var(--paper-soft); }
.recovery-card { margin-bottom: 15px; }
.recovery-card strong { display: block; margin-bottom: 3px; color: var(--accent-strong); }
.empty-state { padding: 40px 20px; color: var(--muted); text-align: center; }
.subtabs { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 15px; }
.subtabs button { color: var(--muted); }
.subtabs button[aria-selected="true"] { border-color: #a5baae; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.fx-note { margin: 0 0 15px; padding: 9px 12px; border-left: 3px solid #8eaa9b; background: var(--accent-pale); color: var(--muted); font-size: 11px; }
.search-row { display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: 9px; margin: 0 0 15px; }
.search-row input, .field input, .field select, .field textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; color: var(--ink); outline: none; }
.search-row input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(49, 91, 78, .1); }
.table-wrap { position: relative; overflow: auto; max-height: min(66vh, 760px); border: 1px solid var(--line); border-radius: 11px; background: #fff; scrollbar-width: thin; }
table { width: 100%; min-width: 980px; border-collapse: separate; border-spacing: 0; }
th, td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { position: sticky; z-index: 4; top: 0; background: #f5f7f5; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; white-space: nowrap; }
th:first-child, td:first-child { position: sticky; left: 0; z-index: 3; box-shadow: 7px 0 16px -19px rgba(25, 54, 42, .7); }
th:first-child { z-index: 5; background: #f5f7f5; }
td:first-child { background: #fff; }
tbody tr:nth-child(even):not(.group-row, .subgroup-row, .archive-row) td { background: #fbfcfb; }
tbody tr:hover td { background: #f5f8f6 !important; }
tbody tr:last-child td { border-bottom: 0; }
.group-row td { position: static; padding: 8px 10px; background: #eaf2ed !important; color: var(--accent-strong); }
.group-row strong { margin-right: 8px; font-weight: 750; }
.group-row span { color: var(--muted); font-size: 11px; }
.subgroup-row td { position: static; padding: 8px 14px; background: #f2f5f3 !important; color: #66736c; font-size: 11px; font-weight: 700; }
.archive-row td { background: #f1f2f1 !important; color: #7a837e; }
.archive-row td:first-child { background: #eef0ee !important; }
.company { min-width: 190px; }
.company strong { display: block; color: var(--ink); }
.company small { display: block; margin-top: 2px; color: var(--muted-2); font-size: 10px; }
.money { white-space: nowrap; font-variant-numeric: tabular-nums; }
.source { max-width: 270px; color: var(--muted-2); font-size: 10px; overflow-wrap: anywhere; }
.empty-value { color: #93713f; font-size: 11px; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 99px; background: var(--accent-soft); color: var(--ok); font-size: 10px; font-weight: 750; line-height: 1.2; white-space: nowrap; }
.pill::before { width: 5px; height: 5px; border-radius: 50%; background: currentColor; content: ""; }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.danger { background: var(--danger-bg); color: var(--danger); }
.pill.neutral { background: #eceeed; color: #65706a; }
.money-button { min-height: auto; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--accent); text-decoration: underline; text-decoration-color: #9fb7aa; text-decoration-style: dotted; text-underline-offset: 3px; }
.document-link { color: var(--accent); text-decoration-color: #9fb7aa; text-decoration-style: dotted; text-underline-offset: 3px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; min-width: 190px; }
.row-actions button { min-height: 33px; padding: 5px 8px; font-size: 11px; }
.business-source-strip { display: grid; grid-template-columns: auto minmax(260px, 1fr) auto; align-items: center; gap: 7px 15px; margin: 0 0 15px; padding: 11px 13px; border: 1px solid #d1ded6; border-radius: 10px; background: var(--accent-pale); color: var(--ink-soft); }
.business-source-strip strong { color: var(--accent-strong); font-size: 12px; }
.business-source-strip span { font-size: 11px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.data-card { padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.data-card h3 { margin: 0 0 4px; font-size: 16px; }
.data-card p { margin: 7px 0; color: var(--muted); font-size: 12px; }
.data-card .meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.form-note { margin: 10px 0 15px; padding: 10px 12px; border-radius: 8px; background: var(--warn-bg); color: #714b18; font-size: 12px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { display: block; }
.field span { display: block; margin-bottom: 5px; color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.field.wide { grid-column: 1 / -1; }
.field textarea { min-height: 84px; resize: vertical; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
dialog { width: min(760px, calc(100% - 28px)); max-height: 88vh; padding: 25px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 26px 80px rgba(12, 27, 20, .35); }
dialog::backdrop { background: rgba(16, 32, 25, .68); }
.payment-sheet-dialog { width: min(1510px, calc(100% - 28px)); }
.payment-sheet-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.deal-summary { display: flex; flex-wrap: wrap; gap: 17px 28px; margin: 0 0 18px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.deal-summary span { color: var(--ink); font-size: 14px; white-space: nowrap; }
.deal-summary strong { font-weight: 760; }
.deal-summary .empty-value { color: var(--muted); font-weight: 500; }
.payment-sheet { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.payment-sheet-actions { display: flex; min-height: 64px; align-items: center; justify-content: flex-end; padding: 9px 12px; }
.payment-sheet-actions button { min-width: 76px; border-radius: 22px; box-shadow: 0 12px 28px rgba(23, 42, 33, .1); }
.payment-sheet .table-wrap { max-height: min(58vh, 700px); border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.payment-sheet table { min-width: 1160px; }
.payment-sheet th { padding-top: 14px; padding-bottom: 14px; background: #f4f6f1; }
.payment-sheet td { white-space: nowrap; }
.payment-sheet .payment-total td, .payment-sheet .payment-subtotal td { background: #fbf8ef; font-weight: 760; }
.payment-sheet .payment-missing { padding: 24px 18px; color: var(--muted); font-weight: 500; text-align: center; white-space: normal; }
.payment-sheet-note { margin: 12px 2px 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.close { float: right; border: 0; background: transparent; font-size: 25px; }
.dialog-title { margin: 0 44px 4px 0; font-size: 24px; letter-spacing: -.02em; }
.draft-list { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.draft { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.draft:last-child { border-bottom: 0; }
.draft code { color: var(--muted); font-size: 11px; }
.document-preview { width: 100%; min-height: 60vh; margin-top: 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.document-preview-image { display: block; max-width: 100%; max-height: 70vh; margin: 16px auto; border: 1px solid var(--line); border-radius: 10px; object-fit: contain; }
.document-open { display: inline-block; text-decoration: none; }
.source-provenance { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 17px; margin: -3px 0 17px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-soft); color: var(--ink-soft); }
.source-provenance span { font-size: 12px; }
.source-provenance span:first-of-type { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.investor-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; margin-bottom: 17px; }
.investor-kpi { display: flex; min-height: 130px; flex-direction: column; justify-content: space-between; padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--accent-pale); color: var(--ink); }
.investor-kpi span { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.investor-kpi strong { font-size: clamp(23px, 3vw, 38px); line-height: 1; overflow-wrap: anywhere; }
.investor-kpi small { color: var(--muted); }
.investor-kpi.source-error { border-color: #e4d1b5; background: #f5f2ed; color: #714b22; }
.source-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.source-chart { min-width: 0; padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.source-chart:first-child { grid-column: 1 / -1; }
.source-chart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.source-chart h3 { margin: 0; font-size: 17px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0; color: var(--muted); font-size: 11px; }
.chart-legend span { display: flex; align-items: center; gap: 5px; }
.chart-legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--series); }
.chart-scroll { overflow-x: auto; }
.source-chart svg { display: block; width: 100%; min-width: 650px; height: auto; }
.chart-labels { fill: #68736b; font: 11px Inter, system-ui, sans-serif; }
.chart-data { margin-top: 12px; }
.chart-data table { min-width: 640px; }
.sheet-manifest { margin-top: 17px; }
.sheet-manifest summary { padding: 10px 0; color: var(--accent); cursor: pointer; font-weight: 700; }
.noscript { margin: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; margin: -1px; padding: 0; border: 0; clip: rect(0, 0, 0, 0); white-space: nowrap; }

@media (max-width: 1180px) { .portfolio-summary { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1050px) {
  .shell { padding-top: 22px; }
  .hero { align-items: stretch; }
  .hero-links { align-self: stretch; }
  .dashboard-link { align-content: center; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .workflow { grid-template-columns: repeat(3, 1fr); }
  .workflow article:nth-child(3)::after { display: none; }
  .investor-kpis { grid-template-columns: repeat(3, 1fr); }
  .source-charts { grid-template-columns: 1fr; }
  .source-chart:first-child { grid-column: auto; }
}

@media (max-width: 760px) {
  .shell { padding: 16px 12px 46px; }
  .hero { display: block; padding: 22px 19px 21px 24px; }
  h1 { font-size: 32px; }
  .hero-links { width: 100%; margin-top: 20px; grid-template-columns: 1fr 1fr; }
  .dashboard-link { min-height: 62px; }
  .notice { font-size: 13px; }
  .tabs { grid-template-columns: repeat(4, minmax(128px, 1fr)); margin-top: 12px; }
  .panel { min-height: 480px; padding: 16px 14px; }
  .section-head { display: block; }
  .actions { justify-content: flex-start; margin-top: 13px; }
  .pipeline-metrics, .portfolio-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-strip, .cards, .fields { grid-template-columns: 1fr; }
  .workflow { grid-template-columns: repeat(2, 1fr); }
  .workflow article:nth-child(3)::after { display: block; }
  .workflow article:nth-child(even)::after { display: none; }
  .search-row { grid-template-columns: 1fr; }
  .business-source-strip { grid-template-columns: 1fr; }
  .table-wrap { max-height: 70vh; }
  .investor-kpis { grid-template-columns: 1fr 1fr; }
  .source-chart { padding: 12px; }
  .source-chart svg { min-width: 620px; }
}

@media (max-width: 480px) {
  .hero-links { grid-template-columns: 1fr; }
  .hero-meta span:last-child { flex-basis: 100%; }
  .pipeline-metrics, .portfolio-summary { grid-template-columns: 1fr 1fr; }
  .metric, .portfolio-summary article { min-height: 96px; padding: 12px; }
  .portfolio-summary strong { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }

/* Compact deal overview and stage route. */
[hidden] { display: none !important; }
.section-head p:empty { display: none; }
.pipeline-metrics.compact-pipeline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.pipeline-stat { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(115deg, #f0f6f2, #fafcfb); }
.pipeline-icon, .step-icon { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; color: var(--accent-strong); }
.pipeline-icon { width: 34px; height: 34px; border-radius: 10px; background: #e2eee6; }
.pipeline-icon svg { width: 21px; height: 21px; }
.pipeline-stat-label { color: var(--accent-strong); font-size: 12px; font-weight: 600; line-height: 1.3; }
.pipeline-stat > strong { margin-left: auto; font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; }
.workflow.compact-workflow { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; }
.compact-workflow article { display: flex; align-items: center; gap: 8px; min-height: 58px; padding: 9px 10px; background: #fff; border-radius: 10px; }
.compact-workflow .step-icon { margin: 0; width: 23px; }
.step-icon svg { width: 22px; height: 22px; }
.compact-workflow small { display: block; color: var(--muted); font-size: 9px; letter-spacing: .04em; line-height: 1.3; }
.compact-workflow strong { font-size: 11px; line-height: 1.3; margin-top: 3px; }
.compact-workflow article:not(:last-child)::after { width: 12px; height: 12px; right: -7px; font-size: 12px; line-height: 9px; }
.dashboard-link { cursor: pointer; touch-action: manipulation; }
.dashboard-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 1000px) {
  .workflow.compact-workflow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .compact-workflow article:nth-child(3n)::after { display: none; }
}
@media (max-width: 600px) {
  .pipeline-metrics.compact-pipeline { gap: 6px; }
  .pipeline-stat { flex-wrap: wrap; gap: 6px; padding: 9px; }
  .pipeline-stat-label { order: 3; flex-basis: 100%; font-size: 10px; }
  .pipeline-stat > strong { font-size: 23px; }
  .pipeline-icon { width: 27px; height: 27px; }
  .workflow.compact-workflow { gap: 6px; }
  .compact-workflow article { gap: 6px; padding: 8px; }
  .compact-workflow article:nth-child(2n)::after { display: block; }
  .compact-workflow article:nth-child(3n)::after { display: none; }
  .compact-workflow strong { font-size: 10px; }
  .compact-workflow .step-icon { width: 18px; }
}

/* Same navigation treatment as the dashboard's Investment Desk link. */
.hero .hero-links { display: block; width: auto; flex: 0 0 auto; position: relative; z-index: 1; }
.hero .desk-section-link { display: inline-block; color: #315b4e; font-size: 15px; line-height: 1.5; font-weight: 750; text-decoration: none; white-space: nowrap; cursor: pointer; touch-action: manipulation; padding: 10px 0; }
.hero .desk-section-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero .desk-section-link:focus-visible { outline: 2px solid #315b4e; outline-offset: 5px; border-radius: 3px; }
@media (max-width: 620px) { .hero .hero-links { margin-top: 13px; } }

/* Content-sized pipeline with accessible document icons. */
.pipeline-summary-note { margin: 12px 0 8px; color: var(--muted); font-size: 12px; }
.pipeline-table table { table-layout: fixed; min-width: 1040px; width: 100%; }
.pipeline-table th, .pipeline-table td { padding: 10px 9px; vertical-align: top; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.pipeline-table th:nth-child(1) { width: 13%; }
.pipeline-table th:nth-child(2) { width: 14%; }
.pipeline-table th:nth-child(3) { width: 22%; }
.pipeline-table th:nth-child(4) { width: 6%; text-align: center; }
.pipeline-table th:nth-child(5) { width: 45%; }
.pipeline-table td.deal-stage { overflow-wrap: normal; }
.deal-stage-in { display: flex; align-items: flex-start; gap: 6px; }
.deal-status { display: inline-grid; flex: 0 0 18px; width: 18px; height: 18px; place-items: center; margin-top: 1px; }
.deal-status svg { width: 16px; height: 16px; }
.deal-status-active { color: var(--ok); }
.deal-status-check { color: var(--warn); }
.deal-status-archive { color: var(--muted-2); }
.pipeline-table .company strong { font-size: 13px; }
.pipeline-table .pill { padding: 3px 6px; font-size: 10px; white-space: normal; }
.pipeline-table .deal-docs-cell { text-align: center; padding: 3px; }
.pipeline-table .deal-docs-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-width: 44px; padding: 10px; border: 0; border-radius: 9px; color: #315b4e; background: transparent; cursor: pointer; touch-action: manipulation; }
.pipeline-table .deal-docs-icon svg { width: 21px; height: 21px; background: #edf3ef; border-radius: 4px; }
.pipeline-table .deal-docs-icon:hover { background: #e8f0eb; }
.pipeline-table .deal-docs-icon:focus-visible { outline: 2px solid #315b4e; outline-offset: -2px; }
.pipeline-table .pipeline-investment-summary p { margin: 0 0 3px; font-size: 12px; line-height: 1.4; }
.pipeline-table .pipeline-investment-summary p:last-child { margin-bottom: 0; color: #315b4e; }
.pipeline-table .pipeline-investment-summary b { font-weight: 650; color: #61716a; }

.attached-documents table { min-width: 0; width: 100%; table-layout: fixed; }
.attached-documents th:first-child { width: 38%; }
.attached-documents th:last-child { width: 62%; }
.attached-documents th, .attached-documents td { padding: 12px; white-space: normal; overflow-wrap: anywhere; vertical-align: top; }
.attached-documents .document-link { display: inline-block; padding: 6px 0; color: #315b4e; text-decoration: underline; text-underline-offset: 3px; }
.attached-documents .document-unavailable { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.attached-documents td:last-child { font-size: 13px; line-height: 1.5; }

/* Портфель: компактная инфографика */
.pf-infographic { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 12px; margin: 14px 0 16px; }
.pf-card { padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.pf-card header { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; color: var(--muted); font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; }
.pf-card header strong { color: var(--ink); font-size: 26px; letter-spacing: -.02em; text-transform: none; }
.pf-card header em { padding: 2px 8px; border-radius: 999px; font-size: 13px; font-style: normal; font-weight: 750; text-transform: none; }
.pf-card header em.up { background: var(--accent-soft); color: var(--ok); }
.pf-card header em.down { background: var(--danger-bg); color: var(--danger); }
.pf-stack { display: flex; height: 10px; overflow: hidden; border-radius: 999px; gap: 2px; }
.pf-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 9px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 12px; }
.pf-legend li { display: inline-flex; align-items: center; gap: 5px; }
.pf-legend i { width: 8px; height: 8px; border-radius: 2px; }
.pf-legend b { color: var(--ink); }
.pf-bars { display: grid; gap: 7px; }
.pf-bars > div { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 8px; font-size: 12px; }
.pf-bars small { color: var(--muted); font-size: 12px; }
.pf-bars b { color: var(--ink); font-size: 13px; white-space: nowrap; }
.pf-bars .track { height: 8px; overflow: hidden; border-radius: 999px; background: var(--paper-soft); }
.pf-bars .track > span { display: block; height: 100%; border-radius: 999px; background: var(--muted-2); }
.pf-bars .track.fv.up > span { background: var(--accent); }
.pf-bars .track.fv.down > span { background: var(--danger); }
@media (max-width: 900px) { .pf-infographic { grid-template-columns: 1fr; } }
.empty-dash { color: var(--muted-2); }
.icon-actions { min-width: 0; flex-wrap: nowrap; gap: 4px; }
.icon-actions .icon-button { width: 32px; height: 32px; min-height: 32px; padding: 0; color: var(--accent); }
.icon-actions .icon-button svg { width: 17px; height: 17px; }
#view td:nth-child(2) { white-space: nowrap; }

/* Портфель: описание компании и комментарий из файла 04.09 */
.company-desc { display: block; font-size: 12px; font-weight: 400; color: var(--muted, #7a7a7a); margin-top: 2px; }
.portfolio-comment { display: block; max-width: 260px; font-size: 12px; line-height: 1.35; color: var(--muted, #7a7a7a); white-space: pre-line; }
.pf-infographic { grid-template-columns: 1.1fr 1fr 1fr 1fr; }
.pf-ref { background: var(--accent-pale); }
.pf-ref-main b { display: block; color: var(--ink); font-size: 22px; letter-spacing: -.02em; }
.pf-ref-main small { color: var(--muted); font-size: 12px; }
.pf-ref-meta { margin: 8px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.4; }
@media (max-width: 1100px) { .pf-infographic { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .pf-infographic { grid-template-columns: 1fr; } }
.pf-ref-net { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 7px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.pf-ref-net b { color: var(--ink); font-size: 15px; }
.search-row .icon-button { width: 44px; height: auto; min-height: 44px; flex: 0 0 44px; color: var(--accent); border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; }
.search-row .icon-button svg { width: 20px; height: 20px; }
.search-row .extra-toggle.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.search-row:has(.extra-toggle) { grid-template-columns: minmax(220px, 1fr) auto auto; }

/* Портфель: компактная таблица */
.portfolio-table table { font-variant-numeric: tabular-nums; }
.portfolio-table th, .portfolio-table td { padding: 8px 10px; vertical-align: middle; font-size: 13px; }
.portfolio-table th.num, .portfolio-table td.num { text-align: right; white-space: nowrap; }
.portfolio-table tbody tr:not(.group-row):not(.subgroup-row):hover td { background: #f3f7f4 !important; }
.portfolio-table td.company { position: sticky; left: 0; z-index: 2; min-width: 170px; max-width: 240px; background: inherit; box-shadow: 1px 0 0 var(--line); }
.portfolio-table tbody tr td.company { background: #fff; }
.portfolio-table tbody tr:nth-child(even) td.company { background: #fbfcfb; }
.portfolio-table th:first-child { position: sticky; left: 0; z-index: 5; }
.portfolio-table td.company strong { font-size: 13px; }
.portfolio-table .company-desc { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-size: 11px; line-height: 1.35; }
.pf-date { color: var(--muted); font-size: 11px; white-space: nowrap; }
.pf-money { color: var(--ink); font-weight: 600; white-space: nowrap; }
.pf-money small { color: var(--muted-2); font-size: 10px; font-weight: 600; }
.pf-money.neg { color: var(--ok); }
.pf-moic { display: inline-block; padding: 1px 7px; border-radius: 999px; font-size: 11.5px; font-weight: 750; }
.pf-moic.up { background: var(--accent-soft); color: var(--ok); }
.pf-moic.down { background: var(--danger-bg); color: var(--danger); }
.pf-share { font-weight: 600; }
.pf-tag { display: inline-block; padding: 1px 7px; border-radius: 6px; background: var(--paper-soft); color: var(--muted); font-size: 11px; }
.portfolio-table .money-button { padding: 0; border: 0; background: none; border-bottom: 1px dashed var(--line-strong); border-radius: 0; min-height: 0; }
.portfolio-table .group-row td { font-size: 13px; }
.portfolio-table th:nth-child(n+3), .portfolio-table td:nth-child(n+3) { text-align: right; }
.portfolio-table th:last-child, .portfolio-table td:last-child { text-align: center; }
.portfolio-table td:last-child .icon-actions { justify-content: center; }
.portfolio-table .group-row td { text-align: left !important; position: static; }
.portfolio-table th { font-size: 10px; padding-top: 10px; padding-bottom: 10px; }
.pf-money.zero { color: var(--muted-2); font-weight: 500; }
.portfolio-table td.num { font-size: 12.5px; letter-spacing: -.005em; }
.pf-money { font-weight: 500; font-feature-settings: "tnum" 1, "lnum" 1; }
.pf-money small { margin-left: 1px; }
.pf-summary-row td { background: #f6f9f7 !important; font-weight: 600; }
.pf-summary-row td.company strong { display: inline; }
.pf-toggle { display: inline-grid; width: 22px; height: 22px; min-height: 22px; margin-right: 7px; padding: 0; place-items: center; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; color: var(--accent); font-size: 15px; font-weight: 700; line-height: 1; vertical-align: -3px; }
.pf-summary-row .company-desc { margin-left: 29px; }
.pf-child-row td.company { padding-left: 38px; }
.pf-child-row td { background: #fcfdfc; }
.portfolio-table .subgroup-row td { text-align: left !important; }
.portfolio-table .subgroup-row + .pf-summary-row td.company, .portfolio-table .subgroup-row ~ tr td.company { }

/* Платёжный лист по зонам */
.zs-export { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 50%; color: var(--accent); }
.zs-kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.zs-kpi > div { padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-soft); }
.zs-kpi small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.zs-kpi strong { display: block; margin-top: 3px; font-size: 18px; font-variant-numeric: tabular-nums; }
.zs-kpi em { display: block; margin-top: 2px; color: var(--muted); font-size: 11.5px; font-style: normal; }
.zs-kpi .zs-red, .zs-overdue, .zs-overdue b { color: var(--danger) !important; }
.zs-structure { margin-bottom: 18px; }
.zs-bar { display: flex; height: 10px; overflow: hidden; border-radius: 6px; gap: 2px; }
.zs-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 7px; color: var(--ink-soft); font-size: 12px; }
.zs-legend i, .zs-zone h3 i { display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 3px; vertical-align: 0; }
.zb-equity { background: #315b4e; }
.zb-interest_free { background: #8fb4a3; }
.zb-interest { background: #c8913d; }
.zs-zone { margin-bottom: 18px; }
.zs-zone h3 { display: flex; align-items: baseline; gap: 4px; margin: 0 0 8px; font-size: 15px; }
.zs-zone h3 small { margin-left: 8px; color: var(--muted); font-size: 12px; font-weight: 500; }
.zs-card { margin-bottom: 10px; overflow: hidden; border: 1px solid var(--line); border-left: 4px solid #8fb4a3; border-radius: 12px; background: #fff; }
.zs-card.zs-equity { border-left-color: #315b4e; }
.zs-card.zs-interest { border-left-color: #c8913d; }
.zs-card > summary { padding: 11px 14px 10px; cursor: pointer; list-style: none; }
.zs-card > summary::-webkit-details-marker { display: none; }
.zs-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.zs-head strong { display: block; font-size: 14.5px; }
.zs-head small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.zs-chips { display: flex; flex-shrink: 0; gap: 6px; }
.zs-chip { padding: 3px 9px; border-radius: 20px; background: var(--accent-pale); color: var(--ink-soft); font-size: 11.5px; white-space: nowrap; }
.zs-chip.zs-rate { background: #fbf0dc; color: #7a5212; font-weight: 700; }
.zs-stats { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 8px; font-size: 13px; font-variant-numeric: tabular-nums; }
.zs-stats b { display: block; color: var(--muted); font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.zs-stats em { color: var(--muted); font-size: 12px; }
.zs-stats i, .zs-table td i { margin-left: 3px; color: var(--warn); font-style: normal; font-weight: 800; cursor: help; }
.zs-progress { height: 4px; margin-top: 9px; overflow: hidden; border-radius: 3px; background: #eef1ee; }
.zs-progress i { display: block; height: 100%; background: #2f6d50; }
.zs-table { max-height: 46vh; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.zs-table table { width: 100%; min-width: 860px; font-size: 12.5px; table-layout: fixed; }
.zs-table col.c-date { width: 84px; }
.zs-table col.c-basis { width: 30%; }
.zs-table th { white-space: normal; line-height: 1.25; padding: 6px 8px; background: #f4f6f1; font-size: 11px; text-align: right; }
.zs-table th:nth-child(-n+2) { text-align: left; }
.zs-table tr.zs-group th { padding-bottom: 0; color: var(--muted); text-align: center; text-transform: uppercase; letter-spacing: .05em; }
.zs-table tr.zs-group th:nth-child(2) { background: #eef3ea; }
.zs-table tr.zs-group th:nth-child(3) { background: #f3efe4; }
.zs-table td { padding: 5px 8px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.zs-table td:nth-child(2) { overflow: hidden; text-align: left; text-overflow: ellipsis; }
.zs-table td:nth-child(1) { text-align: left; color: var(--muted); }
.zs-cols-6 td:nth-child(n+3):nth-child(-n+5), .zs-cols-4 td:nth-child(n+3):nth-child(-n+4) { background: #fafbf8; }
.zs-cols-4 table { min-width: 640px; }
.zs-cols-4 col.c-basis { width: 40%; }
.zs-table tr.zs-total td { background: #fbf8ef; font-weight: 760; }
.zs-table tr.zs-adjust td { color: var(--muted); font-style: italic; }
.zs-table tr.zs-plan td { color: #8a948e; }
.zs-table tr.zs-late td { color: var(--danger); }
.zs-badge { margin-left: 6px; padding: 1px 6px; border-radius: 8px; background: var(--danger-bg); color: var(--danger); font-size: 10.5px; }
.zs-flags { margin: 0; padding: 8px 14px 10px 30px; border-top: 1px dashed var(--line); background: var(--warn-bg); color: var(--warn); font-size: 12px; line-height: 1.45; }
@media (max-width: 820px) { .zs-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.zs-cur { color: var(--muted); font-size: 10px; }
.letter-text pre { max-height: 50vh; overflow: auto; padding: 10px 12px; border-radius: 10px; background: var(--paper-soft); white-space: pre-wrap; word-break: break-word; font: 12.5px/1.5 inherit; }

/* Плитки разделов документов в один ряд (25.10.2026) */
.dz-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
.dz-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 11px 9px; min-width: 0; border: 1px solid var(--line, #e3ddd2); border-radius: 12px; background: #fff; color: var(--muted); text-align: left; cursor: pointer; }
.dz-tile svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 2px; }
.dz-tile strong { font-size: 20px; line-height: 1.1; color: var(--ink, #2d2a26); font-variant-numeric: tabular-nums; }
.dz-tile .dz-label { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.dz-tile small { font-size: 11px; color: var(--muted-2, #9a948a); white-space: nowrap; }
.dz-bar { display: block; width: 100%; height: 4px; margin-top: 6px; border-radius: 4px; background: #efebe4; overflow: hidden; }
.dz-bar > span { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.dz-bar-empty { background: transparent; }
.dz-tile[aria-selected="true"] { border-color: #a5baae; background: var(--accent-soft); color: var(--accent); }
.dz-tile[aria-selected="true"] strong { color: var(--accent); }
@media (max-width: 760px) { .dz-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Telega: keep grouped headers aligned with their numeric columns. */
.zs-telega table { min-width: 700px; }
.zs-telega col.c-date { width: 90px; }
.zs-telega col.c-basis { width: 40%; }
.zs-telega thead { position: sticky; top: 0; z-index: 5; }
.zs-telega thead th { position: static; vertical-align: middle; }
.zs-telega col.c-num { width: calc((60% - 90px) / 3); }
.zs-telega thead tr:first-child th[colspan],
.zs-telega thead tr:first-child th:nth-child(3),
.zs-telega thead tr:last-child th { text-align: center; padding-left: 8px; padding-right: 8px; }
.zs-telega tbody td:nth-child(n+3) { text-align: center; padding-left: 8px; padding-right: 8px; }
.zs-telega tbody .money { display: inline-block; width: var(--number-width); text-align: right; font-variant-numeric: tabular-nums; }
.zs-telega td:nth-child(2) { white-space: normal !important; overflow-wrap: anywhere; }

.zs-telega .zs-basis-detail > summary { display: list-item; padding: 0; cursor: pointer; font-weight: 400; }
.zs-telega .zs-basis-detail > div { padding: 6px 0 2px; color: var(--muted); font-size: 11px; }

.zs-explanations { border-top: 1px solid var(--line); }
.zs-explanations > summary { padding: 9px 14px; cursor: pointer; color: var(--muted); font-size: 12px; }
.zs-explanations > .zs-flags { border-top: 0; }

/* Keep zero balances readable but visually secondary. */
.zs-stats .zs-zero { color: #9299a3; font-weight: 400; }

/* Four numeric columns in the Mixit loan history. */
.zs-telega.zs-cols-4 table { min-width: 820px; }
.zs-telega.zs-cols-4 col.c-basis { width: 26%; }
.zs-telega.zs-cols-4 col.c-num { width: calc((74% - 90px) / 4); }
.zs-telega.zs-cols-4 thead tr:first-child th:nth-child(4) { text-align: center; }

/* Brut&Butter: USD and AED side by side. */
.zs-brut table { min-width: 1120px; table-layout: fixed; }
.zs-brut col.c-date { width: 90px; }
.zs-brut col.c-basis { width: 25%; }
.zs-brut col.c-num { width: calc((75% - 90px) / 6); }
.zs-table.zs-brut thead th { white-space: normal; text-align: center; vertical-align: middle; }
.zs-brut .zs-header-currency { display: inline-block; margin-top: 4px; }
.zs-brut td:nth-child(n+3) { text-align: right; white-space: nowrap; }

.zs-table.zs-brut .zs-brut-group { padding-top: 12px; padding-bottom: 8px; font-weight: 700; }
.zs-table.zs-brut .zs-block-start,
.zs-table.zs-brut tbody td:nth-child(6) { border-left: 14px solid #fff; }
.zs-table.zs-brut tbody td:nth-child(3),
.zs-table.zs-brut tbody td:nth-child(4),
.zs-table.zs-brut tbody td:nth-child(5) { background: #f8faf6; }
.zs-table.zs-brut tbody td:nth-child(6),
.zs-table.zs-brut tbody td:nth-child(7),
.zs-table.zs-brut tbody td:nth-child(8) { background: #f4f7f6; }
.zs-table.zs-brut tbody .zs-total td:nth-child(n+3) { font-weight: 700; }

.zs-table.zs-brut tbody td:nth-child(n+3) { text-align: center; }
.zs-table.zs-brut .zs-aligned-number { display: inline-block; text-align: right; font-variant-numeric: tabular-nums; }

/* Ruble calculation expands only on demand. */
.zs-rub-detail { position: relative; }
.zs-rub-detail > summary { cursor: pointer; list-style: none; text-decoration: underline dotted; text-underline-offset: 4px; }
.zs-rub-detail > summary::-webkit-details-marker { display: none; }
.zs-rub-detail > div { white-space: normal; min-width: 160px; max-width: 240px; padding: 10px; margin-top: 6px; font-size: 12px; line-height: 1.5; text-align: left; background: #f1f5f9; border-radius: 8px; color: #334155; }

.zs-table.zs-brut tbody td.zs-native-tranche .money { font-weight: 600; }

.zs-kpi-brut .zs-kpi-currency { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; font-variant-numeric: tabular-nums; }

.brut-overview { margin: 18px 0; }
.brut-overview > h3 { margin: 0 0 12px; font-size: 16px; }
.brut-project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.brut-project-card { padding: 18px; border: 1px solid var(--line,#dce4df); border-radius: 14px; background: var(--paper-soft,#f7f9f7); }
.brut-project-card header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brut-project-card h4 { margin: 0; font-size: 17px; }
.brut-project-card header > span { font-size: 12px; color: var(--muted,#64756a); }
.brut-project-progress { height: 5px; background: #e0e9e3; border-radius: 5px; margin: 13px 0 18px; overflow: hidden; }
.brut-project-progress i { display: block; height: 100%; background: #739d89; border-radius: inherit; }
.brut-project-card dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 0; }
.brut-project-card dt { font-size: 11px; color: var(--muted,#64756a); margin-bottom: 7px; }
.brut-project-card dd { margin: 0; font-variant-numeric: tabular-nums; }
.brut-project-card dd strong { display: block; font-size: 15px; }
.brut-project-card dd small { font-size: 10px; font-weight: 500; }
.brut-project-card dd span { display: block; font-size: 12px; margin-top: 5px; }
.brut-project-card .brut-project-rub { color: var(--muted,#64756a); font-size: 11px; }
@media(max-width:1100px) { .brut-project-grid { grid-template-columns: 1fr; } }
@media(max-width:480px) { .brut-project-card { padding: 14px; } .brut-project-card dl { grid-template-columns: 1fr; gap: 13px; } .brut-project-card dl > div { padding-bottom: 10px; border-bottom: 1px solid var(--line,#dce4df); } .brut-project-card dl > div:last-child { border: 0; padding-bottom: 0; } }

.zs-native-original { margin-top: 5px; font-weight: 600; font-size: 12px; }

.pf-net-line { margin-top: 0; border-top: 0; padding-top: 2px; }

/* Align repayment amounts directly beneath their column headings. */
.zs-repayment-plan tbody .money { width: auto; text-align: center; }
