.csv-intake-choice-page { max-width: 1120px; }
.csv-intake-choice-page .guide-hero { max-width: 860px; }
.csv-choice-table-wrap { max-width: 100%; }
.csv-choice-table { table-layout: fixed; font-size: .9rem; }
.csv-choice-table th, .csv-choice-table td { overflow-wrap: anywhere; }
.csv-choice-table th:first-child, .csv-choice-table td:first-child { width: 15%; }
.csv-choice-table th:not(:first-child), .csv-choice-table td:not(:first-child) { width: 14.16%; }
.csv-choice-table tbody tr[data-choice-id="self_hosted"] td:first-child { border-left: 4px solid #2457d6; }
.csv-choice-table tbody tr[data-choice-id="managed"] td:first-child { border-left: 4px solid #0b8f6b; }
.csv-choice-table tbody tr[data-choice-id="manual_handoff"] td:first-child { border-left: 4px solid #8b5cf6; }
.csv-choice-table td:first-child { font-weight: 800; }
.csv-choice-table .choice-note { display: block; margin-top: 5px; color: var(--muted); font-size: .82rem; font-weight: 500; }
.csv-choice-table a { font-weight: 700; }
.csv-choice-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0 0; color: var(--muted); font-size: .88rem; }
.csv-choice-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 50%; background: currentColor; }
.csv-choice-legend .self-hosted { color: #2457d6; }
.csv-choice-legend .managed { color: #0b8f6b; }
.csv-choice-legend .manual { color: #8b5cf6; }
.csv-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0; }
.csv-flow-step { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-muted); }
.csv-flow-step strong { display: block; margin-bottom: 5px; color: var(--primary-dark); }
.csv-brief-form { display: grid; gap: 14px; }
.csv-brief-form fieldset { min-width: 0; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.csv-brief-form legend { padding: 0 6px; font-weight: 800; }
.csv-brief-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.csv-brief-options label, .csv-brief-form .field label { display: flex; gap: 8px; align-items: flex-start; font-weight: 700; }
.csv-brief-form input[type="radio"], .csv-brief-form input[type="checkbox"] { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; }
.csv-brief-form select, .csv-brief-form textarea { width: 100%; margin-top: 6px; }
.csv-brief-form textarea { min-height: 88px; resize: vertical; }
.csv-brief-form .field + .field { margin-top: 12px; }
.csv-brief-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.csv-brief-output { min-height: 150px; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #101927; color: #eff6ff; font: .88rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.csv-brief-output[hidden] { display: none; }
.csv-brief-status { min-height: 1.5em; margin: 0; color: var(--primary-dark); font-weight: 700; }
.csv-choice-warning { border-left: 4px solid #d97706; }
.csv-choice-warning strong { color: #9a5200; }
@media (max-width: 760px) {
  .csv-intake-choice-page .guide-panel { padding: 16px; }
  .csv-choice-table { font-size: .9rem; }
  .csv-choice-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .csv-choice-table, .csv-choice-table tbody, .csv-choice-table tr, .csv-choice-table td { display: block; width: 100% !important; }
  .csv-choice-table tr { margin-top: 14px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
  .csv-choice-table tr:first-child { margin-top: 0; }
  .csv-choice-table td { display: grid; grid-template-columns: minmax(6.5rem, 34%) minmax(0, 1fr); gap: 8px; border: 0; border-bottom: 1px solid var(--line); }
  .csv-choice-table td::before { content: attr(data-label); color: var(--muted); font-weight: 800; }
  .csv-choice-table td:first-child { display: block; border-left: 0 !important; border-bottom: 1px solid var(--line); background: var(--surface-muted); }
  .csv-choice-table td:first-child::before { content: none; }
  .csv-flow { grid-template-columns: 1fr; }
  .csv-brief-options { grid-template-columns: 1fr; }
  .csv-brief-actions .button { flex: 1 1 140px; }
}
