@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@400;500;600&display=swap');
/* Shared Piano Follow identity. Hand, error and recording colours retain meaning. */
:root{--bg:#0b0c0c;--panel:#161914;--line:#34382e;--mint:#c8a66e;--muted:#aaa69d;--brand-paper:#eee8dc;--brand-gold:#c8a66e;--brand-serif:'Cormorant Garamond',Georgia,serif;--brand-sans:'DM Sans',Arial,sans-serif;color-scheme:dark}
body{background:var(--bg);color:var(--brand-paper);font-family:var(--brand-sans);font-size:14px}::selection{background:var(--brand-gold);color:var(--bg)}
body>header{align-items:center;gap:20px;padding:24px 5%;min-height:94px;background:#0d0f0c;border-bottom:1px solid #c8a66e30}header .brand-link{display:inline-flex;align-items:center;gap:11px;flex:none}header .brand-link img{display:block}header .brand-link b{font:500 28px var(--brand-serif);letter-spacing:-.7px}header .brand-link b span{color:var(--brand-gold)}header>.small{font-size:9px;letter-spacing:2.5px;color:var(--muted);margin-right:auto;padding-left:24px;border-left:1px solid var(--line)}header .badge{font-size:11px;letter-spacing:.2px;background:#171a14;border-color:#c8a66e45;border-radius:4px;color:var(--brand-gold)}
h1,h2{font-family:var(--brand-serif);font-weight:500;letter-spacing:-.5px}h1{font-size:44px}h2{font-size:32px}h3{font-weight:500;letter-spacing:-.2px}.eyebrow{font-size:9px;letter-spacing:2.4px;color:var(--brand-gold)}main{margin-top:30px}.panel{border-radius:8px;background:var(--panel);border-color:var(--line)}
button,.upload{background:#24281f;border:1px solid #4b5141;border-radius:4px;color:var(--brand-paper);font-family:var(--brand-sans);transition:background .15s,border-color .15s}button:hover:not(:disabled),.upload:hover{filter:none;background:#303529;border-color:#a48c63}button:active:not(:disabled){background:#3c4032}button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,a:focus-visible{outline:2px solid var(--brand-gold);outline-offset:3px}.primary,button.primary{background:var(--brand-paper);border-color:var(--brand-paper);color:#171914;font-weight:600}.primary:hover:not(:disabled),button.primary:hover:not(:disabled){background:var(--brand-gold);border-color:var(--brand-gold);color:#171914}button[aria-pressed=true]{border-color:var(--brand-gold)}
select,input[type=number],input[type=text],textarea{background:#10120f;color:var(--brand-paper);border-color:#4b5141;border-radius:4px}select{font-size:13px}label,.help,.small{color:var(--muted)}input[type=range],input[type=checkbox],meter,progress{accent-color:var(--brand-gold)}
.session-bar label{font-size:10px;letter-spacing:1px;text-transform:uppercase}.mode-switch{background:#11130f;border-radius:5px}.mode-switch button{border-radius:3px}.mode-switch button.active{background:var(--brand-gold);color:#15170f}.session-hint p{color:#aaa69d}.practice-connection{border-radius:5px;background:#161914;border-color:#34382e}.workspace-actions{gap:9px}.workspace-actions button{border-color:#454b3b;color:#d8d1c3;background:#11140f;border-radius:4px}.workspace-actions button:hover{background:#24281e}.stage{box-shadow:0 16px 60px #0003}.stagehead{background:linear-gradient(100deg,#1b1e17,#131610);align-items:center}.stagehead #title{font:500 25px var(--brand-serif);letter-spacing:.1px}.stagehead .small{line-height:1.6}.score-toolbar,.hand-legend{background:#141711}.hand-legend{color:#c3bba9}#roll{background:#11140f}#keyboard::before{background:var(--brand-gold);box-shadow:0 0 5px #c8a66e50}.key{background:#e8e2d5;border-color:#262b21;color:#5a5c50}.key.black{background:#191d16;color:#b7b3a5}.key.expected:not(.hand-left):not(.hand-right):not(.hand-both){background:var(--brand-gold);color:#1c2014}
.transport{background:#171a14}.stat{border-radius:5px}.stat b{color:var(--brand-paper);font-family:var(--brand-serif);font-size:30px}.session-status{color:var(--brand-gold)}
dialog{background:#161914;color:var(--brand-paper);border:1px solid #726246;border-radius:8px;box-shadow:0 35px 100px #0008}dialog::backdrop{background:#050704c9;backdrop-filter:blur(5px)}dialog h2{font-size:32px}dialog h3{font:500 27px var(--brand-serif)}.settings-group{background:#11140f;border-radius:5px}.settings-group>summary{color:#e7dfce}.score-editor,.learning-workbench,.study-panel,.expression-panel,#visual-panel,#visual-ribbon,.journal-panel,.practice-reference-panel{background:#161914}.study-panel,.repertoire-card,.visual-expression-card{border-radius:5px}.journal-heading h2{font-family:var(--brand-serif)}.score-view-tabs [aria-selected=true]{background:var(--brand-gold);color:#171914}.listen-section-tools [aria-pressed=true]{background:#c8a66e25;border-color:var(--brand-gold);color:var(--brand-paper)}#library-delete-dialog{border-color:#726246}#library-delete-dialog .help{color:var(--muted)}.library-song-delete{color:#dfaa93}.library-card{border-radius:5px}.library-card[aria-current=true]{border-color:var(--brand-gold)}.reference-page,#score-wrap,.editor-scroll{color-scheme:light}.staff-note-help{color:var(--muted)}
@media(max-width:800px){body>header{padding:16px 18px;padding-top:max(16px,env(safe-area-inset-top));flex-wrap:wrap;gap:12px;min-height:80px}header .brand-link b{font-size:26px}header .brand-link img{width:32px;height:32px}header>.small{display:none}header .badge{margin-left:auto;font-size:9px;padding:9px 11px;max-width:180px}main{margin-top:22px}.session-bar label{font-size:9px}.stagehead{padding:16px}.stagehead #title{font-size:23px}button,.upload{min-height:40px}.workspace-actions button{min-height:44px}.transport button{min-height:44px}.key{min-height:0}.key.black{min-height:0}dialog{padding:20px}dialog h2{font-size:28px}}
@media(max-width:400px){body>header{gap:10px}header .badge{flex-basis:100%;max-width:none;margin:0;font-size:10px;padding:8px 12px}.stagehead #title{font-size:21px}}
@media(prefers-reduced-motion:reduce){button,.upload{transition:none}}
.workspace-tabs button[aria-selected="true"],.workspace-tabs button[aria-selected="true"]:hover:not(:disabled){background:var(--brand-gold);color:#171914;border-color:var(--brand-gold)}.workspace-heading h2{font:500 30px var(--brand-serif)}.workspace-dialog{border-radius:8px}
@media(min-width:801px){header>.small{display:block}}
input[type=search]{background:#10120f;color:var(--brand-paper);border:1px solid #4b5141;border-radius:4px}#listen-source-panel,.listen-jump,.listen-section-tools,.memory-panel{border-color:var(--line)}

header .account-link{font-size:11px;color:var(--brand-gold);display:inline-flex;align-items:center;min-height:44px;padding:0 10px;white-space:nowrap}@media(max-width:800px){header .account-link{margin-left:auto;font-size:10px}header .badge{margin-left:0}}
