/* =========================================================
   TapMyGround — "Floodlight Night" design system
   Dark sports UI · Volt accent · Barlow Condensed + Inter
   ========================================================= */
/* Self-hosted fonts (SIL Open Font License) */
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/barlow-condensed-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/barlow-condensed-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/barlow-condensed-latin-800-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow Condensed';font-style:italic;font-weight:700;font-display:swap;src:url(../fonts/barlow-condensed-latin-700-italic.woff2) format('woff2')}
@font-face{font-family:'Barlow Condensed';font-style:italic;font-weight:800;font-display:swap;src:url(../fonts/barlow-condensed-latin-800-italic.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/inter-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/inter-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/inter-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/inter-latin-700-normal.woff2) format('woff2')}

:root {
  /* surfaces */
  --bg: #07090E;
  --bg-2: #0A0D14;
  --surface: #10141D;
  --surface-2: #161B26;
  --surface-3: #1E2532;
  --glass: rgba(16, 20, 29, .72);
  --line: rgba(255, 255, 255, .07);
  --line-strong: rgba(255, 255, 255, .13);
  /* text */
  --text: #F3F5F8;
  --text-2: #B3BBC8;
  --text-3: #808A9A;
  /* brand */
  --volt: #C8F135;
  --volt-600: #B2DB1F;
  --volt-ink: #0B0F05;
  --volt-tint: rgba(200, 241, 53, .12);
  --flame: #FF6A2B;
  --flame-tint: rgba(255, 106, 43, .14);
  --sky: #5AB2FF;
  --primary: var(--volt);
  --primary-600: var(--volt-600);
  --primary-tint: var(--volt-tint);
  --navy: #0B1F5B;
  /* status */
  --ok: #3DDC84; --ok-tint: rgba(61, 220, 132, .13);
  --warn: #FFB547; --warn-tint: rgba(255, 181, 71, .13);
  --bad: #FF5C5C; --bad-tint: rgba(255, 92, 92, .13);
  --info: #6FB6FF; --info-tint: rgba(111, 182, 255, .13);
  /* shape */
  --r-sm: 10px; --r-md: 14px; --r-lg: 18px; --r-xl: 26px;
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 10px 30px -12px rgba(0,0,0,.6);
  --shadow-lg: 0 24px 60px -20px rgba(0,0,0,.8);
  --glow: 0 0 0 1px rgba(200,241,53,.35), 0 10px 40px -10px rgba(200,241,53,.35);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Barlow Condensed', 'Inter', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --sidebar: 252px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font); background: var(--bg); color: var(--text);
  font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(1200px 600px at 90% -10%, rgba(200,241,53,.06), transparent 60%),
                    radial-gradient(900px 500px at -10% 10%, rgba(90,178,255,.05), transparent 60%);
  background-attachment: fixed;
}
a { color: var(--volt); text-decoration: none; transition: color .15s; }
a:hover { color: #E2FF7A; }
img { max-width: 100%; display: block; }
::selection { background: var(--volt); color: var(--volt-ink); }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4, .h1, .h2, .h3 { font-family: var(--font-head); line-height: 1.05; margin: 0 0 .45em; letter-spacing: .005em; font-weight: 800; text-transform: uppercase; }
.h1 { font-size: clamp(40px, 6vw, 76px); }
.h2 { font-size: clamp(26px, 3vw, 34px); }
.h3 { font-size: 21px; font-weight: 700; }
.brand-font { font-family: var(--font-head); font-weight: 800; font-style: italic; letter-spacing: .02em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--volt); }
.eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--volt); border-radius: 2px; }
.muted { color: var(--text-3); }
.small { font-size: 13px; } .tiny { font-size: 12px; }
.center { text-align: center; } .right { text-align: right; } .nowrap { white-space: nowrap; }
.mt0 { margin-top: 0 } .mt1 { margin-top: 8px } .mt2 { margin-top: 16px } .mt3 { margin-top: 28px } .mb0 { margin-bottom: 0 } .mb2 { margin-bottom: 16px }
code { background: var(--surface-3); padding: 1px 6px; border-radius: 6px; font-size: .9em; color: var(--volt); }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.text-volt { color: var(--volt); } .text-flame { color: var(--flame); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.page { padding: 32px 0 110px; min-height: 60vh; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wrap { flex-wrap: wrap; }
.stack > * + * { margin-top: 14px; }
.split-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(310px, 1fr); gap: 24px; align-items: start; }
.sticky { position: sticky; top: 92px; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); } .split-layout { grid-template-columns: 1fr; } .sticky { position: static; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .container { padding: 0 16px; } .page { padding-top: 20px; } }

/* ---------- top nav ---------- */
.skip { position: absolute; left: -999px; top: 8px; background: var(--volt); color: var(--volt-ink); padding: 8px 14px; border-radius: 8px; z-index: 300; font-weight: 700; }
.skip:focus { left: 12px; }
.topnav { position: sticky; top: 0; z-index: 50; background: rgba(7, 9, 14, .78); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--line); }
.topnav .container { display: flex; align-items: center; gap: 22px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); flex: none; }
.logo:hover { color: var(--text); }
.logo-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--volt); display: grid; place-items: center; color: var(--volt-ink); box-shadow: 0 6px 20px -6px rgba(200,241,53,.6); }
.logo-mark svg { width: 22px; height: 22px; }
.logo span { font-family: var(--font-head); font-weight: 800; font-size: 25px; letter-spacing: .01em; text-transform: uppercase; font-style: italic; }
.logo span b { color: var(--volt); }
.nav-links { display: flex; gap: 2px; margin-left: 10px; }
.nav-links a { position: relative; color: var(--text-2); padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.nav-links a svg { width: 17px; height: 17px; opacity: .8; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -15px; height: 3px; border-radius: 3px 3px 0 0; background: var(--volt); box-shadow: 0 0 14px rgba(200,241,53,.7); }
.nav-links a.active svg { color: var(--volt); opacity: 1; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--volt), #7BD43A); color: var(--volt-ink); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.avatar.lg { width: 68px; height: 68px; font-size: 22px; }
.avatar.alt { background: var(--surface-3); color: var(--text); }
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; right: 0; top: 50px; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--r-md); box-shadow: var(--shadow-lg); min-width: 230px; padding: 6px; z-index: 60; }
.dropdown.open .dropdown-menu { display: block; animation: pop .16s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.dropdown-menu a, .dropdown-menu button { display: flex; width: 100%; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 9px; color: var(--text); background: none; border: 0; font: inherit; font-size: 14px; cursor: pointer; text-align: left; }
.dropdown-menu a:hover, .dropdown-menu button:hover { background: rgba(255,255,255,.05); color: var(--text); }
.dropdown-menu svg { width: 17px; height: 17px; color: var(--text-3); }
.dropdown-menu .sep { height: 1px; background: var(--line); margin: 6px 4px; }
.dropdown-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }

.bottom-tabs { display: none; }
@media (max-width: 920px) {
  .nav-links { display: none; }
  .bottom-tabs { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; background: rgba(10,13,20,.94); backdrop-filter: blur(16px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .bottom-tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: var(--text-3); font-weight: 600; padding: 6px 0; min-height: 48px; position: relative; }
  .bottom-tabs a.active { color: var(--volt); }
  .bottom-tabs a.active::before { content: ''; position: absolute; top: -7px; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--volt); }
  .bottom-tabs svg { width: 22px; height: 22px; }
  .topnav .container { height: 64px; }
}

/* ---------- sub tabs (consistent everywhere) ---------- */
.subnav { display: flex; gap: 6px; padding: 5px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; width: max-content; max-width: 100%; overflow-x: auto; margin-bottom: 22px; scrollbar-width: none; }
.subnav a { padding: 9px 16px; border-radius: 10px; color: var(--text-2); font-weight: 600; font-size: 14px; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.subnav a svg { width: 16px; height: 16px; }
.subnav a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.subnav a.active { background: var(--volt); color: var(--volt-ink); }
.subnav a .count { font-size: 11px; background: rgba(0,0,0,.18); padding: 1px 7px; border-radius: 99px; }
.subnav a:not(.active) .count { background: var(--surface-3); color: var(--text-2); }
.tabs { display: flex; gap: 6px; padding: 5px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; width: max-content; max-width: 100%; overflow-x: auto; margin-bottom: 22px; }
.tabs a { padding: 9px 16px; border-radius: 10px; color: var(--text-2); font-weight: 600; font-size: 14px; white-space: nowrap; }
.tabs a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.tabs a.active { background: var(--volt); color: var(--volt-ink); }

/* page header */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { margin: 6px 0 0; font-size: clamp(32px, 4vw, 46px); }
.page-head p { margin: 6px 0 0; color: var(--text-2); max-width: 620px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); font-weight: 600; }
.back-link:hover { color: var(--text); }
.back-link svg { width: 16px; height: 16px; transform: rotate(180deg); }

/* ---------- panel layout (owner/admin) ---------- */
.panel { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100vh; }
.sidebar { background: var(--bg-2); border-right: 1px solid var(--line); padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.sidebar .logo { padding: 2px 8px 18px; }
.sidebar .side-label { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--text-3); margin: 18px 12px 8px; font-weight: 700; }
.sidebar a.side-link { position: relative; display: flex; align-items: center; gap: 11px; color: var(--text-2); padding: 10px 12px; border-radius: 11px; font-weight: 600; font-size: 14px; }
.sidebar a.side-link:hover { background: rgba(255,255,255,.04); color: var(--text); }
.sidebar a.side-link.active { background: var(--volt-tint); color: var(--volt); }
.sidebar a.side-link.active::before { content: ''; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--volt); }
.sidebar a.side-link svg { width: 19px; height: 19px; flex: none; }
.side-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.side-badge { margin-left: auto; background: var(--flame); color: #fff; border-radius: 99px; font-size: 11px; font-weight: 700; padding: 1px 8px; }
.role-chip { align-self: flex-start; margin: 0 10px 6px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--volt); border: 1px solid rgba(200,241,53,.35); padding: 3px 10px; border-radius: 99px; }
.panel-main { min-width: 0; }
.panel-top { height: 70px; display: flex; align-items: center; gap: 12px; padding: 0 28px; border-bottom: 1px solid var(--line); background: rgba(7,9,14,.8); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 30; }
.panel-top h1 { font-size: 26px; margin: 0; }
.panel-body { padding: 26px 28px 70px; }
.menu-btn { display: none; }
@media (max-width: 960px) {
  .panel { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; z-index: 80; transform: translateX(-100%); transition: transform .25s var(--ease); }
  body.side-open .sidebar { transform: none; }
  body.side-open::after { content: ''; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 70; }
  .menu-btn { display: inline-grid; }
  .panel-body { padding: 18px 16px 70px; }
  .panel-top { padding: 0 14px; }
  .panel-top h1 { font-size: 22px; }
}

/* ---------- cards ---------- */
.card { background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0)) , var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; background: var(--surface-2); }
.card.pad-0 { padding: 0; overflow: hidden; }
a.card { color: var(--text); transition: border-color .2s, transform .2s var(--ease); }
a.card:hover { border-color: var(--line-strong); transform: translateY(-2px); color: var(--text); }
.card-title { font-family: var(--font-head); text-transform: uppercase; font-weight: 700; font-size: 20px; letter-spacing: .02em; margin: 0 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-title a, .card-title .small { font-family: var(--font); text-transform: none; font-size: 13px; font-weight: 600; letter-spacing: 0; }
.stat { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.stat .label { font-size: 12px; color: var(--text-3); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.stat .value { font-family: var(--font-head); font-weight: 800; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .sub { font-size: 12px; color: var(--text-3); }
.stat-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--volt-tint); color: var(--volt); flex: none; }
.stat-icon svg { width: 22px; height: 22px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 12px; padding: 11px 20px; min-height: 44px; font: 700 14px/1.2 var(--font); cursor: pointer; transition: background .15s, transform .12s var(--ease), box-shadow .2s, border-color .15s; white-space: nowrap; text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--volt); color: var(--volt-ink); box-shadow: 0 8px 24px -10px rgba(200,241,53,.7); }
.btn-primary:hover { background: #D6FF4F; color: var(--volt-ink); box-shadow: 0 10px 30px -8px rgba(200,241,53,.8); }
.btn-navy, .btn-dark { background: var(--surface-3); color: var(--text); border-color: var(--line-strong); }
.btn-navy:hover, .btn-dark:hover { background: #283141; color: var(--text); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: var(--text); }
.btn-outline { background: transparent; color: var(--volt); border-color: rgba(200,241,53,.5); }
.btn-outline:hover { background: var(--volt-tint); color: var(--volt); }
.btn-ok { background: var(--ok); color: #04150B; } .btn-ok:hover { color: #04150B; filter: brightness(1.08); }
.btn-bad { background: var(--bad); color: #fff; } .btn-bad:hover { color: #fff; filter: brightness(1.08); }
.btn-flame { background: var(--flame); color: #fff; } .btn-flame:hover { color: #fff; filter: brightness(1.08); }
.btn-link { background: none; border: 0; color: var(--volt); padding: 0; font-weight: 600; cursor: pointer; font-size: 14px; }
.btn-sm { padding: 7px 13px; min-height: 36px; font-size: 13px; border-radius: 10px; }
.btn-lg { padding: 15px 26px; min-height: 52px; font-size: 15px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: .45; pointer-events: none; box-shadow: none; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 11px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); color: var(--text-2); cursor: pointer; transition: .15s; }
.icon-btn:hover { background: rgba(255,255,255,.08); color: var(--text); }
.icon-btn svg { width: 18px; height: 18px; }
.inline-form { display: inline; }

/* ---------- badges / chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; white-space: nowrap; line-height: 1.3; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: none; }
.badge-ok { background: var(--ok-tint); color: var(--ok); } .badge-ok::before { display: block; }
.badge-warn { background: var(--warn-tint); color: var(--warn); } .badge-warn::before { display: block; }
.badge-bad { background: var(--bad-tint); color: var(--bad); } .badge-bad::before { display: block; }
.badge-info { background: var(--info-tint); color: var(--info); } .badge-info::before { display: block; }
.badge-mute { background: rgba(255,255,255,.06); color: var(--text-2); }
.badge-primary { background: var(--volt-tint); color: var(--volt); }
.badge-flame { background: var(--flame-tint); color: var(--flame); }
.badge svg { width: 13px; height: 13px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; color: var(--text-2); font-weight: 500; }
.chip svg { width: 15px; height: 15px; color: var(--volt); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- alerts / toasts ---------- */
.alert { padding: 13px 16px; border-radius: 12px; margin-bottom: 14px; font-weight: 500; font-size: 14px; border: 1px solid transparent; }
.alert-ok { background: var(--ok-tint); color: #9FF0C2; border-color: rgba(61,220,132,.25); }
.alert-warn { background: var(--warn-tint); color: #FFD596; border-color: rgba(255,181,71,.25); }
.alert-bad { background: var(--bad-tint); color: #FFAAAA; border-color: rgba(255,92,92,.25); }
.alert-info { background: var(--info-tint); color: #B6D9FF; border-color: rgba(111,182,255,.25); }
.alert a { color: inherit; text-decoration: underline; }
.toasts { position: fixed; top: 86px; right: 20px; z-index: 200; display: flex; flex-direction: column; gap: 8px; max-width: 380px; }
.toasts .alert { box-shadow: var(--shadow-lg); animation: tin .3s var(--ease); margin: 0; background-color: var(--surface-2); backdrop-filter: blur(10px); }
@keyframes tin { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- forms ---------- */
.form label { display: block; font-weight: 600; font-size: 13px; color: var(--text-2); margin-bottom: 16px; }
.form label > input, .form label > select, .form label > textarea, .input { display: block; width: 100%; margin-top: 7px; }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=date], input[type=search], select, textarea, .input {
  font: 500 15px var(--font); color: var(--text); background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; min-height: 46px; outline: none; transition: border-color .15s, box-shadow .15s; width: 100%;
}
input::placeholder, textarea::placeholder { color: #5E6878; }
input:hover, select:hover, textarea:hover { border-color: rgba(255,255,255,.2); }
input:focus, select:focus, textarea:focus { border-color: var(--volt); box-shadow: 0 0 0 4px var(--volt-tint); }
input[type=date]::-webkit-calendar-picker-indicator { filter: invert(.8); cursor: pointer; }
select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B3BBC8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
select option { background: var(--surface-2); color: var(--text); }
textarea { min-height: 96px; resize: vertical; }
input:disabled, select:disabled { opacity: .55; cursor: not-allowed; }
.form .check, .check { display: flex; gap: 10px; align-items: center; font-weight: 500; color: var(--text); font-size: 14px; cursor: pointer; }
.check input { width: 19px; height: 19px; accent-color: var(--volt); margin: 0; min-height: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .form-row, .form-row-3 { grid-template-columns: 1fr; } }
.hint { display: block; font-size: 12px; color: var(--text-3); font-weight: 500; margin-top: 6px; }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 2px; }
.seg a, .seg button { padding: 8px 14px; border-radius: 9px; color: var(--text-2); font-weight: 600; font-size: 13px; cursor: pointer; border: 0; background: none; }
.seg a.active, .seg button.active { background: var(--volt); color: var(--volt-ink); }
.option-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.option-card { position: relative; border: 1.5px solid var(--line-strong); border-radius: 14px; padding: 15px 16px; cursor: pointer; display: block; background: var(--bg-2); font-weight: 500 !important; color: var(--text) !important; margin: 0 !important; transition: border-color .15s, background .15s; }
.option-card:hover { border-color: rgba(255,255,255,.25); }
.option-card input { position: absolute; opacity: 0; pointer-events: none; }
.option-card:has(input:checked) { border-color: var(--volt); background: var(--volt-tint); box-shadow: var(--glow); }
.option-card:has(input:checked)::after { content: ''; position: absolute; right: 12px; top: 12px; width: 18px; height: 18px; border-radius: 50%; background: var(--volt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0F05' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.option-card b { display: block; font-size: 15px; margin-bottom: 3px; }
.option-card small { color: var(--text-3); font-size: 12.5px; line-height: 1.4; display: block; }
.option-card:has(input:disabled) { opacity: .45; cursor: not-allowed; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); font-weight: 700; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td, .table tr:hover td { background: rgba(255,255,255,.015); }
.table.small td, .table.small th { padding: 9px 12px; }
.table select, .table input { min-height: 36px; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
details > summary { list-style: none; } details > summary::-webkit-details-marker { display: none; }

/* ---------- ground cards ---------- */
.g-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; color: var(--text); isolation: isolate; }
.g-card:hover { transform: translateY(-4px); border-color: rgba(200,241,53,.35); box-shadow: 0 24px 50px -24px rgba(0,0,0,.9), 0 0 0 1px rgba(200,241,53,.15); color: var(--text); }
.g-card .g-img { position: relative; aspect-ratio: 16/11; background: var(--surface-3) center/cover no-repeat; display: block; overflow: hidden; }
.g-card .g-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,9,14,.05) 35%, rgba(7,9,14,.85) 100%); }
.g-card .g-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g-card:hover .g-img img { transform: scale(1.06); }
.g-card .g-type { position: absolute; left: 14px; top: 14px; z-index: 2; background: rgba(7,9,14,.7); backdrop-filter: blur(8px); color: var(--text); border: 1px solid var(--line-strong); padding: 5px 11px; border-radius: 99px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.g-card .g-over { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.g-card .g-price { font-family: var(--font-head); font-weight: 800; font-size: 28px; line-height: 1; color: #fff; }
.g-card .g-price small { font-family: var(--font); font-size: 12px; font-weight: 600; color: var(--text-2); }
.g-card .fav { position: absolute; right: 12px; top: 12px; z-index: 3; }
.g-card .g-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; color: inherit; }
.g-card .g-name { font-family: var(--font-head); font-weight: 700; font-size: 24px; line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; }
.g-card .g-meta { font-size: 13px; color: var(--text-2); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.g-card .g-meta span { display: inline-flex; align-items: center; gap: 5px; }
.g-card .g-meta svg { width: 15px; height: 15px; color: var(--text-3); }
.g-card .g-foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-strong); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rating { color: #FFC94A; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.rating svg { width: 15px; height: 15px; fill: #FFC94A; stroke: #FFC94A; }
.fav-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; background: rgba(7,9,14,.6); backdrop-filter: blur(8px); color: #fff; cursor: pointer; transition: .15s; }
.fav-btn:hover { background: rgba(7,9,14,.85); transform: scale(1.06); }
.fav-btn.on { color: #FF4D6D; }
.fav-btn svg { width: 18px; height: 18px; }

/* ---------- hero (home) ---------- */
.hero { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 560px; display: flex; align-items: flex-end; isolation: isolate; border: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: #0b0f17 center 60%/cover no-repeat; transform: scale(1.02); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(7,9,14,.92) 0%, rgba(7,9,14,.7) 36%, rgba(7,9,14,.1) 72%, rgba(7,9,14,.2) 100%),
  linear-gradient(0deg, rgba(7,9,14,.9) 0%, transparent 40%); }
.hero-inner { padding: 56px; width: 100%; }
.hero h1 { margin: 14px 0 14px; max-width: 760px; }
.hero h1 em { font-style: italic; color: var(--volt); }
.hero p.lead { color: var(--text-2); font-size: 18px; max-width: 540px; margin: 0; }
.searchbar { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: 8px; background: rgba(16,20,29,.85); backdrop-filter: blur(14px); border: 1px solid var(--line-strong); border-radius: 18px; padding: 8px; max-width: 900px; margin-top: 30px; box-shadow: var(--shadow-lg); }
.searchbar .field { position: relative; }
.searchbar .field svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-3); pointer-events: none; }
.searchbar input, .searchbar select { background: transparent; border: 0; border-radius: 12px; padding-left: 42px; height: 52px; }
.searchbar input:focus, .searchbar select:focus { background: rgba(255,255,255,.04); box-shadow: none; }
.searchbar .field + .field { border-left: 1px solid var(--line); }
.searchbar .btn { height: 52px; padding: 0 26px; }
.hero-stats { display: flex; gap: 36px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats div b { display: block; font-family: var(--font-head); font-size: 36px; font-weight: 800; line-height: 1; }
.hero-stats div span { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); font-weight: 700; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 0 0 rgba(200,241,53,.6); animation: ping 1.8s infinite; display: inline-block; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(200,241,53,0); } 100% { box-shadow: 0 0 0 0 rgba(200,241,53,0); } }
@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero-inner { padding: 32px 20px 24px; }
  .hero::before { background: linear-gradient(0deg, rgba(7,9,14,.97) 20%, rgba(7,9,14,.6) 70%, rgba(7,9,14,.5) 100%); }
  .searchbar { grid-template-columns: 1fr 1fr; }
  .searchbar .field:first-child { grid-column: 1 / -1; }
  .searchbar .field + .field { border-left: 0; }
  .searchbar .field { background: rgba(255,255,255,.03); border-radius: 12px; }
  .searchbar .btn { grid-column: 1 / -1; }
  .hero-stats { gap: 22px; } .hero-stats div b { font-size: 28px; }
  .hero p.lead { font-size: 16px; }
}

.section { margin-top: 64px; }
.section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section-title h2 { margin: 8px 0 0; font-size: clamp(30px, 3.4vw, 42px); }
.section-title p { margin: 4px 0 0; color: var(--text-2); }

/* feature tiles */
.feature { position: relative; padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.feature .f-ic { width: 50px; height: 50px; border-radius: 14px; background: var(--volt-tint); color: var(--volt); display: grid; place-items: center; margin-bottom: 18px; }
.feature .f-ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 24px; margin: 0 0 8px; }
.feature p { color: var(--text-2); margin: 0; font-size: 14px; }
.feature .f-num { position: absolute; right: 18px; top: 8px; font-family: var(--font-head); font-size: 84px; font-weight: 800; color: rgba(255,255,255,.04); line-height: 1; }

/* photo banner / CTA */
.banner { position: relative; border-radius: var(--r-xl); overflow: hidden; padding: 44px; border: 1px solid var(--line); isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.banner .b-bg { position: absolute; inset: 0; z-index: -2; background: center/cover no-repeat; }
.banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,9,14,.95) 0%, rgba(7,9,14,.75) 55%, rgba(7,9,14,.35) 100%); }
.banner h2 { margin: 6px 0 8px; font-size: clamp(30px, 3.6vw, 46px); }
.banner p { color: var(--text-2); margin: 0; max-width: 520px; }
@media (max-width: 640px) { .banner { padding: 28px 22px; } }

/* ---------- match cards ---------- */
.match { display: flex; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: border-color .2s; }
.match:hover { border-color: var(--line-strong); }
.match .when { min-width: 66px; text-align: center; padding: 10px 6px; border-radius: 12px; background: var(--volt-tint); color: var(--volt); font-family: var(--font-head); font-weight: 800; line-height: .95; font-size: 30px; border: 1px solid rgba(200,241,53,.25); }
.match .when small { display: block; font-size: 12px; letter-spacing: .14em; margin-top: 4px; }
.match .teams { font-family: var(--font-head); font-weight: 700; font-size: 20px; text-transform: uppercase; line-height: 1.1; }
.vs { font-family: var(--font-head); font-style: italic; font-weight: 800; color: var(--flame); padding: 0 4px; }
.match .tbd { color: var(--text-3); }

/* ---------- slots ---------- */
.date-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
.date-pill { flex: none; text-align: center; border: 1px solid var(--line-strong); border-radius: 14px; padding: 10px 12px; min-width: 66px; color: var(--text); background: var(--bg-2); transition: .15s; }
.date-pill:hover { border-color: rgba(255,255,255,.25); color: var(--text); }
.date-pill small { display: block; font-size: 11px; color: var(--text-3); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.date-pill b { font-family: var(--font-head); font-size: 26px; font-weight: 800; line-height: 1.1; display: block; }
.date-pill.active { border-color: var(--volt); background: var(--volt); color: var(--volt-ink); box-shadow: var(--glow); }
.date-pill.active small { color: rgba(11,15,5,.7); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 8px; }
.slot { position: relative; border: 1px solid var(--line-strong); border-radius: 12px; padding: 11px 6px; text-align: center; font-weight: 700; font-size: 14px; cursor: pointer; background: var(--bg-2); color: var(--text); display: block; margin: 0 !important; transition: .12s; font-variant-numeric: tabular-nums; }
.slot:hover { border-color: rgba(200,241,53,.5); color: var(--text); }
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot small { display: block; font-size: 11px; font-weight: 600; color: var(--text-3); margin-top: 2px; }
.slot:has(input:checked) { background: var(--volt); border-color: var(--volt); color: var(--volt-ink); box-shadow: var(--glow); }
.slot:has(input:checked) small { color: rgba(11,15,5,.7); }
.slot.in-range { background: var(--volt-tint); border-color: rgba(200,241,53,.6); }
.slot.s-booked, .slot.s-past, .slot.s-blocked { cursor: not-allowed; background: transparent; color: #4F5868; border-style: dashed; border-color: var(--line); text-decoration: line-through; text-decoration-color: rgba(255,255,255,.15); }
.slot.s-booked small, .slot.s-past small, .slot.s-blocked small { text-decoration: none; color: #4F5868; }
.slot.s-open { border-color: rgba(255,106,43,.6); background: var(--flame-tint); color: #FFB08A; }
.slot.s-open small { color: var(--flame); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--text-3); font-family: var(--font); text-transform: none; letter-spacing: 0; font-weight: 500; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; border: 1px solid var(--line-strong); background: var(--bg-2); }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14px; color: var(--text-2); }
.summary-line b, .summary-line span:last-child { color: var(--text); }
.summary-line.total { border-top: 1px dashed var(--line-strong); margin-top: 8px; padding-top: 14px; font-family: var(--font-head); font-weight: 800; font-size: 26px; text-transform: uppercase; color: var(--text); }
.summary-line.total span:last-child { color: var(--volt); }
.summary-line .neg { color: var(--ok) !important; }
.step-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--volt); color: var(--volt-ink); font-family: var(--font-head); font-weight: 800; font-size: 17px; margin-right: 4px; }

/* ---------- misc ---------- */
.empty { text-align: center; padding: 48px 20px; color: var(--text-3); }
.empty svg { width: 52px; height: 52px; margin: 0 auto 14px; color: var(--text-3); opacity: .6; }
.ground-hero { position: relative; border-radius: var(--r-xl); aspect-ratio: 21/8; background: var(--surface-3) center 65%/cover; overflow: hidden; border: 1px solid var(--line); }
.ground-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,9,14,.95) 0%, rgba(7,9,14,.2) 55%, rgba(7,9,14,.1) 100%); }
.ground-hero .gh-inner { position: absolute; left: 32px; right: 32px; bottom: 28px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.ground-hero h1 { font-size: clamp(36px, 5vw, 64px); margin: 10px 0 6px; }
.ground-hero .muted { color: var(--text-2); }
@media (max-width: 640px) { .ground-hero { aspect-ratio: 4/3.4; } .ground-hero .gh-inner { left: 18px; right: 18px; bottom: 18px; } }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 12px 16px; font-size: 14px; margin: 0; }
.kv dt { color: var(--text-3); font-weight: 600; } .kv dd { margin: 0; color: var(--text); }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr; gap: 2px 0; } .kv dd { margin-bottom: 10px; } }
.stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.stars input { display: none; }
.stars label { font-size: 30px; color: #3A4354; cursor: pointer; margin: 0 !important; line-height: 1; transition: color .1s; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: #FFC94A; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.qty button { width: 40px; height: 40px; border: 0; background: transparent; color: var(--text); font-size: 20px; cursor: pointer; }
.qty button:hover { background: rgba(255,255,255,.06); }
.qty input { width: 46px; min-height: 40px !important; border: 0 !important; text-align: center; padding: 4px !important; border-radius: 0 !important; box-shadow: none !important; background: transparent; -moz-appearance: textfield; font-weight: 700; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.list-item { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.list-item:last-child { border-bottom: 0; }
.thumb { width: 56px; height: 56px; border-radius: 12px; background: var(--surface-3) center/cover; flex: none; border: 1px solid var(--line); }
.pager { display: flex; gap: 6px; justify-content: flex-end; margin-top: 16px; }
.plan { border: 1px solid var(--line-strong); border-radius: var(--r-lg); padding: 28px; background: var(--surface); position: relative; display: flex; flex-direction: column; gap: 12px; transition: .2s; }
.plan.featured { border-color: rgba(200,241,53,.5); background: linear-gradient(180deg, rgba(200,241,53,.08), transparent 60%), var(--surface); box-shadow: var(--glow); }
.plan.current { border-color: var(--volt); }
.plan .price { font-family: var(--font-head); font-size: 52px; font-weight: 800; line-height: 1; }
.plan h3 { font-size: 26px; margin: 0; }
.plan ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 9px; font-size: 14px; color: var(--text-2); }
.plan li { display: flex; gap: 9px; align-items: flex-start; }
.plan li svg { width: 17px; height: 17px; color: var(--volt); flex: none; margin-top: 2px; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 54px 0 120px; color: var(--text-3); font-size: 14px; background: var(--bg-2); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-family: var(--font); text-transform: uppercase; font-size: 12px; letter-spacing: .14em; color: var(--text-2); margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer ul a { color: var(--text-3); } .footer ul a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* auth */
.auth-body { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; background: var(--bg); }
.auth-visual { position: relative; background: #0b0f17 center/cover; display: flex; align-items: flex-end; padding: 48px; isolation: isolate; }
.auth-visual::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7,9,14,.95) 5%, rgba(7,9,14,.35) 60%, rgba(7,9,14,.55) 100%); }
.auth-visual h2 { font-size: clamp(40px, 4.5vw, 64px); margin: 12px 0 10px; }
.auth-visual h2 em { color: var(--volt); }
.auth-visual p { color: var(--text-2); max-width: 440px; margin: 0; }
.auth-side { display: grid; place-items: center; padding: 32px 24px; }
.auth-card { width: 100%; max-width: 430px; }
.auth-card .logo { margin-bottom: 30px; }
.auth-card h1 { font-size: 40px; margin: 0 0 6px; }
.auth-card .sub { color: var(--text-2); margin: 0 0 24px; }
.auth-single { display: grid; place-items: center; padding: 32px 20px; min-height: 100vh; }
.auth-single .auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 34px; box-shadow: var(--shadow-lg); max-width: 520px; }
@media (max-width: 900px) { .auth-body { grid-template-columns: 1fr; } .auth-visual { min-height: 230px; padding: 26px 22px; } .auth-visual h2 { font-size: 36px; } .auth-visual p { display: none; } }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 70px; }
.pw-wrap button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--text-3); cursor: pointer; font-size: 12px; font-weight: 700; margin-top: 3px; padding: 8px; }
.demo-box { background: var(--surface-2); border: 1px dashed var(--line-strong); border-radius: 12px; padding: 12px 14px; font-size: 12.5px; color: var(--text-2); }
.divider-text { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 12px; margin: 20px 0; }
.divider-text::before, .divider-text::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* bar chart */
.bars { display: flex; align-items: flex-end; gap: 8px; height: 170px; padding-top: 10px; }
.bars .bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.bars .bar i { display: block; width: 100%; max-width: 34px; background: linear-gradient(180deg, var(--volt), #6FA81E); border-radius: 8px 8px 3px 3px; min-height: 3px; box-shadow: 0 0 18px -4px rgba(200,241,53,.5); }
.bars .bar span { font-size: 11px; color: var(--text-3); font-weight: 600; }

.rz-demo { max-width: 460px; margin: 60px auto; }
.ic-s { width: 14px; height: 14px; vertical-align: -2px; display: inline-block; }
.ic-m { width: 18px; height: 18px; vertical-align: -3px; display: inline-block; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.searchbar label.field { margin: 0; display: block; }
.icon-btn.menu-btn { display: none; }
@media (max-width: 960px) { .icon-btn.menu-btn { display: inline-grid; } }
@media (max-width: 520px) { .searchbar { grid-template-columns: 1fr; } }

/* ---- fix: checkbox rows inside .form (labels were stretching the checkbox to full width) ---- */
.form label.check, label.check { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; color: var(--text); font-size: 14px; font-weight: 500; line-height: 1.45; cursor: pointer; }
.form label.check > input, label.check > input { display: block; flex: none; width: 20px !important; height: 20px; min-height: 0 !important; margin: 1px 0 0 !important; padding: 0; accent-color: var(--volt); cursor: pointer; }
.check-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px 12px; }
.check-list label.check { margin-bottom: 8px; }
/* file inputs */
input[type=file] { display: block; width: 100%; margin-top: 8px; font: 500 13px var(--font); color: var(--text-2); background: var(--bg-2); border: 1px dashed var(--line-strong); border-radius: 12px; padding: 10px; cursor: pointer; }
input[type=file]:hover { border-color: rgba(200,241,53,.5); }
input[type=file]::file-selector-button { font: 700 13px var(--font); color: var(--volt-ink); background: var(--volt); border: 0; border-radius: 9px; padding: 8px 14px; margin-right: 12px; cursor: pointer; }
input[type=month] { font: 500 15px var(--font); color: var(--text); background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 12px; padding: 9px 12px; min-height: 42px; }
input[type=month]::-webkit-calendar-picker-indicator { filter: invert(.8); }
/* ---- fix: never let grid/flex children force horizontal scroll on phones ---- */
.grid > *, .split-layout > *, .stack > *, .panel-main, .card { min-width: 0; }
.card-title { flex-wrap: wrap; }
@media (max-width: 1024px) { .split-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .row { flex-wrap: wrap; }
  .grid-4 { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .grid-4 .stat .value { font-size: 26px; }
  .summary-line { flex-wrap: wrap; }
  .card { padding: 18px; }
  .page-head h1 { font-size: 32px; }
  .bars { gap: 4px; }
}
.seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg a, .seg button { white-space: nowrap; }
