/* ============================================================
   Victoria Dance School вЂ” Design System
   ============================================================ */

/* Fonts are loaded in base.html to avoid duplicate requests. */

/* в”Ђв”Ђ Tokens в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
:root {
  --bg:          #07070b;
  --surface:     #0f0f15;
  --surface-2:   #161620;
  --surface-3:   #1c1c28;
  --ink:         #f0f1f5;
  --ink-2:       #c8cad4;
  --muted:       #7c8096;
  --border:      rgba(255,255,255,0.08);
  --border-2:    rgba(255,255,255,0.13);
  --accent:      #c9566a;
  --accent-2:    #d4a574;
  --accent-3:    #7c6af5;
  --accent-soft: rgba(201,86,106,0.15);
  --green:       #22c55e;
  --red:         #ef4444;
  --blue:        #38bdf8;
  --glass:       rgba(255,255,255,0.03);
  --glass-2:     rgba(255,255,255,0.055);
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.35);
  --shadow:      0 8px 32px rgba(0,0,0,0.45);
  --shadow-lg:   0 24px 64px rgba(0,0,0,0.55);
  --ring:        rgba(201,86,106,0.5);
  --r-xs:        8px;
  --r-sm:        12px;
  --r-md:        16px;
  --r-lg:        22px;
  --r-xl:        28px;
  --px:          24px;
  --font:        "Manrope", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-d:      "Plus Jakarta Sans", "Manrope", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:     cubic-bezier(0.4, 0, 1, 1);
}

/* в”Ђв”Ђ Reset & Base в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  background: var(--bg);
  color: var(--ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(ellipse 110% 60% at 50% -10%, rgba(201,86,106,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 95% 5%,  rgba(212,165,116,0.07) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 5%  90%, rgba(124,106,245,0.06) 0%, transparent 50%);
  background-attachment: fixed;
}

/* в”Ђв”Ђ Background decorations в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.bg-noise {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0.055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.bg-grid {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 10%, transparent 65%);
}

/* в”Ђв”Ђ Typography в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
h1, h2, h3, h4 {
  font-family: var(--font-d);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.4rem, 2.8vw, 2.05rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.45rem); }
h4 { font-size: 1rem; font-weight: 600; font-family: var(--font); letter-spacing: 0; }

p { line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }

a { color: var(--ink); text-decoration: none; }

strong { color: var(--ink); font-weight: 600; }

.muted { color: var(--muted); }
.text-accent { color: var(--accent); }
.text-green  { color: var(--green); }
.text-red    { color: var(--red); }

/* в”Ђв”Ђ Layout в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--px) 60px;
  position: relative;
  z-index: 1;
}

.stack   { display: flex; flex-direction: column; }
.grid    { display: grid; gap: 16px; }
.grid-2  { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3  { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4  { grid-template-columns: repeat(4, minmax(0,1fr)); }

/* legacy compat */
.grid.two   { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }

.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }

.full-bleed {
  width: calc(100% + 2 * var(--px));
  margin-left: calc(-1 * var(--px));
  margin-right: calc(-1 * var(--px));
  border-radius: var(--r-lg);
}

/* в”Ђв”Ђ Topbar / Navigation в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.topbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  margin: 0 0 32px;
  padding: 12px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-2);
  background: rgba(10,10,16,0.75);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), var(--shadow);
  transition: background 300ms var(--ease);
}

.topbar.scrolled {
  background: rgba(8,8,14,0.92);
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-d); font-weight: 700;
  font-size: 1.05rem; letter-spacing: 0;
  color: var(--ink); flex-shrink: 0;
  white-space: nowrap;
}

.brand__text { white-space: nowrap; }

.brand__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff; font-size: 1rem; font-family: var(--font-d);
  box-shadow: 0 4px 14px rgba(201,86,106,0.4);
  flex-shrink: 0;
}

.topbar__nav {
  display: flex; align-items: center; gap: 4px;
  flex: 1; justify-content: center;
}

.topbar__nav a {
  padding: 7px 14px;
  border-radius: var(--r-sm);
  font-size: 0.88rem; font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: color 180ms, background 180ms;
}

.topbar__nav a:hover {
  color: var(--ink);
  background: rgba(255,255,255,0.06);
}

.topbar__nav a.active {
  color: var(--ink);
  background: rgba(255,255,255,0.08);
}

.topbar__actions {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}

.user-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--border-2);
  background: rgba(255,255,255,0.04);
  font-size: 0.82rem; color: var(--ink-2);
  white-space: nowrap;
}

.user-chip::before {
  content: "";
  display: inline-block; width: 7px; height: 7px;
  border-radius: 50%; background: var(--green);
  box-shadow: 0 0 6px var(--green);
}

/* в”Ђв”Ђ Buttons в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 20px; border-radius: var(--r-sm);
  font-family: var(--font); font-size: 0.9rem; font-weight: 600;
  border: none; cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease), filter 160ms, box-shadow 160ms;
  text-decoration: none;
}

.btn:active { transform: translateY(1px) scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #a8404f 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(201,86,106,0.35);
}
.btn-primary:hover { filter: brightness(1.1); box-shadow: 0 6px 24px rgba(201,86,106,0.5); }

.btn-secondary {
  background: rgba(255,255,255,0.07);
  color: var(--ink);
  border: 1px solid var(--border-2);
}
.btn-secondary:hover { background: rgba(255,255,255,0.11); }

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--border-2);
}
.btn-ghost:hover { background: rgba(255,255,255,0.05); color: var(--ink); }

.btn-danger {
  background: rgba(239,68,68,0.15);
  color: #fca5a5;
  border: 1px solid rgba(239,68,68,0.3);
}
.btn-danger:hover { background: rgba(239,68,68,0.25); }

.btn-sm { padding: 6px 14px; font-size: 0.82rem; border-radius: var(--r-xs); }
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: var(--r-md); }
.btn-full { width: 100%; }

/* legacy button (form default) */
button {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 20px; border-radius: var(--r-sm);
  font-family: var(--font); font-size: 0.9rem; font-weight: 600;
  border: 1px solid var(--border-2);
  background: rgba(255,255,255,0.07);
  color: var(--ink); cursor: pointer; width: 100%;
  transition: transform 160ms var(--ease), filter 160ms, background 160ms;
}
button:hover { background: rgba(255,255,255,0.11); }
button:active { transform: translateY(1px) scale(0.98); }

.btn-light {
  background: linear-gradient(135deg, var(--accent) 0%, #a8404f 100%);
  color: #fff; border: none;
  box-shadow: 0 4px 18px rgba(201,86,106,0.35);
}
.btn-light:hover { filter: brightness(1.1); }

/* в”Ђв”Ђ Forms в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.form-group { display: flex; flex-direction: column; gap: 6px; }

label {
  font-size: 0.82rem; font-weight: 600;
  color: var(--muted); letter-spacing: 0.03em; text-transform: uppercase;
}

input, textarea, select {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-2);
  background: rgba(0,0,0,0.28);
  color: var(--ink);
  font-family: var(--font); font-size: 0.95rem;
  transition: border-color 180ms, box-shadow 180ms;
  -webkit-appearance: none;
}

input::placeholder, textarea::placeholder { color: var(--muted); }

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,86,106,0.2);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237c8096' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

textarea { resize: vertical; min-height: 90px; }

/* form spacing */
form > * + * { margin-top: 10px; }
form > label { margin-top: 14px; }
form > label:first-child { margin-top: 0; }

/* в”Ђв”Ђ Cards в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.card {
  background: var(--glass-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 22px;
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  transition: transform 220ms var(--ease), box-shadow 220ms, border-color 220ms;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.07);
}

.card--glow:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,86,106,0.2), 0 0 30px rgba(201,86,106,0.08);
}

.card--flat { transition: none; }
.card--flat:hover { transform: none; box-shadow: none; }

/* в”Ђв”Ђ Section в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.section {
  padding: 24px 26px;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}

.section.section-block {
  background:
    radial-gradient(circle at 8% 0%,  rgba(201,86,106,0.08) 0%, transparent 45%),
    radial-gradient(circle at 95% 15%, rgba(212,165,116,0.06) 0%, transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
  margin: 24px 0;
}

.section__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 18px;
}

.section__head h2, .section__head h3 { margin: 0; }

/* legacy compat */
.section__title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section__title h2 { margin: 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* в”Ђв”Ђ KPI Cards в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.kpi {
  border-left: 3px solid var(--accent);
  background: linear-gradient(135deg, rgba(201,86,106,0.08) 0%, rgba(255,255,255,0.02) 100%);
  padding: 18px 20px;
}

.kpi .kpi__label { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 8px; }
.kpi .value { font-family: var(--font-d); font-size: 2.2rem; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.kpi .kpi__sub { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }

/* legacy .muted inside kpi */
.kpi > .muted { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }

/* в”Ђв”Ђ Status Tags в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.03em;
  white-space: nowrap;
  border: 1px solid transparent;
}

.tag-new      { background: rgba(59,130,246,0.15);  color: #93c5fd; border-color: rgba(59,130,246,0.25); }
.tag-approved { background: rgba(34,197,94,0.15);   color: #86efac; border-color: rgba(34,197,94,0.25); }
.tag-rejected { background: rgba(239,68,68,0.15);   color: #fca5a5; border-color: rgba(239,68,68,0.25); }
.tag-active   { background: rgba(34,197,94,0.15);   color: #86efac; border-color: rgba(34,197,94,0.25); }
.tag-inactive { background: rgba(107,114,128,0.15); color: #9ca3af; border-color: rgba(107,114,128,0.25); }
.tag-event    { background: rgba(212,165,116,0.15); color: #fcd9a0; border-color: rgba(212,165,116,0.25); }
.tag-news     { background: rgba(124,106,245,0.15); color: #c4b5fd; border-color: rgba(124,106,245,0.25); }

/* legacy status-tag */
.status-tag   { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; border: 1px solid transparent; }
.status-new      { background: rgba(59,130,246,0.15);  color: #93c5fd; border-color: rgba(59,130,246,0.25); }
.status-approved { background: rgba(34,197,94,0.15);   color: #86efac; border-color: rgba(34,197,94,0.25); }
.status-rejected { background: rgba(239,68,68,0.15);   color: #fca5a5; border-color: rgba(239,68,68,0.25); }

/* в”Ђв”Ђ Flash Messages в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.flash {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 20px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-2);
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(16px);
  font-size: 0.92rem; font-weight: 500;
  animation: slideDown 300ms var(--ease);
}

.flash::before {
  content: ""; display: block; width: 8px; height: 8px;
  border-radius: 50%; flex-shrink: 0;
}

.flash--ok {
  border-color: rgba(34,197,94,0.35);
  background: rgba(34,197,94,0.08);
  color: #bbf7d0;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.06);
}
.flash--ok::before { background: var(--green); box-shadow: 0 0 8px var(--green); }

.flash--error {
  border-color: rgba(239,68,68,0.35);
  background: rgba(239,68,68,0.08);
  color: #fecaca;
  box-shadow: 0 0 0 4px rgba(239,68,68,0.06);
}
.flash--error::before { background: var(--red); box-shadow: 0 0 8px var(--red); }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* в”Ђв”Ђ Lists в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.list { list-style: none; }

.list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.92rem; color: var(--ink-2);
}

.list li:last-child { border-bottom: none; }

.list li form { margin: 0; }
.list li form > * { margin: 0; }
.list li button { width: auto; padding: 5px 12px; font-size: 0.8rem; }

/* в”Ђв”Ђ Progress Bar в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.progress {
  height: 6px; border-radius: 999px;
  background: rgba(255,255,255,0.07); overflow: hidden;
}

.progress > span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  transition: width 600ms var(--ease);
}

/* в”Ђв”Ђ Pill / Badge в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.pill {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--border-2);
  background: rgba(255,255,255,0.05);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin: 0 6px 6px 0;
}

/* в”Ђв”Ђ Divider в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.divider {
  margin: 32px 0; padding: 12px 0;
  text-align: center; position: relative;
}

.divider::before, .divider::after {
  content: ""; position: absolute; top: 50%;
  width: 40%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,86,106,0.4), transparent);
}
.divider::before { left: 0; }
.divider::after  { right: 0; }

.divider span {
  display: inline-block; padding: 6px 16px;
  border-radius: 999px; border: 1px solid var(--border-2);
  background: rgba(12,12,18,0.7);
  backdrop-filter: blur(12px);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}

/* в”Ђв”Ђ Hero в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.hero {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--border-2);
  margin-bottom: 32px;
  box-shadow: var(--shadow-lg);
}

.hero--overlay {
  min-height: min(80vh, 740px);
  display: flex; align-items: flex-end;
}

.hero__inner {
  width: 100%;
  padding: clamp(28px, 5vw, 60px) clamp(24px, 4vw, 52px);
  background: linear-gradient(180deg, transparent 0%, rgba(5,5,10,0.5) 30%, rgba(5,5,10,0.92) 100%);
  border-radius: inherit;
}

.hero__content { max-width: 660px; position: relative; z-index: 1; }

.hero__eyebrow {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.06; margin-bottom: 18px;
  color: #fff;
}

.hero__lead {
  color: rgba(240,241,245,0.85);
  font-size: 1.05rem; line-height: 1.65;
  max-width: 520px;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 26px;
}

.hero-actions a, .hero-actions button { width: auto; }

/* в”Ђв”Ђ Video Background в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
body.has-video-bg { background: #05050a; }

.site-video-bg {
  position: fixed; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}

.site-video-bg__video {
  position: absolute; left: 50%; top: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate3d(-50%, calc(-50% + var(--py,0px)), 0);
  object-fit: cover;
  filter: saturate(0.88) contrast(1.05) brightness(0.9);
}

.site-video-bg__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(0,0,0,0.1), transparent 50%),
    linear-gradient(180deg, rgba(5,5,10,0.35) 0%, rgba(5,5,10,0.72) 50%, rgba(4,4,8,0.92) 100%);
}

body.has-video-bg .bg-noise,
body.has-video-bg .bg-grid { z-index: 1; }
body.has-video-bg .container { z-index: 2; }
body.has-video-bg .section.section-block {
  background: rgba(8,8,14,0.75);
  backdrop-filter: blur(18px) saturate(140%);
}

@supports (-webkit-touch-callout: none) {
  .site-video-bg__video { transform: translate(-50%, -50%); }
}

/* в”Ђв”Ђ Teacher / Showcase в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.teacher-card {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
  overflow: hidden;
}

.showcase-split {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,0.8fr);
  gap: 24px; align-items: stretch;
}

.showcase-copy {
  display: flex; flex-direction: column; justify-content: center;
}

.showcase-copy__title { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 12px; }
.showcase-copy__text  { color: var(--muted); line-height: 1.7; }

.teacher-photos {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px;
}

.media-frame {
  margin: 0; padding: 10px;
  border-radius: var(--r-md); border: 1px solid var(--border);
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  min-height: 200px; overflow: hidden;
}

.media-frame img {
  display: block; width: auto; height: auto;
  max-width: 100%; max-height: min(70vh, 660px);
  object-fit: contain; object-position: center;
  border-radius: calc(var(--r-sm) - 2px);
}

.media-frame--tall { min-height: 340px; }

/* в”Ђв”Ђ Program / Schedule Cards в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.program-card {
  border-left: 3px solid var(--accent);
  background: linear-gradient(135deg, rgba(201,86,106,0.06) 0%, rgba(255,255,255,0.02) 100%);
}

.program-card .day-time {
  font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent-2); margin-bottom: 8px;
}

.program-card h4 { font-size: 1rem; margin-bottom: 4px; }
.program-card .coach { font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; }

/* в”Ђв”Ђ Horizontal scroll cards в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.cards-scroll {
  display: grid; gap: 14px; margin-top: 12px;
}

.cards-scroll__item { width: auto; }

/* в”Ђв”Ђ Quote / Review в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.quote {
  position: relative;
}

.quote::before {
  content: "\201C";
  position: absolute; top: 12px; left: 16px;
  font-family: var(--font-d); font-size: 3rem;
  color: var(--accent); opacity: 0.25; line-height: 1;
  pointer-events: none;
}

.quote p { padding-left: 8px; }

.stars {
  display: flex; gap: 3px; margin-bottom: 8px;
}

.star { color: var(--accent-2); font-size: 0.85rem; }
.star.empty { color: var(--border-2); }

/* в”Ђв”Ђ Cabinet Header в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.cabinet-header {
  background:
    radial-gradient(circle at 0% 0%, rgba(201,86,106,0.18), transparent 45%),
    linear-gradient(130deg, #13131e, #0a0a12);
  border-radius: var(--r-xl);
  padding: 28px 30px;
  margin-bottom: 20px;
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow);
}

.cabinet-header h1 { color: #fff; margin-bottom: 6px; }
.cabinet-header p  { color: rgba(240,241,245,0.7); margin: 0; }

/* в”Ђв”Ђ Signup item в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.signup-item {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.025);
  margin-bottom: 10px;
}

.signup-item:last-child { margin-bottom: 0; }

/* в”Ђв”Ђ Admin Shell в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.admin-shell {
  display: grid;
  grid-template-columns: 240px minmax(0,1fr);
  gap: 24px; align-items: start;
}

.admin-shell__aside {
  position: sticky; top: 80px; align-self: start;
  border-left: 3px solid var(--accent);
  padding: 20px 18px;
}

.admin-shell__title {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}

.admin-shell__nav { list-style: none; }

.admin-shell__nav a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 10px; border-radius: var(--r-sm);
  font-size: 0.88rem; font-weight: 600;
  color: var(--muted);
  transition: color 160ms, background 160ms;
  margin-bottom: 2px;
}

.admin-shell__nav a:hover {
  color: var(--ink); background: rgba(255,255,255,0.06);
}

.admin-shell__nav a.active {
  color: var(--ink); background: rgba(201,86,106,0.12);
  border-left: 2px solid var(--accent); padding-left: 8px;
}

.admin-shell__nav .nav-icon {
  width: 16px; height: 16px; opacity: 0.7; flex-shrink: 0;
}

.admin-shell__main { min-width: 0; padding-bottom: 100px; }

/* в”Ђв”Ђ Calendar в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
#calendar {
  background: var(--surface);
  padding: 14px; border-radius: var(--r-md);
  border: 1px solid var(--border);
}

#calendar.fc {
  --fc-border-color: rgba(255,255,255,0.08);
  --fc-page-bg-color: transparent;
  --fc-neutral-bg-color: rgba(255,255,255,0.04);
  --fc-neutral-text-color: var(--muted);
  --fc-button-text-color: var(--ink);
  --fc-button-bg-color: rgba(255,255,255,0.07);
  --fc-button-border-color: rgba(255,255,255,0.12);
  --fc-button-hover-bg-color: rgba(255,255,255,0.11);
  --fc-button-hover-border-color: rgba(255,255,255,0.18);
  --fc-today-bg-color: rgba(201,86,106,0.12);
  --fc-event-text-color: #fff;
}

/* в”Ђв”Ђ Pagination в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.pagination {
  display: flex; align-items: center; gap: 10px;
  margin: 16px 0;
}

.pagination a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 14px; border-radius: var(--r-sm);
  font-size: 0.85rem; font-weight: 600;
  border: 1px solid var(--border-2);
  background: rgba(255,255,255,0.05);
  color: var(--ink-2);
  transition: background 160ms, color 160ms;
}

.pagination a:hover { background: rgba(255,255,255,0.09); color: var(--ink); }

/* в”Ђв”Ђ Map skeleton в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.map-skeleton {
  height: 220px; border-radius: var(--r-md);
  border: 1px dashed rgba(255,255,255,0.14);
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.85rem;
}

.contact-map-wrap {
  border-radius: var(--r-md);
  border: 1px solid var(--border-2);
  overflow: hidden;
  background: rgba(255,255,255,0.02);
}

.contact-map {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
}

/* в”Ђв”Ђ Toolbar в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.toolbar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}

.toolbar a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--r-sm);
  font-size: 0.88rem; font-weight: 600;
  color: var(--muted);
  transition: color 160ms, background 160ms;
}

.toolbar a:hover { color: var(--ink); background: rgba(255,255,255,0.06); }

.toolbar__cta {
  background: linear-gradient(135deg, var(--accent), #a8404f) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(201,86,106,0.35);
  border-radius: var(--r-sm);
}

/* в”Ђв”Ђ Animations в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
[data-animate] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  transition-delay: var(--d, 0ms);
}

[data-animate].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Title letter reveal */
.title-reveal { display: inline-block; }

.title-reveal .char {
  display: inline-block;
  opacity: 0; transform: translateY(12px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}

[data-animate].is-in .title-reveal .char,
.cabinet-header .title-reveal .char {
  opacity: 1; transform: translateY(0);
  transition-delay: calc(var(--d, 0ms) + (var(--i, 0) * 14ms));
}

/* Fade in up utility */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in { animation: fadeInUp 500ms var(--ease) both; }

/* в”Ђв”Ђ Bottom Nav (mobile) в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.bottom-nav { display: none; }

.bottom-nav__item {
  position: relative; user-select: none;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px; padding: 10px 6px;
  border-radius: 12px;
  color: var(--muted); font-size: 0.7rem; font-weight: 600;
  background: rgba(255,255,255,0.04);
  transition: color 160ms, background 160ms;
}

.bottom-nav__item:hover { color: var(--ink); background: rgba(255,255,255,0.08); }

.bottom-nav__item svg { width: 20px; height: 20px; }

.bottom-nav__cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-2)) !important;
  color: #fff !important;
}

.bottom-nav__label {
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* в”Ђв”Ђ Focus styles в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ring);
}

/* в”Ђв”Ђ Reduced motion в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  [data-animate] { opacity: 1; transform: none; transition: none; }
  .card, button { transition: none; }
  .title-reveal .char { opacity: 1; transform: none; transition: none; }
  .site-video-bg__video { transform: translate(-50%, -50%) !important; }
  .animate-in { animation: none; }
}

/* в”Ђв”Ђ Hover: no-hover devices в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
@media (hover: none) {
  .card:hover { transform: none; box-shadow: none; }
}

/* в”Ђв”Ђ Responsive в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
@media (max-width: 1024px) {
  .admin-shell {
    grid-template-columns: 200px minmax(0,1fr);
  }
}

@media (max-width: 900px) {
  :root { --px: 16px; }

  .grid-2, .grid-3, .grid-4,
  .grid.two, .grid.three { grid-template-columns: 1fr; }

  .topbar__nav { display: none; }

  .topbar {
    flex-wrap: wrap;
    padding: 10px 14px;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-shell__aside {
    position: static;
    border-left: none;
    border-bottom: 1px solid var(--border);
    padding: 10px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .admin-shell__title {
    display: none;
  }

  .admin-shell__nav {
    display: flex;
    gap: 4px;
    white-space: nowrap;
  }

  .admin-shell__nav li {
    flex-shrink: 0;
  }

  .admin-shell__nav a {
    padding: 8px 12px;
    font-size: 0.8rem;
    border-left: none;
    border-radius: var(--r-xs);
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .admin-shell__nav a.active {
    border-left: none;
    background: var(--accent-soft);
    color: var(--ink);
  }

  .showcase-split {
    grid-template-columns: 1fr;
  }

  .teacher-photos {
    grid-template-columns: 1fr;
  }

  .media-frame--tall { min-height: 260px; }

  .hero--overlay { min-height: min(72vh, 620px); align-items: flex-end; }
  .hero__inner { padding: 24px 20px 30px; }
  .hero__content { max-width: none; }

  .hero-actions { flex-direction: column; }
  .hero-actions a, .hero-actions button { width: 100%; }

  .cabinet-header { padding: 20px 18px; }

  /* Horizontal scroll on mobile */
  .cards-scroll {
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cards-scroll::-webkit-scrollbar { display: none; }
  .cards-scroll__item { scroll-snap-align: start; }

  /* Bottom nav */
  .bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 10px; right: 10px; bottom: 10px;
    background: rgba(18,18,26,0.72);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 18px; padding: 8px; gap: 6px;
    z-index: 200;
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  }

  body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

  @supports (padding: max(0px)) {
    .bottom-nav { padding-bottom: max(8px, env(safe-area-inset-bottom)); }
  }

  .container { padding: 0 var(--px) 20px; }
  .topbar { margin-bottom: 20px; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.4rem; }

  .hero h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); }

  .section { padding: 16px; border-radius: var(--r-md); }
  .card    { padding: 16px 18px; }

  .cabinet-header { padding: 16px; border-radius: var(--r-lg); }

  .bottom-nav { left: 8px; right: 8px; bottom: 8px; border-radius: 16px; }
}

/* в”Ђв”Ђ Auth pages в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.auth-wrap {
  min-height: 80vh;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 0;
}

.auth-card {
  width: 100%; max-width: 420px;
  background: var(--glass-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: var(--shadow-lg);
}

.auth-card h1 { font-size: 1.8rem; margin-bottom: 6px; }
.auth-card .auth-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
.auth-card form > * + * { margin-top: 12px; }
.auth-card .auth-footer { margin-top: 20px; text-align: center; font-size: 0.88rem; color: var(--muted); }
.auth-card .auth-footer a { color: var(--accent); font-weight: 600; }
.auth-card .auth-footer a:hover { text-decoration: underline; }

/* в”Ђв”Ђ News page в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px; margin-top: 16px;
}

.news-card { display: flex; flex-direction: column; }
.news-card__body { flex: 1; }
.news-card__meta { font-size: 0.78rem; color: var(--muted); margin-top: 10px; }
.news-card__date { font-size: 0.78rem; color: var(--muted); }

/* в”Ђв”Ђ Scrollbar в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ============================================================
   NEW ADDITIONS вЂ” v2
   ============================================================ */

/* в”Ђв”Ђ Telegram button в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.btn-tg {
  background: #229ED9;
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(34,158,217,0.35);
}
.btn-tg:hover { filter: brightness(1.1); box-shadow: 0 6px 22px rgba(34,158,217,0.5); }
.btn-tg svg { flex-shrink: 0; }

/* в”Ђв”Ђ Stats strip в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.stats-strip {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px 24px;
  margin-bottom: 24px;
}
.stats-strip__item {
  display: flex; flex-direction: column; align-items: center;
  padding: 8px 28px; gap: 4px;
}
.stats-strip__num {
  font-family: var(--font-d); font-size: 1.8rem; font-weight: 700;
  color: var(--ink); line-height: 1;
}
.stats-strip__label { font-size: 0.78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.stats-strip__sep { width: 1px; height: 40px; background: var(--border-2); }

@media (max-width: 600px) {
  .stats-strip { gap: 0; padding: 12px 8px; }
  .stats-strip__item { padding: 6px 14px; }
  .stats-strip__num { font-size: 1.4rem; }
  .stats-strip__sep { height: 30px; }
}

/* в”Ђв”Ђ Schedule grid (responsive) в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px; margin-top: 12px;
}

/* в”Ђв”Ђ Reviews horizontal scroll в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.reviews-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px; margin-top: 12px;
}

/* в”Ђв”Ђ FAQ accordion в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px; margin-top: 12px;
}

.faq-item { cursor: pointer; }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__q { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--accent); flex-shrink: 0; transition: transform 200ms; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__a { margin-top: 10px; font-size: 0.9rem; line-height: 1.65; }

/* в”Ђв”Ђ Hero pills в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.hero__pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }

/* в”Ђв”Ђ Auth TG block в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.auth-tg-block { margin-bottom: 20px; text-align: center; }
.auth-tg-label { font-size: 0.8rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border-2); }
.auth-divider span { font-size: 0.78rem; color: var(--muted); white-space: nowrap; }

/* в”Ђв”Ђ Form hint в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.form-hint { font-size: 0.75rem; color: var(--muted); margin-top: 3px; }

/* в”Ђв”Ђ Section label в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.section-label {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--muted); margin-bottom: 12px;
}

/* в”Ђв”Ђ Empty state в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.empty-state {
  display: flex; flex-direction: column; align-items: center;
  padding: 24px 16px; text-align: center; gap: 6px;
}
.empty-state__icon { font-size: 2.4rem; margin-bottom: 6px; }
.empty-state p { color: var(--ink-2); font-size: 0.92rem; }

/* в”Ђв”Ђ Cabinet header v2 в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.cab-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.cab-header-left { display: flex; align-items: center; gap: 16px; }
.cab-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-d); font-size: 1.4rem; font-weight: 700; color: #fff;
  flex-shrink: 0; box-shadow: 0 4px 16px rgba(201,86,106,0.4);
}
.cab-header-sub { margin-top: 4px; }

/* в”Ђв”Ђ TG badge в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.tg-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(34,158,217,0.15); color: #7dd3fc;
  border: 1px solid rgba(34,158,217,0.3);
  font-size: 0.75rem; font-weight: 600;
}
.tg-badge--link { text-decoration: none; cursor: pointer; transition: background 160ms; }
.tg-badge--link:hover { background: rgba(34,158,217,0.25); }

/* в”Ђв”Ђ Visits counter в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.cab-visits-counter { text-align: right; }
.cab-visits-counter__label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.cab-visits-counter__num { font-family: var(--font-d); font-size: 2.6rem; font-weight: 700; line-height: 1; color: #fff; }
.cab-visits-counter__total { font-size: 1.2rem; color: rgba(255,255,255,0.4); }
.cab-visits-counter__bar { height: 4px; border-radius: 999px; background: rgba(255,255,255,0.12); margin-top: 6px; overflow: hidden; min-width: 80px; }
.cab-visits-counter__fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 999px; transition: width 600ms var(--ease); }

/* в”Ђв”Ђ Dash tabs в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.dash-tabs {
  display: flex; gap: 4px; flex-wrap: nowrap;
  margin-bottom: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.dash-tabs::-webkit-scrollbar { display: none; }
.dash-tab {
  flex: 0 0 auto;
  padding: 7px 16px; border-radius: var(--r-sm);
  font-size: 0.85rem; font-weight: 600; color: var(--muted);
  transition: color 160ms, background 160ms;
  white-space: nowrap;
  text-wrap: nowrap;
}
.dash-tab:hover { color: var(--ink); background: rgba(255,255,255,0.06); }
.dash-tab.active { color: var(--ink); background: rgba(201,86,106,0.15); }

/* в”Ђв”Ђ Signup list в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.signup-list { list-style: none; }
.signup-list__item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.signup-list__item:last-child { border-bottom: none; }
.signup-list__info { display: flex; flex-direction: column; gap: 2px; }
.signup-list__info strong { font-size: 0.9rem; }
.signup-list__info span { font-size: 0.82rem; }

/* в”Ђв”Ђ Chart wrap в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.chart-wrap { position: relative; }

/* в”Ђв”Ђ Achievements grid в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px; margin-top: 4px;
}

.ach-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.025);
  position: relative; overflow: hidden;
  transition: transform 220ms var(--ease), box-shadow 220ms, border-color 220ms;
}
.ach-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.ach-card--done {
  border-color: rgba(34,197,94,0.3);
  background: linear-gradient(135deg, rgba(34,197,94,0.07) 0%, rgba(255,255,255,0.02) 100%);
}
.ach-card--done::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(34,197,94,0.12), transparent 60%);
  pointer-events: none;
}

.ach-card--new {
  animation: achPop 600ms var(--ease) both;
  border-color: rgba(212,165,116,0.5);
  box-shadow: 0 0 0 2px rgba(212,165,116,0.2), 0 8px 32px rgba(212,165,116,0.15);
}

@keyframes achPop {
  0%   { transform: scale(0.88); opacity: 0; }
  60%  { transform: scale(1.04); }
  100% { transform: scale(1); opacity: 1; }
}

.ach-card__icon-wrap {
  position: relative; flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
}
.ach-card--done .ach-card__icon-wrap {
  background: rgba(34,197,94,0.12);
  border-color: rgba(34,197,94,0.25);
}
.ach-card__icon { font-size: 1.5rem; line-height: 1; }
.ach-card__check {
  position: absolute; bottom: -4px; right: -4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--green); color: #fff;
  font-size: 0.6rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--surface);
  animation: checkPop 400ms var(--ease) both;
}
@keyframes checkPop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

.ach-card__body { flex: 1; min-width: 0; }
.ach-card__title { font-weight: 700; font-size: 0.9rem; color: var(--ink); margin-bottom: 2px; }
.ach-card__desc { font-size: 0.78rem; margin-bottom: 8px; }
.ach-card__progress-wrap { display: flex; align-items: center; gap: 8px; }
.ach-card__progress {
  flex: 1; height: 5px; border-radius: 999px;
  background: rgba(255,255,255,0.07); overflow: hidden;
}
.ach-card__progress-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  transition: width 800ms var(--ease);
}
.ach-card--done .ach-card__progress-fill {
  background: linear-gradient(90deg, var(--green), #4ade80);
}
.ach-card__value { font-size: 0.72rem; color: var(--muted); white-space: nowrap; }

.ach-card__new-badge {
  position: absolute; top: 8px; right: 8px;
  padding: 2px 8px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff; font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  animation: badgePulse 1.5s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,165,116,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(212,165,116,0); }
}

/* в”Ђв”Ђ Achievement toasts в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.ach-toasts {
  position: fixed; bottom: 90px; right: 16px; z-index: 500;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
  animation: toastIn 400ms var(--ease) both;
}
.ach-toasts--hide { animation: toastOut 400ms var(--ease) both; }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(40px); }
}

.ach-toast {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: var(--r-md);
  background: rgba(18,18,26,0.92);
  border: 1px solid rgba(212,165,116,0.4);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  backdrop-filter: blur(16px);
  min-width: 220px; max-width: 280px;
}
.ach-toast__icon { font-size: 1.8rem; flex-shrink: 0; }
.ach-toast__title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-2); }
.ach-toast__name { font-size: 0.9rem; font-weight: 600; color: var(--ink); }

/* в”Ђв”Ђ Burger button в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.topbar__burger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  cursor: pointer; padding: 0;
}
.topbar__burger span {
  display: block; width: 18px; height: 2px;
  background: var(--ink-2); border-radius: 2px;
  transition: transform 200ms, opacity 200ms;
}

/* в”Ђв”Ђ Mobile menu в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.mobile-menu {
  display: none;
  flex-direction: column; gap: 4px;
  padding: 12px 16px 16px;
  background: rgba(12,12,20,0.96);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  margin-bottom: 16px;
  backdrop-filter: blur(20px);
}
.mobile-menu a {
  padding: 10px 12px; border-radius: var(--r-sm);
  font-size: 0.95rem; font-weight: 600; color: var(--muted);
  white-space: nowrap;
  transition: color 160ms, background 160ms;
}
.mobile-menu a:hover { color: var(--ink); background: rgba(255,255,255,0.06); }
.mobile-menu__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--border); }

@media (max-width: 900px) {
  .topbar__burger { display: flex; }
  .mobile-menu.is-open { display: flex; }
}

/* в”Ђв”Ђ Responsive achievements в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
@media (max-width: 600px) {
  .achievements-grid { grid-template-columns: 1fr; }
  .ach-toasts { bottom: 80px; right: 10px; left: 10px; }
  .ach-toast { max-width: none; }
  .dash-tabs { gap: 2px; padding: 4px; }
  .dash-tab { padding: 6px 10px; font-size: 0.78rem; }
  .stats-strip__item { padding: 4px 10px; }
  .cab-header-left { gap: 10px; }
  .cab-avatar { width: 42px; height: 42px; font-size: 1.1rem; }
}

/* в”Ђв”Ђ Hero title вЂ” РѕРґРЅР° СЃС‚СЂРѕРєР° в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.hero__title-nowrap {
  white-space: nowrap;
  text-wrap: nowrap;
  font-size: clamp(1.3rem, 3.8vw, 3.4rem);
}
@media (max-width: 480px) {
  .hero__title-nowrap {
    white-space: nowrap;
    text-wrap: nowrap;
    font-size: clamp(1.12rem, 5.3vw, 1.85rem);
  }
}

/* в”Ђв”Ђ Dashboard quick board в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.quick-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.quick-card {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.03);
  padding: 14px 16px;
  min-height: 112px;
}

.quick-card h3 {
  font-size: 0.96rem;
  margin-bottom: 6px;
}

.quick-card p {
  font-size: 0.86rem;
  color: var(--ink-2);
}

.status-banner__meta {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.76rem;
  color: var(--muted);
}

.status-banner--warning {
  border-color: rgba(212,165,116,0.35);
  background: rgba(212,165,116,0.11);
}

.status-banner--danger {
  border-color: rgba(239,68,68,0.38);
  background: rgba(239,68,68,0.11);
}

.upcoming-card {
  border-color: rgba(56,189,248,0.35);
  background: rgba(56,189,248,0.09);
}

.dash-inline-divider {
  margin: 12px 0;
  border-top: 1px solid var(--border);
}

.request-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.request-chip--new {
  background: rgba(59,130,246,0.16);
  color: #93c5fd;
  border: 1px solid rgba(59,130,246,0.28);
}

.request-chip--in_progress {
  background: rgba(212,165,116,0.16);
  color: #fcd9a0;
  border: 1px solid rgba(212,165,116,0.32);
}

.request-chip--approved {
  background: rgba(34,197,94,0.16);
  color: #86efac;
  border: 1px solid rgba(34,197,94,0.28);
}

.request-chip--rejected,
.request-chip--closed {
  background: rgba(239,68,68,0.16);
  color: #fca5a5;
  border: 1px solid rgba(239,68,68,0.28);
}

/* в”Ђв”Ђ Admin/CRM modules в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-kpi-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.kpi--warn {
  border-left-color: var(--accent-2);
  background: linear-gradient(135deg, rgba(212,165,116,0.10) 0%, rgba(255,255,255,0.02) 100%);
}

.queue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.queue-item {
  align-items: center;
}

.queue-item .muted {
  margin-top: 2px;
}

.crm-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.crm-mini {
  padding: 14px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
}

.crm-mini__label {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.crm-mini__value {
  margin-top: 6px;
  font-family: var(--font-d);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.crm-mini__hint {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
}

.crm-user-note {
  font-size: 0.8rem;
  margin-top: 2px;
}

.client-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 1100px) {
  .admin-kpi-grid,
  .admin-kpi-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .quick-board,
  .queue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .quick-board,
  .admin-kpi-grid,
  .admin-kpi-grid--compact,
  .queue-grid,
  .crm-meta-grid,
  .client-metrics {
    grid-template-columns: 1fr;
  }
}

/* === Patches: mobile overflow + atmosphere carousel === */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

main,
.container,
.section,
.card,
.showcase-split,
.topbar,
.mobile-menu,
.bottom-nav {
  min-width: 0;
}

img,
video,
iframe {
  max-width: 100%;
}

.atmosphere-carousel {
  min-width: 0;
}

.atmosphere-carousel__viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
}

.atmosphere-carousel__track {
  display: flex;
  transition: transform 260ms var(--ease);
  will-change: transform;
}

.atmosphere-carousel__slide {
  flex: 0 0 100%;
  margin: 0;
}

.atmosphere-carousel__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: rgba(10, 10, 16, 0.62);
  color: var(--ink);
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.atmosphere-carousel__control--prev {
  left: 10px;
}

.atmosphere-carousel__control--next {
  right: 10px;
}

.atmosphere-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.atmosphere-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0;
}

.atmosphere-carousel__dot.is-active {
  width: 20px;
  background: var(--accent);
}

@media (max-width: 900px) {
  .full-bleed {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .hero__title-nowrap {
    white-space: normal;
    text-wrap: balance;
  }

  .atmosphere-carousel__control {
    width: 32px;
    height: 32px;
  }
}

/* ============================================================
   Design refresh - studio editorial polish
   ============================================================ */

:root {
  --bg: #080706;
  --surface: #12100e;
  --surface-2: #1b1714;
  --surface-3: #241e1a;
  --ink: #fff9f0;
  --ink-2: #e8ded1;
  --muted: #a89b8d;
  --border: rgba(255, 249, 240, 0.10);
  --border-2: rgba(255, 249, 240, 0.18);
  --accent: #d85f72;
  --accent-2: #f0b46f;
  --accent-3: #7fc7b6;
  --accent-soft: rgba(216, 95, 114, 0.16);
  --glass: rgba(255, 249, 240, 0.035);
  --glass-2: rgba(255, 249, 240, 0.065);
  --ring: rgba(240, 180, 111, 0.62);
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 20px;
}

body {
  background-image:
    linear-gradient(180deg, rgba(8, 7, 6, 0.68), rgba(8, 7, 6, 0.98)),
    linear-gradient(115deg, rgba(216, 95, 114, 0.10), transparent 42%),
    linear-gradient(245deg, rgba(127, 199, 182, 0.07), transparent 46%);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--bg);
  font-weight: 800;
  box-shadow: var(--shadow);
  transition: transform 160ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

main:focus {
  outline: none;
}

.bg-grid {
  opacity: 0.025;
  background-size: 64px 64px;
}

.topbar {
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  margin-bottom: 28px;
  background: rgba(13, 11, 10, 0.78);
}

.brand__mark,
.cab-avatar {
  background: linear-gradient(135deg, #ef7b67 0%, var(--accent) 46%, var(--accent-2) 100%);
}

.topbar__nav a,
.mobile-menu a,
.dash-tab,
.admin-shell__nav a {
  min-height: 38px;
}

.btn,
button {
  min-height: 44px;
  border-radius: var(--r-sm);
}

.btn-sm {
  min-height: 38px;
}

.btn-primary,
.btn-light {
  background: linear-gradient(135deg, #ef6f64 0%, #cc536c 56%, #a9435f 100%);
  box-shadow: 0 10px 28px rgba(216, 95, 114, 0.28);
}

.btn-secondary,
.btn-ghost,
button {
  box-shadow: inset 0 1px 0 rgba(255, 249, 240, 0.06);
}

.btn:hover,
button:hover {
  transform: translateY(-1px);
}

.hero {
  border-radius: var(--r-xl);
  min-height: min(82vh, 760px);
  border-color: rgba(255, 249, 240, 0.22);
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 4, 4, 0.84) 0%, rgba(5, 4, 4, 0.42) 48%, rgba(5, 4, 4, 0.12) 100%),
    linear-gradient(180deg, rgba(5, 4, 4, 0.04) 0%, rgba(5, 4, 4, 0.86) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  align-items: flex-end;
  background: transparent;
}

.hero__content {
  max-width: 760px;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 7vw, 6rem);
  line-height: 0.96;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.42);
}

.hero__lead {
  max-width: 620px;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  color: rgba(255, 249, 240, 0.86);
}

.hero__eyebrow,
.section-label,
label,
.stats-strip__label,
.auth-tg-label,
.kpi .kpi__label {
  letter-spacing: 0.08em;
}

.pill,
.tag,
.status-tag,
.request-chip,
.tg-badge {
  border-radius: 999px;
}

.pill {
  border: 1px solid rgba(255, 249, 240, 0.18);
  background: rgba(255, 249, 240, 0.10);
  color: rgba(255, 249, 240, 0.90);
}

.section {
  border-radius: var(--r-lg);
}

.section.section-block {
  background:
    linear-gradient(180deg, rgba(255, 249, 240, 0.055), rgba(255, 249, 240, 0.018));
  border-color: rgba(255, 249, 240, 0.11);
}

.section__head {
  align-items: end;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 249, 240, 0.08);
}

.card,
.auth-card,
.quick-card,
.ach-card,
.crm-mini {
  border-radius: 8px;
}

.card,
.auth-card {
  background:
    linear-gradient(180deg, rgba(255, 249, 240, 0.07), rgba(255, 249, 240, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 249, 240, 0.06);
}

.card:hover,
.ach-card:hover {
  border-color: rgba(240, 180, 111, 0.28);
}

.kpi,
.program-card {
  border-left: 0;
  border-top: 3px solid var(--accent);
}

.kpi .value {
  letter-spacing: 0;
}

.showcase-split {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(18px, 3vw, 34px);
}

.media-frame {
  padding: 0;
  background: #0d0b0a;
  border-color: rgba(255, 249, 240, 0.14);
}

.media-frame img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.media-frame--tall {
  min-height: clamp(320px, 45vw, 560px);
}

.teacher-card {
  background:
    linear-gradient(135deg, rgba(216, 95, 114, 0.10), rgba(255, 249, 240, 0.035) 40%, rgba(127, 199, 182, 0.06));
}

.teacher-photos {
  align-items: stretch;
}

.teacher-photos .media-frame:first-child {
  transform: translateY(18px);
}

.schedule-grid,
.reviews-scroll,
.news-grid,
.achievements-grid {
  gap: clamp(12px, 2vw, 18px);
}

.program-card {
  min-height: 184px;
  display: flex;
  flex-direction: column;
}

.program-card form,
.program-card .btn-full {
  margin-top: auto;
}

.quote {
  min-height: 180px;
}

.auth-wrap {
  min-height: calc(100vh - 140px);
}

.auth-card {
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
}

input,
textarea,
select {
  min-height: 44px;
  background: rgba(5, 4, 4, 0.42);
  border-color: rgba(255, 249, 240, 0.16);
}

input:hover,
textarea:hover,
select:hover {
  border-color: rgba(255, 249, 240, 0.26);
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 2px solid transparent;
  box-shadow: 0 0 0 3px rgba(8, 7, 6, 0.92), 0 0 0 6px var(--ring);
}

.bottom-nav {
  border-radius: var(--r-lg);
}

.bottom-nav__item {
  min-height: 58px;
  border-radius: var(--r-sm);
}

.admin-shell {
  gap: 18px;
}

.admin-shell__aside {
  border-left: 0;
  border-top: 3px solid var(--accent);
}

.admin-shell__nav a.active {
  border-left: 0;
  padding-left: 10px;
  background: rgba(216, 95, 114, 0.16);
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

th {
  color: var(--ink);
}

tr:hover td {
  background: rgba(255, 249, 240, 0.025);
}

@media (max-width: 900px) {
  .topbar {
    border-radius: var(--r-md);
  }

  .hero {
    min-height: min(78vh, 620px);
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(5, 4, 4, 0.16), rgba(5, 4, 4, 0.88)),
      linear-gradient(90deg, rgba(5, 4, 4, 0.64), rgba(5, 4, 4, 0.20));
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(2.35rem, 12vw, 4.2rem);
  }

  .showcase-split {
    grid-template-columns: 1fr;
  }

  .teacher-photos .media-frame:first-child {
    transform: none;
  }

  .section__head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container {
    padding-top: 8px;
  }

  .hero {
    border-radius: var(--r-lg);
  }

  .hero__inner {
    padding: 28px 18px;
  }

  .hero h1,
  .hero__title-nowrap {
    max-width: 100%;
    white-space: normal;
    text-wrap: balance;
  }

  .stats-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 10px;
  }

  .stats-strip__sep {
    display: none;
  }

  .auth-card {
    padding: 30px 20px;
  }
}

/* Final QA fixes */
.btn-sm {
  min-height: 32px;
  padding: 4px 12px;
  font-size: 0.78rem;
}

@media (max-width: 900px) {
  .full-bleed {
    width: auto;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

/* ============================================================
   Organic refresh - soft movement studio
   ============================================================ */

:root {
  --bg: #10100d;
  --surface: #1b1812;
  --surface-2: #251f17;
  --surface-3: #31281f;
  --ink: #fff8ec;
  --ink-2: #eadcc9;
  --muted: #b8a995;
  --border: rgba(255, 248, 236, 0.09);
  --border-2: rgba(255, 248, 236, 0.15);
  --accent: #f06f7f;
  --accent-2: #f5bd73;
  --accent-3: #8ed6bf;
  --accent-soft: rgba(240, 111, 127, 0.18);
  --glass: rgba(255, 248, 236, 0.045);
  --glass-2: rgba(255, 248, 236, 0.075);
  --ring: rgba(142, 214, 191, 0.62);
  --r-xs: 12px 14px 11px 15px;
  --r-sm: 18px 15px 20px 14px;
  --r-md: 28px 22px 30px 20px;
  --r-lg: 38px 28px 42px 30px;
  --r-xl: 58px 42px 64px 44px;
  --font: "Nunito", "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-d: "Nunito", "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
  scroll-padding-top: 96px;
}

body {
  font-weight: 600;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 38% at 18% -8%, rgba(240, 111, 127, 0.23), transparent 68%),
    radial-gradient(ellipse 54% 38% at 92% 10%, rgba(142, 214, 191, 0.16), transparent 64%),
    radial-gradient(ellipse 58% 42% at 50% 108%, rgba(245, 189, 115, 0.16), transparent 66%),
    linear-gradient(180deg, #12110e 0%, #0b0b09 100%);
}

h1,
h2,
h3,
h4,
.brand,
.value,
.stats-strip__num,
.cab-visits-counter__num,
.crm-mini__value {
  font-family: var(--font-d);
  font-weight: 900;
}

p {
  font-weight: 600;
}

.bg-grid {
  opacity: 0;
}

.bg-noise {
  opacity: 0.075;
}

.topbar {
  top: 12px;
  margin: 12px 0 34px;
  padding: 12px 14px 12px 16px;
  border: 0;
  border-radius: 32px 24px 34px 26px;
  background: rgba(25, 22, 17, 0.74);
  box-shadow:
    0 18px 56px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 248, 236, 0.16);
}

.topbar.scrolled {
  background: rgba(25, 22, 17, 0.88);
}

.brand__mark {
  border-radius: 42% 58% 47% 53% / 52% 40% 60% 48%;
  animation: organicBreathe 6s var(--ease) infinite;
}

.topbar__nav {
  gap: 8px;
}

.topbar__nav a,
.mobile-menu a,
.dash-tab,
.admin-shell__nav a {
  border-radius: 999px;
}

.topbar__nav a:hover,
.topbar__nav a.active,
.dash-tab.active,
.admin-shell__nav a.active {
  background: rgba(255, 248, 236, 0.12);
}

.btn,
button,
input,
textarea,
select {
  border-radius: 999px;
}

textarea {
  border-radius: 28px 22px 32px 20px;
}

.btn,
button {
  min-height: 46px;
  font-weight: 800;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-sm {
  min-height: 44px;
  padding-inline: 18px;
}

.btn-primary,
.btn-light {
  background: linear-gradient(135deg, #ff806f 0%, #f06f7f 48%, #d8618d 100%);
  box-shadow:
    0 16px 36px rgba(240, 111, 127, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-secondary,
.btn-ghost,
button {
  border: 0;
  background: rgba(255, 248, 236, 0.10);
}

.btn:hover,
button:hover {
  transform: translateY(-2px) scale(1.015);
}

.hero {
  border: 0;
  border-radius: 64px 42px 72px 48px;
  overflow: hidden;
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 248, 236, 0.18);
  animation: heroBreath 12s var(--ease) infinite;
}

.hero::before {
  background:
    radial-gradient(ellipse 80% 70% at 20% 60%, rgba(16, 16, 13, 0.84), rgba(16, 16, 13, 0.34) 58%, transparent 78%),
    linear-gradient(115deg, rgba(16, 16, 13, 0.80) 0%, rgba(16, 16, 13, 0.40) 46%, rgba(16, 16, 13, 0.08) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -1px;
  z-index: 2;
  height: 86px;
  pointer-events: none;
  background:
    radial-gradient(64px 34px at 8% 26%, var(--bg) 98%, transparent 100%),
    radial-gradient(84px 42px at 24% 60%, var(--bg) 98%, transparent 100%),
    radial-gradient(92px 48px at 44% 28%, var(--bg) 98%, transparent 100%),
    radial-gradient(78px 40px at 63% 62%, var(--bg) 98%, transparent 100%),
    radial-gradient(96px 52px at 83% 34%, var(--bg) 98%, transparent 100%),
    radial-gradient(68px 36px at 98% 64%, var(--bg) 98%, transparent 100%);
}

.hero__inner {
  padding-bottom: clamp(56px, 8vw, 96px);
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(2.55rem, 7vw, 6.2rem);
  line-height: 0.95;
}

.hero__lead {
  max-width: 580px;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
}

.hero__eyebrow,
.pill,
.divider span,
label,
.section-label,
.auth-tg-label,
.stats-strip__label,
.kpi .kpi__label {
  letter-spacing: 0.06em;
}

.pill,
.tag,
.status-tag,
.request-chip,
.tg-badge {
  border: 0;
  background: rgba(255, 248, 236, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 248, 236, 0.12);
}

.divider {
  position: sticky;
  top: 84px;
  z-index: 8;
  margin: 34px 0 18px;
  pointer-events: none;
}

.divider::before,
.divider::after {
  display: none;
}

.divider span {
  position: relative;
  padding: 8px 20px;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 248, 236, 0.76);
  background: rgba(30, 26, 20, 0.72);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 248, 236, 0.12);
}

.divider span::before,
.divider span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 42px;
  height: 18px;
  transform: translateY(-50%);
  opacity: 0.78;
  background: radial-gradient(16px 10px at 18px 50%, var(--accent-3) 96%, transparent 100%);
}

.divider span::before {
  right: calc(100% + 10px);
}

.divider span::after {
  left: calc(100% + 10px);
  background: radial-gradient(16px 10px at 24px 50%, var(--accent-2) 96%, transparent 100%);
}

.section {
  border: 0;
  border-radius: 42px 30px 48px 34px;
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 248, 236, 0.10);
}

.section.section-block,
body.has-video-bg .section.section-block {
  position: relative;
  background:
    radial-gradient(ellipse 58% 42% at 14% 0%, rgba(240, 111, 127, 0.10), transparent 72%),
    radial-gradient(ellipse 42% 32% at 94% 18%, rgba(142, 214, 191, 0.08), transparent 70%),
    rgba(255, 248, 236, 0.055);
  backdrop-filter: blur(18px) saturate(145%);
}

.section.section-block::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 248, 236, 0.055);
}

.section__head {
  position: sticky;
  top: 86px;
  z-index: 6;
  margin-inline: -6px;
  padding: 8px 10px 14px;
  border-bottom: 0;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(20, 18, 14, 0.70), rgba(20, 18, 14, 0.36));
  backdrop-filter: blur(12px);
}

.card,
.auth-card,
.quick-card,
.ach-card,
.crm-mini,
.teacher-card,
.faq-item,
.media-frame,
.contact-map-wrap,
#calendar {
  border: 0;
  border-radius: 34px 24px 38px 26px;
  background:
    radial-gradient(ellipse 90% 60% at 10% 0%, rgba(255, 248, 236, 0.08), transparent 62%),
    rgba(255, 248, 236, 0.065);
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 248, 236, 0.12);
}

.card:nth-child(2n),
.program-card:nth-child(2n),
.quote:nth-child(2n),
.ach-card:nth-child(2n) {
  border-radius: 26px 40px 24px 36px;
}

.card:hover,
.ach-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(142, 214, 191, 0.16),
    inset 0 1px 0 rgba(255, 248, 236, 0.14);
}

.card--flat,
.card--flat:hover {
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 248, 236, 0.12);
}

.kpi,
.program-card {
  border-top: 0;
}

.kpi::before,
.program-card::before,
.quote::after {
  content: "";
  display: block;
  width: 54px;
  height: 10px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
}

.program-card {
  min-height: 196px;
}

.program-card .day-time {
  color: var(--accent-2);
}

.media-frame {
  overflow: hidden;
  background: rgba(18, 16, 12, 0.72);
}

.media-frame img {
  border-radius: inherit;
}

.media-frame--tall {
  border-radius: 44px 30px 56px 34px;
}

.teacher-card {
  overflow: hidden;
}

.teacher-photos .media-frame:first-child {
  transform: rotate(-1.5deg) translateY(18px);
}

.teacher-photos .media-frame:nth-child(2) {
  transform: rotate(1.2deg);
}

.stats-strip {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.075);
  box-shadow:
    0 20px 58px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 248, 236, 0.12);
}

.stats-strip__sep {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent-3);
}

.quote::before {
  color: var(--accent-2);
  opacity: 0.18;
}

.auth-card {
  border-radius: 44px 30px 52px 34px;
}

.auth-card::before {
  height: 10px;
  border-radius: 999px;
  inset: 14px 26px auto;
}

.bottom-nav {
  border: 0;
  border-radius: 32px 26px 36px 28px;
  background: rgba(24, 21, 16, 0.82);
  box-shadow:
    0 18px 54px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 248, 236, 0.14);
}

.bottom-nav__item {
  border-radius: 24px 18px 26px 20px;
  background: rgba(255, 248, 236, 0.07);
}

.bottom-nav__cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-2)) !important;
}

.admin-shell__aside,
.dash-tabs,
.cabinet-header {
  border: 0;
  border-radius: 34px 24px 38px 26px;
}

.cabinet-header {
  background:
    radial-gradient(ellipse 58% 50% at 0% 0%, rgba(240, 111, 127, 0.24), transparent 70%),
    linear-gradient(135deg, rgba(31, 28, 22, 0.94), rgba(20, 18, 15, 0.92));
}

table,
th,
td,
tr {
  border-color: transparent !important;
}

tr {
  border-radius: 999px;
}

@keyframes organicBreathe {
  0%, 100% {
    border-radius: 42% 58% 47% 53% / 52% 40% 60% 48%;
    transform: rotate(0deg) scale(1);
  }
  50% {
    border-radius: 58% 42% 55% 45% / 44% 56% 44% 56%;
    transform: rotate(-2deg) scale(1.035);
  }
}

@keyframes heroBreath {
  0%, 100% {
    border-radius: 64px 42px 72px 48px;
  }
  50% {
    border-radius: 48px 70px 46px 76px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .section.section-block,
  .stats-strip,
  .auth-card {
    animation: softFloat 9s var(--ease) infinite;
  }

  .section.section-block:nth-of-type(2n),
  .stats-strip {
    animation-delay: -3s;
  }
}

@keyframes softFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@media (max-width: 900px) {
  .topbar,
  .mobile-menu {
    border-radius: 28px 22px 30px 24px;
  }

  .divider {
    position: relative;
    top: auto;
  }

  .section__head {
    position: relative;
    top: auto;
  }

  .hero {
    border-radius: 42px 30px 48px 32px;
  }

  .hero::after {
    height: 58px;
  }

  .teacher-photos .media-frame:first-child,
  .teacher-photos .media-frame:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.8rem);
  }

  .stats-strip {
    border-radius: 34px 24px 38px 26px;
  }

  .card,
  .auth-card,
  .section,
  .teacher-card {
    border-radius: 30px 22px 34px 24px;
  }
}

/* ============================================================
   Calm organic refinement - restrained, laconic
   ============================================================ */

:root {
  --bg: #11100e;
  --surface: #1a1815;
  --surface-2: #231f1a;
  --surface-3: #2a251f;
  --ink: #f8f2e8;
  --ink-2: #ded4c6;
  --muted: #9e9283;
  --border: rgba(248, 242, 232, 0.08);
  --border-2: rgba(248, 242, 232, 0.13);
  --accent: #c96f67;
  --accent-2: #b89a74;
  --accent-3: #7f9b92;
  --accent-soft: rgba(201, 111, 103, 0.11);
  --ring: rgba(184, 154, 116, 0.48);
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-d: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font);
  font-weight: 500;
  background-image:
    radial-gradient(ellipse 62% 34% at 18% -8%, rgba(201, 111, 103, 0.10), transparent 70%),
    radial-gradient(ellipse 50% 34% at 92% 8%, rgba(127, 155, 146, 0.07), transparent 68%),
    linear-gradient(180deg, #12110f 0%, #0d0c0b 100%);
}

h1,
h2,
h3,
h4,
.brand,
.value,
.stats-strip__num,
.cab-visits-counter__num,
.crm-mini__value {
  font-family: var(--font-d);
  font-weight: 800;
}

p {
  font-weight: 500;
}

.brand__mark,
.cab-avatar {
  background: rgba(248, 242, 232, 0.12);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(248, 242, 232, 0.12), 0 10px 24px rgba(0, 0, 0, 0.18);
}

.btn-primary,
.btn-light,
.bottom-nav__cta,
.toolbar__cta {
  background: #c96f67 !important;
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(201, 111, 103, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn-tg {
  background: #5f8ea2;
  box-shadow: 0 12px 26px rgba(95, 142, 162, 0.22);
}

.hero {
  animation: none;
}

.hero::after {
  opacity: 0.72;
}

.pill,
.tag,
.status-tag,
.request-chip,
.tg-badge {
  background: rgba(248, 242, 232, 0.09);
  color: var(--ink-2);
}

.divider span::before,
.divider span::after,
.kpi::before,
.program-card::before,
.quote::after {
  content: none !important;
  display: none !important;
}

.divider span {
  background: rgba(26, 24, 21, 0.72);
  color: rgba(248, 242, 232, 0.62);
}

.section.section-block,
body.has-video-bg .section.section-block {
  background:
    radial-gradient(ellipse 54% 36% at 10% 0%, rgba(248, 242, 232, 0.045), transparent 72%),
    rgba(248, 242, 232, 0.045);
}

.card,
.auth-card,
.quick-card,
.ach-card,
.crm-mini,
.teacher-card,
.faq-item,
.media-frame,
.contact-map-wrap,
#calendar {
  background:
    radial-gradient(ellipse 82% 58% at 8% 0%, rgba(248, 242, 232, 0.045), transparent 64%),
    rgba(248, 242, 232, 0.045);
}

.stats-strip__sep {
  width: 1px;
  height: 34px;
  border-radius: 999px;
  background: rgba(248, 242, 232, 0.14);
}

.star {
  color: var(--accent-2);
}

.ach-card__progress-fill,
.cab-visits-counter__fill {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.ach-card__new-badge {
  background: var(--accent);
  animation: none;
}

@media (prefers-reduced-motion: no-preference) {
  .section.section-block,
  .stats-strip,
  .auth-card {
    animation-name: softFloat;
    animation-duration: 12s;
  }
}

/* ============================================================
   Laconic calm - restrained hero and surfaces
   ============================================================ */

:root {
  --bg: #0c0b0a;
  --surface: #151310;
  --surface-2: #1d1915;
  --surface-3: #252019;
  --ink: #f6f0e6;
  --ink-2: #d8cec0;
  --muted: #9d9183;
  --border: rgba(246, 240, 230, 0.09);
  --border-2: rgba(246, 240, 230, 0.14);
  --accent: #bd7368;
  --accent-2: #9c8a72;
  --accent-3: #789086;
  --accent-soft: rgba(189, 115, 104, 0.10);
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 24px;
}

body {
  font-weight: 500;
  background-color: var(--bg);
  background-image: linear-gradient(180deg, #0e0d0c 0%, #0a0908 100%);
}

h1,
h2,
h3,
h4,
.brand,
.value,
.stats-strip__num,
.cab-visits-counter__num,
.crm-mini__value {
  font-weight: 750;
}

.bg-noise {
  opacity: 0.035;
}

.bg-grid {
  display: none;
}

.topbar {
  border-radius: var(--r-lg);
  background: rgba(14, 13, 12, 0.82);
}

.brand__mark,
.cab-avatar {
  animation: none;
  border-radius: var(--r-sm);
  background: rgba(246, 240, 230, 0.10);
  box-shadow: none;
}

.hero {
  min-height: min(64vh, 560px);
  border-radius: var(--r-xl);
  animation: none;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(12, 11, 10, 0.82) 0%, rgba(12, 11, 10, 0.62) 52%, rgba(12, 11, 10, 0.30) 100%),
    linear-gradient(180deg, rgba(12, 11, 10, 0.22) 0%, rgba(12, 11, 10, 0.76) 100%);
}

.hero::after {
  content: none !important;
  display: none !important;
}

.hero__inner {
  min-height: inherit;
  padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 52px);
}

.hero__content {
  max-width: 820px;
}

.hero h1,
.hero__title-nowrap {
  max-width: 14ch;
  font-size: clamp(2.25rem, 5.1vw, 4.35rem);
  line-height: 1;
  letter-spacing: -0.025em;
}

.hero__lead {
  max-width: 560px;
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
}

.hero__eyebrow,
.pill,
.tag,
.status-tag,
.request-chip,
.tg-badge {
  background: rgba(246, 240, 230, 0.08);
  color: rgba(246, 240, 230, 0.72);
  box-shadow: none;
}

.btn,
button,
input,
textarea,
select,
.bottom-nav__item,
.topbar__nav a,
.mobile-menu a,
.dash-tab,
.admin-shell__nav a {
  border-radius: var(--r-sm);
}

.btn-primary,
.btn-light {
  background: #bd7368 !important;
  box-shadow: none;
}

.btn-tg {
  background: #668fa0;
  box-shadow: none;
}

.btn-secondary,
.btn-ghost,
button {
  background: rgba(246, 240, 230, 0.08);
  box-shadow: none;
}

.divider {
  position: relative;
  top: auto;
  margin: 42px 0 12px;
  padding: 0;
}

.divider::before,
.divider::after,
.divider span::before,
.divider span::after,
.kpi::before,
.program-card::before,
.quote::after {
  content: none !important;
  display: none !important;
}

.divider span {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(246, 240, 230, 0.48);
}

.section,
.section.section-block,
body.has-video-bg .section.section-block {
  border-radius: var(--r-lg);
  background: rgba(246, 240, 230, 0.035);
  box-shadow: none;
  animation: none !important;
}

.section.section-block::before {
  content: none;
}

.section__head {
  position: relative;
  top: auto;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.card,
.auth-card,
.quick-card,
.ach-card,
.crm-mini,
.teacher-card,
.faq-item,
.media-frame,
.contact-map-wrap,
#calendar {
  border-radius: var(--r-lg);
  background: rgba(246, 240, 230, 0.045);
  box-shadow: none;
}

.card:nth-child(2n),
.program-card:nth-child(2n),
.quote:nth-child(2n),
.ach-card:nth-child(2n) {
  border-radius: var(--r-lg);
}

.card:hover,
.ach-card:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.stats-strip {
  border-radius: var(--r-lg);
  background: rgba(246, 240, 230, 0.035);
  box-shadow: none;
  animation: none !important;
}

.stats-strip__sep {
  width: 1px;
  height: 36px;
  border-radius: 0;
  background: rgba(246, 240, 230, 0.14);
}

.teacher-photos .media-frame:first-child,
.teacher-photos .media-frame:nth-child(2) {
  transform: none;
}

.media-frame,
.media-frame img,
.media-frame--tall {
  border-radius: var(--r-lg);
}

.bottom-nav {
  border-radius: var(--r-lg);
}

@media (max-width: 900px) {
  .hero {
    min-height: min(58vh, 520px);
    border-radius: var(--r-lg);
  }

  .hero h1,
  .hero__title-nowrap {
    max-width: 100%;
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero__inner {
    padding: 30px 18px;
  }
}

/* ============================================================
   Preserve clean - final pass
   ============================================================ */

:root {
  --bg: #0b0a09;
  --surface: #141210;
  --surface-2: #1b1815;
  --surface-3: #24201b;
  --ink: #f7f1e8;
  --ink-2: #d9d0c4;
  --muted: #9d9185;
  --border: rgba(247, 241, 232, 0.09);
  --border-2: rgba(247, 241, 232, 0.15);
  --accent: #bd7368;
  --accent-2: #a48f75;
  --accent-3: #8d968e;
  --accent-soft: rgba(189, 115, 104, 0.12);
  --glass: rgba(247, 241, 232, 0.035);
  --glass-2: rgba(247, 241, 232, 0.055);
  --ring: rgba(189, 115, 104, 0.48);
  --r-xs: 8px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 22px;
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-d: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}

html {
  scroll-padding-top: 92px;
}

body {
  font-family: var(--font);
  font-weight: 500;
  background: var(--bg);
  background-image: none !important;
}

h1,
h2,
h3,
h4,
.brand,
.value,
.stats-strip__num,
.cab-visits-counter__num,
.crm-mini__value {
  font-family: var(--font-d);
  font-weight: 760;
  letter-spacing: -0.012em;
}

p {
  font-weight: 500;
}

.bg-grid {
  display: none !important;
}

.bg-noise {
  opacity: 0.025;
}

.site-video-bg__video {
  filter: saturate(0.55) contrast(1.08) brightness(0.52);
}

.site-video-bg__scrim {
  background:
    linear-gradient(90deg, rgba(11, 10, 9, 0.88) 0%, rgba(11, 10, 9, 0.72) 54%, rgba(11, 10, 9, 0.44) 100%),
    linear-gradient(180deg, rgba(11, 10, 9, 0.22) 0%, rgba(11, 10, 9, 0.80) 100%);
}

.topbar {
  top: 12px;
  margin: 12px 0 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: rgba(14, 13, 12, 0.86);
  box-shadow: none;
}

.brand__mark,
.cab-avatar {
  border-radius: var(--r-sm);
  background: rgba(247, 241, 232, 0.09);
  box-shadow: none;
  animation: none;
}

.topbar__nav a,
.mobile-menu a,
.dash-tab,
.admin-shell__nav a {
  border-radius: var(--r-sm);
}

.hero {
  min-height: min(58vh, 520px);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: none;
  animation: none !important;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(11, 10, 9, 0.90) 0%, rgba(11, 10, 9, 0.72) 56%, rgba(11, 10, 9, 0.38) 100%),
    linear-gradient(180deg, rgba(11, 10, 9, 0.10) 0%, rgba(11, 10, 9, 0.74) 100%);
}

.hero::after {
  content: none !important;
  display: none !important;
}

.hero__inner {
  min-height: inherit;
  padding: clamp(32px, 4.5vw, 56px) clamp(22px, 4.6vw, 48px);
}

.hero__content {
  max-width: 760px;
}

.hero__pills {
  display: none;
}

.hero h1,
.hero__title-nowrap {
  max-width: 14ch;
  font-size: clamp(2rem, 4.25vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  text-shadow: none;
}

.hero__lead {
  max-width: 540px;
  font-size: clamp(0.96rem, 1.15vw, 1.04rem);
  color: rgba(247, 241, 232, 0.78);
}

.hero__eyebrow,
.section-label,
label,
.auth-tg-label,
.stats-strip__label,
.kpi .kpi__label {
  color: rgba(247, 241, 232, 0.54);
  letter-spacing: 0.075em;
}

.hero-actions {
  gap: 10px;
  margin-top: 22px;
}

.btn,
button {
  min-height: 44px;
  border-radius: var(--r-sm);
  font-weight: 720;
  box-shadow: none;
}

.btn-lg {
  padding: 12px 20px;
  font-size: 0.94rem;
  border-radius: var(--r-sm);
}

.btn-sm {
  min-height: 44px;
  border-radius: var(--r-sm);
}

.btn-primary,
.btn-light {
  background: var(--accent) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.btn-tg {
  background: rgba(247, 241, 232, 0.08) !important;
  color: var(--ink) !important;
  border: 1px solid var(--border-2);
  box-shadow: none !important;
}

.btn-secondary,
.btn-ghost,
button {
  background: rgba(247, 241, 232, 0.075);
  border: 1px solid var(--border);
  box-shadow: none;
}

.pill,
.tag,
.status-tag,
.request-chip,
.tg-badge {
  border: 1px solid var(--border);
  background: rgba(247, 241, 232, 0.065);
  color: rgba(247, 241, 232, 0.76);
  box-shadow: none;
}

.divider {
  position: relative;
  top: auto;
  margin: 36px 0 12px;
  padding: 0;
  text-align: left;
}

.divider::before,
.divider::after,
.divider span::before,
.divider span::after,
.kpi::before,
.program-card::before,
.quote::after {
  content: none !important;
  display: none !important;
}

.divider span {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(247, 241, 232, 0.44);
  backdrop-filter: none;
}

.section,
.section.section-block,
body.has-video-bg .section.section-block {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: rgba(247, 241, 232, 0.035);
  box-shadow: none;
  animation: none !important;
  backdrop-filter: none;
}

.section.section-block::before {
  content: none !important;
}

.section__head {
  position: relative;
  top: auto;
  margin: 0 0 18px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.card,
.auth-card,
.quick-card,
.ach-card,
.crm-mini,
.teacher-card,
.faq-item,
.media-frame,
.contact-map-wrap,
#calendar {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: rgba(247, 241, 232, 0.045);
  box-shadow: none;
}

.card:nth-child(2n),
.program-card:nth-child(2n),
.quote:nth-child(2n),
.ach-card:nth-child(2n) {
  border-radius: var(--r-lg);
}

.card:hover,
.ach-card:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.card--flat,
.card--flat:hover {
  box-shadow: none;
}

.kpi,
.program-card {
  border-left: 0;
  border-top: 1px solid var(--border);
  background: rgba(247, 241, 232, 0.045);
}

.kpi .value {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  letter-spacing: -0.012em;
}

.media-frame,
.media-frame img,
.media-frame--tall {
  border-radius: var(--r-lg);
}

.media-frame img {
  filter: saturate(0.78) contrast(1.06) brightness(0.86);
}

.teacher-photos .media-frame:first-child,
.teacher-photos .media-frame:nth-child(2) {
  transform: none;
}

.stats-strip {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: rgba(247, 241, 232, 0.035);
  box-shadow: none;
  animation: none !important;
}

.stats-strip__sep {
  width: 1px;
  height: 34px;
  border-radius: 0;
  background: var(--border-2);
}

.quote::before {
  color: rgba(247, 241, 232, 0.11);
}

.star {
  color: rgba(247, 241, 232, 0.58);
}

.star.empty {
  color: rgba(247, 241, 232, 0.18);
}

input,
textarea,
select {
  border-radius: var(--r-sm);
  background: rgba(247, 241, 232, 0.045);
  border-color: var(--border-2);
}

.bottom-nav {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: rgba(14, 13, 12, 0.92);
  box-shadow: none;
}

.bottom-nav__item {
  border-radius: var(--r-sm);
}

.bottom-nav__cta {
  background: var(--accent) !important;
  color: #fff !important;
}

.title-reveal .char {
  transform: none !important;
  opacity: 1 !important;
  transition: none !important;
}

@media (max-width: 900px) {
  .hero {
    min-height: min(54vh, 480px);
    border-radius: var(--r-lg);
  }

  .hero h1,
  .hero__title-nowrap {
    max-width: 100%;
    font-size: clamp(1.85rem, 7.2vw, 2.75rem);
  }

  .hero__inner {
    padding: 28px 18px;
  }

  .hero-actions {
    flex-direction: column;
  }
}

/* ============================================================
   Preserve light balance - warmer and less heavy
   ============================================================ */

:root {
  --bg: #211914;
  --surface: #2d241f;
  --surface-2: #382d27;
  --surface-3: #45372f;
  --ink: #fff8ef;
  --ink-2: #f2e7da;
  --muted: #d3c0ad;
  --border: rgba(255, 248, 239, 0.18);
  --border-2: rgba(255, 248, 239, 0.26);
  --accent-soft: rgba(189, 115, 104, 0.18);
  --glass: rgba(255, 248, 239, 0.085);
  --glass-2: rgba(255, 248, 239, 0.12);
}

body {
  background:
    linear-gradient(180deg, #241b16 0%, #211914 42%, #261d18 100%);
}

.site-video-bg__video {
  filter: saturate(0.9) contrast(1.02) brightness(0.98);
}

.site-video-bg__scrim {
  background:
    linear-gradient(90deg, rgba(21, 17, 15, 0.46) 0%, rgba(21, 17, 15, 0.34) 55%, rgba(21, 17, 15, 0.14) 100%),
    linear-gradient(180deg, rgba(21, 17, 15, 0.02) 0%, rgba(21, 17, 15, 0.34) 100%);
}

.topbar {
  background: rgba(45, 35, 30, 0.72);
  border-color: rgba(255, 248, 239, 0.22);
  backdrop-filter: blur(18px) saturate(1.08);
}

.mobile-menu,
.bottom-nav {
  background: rgba(45, 35, 30, 0.84);
  border-color: rgba(255, 248, 239, 0.22);
  backdrop-filter: blur(18px) saturate(1.08);
}

.hero {
  min-height: min(56vh, 500px);
  border-color: rgba(255, 248, 239, 0.22);
  background: rgba(48, 38, 32, 0.22);
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(21, 17, 15, 0.52) 0%, rgba(21, 17, 15, 0.36) 56%, rgba(21, 17, 15, 0.12) 100%),
    linear-gradient(180deg, rgba(21, 17, 15, 0.00) 0%, rgba(21, 17, 15, 0.34) 100%);
}

.hero__lead {
  color: rgba(255, 248, 239, 0.9);
}

.hero__eyebrow,
.section-label,
label,
.auth-tg-label,
.stats-strip__label,
.kpi .kpi__label {
  color: rgba(255, 248, 239, 0.62);
}

.btn-secondary,
.btn-ghost,
button,
.btn-tg {
  background: rgba(255, 248, 239, 0.105) !important;
  border-color: rgba(255, 248, 239, 0.24);
}

.section,
.section.section-block,
body.has-video-bg .section.section-block,
.stats-strip {
  background: rgba(255, 248, 239, 0.09);
  border-color: rgba(255, 248, 239, 0.18);
}

.card,
.auth-card,
.quick-card,
.ach-card,
.crm-mini,
.teacher-card,
.faq-item,
.media-frame,
.contact-map-wrap,
#calendar,
.kpi,
.program-card {
  background: rgba(255, 248, 239, 0.105);
  border-color: rgba(255, 248, 239, 0.20);
}

.section__head {
  border-bottom-color: rgba(255, 248, 239, 0.18);
}

.divider span {
  color: rgba(255, 248, 239, 0.54);
}

.media-frame img {
  filter: saturate(0.88) contrast(1.03) brightness(0.96);
}

input,
textarea,
select {
  background: rgba(255, 248, 239, 0.07);
  border-color: rgba(255, 248, 239, 0.18);
}

@media (max-width: 900px) {
  body {
    background: #211914;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    min-height: 440px;
    padding: 30px 18px 26px;
    align-items: flex-end;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(21, 17, 15, 0.00) 0%, rgba(21, 17, 15, 0.40) 48%, rgba(21, 17, 15, 0.62) 100%),
      linear-gradient(90deg, rgba(21, 17, 15, 0.38), rgba(21, 17, 15, 0.08));
  }

  .hero h1,
  .hero__title-nowrap {
    font-size: clamp(1.8rem, 8.2vw, 2.65rem);
    line-height: 1.05;
  }

  .hero__lead {
    font-size: 0.98rem;
  }

  .hero-actions {
    gap: 8px;
  }

  .section,
  .section.section-block,
  body.has-video-bg .section.section-block {
    border-radius: 16px;
  }
}

@media (max-width: 560px) {
  .hero h1,
  .hero__title-nowrap {
    max-width: 100%;
    font-size: clamp(1.72rem, 7.4vw, 2.25rem);
    line-height: 1.08;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: normal;
  }

  .hero__lead {
    max-width: 30ch;
  }
}

/* Merch and learning sections */

.topbar__nav {
  gap: 6px;
}

.topbar__nav a {
  padding-inline: 10px;
}

.section-note {
  max-width: 58ch;
  margin-top: 8px;
  line-height: 1.65;
}

.page-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  min-height: 320px;
  margin-bottom: 28px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background:
    linear-gradient(135deg, rgba(255, 248, 239, 0.10), rgba(255, 248, 239, 0.035) 44%, rgba(189, 115, 104, 0.10)),
    rgba(255, 248, 239, 0.055);
}

.page-hero__copy {
  max-width: 760px;
}

.page-hero h1 {
  max-width: 14ch;
  margin: 0 0 14px;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  min-width: min(390px, 100%);
}

.commerce-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.commerce-grid--page {
  gap: 18px;
}

.commerce-card {
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: rgba(255, 248, 239, 0.07);
}

.commerce-card__media {
  position: relative;
  min-height: 165px;
  background:
    linear-gradient(135deg, rgba(189, 115, 104, 0.26), rgba(255, 248, 239, 0.06) 52%, rgba(36, 30, 26, 0.72)),
    radial-gradient(ellipse 80% 58% at 72% 20%, rgba(255, 248, 239, 0.18), transparent 70%);
}

.commerce-card__media::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  width: 118px;
  height: 118px;
  border-radius: 34px 34px 22px 22px;
  transform: translate(-50%, -50%) rotate(-2deg);
  border: 1px solid rgba(255, 248, 239, 0.22);
  background: rgba(25, 20, 18, 0.72);
}

.commerce-card__media::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 30%;
  width: 42px;
  height: 20px;
  border-radius: 999px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 248, 239, 0.18);
  background: rgba(255, 248, 239, 0.08);
}

.commerce-card__media span {
  position: absolute;
  right: 16px;
  bottom: 14px;
  color: rgba(255, 248, 239, 0.34);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.commerce-card__body {
  padding: 18px;
}

.commerce-card__meta,
.learning-card__meta {
  display: inline-flex;
  margin-bottom: 10px;
  color: rgba(255, 248, 239, 0.62);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.commerce-card h3,
.learning-card h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.commerce-card p,
.learning-card p {
  min-height: 66px;
  margin-bottom: 16px;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.6;
}

.learning-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: center;
}

.learning-panel__copy {
  max-width: 560px;
}

.learning-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.learning-stack {
  display: grid;
  gap: 12px;
}

.learning-stack--page {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.learning-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px;
  background: rgba(255, 248, 239, 0.075);
}

.learning-card:nth-child(2) {
  transform: translateX(18px);
}

.learning-card:nth-child(3) {
  transform: translateX(36px);
}

.learning-card--page:nth-child(2),
.learning-card--page:nth-child(3) {
  transform: none;
}

.learning-card--page {
  min-height: 220px;
}

.course-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.course-preview-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px;
  background: rgba(255, 248, 239, 0.075);
}

.course-preview-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.course-preview-card__meta {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-preview-card__link {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.course-preview-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.course-preview-card p {
  min-height: 72px;
  margin-bottom: 16px;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .page-hero {
    display: block;
    min-height: auto;
    padding: 28px 18px;
    border-radius: 16px;
  }

  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .page-hero__actions {
    display: grid;
    min-width: 0;
    margin-top: 22px;
  }

  .page-hero__actions .btn {
    width: 100%;
  }

  .commerce-grid,
  .learning-panel,
  .learning-stack--page {
    grid-template-columns: 1fr;
  }

  .commerce-card {
    min-height: auto;
  }

  .learning-card:nth-child(2),
  .learning-card:nth-child(3) {
    transform: none;
  }

  .learning-panel__actions .btn {
    width: 100%;
  }

  .course-preview-grid {
    grid-template-columns: 1fr;
  }
}

/* Standalone merch/course pages - lock readable dark surfaces */

body:not(.has-video-bg) {
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 46% at 50% -12%, rgba(189, 115, 104, 0.14), transparent 68%),
    linear-gradient(180deg, #15110f 0%, #120f0d 48%, #17120f 100%) !important;
}

body:not(.has-video-bg) .page-hero {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(42, 34, 30, 0.94), rgba(25, 20, 18, 0.94) 48%, rgba(36, 29, 25, 0.90)),
    rgba(255, 248, 239, 0.06) !important;
  border-color: rgba(255, 248, 239, 0.14);
}

body:not(.has-video-bg) .page-hero h1,
body:not(.has-video-bg) .page-hero .hero__lead,
body:not(.has-video-bg) .section h2,
body:not(.has-video-bg) .section h3 {
  color: var(--ink);
}

body:not(.has-video-bg) .page-hero .hero__lead,
body:not(.has-video-bg) .section-note,
body:not(.has-video-bg) .commerce-card p,
body:not(.has-video-bg) .learning-card p {
  color: var(--ink-2);
}

body:not(.has-video-bg) .section.section-block {
  background: rgba(255, 248, 239, 0.06);
  border-color: rgba(255, 248, 239, 0.13);
}

body:not(.has-video-bg) .commerce-card,
body:not(.has-video-bg) .learning-card {
  background: rgba(255, 248, 239, 0.075);
  border-color: rgba(255, 248, 239, 0.14);
}

/* ============================================================
   Merch page - Victoria apparel board
   ============================================================ */

body.merch-page {
  --accent: #f5f1eb;
  --accent-2: #9b9b96;
  --accent-soft: rgba(245, 241, 235, 0.12);
  color: #f5f1eb;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(9, 9, 8, 0.24) 42%, rgba(0, 0, 0, 0.78)),
    linear-gradient(180deg, #090909 0%, #151411 54%, #080808 100%) !important;
}

body.merch-page .bg-grid,
body.merch-page .bg-noise {
  opacity: 0.035;
}

body.merch-page .topbar,
body.merch-page .mobile-menu,
body.merch-page .bottom-nav {
  background: rgba(7, 7, 7, 0.78);
  border-color: rgba(245, 241, 235, 0.12);
}

body.merch-page .brand__mark,
body.merch-page .cab-avatar {
  color: #050505;
  background: #f5f1eb;
}

body.merch-page .topbar__nav a.active,
body.merch-page .topbar__nav a:hover,
body.merch-page .mobile-menu a:hover,
body.merch-page .bottom-nav__item:hover,
body.merch-page .bottom-nav__cta {
  color: #f5f1eb;
  background: rgba(245, 241, 235, 0.10);
}

body.merch-page .btn-primary {
  color: #050505;
  border-color: #f5f1eb;
  background: #f5f1eb !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

body.merch-page .btn-primary:hover,
body.merch-page .btn-primary:focus-visible {
  filter: none;
  color: #050505;
  background: #ffffff !important;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.44);
}

body.merch-page .btn-ghost,
body.merch-page .btn-secondary {
  color: #f5f1eb;
  border-color: rgba(245, 241, 235, 0.22);
  background: rgba(245, 241, 235, 0.055);
}

body.merch-page .btn-ghost:hover,
body.merch-page .btn-secondary:hover,
body.merch-page .btn-ghost:focus-visible,
body.merch-page .btn-secondary:focus-visible {
  color: #f5f1eb;
  background: rgba(245, 241, 235, 0.11);
}

.merch-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  height: min(800px, calc(100dvh - 94px));
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(245, 241, 235, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    #0b0b0a;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
}

.merch-hero__brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(28px, 5vw, 62px);
  border-right: 1px solid rgba(245, 241, 235, 0.14);
}

.merch-logo-word {
  margin-bottom: clamp(18px, 3vw, 32px);
  color: #f5f1eb;
  font-size: clamp(1.9rem, 2.5vw, 2.55rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.02;
  text-transform: uppercase;
}

.merch-kicker {
  margin: 0 0 18px;
  color: rgba(245, 241, 235, 0.64);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.merch-hero h1 {
  max-width: 13ch;
  margin: 0;
  color: #f5f1eb;
  font-size: clamp(2rem, 4.2vw, 4.65rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  overflow-wrap: anywhere;
}

.merch-hero__lead {
  max-width: 42ch;
  margin: clamp(18px, 3vw, 30px) 0 0;
  color: rgba(245, 241, 235, 0.78);
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.7;
}

.merch-palette {
  display: flex;
  gap: 14px;
  margin-top: clamp(18px, 3vw, 30px);
}

.merch-palette span {
  width: 86px;
  height: 46px;
  border: 1px solid rgba(245, 241, 235, 0.14);
  background: var(--swatch);
}

.merch-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(18px, 3vw, 30px);
}

.merch-board {
  position: relative;
  height: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #161512;
}

.merch-board::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.14), transparent 20%),
    linear-gradient(180deg, transparent 72%, rgba(0, 0, 0, 0.20));
}

.merch-board img {
  display: block;
  width: auto;
  min-width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 58% center;
}

.merch-store-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
  gap: clamp(22px, 5vw, 72px);
  align-items: end;
  margin-bottom: 28px;
  padding: clamp(30px, 4.6vw, 54px);
  border: 1px solid rgba(245, 241, 235, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(245, 241, 235, 0.05), transparent 52%),
    #0b0b0a;
}

.merch-store-hero h1 {
  max-width: 11ch;
  margin: 0;
  color: #f5f1eb;
  font-size: clamp(3.2rem, 7.1vw, 6.8rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.merch-store-hero p:not(.merch-kicker) {
  max-width: 58ch;
  margin: 22px 0 0;
  color: rgba(245, 241, 235, 0.72);
  font-size: 1.02rem;
  line-height: 1.72;
}

.merch-store-hero__side {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.merch-store-hero__side > span {
  color: rgba(245, 241, 235, 0.58);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.merch-catalog,
.merch-order {
  margin-top: 28px;
  border: 1px solid rgba(245, 241, 235, 0.14);
  border-radius: 24px;
  background: rgba(12, 12, 11, 0.82);
}

.merch-catalog {
  padding: clamp(22px, 4vw, 42px);
}

.merch-catalog--store {
  background: rgba(8, 8, 7, 0.92);
}

.merch-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
}

.merch-section-head h2,
.merch-order h2 {
  margin: 0;
  color: #f5f1eb;
  font-size: clamp(1.65rem, 3vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.merch-section-head a {
  color: rgba(245, 241, 235, 0.78);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.merch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(245, 241, 235, 0.13);
  border-radius: 20px;
  background: rgba(245, 241, 235, 0.13);
}

.merch-store-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(245, 241, 235, 0.14);
  border-radius: 20px;
  background: rgba(245, 241, 235, 0.14);
}

.merch-store-card {
  min-width: 0;
  background: #0f0e0c;
}

.merch-store-card__content {
  background: #11100e;
}

body.merch-page .merch-store-card[data-animate] {
  opacity: 1;
  transform: none;
}

.merch-store-card:nth-child(1),
.merch-store-card:nth-child(2) {
  grid-column: span 6;
}

.merch-store-card:nth-child(3) {
  grid-column: span 7;
}

.merch-store-card:nth-child(4) {
  grid-column: span 5;
}

.merch-store-card__open {
  display: grid;
  grid-template-rows: clamp(300px, 30vw, 420px) auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  text-align: left;
  background: #11100e;
  cursor: pointer;
  transition:
    transform 260ms var(--ease),
    filter 260ms var(--ease),
    background-color 260ms var(--ease);
}

.merch-store-card__open:hover,
.merch-store-card__open:focus-visible {
  transform: translateY(-4px);
  filter: brightness(1.06);
  background: #151411;
}

.merch-store-card__open:focus-visible {
  outline: 2px solid rgba(245, 241, 235, 0.72);
  outline-offset: -2px;
}

.merch-store-card__open:active {
  transform: translateY(-2px) scale(0.995);
}

.merch-store-card__media {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  background: #22201d;
}

.merch-store-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), transparent 54%, rgba(0, 0, 0, 0.22)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.12), transparent 28%);
}

.merch-store-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 420ms var(--ease);
}

.merch-store-card__open:hover .merch-store-card__media img,
.merch-store-card__open:focus-visible .merch-store-card__media img {
  transform: scale(1.06);
}

.merch-store-card__index {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 1;
  display: inline-flex;
  min-width: 36px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(247, 243, 238, 0.16);
  border-radius: 999px;
  color: rgba(245, 241, 235, 0.86);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  background: rgba(5, 5, 5, 0.62);
  backdrop-filter: blur(8px);
}

.merch-store-card__content {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: clamp(20px, 2.4vw, 30px);
}

.merch-store-card__meta {
  color: rgba(245, 241, 235, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.merch-store-card__title {
  color: #f5f1eb;
  font-size: clamp(1.45rem, 2.5vw, 2.45rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.merch-store-card__text {
  max-width: 46ch;
  color: rgba(245, 241, 235, 0.70);
  font-size: 0.96rem;
  line-height: 1.55;
}

.merch-store-card__cta {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 0 16px;
  border: 1px solid rgba(245, 241, 235, 0.22);
  border-radius: 10px;
  color: #f5f1eb;
  font-size: 0.86rem;
  font-weight: 900;
  background: rgba(245, 241, 235, 0.055);
  transition:
    color 220ms var(--ease),
    background-color 220ms var(--ease),
    border-color 220ms var(--ease);
}

.merch-store-card__open:hover .merch-store-card__cta,
.merch-store-card__open:focus-visible .merch-store-card__cta {
  color: #050505;
  border-color: #f5f1eb;
  background: #f5f1eb;
}

.merch-product {
  display: grid;
  grid-template-rows: 190px 1fr;
  min-height: 420px;
  background: #141310;
}

.merch-product__open {
  display: grid;
  grid-template-rows: 190px 1fr;
  width: 100%;
  min-height: 420px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition:
    transform 260ms var(--ease),
    background-color 260ms var(--ease),
    box-shadow 260ms var(--ease);
}

.merch-product__open:hover,
.merch-product__open:focus-visible {
  transform: translateY(-6px);
  background: rgba(245, 241, 235, 0.035);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.34);
}

.merch-product__open:focus-visible {
  outline: 2px solid rgba(245, 241, 235, 0.72);
  outline-offset: -2px;
}

.merch-product__open:active {
  transform: translateY(-2px) scale(0.99);
}

.merch-product__visual {
  display: block;
  position: relative;
  min-height: 0;
  height: 190px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(245, 241, 235, 0.10), transparent 48%),
    linear-gradient(180deg, #2c2a25 0%, #151412 100%);
}

.merch-product:nth-child(2n) .merch-product__visual {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.08), transparent 42%),
    linear-gradient(180deg, #d9d1c7 0%, #bdb4aa 100%);
}

.merch-product__number {
  position: absolute;
  left: 18px;
  top: 16px;
  color: rgba(245, 241, 235, 0.72);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.merch-product:nth-child(2n) .merch-product__number {
  color: rgba(12, 12, 11, 0.58);
}

.merch-product__shape {
  position: absolute;
  left: 50%;
  top: 55%;
  width: 132px;
  height: 132px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.32));
  transition:
    transform 320ms var(--ease),
    filter 320ms var(--ease);
}

.merch-product__open:hover .merch-product__shape,
.merch-product__open:focus-visible .merch-product__shape {
  transform: translate(-50%, -54%) rotate(-2deg) scale(1.06);
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.42));
}

.merch-product__shape::before,
.merch-product__shape::after {
  content: "";
  position: absolute;
}

.merch-product__shape--1 {
  border-radius: 18px 18px 14px 14px;
  background: #050505;
}

.merch-product__shape--1::before,
.merch-product__shape--1::after {
  top: 14px;
  width: 46px;
  height: 54px;
  background: #050505;
}

.merch-product__shape--1::before {
  left: -34px;
  transform: rotate(18deg);
  border-radius: 14px 0 12px 16px;
}

.merch-product__shape--1::after {
  right: -34px;
  transform: rotate(-18deg);
  border-radius: 0 14px 16px 12px;
}

.merch-product__shape--2 {
  width: 150px;
  height: 112px;
  border: 12px solid #050505;
  border-top-width: 32px;
  border-radius: 8px 8px 3px 3px;
}

.merch-product__shape--2::before {
  left: 20px;
  top: -72px;
  width: 90px;
  height: 76px;
  border: 10px solid #050505;
  border-bottom: 0;
  border-radius: 80px 80px 0 0;
}

.merch-product__shape--3 {
  border-radius: 26px 26px 16px 16px;
  background: #d8d0c6;
}

.merch-product__shape--3::before,
.merch-product__shape--3::after {
  top: 22px;
  width: 44px;
  height: 80px;
  background: #d8d0c6;
}

.merch-product__shape--3::before {
  left: -28px;
  transform: rotate(12deg);
  border-radius: 18px;
}

.merch-product__shape--3::after {
  right: -28px;
  transform: rotate(-12deg);
  border-radius: 18px;
}

.merch-product__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
}

.merch-product__meta {
  margin-bottom: 12px;
  color: rgba(245, 241, 235, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.merch-product__title {
  display: block;
  margin: 0;
  color: #f5f1eb;
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
  font-weight: 900;
  line-height: 1.16;
  text-transform: uppercase;
}

.merch-product__text {
  display: block;
  flex: 1;
  margin: 12px 0 18px;
  color: rgba(245, 241, 235, 0.70);
  font-size: 0.95rem;
  line-height: 1.62;
}

.merch-product__cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(245, 241, 235, 0.22);
  border-radius: 10px;
  color: #f5f1eb;
  font-size: 0.86rem;
  font-weight: 900;
  background: rgba(245, 241, 235, 0.065);
  transition:
    border-color 220ms var(--ease),
    background-color 220ms var(--ease);
}

.merch-product__open:hover .merch-product__cta,
.merch-product__open:focus-visible .merch-product__cta {
  border-color: rgba(245, 241, 235, 0.38);
  background: rgba(245, 241, 235, 0.11);
}

.merch-dialog {
  width: min(940px, calc(100vw - 28px));
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(245, 241, 235, 0.16);
  border-radius: 24px;
  color: #f5f1eb;
  background: transparent;
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.62);
}

.merch-dialog::backdrop {
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
}

.merch-dialog[open] {
  animation: merchDialogIn 210ms var(--ease) both;
}

.merch-dialog__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(245, 241, 235, 0.06), transparent 44%),
    #11100e;
}

.merch-dialog__close {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid rgba(245, 241, 235, 0.18);
  border-radius: 999px;
  background: rgba(10, 10, 9, 0.72);
  cursor: pointer;
}

.merch-dialog__close span {
  position: absolute;
  left: 13px;
  top: 21px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #f5f1eb;
}

.merch-dialog__close span:first-child {
  transform: rotate(45deg);
}

.merch-dialog__close span:last-child {
  transform: rotate(-45deg);
}

.merch-dialog__visual {
  position: relative;
  min-height: 430px;
  border-right: 1px solid rgba(245, 241, 235, 0.12);
  background:
    linear-gradient(135deg, rgba(245, 241, 235, 0.10), transparent 48%),
    linear-gradient(180deg, #2f2d28 0%, #151412 100%);
}

.merch-dialog__photo {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-right: 1px solid rgba(245, 241, 235, 0.12);
  background: #22201d;
}

.merch-dialog__photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.merch-dialog__number {
  position: absolute;
  left: 24px;
  top: 22px;
  color: rgba(245, 241, 235, 0.62);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.merch-dialog__shape {
  width: 190px;
  height: 190px;
}

.merch-dialog__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: clamp(28px, 5vw, 56px);
}

.merch-dialog__meta {
  margin-bottom: 12px;
  color: rgba(245, 241, 235, 0.62);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.merch-dialog h2 {
  margin: 0;
  color: #f5f1eb;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.merch-dialog__copy p:not(.merch-kicker) {
  margin: 18px 0 22px;
  color: rgba(245, 241, 235, 0.74);
  font-size: 1rem;
  line-height: 1.7;
}

.merch-dialog__details {
  display: grid;
  width: 100%;
  gap: 8px;
  margin-bottom: 24px;
}

.merch-dialog__details span {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(245, 241, 235, 0.13);
  color: rgba(245, 241, 235, 0.68);
  font-size: 0.92rem;
}

@keyframes merchDialogIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.merch-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.74fr) auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 44px;
  padding: clamp(22px, 4vw, 36px);
}

.merch-order__steps {
  display: grid;
  gap: 8px;
}

.merch-order__steps span {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(245, 241, 235, 0.14);
  color: rgba(245, 241, 235, 0.72);
  font-size: 0.92rem;
}

@media (max-width: 1100px) {
  .merch-hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .merch-hero__brand {
    border-right: 0;
    border-bottom: 1px solid rgba(245, 241, 235, 0.14);
  }

  .merch-hero h1 {
    max-width: 12ch;
  }

  .merch-board img {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 100%;
    min-height: 420px;
  }

  .merch-grid,
  .merch-store-grid,
  .merch-order {
    grid-template-columns: 1fr;
  }

  .merch-store-card:nth-child(1),
  .merch-store-card:nth-child(2),
  .merch-store-card:nth-child(3),
  .merch-store-card:nth-child(4) {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  body.merch-page .container {
    width: min(100% - 24px, var(--container));
  }

  .merch-hero,
  .merch-store-hero,
  .merch-catalog,
  .merch-order,
  .merch-grid,
  .merch-store-grid {
    border-radius: 18px;
  }

  .merch-store-hero {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .merch-store-hero h1 {
    max-width: 100%;
    font-size: clamp(2.5rem, 13vw, 4rem);
    line-height: 0.95;
  }

  .merch-store-hero__side {
    gap: 14px;
  }

  .merch-hero {
    min-height: 0;
  }

  .merch-hero__brand {
    padding: 24px 18px;
  }

  .merch-hero h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 10vw, 3.25rem);
    letter-spacing: -0.035em;
  }

  .merch-hero__lead {
    max-width: 34ch;
  }

  .merch-palette span {
    width: 64px;
    height: 38px;
  }

  .merch-hero__actions,
  .merch-order .btn {
    width: 100%;
  }

  .merch-hero__actions .btn {
    width: 100%;
  }

  .merch-board img {
    min-height: 0;
    object-position: 54% center;
  }

  .merch-board {
    height: 300px;
  }

  .merch-section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .merch-product {
    min-height: 0;
  }

  .merch-product__open {
    min-height: 0;
  }

  .merch-product__visual {
    height: 170px;
  }

  .merch-dialog__panel {
    grid-template-columns: 1fr;
  }

  .merch-dialog__visual {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid rgba(245, 241, 235, 0.12);
  }

  .merch-dialog__photo {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid rgba(245, 241, 235, 0.12);
  }

  .merch-dialog__shape {
    width: 132px;
    height: 132px;
  }

  .merch-dialog__copy {
    padding: 24px 18px;
  }

  .merch-dialog h2 {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }

  .merch-store-card__open {
    grid-template-rows: 260px auto;
    height: auto;
    min-height: 0;
  }

  .merch-store-card__content {
    padding: 18px;
  }

  .merch-store-card__title {
    font-size: clamp(1.28rem, 7vw, 1.8rem);
  }
}

/* ============================================================
   Dashboard refresh - quiet, scannable, low-density
   ============================================================ */

body.dashboard-page {
  color: #221a16;
  background:
    radial-gradient(ellipse 90% 42% at 50% -8%, rgba(189, 115, 104, 0.16), transparent 62%),
    linear-gradient(180deg, #f7f1ea 0%, #f4ede5 52%, #efe5da 100%) !important;
}

body.dashboard-page .container {
  position: relative;
  z-index: 1;
}

body.dashboard-page .topbar,
body.dashboard-page .mobile-menu,
body.dashboard-page .bottom-nav {
  color: #241c17;
  background: rgba(255, 251, 246, 0.82);
  border-color: rgba(53, 39, 32, 0.10);
  box-shadow: 0 18px 50px rgba(56, 40, 30, 0.08);
}

body.dashboard-page .brand,
body.dashboard-page .topbar__nav a,
body.dashboard-page .topbar__actions a,
body.dashboard-page .mobile-menu a,
body.dashboard-page .bottom-nav__item,
body.dashboard-page .bottom-nav__label {
  color: #2d231d;
}

body.dashboard-page .user-chip {
  color: #4d3d32;
  background: rgba(189, 115, 104, 0.10);
  border: 1px solid rgba(61, 44, 37, 0.10);
}

body.dashboard-page .topbar__nav a.active,
body.dashboard-page .topbar__nav a:hover,
body.dashboard-page .mobile-menu a:hover,
body.dashboard-page .bottom-nav__item:hover {
  background: rgba(189, 115, 104, 0.10);
  color: #1d1713;
}

.dashboard-shell {
  display: grid;
  gap: 18px;
  margin: 28px 0 40px;
}

body.dashboard-page [data-animate] {
  opacity: 1;
  transform: none;
  transition: none;
}

.dashboard-hero,
.dashboard-panel,
.dashboard-details__item,
.dashboard-metric {
  border: 1px solid rgba(61, 44, 37, 0.12);
  background: rgba(255, 252, 248, 0.84);
  box-shadow: 0 16px 40px rgba(61, 44, 37, 0.07);
  backdrop-filter: blur(12px);
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.9fr);
  gap: 18px;
  border-radius: 24px;
  padding: 28px;
}

.dashboard-kicker,
.dashboard-status-card__label,
.dashboard-details__meta,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: #8a7667;
}

.dashboard-hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(2rem, 3.7vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #1d1713;
}

.dashboard-lead {
  max-width: 58ch;
  color: #5d4c40;
  font-size: 1rem;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.dashboard-actions--stacked {
  flex-direction: column;
  align-items: stretch;
}

.dashboard-hero__aside {
  display: grid;
  gap: 12px;
  align-content: start;
}

.dashboard-status-card,
.dashboard-panel--soft {
  border-radius: 20px;
  padding: 18px;
  background: rgba(255, 248, 241, 0.9);
  border: 1px solid rgba(61, 44, 37, 0.10);
}

.dashboard-status-card__title {
  margin-top: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f1814;
}

.dashboard-status-card__meta,
.dashboard-status-card__note {
  margin-top: 8px;
  color: #66564a;
  font-size: 0.92rem;
}

.dashboard-progress {
  margin-top: 12px;
  height: 10px;
  border-radius: 999px;
  background: rgba(61, 44, 37, 0.08);
  overflow: hidden;
}

.dashboard-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #bd7368, #d6a078);
}

.dashboard-progress--thin {
  height: 8px;
}

.dashboard-mini-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dashboard-chip,
.dashboard-pill,
.dashboard-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(61, 44, 37, 0.12);
  background: rgba(255, 248, 241, 0.9);
  color: #5a483d;
  padding: 7px 12px;
  font-size: 0.82rem;
  font-weight: 600;
}

.dashboard-chip--ok,
.dashboard-tag--ok {
  background: rgba(34, 197, 94, 0.12);
  color: #136b34;
}

.dashboard-chip--warn {
  background: rgba(212, 165, 116, 0.16);
  color: #865f31;
}

.dashboard-chip--link {
  text-decoration: none;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-metric {
  border-radius: 18px;
  padding: 18px;
}

.dashboard-metric__value {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1d1713;
}

.dashboard-metric__label {
  margin-top: 6px;
  color: #6b5a4e;
  font-size: 0.86rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr);
  gap: 18px;
  align-items: start;
}

.dashboard-stack {
  display: grid;
  gap: 18px;
}

.dashboard-panel {
  border-radius: 22px;
  padding: 22px;
}

.dashboard-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.dashboard-panel__head h2 {
  margin-top: 6px;
  font-size: 1.2rem;
  color: #1d1713;
}

.dashboard-list,
.dashboard-meta-list,
.dashboard-cards {
  display: grid;
  gap: 12px;
}

.dashboard-list__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(61, 44, 37, 0.10);
}

.dashboard-list__row:first-child {
  border-top: 0;
  padding-top: 0;
}

.dashboard-list__main {
  display: grid;
  gap: 4px;
}

.dashboard-list__main strong,
.dashboard-card__title {
  color: #1f1814;
  font-size: 0.98rem;
  font-weight: 700;
}

.dashboard-list__main span,
.dashboard-list__main small,
.dashboard-list__row p,
.dashboard-card__desc,
.dashboard-meta-list span,
.dashboard-meta-list strong {
  color: #66564a;
}

.dashboard-list__side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.dashboard-list--compact .dashboard-list__row {
  padding: 12px 0;
}

.dashboard-list__row--compact {
  align-items: flex-start;
}

.dashboard-empty {
  padding: 18px 0 4px;
  color: #66564a;
}

.dashboard-meta-list {
  margin-top: 14px;
}

.dashboard-meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(61, 44, 37, 0.10);
}

.dashboard-meta-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.dashboard-form {
  margin-top: 14px;
}

.dashboard-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dashboard-details {
  display: grid;
  gap: 12px;
}

.dashboard-details__item {
  border-radius: 22px;
  padding: 18px 20px;
}

.dashboard-details__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: #1d1713;
}

.dashboard-details__item summary::-webkit-details-marker {
  display: none;
}

.dashboard-details__item[open] summary {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(61, 44, 37, 0.10);
}

.dashboard-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.dashboard-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-cards--tight {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-card {
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 248, 241, 0.86);
  border: 1px solid rgba(61, 44, 37, 0.10);
}

.dashboard-card--done {
  background: rgba(250, 243, 236, 0.94);
}

.dashboard-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.dashboard-card__icon {
  font-size: 1.1rem;
}

.dashboard-card__desc {
  margin-top: 6px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.dashboard-toast-stack {
  display: grid;
  gap: 10px;
}

.dashboard-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 251, 246, 0.9);
  border: 1px solid rgba(61, 44, 37, 0.10);
  box-shadow: 0 12px 30px rgba(61, 44, 37, 0.08);
}

.dashboard-toast__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(189, 115, 104, 0.14);
}

.dashboard-toast__title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a7667;
}

.dashboard-toast__name {
  color: #1d1713;
  font-weight: 700;
}

.dashboard-tag--muted {
  background: rgba(61, 44, 37, 0.06);
  color: #6b5a4e;
}

.dashboard-tag--event {
  background: rgba(212, 165, 116, 0.18);
  color: #855c31;
}

.dashboard-tag--news {
  background: rgba(189, 115, 104, 0.14);
  color: #8a4f46;
}

.dashboard-tag--status {
  margin-top: 10px;
}

.dashboard-page .form-group {
  margin-bottom: 12px;
}

.dashboard-page label {
  color: #6e5c50;
}

.dashboard-page input,
.dashboard-page textarea,
.dashboard-page select {
  background: rgba(255, 251, 246, 0.9);
  border-color: rgba(61, 44, 37, 0.16);
  color: #1d1713;
}

.dashboard-page .btn-primary {
  background: #bd7368 !important;
  color: #fff !important;
}

.dashboard-page .btn-secondary,
.dashboard-page .btn-ghost,
.dashboard-page .btn-tg {
  background: rgba(61, 44, 37, 0.06) !important;
  color: #1d1713 !important;
  border-color: rgba(61, 44, 37, 0.10);
}

.dashboard-page .btn-primary:hover,
.dashboard-page .btn-secondary:hover,
.dashboard-page .btn-ghost:hover,
.dashboard-page .btn-tg:hover {
  filter: brightness(1.02);
}

.dashboard-page .progress span {
  background: linear-gradient(90deg, #bd7368, #d6a078);
}

@media (max-width: 1100px) {
  .dashboard-hero,
  .dashboard-grid,
  .dashboard-detail-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-metrics,
  .dashboard-cards,
  .dashboard-cards--tight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .dashboard-shell {
    margin: 18px 0 28px;
  }

  .dashboard-hero,
  .dashboard-panel,
  .dashboard-details__item,
  .dashboard-metric {
    border-radius: 18px;
  }

  .dashboard-hero,
  .dashboard-panel {
    padding: 18px;
  }

  .dashboard-metrics,
  .dashboard-cards,
  .dashboard-cards--tight {
    grid-template-columns: 1fr;
  }

  .dashboard-list__row,
  .dashboard-meta-list li {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   Dark cabinet refresh - dashboard + admin
   ============================================================ */

body.dashboard-page,
body.admin-page {
  color: var(--ink);
  background:
    radial-gradient(ellipse 88% 42% at 50% -8%, rgba(201, 86, 106, 0.18), transparent 62%),
    radial-gradient(ellipse 55% 32% at 96% 4%, rgba(124, 106, 245, 0.12), transparent 58%),
    linear-gradient(180deg, #07070b 0%, #0b0b11 48%, #09090d 100%) !important;
}

body.dashboard-page .container,
body.admin-page .container {
  position: relative;
  z-index: 1;
}

body.dashboard-page .topbar,
body.dashboard-page .mobile-menu,
body.dashboard-page .bottom-nav,
body.admin-page .topbar,
body.admin-page .mobile-menu,
body.admin-page .bottom-nav {
  color: var(--ink);
  background: rgba(10, 10, 15, 0.84);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

body.dashboard-page .brand,
body.dashboard-page .topbar__nav a,
body.dashboard-page .topbar__actions a,
body.dashboard-page .mobile-menu a,
body.dashboard-page .bottom-nav__item,
body.dashboard-page .bottom-nav__label,
body.admin-page .brand,
body.admin-page .topbar__nav a,
body.admin-page .topbar__actions a,
body.admin-page .mobile-menu a,
body.admin-page .bottom-nav__item,
body.admin-page .bottom-nav__label {
  color: var(--ink);
}

body.dashboard-page .topbar__nav a.active,
body.dashboard-page .topbar__nav a:hover,
body.dashboard-page .mobile-menu a:hover,
body.dashboard-page .bottom-nav__item:hover,
body.admin-page .topbar__nav a.active,
body.admin-page .topbar__nav a:hover,
body.admin-page .mobile-menu a:hover,
body.admin-page .bottom-nav__item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

body.dashboard-page .user-chip,
body.admin-page .user-chip {
  color: #f0e7df;
  background: rgba(201, 86, 106, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.dashboard-page .dashboard-hero,
body.dashboard-page .dashboard-panel,
body.dashboard-page .dashboard-details__item,
body.dashboard-page .dashboard-metric,
body.dashboard-page .dashboard-status-card,
body.dashboard-page .dashboard-card,
body.dashboard-page .dashboard-toast,
body.admin-page .admin-shell__aside,
body.admin-page .card,
body.admin-page .kpi,
body.admin-page .crm-mini {
  background: rgba(14, 14, 20, 0.86);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
}

body.dashboard-page .dashboard-hero h1,
body.dashboard-page .dashboard-status-card__title,
body.dashboard-page .dashboard-metric__value,
body.dashboard-page .dashboard-panel__head h2,
body.dashboard-page .dashboard-list__main strong,
body.dashboard-page .dashboard-card__title,
body.dashboard-page .dashboard-details__item summary,
body.dashboard-page .dashboard-toast__name,
body.admin-page h1,
body.admin-page h2,
body.admin-page h3,
body.admin-page h4,
body.admin-page strong {
  color: #f5f2ef;
}

body.dashboard-page .dashboard-kicker,
body.dashboard-page .dashboard-status-card__label,
body.dashboard-page .dashboard-details__meta,
body.dashboard-page .section-label,
body.dashboard-page .dashboard-metric__label,
body.dashboard-page .dashboard-list__main span,
body.dashboard-page .dashboard-list__main small,
body.dashboard-page .dashboard-list__row p,
body.dashboard-page .dashboard-card__desc,
body.dashboard-page .dashboard-meta-list span,
body.dashboard-page .dashboard-meta-list strong,
body.dashboard-page .dashboard-status-card__meta,
body.dashboard-page .dashboard-status-card__note,
body.dashboard-page .dashboard-empty,
body.dashboard-page .dashboard-toast__title,
body.admin-page .muted,
body.admin-page .crm-mini__label,
body.admin-page .crm-mini__hint,
body.admin-page .kpi .kpi__label,
body.admin-page .kpi .kpi__sub,
body.admin-page .admin-shell__title {
  color: var(--muted);
}

body.dashboard-page .dashboard-progress,
body.dashboard-page .dashboard-list__row,
body.dashboard-page .dashboard-meta-list li,
body.dashboard-page .dashboard-details__item[open] summary,
body.admin-page .list li,
body.admin-page .pagination {
  border-color: rgba(255, 255, 255, 0.08);
}

body.dashboard-page .dashboard-chip,
body.dashboard-page .dashboard-pill,
body.dashboard-page .dashboard-tag,
body.admin-page .tag,
body.admin-page .request-chip,
body.admin-page .pagination a,
body.admin-page .pagination span {
  background: rgba(255, 255, 255, 0.05);
  color: #eadfd8;
  border-color: rgba(255, 255, 255, 0.08);
}

body.dashboard-page .dashboard-chip--ok,
body.dashboard-page .dashboard-tag--ok,
body.admin-page .tag-active,
body.admin-page .request-chip--approved {
  background: rgba(34, 197, 94, 0.14);
  color: #a7f3d0;
  border-color: rgba(34, 197, 94, 0.24);
}

body.dashboard-page .dashboard-chip--warn,
body.dashboard-page .dashboard-tag--event,
body.admin-page .tag-event,
body.admin-page .request-chip--in_progress {
  background: rgba(212, 165, 116, 0.15);
  color: #f7d7a8;
  border-color: rgba(212, 165, 116, 0.24);
}

body.dashboard-page .dashboard-tag--news,
body.admin-page .tag-news,
body.admin-page .request-chip--new {
  background: rgba(201, 86, 106, 0.16);
  color: #f3b0b9;
  border-color: rgba(201, 86, 106, 0.24);
}

body.dashboard-page .dashboard-tag--muted,
body.admin-page .tag-inactive,
body.admin-page .request-chip--rejected,
body.admin-page .request-chip--closed {
  background: rgba(255, 255, 255, 0.05);
  color: #9ca3af;
  border-color: rgba(255, 255, 255, 0.08);
}

body.dashboard-page .btn-primary,
body.admin-page .btn-primary {
  background: linear-gradient(135deg, #ff7b6b 0%, #e0637c 52%, #c45a86 100%) !important;
  color: #fff !important;
}

body.dashboard-page .btn-secondary,
body.dashboard-page .btn-ghost,
body.dashboard-page .btn-tg,
body.admin-page .btn-secondary,
body.admin-page .btn-ghost,
body.admin-page .btn-tg {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #f3ede8 !important;
  border-color: rgba(255, 255, 255, 0.08);
}

body.dashboard-page input,
body.dashboard-page textarea,
body.dashboard-page select,
body.admin-page input,
body.admin-page textarea,
body.admin-page select {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.10);
  color: #f4f0eb;
}

body.dashboard-page input::placeholder,
body.dashboard-page textarea::placeholder,
body.admin-page input::placeholder,
body.admin-page textarea::placeholder {
  color: rgba(248, 243, 238, 0.42);
}

body.admin-page .admin-shell {
  gap: 18px;
}

body.admin-page .admin-shell__aside {
  top: 76px;
  padding: 18px 16px;
}

body.admin-page .admin-shell__nav a {
  color: #cfc6bf;
  background: transparent;
}

body.admin-page .admin-shell__nav a:hover,
body.admin-page .admin-shell__nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--accent);
}

body.admin-page .card:hover,
body.admin-page .card--glow:hover {
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

body.admin-page .queue-item {
  border-top-color: rgba(255, 255, 255, 0.08);
}

body.admin-page .pagination {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.admin-page .pagination a:hover {
  background: rgba(255, 255, 255, 0.08);
}

body.admin-page #calendar {
  background: rgba(14, 14, 20, 0.86);
  border-color: rgba(255, 255, 255, 0.08);
}

body.admin-page #calendar.fc {
  --fc-border-color: rgba(255,255,255,0.08);
  --fc-page-bg-color: transparent;
  --fc-neutral-bg-color: rgba(255,255,255,0.04);
  --fc-neutral-text-color: var(--muted);
  --fc-button-text-color: var(--ink);
  --fc-button-bg-color: rgba(255,255,255,0.06);
  --fc-button-border-color: rgba(255,255,255,0.10);
  --fc-button-hover-bg-color: rgba(255,255,255,0.10);
  --fc-button-hover-border-color: rgba(255,255,255,0.16);
  --fc-today-bg-color: rgba(201,86,106,0.14);
  --fc-event-text-color: #fff;
}

/* ============================================================
   Global monochrome system - align whole site with merch
   ============================================================ */

:root {
  --bg: #070707;
  --surface: #10100f;
  --surface-2: #171613;
  --surface-3: #22201c;
  --ink: #f7f3ee;
  --ink-2: #d9d2ca;
  --muted: #a7a09a;
  --border: rgba(247, 243, 238, 0.10);
  --border-2: rgba(247, 243, 238, 0.18);
  --accent: #f7f3ee;
  --accent-2: #8f8f8a;
  --accent-3: #c9c2b8;
  --accent-soft: rgba(247, 243, 238, 0.10);
  --ring: rgba(247, 243, 238, 0.58);
}

body {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(12, 12, 11, 0.56) 48%, rgba(0, 0, 0, 0.88)),
    linear-gradient(180deg, #070707 0%, #11100e 52%, #070707 100%) !important;
}

.brand__mark,
.cab-avatar {
  color: #050505 !important;
  background: #f7f3ee !important;
  box-shadow: none !important;
}

.text-accent,
.faq-item summary::after,
.star,
.auth-card .auth-footer a {
  color: #f7f3ee !important;
}

.topbar,
.mobile-menu,
.bottom-nav {
  background: rgba(7, 7, 7, 0.82) !important;
  border-color: rgba(247, 243, 238, 0.12) !important;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.30) !important;
}

.topbar__nav a.active,
.topbar__nav a:hover,
.mobile-menu a:hover,
.bottom-nav__item:hover,
.bottom-nav__cta {
  color: #f7f3ee !important;
  background: rgba(247, 243, 238, 0.10) !important;
}

.btn-primary,
.btn-light,
.dashboard-page .btn-primary,
body.dashboard-page .btn-primary,
body.admin-page .btn-primary,
body.merch-page .btn-primary {
  color: #050505 !important;
  border-color: #f7f3ee !important;
  background: #f7f3ee !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34) !important;
}

.btn-primary:hover,
.btn-primary:focus-visible,
.btn-light:hover,
.btn-light:focus-visible,
.dashboard-page .btn-primary:hover,
body.dashboard-page .btn-primary:hover,
body.admin-page .btn-primary:hover,
body.merch-page .btn-primary:hover {
  color: #050505 !important;
  background: #ffffff !important;
  filter: none !important;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.46) !important;
}

.btn-secondary,
.btn-ghost,
.btn-tg,
body.dashboard-page .btn-secondary,
body.dashboard-page .btn-ghost,
body.dashboard-page .btn-tg,
body.admin-page .btn-secondary,
body.admin-page .btn-ghost,
body.admin-page .btn-tg {
  color: #f7f3ee !important;
  border-color: rgba(247, 243, 238, 0.18) !important;
  background: rgba(247, 243, 238, 0.055) !important;
  box-shadow: none !important;
}

.btn-secondary:hover,
.btn-ghost:hover,
.btn-tg:hover,
.btn-secondary:focus-visible,
.btn-ghost:focus-visible,
.btn-tg:focus-visible {
  color: #ffffff !important;
  border-color: rgba(247, 243, 238, 0.28) !important;
  background: rgba(247, 243, 238, 0.11) !important;
}

.bottom-nav__cta svg,
.bottom-nav__cta .bottom-nav__label {
  color: #f7f3ee !important;
}

.section,
.section.section-block,
.card,
.auth-card,
.news-card,
.pricing-card,
.faq-item,
.dashboard-hero,
.dashboard-panel,
.dashboard-details__item,
.dashboard-metric,
.dashboard-status-card,
.dashboard-card,
.dashboard-toast,
.admin-shell__aside,
body.admin-page .card,
body.admin-page .kpi,
body.admin-page .crm-mini {
  border-color: rgba(247, 243, 238, 0.10) !important;
  background-color: rgba(14, 14, 13, 0.84) !important;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.26) !important;
}

.hero__eyebrow,
.merch-kicker,
.section-label,
.dashboard-kicker,
.dashboard-status-card__label,
.dashboard-details__meta,
body.admin-page .admin-shell__title {
  color: rgba(247, 243, 238, 0.62) !important;
}

.cab-visits-counter__fill,
.progress span,
.dashboard-page .progress span,
.price-line,
.section-divider::before,
.section-divider::after {
  background: linear-gradient(90deg, #f7f3ee, #8f8f8a) !important;
}

.tag-news,
.dashboard-tag--news,
body.admin-page .tag-news,
body.admin-page .request-chip--new,
body.dashboard-page .dashboard-tag--news {
  color: #c4b5fd !important;
  border-color: rgba(124,106,245,0.25) !important;
  background: rgba(124,106,245,0.15) !important;
}

body.admin-page .request-chip--approved,
body.admin-page .request-chip--in_progress {
  color: #86efac !important;
  border-color: rgba(34,197,94,0.25) !important;
  background: rgba(34,197,94,0.15) !important;
}

body.admin-page .request-chip--rejected,
body.admin-page .request-chip--closed {
  color: #fca5a5 !important;
  border-color: rgba(239,68,68,0.25) !important;
  background: rgba(239,68,68,0.15) !important;
}

body.dashboard-page .user-chip,
body.admin-page .user-chip {
  color: #f7f3ee !important;
  border-color: rgba(247, 243, 238, 0.14) !important;
  background: rgba(247, 243, 238, 0.08) !important;
}

body.admin-page .admin-shell__nav a:hover,
body.admin-page .admin-shell__nav a.active {
  color: #ffffff !important;
  background: rgba(247, 243, 238, 0.10) !important;
  border-left-color: #f7f3ee !important;
}

body.admin-page #calendar.fc {
  --fc-button-bg-color: rgba(247,243,238,0.06);
  --fc-button-border-color: rgba(247,243,238,0.14);
  --fc-button-hover-bg-color: rgba(247,243,238,0.12);
  --fc-button-hover-border-color: rgba(247,243,238,0.22);
  --fc-today-bg-color: rgba(247,243,238,0.08);
  --fc-event-bg-color: #f7f3ee;
  --fc-event-border-color: #f7f3ee;
  --fc-event-text-color: #050505;
}

/* ============================================================
   Warm controls + mobile tab bar
   ============================================================ */

:root {
  --accent: #cf766d;
  --accent-2: #b95f58;
  --accent-3: #f7f3ee;
  --accent-soft: rgba(207, 118, 109, 0.15);
  --ring: rgba(207, 118, 109, 0.52);
}

body.has-video-bg .site-video-bg__scrim {
  background:
    linear-gradient(180deg, rgba(5, 5, 7, 0.18) 0%, rgba(5, 5, 7, 0.54) 74%, rgba(5, 5, 7, 0.72) 100%),
    linear-gradient(90deg, rgba(5, 5, 7, 0.58) 0%, rgba(5, 5, 7, 0.24) 52%, rgba(5, 5, 7, 0.40) 100%) !important;
}

body.has-video-bg .hero::before {
  background:
    linear-gradient(90deg, rgba(5, 4, 4, 0.66) 0%, rgba(5, 4, 4, 0.26) 48%, rgba(5, 4, 4, 0.08) 100%),
    linear-gradient(180deg, rgba(5, 4, 4, 0.02) 0%, rgba(5, 4, 4, 0.66) 100%) !important;
}

.btn-primary,
.btn-light,
.dashboard-page .btn-primary,
body.dashboard-page .btn-primary,
body.admin-page .btn-primary,
body.merch-page .btn-primary {
  color: #fff7f2 !important;
  border-color: rgba(232, 143, 132, 0.72) !important;
  background:
    linear-gradient(135deg, #df8a7f 0%, #c96f67 54%, #aa554f 100%) !important;
  box-shadow: 0 14px 34px rgba(184, 87, 78, 0.24) !important;
}

.btn-primary:hover,
.btn-primary:focus-visible,
.btn-light:hover,
.btn-light:focus-visible,
.dashboard-page .btn-primary:hover,
body.dashboard-page .btn-primary:hover,
body.admin-page .btn-primary:hover,
body.merch-page .btn-primary:hover {
  color: #fffaf6 !important;
  background:
    linear-gradient(135deg, #e99a90 0%, #d27b72 54%, #b75e56 100%) !important;
  box-shadow: 0 18px 46px rgba(184, 87, 78, 0.34) !important;
}

.cab-visits-counter__fill,
.progress span,
.dashboard-page .progress span,
.price-line,
.section-divider::before,
.section-divider::after {
  background: linear-gradient(90deg, #cf766d, #f7d1bf) !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(207, 118, 109, 0.76) !important;
  box-shadow: 0 0 0 3px rgba(207, 118, 109, 0.18) !important;
}

.bottom-nav {
  left: 8px !important;
  right: 8px !important;
  bottom: 8px !important;
  display: flex !important;
  width: auto !important;
  max-width: none !important;
  gap: 6px !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 8px !important;
  border-radius: 18px !important;
  background: rgba(6, 6, 6, 0.88) !important;
  border: 1px solid rgba(247, 243, 238, 0.11) !important;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.46) !important;
  backdrop-filter: blur(18px) !important;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.bottom-nav::-webkit-scrollbar {
  display: none;
}

.bottom-nav__item {
  flex: 0 0 auto !important;
  min-width: 108px !important;
  min-height: 58px !important;
  padding: 8px 12px !important;
  border-radius: 12px !important;
  display: grid !important;
  place-items: center !important;
  gap: 3px !important;
  color: #eadfd8 !important;
  background: rgba(247, 243, 238, 0.075) !important;
  border: 1px solid rgba(247, 243, 238, 0.04) !important;
  scroll-snap-align: start;
}

.bottom-nav__item svg {
  width: 22px !important;
  height: 22px !important;
  stroke-width: 1.85 !important;
}

.bottom-nav__label {
  font-size: 0.78rem !important;
  line-height: 1.1 !important;
  color: inherit !important;
}

.bottom-nav__item:hover,
.bottom-nav__item.active {
  color: #fff7f2 !important;
  background: rgba(247, 243, 238, 0.12) !important;
}

.bottom-nav__cta {
  color: #fff7f2 !important;
  background:
    linear-gradient(135deg, #df8a7f 0%, #c96f67 58%, #aa554f 100%) !important;
  border-color: rgba(232, 143, 132, 0.42) !important;
  box-shadow: 0 10px 28px rgba(184, 87, 78, 0.28) !important;
}

.bottom-nav__cta svg,
.bottom-nav__cta .bottom-nav__label {
  color: #fff7f2 !important;
}

@media (max-width: 420px) {
  .bottom-nav__item {
    min-width: 104px !important;
  }
}

@media (min-width: 901px) {
  .bottom-nav {
    display: none !important;
  }
}

/* Logo + single-row mobile nav */
.brand__logo {
  display: block;
  width: clamp(120px, 13vw, 176px);
  height: 46px;
  object-fit: contain;
  object-position: left center;
}

.brand:has(.brand__logo) {
  gap: 0;
  min-width: 0;
}

.brand:has(.brand__logo) .brand__text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .topbar {
    gap: 8px !important;
    padding: 10px 12px !important;
  }

  .brand__logo {
    width: 92px;
    height: 46px;
  }

  .topbar__actions {
    gap: 6px !important;
  }

  .topbar__actions .btn-sm {
    min-height: 38px !important;
    padding: 6px 10px !important;
    font-size: 0.78rem !important;
  }

  .bottom-nav {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 4px !important;
    overflow: visible !important;
    padding: 6px !important;
    border-radius: 16px !important;
    scroll-snap-type: none;
  }

  .bottom-nav__item {
    min-width: 0 !important;
    width: auto !important;
    min-height: 54px !important;
    padding: 7px 3px !important;
    border-radius: 11px !important;
    gap: 2px !important;
  }

  .bottom-nav__item svg {
    width: 19px !important;
    height: 19px !important;
  }

  .bottom-nav__label {
    max-width: 100%;
    font-size: clamp(0.55rem, 2.2vw, 0.64rem) !important;
    font-weight: 800 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bottom-nav__short {
    display: inline !important;
  }

  .bottom-nav__full {
    display: none !important;
  }
}

.bottom-nav__short {
  display: none;
}

/* ============================================================
   Admin utility classes
   ============================================================ */
.admin-section { margin-bottom: 24px; }
.admin-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.admin-section-header h2, .admin-section-header h3 { margin: 0; }
.admin-kpi-grid { gap: 12px; }
.queue-item { padding: 10px 0; border-bottom: 1px solid var(--border); }
.queue-item:last-child { border-bottom: none; }
.queue-item strong { font-size: 0.88rem; }
.queue-item .muted { font-size: 0.78rem; margin-top: 2px; }
.admin-card-section { padding: 16px; }
.admin-card-section + .admin-card-section { border-top: 1px solid var(--border); }

/* Tabs for CRM */
.admin-tabs { display: flex; gap: 4px; margin-bottom: 20px; border-bottom: 1px solid var(--border); padding-bottom: 0; overflow-x: auto; }
.admin-tab { padding: 10px 16px; font-size: 0.85rem; font-weight: 600; color: var(--muted); background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: color 0.2s, border-color 0.2s; }
.admin-tab:hover { color: var(--ink); }
.admin-tab.active { color: var(--ink); border-bottom-color: var(--accent); }
.admin-tab-panel { display: none; }
.admin-tab-panel.active { display: block; }

/* Empty state */
.admin-empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.admin-empty-icon { font-size: 2rem; margin-bottom: 8px; opacity: 0.4; }

/* Form improvements */
.admin-form-group { margin-bottom: 14px; }
.admin-form-group label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.admin-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }


