:root {
  --bg: #0b1220;
  --bg-2: #101a2e;
  --surface: #162238;
  --surface-2: #1c2c48;
  --line: #2a3d5c;
  --text: #eaf0fa;
  --muted: #8ea0bd;
  --accent: #20b9ae;
  --accent-2: #006fd6;
  --cash: #22c55e;
  --hold: #c45c6a;
  --multi: #3b82f6;
  --warn: #f59e0b;
  --danger: #ef4444;
  --radius: 14px;
  --header: 54px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font-family: inherit; }
button, a.btn, a.tab, a.nav-link { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.login-page {
  min-height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(32, 185, 174, 0.28), transparent 50%),
    radial-gradient(900px 500px at 110% 10%, rgba(0, 111, 214, 0.35), transparent 50%),
    var(--bg);
  padding: 24px;
}
.login-card {
  width: min(420px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, #20b9ae, #006fd6);
  display: grid; place-items: center; font-weight: 800; letter-spacing: -0.04em;
}
.brand h1 { margin: 0; font-size: 28px; letter-spacing: -0.03em; }
.muted { color: var(--muted); }
.login-card p.lead { color: var(--muted); margin: 0 0 24px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.field input, .field select, .field textarea, .input, .select {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 15px;
  outline: none;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus, .input:focus, .select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(32, 185, 174, 0.18);
}

.btn, a.btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  user-select: none;
  text-decoration: none;
  color: inherit;
  transition: transform 0.08s ease, filter 0.15s ease, opacity 0.15s ease;
}
.btn:active, a.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: linear-gradient(90deg, #20b9ae, #006fd6); color: white; }
.login-card .btn-primary { width: 100%; padding: 13px; font-size: 15px; }
.btn-cash { background: var(--cash); color: #04210e; }
.btn-hold { background: var(--hold); color: white; }
.btn-multi { background: var(--multi); color: white; }
.btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.btn-danger { background: #3a1a22; color: #fda4af; }
.btn-sm { min-height: 34px; padding: 7px 10px; font-size: 12px; }
.btn-row {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: nowrap;
}
.btn-row form { display: inline-flex; margin: 0; }
.toolbar form { display: flex; gap: 8px; align-items: center; }
.hint { font-size: 12px; color: var(--muted); margin-top: 16px; text-align: center; }
.error, .ok {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: 8px; margin-bottom: 12px; font-size: 13px;
}
.error { background: #3a1a22; color: #fda4af; }
.ok { background: #10301c; color: #86efac; }

.shell { height: 100%; display: grid; grid-template-columns: 220px 1fr; }
.sidebar {
  background: linear-gradient(180deg, #102033, #0c1220);
  border-right: 1px solid var(--line);
  padding: 24px 12px 16px;
  display: flex; flex-direction: column;
  min-height: 0;
}
.side-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.side-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 0 10px 18px; font-weight: 800; font-size: 20px; letter-spacing: -0.03em;
}
.nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  color: var(--muted); font-weight: 600; margin-bottom: 4px;
  flex-shrink: 0;
}
.nav-ico { flex: 0 0 auto; width: 1.2em; text-align: center; }
.nav-link.active, .nav-link:hover { background: var(--surface-2); color: var(--text); }
.nav-link.pos {
  display: flex;
  flex: 0 0 auto;
  min-height: 42px;
  min-width: 0;
  grid-template-columns: none;
  background: linear-gradient(90deg, rgba(32,185,174,0.18), rgba(0,111,214,0.18));
  color: var(--text);
  margin: 8px 0 14px;
}
.nav-foot { flex-shrink: 0; padding: 10px; color: var(--muted); font-size: 12px; }

.main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.topbar {
  height: var(--header);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #20b9ae, #006fd6);
  color: white;
}
.topbar h2 { margin: 0; font-size: 16px; font-weight: 700; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.topbar .btn-ghost {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.28);
  color: white;
}
.user-pill {
  background: rgba(255,255,255,0.16); border-radius: 999px;
  padding: 6px 12px; font-size: 13px; font-weight: 600;
}
.content { flex: 1; overflow: auto; padding: 20px; min-height: 0; }
.content.flush { padding: 0; overflow: hidden; display: flex; flex-direction: column; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.kpis.wrap { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.kpi {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px;
  display: flex; gap: 12px; align-items: center;
}
.kpi-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; color: white; font-weight: 800;
}
.kpi h3 { margin: 0; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.kpi strong { font-size: 22px; }

.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px;
}
.panel h3 { margin: 0 0 12px; font-size: 15px; }
.grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }

table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; color: var(--muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
td { padding: 10px; border-bottom: 1px solid rgba(42,61,92,0.5); }
tr:hover td { background: rgba(255,255,255,0.02); }
tr.dim td { opacity: 0.55; }

.toolbar { display: flex; gap: 10px; margin-bottom: 14px; align-items: center; flex-wrap: wrap; }
.toolbar .input { max-width: 280px; }
.grow { flex: 1; }

.pos-screen {
  flex: 1; min-height: 0;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}
.pos-left, .pos-right {
  min-height: 0; display: flex; flex-direction: column; padding: 12px; gap: 10px;
}
.pos-right { border-left: 1px solid var(--line); background: var(--bg-2); }
.pos-tools {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: stretch;
}
.pos-tools .select, .pos-tools .input {
  width: 100%; min-width: 0; height: 48px; font-size: 15px; padding: 0 14px;
}
.row { display: flex; gap: 8px; align-items: center; }
.cart-wrap {
  flex: 1; overflow: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.cart-table td { padding: 8px 10px; }
.qty-ctrl { display: flex; align-items: center; gap: 6px; }
.qty-ctrl button {
  width: 28px; height: 28px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text);
}
.price-edit {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 0 8px;
}
.price-edit span { color: var(--muted); font-size: 13px; }
.price-edit input {
  width: 72px; border: 0; background: transparent; color: var(--text);
  font-size: 14px; font-weight: 700; padding: 6px 0; outline: none;
}
.totals { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.tot-line { display: flex; justify-content: space-between; margin-bottom: 6px; color: var(--muted); }
.tot-grand { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; }
.tot-grand span { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.tot-grand strong { font-size: 28px; color: #7ee7de; }
.pay-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pay-row .btn { padding: 14px 8px; font-size: 15px; min-height: 52px; width: 100%; }

.product-grid {
  flex: 1; overflow: auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px; align-content: start;
}
.product-tile {
  appearance: none; border: 1px solid var(--line); background: #081018;
  color: var(--text); border-radius: 14px; padding: 0; text-align: left;
  height: 228px; overflow: hidden; display: block; position: relative; cursor: pointer;
}
.product-tile.sold-out { opacity: 0.45; cursor: not-allowed; }
.product-tile:hover:not(.sold-out) { border-color: var(--accent); transform: translateY(-1px); }
.tile-photo-img {
  position: absolute; left: 50%; top: 6px; transform: translateX(-50%);
  max-width: calc(100% - 12px); max-height: calc(100% - 58px);
  object-fit: contain; pointer-events: none;
}
.tile-letter {
  position: absolute; inset: 0 0 52px;
  display: grid; place-items: center;
  font-size: 44px; font-weight: 800; color: white;
}
.tile-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 8px 10px 10px;
  background: linear-gradient(transparent, rgba(8, 16, 28, 0.96) 36%);
}
.product-tile .name {
  font-size: 12px; font-weight: 700; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.product-tile .price { margin-top: 4px; color: #7ee7de; font-size: 13px; font-weight: 800; }
.stock-badge {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  background: rgba(0,0,0,0.62); font-size: 11px; padding: 3px 7px; border-radius: 999px;
}
.fav-star {
  position: absolute; top: 8px; left: 8px; z-index: 3;
  width: 32px; height: 32px; padding: 0;
  border: 0; border-radius: 999px;
  background: rgba(0,0,0,0.62); color: #cbd5e1;
  font-size: 18px; line-height: 1; cursor: pointer;
}
.fav-star.on, .product-tile.is-fav .fav-star { color: #f5c451; }
.fav-star:hover { color: #f5c451; transform: scale(1.08); }

.modal-back {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  display: grid; place-items: center; z-index: 50; padding: 16px;
}
.modal-back[hidden] { display: none; }
.modal {
  width: min(520px, 100%);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 18px; box-shadow: var(--shadow);
}
.modal h3 { margin: 0 0 12px; }
.pay-due {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 4px 0 16px;
  padding: 14px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.pay-due span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.pay-due strong {
  font-size: clamp(42px, 8vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
}
.tenders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0; }
.tenders button {
  height: 42px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text); font-weight: 700; cursor: pointer;
}
.numpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0; }
.numpad button {
  height: 52px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text); font-size: 20px; font-weight: 700; cursor: pointer;
}
.change { font-size: 22px; font-weight: 800; text-align: center; margin: 8px 0; color: var(--cash); }

.badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.badge-paid { background: #10301c; color: #86efac; }
.badge-partial { background: #3a2a12; color: #fde68a; }
.tabs { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.tab, a.tab {
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--muted); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 13px;
  min-height: 36px; display: inline-flex; align-items: center;
}
.tab.on { background: var(--accent); border-color: var(--accent); color: #042624; }
.reports .toolbar .input { max-width: 170px; }
.receipt-toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 0 0 14px; }
.receipt-toggle { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 500; }
.receipt-preview {
  margin: 0; background: #f6edd8; color: #1a1a1a;
  font-family: ui-monospace, Menlo, Monaco, "Courier New", monospace;
  font-size: 12px; line-height: 1.35; white-space: pre-wrap;
  padding: 20px 16px 32px; border-radius: 2px 2px 8px 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28); min-height: 160px; overflow-x: auto;
}
.field textarea { min-height: 96px; resize: vertical; }
.perm-group { margin-top: 12px; }
.perm-group h4 { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.perm-group label { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; font-size: 14px; }
.thumb {
  width: 36px; height: 36px; border-radius: 8px; object-fit: contain;
  display: inline-grid; place-items: center; background: var(--surface-2);
}
.thumb.lg { width: 120px; height: 120px; }
.thumb.letter { color: white; font-weight: 800; }
.color-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: middle; margin-right: 6px; }
.photo-picker { display: flex; gap: 12px; align-items: center; }
.bars { display: flex; align-items: flex-end; gap: 8px; min-height: 150px; padding-top: 8px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bar { width: 100%; max-width: 28px; background: linear-gradient(180deg, #20b9ae, #006fd6); border-radius: 6px 6px 2px 2px; }
.bar-col span { font-size: 10px; color: var(--muted); }
.hold-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.table-wrap { overflow-x: auto; }
.empty { color: var(--muted); padding: 16px 10px; }
.pnl strong { color: var(--text); font-size: 16px; }
.tax-form {
  max-width: 860px;
  background: #f4efe4;
  color: #1a1a1a;
  border: 2px solid #c4b79a;
  border-radius: 6px;
  padding: 22px 24px 28px;
}
.tax-banner { display: flex; justify-content: space-between; gap: 20px; border-bottom: 3px double #1a1a1a; padding-bottom: 12px; margin-bottom: 14px; }
.tax-banner h3 { margin: 2px 0 4px; font-size: 22px; letter-spacing: -0.02em; color: #1a1a1a; }
.tax-banner p { margin: 0; color: #4a4336; font-size: 13px; }
.tax-id { font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; color: #6b2a1f; }
.tax-meta { text-align: right; font-size: 13px; }
.tax-meta span { display: block; color: #6b6458; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; }
.tax-meta strong { color: #1a1a1a; }
.tax-who { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid #c4b79a; }
.tax-who span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: #6b6458; }
.tax-who strong { color: #1a1a1a; font-size: 14px; }
.tax-form h4 {
  margin: 18px 0 8px;
  padding: 6px 8px;
  background: #1a1a1a;
  color: #f4efe4;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tax-line {
  display: grid;
  grid-template-columns: 36px 1fr 140px;
  gap: 8px;
  align-items: baseline;
  padding: 6px 8px;
  border-bottom: 1px dotted #c4b79a;
  font-size: 14px;
}
.tax-num { font-weight: 800; color: #6b2a1f; }
.tax-amt { text-align: right; font-variant-numeric: tabular-nums; font-family: ui-monospace, Menlo, Monaco, monospace; }
.tax-sub { background: rgba(0, 0, 0, 0.04); font-weight: 600; }
.tax-total { background: #e8dfcc; font-weight: 800; border-bottom: 2px solid #1a1a1a; }
.tax-net { background: #d7ead4; font-weight: 800; border: 2px solid #1a1a1a; margin-top: 4px; }
.tax-net.loss { background: #f3d6d2; }
.tax-note { margin: 10px 8px 0; font-size: 12px; color: #6b6458; }
.preset-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.link-row { color: #7ee7de; font-weight: 700; }

.mobile-nav { display: none; }

@media (max-width: 980px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .kpis, .grid-2, .pos-screen, .mkt-features, .plan-grid, .bulk-box, .tax-who { grid-template-columns: 1fr; }
  .tax-banner, .tax-meta { display: block; text-align: left; }
  .pos-screen { grid-template-rows: 1fr 1fr; }
  .pos-right { border-left: 0; border-top: 1px solid var(--line); }
  .pay-row { grid-template-columns: 1fr 1fr; }
  .mobile-nav {
    display: grid; grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid var(--line); background: var(--surface);
    padding: 6px 4px calc(8px + env(safe-area-inset-bottom));
  }
  .mobile-nav a {
    display: flex; flex-direction: column; align-items: center;
    color: var(--muted); font-size: 10px; font-weight: 700; padding: 6px 0;
  }
  .mobile-nav a.on { color: var(--accent); }
}

.plan-pill {
  display: inline-block;
  margin: 6px 0 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(32, 185, 174, 0.16);
  color: #7ee7de;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.bulk-box {
  display: grid;
  grid-template-columns: 1fr minmax(180px, 260px) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 14px;
}
.bulk-box h3 { margin: 0 0 6px; }
.bulk-box .muted { margin: 0; font-size: 13px; }
.upgrade-panel { text-align: center; padding: 36px 24px; }
.upgrade-panel h3 { margin-top: 0; }
.file-link { margin: 6px 0 0; font-size: 13px; }
.file-link a { color: #7ee7de; font-weight: 700; }
.expense-form h3 { margin-top: 0; }

.market { background: var(--bg); color: var(--text); }
.mkt-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 28px; max-width: 1100px; margin: 0 auto;
}
.mkt-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.mkt-links { display: flex; align-items: center; gap: 16px; color: var(--muted); font-weight: 600; }
.mkt-hero, .mkt-pricing, .mkt-features { max-width: 1100px; margin: 0 auto; padding: 28px; }
.mkt-hero { padding-top: 48px; padding-bottom: 20px; }
.mkt-kicker { color: var(--accent); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }
.mkt-hero h1 { font-size: clamp(32px, 6vw, 56px); line-height: 1.05; letter-spacing: -0.04em; margin: 8px 0 16px; }
.mkt-lead { color: var(--muted); font-size: 18px; max-width: 640px; }
.mkt-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.mkt-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mkt-features article, .plan-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}
.mkt-features h3, .plan-card h3 { margin: 0 0 8px; }
.mkt-features p, .plan-tag { color: var(--muted); margin: 0; }
.mkt-pricing h2 { font-size: 32px; letter-spacing: -0.03em; margin: 0 0 8px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.plan-card { position: relative; display: flex; flex-direction: column; gap: 10px; }
.plan-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan-flag {
  position: absolute; top: 12px; right: 12px;
  background: var(--accent); color: #042422; font-size: 11px; font-weight: 800;
  padding: 3px 8px; border-radius: 999px;
}
.plan-price { margin: 4px 0 0; }
.plan-price strong { font-size: 32px; letter-spacing: -0.03em; }
.plan-price span { color: var(--muted); }
.plan-card ul { margin: 0 0 8px; padding-left: 18px; color: var(--text); }
.plan-card li { margin: 6px 0; }
.plan-card .btn { width: 100%; justify-content: center; margin-top: auto; }
.mkt-foot {
  max-width: 1100px; margin: 20px auto 40px; padding: 0 28px;
  display: flex; gap: 16px; color: var(--muted);
}
.signup-card { width: min(520px, 100%); }
.plan-pick { display: grid; gap: 8px; }
.plan-option {
  display: flex; justify-content: space-between; align-items: center;
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer;
}
.plan-option.on { border-color: var(--accent); background: rgba(32, 185, 174, 0.1); }
.plan-option input { margin-right: 8px; }
.login-card a { color: #7ee7de; }
.saved-card { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.card-face {
  display: flex; flex-direction: column; gap: 4px;
  min-width: 220px; padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1c2a44, #0e1626);
  border: 1px solid var(--line);
}
.card-face strong { font-size: 20px; letter-spacing: 0.08em; }
.card-brand { font-size: 12px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.card-element {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #121a2b;
}

@media print {
  .sidebar, .topbar, .toolbar, .tabs, .mobile-nav { display: none !important; }
  .shell { display: block; background: white; }
  .content { overflow: visible; padding: 0; }
  body { background: white; color: #111; }
  .tax-form { max-width: none; border-color: #111; box-shadow: none; }
}
