/* Per-bureau confirmation modal. Session 3 Deliverable 2.
   Reuses .mode-modal chrome from base.css; this file styles the body
   content (eyebrow, headline, comparison grid, footnote, button stack).
   The same modal shell is reused by Commits 3, 4, 5 for the reject
   screen, wrong-bureau correction, and separate-account screen.
   See vioverse_app/mockup/ideas/handoff-2026-05-11-session-3-onboarding-modal-design.md. */

.bureau-confirm-card { max-width: 480px; padding: 32px 32px 24px; }

.bc-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 10px;
}

.bc-headline {
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 8px;
}
.bc-headline span { color: var(--coral); }

.bc-subhead {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 22px;
  line-height: 1.5;
}

/* === Stacked per-field cards (Option B layout) === */
.bc-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.bc-field-card {
  border: 1px solid rgba(31,24,19,0.08);
  border-radius: 14px;
  padding: 14px 16px;
}

.bc-field-soft {
  border: 1.5px dashed rgba(242,100,25,0.45);
  background: rgba(242,100,25,0.03);
}

.bc-field-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.bc-field-label {
  font-size: 14px;
  font-weight: 700;
  color: #1E2A35;
}

.bc-field-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
}
.bc-field-row:last-of-type { margin-bottom: 0; }

.bc-field-sublabel {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(30,42,53,0.42);
}

.bc-field-value {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
  word-break: break-word;
}

.bc-field-scanned { font-weight: 600; }

.bc-field-hint {
  margin-top: 8px;
  font-size: 12px;
  color: var(--coral);
  font-weight: 500;
}

/* Status pills */
.bc-pill-match {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--coral);
  background: rgba(242,100,25,0.1);
  padding: 3px 10px;
  border-radius: 999px;
}
.bc-pill-match svg {
  stroke: var(--coral);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bc-pill-soft {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--coral);
  background: transparent;
  border: 1.5px dashed var(--coral);
  padding: 3px 10px;
  border-radius: 999px;
}

.bc-pill-hard {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #D6584C;
  padding: 3px 10px;
  border-radius: 999px;
}

.bc-field-hard {
  border: 1.5px solid #D6584C;
  background: rgba(214,88,76,0.04);
}

.bc-value-hard {
  color: #D6584C;
}

.bc-headline-hard {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.bc-hard-x {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: #D6584C;
  margin-top: 2px;
}

.bc-hard-caption {
  font-size: 12px;
  font-style: italic;
  color: rgba(30,42,53,0.55);
  margin: 10px 0 0;
  line-height: 1.5;
}

/* Summary line */
.bc-summary {
  font-size: 13px;
  font-weight: 500;
  color: rgba(30,42,53,0.62);
  margin: 0 0 16px;
}
.bc-summary-review {
  color: var(--coral);
  font-weight: 600;
}

.bc-pdf-missing {
  font-style: italic;
  color: var(--text-secondary);
  opacity: 0.7;
  font-weight: 400;
}

/* Bucket C1: "From PDF" cell pills (two non-default states beyond the plain
   extracted value and the italic "Not extracted yet" miss).
   .bc-pill-year-only -- Experian prints a year-only DOB; the year shows
   followed by this coral-tinted badge (modeled on base.css .badge-red:
   var(--red-bg) fill, var(--coral) text, the rgba(214,88,76,0.18) stroke it
   already uses). .bc-pill-absent -- the bureau template structurally doesn't
   print this field (e.g. Experian has no masked SSN anywhere in the doc); a
   muted navy-alpha badge says so, using the documented inline decoration-gray
   idiom (rgba(30,42,53,0.06) fill / rgba(30,42,53,0.15) stroke). No new :root
   token introduced. See handoff-2026-05-12-c1-discovery-multi-bureau-identity.md
   design Q8. */
.bc-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  vertical-align: middle;
}
.bc-pill-year-only {
  background: var(--red-bg);
  color: var(--coral);
  border-color: rgba(214,88,76,0.18);
}
.bc-pill-absent {
  background: rgba(30,42,53,0.06);
  color: var(--text-secondary);
  border-color: rgba(30,42,53,0.15);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.bc-footnote {
  font-style: italic;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 22px;
}

.bc-buttons { display: flex; flex-direction: column; gap: 10px; }

.bc-btn-primary {
  width: 100%;
  padding: 14px 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--bone-0);
  background: var(--ink-0);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
}
.bc-btn-primary:hover { opacity: 0.92; }
.bc-btn-primary:active { transform: scale(0.99); }

.bc-btn-secondary {
  width: 100%;
  padding: 14px 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(31,24,19,0.18);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, transform 0.1s;
}
.bc-btn-secondary:hover { border-color: var(--text); color: var(--text); }
.bc-btn-secondary:active { transform: scale(0.99); }

/* --- Deliverable 3: R1 reject screen. Same modal shell as the
   confirmation screen; bureau-confirm.js swaps #bureau-confirm-body
   to render this state. .bc-back-link is shared by the wrong-bureau
   correction (Deliverable 4) and separate-account screen (Deliverable
   5) too. --- */

.bc-back-link {
  display: inline-block;
  margin-top: 18px;
  padding: 0;
  font-family: inherit;
  font-size: 12px;
  color: var(--text-secondary);
  text-decoration: underline;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.bc-back-link:hover { color: var(--text); }

.bc-reject-cards { display: flex; flex-direction: column; gap: 12px; }

.bc-reject-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid rgba(31,24,19,0.15);
  border-radius: 12px;
  padding: 16px 18px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s;
}
.bc-reject-card:hover { border-color: rgba(31,24,19,0.30); }

.bc-reject-icon { flex: 0 0 18px; width: 18px; height: 18px; color: var(--coral); margin-top: 1px; }

.bc-reject-text { display: flex; flex-direction: column; gap: 3px; }
.bc-reject-title { font-size: 13px; font-weight: 500; color: var(--text); }
.bc-reject-body { font-size: 11px; color: var(--text-secondary); line-height: 1.4; }

/* --- Deliverable 4: wrong-bureau correction. Three pill buttons
   (WB-A: trust the user, just relabel). --- */

.bc-bureau-buttons { display: flex; flex-direction: column; gap: 10px; }
.bc-bureau-btn {
  width: 100%;
  padding: 14px 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(31,24,19,0.15);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.1s;
}
.bc-bureau-btn:hover { border-color: var(--text); }
.bc-bureau-btn:active { transform: scale(0.99); }

/* --- Deliverable 5: separate-account screen. Two cards (free re-upload
   primary / paid separate-account secondary) plus a reassurance
   footnote. The card buttons reuse .bc-btn-primary / .bc-btn-secondary
   from the confirmation screen. --- */

.bc-sa-cards { display: flex; flex-direction: column; gap: 14px; }
.bc-sa-card {
  background: #fff;
  border: 1px solid rgba(31,24,19,0.15);
  border-radius: 12px;
  padding: 18px;
}
.bc-sa-card.bc-sa-primary { border-color: rgba(31,24,19,0.24); }
.bc-sa-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.bc-sa-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.bc-sa-body { font-size: 12px; color: var(--text-secondary); line-height: 1.5; margin: 0 0 14px; }

.bc-reassure {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  font-style: italic;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.bc-reassure-icon { flex: 0 0 14px; width: 14px; height: 14px; color: var(--coral); }

/* --- 30b W3: anchor edit hatch (SSN-last-4 correction) ---
   Quiet link in the hard-block state leading to showEditAnchorScreen().
   Edit screen reuses the id-setup SSN field pattern (.id-ssn-wrap,
   .id-ssn-toggle, .id-row-label) with its own input id. --- */

.bc-fix-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 8px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
}
.bc-fix-link .bc-fix-icon {
  display: none; /* pencil icon hidden; text carries the signal */
}
.bc-fix-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--coral);
}
.bc-fix-text strong { font-weight: 700; }
.bc-fix-sub {
  font-size: 11px;
  color: rgba(30,42,53,0.55);
  font-weight: 400;
}
.bc-fix-link:hover .bc-fix-text { text-decoration: underline; }

/* --- In-card fork footer (hard SSN card) --- */
.bc-fork-footer {
  margin-top: 12px;
}
.bc-fork-rule {
  height: 1px;
  background: rgba(214,88,76,0.16);
  margin-bottom: 12px;
}
.bc-fork-prompt {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.bc-fork-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bc-fork-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  line-height: 1.35;
}
.bc-fork-icon {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}
.bc-fork-fix {
  background: var(--coral);
  color: var(--bone-0);
  border: none;
}
.bc-fork-fix:hover { opacity: 0.92; }
.bc-fork-flag {
  background: transparent;
  color: var(--coral);
  border: 1px solid var(--coral);
}
.bc-fork-flag:hover { background: rgba(242,100,25,0.06); }
.bc-fork-flag-sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: rgba(30,42,53,0.55);
  margin-top: -2px;
}

/* --- Flag chip (possible issue) --- */
.bc-flag-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(242,100,25,0.1);
  color: var(--coral);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.bc-flag-chip-icon {
  width: 13px;
  height: 13px;
}

/* --- Flagged screen (Branch 2 destination) --- */
.bc-flagged-readout {
  background: rgba(30,42,53,0.03);
  border: 1px solid rgba(31,24,19,0.08);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 14px 0;
}
.bc-flagged-readout-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 4px 0;
}
.bc-flagged-readout-row + .bc-flagged-readout-row {
  border-top: 1px solid rgba(31,24,19,0.06);
  margin-top: 4px;
  padding-top: 8px;
}
.bc-flagged-why {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(30,42,53,0.62);
  margin: 0 0 16px;
}
.bc-flagged-footnote {
  font-size: 11px;
  font-style: italic;
  color: rgba(30,42,53,0.55);
  text-align: center;
  margin: 10px 0 0;
}

/* --- Soft-field two-way fork --- */
.bc-soft-fork {
  margin-top: 10px;
}
.bc-soft-fork-rule {
  height: 1px;
  background: rgba(242,100,25,0.16);
  margin-bottom: 10px;
}
.bc-soft-fork-buttons {
  display: flex;
  gap: 8px;
}
.bc-soft-fork-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.3;
}
.bc-soft-fork-typed {
  background: transparent;
  border: 1px solid rgba(30,42,53,0.18);
  color: var(--text);
}
.bc-soft-fork-typed:hover { background: rgba(30,42,53,0.04); }
.bc-soft-fork-report {
  background: transparent;
  border: 1px solid var(--coral);
  color: var(--coral);
}
.bc-soft-fork-report:hover { background: rgba(242,100,25,0.06); }
.bc-soft-fork-report .bc-fork-icon {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
}

/* Soft-field flagged state with undo */
.bc-soft-flagged-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.bc-soft-flagged {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(242,100,25,0.1);
  color: var(--coral);
  font-size: 11px;
  font-weight: 600;
}
.bc-soft-flagged-icon {
  width: 12px;
  height: 12px;
}
.bc-soft-undo {
  background: transparent;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  color: rgba(30,42,53,0.5);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(30,42,53,0.25);
}
.bc-soft-undo:hover {
  color: var(--coral);
  text-decoration-color: var(--coral);
}

/* --- Mixed-file flag --- */
.bc-mixed-file {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  margin: 0 0 12px;
  border-radius: 10px;
  background: rgba(242,100,25,0.08);
  border: 1px solid rgba(242,100,25,0.2);
}
.bc-mixed-file-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--coral);
  margin-top: 1px;
}
.bc-mixed-file-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
}
.bc-mixed-file-text strong {
  font-weight: 700;
}

/* Edit screen field + note */
.bc-edit-field {
  margin-bottom: 18px;
}
.bc-edit-field .id-row-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--coral);
  margin-bottom: 8px;
}
.bc-edit-field .id-lock-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}
.bc-edit-field .id-ssn-wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(31,24,19,0.18);
  border-radius: 10px;
  padding: 0 4px 0 14px;
  max-width: 200px;
}
.bc-edit-field .id-ssn-wrap input {
  flex: 1;
  border: 0;
  outline: 0;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.18em;
  padding: 12px 0;
  background: transparent;
  color: var(--text);
  width: 100%;
}
.bc-edit-field .id-ssn-toggle {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: rgba(30,42,53,0.4);
  padding: 0;
}
.bc-edit-field .id-ssn-toggle svg { width: 18px; height: 18px; }
.bc-edit-field .id-ssn-toggle:hover { color: var(--text); }

.bc-edit-note {
  font-size: 11px;
  color: rgba(30,42,53,0.55);
  line-height: 1.5;
  margin: 0 0 18px;
}

.bc-edit-error {
  font-size: 12px;
  color: #D6584C;
  font-weight: 500;
  margin: 0 0 12px;
  line-height: 1.4;
}

/* --- Inline soft-field editor (inside the soft card) --- */
.bc-soft-edit {
  margin-top: 10px;
}
.bc-soft-edit-rule {
  height: 1px;
  background: rgba(242,100,25,0.16);
  margin-bottom: 10px;
}
.bc-soft-edit-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 8px;
}
.bc-soft-edit-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid rgba(31,24,19,0.18);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  outline: 0;
  margin-bottom: 6px;
}
.bc-soft-edit-input:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(242,100,25,0.12);
}

/* DOB structured selects */
.bc-soft-edit-dob {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
}
.bc-soft-edit-select {
  flex: 1;
  background: #fff;
  border: 1px solid rgba(31,24,19,0.18);
  border-radius: 10px;
  padding: 10px 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  outline: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.bc-soft-edit-select:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(242,100,25,0.12);
}
.bc-soft-edit-readback {
  font-size: 12px;
  color: rgba(30,42,53,0.55);
  margin: 2px 0 6px;
  line-height: 1.4;
}
.bc-soft-edit-readback strong {
  font-weight: 600;
  color: var(--text);
}

/* Editor buttons */
.bc-soft-edit-buttons {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.bc-soft-edit-save {
  flex: 1;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--coral);
  color: #fbf8f1;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.bc-soft-edit-save:hover { opacity: 0.92; }
.bc-soft-edit-save:active { transform: scale(0.99); }
.bc-soft-edit-save:disabled { opacity: 0.5; cursor: default; }
.bc-soft-edit-cancel {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 16px;
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(30,42,53,0.18);
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.bc-soft-edit-cancel:hover { border-color: var(--text); }
.bc-soft-edit-cancel:active { transform: scale(0.99); }

/* Updated chip (shown on corrected field values) */
.bc-updated-chip {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(242,100,25,0.12);
  color: var(--coral);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: middle;
  margin-left: 6px;
}

/* 3D #2 polish: bump soft fork buttons from 36px to 44px touch target */
.bc-soft-fork-btn {
  min-height: 44px;
  padding: 8px 14px;
}
