/* Tatamis: juoda ir šiaudų geltona (kaip tatamio danga). Vienas tamsus stilius visur. */
/* Tatamis – Apple stiliaus dizainas. Šviesi ir tamsi tema pagal įrenginį; akcentas – tatamio šiaudų geltona. */
:root {
  --bg: #f4f4f5;
  --surface: #ffffff;
  --surface-2: #ececef;
  --surface-3: #ffffff;
  --bg-soft: #f4f4f5;
  --frame: #e7e7e9;
  --ink: #1c1c1e;
  --ink-text: #ffffff;
  --text: #1c1c1e;
  --muted: #6e6e73;
  --line: rgb(60 60 67 / .13);
  --card-border: rgb(60 60 67 / .06);
  --accent: #9a6400;
  --accent-fill: #f5b82e;
  --accent-ink: #1d1503;
  --accent-soft: #fff4d6;
  --ok: #1a7f37;
  --on-ok: #ffffff;
  --ok-soft: #e4f6e9;
  --warn: #9a6400;
  --warn-soft: #fff4d6;
  --bad: #d70015;
  --bad-soft: #ffe8e7;
  --glass: rgb(249 249 251 / .78);
  --card-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 6px 24px rgb(0 0 0 / .04);
  --shadow: 0 1px 4px rgb(0 0 0 / .12), 0 0 0 .5px rgb(0 0 0 / .04);
  --sheet-bg: #f4f4f5;
  color-scheme: light;
  --radius: 18px;
  --tabbar-h: 62px;
  --sidebar-w: 248px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.32, .72, 0, 1);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0f0f10;
  --surface: #1c1c1e;
  --surface-2: #2c2c2e;
  --surface-3: #2c2c2e;
  --bg-soft: #26262a;
  --frame: #000000;
  --ink: #f5f5f7;
  --ink-text: #111113;
  --text: #f5f5f7;
  --muted: #98989f;
  --line: rgb(255 255 255 / .1);
  --card-border: rgb(255 255 255 / .05);
  --accent: #f5c14b;
  --accent-fill: #f0b429;
  --accent-ink: #1d1503;
  --accent-soft: color-mix(in srgb, var(--accent-fill) 16%, transparent);
  --ok: #32d74b;
  --on-ok: #04210c;
  --ok-soft: rgb(50 215 75 / .15);
  --warn: #f5c14b;
  --warn-soft: color-mix(in srgb, var(--accent-fill) 16%, transparent);
  --bad: #ff6961;
  --bad-soft: rgb(255 69 58 / .17);
  --glass: rgb(22 22 24 / .74);
  --card-shadow: none;
  --shadow: 0 1px 4px rgb(0 0 0 / .4);
  --sheet-bg: #1c1c1e;
  color-scheme: dark;
} }
/* Sritys, kurios visada tamsios (pvz. pradžios puslapio viršus su nuotrauka) */
:root[data-theme="dark"], .force-dark, .landing-hero {
  --bg: #0f0f10;
  --surface: #1c1c1e;
  --surface-2: #2c2c2e;
  --surface-3: #2c2c2e;
  --bg-soft: #26262a;
  --frame: #000000;
  --ink: #f5f5f7;
  --ink-text: #111113;
  --text: #f5f5f7;
  --muted: #98989f;
  --line: rgb(255 255 255 / .1);
  --card-border: rgb(255 255 255 / .05);
  --accent: #f5c14b;
  --accent-fill: #f0b429;
  --accent-ink: #1d1503;
  --accent-soft: color-mix(in srgb, var(--accent-fill) 16%, transparent);
  --ok: #32d74b;
  --on-ok: #04210c;
  --ok-soft: rgb(50 215 75 / .15);
  --warn: #f5c14b;
  --warn-soft: color-mix(in srgb, var(--accent-fill) 16%, transparent);
  --bad: #ff6961;
  --bad-soft: rgb(255 69 58 / .17);
  --glass: rgb(22 22 24 / .74);
  --card-shadow: none;
  --shadow: 0 1px 4px rgb(0 0 0 / .4);
  --sheet-bg: #1c1c1e;
  color-scheme: dark;
  color: var(--text);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.47 var(--font); letter-spacing: -.01em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh; -webkit-tap-highlight-color: transparent; overflow-x: clip;
  padding-bottom: env(safe-area-inset-bottom);
}
body.has-tabbar { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.01em; font-family: var(--display); }
h1 { font-size: 2.125rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.1; overflow-wrap: anywhere; }
h2 { font-size: 1.1rem; font-weight: 700; }
h3 { font-size: 1rem; font-weight: 700; }
/* Mažas geltonas užrašas virš antraštės */
.kicker { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; display: block; }
.kicker::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--accent-fill); vertical-align: middle; margin-right: 8px; }
p { margin: 0; }
main { max-width: 760px; margin: 0 auto; padding: 16px; outline: none; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.stack > * + * { margin-top: 12px; }
.stack-lg > * + * { margin-top: 24px; }
.row { display: flex; gap: 10px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.spread { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pre { white-space: pre-line; }

/* ---- viršutinė juosta ---- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top));
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; letter-spacing: -.01em; text-decoration: none; font-size: 1.2rem; }
.brand-mark { width: 30px; height: 30px; display: block; }
#topnav { display: flex; gap: 8px; align-items: center; }

/* ---- mygtukai ---- */
.btn {
  appearance: none; border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font: inherit; font-weight: 700; font-size: .95rem; line-height: 1;
  min-height: 44px; padding: 0 16px; border-radius: 14px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; white-space: nowrap;
  transition: transform .08s, background .15s;
}
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--accent-ink); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.danger { color: var(--bad); }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: .875rem; border-radius: 9px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn { width: 44px; padding: 0; }
.btn svg, .tabbar svg { width: 20px; height: 20px; flex: none; }

/* ---- kortelės ---- */
.card { background: var(--surface); border: .5px solid var(--card-border); border-radius: var(--radius); padding: 16px; box-shadow: var(--card-shadow); }
.card.flush { padding: 0; overflow: hidden; }
a.card { display: block; text-decoration: none; }
a.card:active { transform: scale(.99); }
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 28px 0 10px; }
.section-title h2 { font-size: 1.05rem; }

/* ---- įvadinis ---- */
.hero { padding: 20px 0 8px; }
.hero h1 { font-size: clamp(2.3rem, 11vw, 3.4rem); letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { color: var(--muted); margin-top: 10px; font-size: 1.05rem; max-width: 32ch; }
.search { position: relative; margin-top: 20px; }
.search input { padding-left: 44px; height: 52px; font-size: 1rem; border-radius: 14px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px 4px; margin: 12px -16px 0; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font: inherit; font-size: .875rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap;
}
.chip[aria-pressed="true"] { background: var(--accent-fill); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }
.chip .count { opacity: .6; margin-left: 4px; }

.card.club-card { display: flex; gap: 14px; align-items: flex-start; }
.club-logo {
  flex: none; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; background: var(--c, var(--accent));
}
.club-card h3 { font-size: 1.05rem; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: .85rem; margin-top: 4px; }
.price-from { font-weight: 700; color: var(--text); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }

/* ---- klubo puslapis ---- */
/* Klubo spalva – tik akcentas (juostelė viršuje ir logotipas), visa kita – Tatamis juoda ir geltona */
.club-hero {
  margin: -16px -16px 0; padding: 10px 16px 22px;
  border-top: 4px solid var(--c); border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 14%, var(--bg)), var(--bg) 70%);
}
.club-head { display: flex; gap: 14px; align-items: center; margin-top: 10px; }
.club-head h1 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
.club-head .kicker { margin-bottom: 4px; }
.club-logo.lg { width: 64px; height: 64px; font-size: 1.35rem; border-radius: 16px; }
.club-hero .tags { margin-top: 14px; }
.club-hero p.desc { margin-top: 14px; color: var(--text); opacity: .88; max-width: 60ch; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.fact b { display: block; font-family: var(--display); font-size: 1.25rem; font-weight: 700; line-height: 1.1; color: var(--accent); }
.fact span { font-size: .75rem; color: var(--muted); font-weight: 600; }

.week .day { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); }
.week .day:first-child { border-top: 0; }
.week .day-name { font-size: .8rem; font-weight: 700; color: var(--muted); padding-top: 1px; }
.week .day-name span { display: block; font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-top: 2px; }
.week .day.today { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.week .day.today .day-name { color: var(--text); }
.week .slots > * + * { margin-top: 6px; }
.week .slot { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; font-size: .88rem; line-height: 1.3; }
.week .slot b { font-variant-numeric: tabular-nums; }
.fact b small { font-size: .7rem; font-weight: 700; color: var(--muted); font-family: var(--font); }

.program .level { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.prog-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: .82rem; font-weight: 600; }
.prog-meta span { display: inline-flex; gap: 6px; align-items: center; }
.prog-meta svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.avatar.brand { background: var(--accent-fill); color: var(--accent-ink); font-family: var(--display); font-weight: 700; }
.ci { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.ci svg { width: 20px; height: 20px; }
.member-note { margin-top: 24px; border-style: dashed; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; gap: 8px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.actionbar .btn { min-height: 50px; }
.actionbar .icon-btn { width: 50px; }
.actionbar-space { height: calc(76px + env(safe-area-inset-bottom)); }
@media (min-width: 800px) { .actionbar { left: calc(50% - 380px); right: calc(50% - 380px); border: 1px solid var(--line); border-bottom: 0; border-radius: 16px 16px 0 0; } }

.trainer { display: flex; gap: 12px; align-items: flex-start; }
.avatar {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: .9rem; background: var(--surface-2); color: var(--text);
}
.avatar.lg { width: 56px; height: 56px; font-size: 1.1rem; }
.scroller { display: flex; gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > .card { flex: 0 0 min(82%, 320px); scroll-snap-align: start; }

.program { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; }
.price { text-align: right; flex: none; }
.price b { font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; display: block; line-height: 1.1; }
.price span { font-size: .8rem; color: var(--muted); }

/* ---- formos ---- */
label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--muted); }
.field + .field { margin-top: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-2 .field + .field { margin-top: 0; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 16px; /* 16px – kad iPhone nepriartintų */
  color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 11px 12px; min-height: 46px; outline: none;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input[type="color"] { padding: 4px; height: 46px; }
.hint { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.error { color: var(--bad); font-size: .9rem; font-weight: 600; }
.segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--surface-2); padding: 4px; border-radius: 12px; gap: 4px; }
.segmented button { border: 0; background: transparent; font: inherit; font-weight: 600; font-size: .9rem; padding: 9px 6px; border-radius: 9px; color: var(--muted); cursor: pointer; }
.segmented button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }

.auth { max-width: 420px; margin: 12px auto 0; }

/* ---- trenerio panelė ---- */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.page-head h1 { font-size: 1.45rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { padding: 14px; }
.stat b { display: block; font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.stat span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.stat.alert b { color: var(--bad); }
a.stat { text-decoration: none; }

.list { list-style: none; margin: 0; padding: 0; }
.list > li { border-top: 1px solid var(--line); }
.list > li:first-child { border-top: 0; }
.item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 64px; text-decoration: none; }
.item .grow .ellipsis + .ellipsis { font-size: .85rem; color: var(--muted); }
.item:active { background: var(--surface-2); }

.badge { font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.soon { background: var(--warn-soft); color: var(--warn); }
.badge.overdue { background: var(--bad-soft); color: var(--bad); }
.badge.none { background: var(--surface-2); color: var(--muted); }
.badge.kind-mokejimas { background: var(--bad-soft); color: var(--bad); }
.badge.kind-namu { background: var(--ok-soft); color: var(--ok); }
.badge.kind-bendras { background: var(--surface-2); color: var(--muted); }

.check {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: transparent;
  display: grid; place-items: center; cursor: pointer; color: transparent; transition: all .15s;
}
.check svg { width: 22px; height: 22px; }
.check[aria-pressed="true"] { background: var(--ok); border-color: var(--ok); color: var(--on-ok); }

.fab {
  position: fixed; right: 16px; bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom)); z-index: 15;
  width: 56px; height: 56px; border-radius: 18px; border: 0; background: var(--accent-fill); color: var(--accent-ink);
  display: grid; place-items: center; box-shadow: 0 6px 20px color-mix(in srgb, var(--accent-fill) 25%, transparent); cursor: pointer;
}
.fab svg { width: 26px; height: 26px; }
@media (min-width: 800px) { .fab { right: calc(50% - 380px + 16px); } }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.tabbar[hidden] { display: none; }
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: .72rem; font-weight: 600; text-decoration: none; color: var(--muted); position: relative;
}
.tabbar a[aria-current="page"] { color: var(--accent); }
.tabbar svg { width: 24px; height: 24px; }
.dot { position: absolute; top: 9px; left: calc(50% + 8px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--accent-fill); color: var(--accent-ink); font-size: .65rem; display: grid; place-items: center; }

.student-head { display: flex; gap: 14px; align-items: center; }
.actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.action {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); font: inherit; font-size: .75rem; font-weight: 600; color: var(--text); cursor: pointer; text-align: center;
}
.action svg { width: 22px; height: 22px; color: var(--accent); }
.action[aria-pressed="true"] { background: var(--ok); border-color: var(--ok); color: var(--on-ok); }
.action[aria-pressed="true"] svg { color: var(--on-ok); }

.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal div { aspect-ratio: 1; border-radius: 6px; background: var(--surface-2); display: grid; place-items: center; font-size: .7rem; color: var(--muted); }
.cal div.on { background: var(--ok); color: var(--on-ok); font-weight: 700; }
.cal div.today { outline: 2px solid var(--text); outline-offset: -2px; }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: .92rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }

.msg { padding: 14px; }
.msg h3 { font-size: .98rem; }
.msg .body { margin-top: 6px; white-space: pre-line; font-size: .95rem; }
.msg.unread { border-left: 4px solid var(--accent); }

.empty { text-align: center; padding: 32px 16px; color: var(--muted); }
.empty svg { width: 40px; height: 40px; opacity: .5; margin-bottom: 8px; }

/* ---- apatinis langas (sheet) ---- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 50; background: rgb(0 0 0 / .45); display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
.sheet {
  width: 100%; max-width: 560px; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); border-radius: 28px 28px 0 0; padding: 8px 16px calc(20px + env(safe-area-inset-bottom));
  animation: up .22s cubic-bezier(.2, .9, .3, 1);
}
.sheet .grabber { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 4px auto 12px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
@media (min-width: 700px) {
  .sheet-backdrop { align-items: center; }
  .sheet { border-radius: 20px; }
}
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }

#toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 24px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px);
  background: var(--text); color: var(--bg); padding: 11px 18px; border-radius: 12px; font-weight: 600; font-size: .92rem;
  opacity: 0; pointer-events: none; transition: all .2s; z-index: 60; max-width: calc(100% - 32px);
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

.portal-status { text-align: center; padding: 22px 16px; }
.portal-status b { display: block; font-size: 1.5rem; margin-top: 4px; }
.portal-status.overdue { background: var(--bad-soft); border-color: transparent; }
.portal-status.soon { background: var(--warn-soft); border-color: transparent; }
.portal-status.ok { background: var(--ok-soft); border-color: transparent; }

.footer { text-align: center; color: var(--muted); font-size: .8rem; padding: 32px 0 16px; }
.skeleton { height: 88px; border-radius: var(--radius); background: linear-gradient(90deg, var(--surface-2), var(--surface), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (min-width: 700px) {
  main { padding: 24px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .club-hero { margin: -24px -24px 0; padding: 14px 24px 28px; border-radius: 0 0 20px 20px; }
  .contact-row { max-width: 420px; }
  .club-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .club-list.stack > * + * { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---- jungiklis ir pristatymo būsenos ---- */
.switch {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0;
  padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
  color: var(--text); font-size: .95rem;
}
.switch small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; margin-top: 1px; }
.switch input {
  appearance: none; -webkit-appearance: none; flex: none; width: 48px; height: 28px; min-height: 0; padding: 0; margin: 0;
  border: 0; border-radius: 14px; background: var(--line); position: relative; cursor: pointer; transition: background .15s;
}
.switch input::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .25); transition: transform .15s;
}
.switch input:checked { background: var(--ok); }
.switch input:checked::after { transform: translateX(20px); }
.stack[style*="--gap"] > * + * { margin-top: var(--gap); }
.dchips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* Blokiniai mygtukai siaurame ekrane gali keltis į kitą eilutę, kad puslapis nebūtų platesnis už telefoną */
.grid-2 > * { min-width: 0; }
.btn.block { white-space: normal; line-height: 1.2; padding-top: 8px; padding-bottom: 8px; text-align: center; }

/* ---- trenerio panelė: šiandienos treniruotės, grupės režimas, mokėjimo būsena ---- */
.card.session { display: flex; gap: 14px; align-items: center; }
.session-time { flex: none; width: 56px; text-align: center; border-right: 1px solid var(--line); padding-right: 12px; }
.session-time b { display: block; font-family: var(--display); font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.session-time span { font-size: .75rem; color: var(--muted); }
.session h3 { font-size: .98rem; }
.session.now { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.session.past { opacity: .7; }
.session-go { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-fill); color: var(--accent-ink); }
.session-go svg { width: 20px; height: 20px; }
.progress { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; margin: 8px 0 6px; }
.progress i { display: block; height: 100%; background: var(--ok); border-radius: 3px; transition: width .2s; }
.group-card { margin-bottom: 14px; border-color: var(--accent); }
.group-card .btn { margin-top: 4px; }
.group-count { flex: none; font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--muted); }
.group-count b { font-size: 1.8rem; color: var(--text); }
.chip.sm { font-size: .8rem; padding: 5px 12px; }
.status-card { margin-top: 14px; display: grid; gap: 12px; }
.status-card.overdue { border-color: var(--bad); background: var(--bad-soft); }
.status-card.overdue .ci { background: rgb(255 107 74 / .18); color: var(--bad); }
.status-card.soon, .status-card.none { border-color: var(--accent); background: var(--accent-soft); }

/* ---- nuotraukos ---- */
img.avatar { object-fit: cover; padding: 0; background: var(--surface-2); }
.avatar.xl { width: 84px; height: 84px; font-size: 1.5rem; }
img.club-logo.photo { object-fit: cover; background: var(--surface-2); }
.club-hero.with-cover { padding-top: 0; }
.club-cover { display: block; width: calc(100% + 32px); margin: 0 -16px 6px; padding: 0; border: 0; background: var(--surface-2); cursor: zoom-in; position: relative; aspect-ratio: 16 / 9; max-height: 320px; overflow: hidden; }
.club-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.club-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--bg)); pointer-events: none; }
.with-cover .club-head { margin-top: -34px; position: relative; }
.with-cover .club-logo.lg { box-shadow: 0 0 0 4px var(--bg); }
.gallery-strip { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-strip::-webkit-scrollbar { display: none; }
.gphoto { flex: 0 0 auto; width: 150px; aspect-ratio: 4 / 3; border: 0; padding: 0; border-radius: 12px; overflow: hidden; background: var(--surface-2); scroll-snap-align: start; cursor: zoom-in; }
.gphoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lightbox img { width: 100%; max-height: 70dvh; object-fit: contain; border-radius: 12px; background: #000; display: block; }

.cover-edit { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; padding: 0; cursor: pointer;
  border: 2px dashed var(--line); background: var(--surface-2); color: var(--muted); font: inherit; }
.cover-edit img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-edit span { display: grid; justify-items: center; gap: 4px; padding: 12px; text-align: center; }
.cover-edit span svg { width: 28px; height: 28px; color: var(--accent); }
.cover-edit span b { color: var(--text); }
.cover-edit span small { font-size: .78rem; }
.cover-edit em { position: absolute; right: 10px; bottom: 10px; font-style: normal; font-size: .8rem; font-weight: 700; display: inline-flex; gap: 6px; align-items: center;
  background: rgb(14 16 18 / .8); color: var(--text); padding: 7px 11px; border-radius: 9px; }
.cover-edit em svg { width: 15px; height: 15px; }
.cover-edit:has(img) { border-style: solid; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 600px) { .photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pg-item, .pg-add { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.pg-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-del { position: absolute; top: 4px; right: 4px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgb(14 16 18 / .8); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.pg-del svg { width: 16px; height: 16px; }
.pg-add { border: 2px dashed var(--line); display: grid; place-content: center; justify-items: center; gap: 2px; color: var(--accent); font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; }
.pg-add svg { width: 24px; height: 24px; }
@media (min-width: 700px) { .club-cover { width: calc(100% + 48px); margin: 0 -24px 6px; } }
.club-hero.with-cover { position: relative; }
.with-cover > .row.spread { position: absolute; top: 10px; left: 16px; right: 16px; z-index: 2; }
.with-cover > .row.spread .btn { background: rgb(14 16 18 / .65); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); margin-left: 0 !important; }
@media (min-width: 700px) { .with-cover > .row.spread { left: 24px; right: 24px; } }

/* ---- pakvietimai, paskelbimas, administratorius ---- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.publish { border-color: var(--accent); background: var(--accent-soft); }
.publish.on { border-color: var(--line); background: var(--surface); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; }
.checklist li { display: flex; gap: 8px; align-items: center; color: var(--muted); }
.checklist li svg { width: 16px; height: 16px; flex: none; }
.checklist li.ok { color: var(--text); }
.checklist li.ok svg { color: var(--ok); }
.preview-bar { margin: -16px -16px 16px; padding: 10px 16px; background: var(--accent-fill); color: var(--accent-ink); font-weight: 700; font-size: .85rem; display: flex; gap: 8px; align-items: center; }
.preview-bar svg { width: 18px; height: 18px; flex: none; }
@media (min-width: 700px) { .preview-bar { margin: -24px -24px 16px; } }
.onboard { border-color: var(--accent); margin-bottom: 8px; }
.req.new { border-color: var(--accent); }

/* =====================================================================
   Pristatymo (pradžios) puslapis: stiklinės kortelės ant tamsaus fono
   ===================================================================== */
.glass {
  background: var(--glass); border: .5px solid var(--card-border); border-radius: 24px;
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: var(--card-shadow);
}
.landing-hero { position: relative; width: 100vw; margin: -16px 0 0 calc(50% - 50vw); overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 45% at 78% 18%, color-mix(in srgb, var(--accent-fill) 30%, transparent), transparent 70%), radial-gradient(45% 35% at 8% 85%, color-mix(in srgb, var(--accent-fill) 14%, transparent), transparent 70%), #0b0c0e; }
/* Tatamio grindys perspektyvoje (2:1 kilimėliai) */
.hero-art::before { content: ""; position: absolute; left: -80%; right: -80%; bottom: 0; height: 95%;
  background-image: linear-gradient(color-mix(in srgb, var(--accent-fill) 42%, transparent) 2px, transparent 2px), linear-gradient(90deg, color-mix(in srgb, var(--accent-fill) 42%, transparent) 2px, transparent 2px);
  background-size: 120px 60px; transform: perspective(600px) rotateX(58deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 80%); mask-image: linear-gradient(to top, #000 10%, transparent 80%); }
.hero-art::after { content: ""; position: absolute; inset: auto 0 0; height: 16%; background: linear-gradient(transparent, var(--bg)); }
.has-photo .hero-art { background: linear-gradient(180deg, rgb(11 12 14 / .35), rgb(11 12 14 / .55) 50%, var(--bg)), var(--hero) center / cover no-repeat; }
.has-photo .hero-art::before { display: none; }
.hero-inner { max-width: 760px; margin: 0 auto; padding: 20px 16px 44px; min-height: min(calc(100svh - 60px), 820px); display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; }
.hero-card { padding: 16px; margin-bottom: auto; }
.hero-brand { font-family: var(--display); font-weight: 700; letter-spacing: .16em; font-size: 1.05rem; }
.hero-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: .5px solid var(--line); }
.hero-prices span { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; }
.hero-prices b { font-family: var(--display); font-size: 1.7rem; font-weight: 700; line-height: 1.1; }
.hero-prices b small, .p-amount small { font-size: .8rem; color: var(--muted); font-weight: 700; font-family: var(--font); }
.hero-title { font-size: clamp(2.9rem, 14vw, 5rem); letter-spacing: -.02em; line-height: .95; }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub { color: rgb(243 241 236 / .82); font-size: 1.05rem; max-width: 34ch; }
.hero-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-ctas .btn { min-height: 52px; border-radius: 16px; }
.glass-btn { background: rgb(28 28 30 / .55); border-color: rgb(255 255 255 / .14); color: #f5f5f7; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hero-search { position: relative; border-radius: 18px; margin-bottom: 10px; }
.hero-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.hero-search input { background: transparent; border: 0; height: 54px; padding-left: 48px; font-size: 1rem; box-shadow: none; }

.l-section { margin-top: 64px; scroll-margin-top: 72px; }
.l-h2 { font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.02; margin-bottom: 10px; }
.l-lead { font-size: 1.05rem; max-width: 46ch; margin-bottom: 18px; }
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
.feature { padding: 18px; }
.feature h3 { margin: 12px 0 4px; font-size: 1.02rem; }
.f-ico { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent-fill) 25%, transparent); }
.f-ico svg { width: 22px; height: 22px; }
.steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; }
.steps li > b { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-fill); color: var(--accent-ink); font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.pricing { display: grid; gap: 12px; margin-top: 16px; }
@media (min-width: 600px) { .pricing { grid-template-columns: 1fr 1fr; align-items: start; } }
.price-card { padding: 22px; display: grid; gap: 12px; }
.price-card.featured { border: 1.5px solid var(--accent); box-shadow: 0 12px 50px color-mix(in srgb, var(--accent-fill) 12%, transparent), inset 0 1px 0 rgb(255 255 255 / .06); }
.p-amount { font-family: var(--display); font-size: 2.3rem; font-weight: 700; line-height: 1; }
.p-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.p-list li { display: flex; gap: 10px; align-items: baseline; }
.p-list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-fill); transform: translateY(-1px); }
.stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
@media (min-width: 700px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }
.stat-big { padding: 18px 16px; }
.stat-big b { display: block; font-family: var(--display); font-size: 2rem; font-weight: 700; color: var(--accent); line-height: 1.05; }
.stat-big span { font-size: .82rem; color: var(--muted); font-weight: 600; }
.testimonials { display: flex; gap: 12px; overflow-x: auto; margin: 16px -16px 0; padding: 0 16px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.testimonials::-webkit-scrollbar { display: none; }
.testimonial { flex: 0 0 min(84%, 340px); margin: 0; padding: 20px; scroll-snap-align: start; display: grid; gap: 14px; }
.testimonial blockquote { margin: 0; font-size: .98rem; }
.testimonial figcaption { display: grid; }
.faq { display: grid; gap: 10px; margin-top: 16px; }
.faq details { padding: 0; border-radius: 18px; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--accent); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 18px 16px; margin: 0; }
.cta-card { padding: 24px; display: grid; gap: 12px; border-color: color-mix(in srgb, var(--accent-fill) 40%, transparent); }
.l-footer { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 48px 0 calc(90px + env(safe-area-inset-bottom)); margin-top: 48px; border-top: 1px solid var(--line); }
.l-footer > b { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; font-size: 1.2rem; }
.l-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: .9rem; }
.l-footer nav a { text-decoration: none; color: var(--muted); }
.fab-menu { transition: opacity .25s, transform .25s; }
.fab-menu.hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }
.fab-menu { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 25; display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--accent-fill); color: var(--accent-ink); font: inherit; font-weight: 700; cursor: pointer;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent-fill) 30%, transparent), 0 2px 6px rgb(0 0 0 / .4); }
.fab-menu svg { width: 20px; height: 20px; }
.menu-list { display: grid; gap: 6px; }
.menu-item { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; text-align: left; }
.menu-item svg { width: 20px; height: 20px; color: var(--accent); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
@media (min-width: 700px) { .landing-hero { margin-top: -24px; } .hero-inner { padding: 32px 24px 56px; } .testimonials { margin: 16px -24px 0; padding: 0 24px 6px; } }
.section-title h2.l-h2 { font-size: clamp(1.7rem, 8vw, 2.4rem); margin-bottom: 0; }

/* ---- mokinio paskyra ir registracijos ---- */
.code-input { font-family: var(--display); font-size: 1.8rem; font-weight: 700; letter-spacing: .4em; text-align: center; height: 64px; }
.book-day + .book-day { margin-top: 10px; }
.bd-head { padding: 10px 14px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.bd-head.today { color: var(--accent); }
.book-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); }
.book-row:nth-child(2) { border-top: 0; }
.book-row.mine { background: rgb(62 207 122 / .07); }
.bt { flex: none; width: 54px; text-align: center; }
.bt b { display: block; font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums; }
.bt span { font-size: .72rem; color: var(--muted); }
.own { color: var(--accent); font-weight: 700; }
.btn.going { background: var(--ok); border-color: var(--ok); color: var(--on-ok); }
.btn.going svg { width: 16px; height: 16px; }
.book-row .btn { min-width: 84px; }
.member-card { border-left: 4px solid var(--c, var(--accent)); text-decoration: none; }
.trial-cta { margin-bottom: 10px; min-height: 52px; border-radius: 16px; }
.picked { border-color: var(--accent); }
.booked-list { border-top: 1px solid var(--line); padding-top: 10px; }
.booked-list .list > li { border-top: 1px solid var(--line); }
.booked-list .list > li:first-child { border-top: 0; }
.bname { line-height: 1.25; overflow-wrap: anywhere; }

/* ---- pokalbiai ---- */
.chat { max-height: 60vh; overflow-y: auto; display: grid; gap: 8px; padding: 14px; overscroll-behavior: contain; }
.chat-empty { text-align: center; padding: 18px 0; }
.bubble-row { display: flex; }
.bubble-row.mine { justify-content: flex-end; }
.bubble { max-width: 82%; padding: 10px 13px; border-radius: 18px 18px 18px 6px; background: var(--surface-2); font-size: .95rem; line-height: 1.4; overflow-wrap: anywhere; }
.bubble-row.mine .bubble { background: var(--accent-fill); color: var(--accent-ink); border-radius: 18px 18px 6px 18px; }
.bubble.special { border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.bubble-row.mine .bubble.special { background: var(--accent-soft); color: var(--text); border-color: color-mix(in srgb, var(--accent-fill) 35%, transparent); }
.bubble-meta { font-size: .7rem; opacity: .65; margin-top: 4px; }
.bubble .dchips { margin-top: 6px; }
.composer { display: flex; gap: 8px; align-items: flex-end; margin-top: 10px; }
.composer textarea { min-height: 46px; max-height: 160px; resize: none; border-radius: 22px; padding: 12px 16px; }
.composer .btn { flex: none; width: 46px; height: 46px; border-radius: 50%; }
.convo.unread b { color: var(--accent); }
.unread-dot { flex: none; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: var(--accent-fill); color: var(--accent-ink); font-size: .78rem; font-weight: 700; display: grid; place-items: center; }

/* ---- planai ir pratimai ---- */
button.plan-card { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.plan-card .row svg { width: 18px; height: 18px; transform: scaleX(-1); color: var(--muted); }
.plan-card.student { border-left: 4px solid var(--accent); }
.ex-item { width: 100%; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.ex-thumb { flex: none; width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); }
.ex-thumb svg { width: 20px; height: 20px; }
.ex-photo { flex: none; width: 64px; height: 64px; border-radius: 14px; object-fit: cover; background: var(--surface-2); }
.ex-photo.lg { width: 84px; height: 84px; display: grid; place-items: center; color: var(--muted); }
.ex-photo.lg svg { width: 28px; height: 28px; }
.ex-photo.xl { width: 100%; height: auto; max-height: 260px; }
.ex-num { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-family: var(--display); font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.ex { padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); display: grid; gap: 10px; }
.ex h3 { font-size: 1rem; }
.ex-dose { font-family: var(--display); font-weight: 700; color: var(--accent); margin-top: 2px; }
.ex-more summary { cursor: pointer; color: var(--muted); font-weight: 600; }
.ex-more p { margin-top: 6px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.plan-item { display: grid; gap: 10px; }
.dose-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.mini { margin: 0; display: grid; gap: 3px; }
.mini span { font-size: .68rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.mini input, .mini-note { min-height: 40px; padding: 8px 10px; font-size: 15px; border-radius: 10px; }
[data-up] svg { transform: rotate(90deg); }
[data-down] svg { transform: rotate(-90deg); }
.pick-list { max-height: 40vh; overflow-y: auto; }
.done-card { border-color: var(--accent); }

/* ---- progresas ---- */
.badge.rank { background: var(--accent-fill); color: var(--accent-ink); }
.badge.feel-1 { background: var(--ok-soft); color: var(--ok); }
.badge.feel-2 { background: var(--accent-soft); color: var(--accent); }
.badge.feel-3 { background: var(--bad-soft); color: var(--bad); }
.rank-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--muted); display: inline-block; }
.rank-dot.now { border-color: var(--accent); background: var(--accent-fill); box-shadow: 0 0 0 4px var(--accent-soft); }
.rank-stat { font-size: 1.15rem !important; line-height: 1.2 !important; color: var(--accent); }
.rank-now { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.rank-now b { font-family: var(--display); font-size: 1.6rem; font-weight: 700; color: var(--accent); line-height: 1.1; }
.ranks-line { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.ranks-line > div { display: flex; gap: 10px; align-items: center; }
.ranks-line .small { margin-left: auto; }
.mbars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; align-items: end; height: 120px; margin-top: 14px; }
.mbar { display: grid; grid-template-rows: auto 1fr auto; height: 100%; text-align: center; gap: 4px; }
.mbar b { font-size: .75rem; font-weight: 700; }
.mbar i { align-self: end; display: block; width: 100%; min-height: 4px; border-radius: 6px 6px 3px 3px; background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent-fill) 55%, transparent)); }
.mbar span { font-size: .68rem; color: var(--muted); }
.mini input::placeholder, .mini-note::placeholder { color: color-mix(in srgb, var(--muted) 50%, transparent); }
.bubble-head { display: grid; gap: 4px; justify-items: start; margin-bottom: 6px; }
.bubble-head b { font-size: .92rem; }

/* ---- prenumerata ---- */
.billing-banner { border-color: var(--accent); background: var(--accent-soft); text-decoration: none; }
.billing-banner.past_due, .billing-banner.expired { border-color: var(--bad); background: var(--bad-soft); }
.billing-banner.active, .billing-banner.free { border-color: var(--line); background: var(--surface); }
.billing-banner + .section-title { margin-top: 20px; }
.badge-col { display: grid; gap: 4px; justify-items: end; flex: none; }

/* ---- programėlė ---- */
.install-card { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; border-color: color-mix(in srgb, var(--accent-fill) 35%, transparent); }
.install-card img { border-radius: 12px; flex: none; }
.install-card b { display: block; }
.install-card > svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.install-steps { margin: 0; padding-left: 22px; display: grid; gap: 8px; }

/* ---- žymų pasirinkimas, abonementai, tvarkaraštis, DUK ---- */
.check-chips { margin-top: 2px; }
.check-chips .chip { cursor: pointer; user-select: none; position: relative; }
.check-chips input { position: absolute; opacity: 0; pointer-events: none; }
.check-chips .chip:has(input:checked) { background: var(--accent-fill); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }
.check-chips .chip:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.tag.accent { color: var(--accent); background: var(--accent-soft); }
.pass-bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; margin-top: 8px; }
.pass-bar i { display: block; height: 100%; background: var(--accent-fill); border-radius: inherit; }
.memberships { display: grid; gap: 10px; }
.mship { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.mship .price { font-family: var(--display); font-weight: 700; font-size: 1.25rem; white-space: nowrap; }
.mship .price small { font-size: .75rem; color: var(--muted); font-weight: 600; }
.slot-day { margin-top: 14px; }
.slot-day h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 2px 6px; }
.tslot { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; }
button.tslot { width: 100%; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.tslot .time { font-family: var(--display); font-weight: 700; font-size: .95rem; line-height: 1.15; }
.tslot .time small { display: block; color: var(--muted); font-weight: 600; font-size: .75rem; }
.tslot .meta { margin-top: 2px; }
.avail { font-size: .75rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.avail.yes { color: var(--ok); background: var(--ok-soft); }
.avail.few { color: var(--warn); background: var(--warn-soft); }
.avail.no { color: var(--bad); background: var(--bad-soft); }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 14px 2px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-weight: 700; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 2px 14px; color: var(--muted); white-space: pre-line; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-row { border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: grid; gap: 8px; }
.consent { display: grid; gap: 10px; }
.consent label.agree { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.consent label.agree input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--accent); }
.rules-text { max-height: 180px; overflow: auto; font-size: .85rem; color: var(--muted); white-space: pre-line; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
button.mship { width: 100%; padding: 14px; border: 1px solid var(--line); }
button.mship[aria-checked="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; background: var(--accent-soft); }
.week .slot.rich { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
.week .slot.rich .who { display: block; font-size: .78rem; color: var(--muted); }
.social-btn { display: inline-flex; align-items: center; gap: 6px; }
.dir-note { white-space: pre-line; }
.facts:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 600px) { .facts:has(> :nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fact b { white-space: nowrap; }
.week.rich .day { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.week.rich .day-name { text-transform: none; }
.week .slot.rich { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; }
.week .slot.rich > span { min-width: 0; overflow-wrap: anywhere; }
.consent label.agree input[type=checkbox] { appearance: auto; -webkit-appearance: checkbox; padding: 0; border: 0; background: none; box-shadow: none; min-height: 0; border-radius: 4px; }


/* =====================================================================
   APPLE STILIAUS SLUOKSNIS – bendri komponentai
   ===================================================================== */
body { background: var(--bg); color: var(--text); }
::selection { background: color-mix(in srgb, var(--accent-fill) 35%, transparent); }
h1, h2, h3 { letter-spacing: -.02em; }
h2 { font-size: 1.25rem; font-weight: 700; }
h3 { font-size: 1.0625rem; font-weight: 600; }
.small { font-size: .8125rem; }
main { max-width: 820px; padding: 8px 16px 24px; }

/* Didelė antraštė ir smulkus užrašas virš jos (kaip iOS) */
.kicker { font-size: .8125rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); margin-bottom: 2px; }
.kicker::before { display: none; }
.page-head { margin: 8px 0 18px; align-items: flex-end; }
.page-head h1 { font-size: 2.125rem; }
.section-title { margin: 30px 4px 8px; align-items: center; }
.section-title h2 { font-size: 1.1875rem; font-weight: 700; letter-spacing: -.02em; }
.section-title > .small.muted, .section-title > span.small { font-size: .875rem; }

/* Viršutinė juosta – stiklas */
.topbar { background: var(--glass); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: .5px solid var(--line); padding: 8px 16px; padding-top: calc(8px + env(safe-area-inset-top)); min-height: 52px; }
.brand { font-family: var(--display); font-weight: 700; font-size: 1.125rem; letter-spacing: -.02em; }
.brand-mark { width: 28px; height: 28px; border-radius: 7px; }

/* Mygtukai */
.btn { border: 0; background: var(--surface-2); color: var(--text); font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em;
  min-height: 50px; border-radius: 14px; padding: 0 18px; transition: transform .18s var(--ease), background .2s, opacity .2s; }
.card .btn:not(.primary):not(.ghost), .sheet .card .btn:not(.primary):not(.ghost) { background: var(--surface-2); }
.btn:hover { filter: brightness(.98); }
.btn:active { transform: scale(.97); opacity: .85; }
.btn.primary { background: var(--accent-fill); color: var(--accent-ink); border: 0; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost.danger, .btn.danger { color: var(--bad); }
.btn.sm { min-height: 34px; padding: 0 14px; font-size: .9375rem; border-radius: 999px; }
.btn.sm.ghost { padding: 0 10px; }
.icon-btn, .btn.icon-btn { width: 44px; padding: 0; border-radius: 999px; }
.btn.sm.icon-btn { width: 34px; }
.btn:focus-visible, .chip:focus-visible, .item:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent-fill) 55%, transparent); outline-offset: 2px; }

/* Lustai ir segmentai */
.chip { border: 0; background: var(--surface); box-shadow: var(--card-shadow), inset 0 0 0 .5px var(--line); font-weight: 500; font-size: .9375rem; padding: 7px 14px; }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); box-shadow: none; font-weight: 600; }
.segmented { background: var(--surface-2); padding: 2px; border-radius: 10px; gap: 0; }
.segmented button { font-weight: 500; font-size: .875rem; padding: 7px 6px; border-radius: 8px; color: var(--text); transition: background .2s; }
.segmented button[aria-pressed="true"] { background: var(--surface-3); box-shadow: var(--shadow); font-weight: 600; }

/* Formos – kaip iOS laukai */
label { font-size: .8125rem; font-weight: 500; color: var(--muted); margin: 0 4px 6px; }
input, select, textarea { background: var(--surface); border: 0; box-shadow: inset 0 0 0 .5px var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; font-size: 17px; transition: box-shadow .2s; }
.sheet input, .sheet select, .sheet textarea { background: var(--surface); }
input:focus, select:focus, textarea:focus { box-shadow: inset 0 0 0 1.5px var(--accent-fill), 0 0 0 4px color-mix(in srgb, var(--accent-fill) 18%, transparent); }
select { appearance: none; -webkit-appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238e8e93' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.hint { font-size: .8125rem; margin: 6px 4px 0; }

/* Sugrupuoti sąrašai (kaip „Nustatymai") */
.card.flush { border-radius: 14px; }
.list > li { border-top: 0; position: relative; }
.list > li + li::before { content: ""; position: absolute; top: 0; right: 0; left: 16px; border-top: .5px solid var(--line); }
.list > li:has(> .item > .avatar) + li::before, .list > li:has(> button.item > .avatar) + li::before { left: 72px; }
.item { padding: 11px 16px; min-height: 60px; gap: 14px; transition: background .15s; }
.item b { font-weight: 600; }
.item .grow .ellipsis + .ellipsis { font-size: .875rem; }
button.item:hover, a.item:hover { background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
.item:active { background: var(--surface-2); }
button.item[disabled] { cursor: default; }
button.item[disabled]:hover { background: none; }

/* Rodikliai */
.stats { gap: 12px; }
.stat { padding: 16px; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; min-height: 96px; }
.stat b { font-family: var(--display); font-size: 1.875rem; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { font-size: .8125rem; font-weight: 500; }
.stat.alert { background: var(--bad-soft); box-shadow: none; }

/* Ženkleliai */
.badge { font-size: .75rem; font-weight: 600; padding: 3px 9px; letter-spacing: 0; }
.badge-col { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.tag { font-weight: 500; font-size: .8125rem; background: var(--surface-2); color: var(--text); padding: 3px 10px; }
.tag.accent { background: var(--accent-soft); color: var(--accent); }

/* Avatarai ir piktogramos */
.avatar { background: linear-gradient(180deg, color-mix(in srgb, var(--muted) 55%, var(--surface)), var(--muted)); color: #fff; font-weight: 600; }
.ci { border-radius: 10px; width: 36px; height: 36px; }
.ci svg { width: 19px; height: 19px; }
.club-logo { border-radius: 14px; font-family: var(--display); font-weight: 700; box-shadow: inset 0 0 0 .5px rgb(0 0 0 / .08); }

/* Varnelė (atvyko) */
.check { border: 1.5px solid color-mix(in srgb, var(--muted) 45%, transparent); width: 34px; height: 34px; transition: all .25s var(--ease); }
.check svg { width: 18px; height: 18px; }
.check[aria-pressed="true"] { background: var(--ok); border-color: var(--ok); color: var(--on-ok); transform: scale(1.04); }

/* Apatinė juosta – stiklas */
.tabbar { background: var(--glass); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-top: .5px solid var(--line); }
.tabbar a { font-size: .6875rem; font-weight: 500; gap: 2px; color: var(--muted); transition: color .2s; }
.tabbar a[aria-current="page"] { color: var(--accent); }
.tabbar svg { width: 25px; height: 25px; }
.dot { background: var(--bad); color: #fff; font-weight: 600; }

/* Plaukiojantis mygtukas */
.fab { border-radius: 999px; box-shadow: 0 8px 24px color-mix(in srgb, var(--accent-fill) 35%, transparent), 0 2px 6px rgb(0 0 0 / .12); }

/* Apatinis langas (sheet) */
.sheet-backdrop { background: rgb(0 0 0 / .32); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); animation: fade .25s; }
.sheet { background: var(--sheet-bg); border-radius: 14px 14px 0 0; padding: 6px 16px calc(24px + env(safe-area-inset-bottom)); animation: up .42s var(--ease); box-shadow: 0 -10px 40px rgb(0 0 0 / .15); }
.sheet .card { background: var(--surface); }
.sheet .card, .sheet input, .sheet select, .sheet textarea { background: var(--surface-3); }
.sheet .grabber { width: 36px; height: 5px; background: color-mix(in srgb, var(--muted) 45%, transparent); margin: 2px auto 14px; }
.sheet-head h2 { font-size: 1.0625rem; font-weight: 600; }
@keyframes up { from { transform: translateY(100%); } }
@media (min-width: 700px) {
  .sheet { border-radius: 16px; max-width: 540px; animation: pop .3s var(--ease); }
  @keyframes pop { from { transform: scale(.96); opacity: 0; } }
}

/* Pranešimas apačioje */
#toast { background: var(--glass); color: var(--text); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px);
  box-shadow: 0 8px 30px rgb(0 0 0 / .18), inset 0 0 0 .5px var(--line); border-radius: 999px; padding: 12px 20px; font-weight: 500; }

/* Veiksmų mygtukai mokinio kortelėje */
.action { border: 0; background: var(--surface); box-shadow: var(--card-shadow), inset 0 0 0 .5px var(--card-border); border-radius: 14px; font-weight: 500; transition: transform .18s var(--ease); }
.action:active { transform: scale(.96); }
.action[aria-pressed="true"] { color: var(--on-ok); }
.action[aria-pressed="true"] svg { color: var(--on-ok); }
.cal div { border-radius: 7px; }

/* Rodiklių kortelės, faktai, kainos */
.fact { background: var(--surface); border: 0; box-shadow: var(--card-shadow), inset 0 0 0 .5px var(--card-border); border-radius: 14px; }
.fact b { color: var(--text); font-weight: 700; letter-spacing: -.02em; }
.price b { font-family: var(--display); letter-spacing: -.03em; }
.kv dd { font-weight: 500; }
.empty { padding: 40px 16px; }
.empty svg { opacity: .35; }
.skeleton { border-radius: 14px; }
.footer { font-size: .75rem; }
.member-note { border-style: solid; }
.msg.unread { border-left: 0; box-shadow: var(--card-shadow), inset 3px 0 0 var(--accent-fill); }
.billing-banner { border: 0; }

/* Veiksmų juosta apačioje */
.actionbar { background: var(--glass); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-top: .5px solid var(--line); }

/* Klubo puslapis */
.club-hero { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 16%, var(--bg)), var(--bg) 75%); border-top: 0; border-bottom: 0; }

/* Mažiau judesio, jei taip nustatyta įrenginyje */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }


/* =====================================================================
   APVALKALAS (administratorius, savininkas, treneris) – pagal pavyzdį
   ===================================================================== */
.pill { background: var(--surface); border-radius: 999px; box-shadow: var(--card-shadow), inset 0 0 0 .5px var(--card-border); display: flex; align-items: center; }
.ibtn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; position: relative; text-decoration: none; transition: background .2s, color .2s; }
.ibtn svg { width: 20px; height: 20px; }
.ibtn:hover { background: var(--bg-soft); }
.ibtn[aria-current="page"], .ibtn[aria-pressed="true"] { background: var(--ink); color: var(--ink-text); }
.bell-dot { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: #ff5b3a; box-shadow: 0 0 0 2px var(--surface); }

body.shell { background: var(--bg); }
body.shell .topbar { background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; position: relative; padding: 14px 16px 6px; padding-top: calc(14px + env(safe-area-inset-top)); gap: 12px; }
body.shell .brand { background: var(--surface); border-radius: 999px; padding: 6px 16px 6px 6px; box-shadow: var(--card-shadow), inset 0 0 0 .5px var(--card-border); font-size: 1rem; }
body.shell .brand-mark { width: 32px; height: 32px; border-radius: 50%; }
body.shell #topnav { flex: 1; justify-content: space-between; gap: 12px; min-width: 0; }
.nav-pill { padding: 5px; gap: 2px; margin: 0 auto; }
.nav-pill a { padding: 9px 18px; border-radius: 999px; font-size: .9375rem; font-weight: 500; color: var(--text); text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.nav-pill a:hover { background: var(--bg-soft); }
.nav-pill a[aria-current="page"] { background: var(--ink); color: var(--ink-text); }
.top-right { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.icon-pill { padding: 5px; gap: 2px; }
.profile-pill { border: 0; padding: 5px 14px 5px 5px; gap: 10px; font: inherit; color: var(--text); cursor: pointer; text-align: left; }
.profile-pill > svg { width: 16px; height: 16px; color: var(--muted); }
.pp-av { width: 38px; height: 38px; font-size: .85rem; }
.pp-text { display: flex; flex-direction: column; line-height: 1.2; max-width: 170px; }
.pp-text b { font-size: .875rem; font-weight: 600; }
.pp-text small { font-size: .75rem; color: var(--muted); }

.rail { display: none; }
.rail[hidden] { display: none !important; }

/* Telefonas: kompaktiška viršutė, plaukiojanti apatinė juosta */
@media (max-width: 1023px) {
  .nav-pill, .pp-text, .profile-pill > svg { display: none; }
  .profile-pill { padding: 3px; }
  body.shell .brand span { display: none; }
  body.shell .brand { padding: 4px; }
  body.shell .tabbar { left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); height: 64px; padding: 6px; border-radius: 999px; border: 0;
    display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 2px; box-shadow: 0 10px 30px rgb(0 0 0 / .14), inset 0 0 0 .5px var(--card-border); }
  body.shell .tabbar a { border-radius: 999px; color: var(--muted); }
  body.shell .tabbar a[aria-current="page"] { background: var(--ink); color: var(--ink-text); }
  body.shell .tabbar a[aria-current="page"] svg { color: var(--ink-text); }
  body.shell.has-tabbar { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  body.shell #toast { bottom: calc(92px + env(safe-area-inset-bottom)); }
  body.shell .fab { bottom: calc(88px + env(safe-area-inset-bottom)); }
}

/* Kompiuteris: rėmas, kairė piktogramų juosta, meniu viršuje */
@media (min-width: 1024px) {
  body.shell { background: var(--frame); padding: 16px; padding-bottom: 16px; }
  body.shell::before { content: ""; position: fixed; inset: 16px; border-radius: 32px; background: var(--bg); z-index: -1; }
  body.shell .topbar { padding: 18px 22px 8px; }
  body.shell .tabbar { display: none; }
  body.shell .rail { display: flex; position: fixed; left: 38px; top: 104px; bottom: 38px; width: 52px; flex-direction: column; gap: 18px; z-index: 10; }
  .rail-pill { flex-direction: column; padding: 6px; gap: 6px; border-radius: 26px; }
  .rail-bottom { margin-top: auto; }
  body.shell main { max-width: 1320px; margin: 0 0 0 76px; padding: 10px 22px 40px 22px; }
  body.shell #toast { bottom: 40px; }
  body.shell .fab { right: 48px; bottom: 48px; }
  body.shell .actionbar { left: calc(50% - 380px + 60px); right: calc(50% - 380px - 60px); bottom: 16px; border-radius: 20px; border: 0; box-shadow: var(--card-shadow); }
}

/* =====================================================================
   APŽVALGOS (dashboard)
   ===================================================================== */
.greet { margin: 10px 2px 22px; }
.greet h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 600; letter-spacing: -.035em; }
.greet p { color: var(--muted); margin-top: 6px; font-size: 1rem; }
.panel { background: var(--surface); border-radius: 24px; padding: 18px; box-shadow: var(--card-shadow), inset 0 0 0 .5px var(--card-border); min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.panel-head h2 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.02em; }
.panel-head h2 .muted { font-weight: 400; font-size: .95rem; margin-left: 4px; }
.subpanel { background: var(--bg-soft); border-radius: 18px; padding: 12px; margin-top: 16px; }
.sub-head { display: flex; gap: 8px; align-items: baseline; margin: 2px 4px 10px; font-size: .9375rem; }
.stack-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.dash { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) {
  .dash { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "a b" "c c" "d d" "f f"; }
  .d-a { grid-area: a; } .d-b { grid-area: b; } .d-c { grid-area: c; } .d-d { grid-area: d; } .d-f { grid-area: f; }
}
@media (min-width: 1240px) {
  .dash { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.12fr); grid-template-areas: "a b c" "d f f"; }
}

.big-money { font-size: 2.25rem; font-weight: 600; letter-spacing: -.035em; margin: 4px 0 8px; font-variant-numeric: tabular-nums; }
.chip-static { font-size: .8125rem; padding: 4px 12px; border-radius: 999px; box-shadow: inset 0 0 0 .5px var(--line); color: var(--text); }
.btn.ink { background: var(--ink); color: var(--ink-text); }
.d-a .btn { min-height: 48px; border-radius: 999px; font-size: .9375rem; }
.d-a .btn:not(.ink) { background: var(--bg-soft); }
.mcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mcard { background: var(--surface); border-radius: 14px; padding: 10px 11px; display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: inherit; font-size: .8125rem; min-width: 0; transition: transform .2s var(--ease); }
.mcard:hover { transform: translateY(-2px); }
.mc-num { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; margin-top: 4px; }
.mc-num small { font-size: .75rem; font-weight: 500; color: var(--muted); }
.ok-t { color: var(--ok); font-weight: 500; } .warn-t { color: var(--accent); font-weight: 500; }

.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; }
.kpi { background: var(--bg-soft); border-radius: 18px; padding: 14px 14px 12px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-height: 128px;
  text-decoration: none; color: inherit; transition: transform .2s var(--ease); min-width: 0; }
a.kpi:hover { transform: translateY(-2px); }
.kpi-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; font-size: .9375rem; }
.kpi-ic { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; box-shadow: inset 0 0 0 .5px var(--line); }
.kpi-ic svg { width: 16px; height: 16px; }
.kpi b { font-size: 2.1rem; font-weight: 600; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi-foot { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.kpi.hi { background: linear-gradient(155deg, #f9cd57 0%, #f3b22a 55%, #ea9b10 100%); color: #1d1503; box-shadow: 0 10px 26px color-mix(in srgb, #f0b429 30%, transparent); }
.kpi.hi .kpi-ic { background: rgb(255 255 255 / .35); box-shadow: none; }
.kpi.hi .trend-note { color: rgb(29 21 3 / .7); }
.trend { font-size: .75rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.trend.up { background: var(--ok-soft); color: var(--ok); } .trend.down { background: var(--bad-soft); color: var(--bad); }
.trend-note { font-size: .75rem; color: var(--muted); }

.chart-box { margin-top: 0; padding: 14px 14px 10px; }
.legend { display: flex; gap: 14px; justify-content: flex-end; font-size: .75rem; margin-bottom: 10px; }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.lgd { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.lgd.ink, .seg.ink { background: var(--ink); }
.lgd.gold, .seg.gold { background: repeating-linear-gradient(135deg, var(--accent-fill) 0 4px, color-mix(in srgb, var(--accent-fill) 62%, var(--surface)) 4px 7px); }
.chart { display: grid; grid-template-columns: 34px minmax(0, 1fr); height: 210px; gap: 6px; }
.chart-y { display: flex; flex-direction: column; justify-content: space-between; font-size: .6875rem; color: var(--muted); padding-bottom: 22px; text-align: right; }
.chart-y span { transform: translateY(-50%); }
.chart-y span:last-child { transform: none; }
.chart-plot { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; align-items: end;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(25% - 1px), var(--line) calc(25% - 1px), var(--line) 25%); background-size: 100% calc(100% - 22px); background-repeat: no-repeat; }
.bar { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.bar-stack { width: min(34px, 72%); display: flex; flex-direction: column-reverse; gap: 3px; height: 0; max-height: calc(100% - 22px); transition: height .6s var(--ease); }
.seg { border-radius: 7px; min-height: 4px; }
.bar-x { height: 22px; line-height: 22px; font-size: .6875rem; color: var(--muted); }

.meter { height: 16px; border-radius: 999px; background: repeating-linear-gradient(135deg, var(--line) 0 3px, transparent 3px 7px); box-shadow: inset 0 0 0 .5px var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #f3b22a, #f9cd57); }

.scards { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 2px 18px 4px; scroll-snap-type: x mandatory; }
.scards::-webkit-scrollbar { display: none; }
.scard { flex: 0 0 220px; min-height: 132px; border-radius: 18px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; scroll-snap-align: start;
  transition: transform .2s var(--ease); position: relative; overflow: hidden; }
.scard:hover { transform: translateY(-2px); }
.scard.dark { background: #19191b; color: #f5f5f7; }
.scard.dark::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 30px; background: rgb(255 255 255 / .04); transform: rotate(20deg); }
.scard.gold { background: linear-gradient(155deg, #f9cd57, #ea9b10); color: #1d1503; }
.scard small { opacity: .75; font-size: .75rem; }
.sc-badge { font-size: .6875rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgb(255 255 255 / .16); }
.scard.gold .sc-badge { background: rgb(255 255 255 / .4); }
.sc-time { font-size: .8125rem; font-weight: 600; font-variant-numeric: tabular-nums; }

.act .panel-head { margin-bottom: 12px; }
.act-tools { display: flex; gap: 8px; align-items: center; }
.search-sm { position: relative; }
.search-sm svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }
.search-sm input { min-height: 40px; padding: 8px 14px 8px 36px; border-radius: 999px; width: 200px; font-size: .9375rem; }
.filter-sm { position: relative; margin: 0; }
.filter-sm svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--text); pointer-events: none; }
.filter-sm select { min-height: 40px; padding: 8px 36px 8px 14px; border-radius: 999px; font-size: .9375rem; background-image: none; color: var(--text); width: auto; }
.twrap { border-radius: 16px; box-shadow: inset 0 0 0 .5px var(--line); overflow: hidden; }
.atable { width: 100%; border-collapse: collapse; font-size: .875rem; table-layout: auto; }
.atable th { text-align: left; font-weight: 500; color: var(--muted); padding: 11px 14px; background: var(--bg-soft); font-size: .8125rem; white-space: nowrap; }
.atable td { padding: 11px 14px; border-top: .5px solid var(--line); vertical-align: middle; max-width: 0; }
.atable td:first-child { width: 42%; }
.atable tr[data-href] { cursor: pointer; transition: background .15s; }
.atable tr[data-href]:hover td { background: color-mix(in srgb, var(--bg-soft) 60%, transparent); }
.atable .num { text-align: right; font-variant-numeric: tabular-nums; }
.who { display: flex; gap: 10px; align-items: center; min-width: 0; }
.who > span.ellipsis { display: flex; flex-direction: column; min-width: 0; }
.who b { font-weight: 500; }
.who small { color: var(--muted); font-size: .75rem; }
.avatar.xs { width: 30px; height: 30px; font-size: .6875rem; flex: none; }
.avatar.club-av { border-radius: 9px; background: linear-gradient(155deg, #f9cd57, #ea9b10); color: #1d1503; }
.st { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; white-space: nowrap; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex: none; }
.st.ok::before { background: #22b35e; } .st.warn::before { background: #f0b429; } .st.bad::before { background: #ff5b3a; }
@media (max-width: 719px) {
  .hide-sm { display: none; }
  .atable td:first-child { width: auto; }
  .act-tools { width: 100%; } .search-sm { flex: 1; } .search-sm input { width: 100%; }
  .mcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpi b { font-size: 1.8rem; }
}
.onboard-strip { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; margin-bottom: 16px; }
.onboard-strip small { display: block; color: var(--muted); font-size: .8125rem; }
.onboard-strip > svg { width: 18px; height: 18px; transform: rotate(-90deg); color: var(--muted); }
.req-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.req.new { box-shadow: var(--card-shadow), inset 0 0 0 1.5px var(--accent-fill); }
.segmented.seg-sm { min-width: 220px; }
.segmented.seg-sm button { padding: 6px 10px; font-size: .8125rem; }

/* Kiti puslapiai apvalkale – tos pačios kortelės */
body.shell .card { border-radius: 20px; }
body.shell .page-head h1 { font-weight: 600; letter-spacing: -.035em; }

.nowrap { white-space: nowrap; }

/* =====================================================================
   VIDINIAI PUSLAPIAI APVALKALE – tas pats stilius kaip apžvalgoje
   ===================================================================== */
body.shell main.narrow { max-width: 920px; }
body.shell .page-head { margin: 10px 2px 22px; align-items: center; }
body.shell .page-head h1 { font-size: clamp(1.9rem, 3.4vw, 2.4rem); font-weight: 600; letter-spacing: -.035em; }
.h-count { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; vertical-align: middle; }
body.shell .kicker { font-size: .875rem; color: var(--muted); }
body.shell .section-title { margin: 26px 6px 10px; }
body.shell .section-title h2 { font-size: 1.125rem; font-weight: 600; }

/* Kortelės – kaip apžvalgos skydeliai */
body.shell .card { border-radius: 22px; padding: 18px; border: 0; box-shadow: var(--card-shadow), inset 0 0 0 .5px var(--card-border); }
body.shell .card.flush { padding: 6px; }
body.shell .card.flush .item { border-radius: 16px; }
body.shell .list > li + li::before { left: 16px; right: 16px; }
body.shell a.card:hover { transform: translateY(-2px); }
body.shell a.card { transition: transform .2s var(--ease); }

/* Pagrindiniai veiksmai – tamsūs (kaip pavyzdyje), geltona – akcentams */
body.shell .btn.primary { background: var(--ink); color: var(--ink-text); }
body.shell .btn.sm { min-height: 38px; }
body.shell .fab { background: var(--ink); color: var(--ink-text); box-shadow: 0 10px 26px rgb(0 0 0 / .22); }

/* Lustai ir paieška */
body.shell .chips { margin-top: 0; }
body.shell .chips.flat { margin: 0; padding: 2px 0; flex-wrap: wrap; overflow: visible; }
body.shell .chip { background: var(--bg-soft); box-shadow: none; font-weight: 500; }
body.shell .chip[aria-pressed="true"] { background: var(--ink); color: var(--ink-text); }
body.shell .chip .count { opacity: .55; }
body.shell .search input { border-radius: 999px; }

/* Rodikliai kitur – kaip apžvalgos kortelės */
body.shell .stats { gap: 12px; }
body.shell .stat { border-radius: 20px; min-height: 104px; }

/* Skiltys stulpeliais kompiuteryje */
.blocks { display: block; }
.blk { display: block; break-inside: avoid; margin-bottom: 18px; }
.blk > .section-title { margin-top: 6px; }
@media (min-width: 1100px) { .blocks { columns: 2; column-gap: 18px; } .blk { display: inline-block; width: 100%; } }

/* Mokinių lentelė */
.students-table td:first-child { width: 34%; }
.students-table tr.inactive td { opacity: .5; }
.students-table .check { width: 32px; height: 32px; margin-left: auto; }
.students-table .badge { white-space: nowrap; }
@media (max-width: 719px) { .students-table td { padding: 10px 10px; } }

/* Mokinio kortelė */
body.shell .student-head { background: var(--surface); border-radius: 24px; padding: 18px; box-shadow: var(--card-shadow), inset 0 0 0 .5px var(--card-border); }
body.shell .actions { gap: 10px; }
body.shell .action { border-radius: 18px; padding: 14px 6px; }

/* Tvarkaraštis – dienos stulpeliais */
.days-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); align-items: start; }
.days-grid .slot-day { margin: 0; }
.days-grid .slot-day h3 { margin: 0 6px 8px; }

/* Planai – kortelių tinklelis */
body.shell .stack:has(> .plan-card) { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
body.shell .stack:has(> .plan-card) > * + * { margin-top: 0; }

/* Mokesčių kortelės, stiklinės kortelės */
body.shell .glass.price-card { background: var(--surface); border-radius: 24px; }
body.shell .segmented { background: var(--bg-soft); }
.students-table td:first-child { width: 24%; }
@media (min-width: 720px) { .show-sm { display: none !important; } }

/* Lankomumo kalendorius plačiame ekrane – ne per dideli langeliai */
.blk .cal div, main.narrow .cal div { aspect-ratio: auto; height: 34px; }
body.shell main > .segmented { max-width: 440px; background: var(--surface); box-shadow: var(--card-shadow), inset 0 0 0 .5px var(--card-border); padding: 4px; border-radius: 999px; }
body.shell main > .segmented button { border-radius: 999px; padding: 8px 14px; }
body.shell main > .segmented button[aria-pressed="true"] { background: var(--ink); color: var(--ink-text); box-shadow: none; }
/* Antriniai mygtukai: balti ant pilko fono, pilki – kortelių viduje */
body.shell .btn { background: var(--surface); box-shadow: var(--card-shadow), inset 0 0 0 .5px var(--card-border); }
body.shell :is(.card, .panel, .sheet, .subpanel, .student-head) .btn { background: var(--bg-soft); box-shadow: none; }
body.shell .btn.primary, body.shell .btn.ink, body.shell :is(.card, .panel, .sheet) .btn.primary, body.shell :is(.card, .panel, .sheet) .btn.ink { background: var(--ink); color: var(--ink-text); box-shadow: none; }
body.shell .btn.ghost, body.shell :is(.card, .panel, .sheet) .btn.ghost { background: transparent; box-shadow: none; }
body.shell .btn.danger:not(.ghost) { color: var(--bad); }
body.shell .sheet { background: var(--surface); }
body.shell .sheet input, body.shell .sheet select, body.shell .sheet textarea { background: var(--bg-soft); box-shadow: none; }
body.shell .sheet .card { background: var(--bg-soft); box-shadow: none; }
@media (max-width: 719px) {
  .students-table td:first-child { width: 62%; }
  body.shell .chips.flat { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 2px 18px; }
  body.shell .chips.flat::-webkit-scrollbar { display: none; }
  body.shell .panel, body.shell .card { padding: 14px; border-radius: 20px; }
  body.shell .chips.flat { margin: 0 -14px; padding: 2px 14px; }
  body.shell .page-head .btn.sm { padding: 0 12px; }
}

/* Naujo klubo forma */
.newclub { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.nc-main, .nc-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (min-width: 1100px) { .newclub { grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); } .nc-side { position: sticky; top: 16px; } }
.newclub .panel .field + .field, .newclub .panel .grid-2 + .field, .newclub .panel .field + .grid-2, .newclub .panel .grid-2 + .grid-2 { margin-top: 14px; }
.newclub .panel input, .newclub .panel textarea, .newclub .panel select { background: var(--bg-soft); box-shadow: none; }
.newclub .panel input:focus, .newclub .panel textarea:focus { box-shadow: inset 0 0 0 1.5px var(--accent-fill), 0 0 0 4px color-mix(in srgb, var(--accent-fill) 18%, transparent); }
.grid-3 { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-3 .field + .field { margin-top: 0; }
@media (max-width: 719px) { .grid-3 { grid-template-columns: 1fr; } }
.tr-row { display: flex; gap: 8px; align-items: flex-end; padding: 12px; border-radius: 16px; background: var(--bg-soft); }
.tr-row .grid-3 { flex: 1; min-width: 0; }
.tr-row input { background: var(--surface) !important; }
.nc-preview .club-logo { width: 52px; height: 52px; font-size: 1.05rem; }
.fee-opts { display: grid; gap: 8px; }
.fee-opt { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--bg-soft); margin: 0; cursor: pointer; color: var(--text); font-size: .9375rem; transition: box-shadow .2s; }
.fee-opt input { width: 18px; height: 18px; min-height: 0; flex: none; accent-color: #1c1c1e; box-shadow: none; padding: 0; }
.fee-opt span { display: flex; flex-direction: column; }
.fee-opt small { color: var(--muted); font-size: .8125rem; font-weight: 400; }
.fee-opt:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--surface); }
.admin-back { white-space: nowrap; }
.newclub .panel .grid-2 .field + .field, .newclub .panel .grid-3 .field + .field { margin-top: 0; }
.newclub input[type="color"] { height: 48px; min-height: 48px; padding: 6px; cursor: pointer; }
.newclub input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.newclub input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 8px; }

/* Logotipas – paveikslėlis */
img.club-logo.img { object-fit: contain; background: #fff; padding: 4px; box-shadow: inset 0 0 0 .5px rgb(0 0 0 / .08); }
.logo-edit { display: flex; gap: 14px; align-items: center; }
/* Įkėlimo plytelės naujo klubo formoje */
.uploads { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; margin-bottom: 16px; }
.up-tile { border: 1.5px dashed color-mix(in srgb, var(--muted) 45%, transparent); background: var(--bg-soft); border-radius: 18px; height: 120px; cursor: pointer; padding: 0; overflow: hidden;
  display: grid; place-items: center; color: var(--text); font: inherit; transition: border-color .2s, background .2s; }
.up-tile:hover { border-color: var(--accent-fill); }
.up-tile.has { border-style: solid; border-color: transparent; }
.up-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.up-tile.logo img { object-fit: contain; background: #fff; padding: 8px; }
.up-ph { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; padding: 8px; }
.up-ph svg { width: 22px; height: 22px; color: var(--muted); margin-bottom: 4px; }
.up-ph b { font-size: .875rem; font-weight: 600; }
.up-ph small { font-size: .75rem; color: var(--muted); }
.sub-h { font-size: .9375rem; font-weight: 600; margin: 16px 2px 8px; }
.sub-h:first-of-type { margin-top: 0; }
.add-row { margin-top: 10px; }
.rows .tr-row { margin: 0; }
.rows.stack > * + * { margin-top: 8px; }
.sheet .tr-row { background: var(--bg-soft); }
.add-row + .field, .add-row + .sub-h { margin-top: 18px; }

/* Atsakingas asmuo */
.person { display: flex; gap: 16px; align-items: flex-start; }
.up-tile.avatar-tile { width: 96px; height: 96px; border-radius: 50%; flex: none; }
.up-tile.avatar-tile img { object-fit: cover; }
@media (max-width: 719px) { .person { flex-direction: column; align-items: center; } .person > .grow { width: 100%; } }
.chip svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
/* Klubo peržiūra kuriant – tik kompiuteryje */
@media (max-width: 1099px) { .nc-preview { display: none; } }
/* Puslapio antraštė telefone: pavadinimas per visą plotį, veiksmo mygtukas po juo, žodžiai nelaužomi per vidurį */
h1 { overflow-wrap: break-word; }
@media (max-width: 719px) {
  body.shell .page-head { flex-wrap: wrap; align-items: flex-start; gap: 12px; }
  body.shell .page-head > div:first-child { flex: 1 1 100%; min-width: 0; }
  body.shell .page-head > div:first-child .grow, body.shell .page-head > .row > div { min-width: 0; }
  body.shell .page-head > .btn:not(.icon-btn) { flex: 1 1 100%; }
  body.shell .page-head .club-logo.lg { width: 52px; height: 52px; font-size: 1rem; flex: none; }
  body.shell .page-head h1 { font-size: 1.75rem; line-height: 1.15; }
  body.shell .page-head .kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
}
/* Nauja užklausa – rėmelis tokios pat spalvos kaip logotipas */
.req.new { box-shadow: var(--card-shadow), inset 0 0 0 1.5px #f0b429; }

/* Pagalbos žinutės */
.atable tr.unread b { font-weight: 700; }
.atable tr.unread td:first-child { box-shadow: inset 3px 0 0 #f0b429; }
.sup-chat { max-height: 46dvh; overflow-y: auto; padding: 4px 2px; }
.sup-photo { border: 0; padding: 0; background: none; cursor: zoom-in; border-radius: 14px; overflow: hidden; display: block; }
.sup-photo img { width: 100%; max-height: 220px; object-fit: cover; display: block; }
.up-tile.sup-up { height: 110px; width: 100%; }

/* Trenerių sąrašas administratoriui */
.trainers-table td:first-child { width: 30%; }
.trainers-table .tags { margin: 0; gap: 4px; }
.trainers-table .tag { font-size: .75rem; padding: 2px 8px; }
.club-logo.xs { width: 30px; height: 30px; border-radius: 9px; font-size: .6875rem; flex: none; }
.wrap-tools { flex-wrap: wrap; }
.as-pill { padding: 6px 12px; gap: 6px; font-size: .8125rem; font-weight: 500; max-width: 180px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as-pill svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 719px) { .as-pill { display: none; } .trainers-table td:first-child { width: auto; } .wrap-tools .filter-sm { flex: 1; } .wrap-tools .filter-sm select { width: 100%; } }
@media (max-width: 719px) { .wrap-tools .search-sm { flex: 1 1 100%; } .wrap-tools { gap: 8px; } }

/* Visi paspaudžiami elementai – rankos žymeklis (ne teksto rašymo ženklas) */
button:not(:disabled), summary, [role="button"], [role="radio"], label.chip, label.agree, label.switch, label.fee-opt,
  tr[data-href], tr[data-ticket], tr[data-tr], [data-href], .chip, .ibtn, .pill.profile-pill { cursor: pointer; }
tr[data-href] *, tr[data-ticket] *, tr[data-tr] * { cursor: inherit; }
button:disabled, .btn[disabled] { cursor: default; }

.steps-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.steps-list code, .card code { background: var(--bg-soft); padding: 1px 6px; border-radius: 6px; font-size: .8125rem; }
