:root {
  color-scheme: dark;
  --paper: #28221f;
  --surface: #332a24;
  --surface-deep: #1e1916;
  --ink: #f3ebde;
  --muted: #baa997;
  --line: #57463a;
  --copper: #d77b55;
  --primary-ink: #211b17;
  --sage: #a5b49a;
  --blue: #9eb7d2;
  --amber: #e2b66f;
  --coral: #e59b89;
  --green: var(--sage);
  --green-light: #a5b49a18;
  --lime: var(--copper);
  --orange: var(--amber);
  --salmon: var(--coral);
  --red: var(--coral);
  --radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 14px; line-height: 1.6; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; transition: color 150ms, background 150ms, border-color 150ms, transform 150ms, box-shadow 150ms; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .42; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
a { color: var(--lime); text-underline-offset: 4px; text-decoration-thickness: 1px; }
svg { display: inline-block; vertical-align: middle; flex-shrink: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.12; }
h1 { font-size: clamp(30px, 3vw, 42px); font-weight: 600; letter-spacing: -1.5px; }
h2 { font-size: 26px; font-weight: 600; letter-spacing: -.9px; }
h3 { font-size: 19px; font-weight: 550; letter-spacing: -.5px; }
em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
small { font-size: 11px; }
::selection { background: var(--lime); color: #272320; }
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 220px; display: flex; flex-direction: column; background: var(--surface-deep); border-right: 1px solid var(--line); padding: 30px 18px 20px; z-index: 30; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; padding: 0 11px; }
.brand-mark { display: block; width: 44px; height: 44px; flex-shrink: 0; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; gap: 1px; font-size: 28px; font-weight: 750; letter-spacing: -1.2px; line-height: .86; }
.brand-copy strong { font: inherit; }
.brand-copy strong:last-child { color: #d77b55; }
.auth-art .brand-mark { width: 56px; height: 56px; }
.auth-art .brand-copy { font-size: 36px; }
.sidebar-section-label { font: 8px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 1.7px; color: #7e7167; margin: 48px 13px 15px; }
.nav { display: flex; flex-direction: column; gap: 5px; }
.nav-item { display: flex; align-items: center; gap: 11px; min-height: 43px; width: 100%; padding: 10px 12px; border: 0; border-radius: 5px; background: transparent; color: #a69c93; font-size: 11px; text-align: left; }
.nav-item svg { width: 18px; height: 18px; opacity: .85; }
.nav-item:hover { color: var(--ink); background: #37312c; }
.nav-item.active { color: var(--primary-ink); background: var(--lime); font-weight: 650; }
.nav-shortcut { margin-left: auto; border: 1px solid currentColor; opacity: .5; border-radius: 3px; font: 8px ui-monospace, monospace; padding: 2px 4px; }
.sidebar-note { margin: auto 11px 0; padding-top: 28px; border-top: 1px solid #3c3631; color: #ada197; }
.tiny-drum { color: var(--orange); margin-bottom: 14px; }
.sidebar-note strong { display: block; font-family: Georgia, serif; font-style: italic; font-size: 21px; font-weight: 400; line-height: 1.25; letter-spacing: -.4px; color: #d9d1ca; }
.sidebar-note > span { display: block; color: #7b6f65; margin-top: 12px; font-size: 10px; line-height: 1.8; max-width: 145px; }
.sidebar-bottom { margin-top: 28px; }
.sidebar-bottom > .nav-item { font-size: 10px; }
.user-row { margin-top: 19px; padding: 19px 5px 0; border-top: 1px solid #3c3631; display: flex; align-items: center; gap: 9px; }
.user-row > div { flex: 1; min-width: 0; }
.user-row strong { display: block; font-size: 10px; font-weight: 550; color: #c4bdb7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-row small { display: block; color: #887b70; font-size: 8px; margin-top: 2px; }
.user-row .icon-btn { width: 25px; height: 25px; border: 0; }
.workspace { margin-left: 220px; min-height: 100vh; }
.topbar { height: 68px; padding: 0 38px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.breadcrumb { display: flex; align-items: center; gap: 12px; color: #86796e; font: 8px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 1px; }
.breadcrumb strong { font-weight: 400; color: #b9b1aa; letter-spacing: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 11px; }
.topbar-actions { display: flex; align-items: center; gap: 19px; }
.view-switch { white-space:nowrap; border-color:var(--copper); }
.view-switch[aria-pressed="true"] { color:var(--primary-ink); background:var(--copper); }
@media (max-width:640px) {
  .has-view-switch .topbar-actions { gap:8px; }
  .has-view-switch .avatar-small,.has-view-switch [data-action="coach"] { display:none; }
  .topbar.has-view-switch .view-switch { min-height:32px; padding:5px 8px; font-size:10px; }
  .has-view-switch .view-switch svg { display:none; }
}
.local-status { color: #96897f; font: 9px ui-monospace, monospace; }
.connection-dot { display: inline-block; height: 5px; width: 5px; border-radius: 50%; background: var(--sage); margin-right: 6px; }
.avatar { width: 30px; height: 30px; display: inline-grid; place-items: center; background: #3e3833; border: 1px solid #574e47; border-radius: 50%; color: #d9cfc6; font: 10px ui-monospace, monospace; }
.avatar-small { width: 27px; height: 27px; font-size: 9px; }
.btn { border: 1px solid transparent; min-height: 41px; border-radius: 4px; padding: 10px 17px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 11px; line-height: 1.4; font-weight: 550; text-decoration: none; white-space: nowrap; }
.btn svg { width: 15px; height: 15px; }
.btn:active:not(:disabled), .icon-btn:active:not(:disabled) { transform: translateY(1px); }
.btn-primary { background: var(--copper); color: var(--primary-ink); }
.btn-primary:hover:not(:disabled) { background: #e38d69; box-shadow: 0 0 20px #d77b5514; }
.btn-secondary { color: #c5bdb6; background: transparent; border-color: #60564e; }
.btn-secondary:hover:not(:disabled) { color: var(--ink); border-color: #94877d; background: #d77b5508; }
.btn-ghost { color: #baaea5; background: transparent; }
.btn-ghost:hover:not(:disabled) { color: var(--lime); background: #d77b5508; }
.btn-sm { min-height: 30px; padding: 6px 10px; font-size: 10px; }
.icon-btn { display: inline-grid; place-items: center; width: 33px; height: 33px; padding: 0; border: 1px solid #544c45; border-radius: 50%; color: #c6bcb3; background: transparent; }
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { color: #26201b; background: var(--lime); border-color: var(--lime); }
.page { max-width: 1400px; margin: 0 auto; padding: 33px 38px 45px; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 27px; }
.page-heading .eyebrow { display: block; margin-bottom: 10px; }
.page-heading p { margin-top: 12px; color: var(--muted); font-size: 11px; line-height: 1.8; max-width: 620px; }
.eyebrow { font: 8px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 400; letter-spacing: 1.8px; text-transform: uppercase; color: #a99d94; }
.muted { color: var(--muted); }

.date-label { color: #978a80; font: 9px ui-monospace, monospace; white-space: nowrap; align-self: flex-end; padding-bottom: 4px; }
.hero { min-height: 380px; display: flex; align-items: center; background: #241f1b; position: relative; overflow: hidden; padding: 36px; border: 1px solid #4e463f; border-radius: 6px; isolation: isolate; }
.hero-copy { position: relative; z-index: 3; max-width: 57%; }
.hero .pill { color: var(--lime); padding: 0; background: transparent; border-radius: 0; font: 8px ui-monospace, monospace; letter-spacing: 1.2px; }
.hero .pill svg { width: 12px; height: 12px; }
.hero-title { font-size: clamp(37px, 4.1vw, 59px); font-weight: 600; letter-spacing: -2.5px; line-height: 1.01; max-width: 480px; margin-top: 22px; white-space: pre-line; }
.hero-title em { color: var(--lime); }
.hero p { font-size: 11px; line-height: 1.9; max-width: 350px; color: #b1a8a0; margin-top: 17px; }
.hero-lesson { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 20px; font-size: 10px; color: #d2cac3; }
.hero-lesson strong { font-weight: 500; }
.hero-lesson > span { color: #978a80; font: 8px ui-monospace, monospace; }
.hero .btn { margin-top: 25px; min-height: 42px; }
.hero-art { position: absolute; inset: 0 0 0 auto; width: 58%; background: #322d29 url('/assets/percussion-studio.png') center center / cover no-repeat; z-index: 1; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #241f1b 0%, #241f1bb3 15%, #241f1b10 57%), linear-gradient(0deg, #241f1b66, transparent 45%); }
.hero-art > img { display: block; width: 100%; height: 100%; object-fit: cover; }

.photo-shade { position: absolute; inset: 0; background: linear-gradient(90deg,#241f1b 0%,#241f1b80 25%,#241f1b00 70%); }
.art-caption { position: absolute; right: 20px; bottom: 19px; z-index: 3; color: #d6ccc4; font: 6px/1.8 ui-monospace, monospace; letter-spacing: 1.4px; text-align: right; opacity: .8; }
.pill, .chip, .status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 3px; font: 8px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;  color: var(--sage); background: #293027;}
.pill { color: #cdbeb2; background: #b09d8d15; }
.chip { color: #b1a79f; background: #d77b550b; border: 1px solid #4e4640; }
.status-pill { color: var(--sage); background: #293027; }
.metrics-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 27px 0 39px; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric-card { position: relative; padding: 22px 22px 23px; border-right: 1px solid var(--line); }
.metric-card:first-child { padding-left: 0; }
.metric-card:last-child { border-right: 0; }
.metric-icon { position: absolute; right: 20px; top: 27px; color: #92857a; }
.metric-icon svg { width: 17px; height: 17px; }
.metric-value { font-size: 37px; line-height: 1; font-weight: 450; letter-spacing: -1.8px; color: #e0d8d2; font-variant-numeric: tabular-nums; }
.metric-value small { font: 9px ui-monospace, monospace; color: #93857a; margin-left: 5px; letter-spacing: 0; }
.metric-label { display: block; color: #beb6af; font-size: 10px; margin-top: 11px; }
.metric-trend { display: block; font-size: 8px; color: #84776c; margin-top: 5px; }
.section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin-bottom: 20px; font-size: 21px; letter-spacing: -.5px; }
.section-title .eyebrow { display: block; margin-bottom: 8px; color: #928479; font-size: 7px; }
.section-title h2 { font-size: 28px; }
.section-title .btn { padding-right: 0; font-size: 10px; }
.lesson-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.lesson-card { display: flex; flex-direction: column; min-width: 0; text-align: left; background: transparent; border: 0; border-radius: 0; }
.lesson-art { height: 185px; position: relative; display: grid; place-items: center; overflow: hidden; color: #302a25; background: #b8aba0; border-radius: 4px; }
.lesson-art::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 80px #352f2a20; }
.lesson-art > svg { width: 100%; height: 100%; }
.cover-art { display: block; width: 100%; height: 100%; }

.lesson-art:has(.cover-number) .lesson-level { top: auto; bottom: 12px; left: 15px; font-size: 6px; }
.lesson-art:has(.cover-art) .mini-pattern { display: none; }
.art-0 { background: #c0b2a7; color: #413932; }.art-1, .lesson-card:nth-child(3n + 2) .lesson-art { background: #bf8768; color: #4d3327; }.art-2, .lesson-card:nth-child(3n) .lesson-art { background: #bcb9a5; color: #463f39; }.art-3 { background: #8e9e9b; color: #37302a; }
.lesson-card:hover .lesson-art { filter: brightness(1.06); }
.lesson-level { position: absolute; top: 13px; left: 14px; font: 8px ui-monospace, monospace; color: currentColor; text-transform: uppercase; letter-spacing: 1px; opacity: .8; z-index: 2; }
.lesson-done { position: absolute; z-index: 2; right: 13px; top: 12px; border: 1px solid currentColor; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; }
.lesson-done svg { width: 12px; height: 12px; }
.lesson-card-body { display: flex; flex-direction: column; padding: 17px 0 0; flex: 1; }
.lesson-meta { display: flex; align-items: center; gap: 8px; color: #928479; font: 7px ui-monospace, monospace; letter-spacing: 1px; text-transform: uppercase; }
.lesson-title { font-size: 21px; font-weight: 550; letter-spacing: -.7px; margin-top: 10px; }
.lesson-description { color: #9f938a; font-size: 10px; line-height: 1.8; margin-top: 10px; }
.lesson-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); margin-top: 17px; padding: 12px 0 0; }
.lesson-footer > span { display: flex; align-items: center; gap: 6px; color: #aba199; font: 8px ui-monospace, monospace; }
.lesson-footer .icon-btn { width: 29px; height: 29px; }
.mini-pattern { width: 75%; display: flex; flex-direction: column; gap: 17px; transform: rotate(-18deg); }
.mini-pattern > div { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.mini-pattern i { display: block; flex: 1; max-width: 10px; aspect-ratio: 1; border-radius: 50%; background: currentColor; opacity: .12; }
.mini-pattern i.filled { opacity: .95; box-shadow: 0 0 0 4px #ffffff0b; }
.content-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(270px,1fr); gap: 24px; align-items: start; }
.page > .content-grid { margin-top: 33px; }
.card { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.card + .card { margin-top: 21px; }
.card-header { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 22px 23px 18px; }
.card-title { font-size: 15px; font-weight: 500; letter-spacing: -.3px; }
.card-body { padding: 0 23px 23px; }
.card-header .btn { padding-right: 0; }
.list { display: flex; flex-direction: column; padding: 0 23px 20px; }
.list-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 15px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; }
.list-row:last-child { border-bottom: 0; padding-bottom: 0; }
.list-row:hover { background: #d77b5503; }
.list-icon { width: 33px; height: 33px; border: 1px solid #514942; border-radius: 50%; color: #bdaea1; display: grid; place-items: center; flex-shrink: 0; }
.list-icon svg { width: 16px; height: 16px; }
.row-main { flex: 1; min-width: 0; font-size: 11px; }
.row-main strong { font-weight: 500; }
.row-main small, .row-main p { display: block; font-size: 8px; color: #928479; margin-top: 5px; }
.row-meta { display: flex; align-items: center; gap: 13px; font: 9px ui-monospace, monospace; color: #918276; white-space: nowrap; }
.row-meta strong { font-weight: 400; font-size: 20px; color: #d1c2b6; }
.row-meta small { font-size: 9px; }
.empty-state { text-align: center; padding: 42px 25px; color: #8e8075; font-size: 11px; }
.empty-state svg { width: 29px; height: 29px; display: block; color: #8d7e71; margin: 0 auto 15px; }
.empty-state strong { display: block; color: #c6bdb5; font-size: 12px; font-weight: 450; }
.empty-state h3 { margin-bottom: 9px; color: #d2c9c2; font-size: 15px; }
.empty-state p { font-size: 10px; margin-top: 8px; color: #918378; }
.empty-state .btn { margin-top: 20px; }
.empty-state.compact { padding: 27px 25px 33px; }
.practice-tip { background: #322d29; padding: 26px; border-color: #4e463f; }
.practice-tip .eyebrow { color: #b2a193; font-size: 7px; }
.practice-tip h3 { font: italic 28px/1.1 Georgia, serif; letter-spacing: -.8px; color: #d6cdc6; margin-top: 15px; }
.practice-tip p { font-size: 10px; line-height: 1.9; color: #a69c93; margin-top: 15px; }
.practice-tip .btn { padding-left: 0; margin-top: 15px; font-size: 9px; }
.path-overview { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; padding: 23px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.path-step { display: flex; align-items: center; gap: 12px; }
.path-step > span { font: italic 30px Georgia, serif; color: #9b8a7c; width: 42px; }
.path-step strong { font-size: 12px; font-weight: 500; color: #d8d0c9; }
.path-step small { display: block; color: #93867b; font-size: 9px; margin-top: 5px; }
.filter-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
.filter-row > .select { width: 130px; min-height: 33px; font-size: 10px; padding-block: 6px; }
.category-tabs { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.tab { color: #9a8e84; background: transparent; border: 1px solid transparent; border-radius: 3px; font-size: 10px; padding: 7px 11px; }
.tab:hover { color: var(--ink); background: #d77b5508; }
.tab.active { color: #dcd0c6; border-color: #72655a; background: #d77b5508; }
.practice-layout { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 23px; align-items: start; }
.practice-main, .practice-side { min-width: 0; }
.practice-toolbar { padding: 16px 21px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; border-bottom: 1px solid var(--line); }
.practice-toolbar .btn { margin-left: auto; padding-right: 0; }
.practice-stage { background: var(--surface-deep); padding: 28px 25px 23px; min-height: 290px; position: relative; }
.stage-identity { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 21px; padding-bottom: 14px; border-bottom: 1px solid #403831; }.stage-meter { font: italic 37px/1 Georgia, serif; letter-spacing: -2px; color: #b1a295; }.stage-category { color: #85776c; font: 7px ui-monospace, monospace; letter-spacing: 1.4px; text-transform: uppercase; }
.count-in-display { min-height: 20px; text-align: center; color: var(--blue); font: 9px ui-monospace, monospace; letter-spacing: .4px; }
.beat-markers { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 23px 0 31px; }
.beat-marker { width: 27px; height: 27px; border: 1px solid #534940; border-radius: 50%; display: grid; place-items: center; color: #89796c; font: 10px ui-monospace, monospace; transition: background 40ms, transform 40ms; }
.beat-marker.active { background: var(--blue); color: var(--primary-ink); border-color: var(--blue); transform: scale(1.08); }
.drum-lanes { position: relative; }
.drum-lane { display: flex; align-items: center; height: 49px; }
.lane-label { width: 62px; flex-shrink: 0; color: #95877b; font: 9px ui-monospace, monospace; }
.lane-grid { position: relative; flex: 1; height: 100%; border-top: 1px solid #423a33; background-size: calc(100% / var(--beats, 4)) 100%; background-image: linear-gradient(90deg,#423a33 1px,transparent 1px); }
.note-dot { position: absolute; top: 50%; width: 11px; height: 11px; transform: translate(-50%,-50%); border-radius: 50%; background: #d3c4b8; z-index: 2; }
.note-snare { background: #e8a174; }.note-kick { background: #ddd5ce; }.note-hihat, .note-openhat { width: 8px; height: 8px; background: var(--lime); }
.drum-lane.hit .lane-label { color: var(--lime); }.drum-lane.hit .lane-grid { background-color: #d77b5508; }
.playhead { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: var(--blue); box-shadow: 0 0 10px #9eb7d220; pointer-events: none; z-index: 3; }
.stage-footnote { display: flex; justify-content: space-between; padding-left: 62px; color: #73655a; font: 8px ui-monospace, monospace; margin-top: 25px; }
.transport { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 21px 24px; border-top: 1px solid var(--line); }
.tempo-control { display: flex; align-items: center; gap: 9px; }
.tempo-control label { display: flex; flex-direction: column; align-items: center; }
.tempo-control label > span { color: #998b7f; font: 7px ui-monospace, monospace; letter-spacing: 1px; }
.tempo-number, .tempo-control input { width: 58px; border: 0; padding: 0; background: transparent; color: #dbcfc5; font: 27px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -1px; text-align: center; appearance: textfield; -moz-appearance: textfield; }
.tempo-control input::-webkit-inner-spin-button { appearance: none; }
.step-btn { width: 25px; height: 25px; border: 1px solid #60544b; background: transparent; color: #c1b0a2; border-radius: 50%; font-size: 17px; line-height: 1; padding: 0; }
.step-btn:hover { color: var(--lime); border-color: var(--lime); }
.bars-selector { display: flex; align-items: center; gap: 7px; color: #988b81; font-size: 8px; }
.bars-selector .select { width: 72px; min-height: 31px; padding: 6px; font-size: 9px; }
.guide-toggle { display: flex; align-items: center; gap: 5px; color: #9d9086; font-size: 9px; cursor: pointer; }
.guide-toggle input { width: 12px; height: 12px; accent-color: var(--blue); }
.independent-take .note-dot, .independent-take .beat-markers { visibility: hidden; }
.focus-label { font-size: 16px; color: var(--blue); line-height: 1.5; font-family: Georgia, serif; font-style: italic; border-left: 2px solid var(--blue); padding-left: 12px; }
.instruction-list { padding: 0 0 0 18px; margin: 23px 0 0; color: #a69a91; font-size: 10px; line-height: 1.9; }
.instruction-list li { padding-left: 4px; margin-bottom: 13px; }.instruction-list li::marker { color: #917f70; font: 9px ui-monospace, monospace; }
.stat-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #453e38; color: #9c8f84; font-size: 9px; }
.stat-row:last-child { border: 0; }.stat-row strong { color: #cec1b6; font: 9px ui-monospace, monospace; text-align: right; }
.segmented { display: inline-flex; gap: 3px; padding: 3px; background: #201d1a; border: 1px solid #4c4239; border-radius: 4px; }
.segment { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 11px; border: 0; border-radius: 2px; background: transparent; color: #918377; font-size: 10px; }
.segment.active { color: #dbcfc6; background: #453d36; }.segment:hover { color: #e8e0d9; }

.device-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }.device-controls .muted { font-size: 9px; }
.meter-label { display: flex; justify-content: space-between; gap: 12px; font: 8px ui-monospace, monospace; color: #938478; margin: 22px 0 9px; }
.meter { width: 100%; height: 5px; border-radius: 2px; overflow: hidden; background: #1f1a16; }.meter-fill { height: 100%; width: 0; background: var(--sage); transition: width 50ms; }
.waveform { width: 100%; height: 50px; margin-top: 10px; background: #211c18; border-radius: 3px; }.waveform span { display: block; width: 3px; min-height: 2px; background: #b39b88; border-radius: 2px; }
.result-summary { display: flex; align-items: center; gap: 28px; padding: 8px 0 25px; }
.score-ring { width: 103px; height: 103px; border-radius: 50%; display: grid; place-items: center; text-align: center; flex-shrink: 0; background: radial-gradient(circle,var(--surface) 61%,transparent 62%), conic-gradient(var(--sage) calc(var(--score,0) * 1%),#45483e 0); }
.score-large { font: 30px ui-monospace, monospace; letter-spacing: -1px; color: var(--sage); }.score-large small { font-size: 11px; color: #9c8d80; margin-left: 2px; }
.result-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; flex: 1; }.result-stats strong { display: block; font: 21px ui-monospace, monospace; color: #d3c5b9; }.result-stats strong small { color: #8f8175; font-size: 9px; }.result-stats span { display: block; color: #95867a; font-size: 8px; margin-top: 7px; }
.feedback-list { display: flex; flex-direction: column; gap: 8px; }.feedback-item { display: flex; align-items: flex-start; gap: 10px; padding: 14px; color: #bdc8b5; border: 1px solid #506148; background: #272e25; border-radius: 4px; font-size: 10px; line-height: 1.8; }.feedback-item svg { margin-top: 2px; }.feedback-item strong { display: block; font-size: 11px; font-weight: 500; color: var(--sage); margin-bottom: 3px; }.feedback-item.warning { background: #352c20; border-color: #8b6d3e; color: #e7c58f; }.feedback-item.warning strong { color: var(--amber); }
.result-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 22px; }#take-replay audio { width: 100%; height: 35px; margin-top: 20px; }
.chart { width: 100%; height: 190px; position: relative; }.chart canvas, .chart svg { width: 100%; height: 100%; }
.progress-track { height: 4px; border-radius: 0; overflow: hidden; background: #242922; }.progress-fill { height: 100%; background: var(--sage); transition: width 200ms; }
.skill-row { padding: 14px 0; }.skill-row > div:first-child { display: flex; justify-content: space-between; gap: 10px; color: #b6a699; font-size: 10px; margin-bottom: 9px; }.skill-row strong { font-weight: 450; }.skill-row small { color: #8d7d70; font-size: 8px; }

.song-layout { grid-template-columns: minmax(230px,.85fr) minmax(0,1.4fr); }.track-select { display: flex; flex: 1; align-items: center; gap: 11px; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--ink); text-align: left; }.track-select .row-main { overflow-wrap: anywhere; }.list-row.selected .list-icon { color: var(--lime); border-color: #a28e7d; }.track-player audio { width: 100%; height: 36px; }.record-art { display: grid; place-items: center; padding: 24px 0 30px; }.record-art > div { width: 180px; height: 180px; position: relative; background: repeating-radial-gradient(circle,#1c1815 0 1px,#2c2621 2px 4px); border-radius: 50%; border: 1px solid #514841; box-shadow: 11px 18px 25px #1a151160; }.record-art > div::before { content: ""; position: absolute; inset: 60px; border-radius: 50%; background: #bd8964; border: 13px solid #d0a17d; }.record-art > div::after { content: ""; position: absolute; inset: 86px; border-radius: 50%; background: #261f1a; }.tap-tempo-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }.tap-tempo-row > strong { color: #c3af9f; font: 17px ui-monospace, monospace; }
.dropzone { display: block; width: calc(100% - 46px); margin: 5px 23px 23px; padding: 35px 20px; border: 1px dashed #736458; border-radius: 4px; background: #28221d; text-align: center; color: #a19082; cursor: pointer; }.dropzone svg { display: block; margin: 0 auto 17px; width: 28px; height: 28px; }.dropzone strong { font-size: 12px; color: #c7b8ac; font-weight: 450; }.dropzone > span { display: block; margin-top: 9px; font-size: 9px; }.dropzone:hover { border-color: var(--lime); background: #362e28; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }.field { display: flex; flex-direction: column; gap: 8px; color: #a99e95; font-size: 10px; }.field label { font-size: 10px; }.field small { color: #8c7e72; font-size: 9px; line-height: 1.8; }
.input, .select, .textarea { width: 100%; min-height: 41px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 3px; color: var(--ink); background: var(--surface-deep); font-size: 11px; }.input::placeholder, .textarea::placeholder { color: #75685d; }.input:hover, .select:hover, .textarea:hover { border-color: #877769; }.input:focus, .select:focus, .textarea:focus { border-color: #c1ad9d; }.textarea { resize: vertical; min-height: 110px; line-height: 1.9; }.range { width: 100%; accent-color: var(--lime); cursor: pointer; }.range-field { margin-top: 23px; }.range-field label { display: flex; justify-content: space-between; }.range-field strong { font: 10px ui-monospace, monospace; color: #d1c2b5; }
.settings-section { padding: 0 23px 24px; }.settings-section h3 { margin-bottom: 9px; }.settings-section > p { color: var(--muted); font-size: 11px; margin-bottom: 20px; }.settings-section .btn { margin-top: 24px; }.toggle { position: relative; width: 34px; height: 20px; flex-shrink: 0; background: #574c43; border: 0; border-radius: 20px; appearance: none; padding: 0; }.toggle::after { content: ""; width: 14px; height: 14px; position: absolute; left: 3px; top: 3px; border-radius: 50%; background: #d0c4bb; transition: transform 150ms; }.toggle[aria-checked="true"], .toggle:checked { background: #947861; }.toggle[aria-checked="true"]::after, .toggle:checked::after { transform: translateX(14px); }
.teacher-metrics { grid-template-columns: repeat(3,1fr); }.table-wrap { width: 100%; overflow-x: auto; }table { border-collapse: collapse; width: 100%; text-align: left; font-size: 10px; }th { padding: 13px 17px; border-block: 1px solid var(--line); color: #998a7e; font: 8px ui-monospace, monospace; background: #27231f; white-space: nowrap; }td { padding: 15px 17px; border-bottom: 1px solid var(--line); color: #bbafa5; }td strong { font-weight: 500; color: #d7cdc5; }td small { display: block; color: #918377; font-size: 8px; margin-top: 4px; }tr:last-child td { border-bottom: 0; }.chip.reviewed { color: var(--sage); background: var(--green-light); }
.divider { display: flex; align-items: center; gap: 12px; margin: 23px 0; color: #837569; font: 8px ui-monospace, monospace; }.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: #50473f; }.code-editor { min-height: 230px; font: 10px/1.9 ui-monospace, SFMono-Regular, Menlo, monospace; color: #cab9ab; tab-size: 2; }
.page-footer { max-width: 1400px; margin: 0 auto; padding: 0 38px 25px; display: flex; justify-content: space-between; gap: 20px; color: #6f635a; font: 8px ui-monospace, monospace; }.page-footer > span:last-child { font-size: 7px; letter-spacing: 1px; }.beta-label { margin-left: 6px; padding: 2px 4px; border: 1px solid #5a4f46; border-radius: 2px; color: #9a897b; font-size: 6px; }
.support-note { margin-top: 15px; color: #908277; font-size: 9px; line-height: 1.9; }.support-note svg { width: 12px; height: 12px; margin-right: 4px; }.support-note a { color: #b9a493; }
.modal-backdrop { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; background: #15110ed9; backdrop-filter: blur(7px); z-index: 100; }.modal { width: min(590px,100%); max-height: calc(100dvh - 48px); overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 24px 100px #0c0a0890; }.modal-header { padding: 23px 25px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid #53483f; }.modal-header h2 { font-size: 22px; }.modal-body { padding: 24px 25px; }.modal-body p { color: #aea196; font-size: 11px; line-height: 1.9; }.modal-body .field, .modal-body .form-grid { margin-top: 17px; }.modal-footer { padding: 20px 0 0; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 19px; border-top: 1px solid #53483f; }
.toast { position: fixed; bottom: 25px; right: 25px; max-width: min(420px,calc(100vw - 40px)); z-index: 150; padding: 14px 20px; color: #dae4d2; background: #303b2b; border: 1px solid #687e59; border-radius: 4px; font-size: 11px; box-shadow: 0 8px 35px #16120e50; }.toast-error { color: var(--coral); background: #3b2723; border-color: #965f51; }.error-banner { padding: 12px 15px; margin-bottom: 20px; color: var(--coral); border: 1px solid #965f51; background: #3b2723; border-radius: 3px; font-size: 11px; }
.auth-screen { display: grid; grid-template-columns: .52fr .48fr; min-height: 100dvh; background: var(--paper); }.auth-art { position: relative; isolation: isolate; min-height: 100dvh; display: flex; flex-direction: column; padding: 41px 10%; background: #26221f url('/assets/percussion-studio.png') 58% center / cover no-repeat; overflow: hidden; }.auth-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,#1a1714b3 0%,#201b1735 20%,#1f1a15bf 58%,#1c1814eb 100%); }.auth-art .brand { padding: 0; }.auth-art .brand-copy > span { color: #b2a59a; }.auth-art-copy { margin-top: auto; padding: 110px 0 55px; }.auth-art-copy > .eyebrow { color: var(--lime); font-size: 7px; letter-spacing: 2px; }.auth-art h1 { font-size: clamp(47px,5vw,73px); font-weight: 550; letter-spacing: -3.5px; line-height: .98; margin-top: 24px; text-wrap: balance; max-width: 510px; }.auth-art-copy > p { color: #c7bdb4; font-size: 12px; line-height: 1.9; max-width: 310px; margin-top: 24px; }.auth-drum-art { display: none; }.auth-credit { color: #a5988e; font: 7px ui-monospace, monospace; letter-spacing: .5px; }.auth-card { display: flex; align-items: center; justify-content: center; padding: 60px 35px; background: var(--paper); }.auth-form { width: 100%; max-width: 355px; }.auth-form > .pill { padding: 0; background: transparent; color: var(--copper); font-size: 7px; letter-spacing: 1px; }.auth-form h2 { font-size: 38px; font-weight: 500; line-height: 1.08; letter-spacing: -1.6px; margin-top: 22px; }.auth-form > .muted { color: var(--muted); font-size: 11px; line-height: 1.9; margin-top: 17px; }.auth-tabs.segmented { display: flex; margin: 26px 0 25px; border-color: #55493f; background: #1f1a16; }.auth-tabs .segment { flex: 1; min-height: 33px; font-size: 10px; }.auth-tabs .segment.active { background: #4d4138; color: #ded2c9; }.auth-form .field { margin-top: 18px; color: #b5aaa1; font-size: 10px; }.auth-form .input { min-height: 43px; background: var(--surface-deep); border-color: var(--line); }.auth-submit { width: 100%; justify-content: space-between; min-height: 44px; margin-top: 25px; font-size: 11px; }.feature-list { display: flex; flex-direction: column; gap: 10px; padding: 0; margin-top: 25px; list-style: none; color: #a29488; font-size: 9px; }.feature-list > span, .feature-list li { display: flex; align-items: center; gap: 8px; }.feature-list svg { color: #c4b0a0; width: 13px; height: 13px; }.auth-form .support-note { margin-top: 25px; padding-top: 18px; border-top: 1px solid #4b4138; color: #8c7e73; font-size: 8px; }
.recording-state { color: var(--orange); }.file-input { font-size: 10px; color: var(--muted); max-width: 100%; }.file-input::file-selector-button { padding: 7px 10px; color: #cdbdaf; background: #392f27; border: 1px solid #6a5a4c; margin-right: 10px; cursor: pointer; }.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }.hidden, [hidden] { display: none !important; }
@keyframes pulse { 50% { opacity: .35; } }
@media (min-width: 1600px) { .page { padding-top: 43px; }.hero { min-height: 420px; }.hero-title { font-size: 64px; } }
@media (max-height: 850px) and (min-width: 981px) { .sidebar-note { padding-top: 19px; margin-top: 35px; }.sidebar-section-label { margin-top: 34px; }.sidebar-note > span { font-size: 9px; }.sidebar-bottom { margin-top: 21px; }.nav-item { min-height: 40px; } }
@media (max-width: 1200px) { .sidebar { width: 195px; padding-inline: 13px; }.workspace { margin-left: 195px; }.page, .topbar { padding-inline: 28px; }.page-footer { padding-inline: 28px; }.hero { padding: 29px; min-height: 360px; }.hero-title { font-size: 44px; letter-spacing: -1.9px; }.hero-copy { max-width: 60%; }.hero p { max-width: 290px; }.hero-lesson > span { display: block; width: 100%; margin-left: 23px; }.lesson-art { height: 165px; }.lesson-title { font-size: 19px; }.practice-layout { grid-template-columns: minmax(0,1fr) 245px; gap: 17px; }.practice-toolbar { padding-inline: 17px; }.transport { padding-inline: 17px; gap: 10px; }.bars-selector { gap: 5px; }.content-grid { gap: 20px; }.auth-art { padding-inline: 10%; }.auth-art h1 { font-size: 57px; }.auth-form h2 { font-size: 33px; }.metric-card { padding-inline: 17px; }.metric-icon { right: 13px; }.metric-trend { font-size: 7px; } }
@media (max-width: 980px) { .sidebar { width: 78px; padding: 29px 10px 20px; align-items: center; }.sidebar .brand { padding: 0; }.sidebar .brand-copy, .sidebar-section-label, .sidebar-note, .sidebar-bottom, .nav-shortcut { display: none !important; }.sidebar .nav { width: 100%; margin-top: 43px; gap: 8px; }.nav-item { justify-content: center; padding: 13px 0; min-height: 46px; }.nav-item > span { display: none; }.nav-item svg { width: 20px; height: 20px; }.workspace { margin-left: 78px; }.practice-layout { grid-template-columns: minmax(0,1fr); }.practice-side { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.practice-side .card + .card { margin-top: 0; }.content-grid { grid-template-columns: minmax(0,1fr); }.song-layout { grid-template-columns: minmax(220px,.9fr) minmax(0,1.3fr); }.hero-copy { max-width: 62%; }.hero-title { font-size: 44px; }.hero-art { width: 58%; background-position: 64% center; }.path-overview { gap: 12px; }.path-step { gap: 6px; }.path-step > span { width: 35px; font-size: 26px; }.path-step strong { font-size: 11px; }.path-step small { font-size: 8px; }.auth-art h1 { font-size: 48px; letter-spacing: -2px; }.auth-card { padding-inline: 30px;   }.auth-art-copy { padding-bottom: 50px; }.auth-form h2 { font-size: 31px; } }
@media (max-width: 640px) { .sidebar { inset: auto 0 0; width: 100%; height: calc(66px + env(safe-area-inset-bottom)); padding: 0 5px env(safe-area-inset-bottom); border-right: 0; border-top: 1px solid var(--line); background: color-mix(in srgb,var(--surface-deep) 96%,transparent); backdrop-filter: blur(12px); z-index: 50; }.sidebar > .brand { display: none; }.sidebar .nav { margin: 0; height: 100%; display: flex; flex-direction: row; gap: 2px; align-items: center; justify-content: space-around; }.nav-item { flex: 1; min-width: 0; width: auto; padding: 9px 3px; flex-direction: column; gap: 6px; min-height: 49px; font-size: 7px; border-radius: 3px; line-height: 1; }.nav-item > span { display: block; white-space: nowrap; max-width: 70px; overflow: hidden; text-overflow: ellipsis; }.nav-item svg { width: 17px; height: 17px; }.nav-item.active { background: #d77b5516; color: var(--copper); }.workspace { margin-left: 0; padding-bottom: 66px; }.topbar { height: 56px; padding-inline: 20px; }.breadcrumb { font-size: 6px; gap: 7px; letter-spacing: .5px; }.breadcrumb strong { font-size: 10px; }.topbar-actions { gap: 12px; }.local-status { display: none; }.topbar-actions .btn { padding: 0; font-size: 9px; min-height: 25px; }.topbar-actions .btn svg { width: 13px; }.avatar-small { width: 24px; height: 24px; font-size: 8px; }.page { padding: 25px 20px 33px; }.page-heading { flex-wrap: wrap; align-items: flex-start; gap: 14px; margin-bottom: 22px; }.page-heading h1 { font-size: 31px; letter-spacing: -1.2px; }.page-heading .eyebrow { font-size: 7px; letter-spacing: 1.2px; margin-bottom: 11px; }.page-heading p { font-size: 10px; margin-top: 11px; }.date-label { display: none; }.hero { min-height: 400px; padding: 27px 25px; align-items: flex-start; }.hero-copy { max-width: 96%; }.hero-title { font-size: 43px; letter-spacing: -1.9px; max-width: 300px; margin-top: 21px; }.hero p { max-width: 255px; font-size: 10px; color: #c1b9b3; }.hero-art { width: 100%; opacity: .55; background-position: 65% center; }.hero-art::after { background: linear-gradient(90deg,#241f1be0,#241f1ba0 55%,#241f1b1a),linear-gradient(0deg,#241f1ba0,transparent); }.hero-lesson { font-size: 9px; margin-top: 20px; }.hero-lesson > span { color: #baafa6; }.hero .pill { font-size: 7px; }.hero .btn { font-size: 10px; margin-top: 23px; }.metrics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); margin: 22px 0 32px; }.metric-card { padding: 20px 18px; }.metric-card:nth-child(2) { border-right: 0; }.metric-card:nth-child(3), .metric-card:nth-child(4) { border-top: 1px solid var(--line); }.metric-card:nth-child(3) { padding-left: 0; }.metric-value { font-size: 33px; }.metric-label { font-size: 9px; }.metric-trend { font-size: 7px; }.metric-icon { top: 23px; right: 14px; }.section-title h2 { font-size: 24px; }.section-title .eyebrow { font-size: 6px; letter-spacing: 1px; }.section-title > .btn { font-size: 8px; min-height: 25px; padding: 0; gap: 5px; }.section-title > .btn svg { width: 12px; }.lesson-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 23px 14px; }.lesson-art { height: 150px; }.lesson-card-body { padding-top: 13px; }.lesson-level { top: 10px; left: 10px; font-size: 6px; letter-spacing: .8px; }.lesson-title { font-size: 18px; margin-top: 9px; }.lesson-description { font-size: 9px; line-height: 1.8; margin-top: 9px; }.lesson-meta { font-size: 6px; gap: 5px; letter-spacing: .5px; }.lesson-footer > span { font-size: 7px; gap: 4px; flex-wrap: wrap; }.lesson-footer .muted { display: none; }.lesson-footer .icon-btn { width: 25px; height: 25px; }.lesson-footer svg { width: 12px; }.lesson-grid .lesson-card:last-child:nth-child(odd) { grid-column: 1 / -1; }.lesson-grid .lesson-card:last-child:nth-child(odd) .lesson-art { height: 180px; }.mini-pattern { gap: 14px; }.content-grid { gap: 20px; }.page > .content-grid { margin-top: 27px; }.card-header { padding: 19px 18px 16px; }.card-title { font-size: 14px; }.card-body { padding: 0 18px 20px; }.list { padding: 0 18px 20px; }.practice-tip { padding: 25px; }.practice-tip h3 { font-size: 30px; }.practice-side { grid-template-columns: 1fr; }.path-overview { grid-template-columns: 1fr; gap: 16px; padding: 21px 0; }.path-step > span { width: 39px; font-size: 28px; }.path-step strong { font-size: 12px; }.path-step small { font-size: 9px; }.filter-row { flex-direction: column; gap: 15px; }.filter-row > .select { width: 100%; }.tab { font-size: 9px; padding: 7px 9px; }.practice-toolbar { padding: 14px 16px; gap: 8px; }.practice-toolbar .pill, .practice-toolbar .status-pill { font-size: 7px; padding: 3px 6px; }.practice-toolbar .btn { font-size: 8px; padding: 5px 0; gap: 5px; }.practice-toolbar .btn svg { width: 12px; }.guide-toggle { font-size: 8px; }.practice-stage { padding: 24px 17px 21px; min-height: 270px; }.count-in-display { font-size: 8px;    color: var(--blue);}.beat-markers { gap: 17px; margin: 21px 0 27px; }.beat-marker { width: 24px; height: 24px; font-size: 9px; }.lane-label { width: 49px; font-size: 8px; }.drum-lane { height: 45px; }.stage-footnote { padding-left: 49px; font-size: 7px; }.transport { padding: 18px 15px; gap: 10px; flex-wrap: wrap; }.transport .start-btn { font-size: 9px; padding: 10px 12px; min-height: 37px; }.tempo-control { gap: 5px; }.tempo-control input { width: 44px; font-size: 24px; }.step-btn { width: 23px; height: 23px; }.bars-selector { font-size: 7px; gap: 4px; }.bars-selector .select { width: 63px; font-size: 8px; }.input-selector .segment { font-size: 9px; padding: 8px 9px; gap: 5px; }.input-selector .segment svg { width: 14px; }.result-summary { gap: 17px; }.score-ring { width: 80px; height: 80px;    background: radial-gradient(circle,var(--surface) 61%,transparent 62%), conic-gradient(var(--sage) calc(var(--score,0) * 1%),#45483e 0);}.score-large { font-size: 25px; color: var(--sage); }.result-stats { gap: 9px; }.result-stats strong { font-size: 16px; }.result-stats strong small { font-size: 7px; }.result-stats span { font-size: 7px; }.feedback-item { padding: 12px; font-size: 9px;        color: #bdc8b5; background: #272e25; border: 1px solid #506148;}.feedback-item strong { font-size: 10px; color: var(--sage); }.result-actions .btn { font-size: 8px; }.song-layout { grid-template-columns: 1fr; }.form-grid { grid-template-columns: 1fr; gap: 17px; }.settings-section { padding: 0 18px 21px; }.teacher-metrics { grid-template-columns: repeat(3,1fr); }.teacher-metrics .metric-card { padding: 16px 10px; border-top: 0; border-right: 1px solid var(--line); }.teacher-metrics .metric-card:first-child { padding-left: 0; }.teacher-metrics .metric-card:last-child { border-right: 0; }.teacher-metrics .metric-value { font-size: 29px; }.teacher-metrics .metric-icon { display: none; }.teacher-metrics .metric-label { font-size: 8px; }.teacher-metrics .metric-trend { font-size: 6px; }.modal-backdrop { padding: 13px; }.modal { max-height: calc(100dvh - 26px); }.modal-header { padding: 20px; }.modal-header h2 { font-size: 20px; }.modal-body { padding: 20px; }.toast { bottom: 84px; right: 15px; font-size: 10px; }.page-footer { padding: 0 20px 24px; font-size: 7px; }.page-footer > span:last-child { font-size: 6px; letter-spacing: .4px; }.auth-screen { display: block;  background: var(--paper); }.auth-art { min-height: 430px; padding: 27px 28px; background-position: 62% 45%; }.auth-art .brand-mark { width: 48px; height: 48px; }.auth-art .brand-copy { font-size: 30px; }.auth-art .brand-copy > span { font-size: 6px; }.auth-art-copy { padding: 65px 0 30px; }.auth-art h1 { font-size: 49px; letter-spacing: -2.5px; max-width: 330px; margin-top: 18px; }.auth-art-copy > .eyebrow { font-size: 6px;   }.auth-art-copy > p { font-size: 10px; max-width: 270px; margin-top: 19px;   }.auth-credit { font-size: 6px;   }.auth-card { padding: 39px 28px 44px;   }.auth-form { max-width: 420px; }.auth-form h2 { font-size: 34px; }.auth-form > .muted { font-size: 10px;  color: var(--muted); }.auth-tabs.segmented { margin-block: 24px;     } }
@media (max-width: 370px) { .page { padding-inline: 15px; }.topbar { padding-inline: 15px; }.hero { padding: 24px 20px; }.hero-title { font-size: 38px; }.lesson-art { height: 125px; }.lesson-title { font-size: 16px; }.hero .hero-lesson { font-size: 8px; }.transport { gap: 8px; }.bars-selector { flex: 1; justify-content: flex-end; }.section-title h2 { font-size: 22px; } }

@media (max-width: 640px) {
  .page-heading p, .hero p, .lesson-description, .metric-label, .metric-trend, .lesson-meta, .lesson-level, .lesson-footer > span, .row-main small, .row-meta, .row-meta small, .support-note, .field small, .stat-row, .stat-row strong, .result-stats span, .result-stats strong small, .skill-row > div:first-child, .skill-row small, .device-controls .muted, .meter-label, .stage-footnote, .count-in-display, .lane-label, .path-step small, .empty-state p, .auth-art-copy > p, .auth-form > .muted, .feature-list, .auth-form .support-note { font-size: 11px; }
  .lesson-meta { flex-wrap: wrap; letter-spacing: .3px; }
  .instruction-list, .feedback-item, .feedback-item strong, .practice-tip p, .row-main, .empty-state, .modal-body p, .field, .field label, .auth-form .field { font-size: 12px; }
  .btn, .btn-sm, .tab, .segment, .transport .start-btn, .result-actions .btn, .practice-toolbar .btn, .input-selector .segment, .section-title > .btn, .topbar-actions .btn, .guide-toggle, .bars-selector, .auth-tabs .segment, .hero .btn, .practice-tip .btn { font-size: 12px; }
  .btn { min-height: 42px; }.tab, .segment { min-height: 40px; }.icon-btn { min-width: 34px; min-height: 34px; }
  .nav-item, .nav-item > span { font-size: 10px; }.nav-item { gap: 6px; }
  .input, .select, .textarea, .auth-form .input, .filter-row > .select, .bars-selector .select { font-size: 16px; min-height: 44px; }
  .bars-selector .select { width: 84px; }.tempo-control input { font-size: 24px; }.step-btn { width: 30px; height: 30px; }
  .result-stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 12px; }.result-stats strong { font-size: 20px; }
  .beat-marker { font-size: 12px; }.path-step strong, .empty-state strong { font-size: 13px; }
  .teacher-metrics .metric-label, .teacher-metrics .metric-trend { font-size: 11px; }.teacher-metrics .metric-card { padding-inline: 8px; }
  .lesson-footer > span { line-height: 1.7; }.lesson-footer { align-items: flex-end; }.lesson-card-body .lesson-footer .icon-btn { min-width: 34px; min-height: 34px; }
  .section-title { flex-wrap: wrap; }.section-title > .btn { min-height: 32px; }.practice-toolbar { gap: 10px; }.practice-toolbar .pill, .practice-toolbar .status-pill { font-size: 10px; }
  .auth-submit { font-size: 13px; }.page-footer { font-size: 10px; }.page-footer > span:last-child { font-size: 9px; letter-spacing: .2px; }.page-footer { flex-wrap: wrap; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: 0ms !important; scroll-behavior: auto !important; } }

.settings-signout { margin-left: 10px; }
@media (max-width: 640px) { .topbar-actions { gap: 9px; }.topbar-signout { gap: 4px; white-space: nowrap; }.topbar-signout svg { display: none; }.settings-signout { margin: 12px 0 0; } }

.account-form { display: flex; flex-direction: column; align-items: flex-start; gap: 17px; }.account-form > .field { width: 100%; }.account-form > .support-note { margin-top: 0; }.application-note { margin-block: 18px; }.application-list { display: grid; gap: 20px; }.application-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }.application-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }.application-heading h3 { font-size: 18px; }.application-heading p { margin-top: 8px; font-size: 11px; overflow-wrap: anywhere; }.application-experience { margin-top: 15px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; color: var(--muted); }.application-card .account-form { margin-top: 18px; }.application-card .result-actions { margin-top: 0; }.application-heading .chip { flex-shrink: 0; }

.revenue-consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 11px; line-height: 1.8; }.revenue-consent input { margin: 5px 0 0; flex-shrink: 0; accent-color: var(--lime); }#teacher-signup-terms { margin-top: 18px; }#teacher-signup-terms .revenue-consent { font-size: 10px; }

.dashboard-metrics .metric-value { font-size: clamp(24px,2.5vw,38px); }.dashboard-filter { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; }.dashboard-filter .select { width: 145px; }.dashboard-table { min-width: 1020px; }.dashboard-table td:not(:first-child) { white-space: nowrap; }.dashboard-table td:first-child { min-width: 200px; }.dashboard-receipt-form { display: grid; gap: 18px; }.dashboard-receipt-form > .btn { justify-self: start; }.dashboard-receipt-form .support-note { margin-top: 0; }
@media (max-width: 640px) { .sidebar .nav { overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }.sidebar .nav::-webkit-scrollbar { display: none; }.sidebar .nav > .nav-item { flex: 1 0 68px; min-width: 68px; }.dashboard-filter { flex-wrap: wrap; gap: 5px; }.dashboard-filter .select { width: 120px; }.dashboard-metrics .metric-value { font-size: 29px; } }

/* Drummer’s-eye studio drawing: drumheads, brass and connected hardware. */
.touch-kit { --kit-line: var(--ink); --kit-copper: var(--copper); --kit-stage: var(--surface-deep); --kit-wash-light: color-mix(in srgb,var(--surface) 88%,var(--ink)); --kit-brass-light: color-mix(in srgb,var(--copper) 28%,var(--surface)); --kit-brass-mid: color-mix(in srgb,var(--copper) 12%,var(--surface)); --kit-hit: color-mix(in srgb,var(--copper) 20%,var(--surface)); width: calc(100% + 28px); margin: 19px -14px 0; padding: 16px 8px 12px; border-block: 1px solid var(--line); background: var(--kit-stage); }
.touch-kit-heading { display: flex; justify-content: space-between; gap: 15px; padding-inline: 12px; color: var(--ink); font-size: 11px; }
.touch-kit-heading > span:last-child { color: var(--muted); font-size: 10px; }
.touch-kit-svg { width: 100%; max-width: 1100px; height: auto; display: block; margin: 9px auto 3px; overflow: visible; }
.touch-kit .kit-pad { cursor: pointer; outline: none; touch-action: none; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; }
.touch-kit .kit-hit-zone { fill: transparent; stroke: transparent; stroke-width: 0; pointer-events: all; }
.touch-kit .kit-drawing, .touch-kit .kit-rig { pointer-events: none; }
.touch-kit .kit-drawing { color: var(--kit-line); fill: none; stroke-linecap: round; stroke-linejoin: round; }
.touch-kit .kit-head { fill: url(#kit-drum-wash); stroke: currentColor; stroke-width: 2.2; }
.touch-kit .kit-cast-shadow { fill: #110e0c; stroke: none; opacity: .28; }
.touch-kit .kit-shell-hatch { fill: url(#kit-pen-hatch); stroke: none; }
.touch-kit .kit-ink-echo { fill: none; stroke: currentColor; stroke-width: .8; stroke-dasharray: 83 19 37 8 59 14; opacity: .42; }
.touch-kit .kit-pen-shade { fill: none; stroke: currentColor; stroke-width: .9; opacity: .35; }
.touch-kit .kit-shell-edge { fill: var(--surface-deep); stroke: currentColor; stroke-width: 1.7; }
.touch-kit .kit-inner-rim { fill: none; stroke: currentColor; stroke-width: 1; opacity: .78; }
.touch-kit .kit-bearing-edge { fill: none; stroke: currentColor; stroke-width: .6; opacity: .28; }
.touch-kit .kit-shell-seam { fill: none; stroke: currentColor; stroke-width: 1; opacity: .5; }
.touch-kit .kit-hardware, .touch-kit .kit-bass-hoop { fill: none; stroke: currentColor; stroke-width: 1.8; }
.touch-kit .kit-lugs { fill: var(--surface-deep); stroke: currentColor; stroke-width: 1.15; }
.touch-kit .kit-strainer { fill: none; stroke: currentColor; stroke-width: 1.3; }
.touch-kit .kit-cymbal .kit-drawing { color: var(--kit-copper); }
.touch-kit .kit-cymbal .kit-head { fill: url(#kit-brass-wash); stroke-width: 2; }
.touch-kit .kit-cymbal-groove { fill: none; stroke: currentColor; stroke-width: .8; opacity: .32; }
.touch-kit .kit-lathe-mark { fill: none; stroke: currentColor; stroke-width: .9; opacity: .65; }
.touch-kit .kit-bell { fill: var(--kit-brass-mid); stroke: currentColor; stroke-width: 1.2; }
.touch-kit .kit-cymbal-pin { fill: none; stroke: var(--kit-line); stroke-width: 1.5; }
.touch-kit .kit-hihat-bottom { fill: none; stroke: currentColor; stroke-width: 1.2; }
.touch-kit .kit-label { fill: var(--kit-line); stroke: none; font: 23px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-weight: 400; text-anchor: middle; }
.touch-kit .kit-key { fill: var(--muted); stroke: none; font: 17px ui-monospace,monospace; text-anchor: middle; }
.touch-kit .kit-cymbal .kit-label { fill: var(--ink); }
.touch-kit .kit-cymbal .kit-key { fill: var(--muted); }
.touch-kit .kit-kick .kit-bass-shell { fill: url(#kit-bass-wash); }
.touch-kit .kit-pedal, .touch-kit .kit-beater { fill: var(--surface); stroke: currentColor; stroke-width: 1.6; }
.touch-kit .kit-pedal-detail { fill: none; stroke: currentColor; stroke-width: 1.1; }
.touch-kit .kit-rig { fill: none; stroke: var(--muted); stroke-width: 1.3; opacity: .27; stroke-linecap: round; stroke-linejoin: round; }
.touch-kit .kit-mount { stroke-width: 2.5; }
.touch-kit .kit-foot-link, .touch-kit .kit-throne { fill: var(--kit-stage); stroke-width: 1.4; }
.touch-kit .kit-hit-flash { fill: none; stroke: var(--lime); stroke-width: 2.5; opacity: 0; }
.touch-kit .kit-pad.is-hit .kit-head { fill: var(--kit-hit); stroke: var(--copper); stroke-width: 3.2; }
.touch-kit .kit-pad.is-hit .kit-hit-flash { opacity: 1; }
.touch-kit .kit-pad.is-hit .kit-label { fill: var(--ink); }
.touch-kit .kit-pad:focus-visible .kit-hit-zone { stroke: var(--lime); stroke-width: 2; stroke-dasharray: 6 5; }
/* Add-on cymbals and percussion are smaller pads, so their lettering is smaller too. */
.touch-kit .kit-small .kit-label { font-size: 19px; }
.touch-kit .kit-small .kit-key { font-size: 14px; }
@media (max-width: 640px) { .touch-kit .kit-small .kit-label { font-size: 24px; } }
.kit-fullscreen .kit-small .kit-label, .learn-kit-fullscreen .kit-small .kit-label { font-size: 21px; }
.touch-kit-caption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 7px 18px; padding-inline: 12px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.touch-kit-caption > span:last-child { color: var(--muted); }
@media (hover: hover) { .touch-kit .kit-pad:hover .kit-head { fill: var(--kit-wash-light); }.touch-kit .kit-pad.is-hit:hover .kit-head { fill: var(--kit-hit); } }
@media (max-width: 640px) { .touch-kit { width: calc(100% + 28px); padding: 15px 0 12px; }.touch-kit-heading { padding-inline: 12px; font-size: 11px; }.touch-kit-heading > span:last-child { font-size: 10px; }.touch-kit-caption { padding-inline: 12px; font-size: 11px; gap: 3px; }.touch-kit-caption > span:last-child { display: none; }.touch-kit .kit-label { font-size: 27px; } }
@media (any-pointer: coarse) and (any-hover: none) { .touch-kit .kit-key, .kit-keyboard-help { display: none; } }

.kit-transport { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding: 15px 0 3px; color: var(--muted); font-size: 11px; }.kit-transport .btn { flex-shrink: 0; }.kit-transport .recording-state { color: var(--lime); }
@media (max-width: 640px) { .kit-transport { font-size: 11px; padding-top: 14px; }.kit-transport .btn { min-height: 44px; } }

.kit-player { min-width: 0; }
.input-card > .card-body { padding-inline: 12px; }
.kit-transport-status { flex: 1 0 160px; min-width: 0; }
.kit-rotate-hint { display: none; }
.kit-tempo { display: flex; align-items: baseline; gap: 5px; color: var(--muted); }
.kit-tempo input { width: 57px; min-height: 42px; padding: 4px; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; font: 23px ui-monospace,monospace; text-align: center; appearance: textfield; }
.kit-tempo input::-webkit-inner-spin-button, .kit-tempo input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.kit-tempo > span { font-size: 9px; letter-spacing: 1px; }
html.kit-playing-fullscreen, body.kit-playing-fullscreen { overflow: hidden; overscroll-behavior: none; }
body.kit-playing-fullscreen .sidebar, body.kit-playing-fullscreen .topbar, body.kit-playing-fullscreen .page-footer { visibility: hidden; }
.kit-player.kit-fullscreen { --kit-safe-left: env(safe-area-inset-left,0px); --kit-safe-right: env(safe-area-inset-right,0px); --kit-safe-top: env(safe-area-inset-top,0px); --kit-safe-bottom: env(safe-area-inset-bottom,0px); position: fixed; inset: 0; z-index: 1000; width: 100vw; height: 100vh; width: 100dvw; height: 100dvh; display: block; margin: 0; padding: 0; border: 0; border-radius: 0; background: var(--surface-deep); isolation: isolate; }
.kit-fullscreen .kit-transport { position: absolute; z-index: 2; right: max(6px,env(safe-area-inset-right)); bottom: max(6px,env(safe-area-inset-bottom)); flex-direction: column; flex-wrap: nowrap; gap: 6px; width: 58px; min-height: 0; margin: 0; padding: 6px; border: 1px solid var(--line); border-radius: 8px; background: color-mix(in srgb,var(--surface-deep) 93%,transparent); }
.kit-fullscreen .kit-transport-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.kit-fullscreen .kit-transport .btn { width: 40px; height: 40px; min-height: 40px; padding: 0; gap: 0; font-size: 0; }
.kit-fullscreen .kit-transport .btn span { font-size: 0; }
.kit-fullscreen .kit-tempo { flex-direction: column; align-items: center; gap: 1px; }
.kit-fullscreen .kit-tempo input { width: 44px; min-height: 30px; padding: 2px; font-size: 17px; }
.kit-fullscreen .kit-tempo > span { font-size: 8px; letter-spacing: .6px; }
.kit-fullscreen .touch-kit { display: flex; align-items: center; justify-content: center; min-height: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: radial-gradient(ellipse at center,color-mix(in srgb,var(--surface) 40%,transparent),transparent 75%); }
.kit-fullscreen .touch-kit-svg { display: block; width: 100%; max-width: none; height: 100%; max-height: 100%; margin: 0; overflow: hidden; }
.kit-fullscreen .touch-kit-heading, .kit-fullscreen .touch-kit-caption { display: none; }
.kit-fullscreen .kit-label { font-size: 24px; }
@media (orientation: portrait) {
  .kit-player.kit-fullscreen { inset: auto; left: 50%; top: 50%; width: 100vh; height: 100vw; width: 100dvh; height: 100dvw; transform: translate(-50%,-50%) rotate(90deg); }
  .kit-fullscreen .kit-rotate-hint { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
}
