/* Mentor for Schools (/schools). Loaded after site.css on this page only.
   The hero is a working sample dashboard with its own light/dark theme;
   the rest of the page keeps the site's stage theme. */

.sc-page { --sc-green: #2fd3a0; --sc-teal: #3fd2f2; --g-amber: #f6b865; --k-blue: #4b8df8; }

.sc-brand-mark { display: inline-flex; }
.cta-short { display: none; }
@media (max-width: 640px) { .cta-long { display: none; } .cta-short { display: inline; } .sc-page .brand { font-size: 1.02rem; gap: 8px; } }
.sc-brand-mark img { width: 28px; height: 28px; border-radius: 8px; box-shadow: 0 0 0 2px var(--bg); }
.sc-brand-mark img + img { margin-left: -9px; }

.sc-kicker { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sc-green); margin: 0 0 14px; }
.sc-fine { font-size: 0.86rem; color: var(--text-3); margin-top: 18px; max-width: 70em; }
.sc-soon { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; color: #04241b; background: var(--sc-green); vertical-align: 2px; }

/* ---------- hero ---------- */
.sc-hero { position: relative; padding: calc(var(--nav-h) + clamp(28px, 4vw, 48px)) 0 clamp(56px, 8vw, 96px); overflow: hidden; isolation: isolate; }
.sc-hero-bg { position: absolute; inset: 0 0 auto 0; height: min(92vh, 860px); z-index: -1; }
.sc-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 0.85; }
.sc-hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 55% at 50% 38%, rgba(18, 14, 31, 0.86), rgba(18, 14, 31, 0.35) 70%), linear-gradient(180deg, rgba(18, 14, 31, 0.2), var(--bg) 96%); }
.sc-hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.sc-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; font-size: 0.88rem; font-weight: 600; color: var(--text); background: rgba(47, 211, 160, 0.1); border: 1px solid rgba(47, 211, 160, 0.35); margin-bottom: 18px; }
.sc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sc-green); box-shadow: 0 0 0 0 rgba(47, 211, 160, 0.6); animation: sc-pulse 2.2s infinite; }
@keyframes sc-pulse { 70% { box-shadow: 0 0 0 9px rgba(47, 211, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 211, 160, 0); } }
.sc-hero h1 { font-size: clamp(2.3rem, 4.8vw, 4rem); line-height: 1.02; letter-spacing: -0.034em; font-variation-settings: "wdth" 86; max-width: 15em; }
.sc-grad { background: linear-gradient(95deg, #f6b865 0%, #ff8fb1 36%, #8c7bff 64%, #3fd2f2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sc-hero .lead { margin: 18px auto 0; max-width: 38em; }
.sc-hero-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; margin: 24px 0 clamp(28px, 4vw, 44px); }
.sc-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.sc-countdown { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.sc-countdown > div { min-width: 62px; padding: 6px 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); text-align: center; }
.sc-countdown b { display: block; font-size: 1.3rem; line-height: 1.1; font-weight: 760; }
.sc-countdown span { font-size: 0.76rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; }
.sc-countdown p { margin: 0 0 0 4px; font-size: 0.88rem; color: var(--text-2); max-width: 15em; text-align: left; line-height: 1.4; }

/* ---------- the dashboard ---------- */
.dash {
  --d-bg: #161127; --d-surface: #1f1835; --d-surface-2: #2a2147; --d-line: rgba(226, 218, 255, 0.11);
  --d-text: #f3f0fa; --d-text-2: #c2bad8; --d-text-3: #8f87aa; --d-staff: rgba(226, 218, 255, 0.22);
  --d-accent: var(--g-amber); --d-accent-2: #ff8f6b; --d-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.06);
  position: relative; border-radius: 26px; padding: clamp(14px, 2vw, 22px); color: var(--d-text);
  background: linear-gradient(180deg, var(--d-surface) 0%, var(--d-bg) 60%);
  box-shadow: var(--d-shadow); transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.dash::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(120deg, rgba(246, 184, 101, 0.6), rgba(140, 123, 255, 0.4) 45%, rgba(63, 210, 242, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.dash[data-app="keyboard"] { --d-accent: #6fa8ff; --d-accent-2: #8c7bff; }
.dash[data-theme="light"] {
  --d-bg: #f6f3ff; --d-surface: #ffffff; --d-surface-2: #efeafb; --d-line: rgba(40, 24, 90, 0.1);
  --d-text: #1b1430; --d-text-2: #4a4166; --d-text-3: #6d6588; --d-staff: rgba(40, 24, 90, 0.22);
  --d-shadow: 0 40px 120px -50px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.4);
  color-scheme: light;
}
.dash[data-theme="light"][data-app="guitar"] { --d-accent: #d9821f; }
.dash[data-theme="light"][data-app="keyboard"] { --d-accent: #2f6fe4; }

.dash-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 4px 4px 16px; border-bottom: 1px solid var(--d-line); }
.dash-id { display: flex; align-items: center; gap: 12px; margin-right: auto; text-align: left; }
.dash-id b { display: block; font-size: 1.02rem; letter-spacing: -0.01em; }
.dash-id small { color: var(--d-text-3); font-size: 0.82rem; }
.dash-sample { color: var(--d-text-2); font-weight: 650; }
.dash-dots { display: inline-flex; gap: 6px; }
.dash-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff6b6b; }
.dash-dots i:nth-child(2) { background: #f6b865; }
.dash-dots i:nth-child(3) { background: #4be3a0; }

.dash-apps { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--d-surface-2); border: 1px solid var(--d-line); }
.dash-apps button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--d-text-2); font-weight: 680; font-size: 0.92rem; cursor: pointer; transition: background 0.25s var(--ease), color 0.25s, box-shadow 0.25s; white-space: nowrap; }
.dash-apps button img { width: 20px; height: 20px; border-radius: 6px; }
.dash-apps button[aria-checked="true"][data-app-btn="guitar"] { background: linear-gradient(105deg, #ffd796, #f6b865 45%, #f0707c); color: #26140a; box-shadow: 0 6px 18px -8px rgba(246, 184, 101, 0.9); }
.dash-apps button[aria-checked="true"][data-app-btn="keyboard"] { background: linear-gradient(105deg, #2346c8, #3a7fd3 60%, #4ba3d0); color: #fff; box-shadow: 0 6px 18px -8px rgba(75, 163, 208, 0.9); }
.dash-apps button:focus-visible, .dash-theme:focus-visible, .dash-select select:focus-visible, .roster-filter button:focus-visible { outline: 2px solid var(--d-accent); outline-offset: 2px; }

.dash-tools { display: flex; align-items: center; gap: 10px; }
.dash-select select { appearance: none; -webkit-appearance: none; min-height: 40px; padding: 0 36px 0 14px; border-radius: 12px; border: 1px solid var(--d-line); font: inherit; font-size: 0.92rem; font-weight: 600; cursor: pointer;
  color: var(--d-text); background: var(--d-surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%238f87aa' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center / 18px; }
.dash-theme { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--d-line); background: var(--d-surface-2); color: var(--d-text); font-weight: 650; font-size: 0.9rem; cursor: pointer; transition: background 0.25s, transform 0.2s var(--ease); }
.dash-theme:active { transform: scale(0.96); }
.dash-theme svg { width: 18px; height: 18px; }
.dash-theme .sun { display: none; color: #f6b865; }
.dash-theme .moon { color: #b9adff; }
.dash[data-theme="light"] .dash-theme .sun { display: none; }
.dash[data-theme="dark"] .dash-theme .moon { display: none; }
.dash[data-theme="dark"] .dash-theme .sun { display: block; }
.dash[data-theme="light"] .dash-theme .moon { display: block; color: #5b48d9; }

/* KPI cards: four colours, one story each */
.dash-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.kpi { position: relative; overflow: hidden; border-radius: 20px; padding: 16px 16px 14px; color: #fff; min-height: 150px; display: flex; flex-direction: column; text-align: left; isolation: isolate; }
.kpi::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); z-index: -1; }
.k1 { background: linear-gradient(145deg, #ff9a5a 0%, #f0707c 55%, #c74a93 100%); }
.k2 { background: linear-gradient(145deg, #8c7bff 0%, #6b55f0 55%, #4532b8 100%); }
.k3 { background: linear-gradient(145deg, #2fd3a0 0%, #14a88a 55%, #0b7a75 100%); }
.k4 { background: linear-gradient(145deg, #3fc4f2 0%, #2b86d6 55%, #2346c8 100%); }
.kpi-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.86rem; font-weight: 650; opacity: 0.95; }
.kpi-top svg { width: 22px; height: 22px; opacity: 0.9; }
.kpi-val { margin: 10px 0 0; display: flex; flex-direction: column; }
.kpi-val b { font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; font-weight: 780; letter-spacing: -0.03em; }
.kpi-val small { font-size: 0.82rem; opacity: 0.9; margin-top: 4px; }
.kpi-foot { margin: auto 0 0; padding-top: 8px; font-size: 0.82rem; opacity: 0.92; }
.kpi-foot .up { font-weight: 750; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.22); }
.kpi-eq { margin-top: auto; padding-top: 10px; height: 34px; display: flex; align-items: flex-end; gap: 4px; }
.kpi-eq i { flex: 1; border-radius: 3px; background: rgba(255, 255, 255, 0.75); height: 30%; transform-origin: bottom; animation: sc-eq 1.4s ease-in-out infinite alternate; }
.kpi-eq i:nth-child(2n) { animation-duration: 1.1s; } .kpi-eq i:nth-child(3n) { animation-duration: 1.7s; } .kpi-eq i:nth-child(5n) { animation-duration: 0.9s; }
.kpi-eq i:nth-child(1) { height: 40%; } .kpi-eq i:nth-child(2) { height: 70%; } .kpi-eq i:nth-child(3) { height: 50%; } .kpi-eq i:nth-child(4) { height: 90%; } .kpi-eq i:nth-child(5) { height: 60%; }
.kpi-eq i:nth-child(6) { height: 80%; } .kpi-eq i:nth-child(7) { height: 45%; } .kpi-eq i:nth-child(8) { height: 75%; } .kpi-eq i:nth-child(9) { height: 55%; } .kpi-eq i:nth-child(10) { height: 85%; }
@keyframes sc-eq { from { transform: scaleY(0.45); } to { transform: scaleY(1); } }
.kpi-ring { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.kpi-ring svg { width: 64px; height: 64px; flex-shrink: 0; transform: rotate(-90deg); }
.kpi-ring circle { fill: none; stroke-width: 5; }
.kpi-ring .track { stroke: rgba(255, 255, 255, 0.25); }
.kpi-ring .bar { stroke: #fff; stroke-linecap: round; stroke-dasharray: 113.1; stroke-dashoffset: 113.1; transition: stroke-dashoffset 0.9s var(--ease); }
.kpi-ring .kpi-val { margin: 0; }

/* panels */
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.panel { border-radius: 20px; background: var(--d-surface); border: 1px solid var(--d-line); padding: 16px; text-align: left; min-width: 0; transition: background 0.35s var(--ease); }
.panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin-bottom: 10px; }
.panel-head h3 { font-size: 1.04rem; letter-spacing: -0.01em; font-variation-settings: "wdth" 100; display: flex; align-items: center; gap: 8px; }
.panel-note { font-size: 0.8rem; color: var(--d-text-3); }

/* practice minutes drawn on a stave: each day is a note */
.staff { position: relative; }
.staff svg { width: 100%; height: auto; overflow: visible; }
.staff .line { stroke: var(--d-staff); stroke-width: 1.2; }
.staff .clef { fill: var(--d-text-3); }
.staff .path { fill: none; stroke: var(--d-accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0.55; stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 1.1s var(--ease); }
.staff.drawn .path { stroke-dashoffset: 0; }
.staff .note { cursor: pointer; transition: transform 0.6s var(--ease); }
.staff .head { fill: var(--d-accent); }
.staff .stem { stroke: var(--d-accent); stroke-width: 2.2; }
.staff .note:hover .head, .staff .note:focus .head, .staff .note.on .head { fill: var(--d-text); }
.staff .note:focus { outline: none; }
.staff .note:focus-visible .ring { stroke: var(--d-text); }
.staff .ring { fill: none; stroke: transparent; stroke-width: 2; }
.staff .day { fill: var(--d-text-3); font-size: 12px; font-weight: 600; text-anchor: middle; font-family: var(--font); }
.staff .val { fill: var(--d-text); font-size: 12px; font-weight: 750; text-anchor: middle; font-family: var(--font); opacity: 0; transition: opacity 0.2s; }
.staff .note:hover .val, .staff .note:focus .val, .staff .note.on .val { opacity: 1; }

.panel-staff { display: flex; flex-direction: column; }
.staff-sum { margin: auto 0 0; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.staff-sum span { padding: 7px 12px; border-radius: 12px; background: var(--d-surface-2); font-size: 0.82rem; color: var(--d-text-2); }
.staff-sum b { color: var(--d-accent); font-weight: 780; margin-right: 2px; }
.dash[data-theme="light"] .staff-sum b { color: var(--d-text); }

/* class skills: strings for guitar, keys for keyboard */
.skills { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.skill { display: grid; grid-template-columns: 7.6em minmax(0, 1fr) 2.6em; align-items: center; gap: 10px; font-size: 0.88rem; }
.skill > span:first-child { color: var(--d-text-2); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.skill > b { text-align: right; font-variant-numeric: tabular-nums; }
.string { position: relative; height: 18px; }
.string::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, var(--d-staff) 0 calc(16.66% - 2px), var(--d-text-3) calc(16.66% - 2px) 16.66%); }
.string .fill { position: absolute; left: 0; top: 50%; height: 3px; transform: translateY(-50%); border-radius: 3px; width: 0; background: linear-gradient(90deg, #ff5fa2, #a45cff 45%, #3fd2f2); box-shadow: 0 0 10px rgba(164, 92, 255, 0.6); transition: width 0.9s var(--ease); }
.string .dot { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--d-accent); box-shadow: 0 0 0 3px var(--d-surface), 0 0 14px var(--d-accent); left: 0; transition: left 0.9s var(--ease); }
.keys { display: grid; grid-template-columns: repeat(14, 1fr); gap: 2px; height: 22px; }
.keys i { border-radius: 0 0 4px 4px; background: var(--d-surface-2); border: 1px solid var(--d-line); transition: background 0.3s var(--ease); transition-delay: calc(var(--k) * 40ms); }
.keys i.lit { background: linear-gradient(180deg, #6fa8ff, #8c7bff); border-color: transparent; box-shadow: 0 0 8px rgba(111, 168, 255, 0.55); }

/* class tempo: a small metronome that swings at the class's tempo */
.panel-skills { display: flex; flex-direction: column; }
.tempo { margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 16px; border-top: 1px dashed var(--d-line); }
.panel-skills .skills { margin-bottom: 16px; }
.metro { position: relative; width: 54px; height: 64px; flex-shrink: 0; }
.metro-body { position: absolute; inset: 0; clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); border-radius: 6px; background: linear-gradient(180deg, var(--d-accent), var(--d-accent-2)); opacity: 0.9; }
.metro-arm { position: absolute; left: 50%; bottom: 8px; width: 3px; height: 50px; margin-left: -1.5px; border-radius: 2px; background: var(--d-text); transform-origin: 50% 100%; animation: sc-swing var(--beat, 0.7s) ease-in-out infinite alternate; }
.metro-arm::after { content: ""; position: absolute; left: 50%; top: 10px; width: 10px; height: 7px; margin-left: -5px; border-radius: 2px; background: var(--d-text); }
@keyframes sc-swing { from { transform: rotate(-24deg); } to { transform: rotate(24deg); } }
.tempo p { margin: 0; }
.tempo-label { font-size: 0.8rem; color: var(--d-text-3); }
.tempo-val { font-size: 1rem; color: var(--d-text-2); }
.tempo-val b { font-size: 1.7rem; font-weight: 780; color: var(--d-text); letter-spacing: -0.02em; }
.tempo-val .up { font-size: 0.78rem; font-weight: 750; padding: 1px 7px; border-radius: 999px; background: rgba(47, 211, 160, 0.18); color: #20b487; vertical-align: 3px; }
.dash[data-theme="dark"] .tempo-val .up { color: #5ff0bd; }
.tempo-note { font-size: 0.76rem; color: var(--d-text-3); }

/* roster */
.panel-roster { grid-column: 1; }
.roster-filter { display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; background: var(--d-surface-2); }
.roster-filter button { min-height: 32px; padding: 0 12px; border-radius: 999px; border: 0; background: transparent; color: var(--d-text-2); font-size: 0.82rem; font-weight: 650; cursor: pointer; }
.roster-filter button[aria-checked="true"] { background: var(--d-surface); color: var(--d-text); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18); }
.roster-wrap { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
.roster { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.roster th { text-align: left; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--d-text-3); font-weight: 650; padding: 4px 8px 8px; border-bottom: 1px solid var(--d-line); }
.roster td { padding: 10px 8px; border-bottom: 1px solid var(--d-line); vertical-align: middle; }
.roster tr:last-child td { border-bottom: 0; }
.roster tbody tr { transition: background 0.2s; }
.roster tbody tr:hover { background: rgba(140, 123, 255, 0.07); }
.who { display: flex; align-items: center; gap: 10px; font-weight: 650; white-space: nowrap; }
.av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 0.76rem; font-weight: 800; color: #fff; flex-shrink: 0; }
.lesson { color: var(--d-text-2); min-width: 9em; }
.lesson small { display: block; color: var(--d-text-3); font-size: 0.76rem; }
.prog { display: flex; align-items: center; gap: 8px; min-width: 110px; }
.prog .bar { flex: 1; height: 8px; border-radius: 99px; background: var(--d-surface-2); overflow: hidden; }
.prog .bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--d-accent), var(--d-accent-2)); width: 0; transition: width 0.8s var(--ease); }
.prog b { font-size: 0.8rem; font-variant-numeric: tabular-nums; min-width: 2.6em; text-align: right; }
.streak { white-space: nowrap; font-weight: 650; }
.streak svg { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-right: 3px; color: #ff8f6b; }
.ev { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; white-space: nowrap; }
.ev svg { width: 13px; height: 13px; }
.ev-mic { background: rgba(47, 211, 160, 0.16); color: #20b487; }
.ev-midi { background: rgba(111, 168, 255, 0.18); color: #4b8df8; }
.ev-touch { background: rgba(246, 184, 101, 0.18); color: #d08a2c; }
.dash[data-theme="dark"] .ev-mic { color: #5ff0bd; }
.dash[data-theme="dark"] .ev-midi { color: #9cc2ff; }
.dash[data-theme="dark"] .ev-touch { color: #ffd08f; }
.flag { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ff6b6b; margin-left: 6px; vertical-align: 2px; }
.roster-empty td { color: var(--d-text-3); text-align: center; padding: 22px; }

/* live feed */
.panel-live { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; }
.panel-skills { grid-column: 2; grid-row: 1; }
.panel-staff { grid-column: 1; grid-row: 1; }
.panel-roster { grid-row: 2; }
.panel-live { grid-row: 2; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff5f7a; box-shadow: 0 0 0 0 rgba(255, 95, 122, 0.6); animation: sc-live 1.6s infinite; }
@keyframes sc-live { 70% { box-shadow: 0 0 0 8px rgba(255, 95, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 95, 122, 0); } }
.live-eq { display: flex; align-items: center; gap: 3px; height: 36px; margin: 2px 0 12px; }
.live-eq i { flex: 1; height: 100%; border-radius: 3px; background: linear-gradient(180deg, var(--d-accent), var(--d-accent-2)); transform: scaleY(0.2); animation: sc-eq2 1s ease-in-out infinite alternate; }
.live-eq i:nth-child(odd) { animation-duration: 0.7s; } .live-eq i:nth-child(3n) { animation-duration: 1.3s; animation-delay: -0.4s; } .live-eq i:nth-child(4n) { animation-delay: -0.2s; }
@keyframes sc-eq2 { from { transform: scaleY(0.15); } to { transform: scaleY(0.95); } }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.feed li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px; border-radius: 14px; background: var(--d-surface-2); font-size: 0.84rem; line-height: 1.4; animation: sc-in 0.5s var(--ease) both; }
.feed li .av { width: 30px; height: 30px; font-size: 0.7rem; }
.feed li b { font-weight: 700; }
.feed li small { display: block; color: var(--d-text-3); font-size: 0.76rem; margin-top: 2px; }
@keyframes sc-in { from { opacity: 0; transform: translateY(-8px); } }
.dash-foot { margin: 14px 4px 0; font-size: 0.8rem; color: var(--d-text-3); text-align: left; }

/* ---------- strip ---------- */
.sc-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border-radius: 22px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.sc-strip li { background: var(--bg-2); padding: 22px 20px; display: flex; flex-direction: column; gap: 4px; }
.sc-strip b { font-size: 1.5rem; font-weight: 760; letter-spacing: -0.02em; }
.sc-strip li:nth-child(1) b { color: var(--g-amber); } .sc-strip li:nth-child(2) b { color: #b9adff; } .sc-strip li:nth-child(3) b { color: var(--sc-green); } .sc-strip li:nth-child(4) b { color: var(--sc-teal); }
.sc-strip span { color: var(--text-2); font-size: 0.92rem; line-height: 1.4; }

/* ---------- two apps ---------- */
.sc-apps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.app-card { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); isolation: isolate; }
.app-g { background: radial-gradient(120% 80% at 0% 0%, rgba(246, 184, 101, 0.22), transparent 55%), linear-gradient(180deg, #221a2e, var(--bg-2)); }
.app-k { background: radial-gradient(120% 80% at 100% 0%, rgba(75, 141, 248, 0.25), transparent 55%), linear-gradient(180deg, #1a1d3a, var(--bg-2)); }
.app-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.app-card-head img { width: 56px; height: 56px; border-radius: 15px; box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.8); }
.app-card-head h3 { font-size: 1.6rem; }
.app-card-head p { margin: 2px 0 0; color: var(--text-2); font-size: 0.95rem; }
.app-card h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); margin: 22px 0 8px; font-weight: 700; }
.app-card .ticks { margin: 0; }
.app-card .btn { margin-top: 24px; }
/* a real acoustic guitar that strums chords (schools.js) */
.gtr-wrap { margin: 6px 0 10px; }
.gtr { position: relative; touch-action: manipulation; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.5)); }
.gtr svg { width: 100%; height: auto; overflow: visible; }
.gtr .gstr { transform-box: fill-box; transform-origin: center; transition: opacity 0.25s; }
.gtr .gstr.muted { opacity: 0.35; }
.gtr .gstr.vib { animation: gvib 0.55s ease-out; }
@keyframes gvib { 0% { transform: translateY(0); } 10% { transform: translateY(1.4px); } 22% { transform: translateY(-1.2px); } 36% { transform: translateY(0.9px); } 52% { transform: translateY(-0.6px); } 70% { transform: translateY(0.3px); } 100% { transform: translateY(0); } }
.gtr .ghit { stroke: transparent; stroke-width: 9; cursor: pointer; pointer-events: stroke; }
.gtr .ghit:focus { outline: none; }
.gtr .ghit:focus-visible { stroke: rgba(255, 215, 150, 0.35); }
.gtr .gdot { transition: opacity 0.18s, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); transform-box: fill-box; transform-origin: center; }
.gtr .gdot.off { opacity: 0; transform: scale(0.4); }
.gtr .gmark { font: 800 11px var(--font); text-anchor: middle; dominant-baseline: central; transition: opacity 0.2s; }
.gtr .gfing { font: 800 13px var(--font); fill: #fff; text-anchor: middle; dominant-baseline: central; }
.gtr .gname { font: 800 22px var(--font); fill: #fff; text-anchor: middle; dominant-baseline: central; }
.gtr .gname-bg { fill: rgba(18, 14, 31, 0.72); stroke: rgba(255, 215, 150, 0.55); stroke-width: 1.2; }
.gtr .gname-g { transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); transform-box: fill-box; transform-origin: center; }
.gtr .gname-g.pop { transform: scale(1.12); }
.gtr-now svg { color: #ffc77e !important; }
/* a real two-octave piano that plays a melody (schools.js) */
.piano-wrap { margin: 6px 0 10px; }
.piano { position: relative; height: 112px; padding: 10px 8px 8px; border-radius: 14px; touch-action: manipulation;
  background: linear-gradient(180deg, #23263f 0%, #121427 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 34px -18px rgba(0, 0, 0, 0.9); }
.piano::before { content: ""; position: absolute; left: 8px; right: 8px; top: 10px; height: 4px; z-index: 3; border-radius: 2px; background: linear-gradient(180deg, #7a1f35, #4a1020); box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5); }
.pk-whites { position: relative; display: flex; height: 100%; gap: 2px; }
.pk { position: relative; border: 0; padding: 0; margin: 0; cursor: pointer; font: inherit; -webkit-tap-highlight-color: transparent; }
.pk:focus-visible { outline: 2px solid #ffd796; outline-offset: -2px; z-index: 4; }
.pk-w { flex: 1; height: 100%; border-radius: 0 0 7px 7px;
  background: linear-gradient(180deg, #f4f6ff 0%, #ffffff 70%, #e3e7f7 100%);
  box-shadow: inset 0 -6px 0 #cfd5ea, inset 0 -7px 0 #b9c0db, 0 2px 2px rgba(0, 0, 0, 0.35);
  transform-origin: top; transition: transform 0.09s ease-out, box-shadow 0.09s, background 0.12s; }
.pk-b { position: absolute; top: 0; z-index: 2; width: 4.6%; height: 62%; border-radius: 0 0 5px 5px;
  background: linear-gradient(180deg, #3a3d55 0%, #15172a 55%, #0b0c18 100%);
  box-shadow: inset 0 -5px 0 #2a2d44, inset 1px 0 0 rgba(255, 255, 255, 0.12), 0 4px 5px rgba(0, 0, 0, 0.55);
  transform-origin: top; transition: transform 0.09s ease-out, box-shadow 0.09s, background 0.12s; }
.pk-b::after { content: ""; position: absolute; left: 22%; right: 22%; top: 6px; height: 40%; border-radius: 3px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent); }
.pk-w.down { transform: scaleY(0.985) translateY(1px); background: linear-gradient(180deg, #c7d6ff 0%, #a9c0ff 60%, #8fa6ff 100%);
  box-shadow: inset 0 -2px 0 #7c8fe0, 0 0 22px rgba(111, 168, 255, 0.85), 0 1px 1px rgba(0, 0, 0, 0.3); }
.pk-b.down { transform: scaleY(0.97) translateY(1px); background: linear-gradient(180deg, #6f8cff 0%, #4a5fe0 60%, #2b36a8 100%);
  box-shadow: inset 0 -2px 0 #22298a, 0 0 18px rgba(140, 123, 255, 0.95); }
.pk-tag { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font-size: 0.68rem; font-weight: 750; color: #8a93b8; pointer-events: none; }
.pk-w.down .pk-tag { color: #1d2a7a; }
.pk-note { position: absolute; left: 50%; top: -6px; z-index: 5; pointer-events: none; padding: 2px 8px; border-radius: 999px; font-size: 0.74rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #6fa8ff, #8c7bff); box-shadow: 0 6px 14px -6px rgba(111, 168, 255, 0.9); animation: pk-float 0.9s ease-out forwards; }
@keyframes pk-float { 0% { opacity: 0; transform: translate(-50%, 6px) scale(0.8); } 18% { opacity: 1; transform: translate(-50%, -14px) scale(1); } 100% { opacity: 0; transform: translate(-50%, -38px) scale(0.95); } }
.piano-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.piano-now { display: inline-flex; align-items: center; gap: 6px; font-size: 0.84rem; color: var(--text-2); font-weight: 600; }
.piano-now svg { width: 16px; height: 16px; color: #8fb6ff; }
.piano-sound { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); color: var(--text-2); font-size: 0.82rem; font-weight: 650; cursor: pointer; }
.piano-sound svg { width: 16px; height: 16px; }
.piano-sound .on, .piano-sound[aria-pressed="true"] .off { display: none; }
.piano-sound[aria-pressed="true"] .on { display: inline; }
.piano-sound[aria-pressed="true"] { color: #fff; border-color: rgba(111, 168, 255, 0.6); background: rgba(111, 168, 255, 0.14); }
@media (max-width: 640px) { .piano { height: 96px; } .pk-tag { display: none; } }

/* ---------- classroom features ---------- */
.sc-room-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(32px, 4vw, 52px); }
.sc-room .photo { border-radius: 26px; overflow: hidden; border: 1px solid var(--line); }
.sc-room .photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sc-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fcard { position: relative; border-radius: 22px; padding: 22px; background: var(--surface); border: 1px solid var(--line); transition: transform 0.25s var(--ease), border-color 0.25s; overflow: hidden; }
.fcard:hover { transform: translateY(-3px); border-color: var(--line-2); }
.fcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--fc); }
.fcard h3 { font-size: 1.12rem; margin: 14px 0 8px; font-variation-settings: "wdth" 100; }
.fcard p { margin: 0; color: var(--text-2); font-size: 0.96rem; line-height: 1.55; }
.fcard-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--fc); color: #fff; box-shadow: 0 10px 24px -12px var(--fcs); }
.fcard-ico svg { width: 24px; height: 24px; }
.f1 { --fc: linear-gradient(135deg, #ff9a5a, #f0707c); --fcs: #f0707c; }
.f2 { --fc: linear-gradient(135deg, #2fd3a0, #0b9a85); --fcs: #2fd3a0; }
.f3 { --fc: linear-gradient(135deg, #8c7bff, #5b48d9); --fcs: #8c7bff; }
.f4 { --fc: linear-gradient(135deg, #3fc4f2, #2b6fd6); --fcs: #3fc4f2; }
.f5 { --fc: linear-gradient(135deg, #ff5fa2, #b74ae0); --fcs: #ff5fa2; }
.f6 { --fc: linear-gradient(135deg, #f6b865, #e0953a); --fcs: #f6b865; }

/* ---------- curriculum ---------- */
.sc-cur { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cur { border-radius: 24px; padding: 24px; border: 1px solid var(--line); background: var(--surface); }
.cur h3 { font-size: 1.35rem; display: flex; align-items: center; gap: 10px; }
.cur h3::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--cc); box-shadow: 0 0 12px var(--cc); }
.cur-g { --cc: #f6b865; } .cur-k { --cc: #6fa8ff; } .cur-c { --cc: #2fd3a0; }
.cur ul { margin: 14px 0 0; padding-left: 1.1em; color: var(--text-2); }
.cur li { margin-bottom: 0.6em; line-height: 1.5; }
.cur li b { color: var(--text); }

/* ---------- steps ---------- */
.sc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.sc-steps li { position: relative; border-radius: 22px; padding: 22px; background: var(--bg-2); border: 1px solid var(--line); }
.sc-steps li:not(:last-child)::after { content: ""; position: absolute; top: 44px; right: -17px; width: 18px; height: 2px; background: var(--line-2); }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-weight: 800; font-size: 1.1rem; color: #04241b; background: linear-gradient(135deg, #5ff0bd, #2fd3a0); box-shadow: 0 8px 22px -10px #2fd3a0; }
.sc-steps h3 { font-size: 1.12rem; margin: 16px 0 8px; font-variation-settings: "wdth" 100; }
.sc-steps p { margin: 0; color: var(--text-2); font-size: 0.95rem; }

/* ---------- pricing ---------- */
.sc-price { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.calc { border-radius: 26px; padding: clamp(20px, 3vw, 30px); background: radial-gradient(120% 90% at 100% 0%, rgba(47, 211, 160, 0.18), transparent 55%), var(--surface); border: 1px solid rgba(47, 211, 160, 0.3); display: grid; gap: 16px; }
.calc h3 { font-size: 1.3rem; }
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.calc-row label { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; }
.calc-row label img { border-radius: 6px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.stepper button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.3rem; cursor: pointer; color: var(--text); }
.stepper button:hover { background: rgba(255, 255, 255, 0.06); }
.stepper input { width: 84px; height: 44px; border: 0; border-inline: 1px solid var(--line); background: transparent; color: var(--text); font: inherit; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-out { border-top: 1px solid var(--line); padding-top: 14px; }
.calc-total { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.calc-total b { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 780; letter-spacing: -0.03em; line-height: 1; }
.calc-total span { color: var(--text-3); }
.calc-detail { margin: 6px 0 0; color: var(--text-2); }
.calc-note { margin: 6px 0 0; color: var(--sc-green); font-size: 0.9rem; min-height: 1.3em; }
.calc .btn { justify-self: start; }
.sc-table-wrap { border-radius: 26px; padding: clamp(14px, 2vw, 22px); background: var(--bg-2); border: 1px solid var(--line); overflow-x: auto; }
.sc-table { width: 100%; border-collapse: collapse; }
.sc-table th, .sc-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.sc-table thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); }
.sc-table tbody tr { transition: background 0.25s; }
.sc-table tbody tr.on { background: rgba(47, 211, 160, 0.12); }
.sc-table tbody tr.on th { color: var(--sc-green); }
.sc-table tbody tr:last-child th, .sc-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- country picker ---------- */
.cty { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: -18px 0 24px; }
.cty-label { font-weight: 650; color: var(--text-2); }
.cty-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: inherit; font-weight: 650; cursor: pointer; transition: border-color 0.2s; }
.cty-btn:hover, .cty-btn[aria-expanded="true"] { border-color: var(--sc-green); }
.cty-btn svg { width: 18px; height: 18px; color: var(--text-3); transition: transform 0.2s; }
.cty-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.cty-flag { font-size: 1.25rem; line-height: 1; display: inline-flex; }
.cty-flag img { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15); }
.cty-cur { padding: 2px 8px; border-radius: 999px; font-size: 0.78rem; font-weight: 750; color: #04241b; background: var(--sc-green); }
.cty-pop { position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; width: min(380px, calc(100vw - 32px)); border-radius: 18px; padding: 10px; background: #1c1630; border: 1px solid var(--line-2); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9); }
.cty-az { display: grid; grid-template-columns: repeat(13, 1fr); gap: 3px; margin-bottom: 8px; }
.cty-az button { min-height: 30px; padding: 0; border: 0; border-radius: 8px; background: rgba(255, 255, 255, 0.05); color: var(--text-2); font: inherit; font-size: 0.8rem; font-weight: 700; cursor: pointer; }
.cty-az button:hover { background: rgba(47, 211, 160, 0.16); color: var(--text); }
.cty-az button[aria-pressed="true"] { background: var(--sc-green); color: #04241b; }
.cty-az button:disabled { opacity: 0.25; cursor: default; }
.cty-hint { margin: 0 4px 8px; font-size: 0.82rem; color: var(--text-3); min-height: 1.3em; }
.cty-hint b { color: var(--text); }
.cty-hint button { border: 0; background: none; color: var(--sc-green); font: inherit; font-weight: 700; cursor: pointer; padding: 0; }
.cty-list { list-style: none; margin: 0; padding: 0; max-height: 300px; overflow-y: auto; overscroll-behavior: contain; outline: none; border-radius: 12px; }
.cty-list li { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 10px; border-radius: 10px; cursor: pointer; font-size: 0.95rem; }
.cty-list li:hover { background: rgba(255, 255, 255, 0.05); }
.cty-list li.active { background: rgba(47, 211, 160, 0.14); box-shadow: inset 0 0 0 1px rgba(47, 211, 160, 0.4); }
.cty-list li[aria-selected="true"] .cty-n { font-weight: 750; color: var(--sc-green); }
.cty-list:focus-visible li.active { box-shadow: inset 0 0 0 2px var(--sc-green); }
.cty-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cty-c { font-size: 0.76rem; font-weight: 700; color: var(--text-3); }
.cty-none { color: var(--text-3); cursor: default !important; }
@media (max-width: 640px) { .cty { margin-top: -8px; } .cty-az button { min-height: 34px; } }

/* ---------- honesty ---------- */
.sc-honest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; border-radius: 30px; padding: clamp(26px, 4vw, 52px); background: linear-gradient(135deg, rgba(140, 123, 255, 0.16), rgba(47, 211, 160, 0.08)), var(--bg-2); border: 1px solid var(--line); }
.sc-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sc-checks li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); font-weight: 600; }
.sc-checks li::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--sc-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2304241b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }

/* ---------- waitlist ---------- */
.sc-wait-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.wait-form, .wait-done { border-radius: 28px; padding: clamp(20px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8); }
.wf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.wf { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.wf-grid .wf { margin-bottom: 0; }
.wf label, .wf-apps legend { font-size: 0.9rem; font-weight: 650; color: var(--text); }
.wf label span, .wf-apps legend span { color: var(--tungsten); }
.wf input, .wf textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font: inherit; font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s; }
.wf textarea { resize: vertical; min-height: 96px; }
.wf input::placeholder, .wf textarea::placeholder { color: var(--text-3); }
.wf input:focus, .wf textarea:focus { outline: none; border-color: var(--sc-green); box-shadow: 0 0 0 3px rgba(47, 211, 160, 0.22); }
.wf input[aria-invalid="true"] { border-color: var(--red); }
.wf-err { margin: 0; font-size: 0.84rem; color: #ff8f8f; }
.wf-apps { border: 0; padding: 0; margin: 18px 0 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.wf-apps legend { margin-bottom: 8px; padding: 0; }
.wf-chip { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px 0 12px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); font-weight: 650; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.wf-chip img { border-radius: 6px; }
.wf-chip input { width: 18px; height: 18px; accent-color: var(--sc-green); margin: 0; }
.wf-chip.g:has(input:checked) { border-color: rgba(246, 184, 101, 0.7); background: rgba(246, 184, 101, 0.1); }
.wf-chip.k:has(input:checked) { border-color: rgba(111, 168, 255, 0.7); background: rgba(111, 168, 255, 0.1); }
.wf-chip:has(input:focus-visible) { outline: 2px solid var(--tungsten); outline-offset: 2px; }
.wf-apps .wf-err { flex-basis: 100%; }
.wf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wf-submit { width: 100%; margin-top: 6px; min-height: 52px; font-size: 1.02rem; }
.wf-submit[aria-busy="true"] { pointer-events: none; opacity: 0.8; }
.wf-spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(29, 18, 6, 0.3); border-top-color: #1d1206; animation: sc-spin 0.8s linear infinite; }
.wf-submit[aria-busy="true"] .wf-spin { display: inline-block; }
@keyframes sc-spin { to { transform: rotate(360deg); } }
.wf-status { margin: 12px 0 0; min-height: 1.2em; font-size: 0.92rem; color: #ff8f8f; }
.wf-status a { color: var(--text); }
.wait-done { text-align: center; color: var(--text-2); }
.wait-done svg { width: 72px; height: 72px; color: var(--sc-green); margin: 0 auto 12px; }
.wait-done h3 { font-size: 1.6rem; color: var(--text); margin-bottom: 10px; }
.wait-done:focus { outline: none; }
.sc-wait .ticks { margin-top: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-steps li::after { display: none; }
}
@media (max-width: 920px) {
  .dash-grid { grid-template-columns: 1fr; }
  .panel-staff, .panel-skills, .panel-roster, .panel-live { grid-column: 1; grid-row: auto; }
  .sc-apps, .sc-room-top, .sc-price, .sc-honest-grid, .sc-wait-grid { grid-template-columns: 1fr; }
  .sc-features, .sc-cur { grid-template-columns: 1fr 1fr; }
  .sc-strip { grid-template-columns: 1fr 1fr; }
  .dash-id { width: 100%; }
}
@media (max-width: 640px) {
  .sc-hero { padding-top: calc(var(--nav-h) + 28px); }
  .sc-countdown p { flex-basis: 100%; text-align: center; margin: 4px 0 0; }
  .dash { border-radius: 20px; padding: 12px; }
  .dash-bar { gap: 10px; }
  .dash-apps { width: 100%; }
  .dash-apps button { padding: 0 8px; font-size: 0.86rem; }
  .dash-tools { width: 100%; }
  .dash-select { flex: 1; }
  .dash-select select { width: 100%; }
  .kpi { min-height: 132px; padding: 14px 12px 12px; }
  .kpi-ring svg { width: 48px; height: 48px; }
  .kpi-ring { gap: 8px; }
  .roster thead, .roster td:nth-child(4) { display: none; }
  .roster, .roster tbody { display: block; }
  .roster tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; padding: 12px 2px; border-bottom: 1px solid var(--d-line); }
  .roster tbody tr:last-child { border-bottom: 0; }
  .roster td { padding: 0; border: 0; }
  .roster td:nth-child(2), .roster td:nth-child(3) { grid-column: 1 / -1; }
  .roster td:nth-child(2) { padding-left: 42px; }
  .roster td:nth-child(3) { padding-left: 42px; }
  .roster td:nth-child(5) { grid-row: 1; grid-column: 2; align-self: center; }
  .roster-empty td { grid-column: 1 / -1; }
  .lesson { min-width: 0; }
  .sc-features, .sc-cur, .sc-steps, .wf-grid { grid-template-columns: 1fr; }
  .sc-strip { grid-template-columns: 1fr 1fr; }
  .sc-strip li { padding: 16px 14px; }
  .sc-strip b { font-size: 1.2rem; }
}
@media (max-width: 400px) {
  .dash-kpis { gap: 10px; }
  .kpi-val b { font-size: 1.6rem; }
  .skill { grid-template-columns: 6em minmax(0, 1fr) 2.4em; gap: 8px; font-size: 0.82rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-dot, .live-dot, .kpi-eq i, .live-eq i, .feed li, .metro-arm, .pk-note, .gtr .gstr { animation: none !important; }
  .live-eq i { transform: scaleY(0.6); }
  .staff .path { transition: none; stroke-dashoffset: 0; }
  .kpi-ring .bar, .string .fill, .string .dot, .prog .bar i, .keys i { transition: none; }
}
