/* ============================================================
   import-wizard.css — Parity + viewer package (2026-10-20), T1:
   the import / cutover wizard (import-wizard.js). It lives in an
   .fx-overlay sheet. Tokens only (design-system.css :root), so the
   Navy appearance re-points it. Gold stays on the one primary
   action per step (the shared .btn-primary); nothing else here.
   ============================================================ */
.fx-dialog.imp-sheet { width: min(920px, 96vw); max-height: 92vh; overflow-y: auto; }
.imp-steps { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 16px; padding: 0; counter-reset: imp; }
.imp-steps li { counter-increment: imp; font-size: var(--ds-fs-xs); color: var(--ds-muted); padding: 4px 10px; border: 1px solid var(--ds-line); border-radius: var(--ds-r-pill); }
.imp-steps li::before { content: counter(imp) ". "; }
.imp-steps li.on { color: var(--ds-navy); border-color: var(--ds-navy); font-weight: 700; }
.imp-steps li.done { color: var(--ds-ok-ink); background: var(--ds-ok-bg); border-color: transparent; }
.imp-lede { margin: 0 0 12px; color: var(--ds-ink); font-size: var(--ds-fs); }
.imp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.imp-src { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; padding: 10px 12px; border: 1px solid var(--ds-line); border-radius: var(--ds-r-sm); background: var(--ds-card); color: var(--ds-ink); cursor: pointer; font: inherit; min-height: 62px; }
.imp-src:hover { border-color: var(--ds-line-strong); background: var(--ds-tint); }
.imp-src.on { border-color: var(--ds-navy); box-shadow: inset 0 0 0 1px var(--ds-navy); }
.imp-src:focus-visible { outline: none; box-shadow: var(--ds-focus); }
.imp-src-n { font-weight: 700; color: var(--ds-navy); font-size: var(--ds-fs); }
.imp-src-k { font-size: var(--ds-fs-xs); color: var(--ds-muted); line-height: 1.3; }
.imp-kinds { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.imp-kind { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--ds-line); border-radius: var(--ds-r-sm); background: var(--ds-card); cursor: pointer; }
.imp-kind input { margin-top: 3px; accent-color: var(--ds-navy); }
.imp-kind b { display: block; color: var(--ds-navy); font-size: var(--ds-fs); }
.imp-kind small { display: block; color: var(--ds-muted); font-size: var(--ds-fs-xs); line-height: 1.35; margin-top: 2px; }
.imp-card { border: 1px solid var(--ds-line); border-radius: var(--ds-r); background: var(--ds-card); padding: 14px 16px; margin: 0 0 12px; }
.imp-card h4 { margin: 0 0 6px; font-size: var(--ds-fs-md); color: var(--ds-navy); }
.imp-card p { margin: 0 0 8px; font-size: var(--ds-fs-sm); line-height: 1.45; }
.imp-instr { color: var(--ds-ink); }
.imp-file, .imp-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 8px; font-size: var(--ds-fs-sm); }
.imp-file > span, .imp-inline > span { font-weight: 600; color: var(--ds-navy); min-width: 110px; }
.imp-map { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 14px; margin: 6px 0 10px; }
.imp-map-h { grid-column: 1 / -1; margin: 0; font-weight: 700; color: var(--ds-navy); font-size: var(--ds-fs-sm); }
.imp-maprow { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: var(--ds-fs-sm); }
.imp-maprow select, .imp-inline select { max-width: 60%; min-height: var(--ds-ctl-sm); border: 1px solid var(--ds-line); border-radius: var(--ds-r-sm); background: var(--ds-card); color: var(--ds-ink); font: inherit; font-size: var(--ds-fs-sm); padding: 0 8px; }
.imp-maprow .req { color: var(--ds-bad-ink); }
.imp-counts { color: var(--ds-ink); }
.imp-counts b { color: var(--ds-navy); }
.imp-grp { border-top: 1px solid var(--ds-hair); padding: 6px 0; }
.imp-grp summary { cursor: pointer; font-size: var(--ds-fs-sm); font-weight: 600; color: var(--ds-navy); padding: 4px 0; }
.imp-grp summary input { accent-color: var(--ds-navy); }
.imp-rows { list-style: none; margin: 4px 0 6px; padding: 0; max-height: 280px; overflow-y: auto; }
.imp-rows li { font-size: var(--ds-fs-sm); padding: 4px 0; border-bottom: 1px solid var(--ds-hair); color: var(--ds-ink); overflow-wrap: anywhere; }
.imp-rows li:last-child { border-bottom: 0; }
.imp-rows input { accent-color: var(--ds-navy); }
.imp-rn { display: inline-block; min-width: 54px; color: var(--ds-faint); font-size: var(--ds-fs-xs); font-variant-numeric: tabular-nums; }
.imp-foot { flex-wrap: wrap; align-items: center; }
.imp-nowrite { font-size: var(--ds-fs-xs); color: var(--ds-muted); margin-right: 6px; }
.imp-result { margin: 0 0 10px; padding-left: 18px; font-size: var(--ds-fs-sm); line-height: 1.6; }
.imp-log-h { margin: 16px 0 6px; font-size: var(--ds-fs); color: var(--ds-navy); }
.imp-log { list-style: none; margin: 0; padding: 0; }
.imp-log li { padding: 8px 0; border-bottom: 1px solid var(--ds-hair); font-size: var(--ds-fs-sm); }
@media (max-width: 640px) {
  .imp-maprow { flex-direction: column; align-items: stretch; }
  .imp-maprow select, .imp-inline select { max-width: 100%; }
}
