/* Registration page + admin dashboard (loads after site.css) */
[hidden] { display: none !important; }

/* ---------- registration ---------- */
.reg-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.reg-step { margin-bottom: 30px; }
.reg-step > h2 { font-size: 1.35rem; display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.reg-step > h2 .n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: .95rem; font-weight: 800; color: #2a0a47; background: linear-gradient(135deg, #fff1c2, var(--gold-2)); }
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.pick { position: relative; display: block; cursor: pointer; border-radius: 20px; padding: 16px 18px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-hi); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); transition: transform .2s ease, border-color .2s ease, background-color .2s ease; }
.pick:hover { transform: translateY(-2px); border-color: rgb(255 255 255 / .4); }
.pick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pick:has(input:checked) { border-color: var(--gold); background: linear-gradient(145deg, rgb(246 220 154 / .22), rgb(139 77 255 / .18)); box-shadow: 0 0 0 1px var(--gold), 0 14px 34px -14px rgb(246 220 154 / .5), var(--glass-hi); }
.pick:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }
.pick:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.pick .t { display: block; font-weight: 700; color: #fff; font-size: 1.05rem; }
.pick .s { display: block; color: var(--muted); font-size: .86rem; margin-top: 2px; }
.pick .f { display: block; margin-top: 8px; color: var(--gold); font-weight: 800; font-size: 1.15rem; }
.batch-list { display: grid; gap: 10px; }
.batch-pick { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.batch-pick .d { text-align: center; border-radius: 14px; padding: 8px 0 6px; background: linear-gradient(160deg, rgb(195 155 255 / .4), rgb(139 77 255 / .25)); border: 1px solid rgb(255 255 255 / .25); }
.batch-pick .d b { display: block; font-size: 1.5rem; line-height: 1; font-weight: 800; }
.batch-pick .d span { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); font-weight: 650; }
.batch-pick .m { min-width: 0; }
.batch-pick .m b { display: block; color: #fff; }
.batch-pick .m span { color: var(--muted); font-size: .9rem; }
.batch-pick .left { font-weight: 650; font-size: .88rem; color: var(--gold); white-space: nowrap; }
.batch-pick .left.low { color: var(--berry); } .batch-pick .left.full { color: var(--dim); }
.reg-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.reg-fields .wide { grid-column: 1 / -1; }
.reg-fields label { display: grid; gap: 6px; font-weight: 600; color: var(--lilac); }
.reg-fields .hint { font-weight: 400; color: var(--dim); font-size: .85rem; }
.err { color: var(--berry); font-weight: 600; font-size: .9rem; min-height: 0; }
.err:empty { display: none; }
.reg-aside { position: sticky; top: 100px; border-radius: var(--radius-l); padding: 24px; }
.reg-aside h2 { font-size: 1.2rem; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgb(255 255 255 / .12); color: var(--muted); }
.sum-row b { color: #fff; text-align: right; }
.sum-row.due b { color: var(--gold); font-size: 1.35rem; }
.reg-aside ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: .92rem; }
.reg-aside li::before { content: '✓'; color: var(--gold); margin-right: 8px; font-weight: 800; }
.reg-done { border-radius: var(--radius-l); padding: clamp(22px, 4vw, 40px); display: grid; gap: 18px; }
.reg-done h2 { margin: 0; }
.code-box { display: inline-block; font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 800; letter-spacing: .12em; padding: .25em .7em; border-radius: 18px; background: rgb(255 255 255 / .1); border: 1px dashed rgb(246 220 154 / .7); color: var(--gold); font-variation-settings: 'wdth' 85; }
.pay-box { border-radius: 22px; padding: 20px; background: rgb(255 255 255 / .07); border: 1px solid var(--glass-line); display: grid; gap: 12px; }
.pay-box h3 { margin: 0; }
.upi-id { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.upi-id code { padding: .5em .9em; border-radius: 12px; background: rgb(0 0 0 / .3); border: 1px solid rgb(255 255 255 / .2); font-size: 1.05rem; color: #fff; overflow-wrap: anywhere; }
.status-pill { display: inline-block; padding: .25em .8em; border-radius: 999px; font-size: .85rem; font-weight: 700; background: rgb(255 255 255 / .12); color: #fff; }
.status-pill.ok { background: rgb(59 229 130 / .2); color: #8dffbd; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.reg-note { color: var(--muted); font-size: .92rem; margin: 0; }
@media (max-width: 900px) { .reg-grid { grid-template-columns: 1fr; } .reg-aside { position: static; order: -1; } }
@media (max-width: 560px) { .reg-fields { grid-template-columns: 1fr; } .batch-pick { grid-template-columns: 54px minmax(0, 1fr); } .batch-pick .left { grid-column: 2; } }

/* ---------- admin ---------- */
body.adm { background: radial-gradient(900px 600px at 10% -10%, rgb(139 77 255 / .35), transparent 60%), linear-gradient(180deg, var(--bg-1), var(--bg-0)); background-attachment: fixed; }
.adm-login { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.adm-card { width: min(100%, 420px); border-radius: 28px; padding: 32px 28px; display: grid; gap: 16px; }
.adm-card h1 { font-size: 1.9rem; margin: 0; }
.adm-card label { display: grid; gap: 6px; font-weight: 600; color: var(--lilac); }
.adm-top { position: sticky; top: 0; z-index: 20; background: rgb(18 3 31 / .75); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid rgb(255 255 255 / .12); }
.adm-top .in { width: min(100% - 32px, 1280px); margin-inline: auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 12px 0; }
.adm-top .wordmark { font-size: 1.25rem; }
.adm-top .who { margin-left: auto; color: var(--muted); font-size: .9rem; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.adm-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.adm-tabs button { font: inherit; font-weight: 600; color: var(--lilac); background: none; border: 1px solid transparent; border-radius: 999px; padding: .5em 1em; cursor: pointer; }
.adm-tabs button:hover { background: rgb(255 255 255 / .1); }
.adm-tabs button[aria-selected='true'] { background: rgb(255 255 255 / .16); color: #fff; border-color: rgb(255 255 255 / .25); }
.adm-main { width: min(100% - 32px, 1280px); margin: 24px auto 64px; display: grid; gap: 22px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.tile { border-radius: 20px; padding: 18px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-hi); }
.tile b { display: block; font-size: 1.9rem; font-weight: 800; line-height: 1.1; font-variation-settings: 'wdth' 85; font-variant-numeric: tabular-nums; }
.tile span { color: var(--muted); font-size: .88rem; }
.tile.hot b { color: var(--gold); }
.panel { border-radius: 24px; padding: 20px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-hi); min-width: 0; }
.panel h2 { font-size: 1.15rem; margin-bottom: 14px; }
.adm-two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
@media (max-width: 900px) { .adm-two { grid-template-columns: 1fr; } }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.toolbar input, .toolbar select { width: auto; min-width: 150px; min-height: 42px; padding: .5em .9em; }
.toolbar .grow { flex: 1 1 200px; }
.tbl-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid rgb(255 255 255 / .12); }
table.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); padding: 12px 14px; background: rgb(255 255 255 / .06); white-space: nowrap; }
.tbl td { padding: 12px 14px; border-top: 1px solid rgb(255 255 255 / .08); vertical-align: top; }
.tbl tr:hover td { background: rgb(255 255 255 / .04); }
.tbl .sub { display: block; color: var(--dim); font-size: .82rem; }
.tbl select { min-height: 36px; padding: .3em .6em; width: auto; font-size: .88rem; }
.tbl input[type='number'] { width: 90px; min-height: 36px; padding: .3em .6em; }
.tbl a { color: var(--gold); }
.badge { display: inline-block; padding: .15em .7em; border-radius: 999px; font-size: .78rem; font-weight: 700; background: rgb(255 255 255 / .12); }
.badge.paid, .badge.confirmed, .badge.completed { background: rgb(59 229 130 / .18); color: #8dffbd; }
.badge.new, .badge.created { background: rgb(246 220 154 / .18); color: var(--gold); }
.badge.payment_submitted, .badge.submitted { background: rgb(255 159 216 / .2); color: #ffc2e6; }
.badge.cancelled, .badge.rejected, .badge.failed { background: rgb(255 122 122 / .2); color: #ffb0b0; }
.mini-btn { font: inherit; font-size: .85rem; font-weight: 650; padding: .35em .9em; border-radius: 999px; border: 1px solid rgb(255 255 255 / .3); background: rgb(255 255 255 / .08); color: #fff; cursor: pointer; }
.mini-btn:hover { background: rgb(255 255 255 / .18); }
.mini-btn.go { background: linear-gradient(135deg, var(--violet), #6a2fd6); border-color: transparent; }
.mini-btn.no { border-color: rgb(255 122 122 / .5); color: #ffb0b0; }
.seatbar { height: 8px; border-radius: 8px; background: rgb(255 255 255 / .12); overflow: hidden; margin-top: 6px; }
.seatbar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-2), var(--pink)); }
.batch-line { padding: 12px 0; border-top: 1px solid rgb(255 255 255 / .1); }
.batch-line:first-of-type { border-top: 0; padding-top: 0; }
.batch-line .top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.add-batch { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; align-items: end; }
.add-batch label { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--lilac); }
.adm-empty { padding: 28px; text-align: center; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; padding: .8em 1.4em; border-radius: 999px; background: rgb(30 10 52 / .95); border: 1px solid var(--glass-line); color: #fff; box-shadow: var(--shadow); }
dialog.adm-dialog { border: 1px solid var(--glass-line); border-radius: 24px; padding: 24px; width: min(92vw, 460px); color: #fff; background: linear-gradient(160deg, #3a1366, #1a0630); box-shadow: var(--shadow); }
dialog.adm-dialog::backdrop { background: rgb(8 0 20 / .7); backdrop-filter: blur(4px); }
dialog.adm-dialog form { display: grid; gap: 14px; }

/* ---------- admin v2: charts & insights ---------- */
.adm-root { --s1: #3987e5; --s2: #d95926; --s3: #199e70; }
.range { display: inline-flex; border: 1px solid rgb(255 255 255 / .25); border-radius: 999px; overflow: hidden; }
.range button { font: inherit; font-weight: 650; font-size: .88rem; color: var(--lilac); background: none; border: 0; padding: .45em 1.05em; cursor: pointer; }
.range button[aria-pressed='true'] { background: rgb(255 255 255 / .18); color: #fff; }
.page-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.page-bar h1 { font-size: 1.6rem; margin: 0; }
.tile .delta { display: block; margin-top: 4px; font-size: .82rem; font-weight: 650; color: var(--muted); }
.tile .delta.up { color: #8dffbd; } .tile .delta.down { color: #ffb0b0; }
.tile small { display: block; color: var(--dim); font-size: .78rem; margin-top: 2px; }
.chart-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.chart-head h2 { margin: 0; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart text { fill: var(--muted); font-size: 11px; font-family: inherit; }
.chart .grid { stroke: rgb(255 255 255 / .1); stroke-width: 1; }
.chart .hit:hover { fill: rgb(255 255 255 / .06); }
.tt { position: absolute; z-index: 5; pointer-events: none; padding: 8px 11px; border-radius: 12px; font-size: .82rem; line-height: 1.4; background: rgb(24 6 42 / .96); border: 1px solid var(--glass-line); box-shadow: var(--shadow); min-width: 130px; transform: translate(-50%, -110%); }
.tt b { display: block; color: #fff; margin-bottom: 2px; } .tt span { color: var(--muted); display: flex; justify-content: space-between; gap: 14px; }
.tt span i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
.link-btn { font: inherit; font-size: .82rem; font-weight: 600; color: var(--gold); background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.hbars { display: grid; gap: 10px; }
.hb { display: grid; grid-template-columns: minmax(80px, 150px) 1fr auto; gap: 10px; align-items: center; font-size: .9rem; }
.hb .nm { color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: capitalize; }
.hb .bar { height: 10px; border-radius: 5px; background: rgb(255 255 255 / .08); overflow: hidden; }
.hb .bar i { display: block; height: 100%; border-radius: 0 5px 5px 0; background: var(--s1); min-width: 3px; }
.hb .v { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.funnel { display: grid; gap: 8px; }
.fn { display: grid; grid-template-columns: 130px 1fr auto; gap: 10px; align-items: center; font-size: .9rem; }
.fn .bar { height: 26px; border-radius: 8px; background: rgb(255 255 255 / .07); overflow: hidden; }
.fn .bar i { display: block; height: 100%; border-radius: 0 8px 8px 0; background: var(--s1); }
.fn.f2 .bar i { background: var(--s2); } .fn.f3 .bar i { background: var(--s3); }
.fn .v { font-variant-numeric: tabular-nums; color: #fff; font-weight: 700; white-space: nowrap; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.copy-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 6px 0 12px; }
.copy-row code { flex: 1 1 260px; padding: .55em .9em; border-radius: 12px; background: rgb(0 0 0 / .3); border: 1px solid rgb(255 255 255 / .18); color: #fff; overflow-wrap: anywhere; font-size: .9rem; }
.set-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.set-form label { display: grid; gap: 6px; font-weight: 600; color: var(--lilac); }
.set-form .hint { font-weight: 400; color: var(--dim); font-size: .82rem; }
.set-form .wide { grid-column: 1 / -1; }
.rv-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 14px 0; border-top: 1px solid rgb(255 255 255 / .1); }
.rv-row:first-of-type { border-top: 0; }
.rv-row p { margin: 4px 0 0; color: var(--muted); }
.rv-row .stars { color: var(--gold); }
.rv-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: flex-start; }
.status-note { padding: 12px 16px; border-radius: 14px; background: rgb(255 255 255 / .07); border: 1px solid var(--glass-line); color: var(--muted); }
.status-note b { color: #fff; }
.status-note.warn { border-color: rgb(246 220 154 / .6); }
@media (max-width: 560px) { .hb { grid-template-columns: 90px 1fr auto; } .fn { grid-template-columns: 90px 1fr auto; } }

/* ---------- online classroom (learn.html) ---------- */
.lrn-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 18px; border-radius: 999px; margin-bottom: 20px; font-weight: 650; }
.lrn-bar-actions { display: flex; gap: 8px; }
.lrn-auth { border-radius: var(--radius-l); padding: clamp(20px, 4vw, 32px); display: grid; gap: 14px; margin-bottom: 22px; max-width: 560px; }
.lrn-auth h2 { margin: 0; }
.link-btn { font: inherit; background: none; border: 0; color: var(--gold); text-decoration: underline; cursor: pointer; padding: 0; justify-self: start; }
.lrn-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.lrn-card { border-radius: var(--radius-l); padding: 24px; display: grid; gap: 10px; align-content: start; }
.lrn-card h2 { margin: 0; font-size: 1.5rem; }
.lrn-meta { color: var(--dim); font-size: .9rem; margin: 0; }
.lrn-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.lrn-price { font-weight: 800; font-size: 1.5rem; color: var(--gold); margin-right: auto; }
.lrn-head h2 { margin: 0 0 4px; }
.lrn-grid { display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); gap: 20px; margin-top: 18px; align-items: start; }
.lrn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lrn-list button { width: 100%; font: inherit; text-align: left; color: #fff; display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--glass); border: 1px solid var(--glass-line); cursor: pointer; }
.lrn-list li.on button { border-color: var(--gold); background: rgb(246 220 154 / .16); }
.lrn-list .lt-ic { flex: none; width: 1.4em; text-align: center; color: var(--gold); }
.lrn-list .lt-tt { flex: 1; min-width: 0; }
.lrn-list .lt-mn { color: var(--dim); font-size: .8rem; white-space: nowrap; }
.lrn-stage { border-radius: var(--radius-l); padding: clamp(16px, 3vw, 26px); display: grid; gap: 14px; min-width: 0; }
.lrn-stage h3 { margin: 0; font-size: 1.3rem; }
.lrn-video { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; }
.lrn-video iframe, .lrn-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lrn-body { margin: 0; color: var(--lilac); line-height: 1.6; white-space: pre-line; }
.lrn-room .pay-box, #lrn-room > .pay-box { margin-top: 12px; }
@media (max-width: 860px) { .lrn-grid { grid-template-columns: 1fr; } }

/* admin LMS editor */
.lesson-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) 140px; gap: 10px 12px; align-items: end; padding: 16px 0; border-top: 1px solid rgb(255 255 255 / .12); }
.lesson-row label { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--lilac); }
.lesson-row .wide, .lesson-row h3 { grid-column: 1 / -1; }
.lesson-row.add { border-top: 2px solid rgb(246 220 154 / .4); margin-top: 8px; }
.chk { display: flex !important; align-items: center; gap: 8px; }
.chk input { width: auto; min-height: 0; }
@media (max-width: 640px) { .lesson-row { grid-template-columns: 1fr; } }
.set-form .wide { grid-column: 1 / -1; }
.lesson-row.add { grid-template-columns: minmax(0, 1fr) 160px; }
.lesson-row .chk { grid-column: 1 / -1; }
.lesson-row .mini-btn, .lesson-row .btn { justify-self: start; }

/* ===== CRM-style admin shell ===== */
.adm-root { --s4: #ff7ac8; --s5: #f6dc9a; }
.adm-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; }
.adm-side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 18px; padding: 20px 14px; background: linear-gradient(180deg, rgb(26 6 48 / .92), rgb(14 2 26 / .96)); border-right: 1px solid rgb(255 255 255 / .1); overflow-y: auto; }
.side-brand { display: flex; align-items: center; gap: 12px; padding: 4px 8px 10px; }
.side-brand img { border-radius: 12px; object-fit: cover; }
.side-brand b { display: block; font-size: 1.05rem; letter-spacing: .01em; }
.side-brand small { color: var(--dim); font-size: .78rem; }
.side-nav { display: grid; gap: 4px; }
.side-nav button, .side-link { font: inherit; font-weight: 600; font-size: .95rem; color: var(--lilac); display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: .7em .9em; border-radius: 14px; background: none; border: 1px solid transparent; cursor: pointer; text-decoration: none; }
.side-nav button:hover, .side-link:hover { background: rgb(255 255 255 / .08); color: #fff; }
.side-nav button[aria-current='true'] { color: #fff; background: rgb(139 77 255 / .28); border-color: rgb(246 220 154 / .7); box-shadow: 0 0 0 1px rgb(246 220 154 / .25), 0 10px 26px -12px rgb(139 77 255 / .8); }
.side-nav .ni { flex: none; width: 1.4em; text-align: center; color: var(--gold); font-size: 1.05rem; }
.side-nav .nt { flex: 1; min-width: 0; }
.side-nav .nb { flex: none; min-width: 1.5em; padding: .05em .45em; border-radius: 999px; background: var(--gold); color: #2a0a47; font-size: .75rem; font-weight: 800; text-align: center; }
.side-foot { margin-top: auto; display: grid; gap: 4px; }
.who-mail { color: var(--dim); font-size: .78rem; padding: 0 .9em; overflow-wrap: anywhere; }
.adm-body { min-width: 0; }
.adm-body .adm-main { width: min(100% - 40px, 1320px); margin: 24px auto 64px; }
.adm-mobbar { display: none; }
@media (max-width: 900px) {
  .adm-shell { grid-template-columns: 1fr; }
  .adm-side { position: fixed; inset: 0 auto 0 0; width: min(82vw, 290px); z-index: 50; transform: translateX(-102%); transition: transform .25s ease; }
  body.nav-open .adm-side { transform: none; box-shadow: 0 0 0 100vmax rgb(0 0 0 / .55); }
  .adm-mobbar { display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 30; padding: 10px 16px; background: rgb(18 3 31 / .85); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgb(255 255 255 / .12); }
  .adm-mobbar button { font: inherit; font-size: 1.3rem; color: #fff; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .2); border-radius: 12px; width: 44px; height: 44px; cursor: pointer; }
}
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.kpi { --k: var(--s1); position: relative; overflow: hidden; border-radius: 22px; padding: 18px 20px; background: radial-gradient(120% 120% at 100% 0, color-mix(in srgb, var(--k) 22%, transparent), transparent 60%), var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-hi); display: grid; gap: 12px; }
.kh { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 650; }
.ki { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--k) 25%, transparent); color: var(--k); font-weight: 800; }
.kb { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.kb b { display: block; font-size: 2.3rem; line-height: 1.05; font-weight: 800; font-variation-settings: 'wdth' 85; font-variant-numeric: tabular-nums; }
.kb small { display: block; color: var(--muted); font-size: .84rem; margin-top: 4px; }
.hl { color: #fff; font-weight: 700; } .hl.up { color: #8dffbd; } .hl.down { color: #ffb0b0; }
.spark { flex: none; width: 110px; height: 40px; }
.dash-two { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(280px, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1000px) { .dash-two { grid-template-columns: 1fr; } }
.chart.area .mark { stroke: rgb(255 255 255 / .35); stroke-width: 1; stroke-dasharray: 3 3; }
.chart.area text.r { fill: var(--dim); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; color: var(--muted); font-size: .85rem; }
.legend span { display: inline-flex; align-items: center; gap: 6px; } .legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.fn.f4 .bar i { background: var(--s4); } .fn.f5 .bar i { background: var(--s5); }
.gauge { text-align: center; margin-top: 10px; position: relative; }
.gauge svg { width: min(100%, 230px); height: auto; }
.gauge .g-bg { stroke: rgb(255 255 255 / .12); } .gauge .g-fg { stroke: var(--s3); }
.gauge b { display: block; margin-top: -48px; font-size: 1.9rem; font-weight: 800; font-variation-settings: 'wdth' 85; }
.gauge small { display: block; color: var(--muted); margin-top: 2px; }
.insight { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); margin-top: 10px; }
.insight p { margin: 0; color: var(--lilac); } .ii { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: rgb(246 220 154 / .16); color: var(--gold); font-weight: 800; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font: inherit; font-weight: 650; font-size: .85rem; text-transform: capitalize; color: var(--lilac); padding: .4em 1em; border-radius: 999px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .18); cursor: pointer; }
.chip[aria-pressed='true'] { background: rgb(255 255 255 / .2); color: #fff; border-color: var(--gold); }
.tbl input[type='date'] { min-height: 36px; padding: .3em .5em; width: auto; font-size: .85rem; } .tbl input.late { border-color: #ff7a7a; color: #ffb0b0; }
.fu-row { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: center; padding: 14px 0; border-top: 1px solid rgb(255 255 255 / .1); }
.fu-main { display: grid; gap: 2px; min-width: 0; flex: 1 1 260px; } .fu-main .sub { color: var(--dim); font-size: .85rem; } .fu-note { color: var(--muted); font-size: .9rem; }
.fu-act { display: flex; gap: 8px; flex-wrap: wrap; } a.mini-btn { text-decoration: none; display: inline-block; }

/* ---------- Website content (admin) ---------- */
.cm-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.cm-form .cm-file input[type='file'] { padding: .7em; border-radius: 14px; border: 1px dashed rgb(255 255 255 / .35); background: rgb(255 255 255 / .05); color: var(--lilac); width: 100%; }
.cm-form .cm-file input[type='file']::file-selector-button { font: inherit; font-weight: 700; margin-right: 12px; padding: .45em 1em; border-radius: 999px; border: 0; background: var(--gold); color: #2a0a47; cursor: pointer; }
.cm-prog { grid-column: 1 / -1; height: 8px; border-radius: 999px; background: rgb(255 255 255 / .12); overflow: hidden; }
.cm-prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--pink)); transition: width .2s ease; }
.cm-form .btn { justify-self: start; }
.cm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.cm-card { display: flex; flex-direction: column; gap: 10px; padding: 10px; border-radius: 18px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .14); min-width: 0; }
.cm-card.off { opacity: .6; }
.cm-media { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: rgb(0 0 0 / .3); display: grid; place-items: center; }
.cm-media img, .cm-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-noimg { font-size: 2.4rem; font-weight: 800; color: var(--gold); }
.cm-info { display: grid; gap: 2px; min-width: 0; }
.cm-info b { overflow-wrap: anywhere; }
.cm-info .sub { color: var(--muted); font-size: .85rem; overflow-wrap: anywhere; }
.cm-info p { margin: 4px 0 0; color: var(--lilac); font-size: .88rem; }
.cm-tags { display: flex; gap: 6px; margin-top: 4px; }
.cm-edit { display: grid; gap: 8px; padding-top: 8px; border-top: 1px solid rgb(255 255 255 / .12); }
.cm-edit label { display: grid; gap: 4px; font-size: .82rem; font-weight: 600; color: var(--lilac); }
.cm-edit .mini-btn { justify-self: start; }

/* landing-page manager */
.badge.active { background: rgb(59 229 130 / .18); color: #8dffbd; }
.badge.draft { background: rgb(255 255 255 / .1); color: var(--lilac); }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.btn.danger, .btn-ghost.danger { color: #ffb0b0; border-color: rgb(255 122 122 / .35); }
