/* Layout: phone-first app shell — top bar + bottom tabs on phones, side-by-side tabs on desktop.
   Cobalt is the action color; green/amber/red are reserved for membership status. */
:root {
  --bg: #EEF0F3; --surface: #FFFFFF; --surface-2: #F6F7F9; --ink: #121417; --muted: #5C6570; --line: #DCE0E6;
  --accent: #2747D8; --accent-ink: #FFFFFF; --accent-soft: #E3E8FC;
  --ok: #12804A; --ok-soft: #DDF3E7; --warn: #9A5B00; --warn-soft: #FCEBCF; --bad: #BF2F2A; --bad-soft: #FBE1DF;
  --none: #5C6570; --none-soft: #E7E9ED;
  --shadow: 0 1px 2px rgba(18,20,23,.06), 0 4px 16px rgba(18,20,23,.05);
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 12px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C0E11; --surface: #15181D; --surface-2: #1B1F25; --ink: #ECEFF3; --muted: #99A2AD; --line: #272C33;
    --accent: #6F88FF; --accent-ink: #0A0F24; --accent-soft: #1C2340;
    --ok: #46D08A; --ok-soft: #12301F; --warn: #F3B544; --warn-soft: #33260C; --bad: #FF7A70; --bad-soft: #3A1614;
    --none: #A3ABB5; --none-soft: #23272E;
    --shadow: none; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --bg: #0C0E11; --surface: #15181D; --surface-2: #1B1F25; --ink: #ECEFF3; --muted: #99A2AD; --line: #272C33;
    --accent: #6F88FF; --accent-ink: #0A0F24; --accent-soft: #1C2340;
    --ok: #46D08A; --ok-soft: #12301F; --warn: #F3B544; --warn-soft: #33260C; --bad: #FF7A70; --bad-soft: #3A1614;
    --none: #A3ABB5; --none-soft: #23272E;
    --shadow: none; color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--ink); font: 15px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
[hidden] { display: none !important; }

/* ---------- shell ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10; background: var(--surface); border-bottom: 1px solid var(--line);
  padding: calc(env(safe-area-inset-top, 0px) + 10px) 16px 10px;
}
.topbar-in { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mark { width: 32px; height: 32px; border-radius: 8px; background: var(--ink); color: var(--bg); display: grid; place-items: center;
  font-weight: 900; font-stretch: 125%; font-size: 15px; flex: none; }
.brand-name { font-weight: 800; font-stretch: 112%; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-sub { font-size: 12px; color: var(--muted); }
.tabs { display: flex; gap: 4px; margin-left: auto; }
.tab { border: 0; background: none; padding: 8px 12px; border-radius: 8px; color: var(--muted); font-weight: 600; cursor: pointer; text-decoration: none;
  display: flex; align-items: center; gap: 7px; }
.tab svg { width: 18px; height: 18px; }
.tab[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
.menu-btn { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; width: 36px; height: 36px; cursor: pointer; display: grid; place-items: center; flex: none; }
main { max-width: 1120px; margin: 0 auto; padding: 20px 16px 110px; }
@media (max-width: 760px) {
  .tabs { position: fixed; bottom: 0; left: 0; right: 0; margin: 0; background: var(--surface); border-top: 1px solid var(--line);
    padding: 6px 6px calc(env(safe-area-inset-bottom, 0px) + 6px); justify-content: space-around; z-index: 10; }
  .tab { flex-direction: column; gap: 2px; font-size: 11px; padding: 6px 4px; flex: 1; align-items: center; }
  .tab svg { width: 22px; height: 22px; }
  .topbar-in .menu-btn { margin-left: auto; }
}

/* ---------- type ---------- */
h1 { font-size: 26px; line-height: 1.15; font-weight: 800; font-stretch: 112%; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h2 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0; }
h3 { font-size: 17px; font-weight: 700; margin: 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head .sub { color: var(--muted); margin-top: 4px; }

/* ---------- surfaces ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); min-width: 0; }
.card-pad { padding: 16px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.grid { display: grid; gap: 14px; }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.stat { padding: 14px 16px; }
.stat-label { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.stat-value { font-size: 30px; font-weight: 800; font-stretch: 110%; font-variant-numeric: tabular-nums; line-height: 1.1; margin-top: 4px; }
.stat-note { font-size: 13px; color: var(--muted); }
.stat.bad .stat-value { color: var(--bad); }
.stat.warn .stat-value { color: var(--warn); }
button.stat { text-align: left; cursor: pointer; font: inherit; color: inherit; width: 100%; }
button.stat:hover { border-color: var(--accent); }

/* ---------- lists ---------- */
.list { list-style: none; margin: 0; padding: 0; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); min-width: 0; }
.row:last-child { border-bottom: 0; }
.row-main { flex: 1; min-width: 0; }
.row-title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-sub { font-size: 13px; color: var(--muted); }
a.row, button.row { color: inherit; text-decoration: none; width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; cursor: pointer; font: inherit; }
a.row:hover, button.row:hover { background: var(--surface-2); }
.row.alert { background: var(--bad-soft); }
.time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13px; width: 64px; flex: none; }
.empty { padding: 28px 16px; text-align: center; color: var(--muted); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center;
  font-weight: 700; font-size: 13px; color: var(--muted); flex: none; }

/* ---------- pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-expiring { background: var(--warn-soft); color: var(--warn); }
.pill-expired { background: var(--bad-soft); color: var(--bad); }
.pill-none, .pill-inactive { background: var(--none-soft); color: var(--none); }
.badge { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--surface);
  border-radius: 10px; padding: 10px 14px; font-weight: 600; cursor: pointer; text-decoration: none; color: var(--ink); white-space: nowrap; min-height: 42px; }
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.danger { color: var(--bad); }
.btn.ghost { border-color: transparent; background: none; }
.btn.small { padding: 6px 10px; min-height: 34px; font-size: 13px; }
.btn.wa { color: var(--ok); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.input, select.input, textarea.input { width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 10px 12px; min-height: 44px; }
textarea.input { min-height: 72px; resize: vertical; }
.input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.form { display: grid; gap: 14px; }
.form-2 { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }
.search { position: relative; flex: 1; min-width: 200px; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search .input { padding-left: 38px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; font-weight: 600; font-size: 13px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip .n { opacity: .7; margin-left: 4px; font-variant-numeric: tabular-nums; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.seg button { border: 0; background: none; padding: 9px 12px; font-weight: 600; cursor: pointer; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.stepper { display: flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; width: max-content; }
.stepper button { width: 48px; height: 48px; border: 0; background: var(--surface-2); font-size: 22px; cursor: pointer; }
.stepper input { width: 64px; height: 48px; border: 0; text-align: center; font-size: 20px; font-weight: 700; background: var(--surface); }
.summary { background: var(--surface-2); border-radius: 10px; padding: 12px 14px; display: grid; gap: 4px; }
.summary b { font-variant-numeric: tabular-nums; }

/* ---------- modal ---------- */
dialog.modal { border: 0; border-radius: 16px; padding: 0; width: min(520px, calc(100vw - 24px)); background: var(--surface); color: var(--ink); max-height: calc(100dvh - 24px); }
dialog.modal.wide { width: min(760px, calc(100vw - 24px)); }
dialog.modal::backdrop { background: rgba(8,10,14,.55); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); }
.modal-body { padding: 18px; }
.modal-foot { display: flex; gap: 8px; justify-content: flex-end; padding: 0 18px 18px; flex-wrap: wrap; }
.x { border: 0; background: none; width: 36px; height: 36px; border-radius: 8px; cursor: pointer; font-size: 22px; color: var(--muted); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: .2s;
  background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-weight: 600; z-index: 100; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast-error { background: var(--bad); color: #fff; }

/* ---------- auth ---------- */
.auth { min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.auth-card { width: min(420px, 100%); padding: 24px; }
.auth-card h1 { margin: 14px 0 4px; }
.demo-band { background: var(--warn-soft); color: var(--warn); text-align: center; padding: 8px 16px; font-weight: 600; font-size: 13px; }
.demo-band button { background: none; border: 0; color: inherit; text-decoration: underline; font-weight: 700; cursor: pointer; }

/* ---------- bars (reports) ---------- */
.bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end; gap: 3px; height: 140px; padding: 0 2px; }
.bar { background: var(--accent); border-radius: 4px 4px 0 0; min-height: 2px; position: relative; }
.bar.dim { background: var(--accent-soft); }
.bar-labels { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; font-size: 11px; color: var(--muted); text-align: center; margin-top: 6px; font-variant-numeric: tabular-nums; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.kv:last-child { border-bottom: 0; }
.kv b { font-variant-numeric: tabular-nums; }
.big-total { font-size: 34px; font-weight: 800; font-stretch: 110%; font-variant-numeric: tabular-nums; }

/* ---------- products ---------- */
.products { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.product { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.product-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.product-price { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stock { font-size: 13px; font-weight: 600; color: var(--muted); }
.stock.low { color: var(--bad); }

/* ---------- kiosk ---------- */
.kiosk { position: fixed; inset: 0; background: #0B0D10; color: #F3F5F8; display: grid; grid-template-rows: auto 1fr; overflow: auto;
  padding: env(safe-area-inset-top, 0px) 16px env(safe-area-inset-bottom, 0px); color-scheme: dark; }
.kiosk-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 8px; gap: 12px; }
.kiosk-gym { font-weight: 800; font-stretch: 115%; font-size: clamp(18px, 3vw, 26px); }
.kiosk-clock { font-variant-numeric: tabular-nums; color: #98A1AC; font-size: clamp(16px, 2.4vw, 22px); }
.kiosk-exit { background: none; border: 1px solid #2A3038; color: #98A1AC; border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: 13px; }
.kiosk-main { display: grid; place-items: center; padding-bottom: 24px; }
.kiosk-pad { width: min(440px, 100%); display: grid; gap: 18px; text-align: center; }
.kiosk-prompt { font-size: clamp(22px, 4vw, 32px); font-weight: 700; text-wrap: balance; }
.kiosk-display { font-size: clamp(34px, 7vw, 54px); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .04em; min-height: 1.3em;
  border-bottom: 3px solid #2A3038; padding-bottom: 6px; }
.kiosk-display .ph { color: #3A414B; }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.key { background: #171B21; border: 1px solid #262C34; color: #F3F5F8; border-radius: 16px; font-size: clamp(26px, 5vw, 34px); font-weight: 700;
  height: clamp(64px, 11vh, 86px); cursor: pointer; touch-action: manipulation; }
.key:active { background: #232932; }
.key.go { background: #2747D8; border-color: #2747D8; font-size: 20px; }
.key.soft { font-size: 18px; color: #98A1AC; }
.kiosk-result { position: fixed; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; z-index: 5; }
.kiosk-result.ok { background: #0E7A45; } .kiosk-result.frozen { background: #2747A8; } .kiosk-result.expiring { background: #B07000; } .kiosk-result.expired, .kiosk-result.not_found { background: #B02A25; }
.kiosk-result .icon { width: clamp(88px, 16vw, 140px); height: clamp(88px, 16vw, 140px); margin: 0 auto 18px; }
.kiosk-result h1 { font-size: clamp(36px, 7vw, 64px); color: #fff; }
.kiosk-result p { font-size: clamp(20px, 3.4vw, 30px); color: rgba(255,255,255,.92); margin: 12px 0 0; text-wrap: balance; }
@media (prefers-reduced-motion: no-preference) { .kiosk-result { animation: pop .18s ease-out; } @keyframes pop { from { opacity: 0; transform: scale(.98); } } }

.spinner { width: 22px; height: 22px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; margin: 30px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.kiosk-clock { white-space: nowrap; }
@media (max-width: 600px) { #k-full { display: none; } .kiosk-top { padding: 12px 4px; } }

/* ---------- tables (inventory) ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; padding: 10px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 11px 16px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table .r { text-align: right; }
.table .neg { color: var(--bad); font-weight: 700; }

/* ---------- engagement extras ---------- */
.kiosk-extras { display: flex; flex-direction: column; gap: 8px; align-items: center; margin-top: 22px; }
.kiosk-extras span { background: rgba(255,255,255,.16); color: #fff; border-radius: 999px; padding: 8px 18px; font-size: clamp(16px, 2.6vw, 24px); font-weight: 700; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 2px; animation: fall linear forwards; }
@keyframes fall { to { top: 110%; transform: translateX(40px) rotate(720deg); } }
.pill-frozen { background: var(--accent-soft); color: var(--accent); }
.chip-stat { display: inline-flex; flex-direction: column; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); min-width: 92px; }
.chip-stat b { font-size: 20px; font-variant-numeric: tabular-nums; }
.chip-stat span { font-size: 12px; color: var(--muted); }
.sent { opacity: .55; }
@media print {
  .topbar, .tabs, .demo-band, #toast, .no-print, .btns, .seg { display: none !important; }
  body { background: #fff; } .card { break-inside: avoid; box-shadow: none; }
}

/* ---------- routines ---------- */
.ex-list { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.ex-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; }
.ex-list li b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ex-list li small { grid-column: 1 / -1; color: var(--muted); }
.ex-edit { display: grid; gap: 8px; margin-bottom: 8px; }
.ex-row { display: grid; grid-template-columns: minmax(140px, 2.4fr) 0.7fr 0.9fr 1fr 1fr auto; gap: 6px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 12px; }
.ex-row .ex-note { grid-column: 1 / -1; }
.ex-row .ex-btns { display: flex; gap: 2px; }
@media (max-width: 640px) { .ex-row { grid-template-columns: 1fr 1fr 1fr; } .ex-row input[data-k="name"] { grid-column: 1 / -1; } .ex-row .ex-btns { grid-column: 3; justify-content: flex-end; } }
.day-box { border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: grid; gap: 8px; }
.wrap-row { flex-wrap: wrap; }

/* TV board: big, high-contrast, readable from across the gym */
.tv { height: 100vh; overflow: hidden; background: #0B0D10; color: #F2F4F7; display: flex; flex-direction: column; padding: 2vh 2.2vw; gap: 1.6vh; }
.tv-head { display: flex; align-items: center; gap: 2vw; }
.tv-title { font-size: clamp(22px, 2.6vw, 52px); font-weight: 800; cursor: default; user-select: none; }
.tv-title span { color: #8EA2FF; font-weight: 600; margin-left: .6vw; }
.tv-clock { margin-left: auto; font-size: clamp(20px, 2.2vw, 44px); font-weight: 700; font-variant-numeric: tabular-nums; color: #C9D1DB; }
.tv-grid { max-width: none; width: 100%; margin: 0; padding: 0; flex: 1; min-height: 0; display: grid; gap: 1.6vw; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; grid-auto-flow: column dense; }
.tv-grid.n1 { grid-template-rows: 1fr; }
.tv-card.tall { grid-row: span 2; }
.tv-ex.cols2 { grid-template-columns: 1fr 1fr; column-gap: 2vw; }
.tv-grid.n1 { grid-template-columns: 1fr; }
.tv-card { background: #161A20; border-radius: 22px; padding: 2.2vh 1.8vw; border-top: 8px solid #6F88FF; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.tv-card.semi { border-top-color: #3DD68C; }
.tv-name { font-size: clamp(26px, 3vw, 64px); font-weight: 900; line-height: 1.05; }
.tv-meta { font-size: clamp(16px, 1.4vw, 30px); color: #9AA6B2; font-weight: 600; margin-top: .4vh; }
.tv-ex { --fit: 1; list-style: none; margin: 1.6vh 0 0; padding: 0; display: grid; gap: calc(.9vh * var(--fit)); font-size: calc(clamp(16px, 1.55vw, 34px) * var(--fit)); }
.tv-ex li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1vw; align-items: baseline; border-bottom: 1px solid #252B33; padding-bottom: calc(.7vh * var(--fit)); }
.tv-ex .i { color: #6F88FF; font-weight: 800; min-width: 1.4em; }
.tv-card.semi .tv-ex .i { color: #3DD68C; }
.tv-ex .n small { display: block; font-size: .7em; color: #9AA6B2; }
.tv-ex b { font-variant-numeric: tabular-nums; color: #FFFFFF; text-align: right; max-width: 15ch; }
.tv-empty { grid-column: 1 / -1; display: grid; place-items: center; text-align: center; color: #9AA6B2; font-size: clamp(22px, 2.6vw, 54px); }
.tv-empty div { font-size: 2.4em; }
.tv-foot { text-align: center; color: #6B7682; font-size: clamp(14px, 1.1vw, 24px); min-height: 1.2em; }

/* ---------- ManejaTuGym plan (update 009) ---------- */
.bill-band { display: flex; align-items: center; justify-content: center; gap: 8px 14px; flex-wrap: wrap; padding: 10px 16px; font-size: 14px; text-align: center; }
.bill-band.warn { background: var(--warn-soft); color: var(--warn); }
.bill-band.bad { background: var(--bad-soft); color: var(--bad); }
.bill-band a { color: inherit; font-weight: 700; }
.plan-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.plan-name { font-size: 26px; font-weight: 800; line-height: 1.1; margin-top: 2px; }
.plan-price b { font-size: 26px; font-weight: 800; }
.plan-card .input, .plan-card .btn { width: 100%; max-width: 100%; box-sizing: border-box; }
.plan-card .btn { white-space: normal; }
.auth-card .plan-card { border: 0; box-shadow: none; padding: 0; background: none; }
