.imp-shell {
  display: grid;
  gap: 20px;
  max-width: 1180px;
}

.imp-hero-card {
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  padding: 24px;
}

.imp-card {
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  padding: 24px;
}

.imp-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f59e0b;
}

.imp-title {
  margin: 0;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 900;
  color: #0f172a;
}

.imp-subtitle {
  margin-top: 10px;
  color: #475569;
}

.imp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 18px;
}

.imp-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #475569;
}

.imp-select,
.imp-file-input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid #dbe3ef;
  background: #f8fafc;
  color: #0f172a;
  font-size: 15px;
}

.imp-select:focus,
.imp-file-input:focus {
  outline: none;
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.16);
}

.imp-file-input {
  padding: 11px 14px;
  background: #f8fafc;
}

.imp-field--full {
  grid-column: 1 / -1;
}

.imp-help {
  margin-top: 8px;
  font-size: 12px;
  color: #64748b;
}

.imp-options-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.imp-toggle-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  color: #0f172a;
}

.imp-toggle-card strong {
  display: block;
}

.imp-toggle-card p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 13px;
}

.imp-actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}

.imp-btn {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.imp-btn--primary {
  background: linear-gradient(180deg, #f59e0b 0%, #f97316 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.24);
}

.imp-result-head {
  display: grid;
  gap: 14px;
}

.imp-section-title {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
}

.imp-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.imp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 12px;
}

.imp-pill.error {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.imp-pill.warning {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}

.imp-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.imp-summary-card {
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.imp-summary-card span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 6px;
  font-weight: 800;
}

.imp-summary-card strong {
  color: #020617;
  font-size: 20px;
  font-weight: 900;
}

.imp-validation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.imp-validation-panel {
  padding: 16px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.imp-validation-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
  color: #020617;
}

.imp-issue-list {
  margin: 0;
  padding-left: 18px;
}

.imp-issue-list li {
  margin-bottom: 8px;
}

.imp-issue-list--error {
  color: #991b1b;
}

.imp-issue-list--warning {
  color: #92400e;
}

.imp-empty-state {
  color: #64748b;
}

.imp-preview-wrap {
  margin-top: 18px;
}

.imp-table-wrap {
  overflow-x: auto;
  margin-top: 10px;
}

.imp-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}

.imp-table thead th {
  padding: 12px;
  text-align: left;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #475569;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}

.imp-table tbody td {
  padding: 12px;
  border-bottom: 1px solid #eef2f7;
  color: #111827;
  font-size: 14px;
}

@media (max-width: 900px) {
  .imp-grid,
  .imp-summary-grid,
  .imp-validation-grid {
    grid-template-columns: 1fr;
  }

  .imp-actions {
    justify-content: stretch;
  }

  .imp-btn--primary {
    width: 100%;
  }
}

.imp-summary-card--safe {
  border: 2px solid #15803d;
  background: #f0fdf4;
}

.imp-summary-card--warning {
  border: 2px solid #d97706;
  background: #fffbeb;
}

.imp-summary-card--danger {
  border: 2px solid #dc2626;
  background: #fef2f2;
}

.imp-summary-card--safe {
  border: 2px solid #15803d;
  background: #f0fdf4;
}

.imp-summary-card--review {
  border: 2px solid #d97706;
  background: #fffbeb;
}

.imp-summary-card--blocked {
  border: 2px solid #dc2626;
  background: #fef2f2;
}

.imp-summary-card--not {
  border: 2px solid #94a3b8;
  background: #f8fafc;
}

.imp-status-badge {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}
.imp-status-badge {
  display: inline-flex;
  width: fit-content;
}

.imp-status-badge--success {
  background: #dcfce7;
  color: #166534;
}

.imp-status-badge--warning {
  background: #fef3c7;
  color: #92400e;
}

.imp-status-badge--danger {
  background: #fee2e2;
  color: #991b1b;
}

.imp-card--danger {
  border-left: 6px solid #dc2626;
}

.imp-card--warning {
  border-left: 6px solid #f59e0b;
}

.imp-summary-card--danger,
.imp-summary-card--error {
  background: #fee2e2;
  color: #991b1b;
}

.imp-summary-card--warning {
  background: #fef3c7;
  color: #92400e;
}

.imp-summary-card--success,
.imp-summary-card--safe {
  background: #dcfce7;
  color: #166534;
}

.imp-summary-card--neutral {
  background: #f8fafc;
}

.imp-btn--disabled {
  background: #cbd5e1;
  color: #64748b;
  cursor: not-allowed;
}

.imp-summary-card strong {
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
}

.imp-summary-card span {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.imp-footer-actions {
  margin-top: 32px;
  padding: 24px 28px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.imp-footer-context {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.imp-footer-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
  color: #94a3b8;
}

.imp-footer-status {
  font-size: 16px;
  font-weight: 700;
}

.imp-footer-status--danger {
  color: #b91c1c;
}

.imp-footer-status--warning {
  color: #b45309;
}

.imp-footer-status--success {
  color: #166534;
}

.imp-footer-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.imp-btn--ghost {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}

.imp-btn--ghost:hover {
  background: #f8fafc;
}

.imp-btn--blocked {
  background: #e2e8f0;
  color: #64748b;
  cursor: not-allowed;
  border: 1px solid #cbd5e1;
}

.imp-steps {
  display: flex;
  gap: 12px;
  margin: 0 0 24px;
}

.imp-step {
  flex: 1;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #64748b;
}

.imp-step span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e2e8f0;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.imp-step.active {
  border-color: #f59e0b;
  background: #fffbeb;
  color: #92400e;
}

.imp-step.done {
  border-color: #16a34a;
  background: #f0fdf4;
  color: #166534;
}

.imp-table {
  width: 100%;
  border-collapse: collapse;
}

.imp-table th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #64748b;
  padding: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.imp-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #e2e8f0;
  font-weight: 600;
  color: #0f172a;
}

.imp-table tr:hover td {
  background: #f8fafc;
}

.import-console-hero {
  background: linear-gradient(135deg, #071126 0%, #0c1c38 55%, #102548 100%);
  border-radius: 24px;
  padding: 28px;
  color: #ffffff;
  margin-bottom: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
}

.import-console-kicker {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .75;
  margin: 0 0 8px;
  color: #f59e0b;
  font-weight: 900;
}

.import-console-title {
  font-size: 40px;
  line-height: 1;
  margin: 0;
  font-weight: 800;
}

.import-console-subtitle {
  margin-top: 10px;
  opacity: .82;
  max-width: 760px;
}

.import-console-card {
  background:
    radial-gradient(circle at top right, rgba(0,85,204,.12), transparent 36%),
    linear-gradient(135deg, #0f1724 0%, #121a2b 55%, #1a2236 100%);
  color: #fff;
  border-radius: 22px;
  padding: 24px;
  margin-bottom: 24px;
}

.import-console-card h2 {
  color: #fff;
}

.import-console-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.import-console-metric {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 14px;
}

.import-console-metric span {
  display: block;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 900;
  margin-bottom: 8px;
}

.import-console-metric strong {
  display: block;
  font-size: 20px;
  line-height: 1.15;
  color: #ffffff;
  font-weight: 800;
}

.import-console-metric--safe {
  border-color: rgba(34,197,94,.5);
}

.import-console-metric--warn {
  border-color: rgba(245,158,11,.65);
}

.import-console-metric--danger {
  border-color: rgba(220,38,38,.75);
}

.import-console-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.import-console-pill--safe {
  background: #dcfce7;
  color: #166534;
}

.import-console-pill--warn {
  background: #fef3c7;
  color: #92400e;
}

.import-console-pill--danger {
  background: #fee2e2;
  color: #991b1b;
}

.import-console-issues {
  margin-top: 14px;
  padding: 16px;
  background: rgba(255,255,255,.06);
  border-radius: 16px;
}

.import-console-issues ul {
  margin: 0;
  padding-left: 18px;
}

.import-console-issues li {
  margin-bottom: 8px;
  color: #fed7aa;
}

.import-console-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin: 22px 0 28px;
}

.import-console-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(15,23,42,.9);
  color: #ffffff;
}

.import-console-btn--primary {
  background: linear-gradient(180deg, #ff7a00, #d85f00);
  border: none;
}

.import-console-btn--ghost {
  background: transparent;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.import-console-btn--disabled {
  background: #cbd5e1;
  color: #64748b;
  cursor: not-allowed;
}

.guided-import-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px;
}

.guided-import-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
  border: 1px solid #e5e7eb;
}

.guided-import-hero {
  background: linear-gradient(135deg, #071126 0%, #0c1c38 60%, #141827 100%);
  color: #ffffff;
  border-radius: 26px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 22px 55px rgba(0,0,0,.18);
}

.guided-kicker {
  margin: 0 0 8px;
  color: #f59e0b;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 900;
}

.guided-title {
  font-size: 42px;
  line-height: 1;
  margin: 0;
  font-weight: 900;
}

.guided-subtitle {
  margin: 12px 0 0;
  max-width: 780px;
  color: #cbd5e1;
  font-size: 16px;
}

.guided-import-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.guided-import-step {
  background: #111827;
  color: #94a3b8;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.guided-import-step span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #1f2937;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.guided-import-step.is-active {
  background: #2b1f08;
  color: #fbbf24;
}

.guided-import-step.is-done {
  background: #052e16;
  color: #22c55e;
}

.guided-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.guided-metric {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
}

.guided-metric span {
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 8px;
}

.guided-metric strong {
  display: block;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.2;
}

.guided-metric.is-safe {
  background: #ecfdf5;
  border-color: #86efac;
}

.guided-metric.is-warn {
  background: #fffbeb;
  border-color: #fcd34d;
}

.guided-metric.is-danger {
  background: #fef2f2;
  border-color: #fca5a5;
}

.guided-notice {
  border-radius: 18px;
  padding: 18px;
  margin-top: 18px;
}

.guided-notice.is-safe {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #86efac;
}

.guided-notice.is-warn {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.guided-notice.is-danger {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}


.guided-actions span {
  display: block;
  color: #94a3b8;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 900;
}

.guided-actions {
  background: #0f172a;
  color: white;
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 24px 0 0;
}

.guided-actions strong {
  font-size: 16px;
  line-height: 1.35;
}

.guided-action-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.guided-btn {
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 12px;
}

.guided-action-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.guided-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 900;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.guided-btn-primary {
  background: linear-gradient(180deg, #ff7a00, #d85f00);
  color: #ffffff;
}

.guided-btn-secondary {
  background: rgba(255,255,255,.08);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.16);
}

.guided-btn-muted {
  background: #cbd5e1;
  color: #64748b;
  cursor: not-allowed;
}

.guided-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 16px;
}

.guided-table th {
  background: #0f172a;
  color: white;
  padding: 14px;
  text-align: left;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.guided-table td {
  padding: 14px;
  border-bottom: 1px solid #e5e7eb;
}

.guided-success-mark {
  width: 90px;
  height: 90px;
  border-radius: 999px;
  background: #052e16;
  color: #22c55e;
  display: grid;
  place-items: center;
  font-size: 46px;
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .guided-import-steps,
  .guided-grid {
    grid-template-columns: 1fr;
  }

  .guided-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

.guided-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.guided-field {
  display: flex;
  flex-direction: column;
}

.guided-field-wide {
  grid-column: span 2;
}

.guided-field label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 8px;
}

.guided-select,
.guided-file {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  padding: 12px 14px;
  font-weight: 700;
}

.guided-help {
  margin: 7px 0 0;
  color: #64748b;
  font-size: 13px;
}

.guided-option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.guided-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 16px;
}

.guided-option strong {
  display: block;
  color: #0f172a;
}

.guided-option span {
  display: block;
  color: #64748b;
  font-size: 13px;
  margin-top: 4px;
}