/*
 * Deal Room dossier V2 readable type layer.
 *
 * This file intentionally loads after every feature stylesheet. All selectors are
 * contract-gated by .deal-room-v2-active so legacy, Fast and Sapphire rooms keep
 * their existing presentation. The scale is deliberately modest: 12px labels,
 * 13px supporting copy, 14px body copy and 16-17px card headings.
 */

.deal-room-v2-active,
body:has(.deal-room-v2-active) {
  --drv2-type-label: 0.75rem;
  --drv2-type-support: 0.8125rem;
  --drv2-type-body: 0.875rem;
  --drv2-type-body-strong: 0.9375rem;
  --drv2-type-card-title: 1.0625rem;
  --drv2-leading-label: 1.35;
  --drv2-leading-support: 1.45;
  --drv2-leading-body: 1.55;
}

/* V2 portals are mounted as body children rather than inside the active shell. */
body:has(.deal-room-v2-active) :is(
  .dr-v2-pp-modal,
  .drv2ce-info-popover,
  .drv2cand,
  .drv2-drawer
) :is(p, li, blockquote, dd) {
  font-size: var(--drv2-type-body);
  line-height: var(--drv2-leading-body);
}

body:has(.deal-room-v2-active) :is(
  .dr-v2-pp-modal,
  .drv2ce-info-popover,
  .drv2cand,
  .drv2-drawer
) small {
  font-size: var(--drv2-type-support);
  line-height: var(--drv2-leading-support);
}

body:has(.deal-room-v2-active) :is(
  .dr-v2-pp-modal,
  .drv2ce-info-popover,
  .drv2cand,
  .drv2-drawer
) :is(dt, legend) {
  font-size: var(--drv2-type-label);
  line-height: var(--drv2-leading-label);
}

body:has(.deal-room-v2-active) :is(
  .dr-v2-pp-modal,
  .drv2ce-info-popover,
  .drv2cand,
  .drv2-drawer
) :is(input, select, textarea) {
  font-size: var(--drv2-type-body);
  line-height: 1.4;
}

/* Shared readable defaults for copy-bearing V2 workspaces and overlays. */
.deal-room-v2-active :is(
  .deal-room-company-hero,
  .deal-room-v2-dashboard,
  .deal-room-v2-shortcuts,
  .deal-room-v2-generated,
  .deal-room-v2-mail,
  .deal-room-v2-panel-empty,
  .drv2-stakeholders,
  .drv2-sources-workspace,
  .drv2-modal-dialog,
  .dr-v2-pp,
  .dr-v2-pp-modal,
  .drv2bc,
  .drv2ccm,
  .drv2ce,
  .drv2ce-info-popover,
  .xri-deal-room-v2-agenda,
  .drv2m-workspace,
  .drv2cand,
  .drv2-drawer
) :is(p, li, blockquote, dd) {
  font-size: var(--drv2-type-body);
  line-height: var(--drv2-leading-body);
}

.deal-room-v2-active :is(
  .deal-room-company-hero,
  .deal-room-v2-dashboard,
  .deal-room-v2-shortcuts,
  .deal-room-v2-generated,
  .deal-room-v2-mail,
  .deal-room-v2-panel-empty,
  .drv2-stakeholders,
  .drv2-sources-workspace,
  .drv2-modal-dialog,
  .dr-v2-pp,
  .dr-v2-pp-modal,
  .drv2bc,
  .drv2ccm,
  .drv2ce,
  .drv2ce-info-popover,
  .xri-deal-room-v2-agenda,
  .drv2m-workspace,
  .drv2cand,
  .drv2-drawer
) small {
  font-size: var(--drv2-type-support);
  line-height: var(--drv2-leading-support);
}

.deal-room-v2-active :is(
  .deal-room-v2-dashboard,
  .deal-room-v2-shortcuts,
  .deal-room-v2-generated,
  .drv2-stakeholders,
  .drv2-sources-workspace,
  .drv2-modal-dialog,
  .dr-v2-pp,
  .dr-v2-pp-modal,
  .drv2bc,
  .drv2ccm,
  .drv2ce,
  .drv2ce-info-popover,
  .xri-deal-room-v2-agenda,
  .drv2m-workspace,
  .drv2cand,
  .drv2-drawer
) :is(dt, legend) {
  font-size: var(--drv2-type-label);
  line-height: var(--drv2-leading-label);
}

.deal-room-v2-active :is(
  .drv2-modal-dialog,
  .dr-v2-pp,
  .dr-v2-pp-modal,
  .drv2ccm,
  .drv2ce,
  .xri-deal-room-v2-agenda,
  .drv2m-workspace,
  .drv2cand,
  .drv2-drawer
) :is(input, select, textarea) {
  font-size: var(--drv2-type-body);
  line-height: 1.4;
}

/* Dashboard, stakeholder cards, source cards and shared dossier tiles. */
.deal-room-v2-active :is(
  .deal-room-hero-metric small,
  .drv2-hero-stage > span,
  .deal-room-v2-shortcut header p,
  .drv2-stakeholder-card header p,
  .drv2-source-card header p,
  .drv2-vacancy-card header p,
  .drv2-stakeholder-lower > section > header p,
  .drv2-modal-dialog > header p,
  .drv2-hiring-facet > small,
  .drv2-hiring-commercial > small,
  .drv2-risk-row span,
  .drv2-stakeholder-groups span,
  .drv2-stakeholder-group,
  .drv2-stakeholder-grid span,
  .drv2-evidence-status,
  .drv2-source-status,
  .drv2-source-card-signal span,
  .drv2-engagement-sequence span,
  .drv2-source-detail-facts dt,
  .drv2-vacancy-card > header > span,
  .drv2-vacancy-card-signals span,
  .deal-room-v2-dashboard-heading p,
  .deal-room-v2-generated > header p,
  .deal-room-v2-mail > header p,
  .deal-room-v2-card > header p,
  .deal-room-v2-contract,
  .deal-room-v2-stage > span,
  .deal-room-v2-count small,
  .deal-room-v2-compact-list > div > span,
  .deal-room-v2-item-list > article > span,
  .drv2-shortcut-conclusion > span,
  .drv2-shortcut-fact > span,
  .deal-room-v2-shortcut > footer > span b,
  .drv2-operations > header p,
  .drv2-action-widget > header p,
  .drv2-widget-status,
  .drv2-widget-metrics small,
  .drv2-widget-highlight small,
  .drv2-stakeholder-intro p,
  .drv2-stakeholder-at-a-glance span,
  .drv2-story-section span
) {
  font-size: var(--drv2-type-label);
  line-height: var(--drv2-leading-label);
}

.deal-room-v2-active :is(
  .drv2-hero-stage select,
  .deal-room-v2-shortcut footer span,
  .deal-room-v2-shortcut footer button,
  .drv2-dashboard-metric button,
  .drv2-source-card footer button,
  .drv2-source-card footer a,
  .drv2-vacancy-card button,
  .drv2-source-result-list a,
  .drv2-dashboard-metric span,
  .drv2-vacancy-preview small,
  .drv2-muted-chip,
  .drv2-source-chips a,
  .drv2-source-chips > span,
  .drv2-source-card-meta,
  .drv2-source-result-list small,
  .drv2-modal-toolbar label,
  .drv2-vacancy-card footer :is(button, a),
  .drv2-vacancy-detail > footer a,
  .drv2-vacancy-detail-meta span,
  .deal-room-tabs button,
  .deal-room-v2-stat-row span,
  .deal-room-v2-segments button,
  .deal-room-v2-people span,
  .deal-room-v2-people small,
  .deal-room-v2-compact-list small,
  .deal-room-v2-sources span,
  .deal-room-v2-sources small,
  .deal-room-v2-mail-grid span,
  .drv2-shortcut-metric small,
  .drv2-shortcut-status,
  .deal-room-v2-shortcut > footer > span,
  .drv2-widget-list small,
  .drv2-widget-highlight span,
  .drv2-widget-cta,
  .drv2-source-action
) {
  font-size: var(--drv2-type-support);
  line-height: var(--drv2-leading-support);
}

.deal-room-v2-active :is(
  .deal-room-v2-shortcut-copy,
  .drv2-vacancy-preview strong,
  .drv2-hiring-facet span,
  .drv2-hiring-commercial p,
  .drv2-risk-row strong,
  .drv2-stakeholder-grid p,
  .drv2-relationship-grid article > div,
  .drv2-relationship-grid p,
  .drv2-engagement-sequence p,
  .drv2-review-details li,
  .drv2-technical-details p,
  .drv2-source-card > p,
  .drv2-source-card-signal strong,
  .drv2-source-result-list p,
  .drv2-source-detail-facts dd,
  .drv2-modal-lead,
  .drv2-modal-body > section p,
  .drv2-modal-body > section li,
  .drv2-vacancy-card > p,
  .drv2-risk-detail-grid p,
  .drv2-filter-empty,
  .deal-room-v2-dashboard-heading span:not(.deal-room-v2-contract),
  .deal-room-v2-generated > header span,
  .deal-room-v2-mail > header span,
  .deal-room-v2-company-facts dd,
  .deal-room-v2-mini-facts dd,
  .deal-room-v2-stage select,
  .deal-room-v2-count span,
  .deal-room-v2-warning,
  .deal-room-v2-people strong,
  .deal-room-v2-compact-list strong,
  .deal-room-v2-empty,
  .deal-room-v2-value > h4,
  .deal-room-v2-value p,
  .deal-room-v2-panel-empty p,
  .drv2-shortcut-conclusion p,
  .drv2-shortcut-fact strong,
  .drv2-operations > header > span,
  .drv2-widget-list strong,
  .drv2-widget-empty p,
  .drv2-widget-highlight strong,
  .drv2-stakeholder-intro div > span,
  .drv2-stakeholder-at-a-glance strong,
  .drv2-stakeholder-story summary,
  .drv2-story-section p
) {
  font-size: var(--drv2-type-body);
  line-height: var(--drv2-leading-body);
}

.deal-room-v2-active :is(
  .deal-room-v2-shortcut h3,
  .drv2-action-widget > header h3,
  .drv2-modal-body > section h4,
  .drv2-risk-detail-grid h4,
  .drv2-source-result-list h4
) {
  font-size: var(--drv2-type-card-title);
  line-height: 1.3;
}

.deal-room-v2-active :is(.drv2-review-details summary, .drv2-technical-details summary) {
  font-size: var(--drv2-type-body);
  line-height: 1.4;
}

/* Pitch and pain analysis: readable toplines, evidence cards and conversation routes. */
.deal-room-v2-active :is(
  .dr-v2-pp-hero > div > p,
  .dr-v2-pp-route-section > header > p,
  .dr-v2-pp-qa > header p,
  .dr-v2-pp-pain-list > header > p,
  .dr-v2-pp-full-pitch > p,
  .dr-v2-pp-segment-head p,
  .dr-v2-pp-pain-card > header p,
  .dr-v2-pp-segment > blockquote span,
  .dr-v2-pp-phone > p,
  .dr-v2-pp-workspace-head p,
  .dr-v2-pp-workspace-card.is-missing > header p,
  .dr-v2-pp-script > p,
  .dr-v2-pp-reactions > header > p,
  .dr-v2-pp-bridge-grid article > p,
  .dr-v2-pp-filters label > span,
  .dr-v2-pp-toplines p,
  .dr-v2-pp-impact-grid p,
  .dr-v2-pp-solution p,
  .dr-v2-pp-phone > div b,
  .dr-v2-pp-modal > header p,
  .dr-v2-pp-modal-scroll section > p,
  .dr-v2-pp-full-pitch-head p,
  .dr-v2-pp-full-pitch-head > strong,
  .dr-v2-pp-content-label,
  .dr-v2-pp-proof-companion > header p,
  .dr-v2-pp-proof-companion section > span,
  .dr-v2-pp-proof-companion section > small,
  .dr-v2-pp-action-module > header > span,
  .dr-v2-pp-action-module > header > strong,
  .dr-v2-pp-action-conclusion small,
  .dr-v2-pp-action-context span,
  .dr-v2-pp-action-sources > span,
  .dr-v2-pp-action-next > span,
  .dr-v2-pp-action-say > span,
  .dr-v2-pp-action-routes p > span,
  .dr-v2-pp-opening header p,
  .dr-v2-pp-opening-alternatives article span,
  .dr-v2-pp-context-grid section p
) {
  font-size: var(--drv2-type-label);
  line-height: var(--drv2-leading-label);
}

.deal-room-v2-active :is(
  .dr-v2-pp-hero aside b,
  .dr-v2-pp-step,
  .dr-v2-pp-instruction-row > span,
  .dr-v2-pp-pain-tags > span,
  .dr-v2-pp-source,
  .dr-v2-pp-next,
  .dr-v2-pp-step-button span,
  .dr-v2-pp-step-button b,
  .dr-v2-pp-cue,
  .dr-v2-pp-reactions > header > span,
  .dr-v2-pp-reaction-buttons button,
  .dr-v2-pp-reaction-panel > b,
  .dr-v2-pp-workspace-nav button,
  .dr-v2-pp-workspace-nav > span,
  .dr-v2-pp-source-link,
  .dr-v2-pp-result-count,
  .dr-v2-pp-qa-meta b,
  .dr-v2-pp-qa-meta i,
  .dr-v2-pp-open-label,
  .dr-v2-pp-pain-button > span,
  .dr-v2-pp-pain-button > b,
  .dr-v2-pp-pain-button > strong small,
  .dr-v2-pp-pain-card > header > strong small,
  .dr-v2-pp-full-pitch-head span,
  .dr-v2-pp-action-routes summary,
  .dr-v2-pp-action-routes i,
  .dr-v2-pp-action-routes strong,
  .dr-v2-pp-action-module > footer button,
  .dr-v2-pp-scenario-state,
  .dr-v2-pp-scenario-selector button,
  [data-dr-v2-copy-status]
) {
  font-size: var(--drv2-type-support);
  line-height: var(--drv2-leading-support);
}

.deal-room-v2-active :is(
  .dr-v2-pp-branches summary,
  .dr-v2-pp-evidence summary,
  .dr-v2-pp-branch-grid b,
  .dr-v2-pp-proof > b,
  .dr-v2-pp-evidence p,
  .dr-v2-pp-branch-grid p,
  .dr-v2-pp-proof p,
  .dr-v2-pp-evidence span,
  .dr-v2-pp-evidence blockquote,
  .dr-v2-pp-evidence li,
  .dr-v2-pp-guard,
  .dr-v2-pp-bridge-grid li,
  .dr-v2-pp-filters input,
  .dr-v2-pp-filters select,
  .dr-v2-pp-reset,
  .dr-v2-pp-qa-short,
  .dr-v2-pp-toplines h2 span,
  .dr-v2-pp-phone > div span,
  .dr-v2-pp-impact-grid span,
  .dr-v2-pp-solution span,
  .dr-v2-pp-modal-scroll section > span,
  .dr-v2-pp-proof-companion section > :is(p, strong),
  .dr-v2-pp-action-context p,
  .dr-v2-pp-action-next p,
  .dr-v2-pp-action-routes p,
  .dr-v2-pp-opening-grid aside p,
  .dr-v2-pp-opening-grid aside small,
  .dr-v2-pp-opening-alternatives article p,
  .dr-v2-pp-context-grid section span,
  .dr-v2-pp-context-grid section strong
) {
  font-size: var(--drv2-type-body);
  line-height: var(--drv2-leading-body);
}

.deal-room-v2-active .dr-v2-pp-action-conclusion h2 {
  font-size: var(--drv2-type-card-title);
  line-height: 1.4;
}

.deal-room-v2-active :is(
  .dr-v2-pp-action-say blockquote,
  .dr-v2-pp-full-pitch blockquote
) {
  font-size: var(--drv2-type-body-strong);
  line-height: 1.65;
}

/* Preserve already-prominent spoken copy while applying the shared body floor. */
.deal-room-v2-active .dr-v2-pp-hero aside p { font-size: 1rem; }
.deal-room-v2-active .dr-v2-pp-segment > blockquote p { font-size: 1.03rem; }
.deal-room-v2-active .dr-v2-pp-phone blockquote { font-size: 1.04rem; }
.deal-room-v2-active .dr-v2-pp-bridge-grid li { font-size: 0.9rem; }
.deal-room-v2-active .dr-v2-pp-modal-scroll .is-answer blockquote { font-size: 1rem; }
.deal-room-v2-active .dr-v2-pp-opening-grid .dr-v2-pp-speakable > p { font-size: 1rem; }

body:has(.deal-room-v2-active) .dr-v2-pp-modal :is(
  header p,
  header p > span,
  .dr-v2-pp-modal-scroll section > p
) {
  font-size: var(--drv2-type-label);
  line-height: var(--drv2-leading-label);
}

body:has(.deal-room-v2-active) .dr-v2-pp-modal :is(
  .dr-v2-pp-modal-scroll section > span,
  footer button,
  [data-dr-v2-copy-status]
) {
  font-size: var(--drv2-type-body);
  line-height: var(--drv2-leading-body);
}

body:has(.deal-room-v2-active) .dr-v2-pp-modal .dr-v2-pp-modal-scroll blockquote {
  font-size: var(--drv2-type-body-strong);
  line-height: 1.62;
}

body:has(.deal-room-v2-active) .dr-v2-pp-modal .is-answer blockquote {
  font-size: 1rem;
  line-height: 1.62;
}

/* Battlecards and general Call Mode. */
.deal-room-v2-active .drv2bc { font-size: var(--drv2-type-body); line-height: var(--drv2-leading-body); }
.deal-room-v2-active .drv2bc :is(
  .drv2bc-eyebrow,
  .drv2bc-deck__heading span,
  .drv2bc-pill,
  .drv2bc-score span,
  .drv2bc-signal-grid span,
  .drv2bc-readout > span,
  .drv2bc-evidence-grid span,
  .drv2bc-guardrails span,
  .drv2bc-script-readout > span,
  .drv2bc-call-proof span,
  .drv2bc-call-endings span,
  .drv2bc-first-thirty > span,
  .drv2bc-call-card > span,
  .drv2bc-call-card label,
  .drv2bc-source > b,
  .drv2bc-call-step > span,
  .drv2bc-branch > span,
  .drv2bc-coach-strip small,
  .drv2bc-opening-meta span
) {
  font-size: var(--drv2-type-label);
  line-height: var(--drv2-leading-label);
}

.deal-room-v2-active .drv2bc :is(
  .drv2bc-progress-label,
  .drv2bc-source,
  .drv2bc-stack-empty,
  .drv2bc-status,
  .drv2bc-coach-strip strong,
  .drv2bc-answer-route,
  .drv2bc-terminal-state span
) {
  font-size: var(--drv2-type-support);
  line-height: var(--drv2-leading-support);
}

.deal-room-v2-active .drv2bc :is(
  .drv2bc-signal-grid strong,
  .drv2bc-guardrails strong,
  .drv2bc-call-step strong,
  .drv2bc-branch p
) {
  font-size: var(--drv2-type-body);
  line-height: var(--drv2-leading-body);
}

.deal-room-v2-active .drv2bc-first-thirty p { font-size: var(--drv2-type-body-strong); }

/* Contact-specific Call Mode. */
.deal-room-v2-active .drv2ccm :is(
  .drv2ccm-eyebrow,
  .drv2ccm-contact__language i,
  .drv2ccm-contact__signals b,
  .drv2ccm-nav__legend,
  .drv2ccm-opening span,
  .drv2ccm-coach small,
  .drv2ccm-branch-grid span,
  .drv2ccm-qa__body span,
  .drv2ccm-battlecard > span,
  .drv2ccm-action-cards article > span,
  .drv2ccm-panel--context > header p,
  .drv2ccm-source > b,
  .drv2ccm-qa summary small,
  .drv2ccm-qa-card__copy small,
  .drv2ccm-qa-detail-grid span,
  .drv2ccm-validation-question span,
  .drv2ccm-qa-dialog__sources > span,
  .drv2ccm-evidence-status,
  .drv2ccm-relationship-list blockquote span,
  .drv2ccm-priority-list blockquote span,
  .drv2ccm-priority-list article > span,
  .drv2ccm-opening-meta span
) {
  font-size: var(--drv2-type-label);
  line-height: var(--drv2-leading-label);
}

.deal-room-v2-active .drv2ccm :is(
  .drv2ccm-contact__main small,
  .drv2ccm-contact__meta,
  .drv2ccm-pill,
  .drv2ccm-safe-note,
  .drv2ccm-section-nav a,
  .drv2ccm-coach strong,
  .drv2ccm-source,
  .drv2ccm-qa__body em,
  .drv2ccm-qa-card__preview,
  .drv2ccm-qa-card__open,
  .drv2ccm-qa-dialog__meta > span:first-child
) {
  font-size: var(--drv2-type-support);
  line-height: var(--drv2-leading-support);
}

.deal-room-v2-active .drv2ccm :is(
  .drv2ccm-contact-facts dd,
  .drv2ccm-fact-grid strong,
  .drv2ccm-branch-grid p,
  .drv2ccm-proof p
) {
  font-size: var(--drv2-type-body);
  line-height: var(--drv2-leading-body);
}

.deal-room-v2-active .drv2ccm-script-step__body blockquote { font-size: 17px; }
.deal-room-v2-active .drv2ccm-lead--small { font-size: 15px; }

/* Collaboration and Extra information libraries. */
.deal-room-v2-active :is(.drv2ce, .drv2ce-info-popover) :is(
  .drv2ce-hero > div > p,
  .drv2ce-process > header p,
  .drv2ce-restart > header p,
  .drv2ce-commercial > header p,
  .drv2ce-extra-library > header p,
  .drv2ce-mail-concept > header p,
  .drv2ce-info > div b,
  .drv2ce-process-card summary small,
  .drv2ce-process-meta b,
  .drv2ce-process-detail section span,
  .drv2ce-theme section > p,
  .drv2ce-mail-subject b,
  .drv2ce-mail-note b,
  .drv2ce-term > small,
  .drv2ce-compact > header p,
  .drv2ce-compact ol li > span,
  .drv2ce-compact ol li small,
  .drv2ce-compact ol li em,
  .drv2ce-extra-filter label > span,
  .drv2ce-theme-labels > span,
  .drv2ce-theme-labels > i,
  .drv2ce-priority,
  .drv2ce-source,
  .drv2ce-related span,
  .drv2ce-extra-lists summary .drv2ce-priority,
  .drv2ce-info-popover > header span,
  .drv2ce-info-popover__sections span,
  .drv2ce-term > header b,
  .drv2ce-restart-explainer article > span,
  .drv2ce-restart-stages > b,
  .drv2ce-working-title > b,
  .drv2ce-working-dialog header p,
  .drv2ce-working-dialog-grid span,
  .drv2ce-direction,
  .drv2ce-source-caption
) {
  font-size: var(--drv2-type-label);
  line-height: var(--drv2-leading-label);
}

body:has(.deal-room-v2-active) .drv2ce-info-popover :is(
  header span,
  .drv2ce-info-popover__sections span
) {
  font-size: var(--drv2-type-label);
  line-height: var(--drv2-leading-label);
}

body:has(.deal-room-v2-active) .drv2ce-info-popover :is(
  .drv2ce-info-popover__intro p,
  .drv2ce-info-popover__sections p
) {
  font-size: var(--drv2-type-body);
  line-height: var(--drv2-leading-body);
}

.deal-room-v2-active :is(.drv2ce, .drv2ce-info-popover) :is(
  .drv2ce-hero aside > p,
  .drv2ce-heading-count,
  .drv2ce-info > summary,
  .drv2ce-phase-filter button,
  .drv2ce-extra-filter button,
  .drv2ce-step-number,
  .drv2ce-process-card summary em,
  .drv2ce-restart-stages span,
  .drv2ce-restart-cycle b,
  .drv2ce-restart-cycle span,
  .drv2ce-restart > footer,
  .drv2ce-term > span,
  .drv2ce-compact > header > strong,
  .drv2ce-compact-intro,
  .drv2ce-compact-empty,
  .drv2ce-result-count,
  .drv2ce-related strong,
  .drv2ce-library-section-heading span,
  .drv2ce-library-section-heading > strong,
  .drv2ce-extra-lists summary > strong,
  .drv2ce-mail-concept > header > span,
  .drv2ce-mail-concept > footer span,
  .drv2ce-info > button,
  .drv2ce-term > header span,
  .drv2ce-term > button,
  .drv2ce-term-persist-status,
  .drv2ce-term-dialog label,
  .drv2ce-restart-purpose,
  .drv2ce-restart-cycle strong,
  .drv2ce-extra-list-preview,
  .drv2ce-extra-list-cta
) {
  font-size: var(--drv2-type-support);
  line-height: var(--drv2-leading-support);
}

.deal-room-v2-active .drv2ce .drv2ce-compact ol li button {
  font-size: var(--drv2-type-support);
  line-height: var(--drv2-leading-support);
}

/* Agenda and proposals: retain the compact calendar hierarchy without microtype. */
.deal-room-v2-active .xri-deal-room-v2-agenda :is(
  .drv2-section-head p,
  .drv2-editor-head p,
  .drv2-ap-kicker,
  .drv2-proposal-meta span,
  .drv2-proposal-state span,
  .drv2-proposal-builder > header p,
  .drv2-proposal-builder > header span,
  .drv2-proposal-preview dt,
  .drv2-section-head__status > span,
  .drv2-agenda-metrics span,
  .drv2-agenda-metrics small,
  .drv2-ap-date span,
  .drv2-ap-status,
  .drv2-ap-owner span,
  .drv2-calendar > header div span,
  .drv2-calendar-weekdays span,
  .drv2-calendar-day > span,
  .drv2-calendar-day small,
  .drv2-week-board > article > header span,
  .drv2-week-board > article > div > span,
  .drv2-proposal-overview span,
  .drv2-proposal-status,
  .drv2-proposal-title > span,
  .drv2-proposal-facts dt,
  .drv2-week-time,
  .drv2-week-dayhead span,
  .drv2-week-slot > button > span,
  .drv2-week-slot > button > small,
  .drv2-day-summary article span,
  .drv2-day-time,
  .drv2-day-slot.is-free > span,
  .drv2-day-slot > button span,
  .drv2-day-slot > button small,
  .drv2-agenda-list > section > header span,
  .drv2-agenda-list > section > header b
) {
  font-size: var(--drv2-type-label);
  line-height: var(--drv2-leading-label);
}

.deal-room-v2-active .xri-deal-room-v2-agenda :is(
  .drv2-ap-date span,
  .drv2-ap-owner,
  .drv2-proposal-actions button,
  .drv2-editor label,
  .drv2-editor-actions span,
  .drv2-central-agenda-widget-footer,
  .drv2-central-agenda-dialog > header span,
  .drv2-central-agenda-metrics span,
  .drv2-central-appointment-actions :is(a, button),
  .drv2-danger,
  .drv2-inline-options legend,
  .drv2-editor-sections summary,
  .drv2-primary,
  .drv2-quiet,
  .drv2-segmented button,
  .drv2-ap-owner strong,
  .drv2-ap-actions button,
  .drv2-week-board button,
  .drv2-calendar-day button,
  .drv2-calendar-day button strong,
  .drv2-proposal-actions :is(button, a),
  .drv2-agenda-history > summary,
  .drv2-calendar > header > span,
  .drv2-calendar-day .drv2-calendar-date,
  .drv2-week-dayhead strong,
  .drv2-week-slot > button > strong,
  .drv2-week-view > footer,
  .drv2-day-summary > button,
  .drv2-day-summary article strong,
  .drv2-day-slot > button strong,
  .drv2-agenda-list > section > header strong,
  .drv2-agenda-periodbar > strong
) {
  font-size: var(--drv2-type-support);
  line-height: var(--drv2-leading-support);
}

.deal-room-v2-active .xri-deal-room-v2-agenda .drv2-empty > span {
  font-size: var(--drv2-type-label);
  line-height: var(--drv2-leading-label);
}

.deal-room-v2-active .xri-deal-room-v2-agenda :is(
  .drv2-ap-copy p,
  .drv2-proposal-preview dd,
  .drv2-proposal-preview section p,
  .drv2-central-appointment p,
  .drv2-week-board p,
  .drv2-proposal-overview p,
  .drv2-proposal-facts dd,
  .drv2-empty p
) {
  font-size: var(--drv2-type-body);
  line-height: var(--drv2-leading-body);
}

.deal-room-v2-active .xri-deal-room-v2-agenda :is(
  .drv2-proposal-preview section h3,
  .drv2-agenda-grid > div > h3
) {
  font-size: var(--drv2-type-card-title);
  line-height: 1.3;
}

.deal-room-v2-active .xri-deal-room-v2-agenda .drv2-section-head__status > span {
  font-size: var(--drv2-type-label) !important;
}

/* Mail workspace. */
.deal-room-v2-active .drv2m-workspace :is(
  .drv2m-eyebrow,
  .drv2m-source-badge,
  .drv2m-safety,
  .drv2m-unread,
  .drv2m-preview dt,
  .drv2m-sidebar > footer small,
  .drv2m-folder strong,
  .drv2m-thread-notes > summary small,
  .drv2m-thread-note-kind,
  .drv2m-thread-note-list time
) {
  font-size: var(--drv2-type-label);
  line-height: var(--drv2-leading-label);
}

.deal-room-v2-active .drv2m-workspace :is(
  .drv2m-hero__actions > span,
  .drv2m-message header,
  .drv2m-address-line,
  .drv2m-message__actions button,
  .drv2m-form-note,
  .drv2m-preview > header span,
  .drv2m-folder,
  .drv2m-loading-pill,
  .drv2m-button.is-thread-action,
  .drv2m-thread-skeleton p,
  .drv2m-send-confirmation p,
  .drv2m-inline-loading,
  .drv2m-thread-notes__count,
  .drv2m-thread-note-form label,
  .drv2m-thread-note-status
) {
  font-size: var(--drv2-type-support);
  line-height: var(--drv2-leading-support);
}

.deal-room-v2-active .drv2m-workspace :is(
  .drv2m-composer label,
  .drv2m-proposals legend,
  .drv2m-sidebar > footer p
) {
  font-size: var(--drv2-type-body);
  line-height: var(--drv2-leading-body);
}

/* Candidate workspace. */
body:has(.deal-room-v2-active) .drv2cand :is(
  .drv2cand-eyebrow,
  .drv2cand-filter > span,
  .drv2cand-card__badges i,
  .drv2cand-analysis-state,
  .drv2cand-confirm--stack label span,
  .drv2cand-chips span,
  .drv2cand-education span,
  .drv2cand-documents article > span:first-child,
  .drv2cand-internal,
  .drv2cand-evidence article > span,
  .drv2cand-match__header dt,
  .drv2cand-assessments code,
  .drv2cand-source-refs code,
  .drv2cand-assessments small,
  .drv2cand-traceability article > span,
  .drv2cand-traceability small,
  .drv2cand-pitch small,
  .drv2cand-anonymous-state
) {
  font-size: var(--drv2-type-label);
  line-height: var(--drv2-leading-label);
}

body:has(.deal-room-v2-active) .drv2cand :is(
  .drv2cand-scope-note,
  .drv2cand-loaded-count,
  .drv2cand-count,
  .drv2cand-filter-toggle,
  .drv2cand-clear,
  .drv2cand-avatar,
  .drv2cand-card__body span,
  .drv2cand-card__body small,
  .drv2cand-privacy,
  .drv2cand-button,
  .drv2cand-notice,
  .drv2cand-muted,
  .drv2cand-list,
  .drv2cand-facts dt,
  .drv2cand-timeline header span,
  .drv2cand-documents article strong,
  .drv2cand-documents article small,
  .drv2cand-dimension > span,
  .drv2cand-assessments strong,
  .drv2cand-pitch header strong
) {
  font-size: var(--drv2-type-support);
  line-height: var(--drv2-leading-support);
}

body:has(.deal-room-v2-active) .drv2cand :is(
  .drv2cand-card__body strong,
  .drv2cand-evidence-blocker strong,
  .drv2cand-confirm strong,
  .drv2cand-section h3,
  .drv2cand-prose,
  .drv2cand-facts dd,
  .drv2cand-timeline header strong,
  .drv2cand-education strong
) {
  font-size: var(--drv2-type-body);
  line-height: var(--drv2-leading-body);
}

/* Operational drawers and companion cards. */
body:has(.deal-room-v2-active) .drv2-drawer :is(
  .drv2-drawer__header p,
  .drv2-eyebrow,
  .drv2-message > span,
  .drv2-company-card > header p,
  .drv2-company-conversation > header p,
  .drv2-company-conversation__item span,
  .drv2-hiring-hero dt,
  .drv2-pressure-block header span,
  .drv2-pressure-block header em,
  .drv2-hiring-jobs > header > span,
  .drv2-job-card > header span,
  .drv2-job-card time,
  .drv2-contact-discovery-summary article span,
  .drv2-verification,
  .drv2-contact-context span,
  .drv2-contact-add header p,
  .drv2-contact-detail header p,
  .drv2-contact-detail dt
) {
  font-size: var(--drv2-type-label);
  line-height: var(--drv2-leading-label);
}

body:has(.deal-room-v2-active) .drv2-drawer :is(
  .drv2-meta span,
  .drv2-tags li,
  .drv2-status,
  .drv2-person-card dl > div,
  .drv2-documents dl > div,
  label,
  .drv2-timeline article > header span,
  .drv2-timeline article > footer,
  .drv2-link-button,
  .drv2-message > footer,
  .drv2-documents article > footer :is(a, button, span),
  .drv2-company-section h5,
  .drv2-company-card > footer,
  .drv2-hiring-hero p,
  .drv2-job-card > footer,
  .drv2-job-card > footer button,
  .drv2-job-detail__header p,
  .drv2-job-detail__content h5,
  .drv2-job-source,
  .drv2-job-source-note,
  .drv2-contact-discovery-summary footer,
  .drv2-contact-discovery-actions p,
  .drv2-contact-result-count,
  .drv2-contact-card-actions :is(button, a),
  .drv2-contact-review > summary,
  .drv2-contact-add header span,
  .drv2-form-grid label
) {
  font-size: var(--drv2-type-support);
  line-height: var(--drv2-leading-support);
}

body:has(.deal-room-v2-active) .drv2-drawer :is(
  .drv2-boundary p,
  .drv2-company-conversation__item p,
  .drv2-pressure-block p,
  .drv2-job-detail__content p,
  .drv2-job-detail__content ul,
  .drv2-contact-context p,
  .drv2-contact-review > p,
  .drv2-contact-detail dd
) {
  font-size: var(--drv2-type-body);
  line-height: var(--drv2-leading-body);
}

body:has(.deal-room-v2-active) .drv2-drawer .drv2-job-source-note {
  font-size: var(--drv2-type-support) !important;
}

body:has(.deal-room-v2-active) .drv2-drawer .drv2-hiring-hero dd { font-size: 17px; }
.deal-room-v2-active .drv2-rail__count { font-size: var(--drv2-type-label); line-height: 1; }

/* Small shared feature controls. */
.deal-room-v2-active .drv2-call-mode-switch button {
  font-size: var(--drv2-type-support);
  line-height: 1.35;
}

.deal-room-v2-active .deal-room-v2-contact-call-section > header p {
  font-size: var(--drv2-type-label);
  line-height: var(--drv2-leading-label);
}

@media (max-width: 760px) {
  .deal-room-v2-active {
    --drv2-leading-body: 1.6;
  }
}
