:root{color-scheme:dark;font-family:Avenir Next,Segoe UI Variable,Hiragino Sans,Yu Gothic UI,sans-serif;--bg: #07090d;--bg-elevated: #0d1117;--bg-panel: rgba(17, 22, 31, .88);--bg-panel-strong: rgba(23, 29, 40, .96);--bg-panel-soft: rgba(255, 255, 255, .03);--bg-input: rgba(255, 255, 255, .045);--text: #f4f6fb;--text-muted: #9aa6bb;--text-soft: #7f8aa0;--line: rgba(255, 255, 255, .09);--line-strong: rgba(255, 255, 255, .14);--accent: #cdbb8a;--accent-strong: #e7d7ad;--accent-soft: rgba(205, 187, 138, .16);--success: #8dc4aa;--success-soft: rgba(92, 143, 118, .18);--warning: #d3a77e;--warning-soft: rgba(211, 167, 126, .18);--danger: #dd8f8e;--danger-soft: rgba(191, 103, 101, .16);--shadow-lg: 0 28px 80px rgba(0, 0, 0, .42);--shadow-md: 0 18px 40px rgba(0, 0, 0, .24);--shadow-sm: 0 10px 24px rgba(0, 0, 0, .18);--radius-xl: 28px;--radius-lg: 22px;--radius-md: 16px;--radius-sm: 12px}*{box-sizing:border-box}html{min-height:100%;overflow-x:clip;background:radial-gradient(circle at top,rgba(205,187,138,.12),transparent 28%),radial-gradient(circle at 20% 20%,rgba(91,113,148,.18),transparent 24%),linear-gradient(180deg,#05070b,#0a0d12 38%,#080b10)}body{margin:0;min-height:100vh;overflow-x:clip;color:var(--text);background:radial-gradient(circle at top right,rgba(255,255,255,.05),transparent 22%),transparent}a{color:var(--accent-strong);text-decoration-color:#e7d7ad66}button,input,progress{font:inherit}button{appearance:none;border:1px solid var(--line);border-radius:999px;background:linear-gradient(180deg,#ffffff0f,#ffffff08);color:var(--text);padding:.72rem 1rem;font-size:.93rem;font-weight:600;letter-spacing:.01em;box-shadow:inset 0 1px #ffffff0d;transition:border-color .14s ease,background-color .14s ease,transform .14s ease}button:hover:not(:disabled){border-color:var(--line-strong);background:linear-gradient(180deg,#ffffff17,#ffffff0a)}button:active:not(:disabled){transform:translateY(1px)}button:disabled{opacity:.42;cursor:not-allowed}.button-primary{border-color:#e7d7ad47;background:linear-gradient(180deg,#e7d7ad4d,#b1975a2e);color:#0d1014;box-shadow:inset 0 1px #ffffff38,0 14px 28px #a588432e}.button-primary:hover:not(:disabled){border-color:#e7d7ad6b;background:linear-gradient(180deg,#e7d7ad61,#b1975a3d)}input[type=file],input[type=range]{width:100%}input[type=file]{padding:1rem;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--bg-input);color:var(--text-muted)}input[type=file]::file-selector-button{margin-right:1rem;border:1px solid rgba(231,215,173,.22);border-radius:999px;background:#e7d7ad1f;color:var(--text);padding:.72rem 1rem;font-weight:700}input[type=range]{accent-color:var(--accent)}progress{overflow:hidden;appearance:none;border:0;border-radius:999px;background:#ffffff14}progress::-webkit-progress-bar{background:#ffffff14}progress::-webkit-progress-value{border-radius:999px;background:linear-gradient(90deg,#8aa3d1,var(--accent))}progress::-moz-progress-bar{border-radius:999px;background:linear-gradient(90deg,#8aa3d1,var(--accent))}section{border:1px solid var(--line);border-radius:var(--radius-xl);margin:0;padding:1.35rem;background:linear-gradient(180deg,#ffffff0a,#ffffff04),var(--bg-panel);box-shadow:var(--shadow-sm);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.app-shell{--shell-gutter: 28px;position:relative;min-height:100vh;max-width:1440px;margin:0 auto;padding:12px var(--shell-gutter) 28px;display:grid;gap:18px}.app-shell:before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at top,rgba(231,215,173,.06),transparent 18%),linear-gradient(180deg,transparent,rgba(0,0,0,.16))}.app-shell__top,.app-shell__sidebar{display:grid;gap:18px}.app-shell__top{position:sticky;top:0;z-index:12;margin-inline:calc(50% - 50vw);padding-inline:max(var(--shell-gutter),calc((100vw - 1440px) / 2 + var(--shell-gutter)));box-shadow:inset 0 -1px #ffffff0f;transition:background-color .18s ease,box-shadow .18s ease,backdrop-filter .18s ease}.app-shell__top--condensed{background:#07090d5c;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:inset 0 -1px #ffffff14,0 10px 24px #0000001f}.app-shell__header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:end;min-height:220px;padding:1.75rem;border-radius:0;border:0;background:transparent;box-shadow:none;transition:min-height .18s ease,padding .18s ease,border-radius .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease,gap .18s ease}.app-shell__header--condensed{gap:20px;min-height:156px;padding:1rem 1.4rem;border-radius:0;background:transparent;box-shadow:none}.app-shell__brand{display:grid;gap:.85rem;min-width:0}.app-shell__brand-topline{display:flex;flex-wrap:wrap;align-items:center;gap:.7rem 1rem}.app-shell__eyebrow,.step-panel__eyebrow,.practice-panel__eyebrow,.app-footer__eyebrow,.settings-overlay__eyebrow,.practice-player__section-eyebrow,.practice-player__overview-label{margin:0;color:var(--text-soft);font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.app-shell__title-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:.75rem 1rem}.app-shell__header h1{margin:0;font-size:clamp(2.5rem,5vw,4.25rem);line-height:.95;letter-spacing:-.04em;transition:font-size .18s ease}.app-shell__header--condensed h1{font-size:clamp(2rem,3.6vw,3rem)}.app-shell__privacy-note{margin:0;padding:.48rem .82rem;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:#ffffff0b;color:var(--text-muted);font-size:.88rem;transition:padding .18s ease,font-size .18s ease,background-color .18s ease,border-color .18s ease}.app-shell__header--condensed .app-shell__privacy-note{padding:.38rem .7rem;border-color:#ffffff14;background:#ffffff08;font-size:.82rem}.app-shell__hero-copy{max-width:56ch;margin:0;color:var(--text-muted);font-size:1rem;line-height:1.7;transition:opacity .18s ease,transform .18s ease,max-height .18s ease,margin .18s ease}.app-shell__header--condensed .app-shell__hero-copy{max-height:0;margin:0;opacity:0;overflow:hidden;transform:translateY(-6px)}.app-shell__header-actions{display:grid;gap:12px;justify-items:end;transition:gap .18s ease}.app-shell__header--condensed .app-shell__header-actions{gap:8px}.app-shell__actions-panel{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;padding:.65rem;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:linear-gradient(180deg,#ffffff0b,#ffffff04),#ffffff05;box-shadow:inset 0 1px #ffffff0d;transition:padding .18s ease,border-radius .18s ease,background .18s ease,border-color .18s ease}.app-shell__header--condensed .app-shell__actions-panel{gap:8px;padding:.45rem;border-radius:16px;background:linear-gradient(180deg,#ffffff0a,#ffffff04),#ffffff04}.app-shell__compatibility-badge{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:.65rem .95rem;border:1px solid var(--line);border-radius:999px;font-size:.82rem;font-weight:700;white-space:nowrap;transition:min-height .18s ease,padding .18s ease,font-size .18s ease}.app-shell__header--condensed .app-shell__compatibility-badge{min-height:34px;padding:.48rem .75rem;font-size:.76rem}.app-shell__compatibility-badge--ready{background:#8dc4aa24;color:#bbebd4}.app-shell__compatibility-badge--fallback{background:#d3a77e24;color:#f1d0af}.app-shell__locale-switch{display:inline-flex;align-items:center;padding:.2rem;border:1px solid var(--line);border-radius:999px;background:#ffffff08}.app-shell__locale-button{min-height:36px;padding:.45rem .8rem;border:0;border-radius:999px;background:transparent;color:var(--text-muted);font-size:.8rem;font-weight:700}.app-shell__locale-button:hover{color:var(--text)}.app-shell__locale-button--active{background:#f2c0782e;color:var(--text)}.app-shell__header--condensed .app-shell__locale-button{min-height:30px;padding:.35rem .62rem;font-size:.74rem}.app-shell__settings-button{min-width:132px;transition:min-width .18s ease,padding .18s ease,font-size .18s ease}.app-shell__header--condensed .app-shell__settings-button{min-width:104px;padding:.58rem .82rem;font-size:.88rem}.app-shell__settings-status{margin:0;padding:1rem 1.15rem;border:1px solid transparent;border-radius:var(--radius-lg);display:flex;align-items:center;justify-content:space-between;gap:14px;background:var(--bg-panel)}.app-shell__settings-status p{margin:0;line-height:1.5}.app-shell__settings-status--success{border-color:#8dc4aa3d;color:#ccebd9}.app-shell__settings-status--error{border-color:#dd8f8e3d;color:#f4c2c0}.app-shell__settings-status-dismiss{padding:.1rem .5rem;min-width:2rem}.app-shell__body{display:grid;grid-template-columns:minmax(340px,430px) minmax(0,1fr);gap:18px;align-items:start}.step-panel__header,.saved-library__header,.practice-panel__header,.settings-overlay__header,.practice-player__section-header,.separate-panel__progress-header,.saved-library__meta-row,.practice-player__stem-header,.practice-player__stem-controls,.practice-player__overview-metrics{display:flex;align-items:center;justify-content:space-between;gap:12px}.step-panel__header h2,.saved-library__header h2,.practice-panel__header h2,.settings-overlay__header h2,.app-footer h2,.practice-player__section-header h3,.practice-player__stem-identity h3{margin:0}.step-panel__summary,.import-panel__hint,.import-panel__privacy,.practice-panel__header-note,.practice-panel__placeholder,.saved-library__quota,.saved-library__status,.settings-overlay__description,.separate-panel__description,.separate-panel__status{color:var(--text-muted);line-height:1.6}.step-panel__summary{margin:.6rem 0 0}.drop-zone{position:relative;transition:border-color .14s ease,background-color .14s ease,transform .14s ease}.drop-zone--active{border-color:#e7d7ad57;background:linear-gradient(180deg,#e7d7ad0f,#ffffff05),var(--bg-panel);transform:translateY(-1px)}.import-panel__notice,.separate-panel__notice{margin:.8rem 0 0;padding:.9rem 1rem;border:1px solid rgba(211,167,126,.2);border-radius:var(--radius-md);background:var(--warning-soft);color:#f2cfb2;font-size:.92rem}.import-panel__controls{position:relative;margin-top:1rem}.import-panel__controls--has-toggle .import-panel__file-input{width:calc(100% - 48px)}.import-panel__separate{margin-top:12px}.separate-panel{display:grid;gap:0}.separate-panel__toggle-row{position:absolute;top:0;right:0}.separate-panel__toggle-button{width:34px;height:34px;padding:0;border-radius:12px}.separate-panel__toggle-icon{display:inline-block;line-height:1;transform:rotate(0);transition:transform .14s ease}.separate-panel__toggle-icon--expanded{transform:rotate(-90deg)}.separate-panel__details{margin:0;display:grid;gap:10px}.separate-panel__details div{padding:.95rem 1rem;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--bg-panel-soft)}.separate-panel__details dt{margin-bottom:.35rem;color:var(--text-soft);font-size:.76rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.separate-panel__details dd{margin:0;color:var(--text);min-width:0;overflow-wrap:anywhere}.separate-panel__progress-row{margin-top:12px;display:grid;gap:10px}.separate-panel__progress-row--collapsed{margin-top:6px}.separate-panel__progress-row progress{width:100%;height:12px}.separate-panel__progress-header p{margin:0;color:var(--text-muted)}.separate-panel__cancel-button{color:#f4c2c0;border-color:#dd8f8e3d;background:var(--danger-soft)}.saved-library__clear-button{color:var(--text-muted)}.saved-library__header>div{display:grid;gap:0}.saved-library__header .step-panel__eyebrow{margin:0}.saved-library__quota,.saved-library__status{margin:.9rem 0 0}.saved-library__status{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:.85rem 1rem;border:1px solid transparent;border-radius:var(--radius-md)}.saved-library__status p{margin:0}.saved-library__status--success{border-color:#8dc4aa3d;background:#5b9a7a2e;color:#d8f1e2}.saved-library__status--error{border-color:#dd8f8e3d;background:var(--danger-soft);color:#f4c2c0}.saved-library__status-dismiss{min-width:2rem;padding:.1rem .5rem;color:inherit}.saved-library__empty{margin:1rem 0 0;padding:1rem;border:1px dashed var(--line);border-radius:var(--radius-md);color:var(--text-muted);background:var(--bg-panel-soft)}.saved-library__item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;margin-top:14px;padding:1rem;border:1px solid transparent;border-radius:var(--radius-lg);background:#ffffff05}.saved-library__item--active{border-color:#e7d7ad33;background:linear-gradient(180deg,#e7d7ad14,#ffffff06),#ffffff05;box-shadow:inset 0 1px #ffffff0d}.saved-library__item-main{min-width:0}.saved-library__item h3{font-size:1rem;margin-block-start:0;margin-block-end:0}.saved-library__meta{display:grid;gap:.35rem;margin:.65rem 0 0;color:var(--text-muted);font-size:.9rem}.saved-library__meta-row{margin:0;justify-content:flex-start;flex-wrap:wrap}.saved-library__actions{display:grid;gap:8px;align-content:start}.saved-library__icon-button{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border-radius:14px}.saved-library__icon-button .material-symbols-outlined{display:block}.saved-library__icon-button--danger{color:#f0c2c0;border-color:#dd8f8e3d;background:var(--danger-soft)}.material-symbols-outlined{font-family:Material Symbols Outlined;font-size:20px;font-style:normal;font-weight:400;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;font-variation-settings:"FILL" 0,"wght" 500,"GRAD" 0,"opsz" 24}.practice-panel{min-width:0;display:grid;align-content:start;gap:18px;padding:1.5rem}.practice-panel__header{align-items:flex-end}.practice-panel__header h2{font-size:clamp(1.45rem,2.4vw,2.3rem);line-height:1.12}.practice-panel__header-note{max-width:32ch;margin:0;text-align:right}.practice-panel__placeholder{min-height:360px;display:grid;place-items:center;margin:0;padding:2rem;border:1px dashed var(--line);border-radius:var(--radius-lg);background:radial-gradient(circle at top,rgba(205,187,138,.08),transparent 34%),var(--bg-panel-soft);text-align:center}.practice-player{display:grid;gap:10px}.practice-player p{margin:0;color:var(--text-muted)}.practice-player__overview{display:grid;gap:10px;padding:.8rem .9rem;border:1px solid var(--line);border-radius:var(--radius-lg);background:linear-gradient(180deg,#ffffff0d,#ffffff06)}.practice-player__overview-metrics{align-items:stretch;flex-wrap:wrap;justify-content:flex-start}.practice-player__metric{min-width:130px;padding:.7rem .8rem;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--bg-panel-soft)}.practice-player__metric strong{display:block;margin-top:.28rem;color:var(--text);font-size:1rem}.practice-player__metric-value--inline{display:flex;align-items:baseline;flex-wrap:wrap}.practice-player__metric-detail{margin-left:.9rem;color:var(--text-soft);font-size:.8rem;line-height:1.35}.practice-player__metric-label{display:block;color:var(--text-soft);font-size:.74rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.practice-player__section{display:grid;gap:10px;padding:.7rem .9rem .85rem;border:1px solid var(--line);border-radius:var(--radius-lg);background:#ffffff05}.practice-player__section--dual{grid-template-columns:repeat(2,minmax(0,1fr))}.practice-player__control-card{display:grid;gap:10px;padding:0;align-content:start}.practice-player__section-header{align-items:end;min-height:0}.practice-player__section-header h3{font-size:1rem}.practice-player__control-value{min-height:0}.practice-player__control-slider{width:100%;min-height:24px}.practice-player__transport,.practice-player__shortcuts,.practice-player__control-buttons,.practice-player__stem-controls{display:flex;flex-wrap:wrap;gap:6px}.practice-player__transport-play{display:inline-flex;align-items:center;justify-content:center;min-width:6.5rem;border-color:#7ae1b96b;background:linear-gradient(180deg,#89f1c6e6,#3eab7ed1);color:#082016;box-shadow:inset 0 1px #ffffff47,0 12px 24px #23785447}.practice-player__transport-play:hover:not(:disabled){border-color:#99eccb99;background:linear-gradient(180deg,#9cf7d1fa,#4ab98be0)}.practice-player__seekbar{width:100%}.practice-player__control-buttons{justify-content:flex-start}.practice-player__stem-card{overflow-x:auto;padding:.8rem .9rem;border:1px solid var(--line);border-radius:var(--radius-lg);background:#ffffff06}.practice-player__stem-row{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-width:fit-content}.practice-player__stem-identity{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:12px;width:168px;min-width:168px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}button:active:not(:disabled){transform:none}}.practice-player__stem-controls{flex:0 0 auto;flex-wrap:nowrap;align-items:center}.practice-player__stem-volume{display:inline-flex;align-items:center;gap:10px;margin:0;padding:.7rem .9rem;border:1px solid var(--line);border-radius:999px;background:var(--bg-panel-soft)}.practice-player__stem-volume span{color:var(--text-soft);text-transform:uppercase;letter-spacing:.08em;font-size:.72rem;font-weight:700}.practice-player__stem-volume input{width:180px}.practice-player__audibility-badge{display:inline-flex;align-items:center;padding:.35rem .72rem;border-radius:999px;font-size:.76rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.practice-player__audibility-badge--audible{background:var(--success-soft);color:#ccebd9}.practice-player__audibility-badge--muted{background:var(--danger-soft);color:#f1c5c3}.app-footer{padding:1.4rem 1.5rem;background:linear-gradient(180deg,#ffffff0b,#ffffff05),var(--bg-panel)}.app-footer h2{font-size:1rem}.app-footer p{margin:.6rem 0 0;color:var(--text-muted);line-height:1.65}.app-footer__links{display:flex;flex-wrap:wrap;gap:12px 20px;margin:1rem 0 0;padding-left:1.1rem}.settings-overlay{position:fixed;inset:0;z-index:20;display:grid;place-items:start end;padding:96px 28px 28px;background:#0204088f;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.settings-overlay__panel{width:min(380px,calc(100vw - 32px));padding:1.4rem;background:var(--bg-panel-strong);box-shadow:var(--shadow-lg)}.settings-overlay__header{align-items:start}.settings-overlay__close-button{color:var(--text-muted)}.settings-overlay__description{margin:1rem 0 0}.settings-overlay__menu{margin-top:1rem}.settings-overlay__menu-button{width:100%;text-align:left;color:#f2c8c6;border-color:#dd8f8e3d;background:var(--danger-soft)}@media(max-width:1080px){.app-shell__body{grid-template-columns:1fr}.practice-panel__header{align-items:start;flex-direction:column}.practice-panel__header-note{text-align:left}}@media(max-width:840px){.app-shell{--shell-gutter: 16px;padding:8px var(--shell-gutter) 16px}.app-shell__top{top:0}.app-shell__header{grid-template-columns:1fr;min-height:0;gap:20px}.app-shell__header--condensed{padding:.95rem 1rem 1rem;border-radius:0 0 24px 24px}.app-shell__header-actions{justify-items:start}.app-shell__actions-panel{justify-content:flex-start}.settings-overlay{place-items:end stretch;padding:16px}.settings-overlay__panel{width:100%}.practice-player__section--dual{grid-template-columns:1fr}.practice-player__stem-header,.step-panel__header,.saved-library__header{align-items:start;flex-direction:column}}@media(max-width:640px){.app-shell__title-row{align-items:start;flex-direction:column}.practice-panel__placeholder{min-height:220px}.practice-player__metric{min-width:calc(50% - 6px)}.saved-library__item{grid-template-columns:1fr}.saved-library__actions{grid-auto-flow:column;justify-content:start}.import-panel__controls--has-toggle .import-panel__file-input{width:calc(100% - 42px)}}
