:root {
  color-scheme: light;
  --bg: #f5f6f4;
  --paper: #ffffff;
  --ink: #202426;
  --muted: #66716f;
  --line: #dce2df;
  --line-strong: #c7d0cc;
  --red: #b3262e;
  --red-dark: #841c22;
  --teal: #0b746c;
  --green: #2e7d4f;
  --amber: #a86200;
  --blue: #315d9a;
  --shadow: 0 16px 40px rgba(29, 35, 33, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(179, 38, 46, 0.08), transparent 220px),
    var(--bg);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 16px;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  min-height: 72px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 12px;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.brand-block {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(135deg, var(--red), #2f3436 72%);
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 2px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(18px, 2.3vw, 24px);
  line-height: 1.2;
}

h2 {
  font-size: 22px;
}

.view-tabs,
.segmented,
.chip-row,
.top-actions,
.search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.view-tabs,
.segmented {
  padding: 4px;
  background: #eef2f0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tab-button,
.segmented button,
.chip {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  white-space: nowrap;
}

.tab-button.is-active,
.segmented button.is-active,
.chip.is-active {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
  box-shadow: 0 4px 14px rgba(25, 31, 29, 0.08);
}

.primary-button,
.ghost-button,
.small-button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
}

.primary-button {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.primary-button:hover {
  background: var(--red-dark);
}

.ghost-button:hover,
.small-button:hover {
  border-color: var(--red);
}

main {
  margin-top: 16px;
}

.view {
  display: none;
}

.view.is-active {
  display: block;
}

.control-band,
.results-head,
.insight-band,
.result-layout {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.vehicle-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.vehicle-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #1f5fe2;
  background: #eaf2ff;
  border-radius: 8px;
  font-weight: 800;
}

.vehicle-card h2 { font-size: 20px; }
.vehicle-card p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.vehicle-kicker { color: var(--red) !important; font-weight: 700; }
.vehicle-card > strong { font-size: 24px; white-space: nowrap; }

.down-payment-control {
  display: grid;
  grid-template-columns: 1fr minmax(160px, 2fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.down-payment-control.is-hidden {
  display: none;
}

.down-payment-control span { color: var(--muted); font-size: 12px; }
.down-payment-control strong { display: block; margin-top: 3px; font-size: 18px; }
.down-payment-control input { min-height: 0; padding: 0; accent-color: var(--red); }
.ratio-badge { padding: 6px 8px; color: var(--red) !important; background: #fff0f1; border: 1px solid #ffd2d5; border-radius: 6px; font-weight: 800; }

.compare-add-button {
  min-height: 48px;
  border: 1px solid var(--red);
  border-radius: 8px;
  color: #fff;
  background: var(--red);
  font-weight: 800;
}
.compare-add-button:hover { background: var(--red-dark); }
.compare-add-button:disabled { color: var(--muted); border-color: var(--line); background: #f1f3f2; cursor: not-allowed; }

.comparison-dock {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.comparison-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.comparison-head h2, .customer-settings h3 { font-size: 19px; }
.comparison-head > span { color: var(--red); font-weight: 800; }
.comparison-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.comparison-entry { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; }
.comparison-entry.is-showcase { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.comparison-entry.recommended { border-style: dashed; border-color: #7f9dbf; background: #f7fbff; }
.comparison-entry h3 { margin: 0 0 4px; font-size: 15px; }
.comparison-entry p { margin: 0; color: var(--muted); font-size: 13px; }
.comparison-entry strong { display: block; margin-top: 8px; color: var(--red); font-size: 22px; }
.compare-entry-actions { display: grid; align-content: space-between; justify-items: end; gap: 8px; }
.compare-entry-actions button { border: 0; color: var(--blue); background: transparent; font-weight: 700; }
.compare-entry-actions .delete { color: var(--muted); }
.empty-comparison { padding: 22px; color: var(--muted); text-align: center; border: 1px dashed var(--line-strong); border-radius: 8px; }
.customer-settings { padding-top: 14px; border-top: 1px solid var(--line); }
.customer-settings h3, .customer-settings p { margin: 0; }
.customer-settings p { margin-top: 4px; color: var(--muted); font-size: 13px; }
.field-checks { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 12px; }
.field-checks label { display: flex; align-items: center; gap: 7px; color: var(--ink); font-size: 13px; }
.field-checks input { width: 16px; min-height: 16px; accent-color: var(--red); }

.customer-dialog { width: min(760px, calc(100% - 28px)); max-height: calc(100% - 28px); padding: 0; border: 0; border-radius: 8px; box-shadow: 0 24px 80px rgba(0,0,0,.26); }
.customer-dialog::backdrop { background: rgba(20, 24, 25, .48); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 18px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { font-size: 21px; }.icon-button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 26px; line-height: 1; }
.dialog-actions { display: flex; align-items: center; gap: 8px; }
.dialog-actions .primary-button, .outline-button { min-height: 36px; padding: 0 11px; border-radius: 7px; font-size: 13px; }
.outline-button { border: 1px solid var(--line-strong); color: var(--ink); background: #fff; }
.outline-button:hover { border-color: var(--red); }
.image-save-dialog { width: min(760px, calc(100% - 28px)); max-height: calc(100% - 28px); padding: 0; border: 0; border-radius: 8px; background: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.26); }
.image-save-dialog::backdrop { background: rgba(20, 24, 25, .56); }
.image-save-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 18px; border-bottom: 1px solid var(--line); }
.image-save-head h2, .image-save-head p { margin: 0; }.image-save-head h2 { font-size: 19px; }.image-save-head p { margin-top: 5px; color: var(--muted); font-size: 13px; }
.image-save-dialog img { display: block; width: 100%; max-height: calc(100vh - 180px); object-fit: contain; background: #f4f6f8; }
.customer-preview { padding: 18px; background: #f6f7f7; }.customer-preview > p { margin: 0 0 14px; color: var(--muted); }
.customer-compare { display: grid; grid-template-columns: repeat(var(--columns), minmax(0, 1fr)); gap: 12px; }.customer-plan { padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }.customer-plan h3 { margin: 0; font-size: 16px; }.customer-monthly { margin: 12px 0; color: var(--red); font-size: 30px; font-weight: 800; }.customer-plan dl { margin: 0; }.customer-plan dl div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid #edf0ef; font-size: 13px; }.customer-plan dt { color: var(--muted); }

.control-band {
  padding: 16px;
}

.oil-layout,
.choice-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) minmax(360px, 1fr);
  gap: 18px;
  align-items: start;
}

.selector-panel,
.input-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.ev-layout,
.upgrade-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) auto minmax(360px, 1fr);
  gap: 16px;
  align-items: center;
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 12px;
}

.control-grid.compact {
  grid-template-columns: repeat(2, minmax(150px, 1fr));
}

.advanced-options {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.advanced-options summary {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.advanced-options .control-grid {
  padding: 0 12px 12px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(179, 38, 46, 0.12);
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.summary-item {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.summary-item strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.summary-item span,
.metric span,
.detail-row span {
  color: var(--muted);
  font-size: 12px;
}

.summary-item.warn {
  border-color: rgba(168, 98, 0, 0.42);
  background: #fff8ec;
}

.summary-item.good {
  border-color: rgba(46, 125, 79, 0.36);
  background: #f0faf4;
}

.results-head {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 12px;
}

.search-wrap {
  justify-content: space-between;
}

.search-wrap input {
  max-width: 360px;
}

.search-wrap select {
  max-width: 160px;
}

.switch {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.switch input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--red);
}

.chip-row {
  flex-wrap: wrap;
}

.chip {
  border-color: var(--line);
  background: #fff;
}

.insight-band {
  margin-top: 14px;
  padding: 10px 12px;
}

#oilChart {
  display: block;
  width: 100%;
  height: 120px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.result-layout {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding: 14px;
}

.plan-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(32, 36, 38, 0.06);
  min-width: 0;
}

.plan-card.featured {
  grid-template-columns: 1fr;
  padding: 18px;
}

.plan-card.featured .metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-card.available {
  border-left-color: var(--green);
}

.plan-card.blocked {
  border-left-color: var(--line-strong);
  opacity: 0.74;
}

.plan-card.warning {
  border-left-color: var(--amber);
}

.plan-title {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
}

.plan-title h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.category-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 6px;
  padding: 3px 7px;
  border-radius: 6px;
  background: #eef2f0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 6px;
  color: var(--muted);
  background: #f1f3f2;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
}

.status.ok {
  color: #fff;
  background: var(--green);
}

.status.warn {
  color: #fff;
  background: var(--amber);
}

.amount-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: end;
}

.amount-line input {
  min-height: 36px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.metric {
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.metric strong {
  display: block;
  margin-top: 3px;
  font-size: 17px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.metric.primary strong {
  color: var(--red);
  font-size: 21px;
}

.detail-grid {
  display: grid;
  gap: 5px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  border-top: 1px solid #eef1ef;
  padding-top: 5px;
}

.detail-row strong {
  text-align: right;
  overflow-wrap: anywhere;
}

.repayment-button { min-height: 40px; border: 1px solid var(--red); border-radius: 7px; color: var(--red); background: #fff; font-weight: 800; }
.repayment-button:hover { color: #fff; background: var(--red); }
.repayment-dialog { width: min(920px, calc(100% - 28px)); max-height: calc(100% - 28px); padding: 0; border: 0; border-radius: 8px; box-shadow: 0 24px 80px rgba(0,0,0,.26); }
.repayment-dialog::backdrop { background: rgba(20, 24, 25, .48); }
.repayment-content { padding: 18px; background: #f6f7f7; }.repayment-summary { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.repayment-table-wrap { overflow: auto; max-height: min(520px, calc(100vh - 220px)); background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.repayment-table-wrap table { width: 100%; min-width: 650px; border-collapse: collapse; font-size: 14px; }.repayment-table-wrap th, .repayment-table-wrap td { padding: 11px 14px; border-bottom: 1px solid #edf0ef; text-align: right; white-space: nowrap; }.repayment-table-wrap th:first-child, .repayment-table-wrap td:first-child { text-align: left; }.repayment-table-wrap th { position: sticky; top: 0; color: var(--muted); background: #f8faf9; font-size: 12px; }.repayment-table-wrap tbody tr:last-child td { border-bottom: 0; }
.light-enjoy-visual { display: grid; gap: 16px; margin-top: 14px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 24px rgba(32, 36, 38, .06); }
.light-visual-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; }.light-visual-head h3, .light-visual-head p { margin: 0; }.light-visual-head h3 { font-size: 20px; }.light-visual-head > p { color: var(--muted); font-size: 13px; }
.light-legend { display: flex; gap: 18px; color: var(--muted); font-size: 12px; }.light-legend span { display: inline-flex; align-items: center; gap: 6px; }.light-legend i { width: 9px; height: 9px; border-radius: 2px; }.legend-interest { background: #31866f; }.legend-principal { background: var(--red); }
.continuous-flow { min-width: 0; padding: 14px 12px 8px; background: #f8faf9; border: 1px solid #e5eae7; border-radius: 7px; }.continuous-bars { height: 184px; display: grid; grid-template-columns: repeat(60, minmax(0, 1fr)); gap: 1px; align-items: end; border-bottom: 1px solid #cfd7d3; }.period-bar { position: relative; height: 100%; min-width: 0; display: flex; align-items: end; justify-content: center; }.interest-bar { position: relative; z-index: 1; flex: 0 0 100%; width: 100%; min-width: 0; height: var(--interest-height); background: #69ad98; border-radius: 2px 2px 0 0; }.principal-bar { position: absolute; z-index: 2; left: 0; bottom: var(--interest-height); width: 100%; min-width: 4px; height: var(--principal-height); background: rgba(179, 38, 46, .88); border-radius: 2px 2px 0 0; }.period-bar.is-year-end .interest-bar { position: absolute; bottom: 0; }.period-bar:last-child .principal-bar { right: 0; left: 0; }.interest-value, .principal-value { position: absolute; z-index: 3; padding: 1px 3px; background: rgba(255, 255, 255, .92); border-radius: 3px; font-size: 10px; font-weight: 800; line-height: 1.35; white-space: nowrap; pointer-events: none; }.interest-value { left: 50%; bottom: calc(var(--interest-height) + 5px); color: #23745f; transform: translateX(-50%); }.principal-value { left: 50%; bottom: calc(var(--principal-height) + var(--interest-height) + 5px); color: var(--red); transform: translateX(-50%); }.period-bar:last-child .principal-value { right: 0; left: auto; transform: none; }.continuous-axis { position: relative; height: 22px; margin-top: 5px; color: #7d8783; font-size: 10px; }.continuous-axis span { position: absolute; left: var(--axis-position); transform: translateX(-50%); white-space: nowrap; }.continuous-axis .axis-1 { transform: none; }.continuous-axis .axis-60 { transform: translateX(-100%); }
.annual-cashflow { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; }.annual-row { display: grid; grid-template-columns: .7fr repeat(3, 1fr); gap: 8px; align-items: center; min-height: 42px; padding: 7px 12px; border-top: 1px solid #edf0ef; font-size: 13px; text-align: right; }.annual-row > :first-child { text-align: left; }.annual-row.annual-head { min-height: 36px; border-top: 0; color: var(--muted); background: #f6f8f7; font-size: 11px; font-weight: 700; }.annual-row span:nth-child(3) { color: var(--red); font-weight: 800; }
.light-visual-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.empty-state {
  grid-column: 1 / -1;
  padding: 36px 20px;
  text-align: center;
  color: var(--muted);
  background: #fff;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
}

.recommendation-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.recommendation-card {
  display: grid;
  gap: 4px;
  min-height: 82px;
  padding: 12px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.recommendation-card span,
.recommendation-card em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.recommendation-card strong {
  overflow-wrap: anywhere;
}

.recommendation-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 20px rgba(179, 38, 46, 0.1);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(18px);
  max-width: min(520px, calc(100% - 28px));
  padding: 11px 14px;
  color: #fff;
  background: #242829;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 50;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1180px) {
  .topbar,
  .oil-layout,
  .choice-layout,
  .ev-layout,
  .upgrade-layout {
    grid-template-columns: 1fr;
  }

  .view-tabs,
  .top-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .plan-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }
}

@media (max-width: 760px) {
  .app-shell {
    padding: 10px;
  }

  .topbar {
    top: 8px;
    padding: 10px;
  }

  .control-grid,
  .control-grid.compact,
  .summary-strip,
  .metrics,
  .plan-grid,
  .recommendation-row,
  .plan-card.featured .metrics {
    grid-template-columns: 1fr;
  }

  .search-wrap {
    align-items: stretch;
    flex-direction: column;
  }

  .search-wrap input,
  .search-wrap select {
    max-width: none;
  }

  .amount-line,
  .plan-title {
    grid-template-columns: 1fr;
  }

  .vehicle-card, .down-payment-control, .comparison-list, .customer-compare { grid-template-columns: 1fr; }
  .vehicle-card > strong { font-size: 21px; }
  .comparison-head { align-items: start; flex-direction: column; }
  .dialog-head { align-items: start; gap: 10px; }
  .dialog-actions { flex-wrap: wrap; justify-content: flex-end; }
}

.migration-banner[hidden] {
  display: none;
}

.migration-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 10px 14px;
  background: #fff7f7;
  border: 1px solid #ecc5c8;
  border-left: 4px solid var(--red);
  border-radius: 8px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.migration-banner-copy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.migration-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  flex: 0 0 auto;
}

.migration-banner-copy strong {
  color: var(--red-dark);
  font-weight: 800;
}

.migration-banner-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.migration-copy-btn {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #dfb0b3;
  border-radius: 6px;
  background: #fff;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}

.migration-copy-btn:hover {
  background: #fff0f0;
  border-color: var(--red);
}

.migration-close-btn {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
}

.migration-close-btn:hover {
  background: rgba(179, 38, 46, 0.08);
  color: var(--red-dark);
}
