/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --text: #111827;
  --text-2: #4b5563;
  --text-3: #6b7280;
  --accent: #047857;
  --accent-hover: #065f46;
  --accent-soft: #ecfdf5;
  --accent-text: #ffffff;
  --up: #047857;
  --up-bg: #ecfdf5;
  --down: #b91c1c;
  --down-bg: #fef2f2;
  --warn: #b45309;
  --warn-bg: #fffbeb;
  --info: #1d4ed8;
  --info-bg: #eff6ff;
  --neutral-bg: #f3f4f6;
  --chart-prev: #9ca3af;
  --grid: #eef0f3;
  --lv0: #f1f3f5; --lv1: #c9ecdc; --lv2: #86d3b0; --lv3: #34a57a; --lv4: #047857;
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.06);
  --shadow-lg: 0 12px 32px rgba(16,24,40,.14);
  --radius: 12px;
  --radius-sm: 8px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0d10; --surface: #13161b; --surface-2: #181c22; --border: #242932; --border-strong: #323946;
    --text: #f3f4f6; --text-2: #c2c7d0; --text-3: #8b93a1;
    --accent: #34d399; --accent-hover: #6ee7b7; --accent-soft: rgba(52,211,153,.12); --accent-text: #052e22;
    --up: #34d399; --up-bg: rgba(52,211,153,.12); --down: #f87171; --down-bg: rgba(248,113,113,.12);
    --warn: #fbbf24; --warn-bg: rgba(251,191,36,.12); --info: #60a5fa; --info-bg: rgba(96,165,250,.12);
    --neutral-bg: #1f242c; --chart-prev: #5b6472; --grid: #1f242c;
    --lv0: #1a1f26; --lv1: #134e3a; --lv2: #0f7a56; --lv3: #22b07c; --lv4: #5eead4;
    --shadow: 0 1px 2px rgba(0,0,0,.4); --shadow-lg: 0 16px 40px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0d10; --surface: #13161b; --surface-2: #181c22; --border: #242932; --border-strong: #323946;
  --text: #f3f4f6; --text-2: #c2c7d0; --text-3: #8b93a1;
  --accent: #34d399; --accent-hover: #6ee7b7; --accent-soft: rgba(52,211,153,.12); --accent-text: #052e22;
  --up: #34d399; --up-bg: rgba(52,211,153,.12); --down: #f87171; --down-bg: rgba(248,113,113,.12);
  --warn: #fbbf24; --warn-bg: rgba(251,191,36,.12); --info: #60a5fa; --info-bg: rgba(96,165,250,.12);
  --neutral-bg: #1f242c; --chart-prev: #5b6472; --grid: #1f242c;
  --lv0: #1a1f26; --lv1: #134e3a; --lv2: #0f7a56; --lv3: #22b07c; --lv4: #5eead4;
  --shadow: 0 1px 2px rgba(0,0,0,.4); --shadow-lg: 0 16px 40px rgba(0,0,0,.5);
  color-scheme: dark;
}

/* ── Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--text);
  font: 14px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}
h1, h2, p { margin: 0; }
h1 { font-size: 22px; font-weight: 650; letter-spacing: -.01em; }
h2 { font-size: 15px; font-weight: 600; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
.muted { color: var(--text-3); }
.small { font-size: 12.5px; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px;
  border: 1px solid var(--border-strong); background: var(--surface); border-radius: var(--radius-sm);
  font-weight: 500; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--surface-2); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn .ic { width: 16px; height: 16px; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-sm { height: 30px; padding: 0 10px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; height: 40px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border: 0; background: transparent;
  border-radius: var(--radius-sm); color: var(--text-2); cursor: pointer;
}
.icon-btn:hover { background: var(--neutral-bg); color: var(--text); }
.link { color: var(--accent); text-decoration: none; font-weight: 500; font-size: 13px; }
.link:hover { text-decoration: underline; }

/* ── Shell ──────────────────────────────────────────────── */
.shell { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 20px;
  padding: 20px 12px; background: var(--surface); border-right: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px; font-weight: 650; font-size: 15px; }
.brand-mark {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px;
  background: var(--accent); color: var(--accent-text); font-weight: 700; font-size: 14px;
}
.brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav, .sidebar-foot { display: flex; flex-direction: column; gap: 2px; }
.sidebar-foot { margin-top: auto; border-top: 1px solid var(--border); padding-top: 12px; }
.nav-link {
  display: flex; align-items: center; gap: 10px; width: 100%; height: 36px; padding: 0 10px;
  border: 0; background: none; border-radius: var(--radius-sm); color: var(--text-2);
  text-decoration: none; font-weight: 500; cursor: pointer; text-align: left;
}
.nav-link:hover { background: var(--neutral-bg); color: var(--text); }
.nav-link.active { background: var(--accent-soft); color: var(--accent); }
.nav-count {
  margin-left: auto; min-width: 22px; padding: 0 7px; border-radius: 99px; font-size: 12px; text-align: center;
  background: var(--neutral-bg); color: var(--text-2); font-variant-numeric: tabular-nums;
}
.main { min-width: 0; }
.scrim { display: none; }
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 28px; background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--border);
}
.menu-btn { display: none; }
.search {
  flex: 1; max-width: 480px; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-3);
}
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); }
.search kbd {
  font: 11px/1 inherit; padding: 3px 6px; border: 1px solid var(--border); border-radius: 5px; color: var(--text-3);
}
.topbar .btn-primary { margin-left: auto; }
.view { padding: 28px; max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-head .muted { margin-top: 2px; }

/* ── Segmented / tabs ───────────────────────────────────── */
.segmented { display: inline-flex; padding: 3px; background: var(--neutral-bg); border-radius: 9px; }
.segmented button {
  height: 30px; padding: 0 14px; border: 0; background: none; border-radius: 7px; cursor: pointer;
  color: var(--text-2); font-weight: 500; font-size: 13px;
}
.segmented button.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs button {
  height: 32px; padding: 0 12px; border: 0; background: none; border-radius: 7px; cursor: pointer;
  color: var(--text-2); font-weight: 500; font-size: 13px; white-space: nowrap;
}
.tabs button:hover { background: var(--neutral-bg); }
.tabs button.active { background: var(--neutral-bg); color: var(--text); }

/* ── Cards ──────────────────────────────────────────────── */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; min-width: 0; }
.card-flush { padding: 0; overflow: hidden; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.stack { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; }
.grid-2-alt { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.grid-2-even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

/* KPIs */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.kpi-label { color: var(--text-3); font-size: 13px; font-weight: 500; }
.kpi-value { font-size: 28px; font-weight: 650; letter-spacing: -.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.kpi-delta { margin-top: 6px; font-size: 12.5px; color: var(--text-3); display: flex; align-items: center; gap: 6px; min-height: 20px; }
.pill { display: inline-flex; align-items: center; gap: 3px; padding: 1px 7px; border-radius: 99px; font-weight: 600; font-size: 12px; font-variant-numeric: tabular-nums; }
.pill-up { background: var(--up-bg); color: var(--up); }
.pill-down { background: var(--down-bg); color: var(--down); }
.pill-flat { background: var(--neutral-bg); color: var(--text-2); }

/* Chart */
.chart-wrap { position: relative; height: 300px; }
.legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--text-3); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.swatch { display: inline-block; width: 14px; height: 3px; border-radius: 2px; }
.swatch-current { background: var(--accent); }
.swatch-prev { background: repeating-linear-gradient(90deg, var(--chart-prev) 0 4px, transparent 4px 7px); }

/* Queue */
.queue { list-style: none; margin: -6px -8px; padding: 0; }
.queue button {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 8px; border: 0; background: none;
  border-radius: var(--radius-sm); cursor: pointer; text-align: left;
}
.queue button:hover { background: var(--surface-2); }
.queue button:hover .q-chev { color: var(--text); transform: translateX(2px); }
.q-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--neutral-bg); color: var(--text-2); flex: none; }
.q-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.q-text b { font-weight: 550; font-size: 13.5px; }
.q-text small { color: var(--text-3); font-size: 12.5px; }
.q-count { font-weight: 650; font-variant-numeric: tabular-nums; font-size: 15px; }
.q-count.hot { color: var(--warn); }
.q-chev { color: var(--text-3); width: 16px; height: 16px; transition: transform .15s; }
.peak { display: flex; align-items: center; gap: 14px; }
.peak-value { font-size: 20px; font-weight: 650; }

/* Calendar heatmap */
.cal-nav { display: flex; align-items: center; gap: 4px; }
.cal-month { min-width: 116px; text-align: center; font-weight: 550; font-size: 13.5px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.cal-dow { font-size: 11.5px; color: var(--text-3); text-align: center; padding-bottom: 2px; font-weight: 500; }
.cal-day {
  position: relative; aspect-ratio: 1; border-radius: 6px; background: var(--lv0);
  font-size: 11.5px; color: var(--text-2); display: flex; align-items: flex-start; justify-content: flex-end;
  padding: 4px 5px; border: 0; cursor: default; font-variant-numeric: tabular-nums;
}
.cal-day.blank { background: none; }
.cal-day.lv-3, .cal-day.lv-4 { color: #fff; }
:root[data-theme="dark"] .cal-day.lv-4 { color: #04211a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cal-day.lv-4 { color: #04211a; } }
.cal-day.today { box-shadow: inset 0 0 0 2px var(--text); }
.cal-day.future { opacity: .45; }
.cal-day.opened::after {
  content: ""; position: absolute; left: 5px; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--warn);
}
.lv, .lv-0 { background: var(--lv0); } .lv-1 { background: var(--lv1); } .lv-2 { background: var(--lv2); } .lv-3 { background: var(--lv3); } .lv-4 { background: var(--lv4); }
.cal-legend { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 14px; }
.cal-legend .lv { width: 12px; height: 12px; border-radius: 3px; }
.tip {
  position: fixed; z-index: 60; pointer-events: none; padding: 8px 10px; border-radius: 8px;
  background: var(--text); color: var(--bg); font-size: 12.5px; box-shadow: var(--shadow-lg); white-space: nowrap;
}
.tip b { display: block; font-weight: 600; }

/* Tables */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th {
  text-align: left; font-weight: 500; font-size: 12.5px; color: var(--text-3); padding: 10px 12px;
  background: var(--surface-2); border-bottom: 1px solid var(--border); white-space: nowrap;
}
.table td { padding: 12px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: var(--surface-2); }
.table th.num, .table td.num { text-align: right; }
.table-compact th { background: none; padding: 0 8px 8px; }
.table-compact td { padding: 10px 8px; }
.card .table-compact { margin: 0 -8px; width: calc(100% + 16px); }
.cell-main { font-weight: 550; }
.cell-sub { color: var(--text-3); font-size: 12.5px; }
.empty { padding: 40px 16px; text-align: center; color: var(--text-3); }
.empty b { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 99px;
  font-size: 12px; font-weight: 550; background: var(--neutral-bg); color: var(--text-2);
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .85; }
.b-paid, .b-fulfilled { background: var(--up-bg); color: var(--up); }
.b-pending, .b-unfulfilled { background: var(--warn-bg); color: var(--warn); }
.b-refunded, .b-cancelled { background: var(--down-bg); color: var(--down); }
.b-manual { background: var(--info-bg); color: var(--info); }
.b-manual::before { display: none; }

.toolbar { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--border); }
.pager div { display: flex; gap: 8px; }

/* Row menu */
.menu {
  position: fixed; z-index: 50; min-width: 180px; padding: 6px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-lg);
}
.menu button {
  display: block; width: 100%; text-align: left; padding: 8px 10px; border: 0; background: none;
  border-radius: 6px; cursor: pointer; font-size: 13.5px;
}
.menu button:hover { background: var(--neutral-bg); }
.menu button.danger { color: var(--down); }
.menu hr { border: 0; border-top: 1px solid var(--border); margin: 4px 0; }

/* Dialog + forms */
.dialog {
  width: min(460px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--border); border-radius: 14px;
  background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg);
}
.dialog::backdrop { background: rgba(10,12,16,.45); }
.dialog form { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; }
.dialog-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; flex: 1; }
.field em { font-style: normal; color: var(--text-3); font-weight: 400; }
.field input, .field select {
  height: 38px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--surface); outline: 0; font-weight: 400;
}
.field select { padding-right: 8px; }
.field input:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field-row { display: flex; gap: 12px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--accent); }
.form-error { color: var(--down); font-size: 13px; min-height: 0; }
.form-error:empty { display: none; }

/* Login */
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login-card {
  width: min(380px, 100%); display: flex; flex-direction: column; gap: 14px; padding: 32px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow);
}
.brand-lg { padding: 0; margin-bottom: 8px; }
.login-card h1 { font-size: 20px; }

/* Toasts */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; flex-direction: column; gap: 8px; }
.toast {
  padding: 10px 14px; border-radius: 10px; background: var(--text); color: var(--bg); font-size: 13.5px;
  box-shadow: var(--shadow-lg); animation: toast-in .2s ease-out;
}
.toast.err { background: var(--down); color: #fff; }
@keyframes toast-in { from { opacity: 0; transform: translateY(6px); } }

/* Loading shimmer */
.loading .kpi-value, .loading .peak-value { color: transparent; background: var(--neutral-bg); border-radius: 6px; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2, .grid-2-alt, .grid-2-even { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed; inset: 0 auto 0 0; z-index: 40; width: 260px; transform: translateX(-100%);
    transition: transform .2s ease; box-shadow: var(--shadow-lg);
  }
  .sidebar.open { transform: none; }
  .scrim { position: fixed; inset: 0; z-index: 30; background: rgba(0,0,0,.35); }
  .scrim.show { display: block; }
  .menu-btn { display: inline-grid; }
  .topbar { padding: 0 16px; }
  .view { padding: 20px 16px; }
  .search kbd { display: none; }
}
@media (max-width: 560px) {
  .kpis { gap: 10px; }
  .kpi { padding: 14px; }
  .kpi-value { font-size: 22px; }
  .topbar .btn-primary span { display: none; }
  .topbar .btn-primary { padding: 0 10px; }
  .segmented { width: 100%; }
  .segmented button { flex: 1; padding: 0 6px; }
  .legend { display: none; }
  .chart-wrap { height: 240px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Small-screen polish */
.pill { white-space: nowrap; }
.kpi-delta { flex-wrap: wrap; row-gap: 2px; }
.cal-month { white-space: nowrap; }
@media (max-width: 560px) {
  .kpi-delta span:not(.pill) { display: none; }
  .card-head { flex-wrap: wrap; }
  .cal-month { min-width: 0; }
}

/* Sidebar credit + live demo dot */
.sidebar-credit { display: flex; align-items: center; gap: 8px; padding: 10px 10px 0; font-size: 11.5px; color: var(--text-3); }
.sidebar-credit a { color: inherit; text-decoration: none; }
.sidebar-credit a:hover { color: var(--text); text-decoration: underline; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 0 0 var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 70% { box-shadow: 0 0 0 6px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.nav-link.on { color: var(--accent); }

/* Sales by business bars */
.bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; font-size: 13.5px; }
.bar-name { font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-val { font-variant-numeric: tabular-nums; font-weight: 550; }
.bar-val small { color: var(--text-3); font-weight: 400; margin-left: 6px; }
.bar-track { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: var(--neutral-bg); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 99px; background: var(--accent); transition: width .4s ease; }

/* Live sale toast */
.toast-sale { display: flex; gap: 10px; align-items: flex-start; background: var(--surface); color: var(--text); border: 1px solid var(--border); max-width: 340px; }
.toast-sale .q-ic { width: 32px; height: 32px; background: var(--accent-soft); color: var(--accent); }
.toast-sale b { display: block; font-weight: 600; }
.toast-sale small { color: var(--text-3); font-size: 12.5px; }
.row-new td { animation: row-flash 2.5s ease-out; }
@keyframes row-flash { from { background: var(--accent-soft); } }

.boom-btn.on { background: var(--warn-bg); color: var(--warn); font-variant-numeric: tabular-nums; }
.boom-btn.on .ic { animation: boom-shake .6s ease-in-out infinite; }
@keyframes boom-shake { 0%,100% { transform: translate(0,0) rotate(0); } 25% { transform: translate(1px,-1px) rotate(-6deg); } 75% { transform: translate(-1px,1px) rotate(6deg); } }
.codebox { position: relative; background: var(--neutral-bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 44px 12px 12px; }
.codebox code { display: block; font: 12.5px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-all; }
.codebox .icon-btn { position: absolute; top: 6px; right: 6px; }
.steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }