/* ===== DEAL DETAIL V3 STYLES ===== */
/* All classes prefixed with 'dd-' to avoid conflicts */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* CSS Variables for Deal Detail */
.dealdetail-v3 {
    --dd-bg-primary: #0a0e1a;
    --dd-bg-secondary: #0f1629;
    --dd-bg-card: #131a2e;
    --dd-bg-card-hover: #182240;
    --dd-border: #1e2a45;
    --dd-border-light: #263354;
    --dd-text-primary: #e8ecf4;
    --dd-text-secondary: #8892a8;
    --dd-text-muted: #5a6478;
    /* Aliases used throughout the page markup that were never defined — without these, every
       var(--dd-text)/var(--dd-text-soft)/var(--dd-text-dim) with no inline fallback silently
       dropped its color and inherited the dim muted tone, hurting readability of emphasized text. */
    --dd-text: #e8ecf4;
    --dd-text-soft: #c3cce1;
    --dd-text-dim: #8892a8;
    --dd-green: #10b981;
    --dd-green-dim: rgba(16, 185, 129, 0.12);
    --dd-blue: #3b82f6;
    --dd-blue-dim: rgba(59, 130, 246, 0.12);
    --dd-red: #ef4444;
    --dd-red-dim: rgba(239, 68, 68, 0.12);
    --dd-yellow: #f59e0b;
    --dd-yellow-dim: rgba(245, 158, 11, 0.12);
    --dd-orange: #f97316;
    --dd-orange-dim: rgba(249, 115, 22, 0.12);
    --dd-purple: #8b5cf6;
    --dd-purple-dim: rgba(139, 92, 246, 0.12);
    --dd-cyan: #06b6d4;
    --dd-cyan-dim: rgba(6, 182, 212, 0.12);
    --dd-pink: #ec4899;
    --dd-pink-dim: rgba(236, 72, 153, 0.12);
}

.dealdetail-v3 {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    color: var(--dd-text-primary);
    line-height: 1.6;
}

.dd-header-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
/* With section nav moved out, this row is often empty (nothing but the NDA onboarding, which is conditional) — don't leave its top margin as a gap. */
.dd-header-actions:empty { margin-top: 0; }
.dd-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    white-space: nowrap;
}
.dd-btn-primary { background: var(--dd-green); color: #000; }
.dd-btn-primary:hover { background: #0ea572; }
.dd-btn-secondary { background: transparent; color: var(--dd-text-secondary); border: 1px solid var(--dd-border-light); }
.dd-btn-secondary:hover { border-color: var(--dd-blue); color: var(--dd-blue); }
.dd-btn-accent { background: var(--dd-blue-dim); color: var(--dd-blue); border: 1px solid rgba(59, 130, 246, 0.25); }
.dd-btn-accent:hover { background: rgba(59, 130, 246, 0.2); }
.dd-btn-purple { background: var(--dd-purple-dim); color: var(--dd-purple); border: 1px solid rgba(139, 92, 246, 0.25); }
.dd-btn-purple:hover { background: rgba(139, 92, 246, 0.2); }
.dd-btn-closing { background: var(--dd-green-dim); color: var(--dd-green); border: 1px solid rgba(16, 185, 129, 0.25); }
.dd-btn-closing:hover { background: rgba(16, 185, 129, 0.2); }
.dd-btn-danger { background: transparent; color: var(--dd-red); border: 1px solid rgba(239, 68, 68, 0.3); }
.dd-btn-danger:hover { background: var(--dd-red-dim); }

/* Deal-header action buttons read as one consistent, filled control (the "Data Room"
   look) rather than a rainbow of dim, rounded variants — those looked like the sector/
   stage pills above them and led users to click the tags expecting an action. This
   deliberately overrides the per-button color variants inside the actions row only. */
.dd-header-actions .dd-btn { background: var(--dd-green); color: #000; border: none; }
.dd-header-actions .dd-btn:hover:not(:disabled) { background: #0ea572; }
/* A held-back action (e.g. the Ally pre-launch gate) reads as unavailable, not as a green call to action. */
.dd-header-actions .dd-btn:disabled { background: rgba(148,163,184,0.08); color: #9aa6bd; border: 1px solid rgba(148,163,184,0.25); cursor: not-allowed; }

/* ══════════════════════════════════════════
   STAT CARDS
   ══════════════════════════════════════════ */
.dd-stat-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px 14px; margin-bottom: 24px; }
.dd-stat-card {
    background: var(--dd-bg-card); border: 1px solid var(--dd-border); border-radius: 12px; padding: 18px;
    transition: border-color 0.2s, transform 0.15s;
}
.dd-stat-card:hover { border-color: var(--dd-border-light); transform: translateY(-1px); }
.dd-stat-label {
    font-size: 10px; font-weight: 600; letter-spacing: 1.2px;
    text-transform: uppercase; color: #e0b866; margin-bottom: 8px;
}
.dd-stat-value { font-family: 'JetBrains Mono', monospace; font-size: 22px; font-weight: 700; margin-bottom: 4px; }
/* "Not Available" is text, not a figure: smaller, and kept on one line (with an ellipsis as a last resort); the line height
   matches a figure's, so the sub-lines still align across the row. */
.dd-stat-value.dd-stat-value--na { font-size: 15px; line-height: 35px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Sector / Stage card: the deal's sector and round as badges (moved here from the deal header). */
.dd-stat-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 6px; }
.dd-stat-card--center { text-align: center; }
.dd-stat-card--center .dd-stat-tags { justify-content: center; }
.dd-stat-tag {
    display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px;
    font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
    /* Long labels wrap inside the card (the phone grid's cards don't widen). */
    max-width: 100%; overflow-wrap: anywhere;
}
.dd-stat-tag.sector { background: #16224a; color: #8fb2ff; }
.dd-stat-tag.stage { background: #241c40; color: #b39cf5; }

/* Deal Score ring in the Scored Assessments corner (click for the breakdown). */
.dd-score-mini {
    position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px;
    padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer;
}
.dd-score-mini svg { width: 52px; height: 52px; transform: rotate(-90deg); transition: transform 0.15s ease; }
.dd-score-mini:hover svg { transform: rotate(-90deg) scale(1.06); }
.dd-score-mini:focus-visible { outline: 2px solid #f0c987; outline-offset: 3px; border-radius: 8px; }
.dd-score-mini-bg { fill: none; stroke: var(--dd-border); stroke-width: 8; }
.dd-score-mini-fill { fill: none; stroke: var(--dd-yellow); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 251.2; transition: stroke-dashoffset 0.8s ease; }
.dd-score-mini-value {
    position: absolute; left: 0; top: 0; width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 700; color: #fff;
}
.dd-score-mini-label { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dd-text-secondary); max-width: 44px; line-height: 1.2; }

/* Pass on this deal: a one-time decline, centered at the bottom of the pending view. */
.dd-pass-row { display: flex; justify-content: center; margin: 8px 0 24px; }
.dd-deal-pass.nea-red-btn { height: 44px; padding: 0 26px; font-size: 14px; }
@media (prefers-reduced-motion: reduce) {
    .dd-score-mini svg, .dd-score-mini-fill, .dd-deal-pass.nea-red-btn { transition: none; }
}
.dd-stat-sub { font-size: 12px; color: var(--dd-text-secondary); }
.dd-stat-sub.positive { color: var(--dd-green); }
.dd-stat-sub.negative { color: var(--dd-red); }
.dd-stat-sub.warning { color: var(--dd-yellow); }

/* ══════════════════════════════════════════
   SECTIONS / LAYOUT
   ══════════════════════════════════════════ */
.dd-section { margin-bottom: 24px; }
.dd-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dd-three-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

/* ══════════════════════════════════════════
   CARDS
   ══════════════════════════════════════════ */
.dd-card { background: var(--dd-bg-card); border: 1px solid var(--dd-border); border-radius: 12px; padding: 24px; }
.dd-card-title {
    font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: #e0b866;
    margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--dd-border);
}
.dd-card-title-row {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--dd-border);
}
.dd-card-title-row .dd-card-title { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.dd-card-subtitle { font-size: 11px; color: var(--dd-text-muted); }

/* ══════════════════════════════════════════
   FUNDING BAR
   ══════════════════════════════════════════ */
.dd-funding-bar-container { margin-bottom: 20px; }
.dd-funding-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.dd-funding-raised {
    font-family: 'JetBrains Mono', monospace; font-size: 20px; font-weight: 700; color: var(--dd-green);
}
.dd-funding-raised span { font-size: 14px; color: #e0b866; font-weight: 400; }
.dd-funding-target { font-size: 13px; color: #e0b866; }
.dd-funding-target span { color: var(--dd-text-primary); font-weight: 600; }
.dd-funding-bar { height: 12px; background: var(--dd-border); border-radius: 6px; overflow: hidden; position: relative; }
.dd-funding-bar-segments { position: absolute; inset: 0; display: flex; }
.dd-funding-segment { height: 100%; border-right: 2px solid var(--dd-bg-card); transition: width 0.8s ease; }
.dd-funding-label-row {
    display: flex; justify-content: space-between; margin-top: 6px;
    font-size: 11px; color: #e0b866;
}

/* ══════════════════════════════════════════
   INVESTOR LIST
   ══════════════════════════════════════════ */
.dd-investor-section { margin-top: 16px; }
.dd-investor-section-title {
    font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
    text-transform: uppercase; color: var(--dd-text-muted); margin-bottom: 12px;
}
.dd-investor-list { display: flex; flex-direction: column; gap: 12px; }
.dd-investor-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; background: var(--dd-bg-secondary); border-radius: 10px;
    border: 1px solid var(--dd-border); transition: border-color 0.2s;
}
.dd-investor-row:hover { border-color: var(--dd-border-light); }
.dd-investor-left { display: flex; align-items: center; gap: 12px; }
.dd-investor-avatar {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; flex-shrink: 0;
    border: 1px solid var(--dd-border-light);
}
.dd-investor-name { font-size: 14px; font-weight: 600; }
.dd-investor-type { font-size: 11px; color: var(--dd-text-muted); }
.dd-investor-right { display: flex; align-items: center; gap: 20px; text-align: right; }
.dd-investor-amount { font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 600; }
.dd-investor-pct { font-size: 11px; color: var(--dd-text-muted); }
.dd-investor-status {
    font-size: 10px; font-weight: 600; letter-spacing: 0.5px;
    text-transform: uppercase; padding: 3px 10px; border-radius: 12px;
}

/* ══════════════════════════════════════════
   HEALTH BARS
   ══════════════════════════════════════════ */
.dd-health-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 0; border-bottom: 1px solid rgba(30, 42, 69, 0.5);
}
.dd-health-row:last-child { border-bottom: none; }
.dd-health-label { font-size: 13px; color: var(--dd-text-secondary); min-width: 140px; }
.dd-health-bar-track {
    flex: 1; height: 6px; background: var(--dd-border); border-radius: 3px;
    margin: 0 16px; overflow: hidden;
}
.dd-health-bar-fill { height: 100%; border-radius: 3px; transition: width 0.8s ease; }
.dd-health-score {
    font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 600;
    min-width: 50px; text-align: right;
}

/* Due-diligence activity summary (Q&A, Management Presentation, Fireside, 1:1) — one compact row each,
   clickable through to that section of the Due Diligence workspace. */
.dd-activity { margin-top: 18px; }
.dd-activity-title {
    font-size: 12px; font-weight: 600; color: var(--dd-text-secondary); margin-bottom: 6px; letter-spacing: 0.5px;
    text-transform: uppercase;
}
.dd-activity-row {
    display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 6px; margin: 0;
    background: transparent; border: 0; border-bottom: 1px solid rgba(30, 42, 69, 0.5); border-radius: 6px;
    color: inherit; font: inherit; text-align: left; cursor: pointer; text-decoration: none;
}
.dd-activity-row:last-child { border-bottom: none; }
.dd-activity-row:hover { background: var(--dd-bg-card-hover); }
.dd-activity-row:focus-visible { outline: 2px solid var(--dd-blue); outline-offset: 1px; }
.dd-activity-label { font-size: 13px; color: var(--dd-text-soft); min-width: 170px; }
.dd-activity-status { flex: 1; font-size: 13px; text-align: right; }
.dd-activity-status.tone-good { color: var(--dd-green); }
.dd-activity-status.tone-active { color: #7eb3ff; }
.dd-activity-status.tone-attention { color: var(--dd-yellow); }
.dd-activity-status.tone-muted { color: var(--dd-text-dim); }
.dd-activity-chev { color: var(--dd-text-dim); font-size: 16px; }
.dd-activity-empty { font-size: 13px; color: var(--dd-text-dim); padding: 8px 0; }
@media (max-width: 600px) {
    .dd-activity-row { flex-wrap: wrap; gap: 4px 12px; }
    .dd-activity-label { min-width: 0; }
    .dd-activity-status { text-align: left; flex-basis: 100%; }
    .dd-activity-chev { display: none; }
}

/* ══════════════════════════════════════════
   INSIGHTS
   ══════════════════════════════════════════ */
.dd-insights-list { display: flex; flex-direction: column; gap: 12px; }
.dd-insight-card {
    background: var(--dd-bg-secondary); border: 1px solid var(--dd-border); border-radius: 10px;
    padding: 16px; transition: border-color 0.2s;
}
.dd-insight-card:hover { border-color: var(--dd-border-light); }
.dd-insight-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.dd-insight-icon {
    width: 28px; height: 28px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dd-insight-title { font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.dd-insight-body { font-size: 13px; color: var(--dd-text-secondary); line-height: 1.6; }
.dd-insight-body strong { color: var(--dd-text-primary); }

/* ══════════════════════════════════════════
   DD PROGRESS
   ══════════════════════════════════════════ */
.dd-progress-wrapper { margin-bottom: 20px; }
.dd-progress-header { display: flex; justify-content: space-between; margin-bottom: 6px; }
.dd-progress-label { font-size: 11px; color: var(--dd-text-muted); letter-spacing: 0.5px; }
.dd-progress-pct { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600; }
.dd-progress-track-lg { height: 10px; background: var(--dd-border); border-radius: 5px; overflow: hidden; margin-bottom: 20px; }
.dd-progress-fill { height: 100%; border-radius: 5px; transition: width 1s ease; }

/* ══════════════════════════════════════════
   SCORED METRICS
   ══════════════════════════════════════════ */
.dd-scored-metric {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 0; border-bottom: 1px solid rgba(30, 42, 69, 0.4);
}
.dd-scored-metric:last-child { border-bottom: none; }
.dd-scored-metric-left { display: flex; align-items: center; gap: 10px; }
.dd-scored-metric-icon {
    width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}
.dd-scored-metric-name { font-size: 13px; color: var(--dd-text-secondary); }
.dd-scored-metric-right { display: flex; align-items: center; gap: 12px; }
.dd-scored-metric-bar { width: 80px; height: 5px; background: var(--dd-border); border-radius: 3px; overflow: hidden; }
.dd-scored-metric-fill { height: 100%; border-radius: 3px; }
.dd-scored-metric-value {
    font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 600;
    min-width: 36px; text-align: right;
}
.dd-scored-metric-tier {
    font-size: 10px; font-weight: 600; letter-spacing: 0.5px;
    text-transform: uppercase; padding: 2px 8px; border-radius: 4px;
    min-width: 70px; text-align: center;
}

/* ══════════════════════════════════════════
   TERMS GRID
   ══════════════════════════════════════════ */
.dd-terms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.dd-term-item {
    display: flex; justify-content: space-between;
    padding: 12px 8px; border-bottom: 1px solid rgba(30, 42, 69, 0.4);
}
.dd-term-label { font-size: 13px; color: var(--dd-text-muted); }
.dd-term-value { font-size: 13px; font-weight: 600; color: var(--dd-text-primary); }

/* ══════════════════════════════════════════
   FOUNDERS
   ══════════════════════════════════════════ */
.dd-founder-row { display: flex; gap: 20px; align-items: flex-start; }
.dd-founder-border { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--dd-border); }
.dd-founder-avatar {
    width: 56px; height: 56px; border-radius: 12px;
    background: linear-gradient(135deg, var(--dd-blue-dim), var(--dd-purple-dim));
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 700; color: var(--dd-blue);
    flex-shrink: 0; border: 1px solid var(--dd-border-light);
}
.dd-founder-info h4 { font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.dd-founder-role { font-size: 12px; color: var(--dd-text-muted); margin-bottom: 8px; }
.dd-founder-stats { display: flex; gap: 20px; flex-wrap: wrap; }
.dd-founder-stat { font-size: 12px; color: var(--dd-text-secondary); }
.dd-founder-stat span { font-family: 'JetBrains Mono', monospace; font-weight: 600; color: var(--dd-text-primary); }

/* ══════════════════════════════════════════
   ALERTS
   ══════════════════════════════════════════ */
.dd-alert-list { display: flex; flex-direction: column; gap: 10px; }
.dd-alert-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 14px 16px; border-radius: 10px; font-size: 13px; line-height: 1.5;
}
.dd-alert-item.critical { background: var(--dd-red-dim); border-left: 3px solid var(--dd-red); }
.dd-alert-item.warning { background: var(--dd-yellow-dim); border-left: 3px solid var(--dd-yellow); }
.dd-alert-item.info { background: var(--dd-blue-dim); border-left: 3px solid var(--dd-blue); }
.dd-alert-item.success { background: var(--dd-green-dim); border-left: 3px solid var(--dd-green); }
.dd-alert-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.dd-alert-content { color: var(--dd-text-secondary); }
.dd-alert-content strong {
    display: block; font-size: 12px; letter-spacing: 0.5px;
    text-transform: uppercase; margin-bottom: 2px; color: var(--dd-text-primary);
}

/* ══════════════════════════════════════════
   QUARTERLY TABLE
   ══════════════════════════════════════════ */
.dd-table-wrapper { overflow-x: auto; }
.dd-quarterly-grid { width: 100%; border-collapse: collapse; }
.dd-quarterly-grid th {
    font-size: 10px; font-weight: 600; letter-spacing: 1px;
    text-transform: uppercase; color: var(--dd-text-muted);
    text-align: right; padding: 8px 12px; border-bottom: 1px solid var(--dd-border);
}
.dd-quarterly-grid th:first-child { text-align: left; }
.dd-quarterly-grid td {
    font-family: 'JetBrains Mono', monospace; font-size: 13px;
    padding: 10px 12px; text-align: right; border-bottom: 1px solid rgba(30, 42, 69, 0.4);
}
.dd-quarterly-grid td:first-child { text-align: left; font-family: 'Outfit', sans-serif; color: var(--dd-text-secondary); }
.dd-quarterly-grid tr:last-child td { border-bottom: none; }
.dd-qg-positive { color: var(--dd-green) !important; }
.dd-qg-negative { color: var(--dd-red) !important; }
.dd-qg-warning { color: var(--dd-yellow) !important; }

.dd-sparkline { display: flex; align-items: flex-end; gap: 2px; height: 28px; justify-content: flex-end; }
.dd-spark-bar { width: 6px; border-radius: 2px; transition: height 0.5s ease; }

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1000px) {
    .dd-three-col { grid-template-columns: 1fr 1fr; }
    .dd-stat-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .dd-two-col, .dd-three-col { grid-template-columns: 1fr; }
    .dd-stat-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* align-items:start so cards take their natural (content) height instead of stretching to the tallest
       card in the row — that stretch was leaving empty space in the shorter card (e.g. a 1-line sub next to
       a wrapping 2-line sub). Keeps every card compact on phones, matching the approved mock. */
    .dd-stat-row { grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
    /* Smaller value + guard against overflow so "Not Available" / "$100K" don't wrap and inflate card
       height — keeps the 2-col grid tidy on phones. */
    .dd-stat-value { font-size: 16px; }
    .dd-stat-value.dd-stat-value--na { font-size: 13px; line-height: 26px; }
    /* Tighter cards + labels on phones so the 2-col grid reads compact (matches the approved mock) and long
       labels wrap less. */
    .dd-stat-card { min-width: 0; padding: 13px 14px; }
    .dd-stat-label { letter-spacing: 0.5px; margin-bottom: 6px; }
    .dd-terms-grid { grid-template-columns: 1fr; }
    .dd-header-actions { flex-wrap: wrap; }
    .dd-investor-row { flex-direction: column; gap: 10px; align-items: flex-start; }
    .dd-investor-right { flex-direction: row; gap: 12px; }
}

@media (max-width: 480px) {
    /* Keep the metrics in a 2-column grid on phones (approved mobile layout) rather than a single tall column;
       the reduced value font above keeps two cards per row readable. */
    .dd-stat-row { grid-template-columns: 1fr 1fr; gap: 10px; }
    .dd-stat-value { font-size: 15px; }
    .dd-stat-value.dd-stat-value--na { font-size: 12px; line-height: 24px; }
    .dd-scored-metric { flex-direction: column; align-items: flex-start; gap: 10px; }
    .dd-scored-metric-right { width: 100%; justify-content: space-between; }
}

/* ══════════════════════════════════════════
   BACKGROUND
   ══════════════════════════════════════════ */
.investor-dealdetail-page.dealdetail-v3 {
    background: radial-gradient(circle at 50% 35%, rgba(59, 130, 246, 0.35), rgba(0,0,0,0) 62%), 
                radial-gradient(circle at 20% 85%, rgba(59, 130, 246, 0.18), rgba(0,0,0,0) 55%);
}
