/* ==== Vehicle Import Tax Calculator — Redesign ==== */

:root {
  /* Warm neutral foundation */
  --bg: oklch(0.985 0.004 80);
  --surface: #ffffff;
  --surface-2: oklch(0.975 0.005 80);
  --surface-3: oklch(0.96 0.006 80);
  --line: oklch(0.92 0.006 80);
  --line-strong: oklch(0.86 0.008 80);

  --ink: oklch(0.22 0.01 260);
  --ink-2: oklch(0.38 0.012 260);
  --ink-3: oklch(0.55 0.012 260);
  --ink-4: oklch(0.7 0.01 260);

  /* Brand — deep Sri Lanka blue, calmer than reference */
  --brand: oklch(0.42 0.16 260);
  --brand-deep: oklch(0.32 0.16 260);
  --brand-soft: oklch(0.96 0.025 260);
  --brand-line: oklch(0.88 0.04 260);

  /* Accents */
  --warn: oklch(0.7 0.14 75);
  --warn-bg: oklch(0.97 0.04 85);
  --warn-line: oklch(0.88 0.06 80);
  --good: oklch(0.6 0.13 155);
  --good-bg: oklch(0.96 0.04 155);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;

  --shadow-1: 0 1px 0 rgba(20, 25, 50, 0.04), 0 1px 2px rgba(20, 25, 50, 0.04);
  --shadow-2: 0 1px 0 rgba(20, 25, 50, 0.04), 0 8px 24px -12px rgba(20, 25, 50, 0.12);

  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}

button { font-family: inherit; cursor: pointer; }

.tabular { font-variant-numeric: tabular-nums; }

/* ===== Page shell (faux header/footer placeholders) ===== */
.page {
  width: 1280px;
  background: var(--bg);
  font-size: 14px;
  line-height: 1.5;
}

.chrome-placeholder {
  height: 56px;
  background: repeating-linear-gradient(
    135deg,
    oklch(0.96 0.005 80),
    oklch(0.96 0.005 80) 8px,
    oklch(0.94 0.005 80) 8px,
    oklch(0.94 0.005 80) 16px
  );
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.chrome-placeholder.footer { border-bottom: 0; border-top: 1px solid var(--line); height: 80px; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(180deg, var(--brand-deep) 0%, var(--brand) 100%);
  color: white;
  padding: 56px 80px 40px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% auto;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 60%);
  pointer-events: none;
}
.hero-crumbs {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 18px;
}
.hero-crumbs a { color: rgba(255,255,255,0.8); text-decoration: none; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 44px;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  max-width: 900px;
}
.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  max-width: 640px;
  margin: 0 0 22px;
}
.hero-meta {
  display: flex;
  gap: 28px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.hero-meta .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 99px;
  background: oklch(0.85 0.18 155);
  margin-right: 8px;
  box-shadow: 0 0 0 4px oklch(0.85 0.18 155 / 0.18);
  vertical-align: middle;
}

/* ===== Stage ===== */
.stage {
  padding: 36px 80px 64px;
}

/* ===== Step header (horizontal progress) ===== */
.steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
}
.step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 2px solid var(--line);
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 500;
  position: relative;
}
.step .step-n {
  width: 22px; height: 22px;
  border-radius: 99px;
  background: var(--surface-3);
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.step.done { color: var(--ink-2); border-bottom-color: var(--brand); }
.step.done .step-n { background: var(--brand); color: white; }
.step.active { color: var(--ink); border-bottom-color: var(--brand); }
.step.active .step-n { background: var(--brand); color: white; box-shadow: 0 0 0 4px var(--brand-soft); }
.step .check {
  width: 22px; height: 22px; border-radius: 99px;
  background: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  color: white;
}
.step .step-label-wrap { display: flex; flex-direction: column; line-height: 1.2; }
.step .step-mini { font-size: 10.5px; color: var(--ink-4); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }

/* ===== Card ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}
.card-pad { padding: 28px 32px; }
.card-pad-lg { padding: 36px 40px; }

.card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.card-sub {
  font-size: 13.5px;
  color: var(--ink-3);
  margin: 0 0 24px;
}

/* ===== Vehicle type selector (Step 1) ===== */
.veh-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.veh-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 14px 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.15s ease;
  position: relative;
}
.veh-tile:hover { border-color: var(--brand-line); background: var(--brand-soft); }
.veh-tile.selected {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 0 0 3px var(--brand-soft), inset 0 0 0 1px var(--brand);
}
.veh-tile .veh-icon {
  width: 36px; height: 28px;
  display: flex; align-items: center; justify-content: flex-start;
  color: var(--ink-2);
}
.veh-tile.selected .veh-icon { color: var(--brand); }
.veh-tile .veh-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.veh-tile .veh-rate { font-size: 11.5px; color: var(--ink-4); font-feature-settings: "tnum"; }
.veh-tile .selected-check {
  position: absolute; top: 10px; right: 10px;
  width: 18px; height: 18px; border-radius: 99px;
  background: var(--brand); color: white;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.6);
  transition: all 0.18s ease;
}
.veh-tile.selected .selected-check { opacity: 1; transform: scale(1); }

/* ===== Quick start ===== */
.qs-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px dashed var(--line);
}
.qs-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.qs-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.qs-hint { font-size: 12px; color: var(--ink-4); }
.qs-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  background: var(--surface-3);
  padding: 4px;
  border-radius: 99px;
  width: fit-content;
}
.qs-tab {
  border: 0;
  background: transparent;
  padding: 7px 14px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-3);
  transition: all 0.15s;
}
.qs-tab.active { background: white; color: var(--ink); box-shadow: var(--shadow-1); }
.qs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.qs-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.15s;
}
.qs-card:hover {
  border-color: var(--brand-line);
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}
.qs-card .qs-name { font-size: 13.5px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
.qs-card .qs-name .qs-arrow { color: var(--ink-4); transition: transform 0.15s, color 0.15s; }
.qs-card:hover .qs-arrow { color: var(--brand); transform: translateX(2px); }
.qs-card .qs-meta { font-size: 11.5px; color: var(--ink-3); display: flex; gap: 8px; }
.qs-card .qs-meta .sep { color: var(--ink-4); }
.qs-card .qs-price { font-size: 12.5px; font-weight: 600; color: var(--brand); margin-top: 4px; font-feature-settings: "tnum"; }

/* ===== Form action row ===== */
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.btn-back {
  background: transparent;
  border: 0;
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-back:hover { color: var(--ink); }
.btn-primary {
  background: var(--brand);
  color: white;
  border: 0;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 1px 2px rgba(20,25,50,0.15);
  transition: transform 0.1s, background 0.15s;
}
.btn-primary:hover { background: var(--brand-deep); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary.lg { padding: 16px 28px; font-size: 15px; border-radius: 12px; }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-ghost {
  background: white;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-ghost:hover { background: var(--surface-2); }

/* ===== Aside info cards ===== */
.aside { display: flex; flex-direction: column; gap: 14px; }
.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.info-card.brand { background: var(--brand-soft); border-color: var(--brand-line); }
.info-card.warn { background: var(--warn-bg); border-color: var(--warn-line); }
.info-card h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 8px;
  display: flex; align-items: center; gap: 8px;
  color: var(--ink);
}
.info-card.warn h4 { color: oklch(0.4 0.1 75); }
.info-card p {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
.info-card .pill-list {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--brand-deep);
  font-weight: 500;
}
.info-card .pill-list span {
  background: white;
  padding: 3px 8px;
  border-radius: 99px;
  border: 1px solid var(--brand-line);
  font-feature-settings: "tnum";
}

/* ===== Layout grids ===== */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

/* ===== Step 5: Review summary ===== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  margin-bottom: 8px;
}
.review-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.review-row .lbl { color: var(--ink-3); }
.review-row .val { color: var(--ink); font-weight: 500; }
.review-row .val .edit {
  font-size: 11px;
  color: var(--brand);
  margin-left: 8px;
  font-weight: 500;
  cursor: pointer;
  opacity: 0; transition: opacity 0.15s;
}
.review-row:hover .val .edit { opacity: 1; }

/* ===== Cost Breakdown ledger ===== */
.bd-card { padding: 0; overflow: hidden; }
.bd-head {
  padding: 28px 32px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.bd-head .bd-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 6px; }
.bd-head .bd-meta {
  display: flex; gap: 18px; font-size: 12px; color: var(--ink-3);
  font-family: var(--font-mono);
}
.bd-head .bd-meta b { color: var(--ink); font-weight: 600; }

.bd-totals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.bd-total {
  background: var(--surface);
  padding: 22px 32px;
  display: flex; flex-direction: column; gap: 6px;
}
.bd-total.primary { background: var(--brand); color: white; }
.bd-total.primary .bd-total-label { color: rgba(255,255,255,0.78); }
.bd-total .bd-total-label {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600;
}
.bd-total .bd-total-val {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-feature-settings: "tnum";
}
.bd-total .bd-total-sub { font-size: 11.5px; color: var(--ink-3); }
.bd-total.primary .bd-total-sub { color: rgba(255,255,255,0.7); }

.bd-section {
  padding: 22px 32px 8px;
  border-bottom: 1px solid var(--line);
}
.bd-section:last-of-type { border-bottom: 0; }
.bd-section-head {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 4px;
  display: flex; justify-content: space-between;
}
.bd-line {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}
.bd-line:last-child { border-bottom: 0; }
.bd-line .bd-marker {
  width: 18px; height: 18px;
  border-radius: 5px;
  background: var(--surface-3);
  color: var(--ink-3);
  font-size: 10px;
  font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
}
.bd-line .bd-marker.brand { background: var(--brand-soft); color: var(--brand-deep); }
.bd-line .bd-marker.zero { background: var(--surface-3); color: var(--ink-4); }
.bd-line .bd-name { display: flex; flex-direction: column; gap: 2px; }
.bd-line .bd-name b { font-weight: 500; color: var(--ink); }
.bd-line .bd-formula { font-size: 11.5px; color: var(--ink-4); font-family: var(--font-mono); }
.bd-line .bd-amt { font-feature-settings: "tnum"; font-weight: 500; color: var(--ink); white-space: nowrap; }
.bd-line.zero .bd-amt { color: var(--ink-4); }
.bd-line.cif .bd-amt { font-weight: 600; }
.bd-line.subtotal {
  background: var(--surface-2);
  margin: 6px -32px 0;
  padding: 12px 32px;
  border-bottom: 0;
  border-top: 1px solid var(--line);
}
.bd-line.subtotal .bd-amt { font-weight: 600; }

.bd-final {
  padding: 22px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: oklch(0.99 0.005 80);
}
.bd-final .lbl {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600;
}
.bd-final .val {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 600;
  letter-spacing: -0.01em;
  font-feature-settings: "tnum";
}

/* ===== Alert / inline notes ===== */
.alert {
  display: flex; gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 12.5px;
  line-height: 1.5;
  margin: 16px 32px;
}
.alert.warn { background: var(--warn-bg); border: 1px solid var(--warn-line); color: oklch(0.35 0.07 75); }
.alert.info { background: var(--brand-soft); border: 1px solid var(--brand-line); color: var(--brand-deep); }
.alert .alert-icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.alert b { color: oklch(0.3 0.08 75); }
.alert.info b { color: var(--brand-deep); }

/* ===== Financing strip ===== */
.fin-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--good-bg);
  border: 1px solid oklch(0.85 0.07 155);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 16px 32px 0;
  font-size: 12.5px;
  color: oklch(0.32 0.06 155);
}
.fin-strip b { color: oklch(0.28 0.08 155); }
.fin-strip .fin-amt { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: oklch(0.32 0.08 155); font-feature-settings: "tnum"; }

/* ===== Disclaimer line ===== */
.disclaimer {
  margin: 18px 32px 28px;
  font-size: 11.5px;
  color: var(--ink-4);
  line-height: 1.55;
}

/* ===== Action row (review actions) ===== */
.action-row {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding: 22px 32px 28px;
  border-top: 1px solid var(--line);
}

/* ===== Toggle (vehicle condition) ===== */
.toggle-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  background: var(--surface-3);
  padding: 4px;
  border-radius: var(--radius);
}
.toggle-grid button {
  border: 0; background: transparent;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-3);
}
.toggle-grid button.active {
  background: white;
  color: var(--ink);
  box-shadow: var(--shadow-1);
}

/* ==== Misc helpers ==== */
.row-flex { display: flex; align-items: center; gap: 8px; }
.muted { color: var(--ink-3); }
.text-xs { font-size: 11.5px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }

/* ===== Bottom nav of breakdown (re-calc) ===== */
.bd-cta {
  display: flex; gap: 10px; align-items: center; justify-content: center;
  padding: 22px 32px 28px;
}

/* Section header used in step 1 above the vehicle grid */
.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-3);
  margin: 0 0 10px;
}

/* ===== Lanka Websites integration overrides ===== */

/* The design assumed a 1280px page wrapping its own header/footer placeholders.
   Drop the placeholders (we use the site's real chrome) and let the page flow. */
.vc-app .chrome-placeholder { display: none; }
.vc-app .page { width: auto; max-width: 1280px; margin: 0 auto; }

/* Hide elements until Alpine has hydrated */
[x-cloak] { display: none !important; }

/* ===== Mobile / narrow viewport rules ===== */
@media (max-width: 1023px) {
  .hero { padding: 36px 24px 28px; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 14px; }
  .stage { padding: 24px 16px 48px; }
  .calc-layout { grid-template-columns: 1fr; }
  .card-pad { padding: 22px 20px; }
  .card-pad-lg { padding: 24px 22px; }
  .veh-grid { grid-template-columns: repeat(3, 1fr); }
  .qs-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .bd-totals { grid-template-columns: 1fr; }
  .bd-head, .bd-section { padding-left: 22px; padding-right: 22px; }
  .alert, .fin-strip, .disclaimer, .action-row, .bd-cta { margin-left: 22px; margin-right: 22px; }
  .bd-line.subtotal { margin-left: -22px; margin-right: -22px; padding-left: 22px; padding-right: 22px; }
  .steps { overflow-x: auto; gap: 4px; }
  .step { min-width: 120px; padding: 10px 0; font-size: 12px; }
}

@media (max-width: 600px) {
  .hero { padding: 28px 18px 22px; }
  .hero h1 { font-size: 24px; }
  .hero-meta { flex-direction: column; gap: 8px; }
  .veh-grid { grid-template-columns: repeat(2, 1fr); }
  .qs-grid { grid-template-columns: 1fr; }
  .qs-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .qs-tab { white-space: nowrap; }
  .form-actions { flex-direction: column; gap: 12px; align-items: stretch; }
  .form-actions .btn-primary { width: 100%; justify-content: center; }
  .bd-head { flex-direction: column; gap: 12px; }
  .bd-cta { flex-direction: column; }
  .bd-cta button { width: 100%; justify-content: center; }
  .bd-final .val { font-size: 22px; }
  .bd-total .bd-total-val { font-size: 22px; }
}

/* Inline-step inputs (steps 2-4) — match design card density */
.vc-input-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.vc-input-row label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); letter-spacing: 0.02em; }
.vc-input-row input[type="number"],
.vc-input-row input[type="date"],
.vc-input-row input[type="text"],
.vc-input-row select {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  background: white;
  color: var(--ink);
  width: 100%;
}
.vc-input-row input:focus,
.vc-input-row select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.vc-input-row .helper { font-size: 11.5px; color: var(--ink-4); }

.vc-input-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; }
@media (max-width: 600px) { .vc-input-grid { grid-template-columns: 1fr; } }

/* FX widget — restyled within the new card */
.vc-fx {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-top: 12px;
  font-size: 13px;
}
.vc-fx-row { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; }
.vc-fx-row label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.vc-fx-row .rate-val { font-family: var(--font-mono); font-weight: 500; color: var(--ink); }
.vc-fx-preview {
  margin-top: 10px; padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px; color: var(--brand-deep); font-weight: 500;
}

/* Error block */
.vc-error {
  background: oklch(0.97 0.04 25);
  border: 1px solid oklch(0.85 0.06 25);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-top: 16px;
  color: oklch(0.4 0.12 25);
  font-size: 13px;
}
.vc-error .vc-error-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

/* Toggle for fx_source — design uses radio; we preserve radio inputs but style them */
.vc-fx input[type="radio"] { accent-color: var(--brand); }
