/* CYBEX HMS design system. Property portal = light slate/indigo. Platform control centre = dark theme. */
:root {
  --bg: #F8FAFC; --surface: #FFFFFF; --border: #E2E8F0; --text: #0F172A; --muted: #64748B;
  --brand: #4F46E5; --brand-hover: #4338CA; --danger: #E11D48; --ok: #10B981; --warn: #F59E0B;
  --s-occupied: #10B981; --s-clean: #0284C7; --s-dirty: #F59E0B; --s-ooo: #E11D48; --s-reserved: #8B5CF6; --s-dueout: #F97316;
  --font: Inter, "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
body.admin {
  --bg: #0B0F19; --surface: #111827; --border: #1F2937; --text: #E5E7EB; --muted: #9CA3AF;
  --brand: #6366F1; --brand-hover: #818CF8; --saas: #3B82F6; --gaas: #EC4899; --metric: #10B981;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.45; }
h1 { font-size: 22px; margin: 0 0 4px; } h2 { font-size: 16px; margin: 0 0 12px; } h3 { font-size: 14px; margin: 0 0 8px; }
a { color: var(--brand); } .muted { color: var(--muted); } .right { text-align: right; } .nowrap { white-space: nowrap; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.btn { background: var(--brand); color: #fff; border: 0; border-radius: 8px; padding: 8px 14px; font-weight: 600; }
.btn:hover { background: var(--brand-hover); } .btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn.ghost:hover { background: rgba(127,127,127,.12); }
.btn.danger { background: var(--danger); } .btn.sm { padding: 4px 9px; font-size: 12px; border-radius: 6px; }
input, select, textarea { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; width: 100%; }
label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin: 10px 0 4px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; } .row > * { flex: 1 1 140px; }
.row.tight > * { flex: 0 0 auto; }

/* layout */
#app { min-height: 100%; display: flex; }
.sidebar { width: 232px; background: var(--surface); border-right: 1px solid var(--border); padding: 16px 10px; flex: none; display: flex; flex-direction: column; gap: 2px; }
.brand { font-weight: 800; font-size: 16px; padding: 4px 10px 14px; letter-spacing: .2px; } .brand small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
.nav-group { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 12px 10px 4px; }
.nav a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--text); text-decoration: none; }
.nav a:hover { background: rgba(127,127,127,.12); } .nav a.active { background: var(--brand); color: #fff; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: 12px; padding: 10px 20px; border-bottom: 1px solid var(--border); background: var(--surface); flex-wrap: wrap; }
.topbar .grow { flex: 1; min-width: 160px; position: relative; }
.content { padding: 20px; max-width: 1400px; width: 100%; }
.menu-btn { display: none; }
.banner { background: var(--warn); color: #111; padding: 8px 20px; display: flex; gap: 12px; align-items: center; justify-content: space-between; font-weight: 600; }

/* surfaces */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-bottom: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; border-left: 4px solid var(--brand); }
.kpi .label { color: var(--muted); font-size: 12px; } .kpi .value { font-size: 24px; font-weight: 700; margin-top: 2px; } .kpi .sub { font-size: 12px; color: var(--muted); }
.kpi.saas { border-left-color: var(--saas, var(--brand)); } .kpi.gaas { border-left-color: var(--gaas, var(--brand)); } .kpi.metric { border-left-color: var(--metric, var(--ok)); }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; } th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
th { font-size: 12px; color: var(--muted); font-weight: 600; background: rgba(127,127,127,.06); white-space: nowrap; }
tr:last-child td { border-bottom: 0; } tbody tr.click { cursor: pointer; } tbody tr.click:hover { background: rgba(127,127,127,.08); }
.chip { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(127,127,127,.18); }
.chip.active, .chip.paid, .chip.connected, .chip.delivered, .chip.checked_in, .chip.vacant_clean { background: rgba(16,185,129,.18); color: #059669; }
.chip.trial, .chip.sent, .chip.draft, .chip.reserved, .chip.pending { background: rgba(139,92,246,.18); color: #7C3AED; }
.chip.past_due, .chip.overdue, .chip.failed, .chip.vacant_dirty, .chip.in_progress, .chip.retrying { background: rgba(245,158,11,.2); color: #B45309; }
.chip.suspended, .chip.churned, .chip.void, .chip.out_of_order, .chip.cancelled, .chip.no_show, .chip.error, .chip.maintenance { background: rgba(225,29,72,.16); color: #E11D48; }
.chip.occupied { background: rgba(16,185,129,.18); color: #059669; }
.chip.filter { cursor: pointer; border: 1px solid var(--border); background: transparent; } .chip.filter.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; align-items: center; }
.empty { padding: 28px; text-align: center; color: var(--muted); }
.error { color: var(--danger); font-size: 13px; margin-top: 8px; } .okmsg { color: var(--ok); font-size: 13px; margin-top: 8px; }
.toolbar input:not([type=search]), .toolbar select { width: auto; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; } .toolbar .grow { flex: 1; }

/* modal */
.modal-back { position: fixed; inset: 0; background: rgba(2,6,23,.6); display: flex; align-items: flex-start; justify-content: center; padding: 4vh 12px; overflow-y: auto; z-index: 50; }
.modal { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; width: 100%; max-width: 640px; padding: 20px; }
.modal.wide { max-width: 860px; } .modal h2 { font-size: 18px; } .modal .actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; flex-wrap: wrap; }
.toggle { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-weight: 500; color: var(--text); font-size: 14px; } .toggle input { width: auto; }
.secret { font-family: ui-monospace, Menlo, Consolas, monospace; background: rgba(127,127,127,.15); padding: 8px 10px; border-radius: 8px; word-break: break-all; }

/* search dropdown */
.dropdown { position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; margin-top: 4px; z-index: 40; max-height: 320px; overflow-y: auto; }
.dropdown a { display: block; padding: 8px 12px; color: var(--text); text-decoration: none; cursor: pointer; } .dropdown a:hover { background: rgba(127,127,127,.12); }
.health { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; } .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); display: inline-block; }
.dot.ok { background: var(--ok); } .dot.bad { background: var(--danger); }

/* charts */
.bars { display: flex; flex-direction: column; gap: 8px; } .bar-row { display: grid; grid-template-columns: 56px 1fr minmax(180px, 300px); gap: 10px; align-items: center; font-size: 13px; }
.bar { height: 14px; background: var(--brand); border-radius: 4px; min-width: 2px; }
.spark { width: 100%; height: 140px; display: block; } .spark rect { fill: var(--brand); }

/* tape chart */
.tape-wrap { overflow: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); max-height: 70vh; }
table.tape { border-collapse: separate; border-spacing: 0; table-layout: fixed; } table.tape th, table.tape td { padding: 0; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); height: 38px; }
table.tape th { height: 34px; text-align: center; font-size: 11px; position: sticky; top: 0; z-index: 2; background: var(--surface); }
table.tape th.today { color: var(--brand); } table.tape .roomcell { position: sticky; left: 0; z-index: 3; background: var(--surface); width: 210px; min-width: 210px; padding: 0 10px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
table.tape td.day { width: 74px; min-width: 74px; } table.tape td.day.over { background: rgba(79,70,229,.14); } table.tape td.day.today { background: rgba(79,70,229,.06); }
.stay { height: 30px; margin: 3px 2px; border-radius: 7px; color: #fff; font-size: 12px; font-weight: 600; padding: 6px 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: grab; }
.stay.reserved { background: var(--s-reserved); } .stay.checked_in { background: var(--s-occupied); } .stay.dueout { background: var(--s-dueout); } .stay.checked_out { background: #94A3B8; cursor: pointer; }
.sdot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin: 8px 0 12px; }
.unassigned { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; } .unassigned .stay { margin: 0; display: inline-block; }

/* housekeeping + room grid */
.rooms { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.room { background: var(--surface); border: 1px solid var(--border); border-top: 5px solid var(--s-clean); border-radius: 12px; padding: 12px; }
.room.occupied { border-top-color: var(--s-occupied); } .room.vacant_dirty { border-top-color: var(--s-dirty); } .room.out_of_order { border-top-color: var(--s-ooo); } .room.vacant_clean { border-top-color: var(--s-clean); }
.room .num { font-size: 20px; font-weight: 800; } .room .acts { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; } .room .acts .btn { text-align: center; }

.login { margin: 8vh auto; max-width: 380px; padding: 0 16px; width: 100%; } .login .card { padding: 24px; }
.flags li { margin: 4px 0; }

@media (max-width: 860px) {
  #app { display: block; } .menu-btn { display: inline-block; }
  .sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; transform: translateX(-100%); transition: transform .2s; width: 260px; }
  .sidebar.open { transform: none; box-shadow: 0 0 0 100vmax rgba(2,6,23,.55); }
  .content { padding: 14px; } .bar-row { grid-template-columns: 44px 1fr 90px; }
}
@media print { .sidebar, .topbar, .btn, .filters, .toolbar { display: none !important; } body { background: #fff; color: #000; } }

/* ================= v2: modern look ================= */
:root {
  --bg: #F4F6FB; --border: #E4E8F1; --shadow: 0 1px 2px rgba(15,23,42,.05), 0 8px 24px -12px rgba(15,23,42,.14);
  --grad: linear-gradient(135deg, #6366F1 0%, #7C3AED 55%, #06B6D4 140%);
  --side: linear-gradient(180deg, #14123B 0%, #1B1750 55%, #0F1330 100%);
  --font: "Inter", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
body { background: radial-gradient(1200px 500px at 90% -10%, rgba(99,102,241,.10), transparent 60%), var(--bg); -webkit-font-smoothing: antialiased; }
body.admin { background: radial-gradient(1000px 500px at 85% -10%, rgba(99,102,241,.18), transparent 60%), var(--bg); }
h1 { font-size: 26px; letter-spacing: -.02em; font-weight: 800; }
.btn { background: var(--grad); box-shadow: 0 6px 16px -8px rgba(99,102,241,.8); transition: transform .12s, box-shadow .12s, filter .12s; }
.btn:hover { background: var(--grad); filter: brightness(1.07); transform: translateY(-1px); }
.btn.ghost { background: transparent; box-shadow: none; filter: none; } .btn.ghost:hover { transform: none; }
.btn.danger { background: var(--danger); } .btn.big { width: 100%; padding: 12px 16px; font-size: 15px; margin-top: 14px; border-radius: 10px; }
input, select, textarea { border-radius: 10px; padding: 10px 12px; transition: border-color .12s, box-shadow .12s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(99,102,241,.2); }
input[type=checkbox] { width: auto; }

/* sidebar */
.sidebar { background: var(--side); border-right: 0; color: #E8EAFE; width: 248px; padding: 18px 12px; }
body.admin .sidebar { background: linear-gradient(180deg, #0B0F19, #101636); border-right: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; color: #fff; font-size: 15px; line-height: 1.2; }
.brand small { color: #A5ABEA; font-weight: 500; margin-top: 2px; } .brand .mark { flex: none; border-radius: 10px; box-shadow: 0 6px 16px -6px rgba(0,0,0,.6); }
.nav-group { color: #8D93D6; }
.nav a { color: #D6D9FA; padding: 9px 12px; border-radius: 10px; font-weight: 500; transition: background .12s; }
.nav a:hover { background: rgba(255,255,255,.08); } .nav a.active { background: var(--grad); color: #fff; box-shadow: 0 8px 18px -10px rgba(99,102,241,.9); }
.sidebar .muted { color: #A5ABEA; } .sidebar .btn.ghost { color: #E8EAFE; border-color: rgba(255,255,255,.22); }
.topbar { background: rgba(255,255,255,.8); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 20; }
body.admin .topbar { background: rgba(17,24,39,.8); }

/* cards and numbers */
.card, .table-wrap, .kpi, .room, .tape-wrap { box-shadow: var(--shadow); border-radius: 16px; }
.kpi { border-left-width: 0; position: relative; overflow: hidden; padding: 16px 18px; }
.kpi::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--grad); }
.kpi.saas::before { background: var(--saas, var(--brand)); } .kpi.gaas::before { background: var(--gaas, var(--brand)); } .kpi.metric::before { background: var(--metric, var(--ok)); }
.kpi .value { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
th { text-transform: uppercase; letter-spacing: .05em; font-size: 11px; }
.chip { letter-spacing: .01em; }
.chip.urgent { background: rgba(225,29,72,.16); color: #E11D48; } .chip.high { background: rgba(245,158,11,.2); color: #B45309; }
.chip.low { background: rgba(100,116,139,.18); color: #475569; } .chip.normal { background: rgba(99,102,241,.14); color: #4F46E5; }
.chip.todo { background: rgba(100,116,139,.18); color: #475569; } .chip.done { background: rgba(16,185,129,.18); color: #059669; }
.small { font-size: 12px; } .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal { border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(2,6,23,.6); }

/* getting started */
.card.start { background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(6,182,212,.07)); border-color: rgba(99,102,241,.25); }
.steps { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 12px 0; }
.step { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px; text-decoration: none; color: var(--text); transition: transform .12s, border-color .12s; }
.step:hover { transform: translateY(-2px); border-color: var(--brand); }
.step .sn { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border); display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; }
.step.done .sn { background: var(--ok); border-color: var(--ok); }
.sharebox { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--surface); border: 1px dashed var(--brand); border-radius: 12px; padding: 12px 14px; }
.sharebox .secret { margin-top: 6px; }

/* tasks board */
.board { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.tcol { background: rgba(100,116,139,.08); border-radius: 16px; padding: 12px; min-height: 160px; }
.tcol h3 { display: flex; justify-content: space-between; align-items: center; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; color: var(--muted); padding: 2px 4px 10px; }
.count { background: var(--surface); border-radius: 999px; padding: 1px 9px; font-size: 12px; }
.tcard { background: var(--surface); border: 1px solid var(--border); border-left: 5px solid #94A3B8; border-radius: 12px; padding: 12px; margin-bottom: 10px; box-shadow: var(--shadow); }
.tcard.p-urgent { border-left-color: #E11D48; } .tcard.p-high { border-left-color: #F59E0B; } .tcard.p-normal { border-left-color: #6366F1; }
.tt { font-weight: 700; margin-bottom: 4px; } .tmeta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 8px 0; font-size: 12px; color: var(--muted); }
.due.late { color: var(--danger); font-weight: 700; }
.tfoot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; } .tacts { display: flex; gap: 6px; flex-wrap: wrap; }
.who { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 11px; display: inline-grid; place-items: center; font-weight: 800; }

/* ================= auth (login / sign up) ================= */
body.auth { background: #0F1330; }
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: 100vh; width: 100%; }
.hero { position: relative; overflow: hidden; color: #fff; padding: 48px clamp(24px, 5vw, 72px); display: flex; flex-direction: column; gap: 18px;
  background: radial-gradient(700px 400px at 10% 0%, rgba(6,182,212,.35), transparent 60%), radial-gradient(600px 500px at 100% 100%, rgba(236,72,153,.28), transparent 60%), linear-gradient(135deg, #312E81 0%, #4C1D95 55%, #0E7490 130%); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.06); pointer-events: none; }
.hero::before { width: 420px; height: 420px; right: -140px; top: -120px; } .hero::after { width: 300px; height: 300px; left: -100px; bottom: 60px; }
.hero > * { position: relative; z-index: 1; }
.hero-brand { display: flex; align-items: center; gap: 14px; } .hero-brand .mark { border-radius: 14px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.6); }
.wordmark { font-size: 26px; font-weight: 900; letter-spacing: .14em; line-height: 1; } .wm-sub { font-size: 11px; letter-spacing: .22em; color: #C4B5FD; margin-top: 4px; font-weight: 600; }
.hero h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; margin: 18px 0 0; letter-spacing: -.03em; font-weight: 900; }
.lead { font-size: 17px; color: #E0E7FF; max-width: 520px; margin: 0; }
.features { list-style: none; padding: 0; margin: 6px 0; display: grid; gap: 10px; max-width: 540px; }
.features li { display: flex; gap: 10px; align-items: flex-start; color: #EEF2FF; } .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.preview { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 16px; padding: 14px; max-width: 460px; backdrop-filter: blur(6px); display: grid; gap: 7px; margin-top: 8px; }
.prow { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; font-size: 11px; color: #C7D2FE; }
.ptrack { position: relative; height: 16px; background: rgba(255,255,255,.08); border-radius: 6px; } .pbar { position: absolute; top: 2px; bottom: 2px; border-radius: 5px; }
.pbar.a { background: #34D399; } .pbar.b { background: #A78BFA; } .pbar.c { background: #FBBF24; }
.hero-foot { margin-top: auto; color: #A5B4FC; font-size: 12px; padding-top: 18px; }
.auth-side { display: grid; place-items: center; padding: 28px 16px; background: radial-gradient(600px 400px at 100% 0%, rgba(99,102,241,.25), transparent 60%), #F4F6FB; }
.auth-card { width: 100%; max-width: 440px; background: #fff; color: #0F172A; border-radius: 22px; padding: 28px; box-shadow: 0 30px 80px -30px rgba(30,27,75,.45); border: 1px solid #E4E8F1; }
.auth-card .muted { color: #64748B; } .auth-card input, .auth-card select { background: #fff; color: #0F172A; border-color: #D8DEEB; } .auth-card label { color: #475569; }
.card-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; } .card-brand small { display: block; color: #64748B; font-size: 12px; } .card-brand .mark { border-radius: 9px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: #EEF1F8; border-radius: 12px; padding: 4px; margin-bottom: 16px; }
.tabs button { border: 0; background: transparent; padding: 9px 8px; border-radius: 9px; font-weight: 700; color: #64748B; } .tabs button.on { background: #fff; color: #4F46E5; box-shadow: 0 2px 8px rgba(15,23,42,.12); }
.ctitle { font-size: 22px; margin: 0 0 4px; letter-spacing: -.02em; font-weight: 800; }
.terms { align-items: flex-start; font-size: 12px; color: #475569; margin-top: 12px; } .terms input { margin-top: 2px; }
.switch { text-align: center; margin: 14px 0 0; }
@media (max-width: 900px) {
  .auth-wrap { grid-template-columns: 1fr; } .hero { padding: 28px 22px 32px; } .hero .features, .hero .preview { display: none; } .hero h1 { font-size: 28px; margin-top: 8px; } .lead { font-size: 15px; }
  .hero-foot { display: none; } .board { grid-template-columns: 1fr; } .two { grid-template-columns: 1fr; }
}
table.tape th { text-transform: none; letter-spacing: 0; font-size: 11px; white-space: normal; line-height: 1.15; }
.banner.late { background: var(--danger); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 2px; border: 1.5px solid #D8DEEB; border-radius: 12px; padding: 10px; cursor: pointer; margin: 0; background: #fff; color: #0F172A; font-weight: 600; }
.plan input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; margin: 0; } .plan:has(input:checked) { border-color: #6366F1; box-shadow: 0 0 0 3px rgba(99,102,241,.18); background: #F5F6FF; }
.plan .pn { font-size: 13px; } .plan .pp { font-size: 15px; font-weight: 800; color: #4F46E5; } .plan .pr { font-size: 11px; font-weight: 500; }
@media (max-width: 480px) { .plans { grid-template-columns: 1fr; } }
