:root {
  --bg: #f5f8fc;
  --surface: #fff;
  --text: #0b1b33;
  --muted: #5a6b82;
  --line: #dde5ef;
  --accent: #0b6cff;
  --accent-2: #19c3ff;
  --accent-text: #fff;
  --accent-soft: #eaf2ff;
  --navy: #06142b;
  --navy-2: #0b2148;
  --warn-bg: #fff4e0;
  --warn-line: #f0c36d;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(6, 20, 43, .06), 0 12px 32px -12px rgba(6, 20, 43, .18);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 12px; cursor: pointer;
  background: linear-gradient(135deg, var(--accent), #2a8bff);
  color: var(--accent-text);
  font: inherit; font-weight: 700; padding: 12px 22px; text-decoration: none;
  box-shadow: 0 8px 20px -8px rgba(11, 108, 255, .7);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 12px 24px -8px rgba(11, 108, 255, .75); }
.btn-sm { padding: 9px 16px; font-size: .92rem; }
.btn-big { width: 100%; padding: 16px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.alert { background: var(--warn-bg); border: 1px solid var(--warn-line); color: #5c3b00; border-radius: 10px; padding: 10px 14px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.12rem; color: #fff; text-decoration: none; letter-spacing: -.01em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.brand-mark .ic { width: 18px; height: 18px; color: #fff; }
.brand-mark svg:not(.ic) { width: 24px; height: 24px; }
.wordmark b { color: var(--accent-2); font-weight: inherit; }

/* hero */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--navy) url(img/hero-900.jpg) center / cover no-repeat;
  padding: 112px 0 72px;
}
@media (min-width: 901px) { .hero { background-image: url(img/hero.jpg); } }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 85% 30%, rgba(11, 108, 255, .35), transparent 70%),
    linear-gradient(100deg, rgba(6, 20, 43, .95) 0%, rgba(6, 20, 43, .82) 45%, rgba(6, 20, 43, .6) 100%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 48px; background: linear-gradient(transparent, rgba(245, 248, 252, .08)); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; margin: 0 0 14px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.hero .eyebrow { color: var(--accent-2); }
.eyebrow.center { display: block; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 800; margin: 0 0 18px; }
.shine { background: linear-gradient(90deg, #7fdcff, #19c3ff 40%, #8fb8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.13rem; color: rgba(255, 255, 255, .82); margin: 0 0 28px; max-width: 540px; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255, 255, 255, .9); font-weight: 600; font-size: .95rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .ic { color: var(--accent-2); }

/* sign-up card */
.join {
  background: var(--surface); color: var(--text);
  border-radius: 22px; padding: 26px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08);
  scroll-margin-top: 24px;
}
.plans { border: 0; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.plans legend { font-weight: 800; font-size: 1.2rem; margin-bottom: 12px; padding: 0; }
.plan { display: block; cursor: pointer; }
.plan input { position: absolute; opacity: 0; }
.plan-body {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px;
  border: 2px solid var(--line); border-radius: 14px;
  padding: 16px 18px 16px 52px; position: relative;
  transition: border-color .15s, background .15s;
}
.plan-body::before {
  content: ""; position: absolute; left: 18px; top: 50%; translate: 0 -50%;
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid #b9c6d6; background: var(--surface);
}
.plan:hover .plan-body { border-color: #b9c6d6; }
.plan input:checked + .plan-body { border-color: var(--accent); background: var(--accent-soft); }
.plan input:checked + .plan-body::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 4px var(--surface); }
.plan input:focus-visible + .plan-body { outline: 3px solid var(--accent); outline-offset: 2px; }
.plan-name { font-weight: 700; font-size: 1.05rem; }
.plan-price { grid-row: span 2; font-size: 1.6rem; font-weight: 800; text-align: right; white-space: nowrap; }
.plan-price small, .big-price small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.plan-desc { color: var(--muted); font-size: .9rem; }
.fine { color: var(--muted); font-size: .82rem; text-align: center; margin: 14px 0 0; }
.fine .ic { width: 13px; height: 13px; vertical-align: -2px; margin-right: 5px; }
.join .alert { margin-top: 0; }
.day-pick { display: grid; gap: 8px; margin: 0 0 18px; }
.day-label { font-weight: 800; font-size: 1.2rem; }
.day-pick select {
  font: inherit; font-weight: 600; color: var(--text); width: 100%;
  border: 2px solid var(--line); border-radius: 14px; padding: 14px 44px 14px 16px; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6cff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px no-repeat;
}
.day-pick select:hover { border-color: #b9c6d6; }
.day-pick select:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.day-pick select:valid { border-color: var(--accent); background-color: var(--accent-soft); }
.day-hint { color: var(--muted); font-size: .85rem; }
.login-pick { display: grid; gap: 8px; margin: 0 0 18px; }
.login-pick input { font: inherit; color: var(--text); width: 100%; border: 2px solid var(--line); border-radius: 14px; padding: 13px 16px; background: var(--surface); }
.login-pick input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.login-box { background: var(--accent-soft); border-radius: 16px; padding: 18px; margin: 0 0 8px; }
.login-box p { margin: 0 0 6px; color: var(--muted); }
.login-box .login-user { font-size: 1.3rem; font-weight: 800; color: var(--text); margin-bottom: 14px; word-break: break-all; }
.soldout { font-style: normal; font-size: .75rem; font-weight: 700; color: #b42318; background: #fef3f2; border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: 2px; }
.plan input:disabled + .plan-body { opacity: .55; cursor: not-allowed; }
.open-days { margin: 0 0 14px; font-size: .92rem; color: var(--muted); }
.open-days b { color: var(--text); }

/* features */
.features { padding: 56px 0; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.feature > .ic { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.feature h3 { margin: 16px 0 6px; font-size: 1.08rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

/* sections */
.how, .pricing, .faq { padding: 72px 0; }
section h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin: 0 0 40px; font-weight: 800; }
.how { background: var(--surface); border-block: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; position: relative; }
.steps li { text-align: center; position: relative; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: calc(50% + 40px); width: calc(100% - 48px); border-top: 2px dashed var(--line); }
.steps span { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font-weight: 800; font-size: 1.3rem; color: #fff; background: linear-gradient(135deg, var(--accent-2), var(--accent)); box-shadow: 0 10px 20px -8px rgba(11, 108, 255, .6); }
.steps h3 { margin: 18px 0 6px; font-size: 1.15rem; }
.steps p { margin: 0 auto; color: var(--muted); max-width: 280px; }

.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); justify-content: center; gap: 24px; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.price-card h3 { margin: 0; font-size: 1.15rem; }
.big-price { font-size: 2.8rem; font-weight: 800; margin: 10px 0 4px; letter-spacing: -.03em; }
.price-card .muted { color: var(--muted); margin: 0; }
.ticks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; flex: 1; }
.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks .ic { color: #fff; background: var(--accent); border-radius: 50%; padding: 4px; width: 22px; height: 22px; stroke-width: 3; }

.faq { background: var(--surface); border-top: 1px solid var(--line); }
.faq details { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; background: var(--bg); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; font-size: 1.5rem; font-weight: 500; color: var(--accent); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

.cta { padding: 0 0 72px; background: var(--surface); }
.cta-in {
  text-align: center; color: #fff; border-radius: 28px; padding: 56px 24px;
  background: radial-gradient(80% 120% at 100% 0%, rgba(25, 195, 255, .45), transparent 60%), linear-gradient(135deg, var(--navy-2), var(--navy));
  max-width: 1128px;
}
.cta h2 { margin: 0 0 10px; }
.cta p { margin: 0 0 26px; color: rgba(255, 255, 255, .8); font-size: 1.1rem; }

.foot { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 40px 0 96px; font-size: .92rem; }

.foot p { margin: 2px 0; }
.foot a { color: rgba(255, 255, 255, .85); }
.foot .brand { color: #fff; }
.foot .copy { width: 100%; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; margin-top: 8px; }
.disclaimer { display: block; margin-top: 8px; font-size: .8rem; color: rgba(255, 255, 255, .5); }

.sticky-cta { display: none; }

/* sign-up step 2 */
.done-page.step-page { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 28px; padding-top: 28px; }
.done-card.step-card { text-align: left; width: 100%; max-width: 460px; padding: 30px 26px; }
.step-card .eyebrow { margin-bottom: 6px; }
.step-card h1 { margin: 0 0 18px; }
.summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--accent-soft); border: 1px solid #cfe0fb; border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; }
.summary span { display: block; color: var(--muted); font-size: .9rem; }
.summary a { font-weight: 700; font-size: .92rem; text-decoration: none; }
.step-card .login-pick { margin: 0; }
.step-card .day-hint { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* success page */
.done-page { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(70% 60% at 50% 0%, rgba(25, 195, 255, .25), transparent 70%), linear-gradient(var(--navy-2), var(--navy)); }
.done-card { background: var(--surface); border-radius: 24px; padding: 40px 28px; max-width: 480px; text-align: center; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.done-card .tick { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; }
.done-card .tick .ic { width: 30px; height: 30px; stroke-width: 3; }
.done-card h1 { margin: 18px 0 8px; font-size: 1.9rem; }
.done-card p { color: var(--muted); margin: 0 0 24px; }

@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 36px; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 92px 0 48px; }
  .lead { font-size: 1.04rem; }
  .join { padding: 20px; border-radius: 18px; }
  .plan-body { padding: 14px 14px 14px 46px; }
  .plan-body::before { left: 14px; }
  .plan-price { font-size: 1.4rem; }
  .plan-desc { font-size: .84rem; }
  .features { padding: 40px 0; }
  .grid4 { grid-template-columns: 1fr; gap: 12px; }
  .feature { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; padding: 18px; }
  .feature > .ic { grid-row: span 2; }
  .feature h3 { margin: 0; }
  .how, .pricing, .faq { padding: 52px 0; }
  section h2 { margin-bottom: 28px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li:not(:last-child)::after { display: none; }
  .cta { padding-bottom: 52px; }
  .cta-in { border-radius: 22px; padding: 40px 20px; }
  .sticky-cta {
    display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 10;
    text-align: center; padding: 15px; border-radius: 14px; font-weight: 700; text-decoration: none;
    color: #fff; background: linear-gradient(135deg, var(--accent), #2a8bff); box-shadow: 0 12px 30px -8px rgba(6, 20, 43, .55);
    translate: 0 140%; transition: translate .25s;
  }
  .sticky-cta.show { translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .sticky-cta { transition: none; } }

/* admin */
.admin .wrap { padding-top: 24px; padding-bottom: 48px; }
.admin-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.admin-top h1 { margin: 0; font-size: 1.5rem; }
.admin h2 { margin: 32px 0 12px; font-size: 1.2rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.card.off { opacity: .7; }
.login { margin: 48px auto; display: grid; gap: 12px; max-width: 400px; }
.login h1 { margin: 0; font-size: 1.4rem; }
.plan-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
summary { cursor: pointer; font-weight: 600; }
details .plan-form { margin-top: 12px; }
.admin label { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.admin label.wide, .actions { grid-column: 1 / -1; }
.admin label.check { display: flex; align-items: center; gap: 8px; }
input, select, textarea { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; width: 100%; min-width: 0; }
input[type=checkbox] { width: auto; }
.row { display: flex; gap: 8px; }
.row input { width: 80px; flex: none; }
.actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.muted { color: var(--muted); font-size: .9rem; }

.table-wrap { overflow-x: auto; }
.admin table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin th, .admin td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin th { color: var(--muted); font-weight: 600; }

/* member area */
.member { background: var(--bg); }
.mmain { max-width: 640px; padding-top: 24px; padding-bottom: 56px; }
.mh1 { font-size: 1.7rem; margin: 4px 0 16px; }
.mh2 { font-size: 1.15rem; margin: 28px 0 10px; }
.mcard { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; margin-bottom: 14px; box-shadow: var(--shadow); }
.mcard h1 { margin: 0 0 6px; font-size: 1.5rem; }
.mcard h2 { font-size: 1.05rem; margin: 0 0 12px; }
.mcard .msel + h2, .mcard p + h2, .mcard input + h2 { margin-top: 18px; }
.narrow-card { max-width: 420px; margin: 24px auto; display: grid; gap: 12px; }
.member label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.member input:not([type=radio]), .msel {
  font: inherit; color: var(--text); width: 100%; border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface);
}
.member input:focus-visible, .msel:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.small { font-size: .85rem; }
.muted { color: var(--muted); }
.back { margin: 0; font-size: .9rem; }
.back a { text-decoration: none; font-weight: 600; }
.btn-quiet { background: var(--accent-soft); color: var(--accent); box-shadow: none; }
.btn-quiet:hover { box-shadow: none; filter: brightness(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.day-banner { background: var(--accent-soft); border: 1px solid #cfe0fb; border-radius: 14px; padding: 12px 16px; margin: 0 0 14px; }
.day-banner.ok { background: #dcfce7; border-color: #bbf7d0; color: #14532d; }
.search { position: relative; margin-bottom: 10px; }
.suggest { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; background: var(--surface); border-radius: 12px; box-shadow: 0 12px 30px -10px rgba(6, 20, 43, .35); overflow: hidden; }
.suggest button { display: block; width: 100%; text-align: left; font: inherit; font-size: .88rem; padding: 10px 14px; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; }
.suggest button:hover { background: var(--bg); }
.choice-list { display: grid; gap: 8px; margin: 10px 0 16px; }
.choice { display: flex !important; gap: 12px; align-items: flex-start; border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; color: var(--text) !important; font-weight: 400 !important; font-size: 1rem !important; }
.choice input { margin-top: 4px; accent-color: var(--accent); width: auto; flex: none; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.code-result { margin-top: 16px; border-radius: 16px; padding: 18px; text-align: center; background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; display: grid; gap: 4px; }
.code-result .muted { color: rgba(255, 255, 255, .7); }
.code-result strong { font-size: 2rem; letter-spacing: .08em; word-break: break-all; }
.code-result .err { color: #fecaca; }
table.codes { width: 100%; border-collapse: collapse; }
table.codes td { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--text); }
table.codes td + td { text-align: right; color: var(--muted); }
.tabs { display: flex; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px; margin-bottom: 14px; }
.tab { flex: 1; font: inherit; font-weight: 700; border: 0; border-radius: 10px; padding: 10px; background: none; color: var(--muted); cursor: pointer; }
.tab.on { background: var(--accent); color: #fff; }
.digits { font-size: 1.6rem !important; letter-spacing: .3em; text-align: center; margin-bottom: 14px; }
#vac svg { max-width: 100%; height: auto; }
.code-result[hidden] { display: none; }

/* admin shell */
.admin { font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.awrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.abar { background: linear-gradient(135deg, var(--navy-2), var(--navy)); position: sticky; top: 0; z-index: 10; }
.abar-in { display: flex; align-items: center; gap: 24px; min-height: 60px; flex-wrap: wrap; }
.abar .brand small { font-weight: 600; opacity: .6; font-size: .8rem; margin-left: 2px; }
.abar nav { display: flex; gap: 4px; flex-wrap: wrap; }
.abar nav a { color: rgba(255, 255, 255, .75); text-decoration: none; font-weight: 600; font-size: .92rem; padding: 7px 12px; border-radius: 9px; }
.abar nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.abar nav a.on { color: #fff; background: rgba(255, 255, 255, .14); }
.abar-right { margin-left: auto; display: flex; gap: 16px; }
.abar .abar-right a { color: rgba(255, 255, 255, .7); font-size: .88rem; text-decoration: none; }
.abar .abar-right a:hover { color: #fff; }
.amain { padding-top: 24px; padding-bottom: 64px; }
.ah1 { font-size: 1.6rem; margin: 0 0 16px; }
.admin h2 { font-size: 1.1rem; margin: 28px 0 10px; }
.admin .card h2 { margin-top: 0; }
.admin .card { box-shadow: var(--shadow); }
.admin a { color: var(--accent); }
.admin .back { margin: 0 0 6px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); text-decoration: none; color: var(--text); display: grid; gap: 4px; }
.stat span { color: var(--muted); font-size: .85rem; font-weight: 600; }
.stat b { font-size: 1.8rem; letter-spacing: -.02em; }
a.stat:hover { border-color: var(--accent); }
.warn-card { border-color: var(--warn-line); background: #fffaf0; }
.openday { margin: 4px 0; }
.bad { color: #b42318; }

.searchbar { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; max-width: 560px; }
.searchbar input { flex: 1; }
.admin table.clickable tr:not(:first-child) { cursor: pointer; }
.admin table.clickable tr:not(:first-child):hover td { background: var(--bg); }
.pill { display: inline-block; font-size: .75rem; font-weight: 700; border-radius: 999px; padding: 3px 9px; margin: 2px 2px 2px 0; background: #f1f5f9; color: var(--muted); white-space: nowrap; }
.pill.active { background: #dcfce7; color: #166534; }
.pill.upcoming { background: var(--accent-soft); color: var(--accent); }
.pill.bad { background: #fef3f2; color: #b42318; }

.cust-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.cust-head .ah1 { margin-bottom: 2px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; margin-top: 14px; }
.cols .card { margin: 0; display: grid; gap: 10px; align-content: start; }
.sub-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.sub-head p { margin: 2px 0 0; }
.sub-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
form.inline { display: flex; gap: 6px; align-items: center; margin: 0; }
form.inline select { width: auto; }
.btn-danger { background: #fef3f2; color: #b42318; box-shadow: none; }
.btn-danger:hover { box-shadow: none; filter: brightness(.97); }
.admin .btn { padding: 9px 16px; font-size: .92rem; }
table.mini { margin-top: 10px; }
.admin tr.dim td { color: var(--muted); }
@media (max-width: 640px) { .abar-right { margin-left: 0; } .stat b { font-size: 1.5rem; } }
.admin td.nowrap { white-space: nowrap; }

.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: .9rem; font-weight: 600; color: var(--accent); cursor: pointer; margin: -4px 0 14px; }
#finder[hidden] { display: none; }

/* site header (every customer page) */
.sitebar { position: relative; z-index: 20; background: linear-gradient(135deg, var(--navy-2), var(--navy)); }
.sitebar.overlay { position: absolute; inset: 0 0 auto; background: transparent; }
.sitebar-in { display: flex; align-items: center; gap: 20px; height: 68px; }
.sitenav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.sitenav a, .sitenav button { color: rgba(255, 255, 255, .82); font: inherit; font-weight: 600; font-size: .95rem; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; white-space: nowrap; }
.sitenav a:hover, .sitenav button:hover { color: #fff; }
.sitenav form { margin: 0; }
.sitecta { white-space: nowrap; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .12); color: #fff; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu[open] summary { background: rgba(255, 255, 255, .22); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(280px, calc(100vw - 32px)); background: var(--surface); border-radius: 16px; box-shadow: 0 20px 40px -12px rgba(6, 20, 43, .45); padding: 8px; display: grid; z-index: 30; }
.menu-panel a, .menu-panel button { display: block; width: 100%; padding: 12px 14px; border-radius: 10px; color: var(--text); text-decoration: none; font: inherit; font-weight: 600; text-align: left; background: none; border: 0; cursor: pointer; }
.menu-panel a:hover, .menu-panel button:hover { background: var(--bg); }
.menu-panel form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid var(--line); }
.menu-who { margin: 6px 14px 8px; font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) {
  .sitenav { display: none; }
  .menu { display: block; }
  .sitecta { margin-left: auto; }
  .sitebar-in { gap: 10px; height: 64px; }
}

/* site footer */
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px 40px; align-items: start; }
.foot-brand p { margin: 12px 0 0; max-width: 320px; }
.foot-links { display: grid; gap: 8px; }
.foot-links b { color: #fff; margin-bottom: 2px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: #fff; }
.foot .copy { grid-column: 1 / -1; }
.member .foot, .step-body .foot { padding-bottom: 40px; }
@media (max-width: 640px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* sign-up step 2 / confirmation under the shared header */
.step-body .done-page { min-height: calc(100vh - 68px); }
.whoami { background: var(--accent-soft); border-radius: 12px; padding: 12px 14px; margin: 0; color: var(--text) !important; }

/* member dashboard */
.dash-hero { background: radial-gradient(70% 120% at 90% 0%, rgba(25, 195, 255, .28), transparent 60%), linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; padding: 28px 0 34px; }
.dash-hero-in { display: grid; gap: 10px; }
.dash-hi { margin: 0; color: rgba(255, 255, 255, .75); }
.dash-hi b { color: #fff; }
.dash-hero h1 { margin: 0; font-size: clamp(1.7rem, 4.5vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
.dash-sub { margin: 0; color: rgba(255, 255, 255, .8); font-size: 1.05rem; }
.dash-cta { width: auto; justify-self: start; margin-top: 8px; padding-inline: 26px; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 18px; max-width: 560px; }
.wk { display: grid; justify-items: center; gap: 2px; padding: 10px 0 8px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.wk-d { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: rgba(255, 255, 255, .6); }
.wk-n { font-size: 1.15rem; font-weight: 800; }
.wk-m { display: flex; gap: 3px; height: 8px; }
.wk.now { border-color: rgba(255, 255, 255, .45); }
.wk.on { background: rgba(255, 255, 255, .16); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); flex: none; }
.dot.s2 { background: #a78bfa; }

.dash { display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-areas: "flash flash" "main side" "how side"; gap: 8px 32px; padding-top: 8px; padding-bottom: 56px; align-items: start; }
.dash-main { grid-area: main; }
.dash-side { grid-area: side; }
.dash-how { grid-area: how; }
.dash-flash { grid-area: flash; margin: 16px 0 0; }
.dash .mh2 { margin: 26px 0 12px; }
@media (max-width: 900px) { .dash { grid-template-columns: 1fr; grid-template-areas: "flash" "main" "side" "how"; } }
@media (max-width: 420px) { .wk-d { font-size: .58rem; letter-spacing: 0; } .week { gap: 5px; } }

.ticket { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); margin-bottom: 14px; overflow: hidden; }
.ticket-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 20px 20px; color: #fff; background: linear-gradient(135deg, #0b6cff, #19c3ff); }
.ticket.s2 .ticket-top { background: linear-gradient(135deg, #5b4bd6, #8b5cf6); }
.ticket-top p { margin: 0; }
.ticket-brand { font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; }
.ticket-day { opacity: .9; }
.tbadge { font-size: .75rem; font-weight: 700; border-radius: 999px; padding: 5px 11px; white-space: nowrap; background: rgba(255, 255, 255, .2); color: #fff; }
.tbadge.today { background: #fff; color: #166534; }
.ticket-body { position: relative; padding: 18px 20px 20px; display: grid; gap: 6px; border-top: 2px dashed var(--line); }
.ticket-body::before, .ticket-body::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); }
.ticket-body::before { left: -11px; }
.ticket-body::after { right: -11px; }
.ticket-body p { margin: 0; }
.ticket-body .btn { justify-self: start; margin-top: 8px; }
.tprog { height: 8px; border-radius: 999px; background: #e8eef6; overflow: hidden; margin-bottom: 4px; }
.tprog span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent-2), var(--accent)); }
.ticket.s2 .tprog span { background: linear-gradient(90deg, #a78bfa, #6d4fe0); }

.empty { display: grid; justify-items: start; gap: 10px; }
.empty .mi { width: 40px; height: 40px; color: var(--accent); }
.empty p { margin: 0; }
.past { margin: 4px 0 0; }
.past summary { cursor: pointer; font-weight: 600; color: var(--muted); }
.past p { margin: 6px 0 0; }

.howto { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.howto li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.howto span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.howto p { margin: 3px 0 0; color: var(--muted); }
.howto b { color: var(--text); }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile-form { margin: 0; display: grid; }
.tile { display: grid; justify-items: start; gap: 10px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--text); text-decoration: none; font: inherit; font-weight: 700; text-align: left; cursor: pointer; transition: transform .15s, border-color .15s; }
.tile:hover { transform: translateY(-2px); border-color: #b9c6d6; }
.mi { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile .mi { color: var(--accent); background: var(--accent-soft); border-radius: 10px; padding: 7px; width: 40px; height: 40px; }
.recent { display: grid; gap: 12px; }
.rw { display: flex; gap: 12px; align-items: flex-start; }
.rw .dot { margin-top: 7px; }
