/* Barq Athletic Club: dark, fast, electric lime. Built for a gym floor: big numbers, hard edges, one loud colour. */
:root {
  --bg: #0a0c0f; --bg2: #11151a; --card: #151a20; --card2: #1b2128; --line: #262d36; --fg: #f3f6f8; --mute: #8f9aa6;
  --lime: #c8ff2e; --lime-d: #a6dc12; --ok: #3fe08a; --warn: #ffb938; --bad: #ff5a5f; --ice: #62c8ff; --info: #8fb4ff;
  --d-bg: var(--bg); --d-fg: var(--fg); --d-mute: var(--mute); --d-line: var(--line); --d-card: var(--card); --d-brand: var(--lime); --d-brand-fg: #0a0c0f; --d-focus: var(--lime); --d-danger: var(--bad);
  --d-btn-radius: 10px; --d-radius: 18px; --ring-bg: #262d36; --ring-fg: var(--lime);
  --d-font: 'Readex Pro', 'IBM Plex Sans Arabic', 'Segoe UI', sans-serif; --d-font-body: var(--d-font);
}
html { color-scheme: dark; }
body { background: var(--bg); color: var(--fg); }
a { text-decoration: none; }
h1, h2, h3 { font-family: var(--d-font); font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
:root[lang='ar'] h1, :root[lang='ar'] h2, :root[lang='ar'] h3 { letter-spacing: 0; }
.muted { color: var(--mute); } .small { font-size: .82rem; } .sp { flex: 1; } .grow { flex: 1; min-inline-size: 0; }
.ic { flex: none; } .ic.flip { } :root[dir='rtl'] .ic.flip { transform: scaleX(-1); }
.hide-s { } @media (max-width: 560px) { .hide-s { display: none; } }
.mjx-btn { font-weight: 600; border-radius: 10px; }
.mjx-btn--ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.mjx-btn--ghost:hover { border-color: var(--lime); box-shadow: none; }
.mjx-btn--danger-o:hover { border-color: var(--bad); color: var(--bad); }
.mjx-btn--wait { background: var(--warn); }
.mjx-btn.wide { inline-size: 100%; }
.mjx-input { background: var(--bg2); border-color: var(--line); color: var(--fg); border-radius: 10px; }
.mjx-input::placeholder { color: #66717d; }
select.mjx-input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 2rem; }
:root[dir='rtl'] select.mjx-input { background-position: 18px 50%, 13px 50%; }
select.mjx-input option { background: #151a20; color: var(--fg); }
input[type='date'], input[type='time'] { color-scheme: dark; }
.mjx-dialog { background: var(--card); color: var(--fg); border: 1px solid var(--line); }
.mjx-dialog::backdrop { background: rgb(0 0 0 / .65); }
.mjx-x:hover { background: var(--card2); }
.mjx-table th { color: var(--mute); border-color: var(--line); } .mjx-table td { border-color: var(--line); }
.mjx-bar { background: #05070a; border-bottom: 1px solid #1a2028; }
.mjx-toast { background: var(--lime); color: #0a0c0f; font-weight: 600; }
.mjx-msg__bubble { background: #1d3a2a; color: #e8fff1; }
.mjx-err { min-block-size: 0; }
.lab { font-size: .8rem; font-weight: 600; color: var(--mute); text-transform: uppercase; letter-spacing: .06em; margin-block-end: .4rem; }
:root[lang='ar'] .lab { text-transform: none; letter-spacing: 0; font-size: .85rem; }

/* brand */
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--fg); min-block-size: 44px; }
.brand__t { display: grid; line-height: 1.1; } .brand__t b { font-size: 1.35rem; font-weight: 800; letter-spacing: .01em; } .brand__t small { color: var(--mute); font-size: .72rem; font-weight: 400; }
.mark { flex: none; filter: drop-shadow(0 0 14px rgb(200 255 46 / .35)); }

/* activity colours */
.a-zumba { --hue: #ff5fa2; } .a-crossfit { --hue: #ff7a1a; } .a-boxing { --hue: #ff4d4d; } .a-spin { --hue: #28d7c4; } .a-yoga { --hue: #b58cff; } .a-strength { --hue: #c8ff2e; } .a-kids { --hue: #ffd23f; }
.acti { inline-size: 36px; block-size: 36px; border-radius: 10px; display: inline-grid; place-items: center; flex: none; color: var(--hue, var(--lime)); background: color-mix(in srgb, var(--hue, var(--lime)) 14%, transparent); border: 1px solid color-mix(in srgb, var(--hue, var(--lime)) 30%, transparent); }

/* pills, chips, tags */
.pill { display: inline-flex; align-items: center; gap: .3rem; padding: .08rem .65rem; border-radius: 99px; font-size: .78rem; font-weight: 600; background: var(--card2); color: var(--mute); white-space: nowrap; border: 1px solid var(--line); }
.pill--ok { color: var(--ok); background: rgb(63 224 138 / .1); border-color: rgb(63 224 138 / .3); } .pill--warn { color: var(--warn); background: rgb(255 185 56 / .1); border-color: rgb(255 185 56 / .3); }
.pill--bad { color: var(--bad); background: rgb(255 90 95 / .1); border-color: rgb(255 90 95 / .3); } .pill--ice { color: var(--ice); background: rgb(98 200 255 / .1); border-color: rgb(98 200 255 / .3); } .pill--info { color: var(--info); background: rgb(143 180 255 / .1); border-color: rgb(143 180 255 / .28); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; min-block-size: 38px; padding: .25rem .9rem; border-radius: 99px; border: 1px solid var(--line); background: var(--bg2); color: var(--fg); cursor: pointer; font-size: .88rem; font-weight: 500; transition: border-color .15s, background .15s; }
.chip:hover { border-color: #3a4450; } .chip.is-on { background: var(--lime); color: #0a0c0f; border-color: var(--lime); font-weight: 700; }
.chip small { opacity: .7; font-size: .75rem; } .chip--s { min-block-size: 34px; padding-inline: .7rem; font-size: .82rem; } .chips.static .chip { cursor: default; color: var(--hue, var(--fg)); }
.chip--m { padding-inline: .7rem; } .dot { inline-size: 9px; block-size: 9px; border-radius: 50%; background: var(--mute); }
.dot.st-active, .dot.st-upcoming { background: var(--ok); } .dot.st-expiring { background: var(--warn); } .dot.st-expired, .dot.st-cancelled { background: var(--bad); } .dot.st-frozen { background: var(--ice); }
.tag { font-size: .72rem; font-weight: 700; padding: .05rem .5rem; border-radius: 6px; background: var(--card2); }
.tag--women { color: #ff8fc1; background: rgb(255 95 162 / .12); } .tag--men { color: var(--info); background: rgb(143 180 255 / .12); } .tag--all { color: var(--ok); background: rgb(63 224 138 / .1); }
.iconbtn { inline-size: 40px; block-size: 40px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--mute); cursor: pointer; flex: none; }
.iconbtn:hover { color: var(--bad); border-color: var(--bad); }
.avatar { inline-size: var(--s, 40px); block-size: var(--s, 40px); border-radius: 12px; display: inline-grid; place-items: center; font-weight: 800; font-size: calc(var(--s, 40px) * .42); flex: none; color: #0a0c0f; background: linear-gradient(135deg, var(--lime), #7ee94a); transform: skewX(-6deg); }
.avatar.av-f { background: linear-gradient(135deg, #ff9ccb, #ffb97a); } .avatar::first-letter { }
.empty { display: grid; justify-items: center; gap: .6rem; text-align: center; color: var(--mute); padding: 2rem 1rem; }
.note { display: flex; gap: .5rem; align-items: flex-start; font-size: .85rem; padding: .5rem .7rem; border-radius: 10px; margin-block-start: .6rem; background: var(--card2); }
.note--warn { color: var(--warn); background: rgb(255 185 56 / .09); } .note--ice { color: var(--ice); background: rgb(98 200 255 / .09); }
.owe { color: var(--bad); } .full { color: var(--warn); }

/* ---------- landing ---------- */
.land { max-inline-size: 1180px; margin-inline: auto; padding: 1rem clamp(1rem, 4vw, 2.5rem) 3rem; }
.land__top { padding-block: .5rem 1rem; }
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; padding-block: clamp(1.5rem, 5vw, 4rem); position: relative; }
.hero::before { content: ''; position: absolute; inset-inline-start: -10%; inset-block-start: -20%; inline-size: 60%; block-size: 120%; background: radial-gradient(closest-side, rgb(200 255 46 / .1), transparent); pointer-events: none; }
.kicker { color: var(--lime); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-block-end: .6rem; }
:root[lang='ar'] .kicker { text-transform: none; letter-spacing: 0; font-size: .95rem; }
.hero h1 { font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 800; line-height: 1.05; text-wrap: balance; }
:root[lang='ar'] .hero h1 { line-height: 1.2; } .hero h1 em { font-style: normal; color: var(--lime); }
.lead { color: var(--mute); font-size: 1.1rem; max-inline-size: 36rem; margin-block-start: 1rem; }
.live { display: flex; gap: clamp(1rem, 4vw, 2.5rem); margin-block-start: 1.8rem; } .live div { display: grid; } .live b { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--lime); line-height: 1; } .live span { color: var(--mute); font-size: .82rem; margin-block-start: .3rem; }
.hero__acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; transform: rotate(-3deg); }
.bubble { aspect-ratio: 1; border-radius: 22px; display: grid; place-items: center; color: var(--hue); background: color-mix(in srgb, var(--hue) 10%, var(--card)); border: 1px solid color-mix(in srgb, var(--hue) 35%, transparent); }
.bubble:nth-child(odd) { transform: translateY(14px); } .bubble svg { inline-size: 42%; block-size: 42%; }
.choose { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1rem; } .choice { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: .8rem; align-content: start; }
.choice--m { background: linear-gradient(160deg, #1d2a10, var(--card) 70%); border-color: rgb(200 255 46 / .3); } .choice h2 { font-size: 1.5rem; }
.rolebtns { display: grid; gap: .6rem; margin-block-start: .4rem; }
.rolebtn { display: flex; align-items: center; gap: .9rem; min-block-size: 64px; padding: .7rem 1rem; text-align: start; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); color: var(--fg); cursor: pointer; transition: border-color .15s, transform .15s; }
.rolebtn:hover { border-color: var(--lime); transform: translateY(-2px); } .rolebtn span { flex: 1; display: grid; } .rolebtn small { color: var(--mute); font-size: .8rem; } .rolebtn > .ic:first-child { color: var(--lime); }
.land__foot { color: var(--mute); text-align: center; font-size: .85rem; margin-block-start: 2rem; }
@media (max-width: 860px) { .hero, .choose { grid-template-columns: minmax(0, 1fr); } .hero__acts { grid-template-columns: repeat(4, 1fr); max-inline-size: 420px; transform: none; } }

/* ---------- staff shell ---------- */
.stf { display: grid; grid-template-columns: 232px minmax(0, 1fr); grid-template-areas: 'top top' 'nav main'; min-block-size: calc(100vh - var(--bar-h)); }
.stf__top { grid-area: top; position: sticky; inset-block-start: var(--bar-h); z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 1.25rem; background: rgb(10 12 15 / .92); backdrop-filter: blur(10px); border-block-end: 1px solid var(--line); }
.stf__tools { display: flex; gap: .6rem; align-items: center; } .rolepick .mjx-input { min-block-size: 38px; padding-block: .2rem; inline-size: auto; }
.stf__nav { grid-area: nav; position: sticky; inset-block-start: calc(var(--bar-h) + 61px); align-self: start; display: grid; gap: .25rem; padding: 1rem .75rem; border-inline-end: 1px solid var(--line); min-block-size: calc(100vh - var(--bar-h) - 61px); }
.nav-i { display: flex; align-items: center; gap: .75rem; min-block-size: 44px; padding-inline: .9rem; border-radius: 10px; color: var(--mute); font-weight: 500; position: relative; }
.nav-i:hover { color: var(--fg); background: var(--bg2); } .nav-i.is-on { color: #0a0c0f; background: var(--lime); font-weight: 700; }
.stf__main { grid-area: main; padding: clamp(1rem, 3vw, 2rem); min-inline-size: 0; display: grid; gap: 1.25rem; align-content: start; max-inline-size: 1280px; inline-size: 100%; }
@media (max-width: 960px) {
  .stf { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'top' 'nav' 'main'; }
  .stf__top { padding-inline: .8rem; } .brand__t small { display: none; }
  .stf__nav { position: sticky; inset-block-start: calc(var(--bar-h) + 61px); z-index: 30; display: flex; overflow-x: auto; gap: .3rem; padding: .4rem .6rem; border: 0; border-block-end: 1px solid var(--line); min-block-size: 0; background: rgb(10 12 15 / .96); scrollbar-width: none; }
  .nav-i { flex: none; padding-inline: .8rem; } .nav-i span { font-size: .85rem; }
}
.phead { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; } .phead h1 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; } .phead__a { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.backlink { display: inline-flex; align-items: center; gap: .4rem; color: var(--mute); min-block-size: 36px; } .backlink:hover { color: var(--lime); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.25rem; min-inline-size: 0; display: grid; gap: .6rem; align-content: start; }
.card h2 { font-size: 1.05rem; } .card h3 { font-size: .95rem; margin-block-start: .5rem; } .card__h { display: flex; align-items: center; justify-content: space-between; gap: 1rem; } .more { display: inline-flex; align-items: center; gap: .3rem; color: var(--lime); font-size: .85rem; font-weight: 600; min-block-size: 32px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } .grid2.wide1 { grid-template-columns: 1.5fr 1fr; } .two { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (max-width: 860px) { .grid2, .grid2.wide1 { grid-template-columns: minmax(0, 1fr); } }
.list { display: grid; } .list li { display: flex; align-items: center; gap: .7rem; padding-block: .55rem; border-block-end: 1px solid var(--line); min-block-size: 48px; flex-wrap: wrap; } .list li:last-child { border: 0; } .list a { font-weight: 600; } .list a:hover { color: var(--lime); }
.tchip { font-size: .8rem; font-weight: 700; padding: .15rem .55rem; border-radius: 8px; background: var(--card2); color: var(--lime); white-space: nowrap; }
.olist { counter-reset: none; }

/* kpis */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1rem 1.2rem; display: grid; gap: .15rem; position: relative; overflow: hidden; }
.stat__l { color: var(--mute); font-size: .85rem; font-weight: 500; } .stat__v { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; } .stat__s { color: var(--mute); font-size: .78rem; }
.stat.is-hero { background: var(--lime); border-color: var(--lime); color: #0a0c0f; } .stat.is-hero .stat__l, .stat.is-hero .stat__s { color: #2a3508; } .stat.is-hero::after { content: ''; position: absolute; inset-inline-end: -20px; inset-block: -10px; inline-size: 70px; background: rgb(0 0 0 / .08); transform: skewX(-14deg); }
.stat.is-warn .stat__v { color: var(--warn); }

/* bars + charts */
.bars { display: flex; align-items: flex-end; gap: clamp(2px, .6vw, 8px); block-size: calc(var(--bh) + 40px); padding-block-start: 1.2rem; }
.bars__col { flex: 1; min-inline-size: 0; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; block-size: 100%; gap: .2rem; }
.bars__bar { align-self: end; inline-size: 100%; max-inline-size: 42px; background: linear-gradient(180deg, #3a4453, #2a313b); border-radius: 6px 6px 2px 2px; min-block-size: 3px; transition: block-size .4s; }
.bars__col.is-hot .bars__bar { background: linear-gradient(180deg, var(--lime), var(--lime-d)); } .bars__v { font-size: .68rem; color: var(--mute); font-variant-numeric: tabular-nums; } .bars__l { font-size: .7rem; color: var(--mute); } .bars__col.is-hot .bars__v, .bars__col.is-hot .bars__l { color: var(--lime); }
.bars .bars__bar { block-size: auto; } .bars__col > .bars__bar { height: 100%; }
.trend { inline-size: 100%; block-size: auto; max-block-size: 230px; }
.ring { position: relative; inline-size: var(--s); block-size: var(--s); flex: none; } .ring__in { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; } .ring__in b { font-size: calc(var(--s) * .27); font-weight: 800; } .ring__in span { font-size: .7rem; color: var(--mute); }
.ringrow { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; } .kvs { flex: 1; min-inline-size: 180px; }
.kv { display: flex; justify-content: space-between; gap: 1rem; padding-block: .35rem; font-size: .92rem; border-block-end: 1px dashed var(--line); } .kv span { color: var(--mute); } .kv.big b { font-size: 1.15rem; color: var(--lime); } .kv.is-owe b { color: var(--bad); } .kv.is-ok b { color: var(--ok); }
.bar { block-size: 8px; border-radius: 99px; background: var(--card2); overflow: hidden; } .bar i { display: block; block-size: 100%; background: var(--lime); border-radius: 99px; }
.meter { display: block; block-size: 6px; border-radius: 99px; background: var(--card2); overflow: hidden; } .meter i { display: block; block-size: 100%; background: var(--hue, var(--lime)); border-radius: 99px; }
.share { display: grid; gap: .8rem; } .share li { display: grid; grid-template-columns: auto 1fr auto; gap: .2rem .6rem; align-items: center; } .share li .meter { grid-column: 1 / -1; } .share b { font-variant-numeric: tabular-nums; }
.bigfig { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; } .bigfig b { font-size: 3rem; font-weight: 800; color: var(--lime); line-height: 1; } .bigfig span { color: var(--mute); }
.heat { display: grid; grid-template-columns: auto repeat(var(--cols), minmax(0, 1fr)); gap: 3px; font-size: .68rem; } .heat__h, .heat__d { color: var(--mute); text-align: center; align-self: center; } .heat__d { text-align: start; padding-inline-end: .5rem; white-space: nowrap; }
.heat__c { aspect-ratio: 1.3; min-block-size: 18px; border-radius: 4px; background: color-mix(in srgb, var(--lime) calc(var(--a) * 100%), var(--card2)); display: grid; place-items: center; color: #0a0c0f; font-weight: 700; font-size: .65rem; }
@media (max-width: 560px) { .heat__d { font-size: .6rem; } .heat__c { aspect-ratio: auto; min-block-size: 22px; } }

/* filters, tables */
.filters { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; } .searchbox { position: relative; flex: 1 1 260px; max-inline-size: 420px; color: var(--mute); } .searchbox > .ic { position: absolute; inset-inline-start: .85rem; inset-block-start: 50%; transform: translateY(-50%); pointer-events: none; } .searchbox input { padding-inline-start: 2.6rem; }
.plansel { inline-size: auto; min-inline-size: 150px; }
.tablewrap { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: .4rem 1rem; }
.tbl .who { display: inline-flex; align-items: center; gap: .75rem; } .tbl .who span { display: grid; line-height: 1.3; } .tbl .who small { color: var(--mute); }
.tbl tbody tr:hover { background: var(--bg2); } .more-note { padding: .8rem; text-align: center; }
@media (max-width: 640px) { .mjx-stack tr { padding: .9rem 0; } .tbl .who { margin-block-end: .3rem; } }
.prof { display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; } .prof h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; } .prof__pills { display: flex; gap: .4rem; flex-wrap: wrap; margin-block-start: .4rem; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.tabs { display: flex; gap: .3rem; overflow-x: auto; border-block-end: 1px solid var(--line); scrollbar-width: none; } .tab { min-block-size: 44px; padding-inline: 1rem; background: transparent; border: 0; border-block-end: 3px solid transparent; color: var(--mute); cursor: pointer; font-weight: 600; white-space: nowrap; } .tab.is-on { color: var(--lime); border-color: var(--lime); }
.noteform { display: grid; gap: .5rem; } .noteform button { justify-self: start; } .notes { display: grid; gap: .6rem; } .notes li { padding: .7rem .9rem; background: var(--bg2); border-radius: 12px; border-inline-start: 3px solid var(--lime); }
.mform { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; } .mform button { grid-column: 1 / -1; }
.sum { display: grid; gap: .1rem; padding: .7rem .9rem; background: var(--bg2); border-radius: 12px; margin-block: .75rem; } .dlgform { display: grid; gap: .8rem; } .samplepay { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: var(--mute); padding: .6rem .8rem; border: 1px dashed var(--line); border-radius: 10px; }

/* receipt */
.rc { background: #fff; color: #111; border-radius: 12px; padding: 1.2rem; display: grid; gap: .5rem; font-size: .92rem; } .rc .kv span { color: #555; } .rc .kv { border-color: #ddd; }
.rc__head { display: flex; justify-content: space-between; align-items: baseline; border-block-end: 2px solid #111; padding-block-end: .5rem; } .rc__head b { font-size: 1.5rem; } .rc__meta { display: flex; justify-content: space-between; color: #555; font-size: .82rem; flex-wrap: wrap; gap: .3rem; }
.rc__who { display: flex; justify-content: space-between; } .rc__sum { display: flex; justify-content: space-between; font-size: 1.25rem; padding-block: .6rem; border-block: 2px solid #111; } .rc__foot { color: #555; font-size: .8rem; margin-block-start: .5rem; }

/* check-in desk */
.desk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; } .desk__l, .desk__r { display: grid; gap: 1.25rem; min-inline-size: 0; } @media (max-width: 960px) { .desk { grid-template-columns: minmax(0, 1fr); } }
.scanner { gap: 1rem; } .viewfinder { position: relative; block-size: 150px; border-radius: 14px; background: repeating-linear-gradient(135deg, #0e1217 0 12px, #11161b 12px 24px); display: grid; place-items: center; color: #2f3944; overflow: hidden; }
.viewfinder i { position: absolute; inline-size: 26px; block-size: 26px; border: 3px solid var(--lime); } .viewfinder i:nth-child(1) { inset-block-start: 14px; inset-inline-start: 14px; border-inline-end: 0; border-block-end: 0; border-start-start-radius: 8px; } .viewfinder i:nth-child(2) { inset-block-start: 14px; inset-inline-end: 14px; border-inline-start: 0; border-block-end: 0; border-start-end-radius: 8px; } .viewfinder i:nth-child(3) { inset-block-end: 14px; inset-inline-start: 14px; border-inline-end: 0; border-block-start: 0; border-end-start-radius: 8px; } .viewfinder i:nth-child(4) { inset-block-end: 14px; inset-inline-end: 14px; border-inline-start: 0; border-block-start: 0; border-end-end-radius: 8px; }
.beam { position: absolute; inset-inline: 14px; block-size: 2px; background: var(--lime); box-shadow: 0 0 14px 2px var(--lime); animation: beam 2.4s ease-in-out infinite alternate; } @keyframes beam { from { inset-block-start: 22px; } to { inset-block-start: calc(100% - 24px); } }
.inline { display: flex; gap: .5rem; } .code { font-size: 1.2rem; font-weight: 700; letter-spacing: .06em; text-align: start; }
.clockbox { grid-template-columns: 1fr auto; align-items: center; gap: 1rem; } .timebig { font-size: 2rem; font-weight: 800; line-height: 1.1; } .timebig small { font-size: .9rem; color: var(--mute); font-weight: 500; } .clockbox select { inline-size: auto; min-inline-size: 190px; } @media (max-width: 520px) { .clockbox { grid-template-columns: 1fr; } .clockbox select { inline-size: 100%; } }
.result { display: flex; gap: 1rem; padding: 1.2rem 1.3rem; border-radius: 20px; align-items: flex-start; border: 2px solid; animation: pop .25s ease both; } @keyframes pop { from { transform: scale(.97); opacity: 0; } }
.result.is-ok { background: rgb(63 224 138 / .12); border-color: var(--ok); } .result.is-bad { background: rgb(255 90 95 / .12); border-color: var(--bad); } .result.is-warn { background: rgb(255 185 56 / .12); border-color: var(--warn); }
.result__ic { inline-size: 56px; block-size: 56px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #0a0c0f; } .is-ok .result__ic { background: var(--ok); } .is-bad .result__ic { background: var(--bad); } .is-warn .result__ic { background: var(--warn); }
.result__t { display: grid; gap: .25rem; min-inline-size: 0; } .result__t > b { font-size: 1.5rem; font-weight: 800; } .result__n { font-weight: 700; font-size: 1.05rem; } .result__a { display: flex; flex-wrap: wrap; gap: .5rem; margin-block-start: .5rem; }

/* schedule */
.weeknav { display: flex; gap: .4rem; }
.daytabs { display: none; gap: .4rem; overflow-x: auto; scrollbar-width: none; } .daytab, .dchip { flex: 1 0 auto; min-inline-size: 50px; min-block-size: 56px; display: grid; place-content: center; text-align: center; border-radius: 12px; border: 1px solid var(--line); background: var(--bg2); color: var(--fg); cursor: pointer; line-height: 1.2; padding: .2rem .5rem; } .daytab small, .dchip small { color: var(--mute); font-size: .7rem; } .daytab b, .dchip b { font-size: 1.15rem; } .daytab.is-on, .dchip.is-on { background: var(--lime); border-color: var(--lime); color: #0a0c0f; } .daytab.is-on small, .dchip.is-on small { color: #2a3508; } .daytab.is-today:not(.is-on) { border-color: var(--lime); }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .6rem; align-items: start; }
.wcol { display: grid; gap: .5rem; align-content: start; } .wcol__h { font-size: .85rem; padding: .5rem .6rem; border-radius: 10px; background: var(--card2); display: flex; justify-content: space-between; align-items: baseline; } .wcol__h small { color: var(--mute); font-weight: 400; } .wcol__h.is-today { background: var(--lime); color: #0a0c0f; } .wcol__h.is-today small { color: #2a3508; } .wcol__none { padding: .5rem; }
.sess { display: grid; gap: .35rem; text-align: start; padding: .65rem .7rem; border-radius: 12px; background: var(--card); border: 1px solid var(--line); border-inline-start: 4px solid var(--hue); color: var(--fg); cursor: pointer; font-size: .82rem; transition: transform .15s, border-color .15s; } .sess:hover { transform: translateY(-2px); border-color: var(--hue); } .sess.is-past { opacity: .6; }
.sess__top { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; } .sess__top .acti { inline-size: 26px; block-size: 26px; border-radius: 8px; } .sess__t { font-weight: 700; font-size: .78rem; color: var(--hue); } .sess__m { color: var(--mute); font-size: .76rem; } .sess__f { display: flex; align-items: center; gap: .4rem; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 1199px) { .daytabs { display: flex; } .week { grid-template-columns: minmax(0, 1fr); } .wcol:not(.is-sel) { display: none; } .wcol__h { display: none; } .wcol.is-sel { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); } .wcol__none { grid-column: 1 / -1; } }
.seats { font-size: 1.05rem; } .seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; } .segb { min-block-size: 38px; padding-inline: .7rem; background: transparent; border: 0; color: var(--mute); cursor: pointer; font-size: .8rem; font-weight: 600; } .segb.is-on.s-attended { background: var(--ok); color: #0a0c0f; } .segb.is-on.s-noshow { background: var(--bad); color: #0a0c0f; }
.addrow { display: flex; gap: .5rem; margin-block-start: 1rem; flex-wrap: wrap; } .addrow select { flex: 1 1 180px; }

/* trainers, expiring */
.cards3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; } .tcard { color: var(--fg); transition: border-color .15s, transform .15s; } .tcard:hover { border-color: var(--lime); transform: translateY(-3px); } .tstats { display: flex; gap: 1rem; flex-wrap: wrap; color: var(--mute); font-size: .85rem; align-items: center; } .tstats b { color: var(--lime); font-size: 1.1rem; }
.slots .chip { font-variant-numeric: tabular-nums; }
.xlist { display: grid; gap: .7rem; } .xrow { grid-auto-flow: column; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; } .xrow__w { display: grid; gap: .25rem; justify-items: start; min-inline-size: 0; } .xrow__a { display: flex; gap: .5rem; flex-wrap: wrap; }
@media (max-width: 700px) { .xrow { grid-auto-flow: row; grid-template-columns: auto 1fr; } .xrow__a { grid-column: 1 / -1; } }

/* settings */
.hours { display: grid; gap: .8rem; } .hrow { display: grid; gap: .6rem; padding: .8rem; background: var(--bg2); border-radius: 14px; } .hrow__t { display: grid; grid-template-columns: 1fr 1fr 1.2fr auto; gap: .5rem; align-items: center; } @media (max-width: 560px) { .hrow__t { grid-template-columns: 1fr 1fr; } }

/* ---------- member app ---------- */
.mpage { min-block-size: calc(100vh - var(--bar-h)); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 6vw, 6rem); align-items: center; justify-content: center; max-inline-size: 1100px; margin-inline: auto; padding: 1.5rem clamp(1rem, 4vw, 2.5rem); }
.mside { display: grid; gap: .9rem; max-inline-size: 28rem; justify-self: end; } .mside h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.1; } .ticks { display: grid; gap: .5rem; color: var(--mute); } .ticks li { display: flex; gap: .6rem; align-items: center; } .ticks .ic { color: var(--lime); } .mside__a { display: flex; gap: .6rem; flex-wrap: wrap; margin-block-start: .5rem; }
.phoneframe { inline-size: 392px; max-inline-size: 100%; block-size: min(800px, calc(100vh - var(--bar-h) - 40px)); min-block-size: 620px; border-radius: 48px; padding: 11px; background: #1b2128; box-shadow: 0 0 0 2px #2c353f, 0 40px 90px -30px #000, 0 0 80px -30px rgb(200 255 46 / .3); } .phonebody { block-size: 100%; border-radius: 38px; overflow: hidden; background: var(--bg); position: relative; }
.ph { block-size: 100%; display: flex; flex-direction: column; } .ph__top { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem .6rem; border-block-end: 1px solid var(--line); } .ph__hi { display: grid; flex: 1; line-height: 1.2; min-inline-size: 0; } .ph__hi small { color: var(--mute); font-size: .75rem; } .ph__hi b { font-size: 1.1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewas .mjx-input { min-block-size: 38px; padding-block: .15rem; font-size: .8rem; inline-size: 128px; }
.ph__body { flex: 1; overflow-y: auto; padding: 1rem; display: grid; gap: .9rem; align-content: start; scrollbar-width: thin; }
.ph__nav { display: grid; grid-template-columns: repeat(5, 1fr); border-block-start: 1px solid var(--line); background: rgb(10 12 15 / .96); padding-block-end: env(safe-area-inset-bottom); } .ptab { display: grid; justify-items: center; gap: .1rem; padding: .55rem 0 .5rem; min-block-size: 56px; color: var(--mute); font-size: .68rem; font-weight: 600; } .ptab.is-on { color: var(--lime); } .ptab__i { position: relative; } .badge { position: absolute; inset-block-start: -6px; inset-inline-end: -9px; min-inline-size: 16px; block-size: 16px; border-radius: 99px; background: var(--bad); color: #fff; font-size: .62rem; font-style: normal; display: grid; place-items: center; padding-inline: 3px; }
.mcard { border-radius: 22px; padding: 1.1rem; color: #0a0c0f; background: linear-gradient(135deg, var(--lime) 0%, #8be83a 60%, #43d88a 100%); position: relative; overflow: hidden; display: grid; gap: .9rem; box-shadow: 0 20px 40px -22px rgb(200 255 46 / .6); }
.mcard::after { content: ''; position: absolute; inset-block: -20px; inset-inline-end: 30%; inline-size: 60px; background: rgb(255 255 255 / .18); transform: skewX(-18deg); pointer-events: none; } .mcard.is-off { filter: grayscale(1) brightness(.7); }
.mcard__top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; } .mcard__brand { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; font-size: 1.1rem; } .mcard__brand .mark { filter: none; } .mcard__brand .mark path:first-child { fill: #0a0c0f; } .mcard__brand .mark path:last-child { fill: var(--lime); }
.mcard .pill { background: rgb(10 12 15 / .85); border-color: transparent; }
.mcard__mid { display: flex; justify-content: space-between; gap: .8rem; align-items: flex-end; position: relative; z-index: 1; } .mcard h2 { font-size: 1.45rem; font-weight: 800; } .mcard p { font-weight: 600; } .mcard__no { font-size: .9rem; opacity: .8; letter-spacing: .08em; }
.mcard__qr { margin: 0; background: #fff; padding: 6px; border-radius: 12px; text-align: center; flex: none; } .mcard__qr svg { display: block; border-radius: 4px; } .mcard__qr figcaption { font-size: .62rem; color: #333; font-weight: 700; padding-block-start: 3px; }
.mcard__dates { display: flex; justify-content: space-between; position: relative; z-index: 1; font-weight: 700; } .mcard__dates small { display: block; font-weight: 500; opacity: .7; font-size: .72rem; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: .9rem 1rem; display: grid; gap: .6rem; min-inline-size: 0; } .pcard .list li { min-block-size: 44px; padding-block: .4rem; }
.ringcard { grid-template-columns: auto 1fr; align-items: center; gap: 1rem; } .ringcard__t { display: grid; gap: .2rem; } .ringcard__t .note { margin: 0; }
.nextc { display: flex; gap: .8rem; align-items: center; } .nextc .acti { inline-size: 46px; block-size: 46px; border-radius: 14px; }
.daystrip { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding-block-end: .2rem; } .dchip { min-inline-size: 52px; }
.scrollx { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .scrollx .chip { flex: none; }
.clist { display: grid; gap: .6rem; } .citem { display: flex; gap: .75rem; align-items: center; padding: .75rem; background: var(--card); border: 1px solid var(--line); border-inline-start: 4px solid var(--hue); border-radius: 14px; } .citem.is-blocked { opacity: .55; } .citem__m { display: grid; flex: 1; min-inline-size: 0; line-height: 1.35; } .citem__m small { font-size: .76rem; color: var(--mute); }
.between { display: flex; justify-content: space-between; align-items: center; gap: .5rem; } .sect { font-size: 1.2rem; }
.nlist { display: grid; gap: .5rem; } .nitem { display: flex; gap: .75rem; padding: .8rem; border-radius: 14px; background: var(--card); border: 1px solid var(--line); position: relative; } .nitem.is-new { border-color: rgb(200 255 46 / .4); } .nitem__i { inline-size: 36px; block-size: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--card2); color: var(--lime); flex: none; } .nitem p { color: var(--mute); font-size: .88rem; } .dotnew { inline-size: 9px; block-size: 9px; border-radius: 50%; background: var(--lime); position: absolute; inset-block-start: .9rem; inset-inline-end: .9rem; }
.delta { font-size: .95rem; } .delta .down { color: var(--ok); } .delta .up { color: var(--warn); }
.ph .mform { grid-template-columns: repeat(3, 1fr); } .ph .mform .mjx-input { padding-inline: .5rem; } .ph .mjx-table { font-size: .78rem; } .ph .mjx-table th, .ph .mjx-table td { padding: .4rem .35rem; }
@media (max-width: 900px) { .mpage { grid-template-columns: minmax(0, 1fr); justify-items: center; } .mside { display: none; } }
@media (max-width: 560px) {
  .mpage { padding: 0; block-size: calc(100dvh - var(--bar-h)); min-block-size: 0; display: block; }
  .phoneframe { inline-size: 100%; block-size: 100%; min-block-size: 0; border-radius: 0; padding: 0; background: none; box-shadow: none; } .phonebody { border-radius: 0; }
}

/* ---------- print ---------- */
@media print {
  body { background: #fff; color: #000; } .stf__top, .stf__nav, .no-print, .phead__a, .tabs, .actions { display: none !important; }
  .stf { display: block; } .stf__main { padding: 0; max-inline-size: none; } .card, .stat, .tablewrap { background: #fff; color: #000; border-color: #bbb; break-inside: avoid; } .muted, .bars__v, .bars__l { color: #444; } .bars__bar { background: #666 !important; }
  .heat__c { background: color-mix(in srgb, #000 calc(var(--a) * 100%), #fff); color: #fff; }
  body:has(dialog[open]) #app { display: none; } dialog.mjx-dialog { position: static; inset: auto; inline-size: 100%; max-inline-size: none; box-shadow: none; border: 0; background: #fff; max-block-size: none; } .mjx-dialog__head { display: none; } .mjx-dialog__body { max-block-size: none; padding: 0; overflow: visible; }
}
.list a, .xrow__w a, .tbl a { min-inline-size: 36px; justify-content: center; display: inline-flex; align-items: center; min-block-size: 36px; }

.brand { min-inline-size: 44px; justify-content: center; }
.card, .pcard, .choice { grid-template-columns: minmax(0, 1fr); } .clockbox { grid-template-columns: 1fr auto; } .ringcard { grid-template-columns: auto minmax(0, 1fr); } @media (max-width: 520px) { .clockbox { grid-template-columns: minmax(0, 1fr); } } .xrow { grid-template-columns: auto minmax(0, 1fr) auto; } @media (max-width: 700px) { .xrow { grid-template-columns: auto minmax(0, 1fr); } }
.hours, .hrow { grid-template-columns: minmax(0, 1fr); } .hrow__t > * { min-inline-size: 0; }

.tag { white-space: nowrap; }

.pcard .list .grow { display: grid; line-height: 1.35; }
.ph__body { grid-auto-rows: max-content; } .daystrip { min-block-size: 58px; } .scrollx { min-block-size: 36px; }
