:root { --ink:#252824; --muted:#70766d; --paper:#f7f7f3; --card:#fff; --line:#e8ede5; --green:#637c59; --green-dark:#3f5039; --gold:#c89b63; --shadow:0 15px 32px rgba(42,43,38,.07); }
* { box-sizing:border-box; } body { margin:0; background:var(--paper); color:var(--ink); font-family:Manrope, sans-serif; } .page-shell { max-width:1190px; margin:auto; padding:0 36px 70px; }
.topbar { height:92px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); } .brand { color:var(--ink); text-decoration:none; font-family:Fraunces,serif; font-size:22px; font-weight:600; letter-spacing:-1.1px; } .brand span { color:var(--green); } .brand-mark { display:inline-grid; place-items:center; width:25px; height:25px; margin-right:6px; background:var(--green); color:#fff!important; font-family:Arial; font-size:17px; border-radius:50% 50% 50% 5px; transform:rotate(-12deg); } .brand em { margin-left:7px; color:#98988e; font:500 10px 'DM Mono',monospace; letter-spacing:0; vertical-align:middle; } .midi-button { padding:8px 11px; border:1px solid #d5d8d0; border-radius:4px; color:#65725f; background:#fbfaf5; cursor:pointer; font:500 10px 'DM Mono',monospace; } .midi-button:hover { border-color:#9aaa93; background:#eef2eb; } .midi-button span { color:#d59c45; font-size:13px; }
.intro { padding:72px 0 43px; } .eyebrow,.card-label { margin:0 0 11px; color:var(--green); font:500 10px 'DM Mono',monospace; letter-spacing:.14em; } h1,h2,h3,p { margin-top:0; } h1 { margin-bottom:18px; font:600 clamp(43px,6.1vw,75px)/.98 Fraunces,serif; letter-spacing:-3.7px; } h1 i { color:var(--green); font-weight:500; } .lead { max-width:420px; color:var(--muted); font-size:15px; line-height:1.75; }
.composer { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(265px,.65fr); gap:22px; align-items:stretch; } .search-panel,.preview-card,.chord-card { background:var(--card); border:1px solid var(--line); box-shadow:var(--shadow); } .search-panel { padding:25px; border-radius:7px; } label { display:block; margin-bottom:11px; font-size:14px; font-weight:700; } .input-row { display:flex; gap:9px; } .input-wrap { min-width:0; flex:1; display:flex; align-items:center; height:54px; border:1px solid #d4d2c9; border-radius:5px; background:#fffefa; transition:.2s; } .input-wrap:focus-within { border-color:var(--green); box-shadow:0 0 0 3px #e4eadf; } .search-icon { padding-left:16px; color:#8c8d84; font:26px/1 Arial; transform:rotate(-20deg); } input { width:100%; min-width:0; border:0; outline:0; background:transparent; color:var(--ink); padding:0 8px; font:500 16px 'DM Mono',monospace; } input::placeholder { color:#aaa9a0; } .clear-button { display:none; padding:0 14px; border:0; background:transparent; color:#95968d; font-size:24px; cursor:pointer; } .clear-button.visible { display:block; } .add-button { cursor:pointer; display:flex; align-items:center; gap:16px; padding:0 16px 0 20px; color:#fff; border:0; border-radius:5px; background:var(--green); font:700 13px Manrope,sans-serif; transition:.18s; } .add-button:hover { background:var(--green-dark); transform:translateY(-1px); } .add-button b { font:500 17px 'DM Mono',monospace; opacity:.65; } .add-button:disabled { opacity:.5; cursor:not-allowed; transform:none; } .field-help { margin:13px 0 0; color:#96978e; font-size:11px; } kbd { padding:2px 5px; border:1px solid #dad8cf; border-radius:3px; background:#f6f4ee; color:#6e7069; font:10px 'DM Mono',monospace; } .suggestions { min-height:22px; margin-top:13px; color:#787a71; font-size:12px; } .suggestions strong { color:var(--green-dark); } .suggestions.error { color:#a65449; }
.preview-card { position:relative; overflow:hidden; min-height:175px; border-radius:7px; padding:23px; background:#29332b; color:#f7f4ed; } .preview-card:after { content:'♫'; position:absolute; right:-10px; bottom:-52px; color:#40503f; font:180px Fraunces; transform:rotate(-12deg); } .preview-empty { position:relative; z-index:1; display:flex; flex-direction:column; gap:12px; align-items:flex-start; justify-content:center; height:100%; } .note-orb { display:grid; flex:0 0 auto; place-items:center; width:41px; height:41px; border:1px solid #82907d; border-radius:50%; color:#e6ba5b; font-size:20px; } .preview-empty p { margin:0; color:#d6d7d0; font:500 14px/1.55 Fraunces,serif; }
.preview-content { position:relative; z-index:1; } .preview-content .card-label { color:#c9d5c3; } .preview-top { display:flex; align-items:baseline; justify-content:space-between; } .preview-symbol { margin:0; font:500 39px/1 Fraunces,serif; letter-spacing:-1px; } .preview-name { margin:10px 0 17px; color:#d5d7d0; font-size:12px; } .preview-notes { display:inline-flex; gap:5px; align-items:center; color:#e8e6dd; font:11px 'DM Mono',monospace; } .preview-notes span { color:#aeb7a9; } .preview-content .preview-piano { height:94px; margin-top:17px; border-color:#7a8677; } .preview-content .preview-piano .white-key { border-color:#aaafa7; } .preview-content .preview-piano .black-key { background:#1f2520; }
.sequence-section { padding-top:73px; } .section-heading { display:flex; align-items:end; justify-content:space-between; margin-bottom:23px; } h2 { margin:0; font:600 26px/1.1 Fraunces,serif; letter-spacing:-1.1px; } h2 span { display:inline-grid; place-items:center; width:23px; height:23px; margin-left:5px; border-radius:50%; vertical-align:3px; background:#e6e9df; color:var(--green-dark); font:500 11px 'DM Mono',monospace; letter-spacing:0; } .text-button { padding:5px 0; color:#85877d; border:0; border-bottom:1px solid #aaa99f; background:transparent; cursor:pointer; font-size:11px; } .empty-state { display:flex; gap:16px; align-items:center; min-height:160px; padding:28px; border:1px dashed #d6d3c9; border-radius:7px; color:#92938a; } .empty-state span { color:#b4c0ac; font-size:34px; } .empty-state p { margin:0; font-size:12px; line-height:1.75; } .chord-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:17px; } .chord-card { position:relative; overflow:hidden; padding:21px; border-radius:7px; animation:rise .35s ease both; } @keyframes rise { from { opacity:0; transform:translateY(9px); } to { opacity:1; transform:none; } } .remove-card { position:absolute; top:14px; right:13px; width:24px; height:24px; border:0; border-radius:50%; color:#999b92; background:transparent; cursor:pointer; font-size:20px; line-height:1; } .remove-card:hover { color:#a65449; background:#f4e8e5; } .card-head { display:flex; justify-content:space-between; align-items:start; padding-right:22px; } .card-label { margin-bottom:4px; font-size:9px; } .card-symbol { margin:0; font:500 38px/.95 Fraunces,serif; letter-spacing:-1px; } .card-type { margin-top:4px; color:#899084; font:10px 'DM Mono',monospace; text-align:right; } .card-name { min-height:19px; margin:11px 0 16px; color:#73766e; font-size:12px; }
.piano { position:relative; display:flex; height:120px; border:1px solid #343632; border-radius:2px; overflow:hidden; background:#fff; } .white-key { position:relative; flex:1; min-width:0; border-right:1px solid #a7a7a2; background:#fcfcf9; transition:background .12s; } .white-key:last-child { border:0; } .black-key { position:absolute; z-index:2; top:0; width:9%; height:59%; border:1px solid #1c1e1b; border-radius:0 0 2px 2px; background:#30322f; transform:translateX(-50%); transition:background .12s; } .piano [data-note].midi-active { background:#d5a64c; } .key-dot { position:absolute; z-index:3; display:grid; place-items:center; width:21px; height:21px; border:2px solid #fffdf8; border-radius:50%; background:var(--gold); color:#473c22; font:700 10px 'DM Mono',monospace; box-shadow:0 1px 3px #78623066; transform:translateX(-50%); } .key-dot.white { bottom:10px; } .key-dot.black { top:23px; } .card-notes { display:flex; gap:10px; align-items:center; margin-top:15px; } .card-notes span { color:#a1a298; font:9px 'DM Mono',monospace; letter-spacing:.12em; } .card-notes strong { color:#555851; font:500 11px 'DM Mono',monospace; }
@media (max-width:760px) { .page-shell { padding:0 20px 45px; } .topbar { height:72px; } .topbar-note { display:none; } .intro { padding:51px 0 34px; } h1 { font-size:52px; } .composer { grid-template-columns:1fr; } .preview-card { min-height:130px; } .chord-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:440px) { .input-row { flex-direction:column; } .input-wrap { flex:none; } .add-button { height:47px; justify-content:center; } .chord-grid { grid-template-columns:1fr; } .sequence-section { padding-top:52px; } }

/* Reordenação dos cards */
.chord-card { padding-top:45px; transition:transform .16s, box-shadow .16s, opacity .16s; }
.chord-card.is-moving { opacity:.58; box-shadow:0 18px 35px rgba(42,43,38,.16); }
.move-card { position:absolute; top:14px; left:13px; display:flex; align-items:center; gap:5px; padding:4px 7px; border:0; border-radius:4px; color:#8a8c84; background:transparent; cursor:grab; touch-action:none; font:500 10px 'DM Mono',monospace; letter-spacing:.03em; }
.move-card span { color:var(--green); font-size:16px; line-height:10px; }
.move-card:hover { color:var(--green-dark); background:#edf0e9; }
.move-card:active { cursor:grabbing; }
.chord-card .card-symbol { font-size:32px; }
.site-footer { display:flex; justify-content:space-between; gap:20px; margin-top:58px; padding-top:18px; border-top:1px solid var(--line); color:#92948c; font:10px 'DM Mono',monospace; } .site-footer a { color:var(--green-dark); text-decoration:none; } .site-footer a:hover { text-decoration:underline; }
.midi-modal[hidden] { display:none!important; } .midi-modal { position:fixed; z-index:70; top:50%; left:50%; display:flex; flex-direction:column; width:min(430px,calc(100vw - 32px)); max-height:calc(100dvh - 16px); padding:18px; overflow:hidden; border:1px solid #cfd4ca; border-radius:8px; background:#fffdf8; box-shadow:0 25px 65px rgba(30,35,28,.25); transform:translate(-50%,-50%); } .midi-modal-head { display:flex; align-items:flex-start; gap:9px; cursor:grab; touch-action:none; user-select:none; } .midi-modal-head:active { cursor:grabbing; } .drag-dots { margin-top:3px; color:var(--green); font-size:18px; } .midi-modal .card-label { margin-bottom:3px; } .midi-modal h2 { font-size:21px; } .midi-close { margin-left:auto; width:25px; height:25px; border:0; border-radius:50%; color:#777b73; background:transparent; cursor:pointer; font-size:21px; } .midi-close:hover { color:#a65449; background:#f4e8e5; } .midi-status { margin:16px 0 9px; color:#71806a; font:10px 'DM Mono',monospace; } .midi-piano .piano { height:145px; } .midi-note { min-height:19px; margin:13px 0 0; color:#4e554c; font:500 13px 'DM Mono',monospace; } .midi-note strong { color:var(--green-dark); } .notation-controls { margin-top:16px; padding-top:13px; border-top:1px solid #e5e3db; } .notation-switch { display:inline-flex; align-items:center; gap:8px; color:#5e655b; cursor:pointer; font:600 11px Manrope,sans-serif; } .notation-switch input { position:absolute; opacity:0; } .switch-track { position:relative; width:31px; height:17px; border-radius:12px; background:#c9ccc4; transition:.2s; } .switch-track:after { content:''; position:absolute; top:3px; left:3px; width:11px; height:11px; border-radius:50%; background:#fff; box-shadow:0 1px 2px #5554; transition:.2s; } .notation-switch input:checked + .switch-track { background:var(--green); } .notation-switch input:checked + .switch-track:after { transform:translateX(14px); } .notation-options { display:flex; gap:9px; margin-top:12px; } .notation-options label { flex:1; margin:0; color:#83867e; font:9px 'DM Mono',monospace; text-transform:uppercase; letter-spacing:.06em; } .notation-options select { width:100%; margin-top:5px; padding:6px 7px; border:1px solid #d9d8d0; border-radius:3px; color:#454a43; background:#fffefa; font:11px Manrope,sans-serif; } .music-staff { margin-top:14px; padding:7px 4px 2px; overflow:hidden; border-radius:4px; background:#f9f7f0; } .music-staff svg { display:block; width:100%; height:128px; } .staff-line { stroke:#83877d; stroke-width:1; } .staff-note { fill:#3e493d; } .staff-stem { stroke:#3e493d; stroke-width:1.5; } .staff-accidental,.staff-key-signature,.staff-clef { fill:#4d564c; font-family:Fraunces,serif; } .staff-clef { font-size:50px; } .staff-accidental { font-size:21px; } .staff-key-signature { font-size:19px; }
.notation-options { align-items:end; gap:12px; } .notation-options label { flex:0 0 105px; } .grand-staff-help { display:flex; flex:1; justify-content:space-between; gap:10px; margin:0 0 6px; color:#6d7569; font:10px 'DM Mono',monospace; } .music-staff svg { height:190px; }
.chord-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } .chord-card.is-playing { border-color:#5f9a64; background:#e2f0dc; box-shadow:0 0 0 2px #c0dfbb,0 8px 24px #72ab7866; transform:translateY(-2px); } .piano [data-note].midi-match { background:#91b990; box-shadow:inset 0 0 14px #39734199,0 0 13px #75b77d99; } .midi-note { min-height:116px; margin-bottom:0; line-height:1.45; } .midi-pressed-notes { display:block; min-height:57px; max-height:57px; overflow-y:auto; padding-right:4px; } .notation-controls { margin-top:24px; } .midi-match-label { display:block; min-height:16px; height:16px; margin-top:7px; overflow:hidden; color:#3c7743; font-size:11px; line-height:16px; text-overflow:ellipsis; white-space:nowrap; } .midi-match-label.is-empty { visibility:hidden; } .midi-fab { position:fixed; z-index:10; right:22px; bottom:22px; display:flex; align-items:center; gap:8px; padding:12px 15px; border:1px solid #799775; border-radius:999px; color:#fff; background:var(--green); box-shadow:0 8px 22px #31462f52; opacity:.46; cursor:pointer; font:700 11px Manrope,sans-serif; transition:opacity .16s,transform .16s,background .16s; } .midi-fab:hover,.midi-fab:focus-visible { opacity:1; background:var(--green-dark); transform:translateY(-2px); } .midi-fab span { color:#f1c967; font-size:16px; }
.midi-fab[hidden] { display:none!important; }
.online-room-users { position:fixed; z-index:41; right:22px; bottom:274px; display:grid; gap:8px; justify-items:end; pointer-events:none; }
.online-room-user { display:flex; align-items:center; gap:7px; width:max-content; max-width:170px; padding:10px 13px; border:1px solid #b8c7b2; border-radius:999px; color:#466047; background:#f9fcf6; box-shadow:0 7px 19px #31462f30; opacity:.46; cursor:default; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font:700 10px Manrope,sans-serif; transition:opacity .16s,transform .16s,background .16s,border-color .16s; pointer-events:auto; }
.online-room-user:before { content:''; flex:0 0 auto; width:8px; height:8px; border-radius:50%; background:var(--user-color,#c89b63); box-shadow:0 0 0 3px color-mix(in srgb,var(--user-color,#c89b63) 24%,transparent); }
.online-room-user:hover,.online-room-user:focus-visible,.online-room-user.is-active { opacity:1; border-color:#73916f; background:#eaf4e7; transform:translateY(-2px); }
.online-room-toast { position:fixed; z-index:42; right:22px; bottom:326px; max-width:min(280px,calc(100vw - 44px)); margin:0; padding:11px 14px; border:1px solid #d4dece; border-radius:999px; color:#3f5039; background:#fffdf8; box-shadow:0 8px 22px #31462f2e; opacity:0; transform:translateY(6px); pointer-events:none; font:700 11px Manrope,sans-serif; transition:opacity .18s,transform .18s; }
.online-room-toast.is-visible { opacity:1; transform:translateY(0); }
.card-notes strong .card-note { display:inline-block; border-radius:3px; transition:background .16s,box-shadow .16s,color .16s; } .card-notes strong .card-note.is-playing { padding:1px 3px; margin:-1px -3px; color:#2f713a; background:#d8ecd5; box-shadow:0 0 9px #70b777a8; }
@media (max-width:760px) { .chord-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } } @media (max-width:440px) { .chord-grid { grid-template-columns:1fr; } .site-footer { align-items:flex-start; flex-direction:column; } }

.midi-pin { display:inline-flex; flex:0 0 32px; align-items:center; justify-content:center; width:32px; height:32px; margin-left:auto; padding:6px; border:1px solid #cbd5c5; border-radius:8px; color:var(--green-dark); background:transparent; cursor:pointer; line-height:1; } .midi-pin:hover,.midi-pin[aria-pressed="true"] { border-color:var(--green); color:var(--green-dark); background:#e8ede5; } .midi-pin:focus-visible { outline:3px solid var(--gold); outline-offset:3px; } .midi-pin svg { display:block; width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; } .midi-unpin-arrow,.midi-pin[aria-pressed="true"] .midi-pin-arrow { display:none; } .midi-pin[aria-pressed="true"] .midi-unpin-arrow { display:block; } .midi-pin + .midi-close { flex:0 0 32px; width:32px; height:32px; margin-left:0; } .midi-modal-head > div { min-width:0; } body.midi-pinned .midi-modal-head { cursor:default; }
.staff-note-button { cursor:pointer; } .staff-note-button:hover,.staff-note-button:focus { fill:#2f713a; outline:none; } .staff-note-selected { fill:#3f914a; stroke:#1f642c; stroke-width:1.2; } .piano [data-note].staff-selected { background:#8bbd89; box-shadow:inset 0 0 14px #39734199,0 0 13px #75b77d99; } .piano [data-note].scale-compatible { background:#dcebdd; box-shadow:inset 0 0 0 2px #82ad83; } .staff-selection-label,.scale-label { display:block; margin-top:7px; color:#397341; font-size:11px; } .midi-pedal-label { display:flex; width:max-content; align-items:center; justify-content:center; margin:0 auto 9px; padding:4px 8px; border:1px solid #d4dece; border-radius:4px; color:var(--muted); background:#f8faf5; font-family:Manrope,sans-serif; font-size:11px; } .midi-pedal-label.is-pressed { border-color:#9ec998; color:var(--green-dark); background:#e9f4e6; } .scale-label { color:#506d53; }
.midi-shortcuts { margin-top:17px; padding-top:14px; border-top:1px solid #e5e3db; } .midi-shortcuts .card-label { margin-bottom:5px; } .midi-shortcuts-help { margin:0 0 10px; color:#7c8279; font-size:10px; line-height:1.45; } .midi-shortcut-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; } .midi-shortcut { display:flex; align-items:center; justify-content:space-between; gap:7px; min-width:0; padding:8px; border:1px solid #d8ddd3; border-radius:4px; color:#586154; background:#fbfcf8; cursor:pointer; text-align:left; font:600 10px Manrope,sans-serif; } .midi-shortcut:hover,.midi-shortcut[aria-pressed="true"] { border-color:#8eaa8e; background:#edf5eb; } .midi-shortcut strong { flex:0 0 auto; padding:3px 5px; border-radius:3px; color:#397341; background:#e0efdf; font:600 9px 'DM Mono',monospace; white-space:nowrap; } .midi-shortcut strong:empty { display:none; } .midi-shortcut-capture { position:fixed; z-index:50; inset:0; display:grid; place-items:center; padding:18px; background:#222b2399; } .midi-shortcut-capture[hidden] { display:none; } .shortcut-capture-card { width:min(340px,100%); padding:24px; border:1px solid #d6ddd1; border-radius:8px; background:#fffdf8; box-shadow:0 24px 65px #14201566; } .shortcut-capture-card h2 { margin-bottom:12px; } .shortcut-capture-card p:not(.card-label) { margin:0 0 18px; color:#60685d; font-size:13px; line-height:1.55; }
.songs-fab { position:fixed; z-index:10; right:22px; bottom:76px; display:flex; align-items:center; gap:7px; padding:10px 13px; border:1px solid #b8c7b2; border-radius:999px; color:#466047; background:#f9fcf6; box-shadow:0 7px 19px #31462f30; cursor:pointer; font:700 10px Manrope,sans-serif; } .songs-fab:hover { border-color:#73916f; background:#eaf4e7; } .songs-fab span { color:#d5a64c; font-size:15px; } .songs-library { position:fixed; z-index:45; inset:0; display:grid; place-items:center; padding:18px; background:#222b236b; } .songs-library[hidden] { display:none; } .songs-library-card { width:min(390px,100%); max-height:min(520px,calc(100vh - 36px)); overflow:auto; padding:22px; border:1px solid #d6ddd1; border-radius:8px; background:#fffdf8; box-shadow:0 24px 65px #14201566; } .songs-library-head { display:flex; align-items:flex-start; justify-content:space-between; gap:15px; margin-bottom:16px; } .songs-library-head .midi-close { margin:0; } .songs-list { display:grid; gap:7px; } .saved-song-row { display:flex; gap:7px; } .saved-song { flex:1; min-width:0; padding:11px 12px; border:1px solid #d8ded4; border-radius:5px; color:#40523f; background:#fcfdf9; cursor:pointer; text-align:left; font:600 13px Fraunces,serif; } .saved-song:hover { border-color:#89a487; background:#ebf4e8; } .delete-saved-song { flex:0 0 36px; border:1px solid #e1ccc7; border-radius:5px; color:#a65449; background:#fff9f7; cursor:pointer; font-size:20px; line-height:1; } .delete-saved-song:hover { background:#f9e8e5; border-color:#c98c83; } .songs-empty { margin:4px 0; color:#848a82; font-size:12px; }
@media (min-width:1100px) { body.midi-pinned .page-shell,body.midi-pinned .topbar { width:calc(100% - 460px); max-width:1190px; margin-left:24px; margin-right:auto; } body.midi-pinned .topbar { padding-inline:36px; } body.midi-pinned .midi-modal { inset:0 0 0 auto; width:430px; height:auto; max-height:none; box-sizing:border-box; padding:22px 18px; overflow:hidden; border-width:0 0 0 1px; border-radius:0; transform:none!important; } body.midi-pinned .midi-modal-head { flex:0 0 auto; margin:0; padding:0 0 12px; background:#fffdf8; } body.midi-pinned .midi-modal-scroll { flex:1 1 auto; min-height:0; overflow-y:auto; scrollbar-gutter:stable; overscroll-behavior-y:contain; touch-action:pan-y; } body.midi-pinned .midi-fab { display:none; } }
@media (max-width:1099px) { .midi-pin { display:inline-flex; } }

.midi-status-row { display:flex; align-items:center; justify-content:space-between; gap:10px; } .midi-status-row .midi-status { margin-right:0; } .midi-reconnect { flex:0 0 auto; padding:6px 8px; border:1px solid #a9bca4; border-radius:4px; color:var(--green-dark); background:#f4f8f1; cursor:pointer; font:600 9px Manrope,sans-serif; } .midi-reconnect:hover { background:#e3efdf; } .midi-reconnect:disabled { opacity:.55; cursor:wait; }
.midi-routing { display:grid; gap:8px; margin:10px 0; }
.midi-routing[hidden] { display:none; }
.midi-routing label { display:grid; gap:4px; color:var(--green-dark); font:700 10px Manrope,sans-serif; }
.midi-routing select { width:100%; padding:6px; border:1px solid #cbd5c5; border-radius:6px; color:var(--green-dark); background:#fffdf8; }
.input-wrap { height:auto; min-height:54px; align-items:stretch; } .input-wrap .search-icon { align-self:flex-start; padding-top:16px; } .input-wrap textarea { width:100%; min-width:0; min-height:54px; border:0; outline:0; resize:vertical; background:transparent; color:var(--ink); padding:15px 8px; font:500 16px/1.35 'DM Mono',monospace; } .input-wrap textarea::placeholder { color:#aaa9a0; } .input-wrap .clear-button { align-self:flex-start; margin-top:8px; }
.composer.is-importing { grid-template-columns:1fr; } .composer.is-importing .preview-card { display:none; } .composer.is-importing .add-button { align-self:flex-start; min-height:40px; margin-top:7px; padding:0 13px; font-size:11px; } .composer.is-importing .add-button b { display:none; }
.loaded-song-name { margin:0 0 13px; padding:9px 12px; border-left:3px solid #6f9b6d; color:#3e6e43; background:#edf5e9; font:600 14px Fraunces,serif; } .loaded-song-name:before { content:'Música carregada: '; color:#688067; font:600 10px 'DM Mono',monospace; text-transform:uppercase; letter-spacing:.05em; }
.save-chords-button { padding:7px 11px; border:1px solid #98ae94; border-radius:4px; color:#35683a; background:#edf5e9; cursor:pointer; font:700 11px Manrope,sans-serif; } .save-chords-button:hover { border-color:#6f946e; background:#deeedb; }
.notation-card-button { position:absolute; z-index:2; top:12px; right:42px; width:25px; height:25px; padding:0; border:0; border-radius:50%; color:#557653; background:transparent; cursor:pointer; font:19px/1 Fraunces,serif; } .notation-card-button:hover { color:#fff; background:#598658; } .chord-notation-modal { position:fixed; z-index:45; inset:0; display:grid; place-items:center; padding:18px; background:#222b236b; } .chord-notation-modal[hidden] { display:none; } .chord-notation-card { width:min(430px,100%); padding:22px; border:1px solid #d6ddd1; border-radius:8px; background:#fffdf8; box-shadow:0 24px 65px #14201566; } .chord-notation-staff { margin-top:10px; padding:8px 4px; border-radius:4px; background:#f9f7f0; } .chord-notation-staff svg { display:block; width:100%; height:230px; }
.notation-card-button { right:10px; } .chord-grid.is-editing .notation-card-button { right:42px; }
.notation-card-button { width:22px; height:22px; border-radius:3px; font-size:15px; } .notation-card-button:hover { color:#3e773f; background:transparent; }
.chord-card .notation-card-button { right:35px; } .chord-card .chord-remove-card { display:block; top:12px; right:9px; width:22px; height:22px; font-size:19px; } .chord-grid:not(.is-editing) .chord-card .chord-remove-card { display:block; }
.chord-notation-staff .staff-stem { display:none; }
.chord-card .card-type { display:none; }
.chord-card .card-label { display:none; }
.chord-key-option { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 10px; color:#65705f; font:600 11px Manrope,sans-serif; } .chord-key-option select { min-width:82px; padding:6px 8px; border:1px solid #d4dbcf; border-radius:4px; color:#42513f; background:#fbfdf8; font:600 11px Manrope,sans-serif; }
@media (min-width:1100px) { body.midi-pinned .songs-fab { right:452px; z-index:30; } }
@media (max-width:1099px) { body.midi-pinned .midi-modal { inset:8px 8px 8px auto; width:min(430px,calc(100vw - 16px)); height:auto; max-height:none; overflow:hidden; transform:none!important; } body.midi-pinned .midi-modal-scroll { flex:1 1 auto; min-height:0; overflow-y:auto; } body.midi-pinned .midi-pin { display:inline-flex; } }

.sequence-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:11px; } .import-panel { margin:-6px 0 24px; padding:18px; border:1px solid #d7ddd1; border-radius:7px; background:#fdfdf9; } .import-panel label { margin-bottom:8px; color:#5f6c59; font-size:12px; } .import-panel textarea { display:block; width:100%; resize:vertical; margin-bottom:12px; padding:10px; border:1px solid #d5d8d0; border-radius:4px; color:#41483e; background:#fffefa; font:12px/1.55 'DM Mono',monospace; } .import-panel > div { display:flex; align-items:center; gap:14px; } .import-panel .add-button { min-height:38px; padding:0 14px; } .sequence-text,.sequence-break { position:relative; grid-column:1/-1; border-radius:6px; } .sequence-text { padding:39px 48px 16px; border:1px solid #d8ded3; background:#fcfdf9; color:#4e554c; } .sequence-text p { margin:0; white-space:pre-wrap; font:500 14px/1.65 Fraunces,serif; } .sequence-text .move-card,.sequence-break .move-card { top:10px; } .sequence-text .remove-card,.sequence-break .remove-card { top:8px; } .sequence-break { display:flex; align-items:center; justify-content:center; min-height:42px; border-top:2px solid #9eae99; color:#71806a; font:500 10px 'DM Mono',monospace; letter-spacing:.08em; text-transform:uppercase; } .sequence-break .remove-card { right:8px; } .sequence-break.is-moving,.sequence-text.is-moving { opacity:.58; }
@media (max-width:760px) { .sequence-actions { justify-content:flex-start; margin-top:12px; } }

.card-lyric-anchor { margin:-10px 0 12px; color:#5a845d; font:500 10px 'DM Mono',monospace; }

.sequence-break { min-height:0; height:0; margin:-17px 0; padding:0; border:0; overflow:hidden; visibility:hidden; } .chord-grid:not(.is-editing) .move-card,.chord-grid:not(.is-editing) .remove-card { display:none; } .edit-positions { display:inline-flex; align-items:center; gap:6px; margin:0; color:#687364; cursor:pointer; font:500 10px 'DM Mono',monospace; white-space:nowrap; } .edit-positions input { position:static; width:14px; height:14px; margin:0; accent-color:var(--green); opacity:1; } .chord-grid.is-editing [data-sequence-item] { outline:1px dashed #a7b8a2; outline-offset:3px; }

.start-sequence { padding:7px 11px; border:1px solid #647f60; border-radius:4px; color:#fff; background:var(--green); cursor:pointer; font:700 10px Manrope,sans-serif; } .start-sequence:hover { background:var(--green-dark); } .chord-grid.is-training .chord-card { opacity:.58; transition:background .14s,border-color .14s,box-shadow .14s,transform .14s; } .chord-grid.is-training .chord-card.is-awaiting { opacity:1; border-color:#7b827c; background:#e1e4e0; box-shadow:0 0 0 3px #c7cbc6,0 10px 26px #68716a40; transform:translateY(-2px); } .chord-grid.is-training .chord-card.is-correct { opacity:1; border-color:#4d8d54; background:#dcefd7; box-shadow:0 0 0 3px #c0dfbb,0 10px 26px #6da67655; } .chord-grid.is-training .chord-card.is-next { opacity:.82; border-color:#b4c9ae; } .chord-grid.is-training .chord-card.is-awaiting .card-lyric-anchor { color:#246c31; font-weight:700; }

.aligned-lyric { padding:39px 18px 16px; overflow-x:auto; background:#fdfdf9; } .aligned-lyric pre { min-width:max-content; margin:0; white-space:pre; font:500 13px/1.65 'DM Mono',monospace; } .lyric-chord-line { color:#3f7b45; font-weight:700!important; } .lyric-text-line { color:#444a42; }
.unrecognized-chord { color:#b44d47; text-decoration:underline wavy #d88881; text-underline-offset:3px; }

.chord-grid:not(.is-editing) .chord-card { padding-top:21px; } .chord-card .card-name { min-height:0; margin:8px 0 6px; } .card-lyric-anchor { margin:0 0 8px; } .chord-grid:not(.is-editing) .sequence-text { padding:14px 18px; } .chord-grid:not(.is-editing) .aligned-lyric { padding:14px 18px; }

.edit-positions[hidden] { display:none; }
.card-piano [data-note].chord-key { background:#86bc83; box-shadow:inset 0 0 0 1px #4b874e; } .card-piano .black-key.chord-key { background:#4f9253; border-color:#336c38; }

/* Palco de prática — referência: partitura central e teclado em toda a largura. */
.topbar-actions { display:flex; align-items:center; gap:9px; }
.room-button { display:inline-flex; align-items:center; gap:7px; padding:9px 12px; border:1px solid #c9d5c4; border-radius:5px; color:#416242; background:#f9fcf6; cursor:pointer; font:700 11px Manrope,sans-serif; }
.room-button:hover,.room-button[aria-expanded="true"] { border-color:#668d68; color:#fff; background:#527d54; }
.practice-stage { margin:6px 0 44px; border:1px solid #2a2e2b; border-radius:10px; overflow:hidden; color:#f7f7f2; background:#171a18; box-shadow:0 19px 42px #20271e22; }
.practice-toolbar { display:flex; align-items:center; justify-content:space-between; gap:18px; min-height:70px; padding:0 23px; border-bottom:1px solid #323733; }
.practice-identity { display:flex; align-items:center; gap:11px; } .practice-dot { width:9px; height:9px; border-radius:50%; background:#92d18d; box-shadow:0 0 0 4px #92d18d20; } .practice-stage .eyebrow { margin:0 0 2px; color:#98a69a; font-size:8px; } .practice-stage h2 { margin:0; color:#fff; font:600 20px Fraunces,serif; } .practice-status { margin:0; color:#b9c2b8; font:500 10px 'DM Mono',monospace; } .practice-status span { color:#91cd8d; }
.room-panel { display:flex; align-items:baseline; gap:10px; padding:12px 23px; border-bottom:1px solid #343a35; color:#cdd5ca; background:#222824; font:500 11px/1.45 Manrope,sans-serif; } .room-panel strong { color:#b9eca9; white-space:nowrap; } .room-panel[hidden] { display:none; }
.score-frame { padding:23px; background:#282b29; } .score-paper { position:relative; min-height:286px; overflow:hidden; border:1px solid #d8d5ca; background:#fffefa; box-shadow:0 5px 18px #0004; } .score-meta { position:relative; z-index:2; display:flex; justify-content:space-between; padding:16px 22px; color:#94988f; font:500 9px 'DM Mono',monospace; letter-spacing:.1em; } .score-lines { position:absolute; inset:0; width:100%; height:100%; } .score-lines line { stroke:#c7c8c0; stroke-width:1; } .score-empty { position:absolute; z-index:2; inset:0; display:grid; place-content:center; justify-items:center; text-align:center; color:#596057; } .score-empty span { font:56px Fraunces,serif; line-height:1; } .score-empty p { margin:5px 0; font:600 19px Fraunces,serif; } .score-empty small { color:#8a9187; font:10px 'DM Mono',monospace; }
.virtual-piano-panel { padding:24px; background:#e8ede5; } .stage-piano-dock { position:relative; z-index:15; bottom:auto; padding:14px 0 0; border:1px solid #333835; border-radius:8px; color:#e7ebe3; background:#1a1d1b; box-shadow:0 14px 32px #1115; } .stage-piano-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:0 16px 12px; color:#acb5aa; font:500 9px 'DM Mono',monospace; letter-spacing:.07em; } #stage-note-readout { color:#bfe0b9; text-align:right; letter-spacing:0; } .stage-piano-minimize { margin-left:auto; padding:5px 8px; border:1px solid currentColor; border-radius:4px; color:inherit; background:transparent; cursor:pointer; font:inherit; letter-spacing:0; } .stage-piano-minimize:hover { color:#fff; background:#ffffff16; } .stage-piano-dock.is-minimized { padding-top:0; } .stage-piano-dock.is-minimized .stage-piano-heading { padding-block:9px; } .stage-piano-dock.is-minimized .stage-piano-content { display:none; }
.song-sheet-reader { position:fixed; z-index:60; inset:0; display:flex; flex-direction:column; color:var(--ink); background:#e8ede5; } .song-sheet-reader[hidden] { display:none; } body.song-sheet-open { overflow:hidden; } .song-sheet-toolbar { display:flex; flex:0 0 auto; align-items:center; justify-content:space-between; min-height:74px; padding:12px max(24px,calc((100vw - 1120px) / 2)); border-bottom:1px solid #d7dfd4; background:#f7f7f3; } .song-sheet-toolbar .card-label { margin:0 0 3px; } .song-sheet-toolbar h2 { font-size:24px; } .song-sheet-close { display:grid; place-items:center; width:36px; height:36px; border:1px solid #cfd8cc; border-radius:50%; color:#3f5039; background:#fff; cursor:pointer; font-size:26px; line-height:1; } .song-sheet-close:hover { color:#fff; border-color:#3f5039; background:#3f5039; } .song-sheet-pages { flex:1; overflow-y:auto; padding:30px 24px 70px; } .song-sheet-page { width:min(1100px,100%); min-height:900px; margin:0 auto 30px; padding:48px clamp(25px,7vw,92px); border:1px solid #d8d8d0; background:#fffefa; box-shadow:0 12px 30px #3f50391c; } .song-sheet-page-number { margin:0 0 34px; color:#70766d; font:500 10px 'DM Mono',monospace; letter-spacing:.14em; } .song-score-row { display:grid; grid-template-columns:minmax(0,1fr) 170px; align-items:center; gap:26px; min-height:90px; border-bottom:1px solid #e8ede5; } .song-score-staff { position:relative; min-height:70px; background:repeating-linear-gradient(to bottom,transparent 0,transparent 10px,#aeb4ac 11px,transparent 12px,transparent 23px); } .song-score-staff:after { content:''; position:absolute; right:0; bottom:0; left:0; height:1px; background:#aeb4ac; } .song-score-clef { position:absolute; top:7px; left:8px; color:#252824; font:50px/1 Fraunces,serif; } .song-score-notes { position:absolute; top:26px; left:70px; color:#252824; font:600 15px 'DM Mono',monospace; letter-spacing:.1em; } .song-score-details { display:grid; grid-template-columns:30px 1fr; column-gap:8px; align-items:baseline; } .song-score-measure { grid-row:1/3; color:#70766d; font:10px 'DM Mono',monospace; } .song-score-details strong { font:600 25px/1 Fraunces,serif; } .song-score-details span:last-child { grid-column:2; color:#70766d; font-size:11px; } @media (max-width:620px) { .song-sheet-pages { padding:15px 10px 45px; } .song-sheet-page { min-height:720px; padding:28px 17px; } .song-score-row { grid-template-columns:1fr; gap:3px; padding:8px 0; } .song-score-details { padding-left:6px; } .song-score-notes { font-size:11px; } }
.stage-piano-scroll { overflow-x:auto; overscroll-behavior-inline:contain; } .stage-piano { position:relative; display:flex; align-items:flex-start; min-width:1260px; height:170px; background:#0f1110; user-select:none; -webkit-user-select:none; } .stage-key { position:relative; flex:1 0 0; min-width:0; padding:0; cursor:pointer; touch-action:none; } .stage-white-key { z-index:1; height:100%; border:1px solid #a7aaa4; border-bottom-color:#777a74; border-radius:0 0 4px 4px; background:linear-gradient(90deg,#f4f4ef,#fff 15%,#ecece7); } .stage-white-key span { position:absolute; right:0; bottom:8px; left:0; color:#959993; font:8px 'DM Mono',monospace; } .stage-black-key { position:absolute; z-index:2; top:0; width:15px; height:61%; border:1px solid #080909; border-radius:0 0 3px 3px; background:linear-gradient(90deg,#161817,#343735 55%,#121412); box-shadow:1px 3px 4px #0009; transform:translateX(-50%); } .stage-key:hover { filter:brightness(.94); } .stage-white-key.is-local { border-color:#5782ba; background:linear-gradient(90deg,#8eb9ee,#c5e2ff 52%,#83addc); } .stage-black-key.is-local { border-color:#76a5dc; background:linear-gradient(90deg,#4779b1,#79b5ee 55%,#3d70a8); }
@media (max-width:760px) { .topbar-actions { gap:6px; } .room-button { padding:8px; font-size:0; } .room-button span { font-size:15px; } .practice-stage { margin-bottom:32px; border-radius:7px; } .practice-toolbar { min-height:62px; padding:0 14px; } .practice-status { display:none; } .score-frame { padding:12px; } .score-paper { min-height:230px; } .score-empty p { font-size:16px; } .stage-piano { height:135px; min-width:1050px; } .stage-piano-heading { padding-right:12px; padding-left:12px; } }

/* Identidade do arquivo layout-piano-chords.png. */
/* O checkbox invisível não pode herdar a largura total dos campos de texto. */
.notation-switch { position:relative; }
.notation-switch input { top:0; left:0; width:16px; height:16px; margin:0; padding:0; }
.notation-switch input:focus-visible + .switch-track { outline:3px solid var(--gold); outline-offset:3px; }
.midi-modal-scroll { min-height:0; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
.midi-piano,.music-staff,.notation-controls { min-width:0; max-width:100%; }
.midi-piano { overflow-x:auto; overflow-y:hidden; scroll-behavior:smooth; }
.midi-piano .piano { width:520px; max-width:none; }
.grand-staff-help { min-width:0; flex-wrap:wrap; }
.vexflow-notation svg { display:block; width:100%; max-width:100%; height:auto; }
.music-staff.vexflow-notation svg,.chord-notation-staff.vexflow-notation svg { height:auto; }
.vexflow-notation .staff-note-button { cursor:pointer; fill:#000; stroke:#000; }
.vexflow-notation .staff-note-button:hover,.vexflow-notation .staff-note-button:focus { fill:#000; stroke:#000; outline:none; }
.vexflow-notation .staff-note-button:focus-visible { outline:2px solid var(--gold); outline-offset:3px; }
.notation-error { margin:12px; color:var(--muted); font:12px/1.7 Manrope,sans-serif; }
@media (max-width:600px) { .midi-shortcut-list { grid-template-columns:1fr; } }
.topbar { width:100%; height:72px; margin:0; padding:0 max(28px,calc((100% - 1118px) / 2)); border-bottom:1px solid #e8ede5; background:#f7f7f3; }
.brand { display:inline-flex; align-items:center; } .brand-logo { display:block; width:190px; height:auto; }
.virtual-nav { display:none; }
.topbar .midi-button { border-color:#dbe2d8; color:#3f5039; background:#fff; } .topbar .midi-button:hover { border-color:#637c59; background:#e8ede5; } .topbar .room-button { border-color:#637c59; color:#fff; background:#637c59; } .topbar .room-button:hover,.topbar .room-button[aria-expanded="true"] { border-color:#3f5039; background:#3f5039; }
.practice-stage { width:100%; margin:6px 0 44px; border-width:1px 0; border-color:#3f5039; border-radius:0; background:#3f5039; } .score-frame { width:100%; padding:0; background:#e8ede5; } .score-paper { width:100%; max-width:none; min-height:660px; margin:0; border-width:1px 0; background:#fffefa; } .score-paper.has-notation .score-empty { display:none; } .stage-notation { width:100%; max-width:100%; min-height:560px; padding:18px 0 28px; overflow:hidden; } .stage-notation svg { display:block; width:100%!important; max-width:100%!important; height:auto!important; } .practice-dot { background:#c89b63; box-shadow:0 0 0 4px #c89b6320; } .practice-status span { color:#c89b63; }
.stage-piano-dock,.stage-piano-scroll { overflow-x:clip; } .stage-piano { min-width:0; width:100%; } .stage-black-key { width:1.15%; max-width:none; }
@media (max-width:760px) { .topbar { height:64px; padding:0 20px; } .brand-logo { width:150px; } .practice-stage { margin-bottom:32px; } .virtual-piano-panel { padding:14px; } .score-frame { padding:0; } .score-paper { min-height:620px; } .stage-piano { min-width:0; height:135px; } .stage-black-key { width:1.5%; } }
.virtual-piano-workspace body { min-height:100vh; min-height:100dvh; overflow-x:hidden; }
.virtual-piano-workspace .topbar-actions,
.virtual-piano-workspace .page-shell,
.virtual-piano-workspace .songs-fab,
.virtual-piano-workspace .songs-library,
.virtual-piano-workspace .chord-notation-modal,
.virtual-piano-workspace .song-sheet-reader { display:none!important; }
.virtual-intro,.sheet-intro { display:none; }
.virtual-piano-workspace .virtual-intro { display:block; width:min(1180px,calc(100% - 80px)); margin:0 auto; padding:9px 0 14px; }
.virtual-piano-workspace .virtual-page-back,.sheet-workspace .virtual-page-back { display:inline-flex; align-items:center; gap:5px; margin-bottom:7px; padding-block:1px; color:var(--muted); text-decoration:none; font:500 10px/1.15 Manrope,sans-serif; }
.virtual-piano-workspace .virtual-page-back:hover,.sheet-workspace .virtual-page-back:hover { color:var(--green-dark); }
.virtual-piano-workspace .virtual-intro h1 { margin:0 0 7px; color:var(--ink); font:700 30px/1.15 Manrope,sans-serif; letter-spacing:-.04em; }
.virtual-piano-workspace .virtual-intro p { margin:0; max-width:750px; color:var(--muted); font-size:14px; line-height:1.8; }
.virtual-back { display:none; align-items:center; gap:7px; color:#dfe8dc; text-decoration:none; font:700 11px Manrope,sans-serif; }
.virtual-back:hover { color:#fff; }
.virtual-piano-workspace .virtual-back { display:none; }
.virtual-piano-workspace .practice-toolbar { min-height:78px; }
.virtual-piano-workspace .practice-toolbar { display:none; }
.virtual-piano-workspace .practice-status { margin-left:auto; }
.virtual-piano-workspace .practice-stage { min-height:calc(100dvh - 72px); margin:0; padding-bottom:230px; border-color:#d4dece; background:#e8ede5; }
.virtual-piano-workspace .practice-toolbar { border-bottom-color:#d4dece; color:var(--ink); background:#f7f7f3; }
.virtual-piano-workspace .practice-stage h2 { color:var(--ink); font-family:Manrope,sans-serif; }
.virtual-piano-workspace .practice-stage .eyebrow { color:var(--green); font-family:Manrope,sans-serif; }
.virtual-piano-workspace .practice-status { color:var(--muted); font-family:Manrope,sans-serif; }
.virtual-piano-workspace .virtual-back { color:var(--green-dark); }
.virtual-piano-workspace .virtual-back:hover { color:var(--green); }
.virtual-piano-workspace .virtual-piano-panel { min-height:0; padding:0; background:transparent; }
.virtual-piano-workspace .stage-piano-dock { position:fixed; right:0; bottom:0; left:0; width:100%; margin:0; padding-top:16px; border:1px solid #d4dece; border-right:0; border-bottom:0; border-left:0; border-radius:0; color:var(--ink); background:#fffdf8; box-shadow:0 -14px 32px #3f503924; }
.virtual-piano-workspace .stage-piano-heading { color:var(--muted); font-family:Manrope,sans-serif; }
.virtual-piano-workspace #stage-note-readout { color:var(--green-dark); font-family:Manrope,sans-serif; }
.virtual-piano-workspace .stage-piano-minimize,.sheet-workspace .stage-piano-minimize { border-color:#cbd5c5; color:var(--green-dark); background:#fffdf8; font-family:Manrope,sans-serif; font-weight:700; }
.virtual-piano-workspace .stage-piano-minimize:hover,.sheet-workspace .stage-piano-minimize:hover { border-color:var(--green); color:var(--green-dark); background:#e8ede5; }
.virtual-piano-workspace .stage-piano-dock.is-minimized,.sheet-workspace .stage-piano-dock.is-minimized { box-shadow:0 -5px 14px #3f50391c; }
.stage-pedal-indicator { display:inline-flex; align-items:center; gap:7px; width:max-content; margin:0 16px 12px; padding:6px 10px; border:1px solid #394039; border-radius:4px; color:#b8c5b5; background:#111412; font:700 9px 'DM Mono',monospace; letter-spacing:.05em; text-transform:uppercase; }
.stage-pedal-indicator span { width:8px; height:8px; border-radius:50%; background:#596159; box-shadow:inset 0 0 0 1px #ffffff22; }
.stage-pedal-indicator.is-pressed { border-color:#83b97c; color:#173314; background:#dff0db; }
.stage-pedal-indicator.is-pressed span { background:#4b9a43; box-shadow:0 0 0 4px #4b9a4324; }
.virtual-piano-workspace .stage-pedal-indicator,.sheet-workspace .stage-pedal-indicator { border-color:#d4dece; color:var(--muted); background:#f8faf5; font-family:Manrope,sans-serif; letter-spacing:0; }
.virtual-piano-workspace .stage-pedal-indicator.is-pressed,.sheet-workspace .stage-pedal-indicator.is-pressed { border-color:#9ec998; color:var(--green-dark); background:#e9f4e6; }
.virtual-piano-workspace .stage-piano-scroll { padding:0 18px 18px; background:#fffdf8; }
.virtual-piano-workspace .stage-piano { height:178px; border:1px solid #aab0a5; border-radius:4px; overflow:hidden; background:#fff; }
.virtual-piano-workspace .midi-fab { z-index:40; right:22px; bottom:220px; display:flex!important; }
.virtual-piano-workspace .midi-fab[hidden] { display:none!important; }
.virtual-piano-workspace .stage-white-key { border-color:#c7ccc2; border-bottom-color:#b9c0b5; background:linear-gradient(#f8f9f5,#fff); }
.virtual-piano-workspace .stage-white-key span { bottom:12px; color:var(--muted); font:500 8px Manrope,sans-serif; }
.virtual-piano-workspace .stage-black-key { width:1.05%; height:62%; border:0; border-radius:0 0 3px 3px; background:linear-gradient(90deg,#252824,#454a42,#252824); box-shadow:1px 3px 4px #25282444; }
.virtual-piano-workspace .stage-white-key.is-local { border-color:#bdcdb4; background:linear-gradient(#e8ede5,#cfdbc8); box-shadow:inset 0 -3px 0 #637c5940; }
.virtual-piano-workspace .stage-black-key.is-local { background:linear-gradient(90deg,var(--green-dark),var(--green),var(--green-dark)); box-shadow:1px 3px 4px #25282444; }
.virtual-piano-workspace .stage-white-key.is-remote { border-color:var(--remote-key-color,#d7b36f); background:linear-gradient(color-mix(in srgb,var(--remote-key-color,#c89b63) 18%,#fff),color-mix(in srgb,var(--remote-key-color,#c89b63) 56%,#fff)); box-shadow:inset 0 -3px 0 color-mix(in srgb,var(--remote-key-color,#c89b63) 40%,transparent); }
.virtual-piano-workspace .stage-black-key.is-remote { background:linear-gradient(90deg,color-mix(in srgb,var(--remote-key-color,#c89b63) 45%,#252824),var(--remote-key-color,#c89b63),color-mix(in srgb,var(--remote-key-color,#c89b63) 45%,#252824)); box-shadow:1px 3px 4px #25282444; }
.virtual-piano-workspace .stage-white-key.is-shared { border-color:#5782ba; background:linear-gradient(#d9ecff,#8eb9ee); box-shadow:inset 0 -3px 0 #3d70a855,0 0 14px #5782ba66; }
.virtual-piano-workspace .stage-black-key.is-shared { border-color:#76a5dc; background:linear-gradient(90deg,#315f96,#79b5ee,#315f96); box-shadow:1px 3px 4px #25282444,0 0 14px #5782ba66; }
@media (max-width:760px) and (orientation:portrait) {
  .virtual-piano-workspace .stage-piano-scroll { overflow-x:auto; overflow-y:hidden; padding-inline:14px; -webkit-overflow-scrolling:touch; }
  .virtual-piano-workspace .stage-piano { width:1320px; min-width:1320px; }
  .virtual-piano-workspace .stage-white-key { flex:0 0 calc(1320px / 52); }
  .virtual-piano-workspace .stage-black-key { width:14px; }
}
.stage-timeline { display:none; }
.virtual-piano-workspace .stage-timeline { display:block; width:100%; min-height:calc(100dvh - 360px); padding:24px max(18px,calc((100% - 1180px) / 2)) 28px; border-block:1px solid #d4dece; background:linear-gradient(180deg,#fffdf8 0%,#f6f7f1 100%); overflow:hidden; }
.stage-timeline-head { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:16px; margin-bottom:12px; color:#7c8478; font:700 9px Manrope,sans-serif; letter-spacing:.08em; }
.stage-timeline-head span:nth-child(2) { color:var(--green-dark); text-align:right; letter-spacing:0; }
.stage-timeline-clear { min-height:30px; padding:7px 10px; border:1px solid #cbd5c5; border-radius:6px; color:var(--green-dark); background:#fffdf8; cursor:pointer; font:700 9px Manrope,sans-serif; letter-spacing:0; white-space:nowrap; }
.stage-timeline-clear:hover:not(:disabled),.stage-timeline-clear:focus-visible { border-color:var(--green); background:#e8ede5; }
.stage-timeline-clear:disabled { opacity:.45; cursor:not-allowed; }
.stage-timeline-scroll { width:100%; overflow-x:auto; overflow-y:hidden; overscroll-behavior-inline:contain; padding-bottom:10px; scrollbar-color:#9dac96 #e8ede5; }
.stage-timeline-notation { min-width:100%; max-width:400vw; min-height:280px; opacity:.74; }
.stage-timeline-notation svg { display:block; width:100%!important; max-width:100%!important; height:auto!important; overflow:visible; }
.stage-timeline-notation .vf-annotation text { paint-order:stroke; stroke:#fffdf8; stroke-width:3px; stroke-linejoin:round; }
.stage-timeline-chord-label { fill:var(--green-dark); font:700 12px Manrope,Arial,sans-serif; paint-order:stroke; stroke:#fffdf8; stroke-width:4px; stroke-linejoin:round; }
@media (max-width:760px) { .virtual-piano-workspace .stage-timeline { min-height:calc(100dvh - 315px); padding:18px 14px 22px; } .stage-timeline-head { grid-template-columns:1fr auto; gap:6px 10px; } .stage-timeline-head span:nth-child(2) { grid-column:1/-1; grid-row:2; text-align:left; } .stage-timeline-clear { grid-column:2; grid-row:1; } .stage-timeline-notation { min-height:250px; } }
.sheet-player { display:none; }
.sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.sheet-workspace body { min-height:100vh; min-height:100dvh; overflow-x:hidden; }
.sheet-workspace .page-shell,
.sheet-workspace .songs-fab,
.sheet-workspace .songs-library,
.sheet-workspace .chord-notation-modal,
.sheet-workspace .song-sheet-reader { display:none!important; }
.sheet-workspace .practice-stage { min-height:calc(100dvh - 102px); margin:0; padding:0 0 210px; border:0; color:var(--ink); background:#e8ede5; box-shadow:none; }
.sheet-workspace .sheet-intro { display:block; width:min(1180px,calc(100% - 80px)); margin:0 auto; padding:9px 0 14px; }
.sheet-intro-heading { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.sheet-workspace .sheet-intro h1 { margin:0; color:var(--ink); font:700 30px/1.15 Manrope,sans-serif; letter-spacing:-.04em; }
.sheet-upload-form { margin:0; }
.sheet-upload-form input { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.sheet-drop-zone { display:flex; align-items:center; gap:9px; min-width:330px; padding:5px 8px; border:1px dashed #aebca8; border-radius:8px; color:#566451; background:#fbfcf8; cursor:pointer; transition:border-color .15s,background .15s,box-shadow .15s,transform .15s; }
.sheet-drop-zone:hover,.sheet-drop-zone.is-dragging { border-color:var(--green); background:#edf4ea; box-shadow:0 0 0 3px #637c591c; }
.sheet-drop-zone.is-dragging { transform:translateY(-1px); }
.sheet-drop-zone.is-processing { opacity:.65; pointer-events:none; }
.sheet-drop-icon { display:grid; place-items:center; width:26px; height:26px; flex:0 0 26px; border-radius:50%; color:var(--green-dark); background:#e5eee1; font:700 16px/1 Manrope,sans-serif; }
.sheet-drop-copy { display:grid; gap:1px; min-width:125px; margin-right:auto; }
.sheet-drop-copy strong { color:var(--ink); font:700 11px Manrope,sans-serif; }
.sheet-drop-copy small { color:var(--muted); font:500 9px Manrope,sans-serif; }
.sheet-upload-button { display:inline-flex; align-items:center; justify-content:center; min-height:32px; padding:7px 12px; border:1px solid var(--green); border-radius:6px; color:#fff; background:var(--green); cursor:pointer; font:800 11px Manrope,sans-serif; }
.sheet-upload-button:hover,.sheet-upload-button.is-processing { background:var(--green-dark); }
.sheet-upload-status { margin:10px 0 0; color:var(--muted); font:600 12px Manrope,sans-serif; }
.sheet-upload-status.is-processing:before { content:''; display:inline-block; width:11px; height:11px; margin-right:7px; border:2px solid #c6d2bf; border-top-color:var(--green); border-radius:50%; vertical-align:-2px; animation:sheet-spin .8s linear infinite; }
.sheet-upload-status.is-error { color:#a65449; }
@keyframes sheet-spin { to { transform:rotate(360deg); } }
.sheet-workspace .practice-toolbar { display:none; }
.sheet-workspace .sheet-actions { display:flex; align-items:center; gap:9px; }
.sheet-actions-overlay { position:absolute; z-index:3; top:18px; right:18px; }
.sheet-workspace:not(.evolution-workspace) .sheet-actions-overlay { right:max(40px,calc((100% - 1180px) / 2)); }
.sheet-play-mode { display:inline-flex; align-items:stretch; overflow:hidden; border:1px solid #cbd5c5; border-radius:8px; background:#fffdf8e8; backdrop-filter:blur(8px); }
.sheet-play-mode button { padding:8px 10px; border:0; border-right:1px solid #d8e0d4; color:var(--green-dark); background:transparent; cursor:pointer; font:700 10px Manrope,sans-serif; }
.sheet-play-mode button:last-child { border-right:0; }
.sheet-play-mode button:hover { background:#e8ede5; }
.sheet-play-mode button.is-active { color:#fff; background:#637c59; }
.sheet-reading-controls { position:relative; display:flex; align-items:center; }
.sheet-continuous-option { display:none; align-items:center; gap:5px; color:var(--green-dark); font:700 10px Manrope,sans-serif; }
.sheet-continuous-option input { width:13px; height:13px; margin:0; accent-color:var(--green); }
.sheet-tempo-control { position:absolute; z-index:4; top:18px; left:max(52px,calc((100% - 1180px) / 2 + 58px)); display:flex; align-items:stretch; height:32px; overflow:hidden; border:1px solid #cfd8c9; border-radius:8px; background:#fffdf8ee; box-shadow:0 4px 14px #3f503912; backdrop-filter:blur(8px); }
.sheet-tempo-control>button { border:0; color:var(--green-dark); background:transparent; cursor:pointer; font-family:Manrope,sans-serif; }
.sheet-tempo-control>button:first-child,.sheet-tempo-control>button:last-child { width:30px; font-size:16px; font-weight:700; }
.sheet-tempo-control>button:first-child { border-right:1px solid #dce3d8; }
.sheet-tempo-control>button:last-child { border-left:1px solid #dce3d8; }
.sheet-tempo-control>button:hover:not(:disabled) { background:#eef3eb; }
.sheet-tempo-control>button:disabled { opacity:.35; cursor:not-allowed; }
.sheet-tempo-value { display:flex; min-width:78px; padding:4px 8px; flex-direction:column; align-items:center; justify-content:center; line-height:1.05; }
.sheet-tempo-value strong { font-size:10px; font-weight:800; white-space:nowrap; }
.sheet-tempo-value span { margin-top:2px; color:inherit; font-size:8px; font-weight:700; }
.sheet-tempo-control[hidden],.evolution-workspace .sheet-tempo-control { display:none; }
.sheet-action,.sheet-action-primary { box-sizing:border-box; min-height:0; height:32px; border-radius:8px; cursor:pointer; font:700 10px Manrope,sans-serif; transition:background .15s,border-color .15s,transform .15s; }
.sheet-action-primary { padding:8px 10px; border:1px solid var(--green); color:#fff; background:#637c59e8; backdrop-filter:blur(8px); }
.sheet-action-primary:hover { background:var(--green-dark); transform:translateY(-1px); }
.sheet-action { padding:8px 10px; border:1px solid #cbd5c5; color:var(--green-dark); background:#fffdf8e8; backdrop-filter:blur(8px); }
.sheet-action:hover { border-color:var(--green); background:#e8ede5; }
.sheet-action.is-active { border-color:#637c59; color:#fff; background:#637c59; }
.sheet-action.is-active:hover { border-color:#3f5039; background:#3f5039; }
.sheet-workspace .sheet-actions-overlay .midi-menu-button { min-height:0; height:32px; padding:6px 10px; font-size:10px; }
.sheet-workspace .virtual-piano-panel { display:block; width:100%; margin:0; padding:0; background:transparent; }
.sheet-workspace .sheet-player { display:block!important; width:100%; }
html.sheet-focus-mode,html.sheet-focus-mode body { overflow:hidden; }
html.sheet-focus-mode .home-header,
html.sheet-focus-mode .sheet-intro,
html.sheet-focus-mode .sheet-library-sidebar,
html.sheet-focus-mode .evolution-sidebar,
html.sheet-focus-mode .sheet-midi-report { display:none!important; }
html.sheet-focus-mode .practice-stage { min-height:100dvh; padding:0!important; background:#fffdf8; }
html.sheet-focus-mode .sheet-player { width:100%!important; margin:0!important; padding:0!important; }
html.sheet-focus-mode .sheet-score { min-height:100dvh; height:100dvh!important; border:0; }
html.sheet-focus-mode .sheet-actions-overlay { top:18px; right:24px; }
.sheet-processing { position:absolute; z-index:5; inset:0; display:grid; place-items:center; color:var(--green-dark); background:#fffdf8cc; backdrop-filter:blur(4px); font:800 13px Manrope,sans-serif; }
.sheet-processing[hidden] { display:none!important; }
.sheet-processing span { width:26px; height:26px; margin-right:9px; border:3px solid #cad6c5; border-top-color:var(--green); border-radius:50%; animation:sheet-spin .8s linear infinite; }
.sheet-midi-report { width:min(1180px,calc(100% - 80px)); max-height:330px; margin:0 auto 22px; padding:18px; overflow:auto; border:1px solid #d4dece; border-radius:8px; background:#fffdf8; }
.sheet-midi-report[hidden] { display:none!important; }
.sheet-midi-report-head { display:flex; align-items:baseline; justify-content:space-between; gap:14px; margin-bottom:14px; }
.sheet-midi-report-head .card-label { margin:0; }
.sheet-midi-report-head h2 { margin:0; color:var(--ink); font:800 18px/1.2 Manrope,sans-serif; }
.sheet-midi-report-head span,.sheet-midi-meta,.sheet-midi-more { color:var(--muted); font:600 11px Manrope,sans-serif; }
.sheet-midi-part { padding:13px 0; border-top:1px solid #e4e8df; }
.sheet-midi-part h3 { margin:0 0 4px; color:var(--green-dark); font:800 14px/1.3 Manrope,sans-serif; }
.sheet-midi-meta { margin:0 0 10px; }
.sheet-midi-notes,.sheet-midi-chords ol { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:5px 14px; margin:0; padding-left:18px; color:#4d564c; font:500 11px 'DM Mono',monospace; }
.sheet-midi-chords { margin-top:10px; color:#4d564c; font:700 12px Manrope,sans-serif; }
.sheet-score { position:relative; min-height:680px; height:calc(100dvh - 230px); overflow:hidden; border-block:1px solid #d4dece; background:#fffdf8; box-shadow:none; }
.sheet-score:after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,#f7f7f31f 0%,#f7f7f300 58%,#e8ede5cc 100%); pointer-events:none; }
.sheet-notation { position:relative; z-index:1; width:100%; max-width:100%; min-width:0; height:100%; padding:22px max(18px,calc((100% - 1180px) / 2)) 42px; overflow:auto; }
.sheet-notation svg { display:block; width:100%!important; max-width:100%!important; height:auto!important; overflow:visible; }
.sheet-score.is-continuous { min-height:390px; height:min(470px,calc(100dvh - 220px)); }
.sheet-continuous-overview { display:none; position:absolute; z-index:4; bottom:66px; left:50%; width:min(1000px,calc(100% - 80px)); height:5px; border-radius:99px; background:#dce4d8; cursor:pointer; transform:translateX(-50%); }
.sheet-continuous-overview::before { content:''; position:absolute; top:-10px; right:0; bottom:-10px; left:0; }
.sheet-continuous-overview:focus-visible { outline:2px solid #c89b63; outline-offset:5px; }
.sheet-continuous-overview i { position:absolute; top:-4px; width:13px; height:13px; border:2px solid #fffdf8; border-radius:50%; background:#637c59; box-shadow:0 1px 5px #40563a66; transform:translateX(-50%); transition:left .12s linear; }
.sheet-continuous-overview span { position:absolute; top:9px; left:0; color:#637c59; font:700 9px Manrope,sans-serif; white-space:nowrap; }
.sheet-score.is-continuous .sheet-continuous-overview { display:block; }
.evolution-navigation-controls { position:absolute; z-index:4; right:16px; bottom:10px; left:16px; display:flex; align-items:center; justify-content:center; gap:12px; }
.evolution-navigation-title { overflow:hidden; color:var(--green-dark); font:700 11px Manrope,sans-serif; text-align:center; text-overflow:ellipsis; white-space:nowrap; }
.sheet-score.is-continuous:before { content:''; position:absolute; z-index:2; top:62px; bottom:42px; left:max(156px,40%); width:24px; transform:translateX(-50%); background:linear-gradient(90deg,#637c5928 0 46%,#637c59 46% 54%,#637c5928 54% 100%); pointer-events:none; }
.sheet-score.is-continuous .sheet-notation { display:flex; align-items:center; padding:18px 0; overflow:hidden; scroll-behavior:auto; scrollbar-width:none; user-select:none; touch-action:none; }
.sheet-score.is-continuous .sheet-notation.sheet-staff-tall { align-items:flex-start; overflow-y:auto; scrollbar-width:thin; touch-action:pan-y; }
.sheet-score.is-continuous .sheet-notation::-webkit-scrollbar { display:none; }
.sheet-score.is-continuous .sheet-notation.sheet-staff-tall::-webkit-scrollbar { display:block; width:8px; }
.sheet-score.is-continuous .sheet-notation svg { width:auto!important; max-width:none!important; height:var(--sheet-continuous-height,320px)!important; transform:translate3d(var(--sheet-continuous-translate,0),0,0); will-change:transform; }
.sheet-score.is-continuous .sheet-playhead { visibility:hidden; }
.sheet-continuous-option { position:absolute; top:37px; left:0; display:inline-flex; white-space:nowrap; }
.sheet-note-label { display:none; fill:#40563a; font:800 14px Manrope,Arial,sans-serif; pointer-events:none; }
.sheet-score.shows-continuous-note-labels .sheet-note-label { display:block; }
.sheet-score.sheet-visual-simple .sheet-note-label { transform:translateY(-10px); }
.sheet-score-meta { fill:#596052; font:700 12px Manrope,Arial,sans-serif; }
.sheet-measure-label { fill:#777b73; font:600 8px 'DM Mono',monospace; letter-spacing:.03em; }
.sheet-note-head,.sheet-note-group * { transition:fill .15s,stroke .15s,filter .15s; }
.sheet-score.sheet-visual-simple .sheet-note-group,.sheet-score.sheet-visual-simple :is(.vf-beam,.vf-stavetie,.vf-tuplet) { visibility:hidden; }
.sheet-simple-note { cursor:pointer; }
.sheet-simple-note rect { fill:url(#sheet-bar-gradient-treble); stroke:none; opacity:.75; }
.sheet-simple-note[data-sheet-staff="1"] rect { fill:url(#sheet-bar-gradient-bass); }
.sheet-simple-accidental { fill:#40563a; font:700 13px Manrope,Arial,sans-serif; }
.sheet-status { margin:0; padding:13px 16px; border:1px solid #d4dece; border-radius:12px; color:var(--green-dark); background:#fffdf8; font:700 12px Manrope,sans-serif; }
.sheet-workspace .stage-piano-dock { position:fixed; right:0; bottom:0; left:0; z-index:12; width:100%; margin:0; padding-top:16px; border:1px solid #d4dece; border-right:0; border-bottom:0; border-left:0; border-radius:0; color:var(--ink); background:#fffdf8; box-shadow:0 -14px 32px #3f503924; }
.sheet-workspace .stage-piano-heading { color:var(--muted); font-family:Manrope,sans-serif; }
.sheet-workspace .stage-piano-minimize { display:none; }
.sheet-workspace .stage-piano-dock.is-minimized { display:none; }
.sheet-workspace .practice-stage:has(.stage-piano-dock.is-minimized) { min-height:100dvh; padding-bottom:0; }
.sheet-workspace .practice-stage:has(.stage-piano-dock.is-minimized) .sheet-score { height:calc(100dvh - 178px); }
.sheet-workspace #stage-note-readout { color:var(--green-dark); font-family:Manrope,sans-serif; }
.sheet-workspace .stage-piano-scroll { padding:0 18px 18px; background:#fffdf8; }
.sheet-workspace .stage-piano { height:162px; border:1px solid #aab0a5; border-radius:4px; overflow:hidden; background:#fff; }
.sheet-workspace .midi-fab { z-index:40; right:22px; bottom:204px; display:flex!important; }
.sheet-workspace .midi-fab[hidden] { display:none!important; }
.sheet-duplicate-notice { position:fixed; z-index:50; right:22px; bottom:224px; max-width:min(340px,calc(100vw - 44px)); margin:0; padding:12px 15px; border:1px solid #d8b66f; border-radius:9px; color:#664719; background:#fff8e8; box-shadow:0 10px 26px #553d1d2e; opacity:0; transform:translateY(8px); pointer-events:none; font:700 11px/1.45 Manrope,sans-serif; transition:opacity .18s,transform .18s; }
.sheet-duplicate-notice.is-visible { opacity:1; transform:translateY(0); }
.sheet-config-button { position:fixed; z-index:40; right:22px; bottom:256px; display:none; align-items:center; gap:8px; padding:11px 14px; border:1px solid #cbd5c5; border-radius:999px; color:var(--green-dark); background:#fffdf8; box-shadow:0 7px 19px #31462f30; opacity:.46; cursor:pointer; font:800 10px Manrope,sans-serif; transition:opacity .16s,transform .16s,background .16s,border-color .16s; }
.sheet-workspace .sheet-config-button { display:flex; }
.sheet-config-button:hover,.sheet-config-button:focus-visible,.sheet-config-button[aria-expanded="true"] { opacity:1; border-color:var(--green); background:#e8ede5; transform:translateY(-2px); }
.sheet-config-button:disabled { opacity:.48; cursor:not-allowed; }
.sheet-config-panel { position:fixed; z-index:41; right:22px; bottom:306px; width:min(330px,calc(100vw - 44px)); padding:18px; border:1px solid #cfd8cc; border-radius:8px; background:#fffdf8; box-shadow:0 18px 50px #26352540; }
.sheet-config-panel[hidden] { display:none!important; }
.sheet-config-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:14px; }
.sheet-config-head .card-label { margin:0 0 3px; }
.sheet-config-head h2 { margin:0; color:var(--ink); font:800 20px/1.15 Manrope,sans-serif; }
.sheet-config-panel label { display:grid; gap:6px; margin-top:11px; color:var(--muted); font:800 10px Manrope,sans-serif; text-transform:uppercase; letter-spacing:.05em; }
.sheet-config-panel select,.sheet-config-panel input[type="number"] { width:100%; min-height:35px; border:1px solid #d8ded4; border-radius:5px; color:var(--ink); background:#fff; font:600 12px Manrope,sans-serif; }
.sheet-config-panel input[type="range"] { width:100%; accent-color:var(--green); }
.sheet-config-panel label:has(input[type="range"]) { grid-template-columns:1fr auto; align-items:center; }
.sheet-config-panel label:has(input[type="range"]) input { grid-column:1/-1; }
.sheet-config-panel label span { color:var(--green-dark); font:800 11px 'DM Mono',monospace; text-transform:none; letter-spacing:0; }
.sheet-workspace .stage-white-key { border-color:#c7ccc2; border-bottom-color:#b9c0b5; background:linear-gradient(#f8f9f5,#fff); }
.sheet-workspace .stage-white-key span { bottom:10px; color:var(--muted); font:500 8px Manrope,sans-serif; }
.sheet-workspace .stage-black-key { width:1.05%; height:62%; border:0; border-radius:0 0 3px 3px; background:linear-gradient(90deg,#252824,#454a42,#252824); box-shadow:1px 3px 4px #25282444; }
.sheet-workspace .stage-white-key.is-local { border-color:#218a4a; background:linear-gradient(90deg,#48c774,#8be0a4 52%,#3dbb67); box-shadow:inset 0 0 0 2px #218a4a,0 0 12px #2dbb666e; }
.sheet-workspace .stage-black-key.is-local { border-color:#36c26c; background:linear-gradient(90deg,#126f3b,#2ebf67 55%,#0f6335); box-shadow:0 0 12px #2dbb6688; }

/* Reprodução da partitura: Clave de Sol = azul; Clave de Fá = verde. */
.sheet-workspace .stage-white-key.is-local.is-playback-treble { border-color:#3979d7; background:linear-gradient(90deg,#73a9ef,#b8d7ff 52%,#6b9ee5); box-shadow:inset 0 0 0 2px #3979d7,0 0 13px #4e8fe680; }
.sheet-workspace .stage-black-key.is-local.is-playback-treble { border-color:#71a9f0; background:linear-gradient(90deg,#2d65aa,#5d9de7 55%,#285d9f); box-shadow:0 0 13px #4e8fe699; }
.sheet-workspace .stage-white-key.is-local.is-playback-bass { border-color:#218a4a; background:linear-gradient(90deg,#48c774,#8be0a4 52%,#3dbb67); box-shadow:inset 0 0 0 2px #218a4a,0 0 12px #2dbb666e; }
.sheet-workspace .stage-black-key.is-local.is-playback-bass { border-color:#36c26c; background:linear-gradient(90deg,#126f3b,#2ebf67 55%,#0f6335); box-shadow:0 0 12px #2dbb6688; }
@media (max-width:900px) { .sheet-workspace .sheet-intro,.sheet-midi-report { width:calc(100% - 48px); } .sheet-workspace:not(.evolution-workspace) .sheet-actions-overlay { right:24px; } .sheet-score { min-height:600px; height:calc(100dvh - 270px); } }
@media (max-width:680px) { .sheet-intro-heading { align-items:flex-start; flex-direction:column; } .sheet-midi-report-head { align-items:flex-start; flex-direction:column; } }
@media (max-width:600px) { .sheet-actions-overlay { right:10px; left:10px; justify-content:stretch; } .sheet-tempo-control { top:66px; left:10px; } .sheet-action,.sheet-action-primary { flex:1; padding-inline:8px; } .sheet-config-button { right:14px; bottom:254px; } .sheet-config-panel { right:14px; bottom:304px; width:calc(100vw - 28px); } }

.sheet-info-button { width:100%; margin-top:16px; padding:10px 12px; border:1px solid var(--green); border-radius:6px; color:var(--green-dark); background:#f7f9f4; cursor:pointer; font:800 11px Manrope,sans-serif; }
.sheet-info-button:hover { background:#e8ede5; }
.sheet-midi-info-modal { position:fixed; z-index:80; inset:0; display:grid; place-items:center; padding:24px; background:#1d241d70; backdrop-filter:blur(3px); }
.sheet-midi-info-modal[hidden] { display:none!important; }
.sheet-midi-info-card { width:min(680px,100%); max-height:min(760px,calc(100dvh - 48px)); padding:22px; overflow:auto; border:1px solid #cfd8cc; border-radius:10px; background:#fffdf8; box-shadow:0 22px 70px #18201855; }
.sheet-midi-info-content dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 22px; margin:0 0 20px; }
.sheet-midi-info-content dl div { padding:9px 0; border-bottom:1px solid #e2e7de; }
.sheet-midi-info-content dt { color:var(--muted); font:700 9px Manrope,sans-serif; text-transform:uppercase; letter-spacing:.06em; }
.sheet-midi-info-content dd { margin:3px 0 0; color:var(--ink); font:650 12px Manrope,sans-serif; }
.sheet-midi-info-content h3 { margin:20px 0 8px; font:800 15px Manrope,sans-serif; }
.sheet-midi-info-content article { padding:12px 0; border-top:1px solid #e2e7de; }
.sheet-midi-info-content article strong { font:800 13px Manrope,sans-serif; }
.sheet-midi-info-content article p { margin:4px 0 0; color:var(--muted); font:600 11px Manrope,sans-serif; }
@media(max-width:600px){.sheet-midi-info-content dl{grid-template-columns:1fr;}}

.sheet-track-fieldset { margin:11px 0 0; padding:0; border:0; }
.sheet-track-fieldset legend { margin-bottom:6px; color:var(--muted); font:800 10px Manrope,sans-serif; text-transform:uppercase; letter-spacing:.05em; }
.sheet-track-list { display:grid; gap:6px; }
.sheet-track-option { display:flex!important; grid-template-columns:none!important; align-items:flex-start!important; gap:5px!important; margin:0!important; padding:7px 8px; border:1px solid #d8ded4; border-radius:5px; background:#fff; cursor:pointer; text-transform:none!important; letter-spacing:0!important; }
.sheet-track-option input { flex:0 0 auto; width:14px; height:14px; margin:1px 0 0; accent-color:var(--green); }
.sheet-track-option span { flex:1 1 auto; min-width:0; display:grid; gap:2px; color:var(--ink)!important; font-family:Manrope,sans-serif!important; }
.sheet-track-option strong { font:700 11px Manrope,sans-serif; }
.sheet-track-option small { color:var(--muted); font:500 9px Manrope,sans-serif; }


.sheet-workspace .stage-white-key.is-expected { border-color:#3979d7; background:linear-gradient(90deg,#73a9ef,#b8d7ff 52%,#6b9ee5); box-shadow:inset 0 0 0 2px #3979d7,0 0 13px #4e8fe680; }
.sheet-workspace .stage-black-key.is-expected { border-color:#71a9f0; background:linear-gradient(90deg,#2d65aa,#5d9de7 55%,#285d9f); box-shadow:0 0 13px #4e8fe699; }
.sheet-workspace .stage-white-key.is-follow-match { border-color:#174e9b; background:linear-gradient(90deg,#2f69b7,#5f94dc 52%,#285eaa); box-shadow:inset 0 0 0 3px #123f7f,0 0 15px #1e5ca8aa; }
.sheet-workspace .stage-black-key.is-follow-match { border-color:#8fc1ff; background:linear-gradient(90deg,#123c70,#245d9f 55%,#0d315e); box-shadow:0 0 15px #2f72c8bb; }
.sheet-follow-active,.sheet-action.is-active { border-color:#3979d7!important; color:#fff!important; background:#3979d7!important; }

.sheet-context-menu { position:fixed; z-index:120; min-width:150px; padding:5px; border:1px solid #d8c4c0; border-radius:7px; background:#fffdf8; box-shadow:0 12px 30px #25302533; }
.sheet-context-menu button { display:block; width:100%; padding:9px 11px; border:0; border-radius:5px; color:#613b37; background:transparent; cursor:pointer; text-align:left; font:700 11px Manrope,sans-serif; }
.sheet-context-menu button:hover { color:#fff; background:#c7433b; }

@media (max-width:700px) { .sheet-intro-heading { align-items:flex-start; flex-direction:column; } .sheet-upload-form,.sheet-drop-zone { width:100%; min-width:0; } }
.sheet-notation .sheet-note-head,
.sheet-notation .sheet-note-group { cursor:pointer; }
.sheet-workspace .stage-white-key.is-preview { border-color:#d89a35; background:linear-gradient(90deg,#f3c878,#ffe4ad 52%,#e7b95e); box-shadow:inset 0 0 0 2px #d89a35,0 0 12px #d89a3566; }
.sheet-workspace .stage-black-key.is-preview { border-color:#e8b35b; background:linear-gradient(90deg,#8d5d18,#d99b38 55%,#7b4f12); box-shadow:0 0 12px #d89a3577; }
.sheet-chord-label { fill:#637c59; font:500 12px Manrope,Arial,sans-serif; cursor:pointer; transition:fill .12s ease,font-weight .12s ease; }
.sheet-chord-label:hover { fill:#3f5537; }
.sheet-chord-label.sheet-chord-current { fill:#2f6f45; font-weight:700; }

/* Acompanhamento: cores da Sala Online por clave. Sol = Azul; Fa = Dourado. */
.sheet-workspace .stage-white-key.is-expected-treble { border-color:#5782ba; background:linear-gradient(90deg,#8eb9ee,#c5e2ff 52%,#83addc); box-shadow:inset 0 0 0 2px #5782ba,0 0 13px #5782ba80; }
.sheet-workspace .stage-black-key.is-expected-treble { border-color:#79a8df; background:linear-gradient(90deg,#3d70a8,#79b5ee 55%,#315f96); box-shadow:0 0 13px #5782ba99; }
.sheet-workspace .stage-white-key.is-expected-bass { border-color:#c89b63; background:linear-gradient(90deg,#dfb77e,#f2d8ad 52%,#d3a96e); box-shadow:inset 0 0 0 2px #c89b63,0 0 13px #c89b6385; }
.sheet-workspace .stage-black-key.is-expected-bass { border-color:#dfb77e; background:linear-gradient(90deg,#7b5834,#bd8a50 55%,#68482b); box-shadow:0 0 13px #c89b6399; }
.sheet-workspace .stage-white-key.is-follow-match-treble { border-color:#315f96; background:linear-gradient(90deg,#416f9f,#6f9dcc 52%,#355f8d); box-shadow:inset 0 0 0 3px #294f80,0 0 16px #315f96aa; }
.sheet-workspace .stage-black-key.is-follow-match-treble { border-color:#9dc2ea; background:linear-gradient(90deg,#203e62,#3f6997 55%,#193551); box-shadow:0 0 16px #315f96bb; }
.sheet-workspace .stage-white-key.is-follow-match-bass { border-color:#8f683f; background:linear-gradient(90deg,#9b7045,#bf9362 52%,#87613b); box-shadow:inset 0 0 0 3px #765331,0 0 16px #8f683faa; }
.sheet-workspace .stage-black-key.is-follow-match-bass { border-color:#e2bd89; background:linear-gradient(90deg,#4f3824,#775538 55%,#44301f); box-shadow:0 0 16px #8f683fbb; }

.sheet-played-note { pointer-events:none; }
.sheet-played-note line { stroke:#7c6bb0; stroke-width:4; stroke-linecap:round; filter:drop-shadow(0 0 3px #594b8966); }
.sheet-played-note.is-wrong line { stroke-dasharray:3 5; stroke-linecap:round; }
.sheet-played-note.is-correct line { stroke-dasharray:none; }

/* Partitura: mão monitorada, título compacto e segunda etapa */
.sheet-workspace .sheet-intro-heading { min-width:0; }
.sheet-workspace .sheet-intro h1 { min-width:0; max-width:min(58vw,680px); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sheet-notation.sheet-hand-right [data-sheet-staff="1"],
.sheet-notation.sheet-hand-left [data-sheet-staff="0"] { opacity:.22; transition:opacity .18s; }
.sheet-session-active.sheet-workspace .sheet-intro { padding:4px 0 6px; }
.sheet-session-active.sheet-workspace .sheet-intro .virtual-page-back,
.sheet-session-active.sheet-workspace .sheet-upload-form,
.sheet-session-active.sheet-workspace .sheet-upload-status { display:none; }
.sheet-session-active.sheet-workspace .sheet-intro h1 { max-width:100%; font-size:20px; line-height:1.1; }
.sheet-session-active.sheet-workspace .sheet-score { height:calc(100dvh - 178px); }
@media (max-width:900px) { .sheet-session-active.sheet-workspace .sheet-score { height:calc(100dvh - 198px); } }

/* Reprodução: destaque direto da pauta atual, independente do piano. */
.sheet-note-current-treble,.sheet-note-current-treble * { fill:#315f96!important; stroke:#203e62!important; filter:drop-shadow(0 0 6px #5782ba88); }
.sheet-note-current-bass,.sheet-note-current-bass * { fill:#8f683f!important; stroke:#5f452d!important; filter:drop-shadow(0 0 6px #c89b6388); }

/* Reprodução MIDI: destaque explícito por pauta. */
.sheet-note-current-treble,.sheet-note-current-treble * { fill:#315f96!important; stroke:#203e62!important; filter:drop-shadow(0 0 7px #5782baaa)!important; opacity:1!important; }
.sheet-note-current-bass,.sheet-note-current-bass * { fill:#8f683f!important; stroke:#5f452d!important; filter:drop-shadow(0 0 7px #c89b63aa)!important; opacity:1!important; }

/* Menu MIDI unificado — v54 */
.midi-menu-control { position:relative; z-index:45; display:inline-flex; flex:0 0 auto; }
.midi-menu-control[hidden] { display:none!important; }
.midi-menu-button { display:inline-flex; min-height:36px; align-items:center; gap:7px; padding:9px 11px; border:1px solid #cbd5c5; border-radius:8px; color:var(--green-dark); background:#fffdf8e8; backdrop-filter:blur(8px); cursor:pointer; font:700 11px Manrope,sans-serif; transition:border-color .15s,background .15s,transform .15s; }
.midi-menu-button:hover,.midi-menu-button:focus-visible,.midi-menu-button[aria-expanded="true"] { border-color:var(--green); background:#e8ede5; transform:translateY(-1px); }
.midi-menu-button > span { color:#c89b63; font-size:14px; line-height:1; }
.midi-menu-button > b { margin-left:2px; color:#7c8478; font-size:10px; transition:transform .15s; }
.midi-menu-button[aria-expanded="true"] > b { transform:rotate(180deg); }
.midi-menu-control.is-connected .midi-menu-button > span { color:#4f8b54; }
.midi-menu-popover { position:absolute; z-index:140; top:calc(100% + 7px); right:0; width:250px; padding:6px; border:1px solid #d4dbd0; border-radius:9px; background:#fffdf8; box-shadow:0 14px 34px #26352536; }
.midi-menu-popover[hidden] { display:none!important; }
.midi-menu-popover button { display:grid; width:100%; grid-template-columns:24px minmax(0,1fr); align-items:center; gap:8px; padding:9px 10px; border:0; border-radius:6px; color:var(--ink); background:transparent; cursor:pointer; text-align:left; }
.midi-menu-popover button:hover,.midi-menu-popover button:focus-visible { background:#edf2e9; outline:none; }
.midi-menu-popover button > span:first-child { color:var(--green); text-align:center; font-size:13px; }
.midi-menu-popover button > span:last-child { display:grid; gap:2px; min-width:0; }
.midi-menu-popover strong { font:750 11px Manrope,sans-serif; }
.midi-menu-popover small { overflow:hidden; color:var(--muted); font:500 9px/1.25 Manrope,sans-serif; text-overflow:ellipsis; white-space:nowrap; }
/* Os acessos antigos permanecem apenas como gatilhos internos. */
.midi-fab,.sheet-config-button,.module-controls .midi-button { display:none!important; }
.sheet-workspace .sheet-actions-overlay .midi-menu-control { order:4; }
.chords-workspace .sequence-actions .midi-menu-control { order:0; }
.chords-workspace .sequence-actions #start-sequence { order:0; }
.virtual-piano-workspace .stage-timeline-head { grid-template-columns:auto minmax(0,1fr) auto auto; }
.virtual-piano-workspace .stage-timeline-head .midi-menu-control { letter-spacing:0; }
.virtual-piano-workspace .stage-timeline-head .midi-menu-button { min-height:32px; padding:7px 10px; font-size:10px; }
@media (max-width:760px) {
  .virtual-piano-workspace .stage-timeline-head { grid-template-columns:1fr auto auto; }
  .virtual-piano-workspace .stage-timeline-head span:nth-child(2) { grid-column:1/-1; grid-row:2; }
  .virtual-piano-workspace .stage-timeline-clear { grid-column:2; grid-row:1; }
  .virtual-piano-workspace .stage-timeline-head .midi-menu-control { grid-column:3; grid-row:1; }
  .midi-menu-popover { right:0; width:min(250px,calc(100vw - 28px)); }
}
/* Garante um único ponto de entrada MIDI em todas as telas. */
.sheet-workspace .midi-fab,
.virtual-piano-workspace .midi-fab,
.chords-workspace .midi-fab,
.sheet-workspace .sheet-config-button { display:none!important; }

/* Evolução · Mikrokosmos — v55 */
.evolution-intro { display:none; }
.evolution-workspace .sheet-intro { display:none!important; }
.evolution-workspace .evolution-intro { display:block!important; width:min(1180px,calc(100% - 80px)); margin:0 auto; padding:9px 0 14px; }
.evolution-workspace .evolution-intro h1 { margin:2px 0 4px; color:var(--ink); font:700 30px/1.15 Manrope,sans-serif; letter-spacing:-.04em; }
.evolution-workspace .evolution-intro > p:last-child { margin:0; color:var(--muted); font:500 12px/1.5 Manrope,sans-serif; }
.evolution-workspace .sheet-player { display:grid!important; grid-template-columns:240px minmax(0,1fr); gap:18px; align-items:start; width:min(1460px,calc(100% - 40px)); margin:0 auto; padding:0 0 18px; }
.evolution-workspace .sheet-score { width:100%; min-width:0; }
.evolution-sidebar { position:sticky; top:12px; z-index:8; padding:16px; border:1px solid #d4dece; border-radius:10px; background:#fffdf8; box-shadow:0 8px 24px #31462f18; }
.evolution-sidebar[hidden] { display:none!important; }
.evolution-sidebar h2 { margin:3px 0 16px; color:var(--ink); font:700 20px/1.15 Manrope,sans-serif; }
.evolution-sidebar label { display:grid; gap:6px; margin:0 0 12px; color:var(--muted); font:700 10px Manrope,sans-serif; }
.evolution-sidebar select { width:100%; min-height:38px; padding:0 10px; border:1px solid #cbd5c5; border-radius:7px; color:var(--ink); background:#fff; font:600 11px Manrope,sans-serif; }
.evolution-exercise-info { margin-top:16px; padding-top:14px; border-top:1px solid #e0e5dc; color:#596052; font:500 11px/1.55 Manrope,sans-serif; }
.evolution-exercise-info dl { display:grid; gap:5px; margin:0 0 12px; }
.evolution-exercise-info dl div { display:flex; justify-content:space-between; gap:10px; }
.evolution-exercise-info dt { color:var(--muted); }
.evolution-exercise-info dd { margin:0; color:var(--green-dark); font-weight:750; }
.evolution-exercise-info p { margin:10px 0; }
.evolution-exercise-info small { display:block; margin-top:12px; color:#8a8f87; font-size:9px; }
.evolution-history { margin-top:14px; padding-top:14px; border-top:1px solid #e0e5dc; }
.evolution-history .card-label { margin:0 0 9px; }
.evolution-history dl { gap:4px; margin-bottom:0; }
.evolution-history dd { font-weight:800; }
.evolution-history small { margin-top:8px; }
.evolution-history-empty { margin:0; color:var(--muted); font-size:10px; line-height:1.45; }
@media (max-width:900px) {
  .evolution-workspace .evolution-intro { width:calc(100% - 48px); }
  .evolution-workspace .sheet-player { grid-template-columns:1fr; padding-inline:12px; }
  .evolution-sidebar { position:relative; top:0; }
}

.evolution-sidebar [hidden] { display:none !important; }

/* Evolução — Select2 no seletor de exercícios */
.evolution-sidebar .select2-container { width:100%!important; max-width:100%!important; min-width:0!important; box-sizing:border-box; font-family:Manrope,sans-serif; }
.evolution-sidebar .select2-container--default .select2-selection--single { width:100%; max-width:100%; min-width:0; height:40px; box-sizing:border-box; border:1px solid #cbd5c5; border-radius:7px; background:#fff; }
.evolution-sidebar .select2-container--default .select2-selection--single .select2-selection__rendered { display:block; width:100%; max-width:100%; min-width:0; box-sizing:border-box; padding:0 34px 0 10px; color:var(--ink); font-size:11px; font-weight:600; line-height:38px; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
.evolution-sidebar .select2-container--default .select2-selection--single .select2-selection__arrow { height:38px; right:6px; }
.evolution-sidebar .select2-container--default.select2-container--focus .select2-selection--single,
.evolution-sidebar .select2-container--default.select2-container--open .select2-selection--single { border-color:#637c59; box-shadow:0 0 0 2px #637c5920; }
.evolution-sidebar .select2-dropdown { border:1px solid #cbd5c5; border-radius:7px; background:#fffdf8; box-shadow:0 12px 28px #31462f24; overflow:hidden; }
.evolution-sidebar .select2-search--dropdown { padding:8px; }
.evolution-sidebar .select2-search--dropdown .select2-search__field { width:100%; min-height:36px; padding:7px 9px; border:1px solid #cbd5c5; border-radius:6px; outline:none; color:var(--ink); background:#fff; font:500 12px Manrope,sans-serif; }
.evolution-sidebar .select2-search--dropdown .select2-search__field:focus { border-color:#637c59; box-shadow:0 0 0 2px #637c5920; }
.evolution-sidebar .select2-results__options { max-height:330px!important; }
.evolution-sidebar .select2-results__option { padding:7px 10px; color:var(--ink); font:500 11px/1.35 Manrope,sans-serif; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.evolution-sidebar .select2-results__group { padding:8px 10px 5px; color:#637c59; font:800 9px/1.2 'DM Mono',monospace; letter-spacing:.08em; text-transform:uppercase; }
.evolution-sidebar .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background:#637c59; color:#fff; }
.evolution-sidebar .select2-container--default .select2-results__option--selected { background:#e9eee6; }
.evolution-sidebar .select2-results__option--disabled { color:#9aa294; font-style:italic; }

/* Partituras — estatísticas de acompanhamento */
.sheet-stats-modal{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:24px;background:#17211699;backdrop-filter:blur(3px)}
.sheet-stats-modal[hidden]{display:none!important}
.sheet-stats-card{width:min(1040px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow:auto;background:#fffdf8;border:1px solid #d9e0d5;border-radius:18px;box-shadow:0 28px 70px #17211640;padding:22px}
.sheet-stats-head,.sheet-stats-measures-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.sheet-stats-head h2,.sheet-stats-measures-head h3{margin:3px 0 0;color:var(--ink)}
.sheet-stats-subtitle{margin:5px 0 0;color:#6f776b;font-size:12px}
.sheet-stats-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0 14px}
.sheet-stat-card{min-width:0;padding:14px;border:1px solid #dce3d8;border-radius:12px;background:#fff}
.sheet-stat-card span{display:block;margin-bottom:6px;color:#7c8478;font:700 9px/1.2 'DM Mono',monospace;letter-spacing:.07em;text-transform:uppercase}
.sheet-stat-card strong{display:block;color:#263126;font-size:23px;line-height:1.05}
.sheet-stat-card small{display:block;margin-top:5px;color:#7b8377;font-size:10px;line-height:1.3}
.sheet-stats-sections{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:22px}
.sheet-stats-section{padding:13px 14px;border:1px solid #dce3d8;border-radius:12px;background:#f8faf6}
.sheet-stats-section.is-best{border-left:4px solid #637c59}
.sheet-stats-section.is-worst{border-left:4px solid #a96858}
.sheet-stats-section span{display:block;color:#788071;font:700 9px/1.2 'DM Mono',monospace;letter-spacing:.06em;text-transform:uppercase}
.sheet-stats-section strong{display:block;margin-top:5px;color:#2d382d;font-size:14px}
.sheet-stats-section small{display:block;margin-top:4px;color:#737b70;font-size:11px}
.sheet-stats-measures{border-top:1px solid #e0e5dc;padding-top:18px}
.sheet-stats-measures-head label{display:flex;align-items:center;gap:8px;color:#70786d;font-size:11px;font-weight:700}
.sheet-stats-measures-head select{max-width:180px;padding:7px 28px 7px 9px;border:1px solid #cbd5c5;border-radius:7px;background:#fff;color:var(--ink);font:600 11px Manrope,sans-serif}
.sheet-stats-heatmap{display:grid;grid-template-columns:repeat(auto-fill,minmax(42px,1fr));gap:5px;margin:15px 0}
.sheet-stats-measure{position:relative;min-height:38px;border:0;border-radius:7px;background:#edf1ea;color:#3a4937;cursor:pointer;font:700 10px 'DM Mono',monospace;overflow:hidden}
.sheet-stats-measure::before{content:"";position:absolute;inset:auto 0 0;height:4px;background:#637c59;opacity:var(--score-opacity,.35)}
.sheet-stats-measure.is-low::before{background:#a96858}.sheet-stats-measure.is-mid::before{background:#a68a51}.sheet-stats-measure:hover{outline:2px solid #637c5940}
.sheet-stats-table-wrap{overflow:auto;border:1px solid #e0e5dc;border-radius:10px;background:#fff}
.sheet-stats-table{width:100%;border-collapse:collapse;font-size:11px;white-space:nowrap}
.sheet-stats-table th{position:sticky;top:0;z-index:1;padding:9px 10px;background:#f1f4ee;color:#626b5e;text-align:right;font:700 9px 'DM Mono',monospace;letter-spacing:.04em;text-transform:uppercase}
.sheet-stats-table th:first-child,.sheet-stats-table td:first-child{text-align:left}
.sheet-stats-table td{padding:9px 10px;border-top:1px solid #edf0ea;color:#40493e;text-align:right}
.sheet-stats-table tr[data-measure]{cursor:pointer}.sheet-stats-table tr[data-measure]:hover{background:#f7f9f5}
.sheet-stats-score{display:inline-flex;align-items:center;gap:6px}.sheet-stats-score i{display:inline-block;width:48px;height:5px;border-radius:99px;background:#e3e8df;overflow:hidden}.sheet-stats-score i::after{content:"";display:block;width:var(--score);height:100%;background:#637c59}
@media(max-width:760px){.sheet-stats-card{padding:16px}.sheet-stats-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.sheet-stats-sections{grid-template-columns:1fr}.sheet-stats-measures-head{display:block}.sheet-stats-measures-head label{margin-top:10px}.sheet-stats-summary .sheet-stat-card strong{font-size:19px}}
.sheet-actions [hidden]{display:none!important}
.sheet-stats-measure.is-unplayed{color:#8a9185;background:#f4f6f2}.sheet-stats-measure.is-unplayed::before{background:#cfd5cb;opacity:.35}

.sheet-stats-sort-head{display:inline-flex;align-items:center;justify-content:flex-end;gap:4px;width:100%;padding:0;border:0;color:inherit;background:transparent;cursor:pointer;font:inherit;letter-spacing:inherit;text-transform:inherit}
.sheet-stats-table th:first-child .sheet-stats-sort-head{justify-content:flex-start}
.sheet-stats-sort-head:hover,.sheet-stats-sort-head.is-active{color:var(--green-dark)}
.sheet-stats-sort-head span{display:inline-block;min-width:8px;font-size:10px}

.sheet-stats-history{margin-top:18px;padding-top:18px;border-top:1px solid #e1e5de}
.sheet-stats-history-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:10px}.sheet-stats-history-head h3{margin:2px 0 0;font-size:18px}.sheet-stats-history-head>span{color:#7c8579;font:600 10px 'DM Mono',monospace}
.sheet-stats-history-content{overflow:auto;border:1px solid #e0e5dc;border-radius:10px;background:#fff}.sheet-stats-history-empty{margin:0;padding:16px;color:#7c8579;font-size:12px}.sheet-stats-history-table{width:100%;border-collapse:collapse;font-size:10px;white-space:nowrap}.sheet-stats-history-table th{padding:8px 9px;background:#f1f4ee;color:#626b5e;text-align:right;font:700 8px 'DM Mono',monospace;letter-spacing:.04em;text-transform:uppercase}.sheet-stats-history-table th:first-child,.sheet-stats-history-table td:first-child,.sheet-stats-history-table th:nth-child(2),.sheet-stats-history-table td:nth-child(2){text-align:left}.sheet-stats-history-table td{padding:8px 9px;border-top:1px solid #edf0ea;color:#465044;text-align:right}.sheet-stats-history-table tr.is-latest{background:#f6faf4}.sheet-stats-history-precision{font-weight:800;color:var(--green-dark)}
@media(max-width:720px){.sheet-stats-history-head{align-items:flex-start;flex-direction:column;gap:5px}}

/* Partituras — barra de acompanhamento */
.sheet-playhead{opacity:.55;filter:drop-shadow(0 1px 1px rgba(49,70,47,.08))}
.sheet-playhead-glow{stroke:#637c59;stroke-width:24;stroke-linecap:butt;opacity:.10}
.sheet-playhead-line{stroke:#637c59;stroke-width:2.4;stroke-linecap:round}
.sheet-playhead-cap{fill:#637c59;stroke:#fffdf8;stroke-width:2}
.sheet-playhead.is-follow .sheet-playhead-line{stroke:#c28b2c;stroke-width:2.8}
.sheet-playhead.is-follow .sheet-playhead-cap{fill:#c28b2c}
.shared-chords-banner { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:0 0 18px; padding:12px 14px; border:1px solid #cbd7c6; border-radius:8px; background:#eef3eb; color:#3f5039; }
.shared-chords-banner[hidden] { display:none!important; }
.shared-chords-banner div { display:grid; gap:2px; }
.shared-chords-banner strong { font-size:12px; }
.shared-chords-banner span { color:#70766d; font-size:10px; }
.shared-chords-banner button { flex:0 0 auto; padding:9px 12px; border:1px solid #637c59; border-radius:7px; color:#fff; background:#637c59; cursor:pointer; font:700 10px Manrope,sans-serif; }
.shared-chords-banner button:hover { background:#3f5039; }
@media(max-width:700px){.shared-chords-banner{align-items:stretch;flex-direction:column}.shared-chords-banner button{width:100%}}
.share-link-dialog .share-link-panel { display:grid; gap:14px; }
.share-link-dialog .share-link-panel>p { margin:0; color:#70766d; font-size:11px; line-height:1.55; }
.share-link-dialog .share-link-panel>label { color:#434a40; font-size:11px; font-weight:700; }
.share-link-copy-row { display:flex; gap:8px; }
.share-link-copy-row input { min-width:0; flex:1; height:42px; padding:0 11px; border:1px solid #ccd5c7; border-radius:7px; color:#434a40; background:#f7f8f5; font:500 11px Manrope,sans-serif; }
.share-link-copy-row button { flex:0 0 auto; padding:0 15px; border:1px solid #637c59; border-radius:7px; color:#fff; background:#637c59; cursor:pointer; font:700 10px Manrope,sans-serif; }
.share-link-copy-row button:hover { background:#3f5039; }
@media(max-width:600px){.share-link-copy-row{flex-direction:column}.share-link-copy-row button{height:42px}}
.sheet-library-sidebar { width:260px; flex:0 0 260px; max-height:calc(100dvh - 300px); margin-top:12px; padding:18px 14px; overflow:auto; border:1px solid #d4dece; border-radius:10px; background:#fffdf8; }
.sheet-library-sidebar[hidden] { display:none!important; }
.sheet-library-head { display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin:4px 0 12px; }
.sheet-library-head h2 { margin:0; color:var(--ink); font:700 16px/1.2 Manrope,sans-serif; }
.sheet-library-head span { color:var(--muted); font:700 9px Manrope,sans-serif; }
.sheet-library-empty { margin:12px 0 0; color:var(--muted); font:500 10px/1.5 Manrope,sans-serif; }
.sheet-library-list { display:grid; gap:8px; }
.sheet-library-song { display:grid; width:100%; gap:5px; padding:10px 11px; border:1px solid #dbe2d7; border-radius:8px; color:var(--ink); background:#fff; cursor:pointer; text-align:left; font-family:Manrope,sans-serif; }
.sheet-library-song:hover,.sheet-library-song.is-current { border-color:#8fa486; background:#f0f4ed; }
.sheet-library-song strong { overflow:hidden; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.sheet-library-song span { color:var(--muted); font-size:9px; }
.sheet-library-song small { color:var(--green-dark); font-size:9px; font-weight:700; }
.sheet-workspace:not(.evolution-workspace) .sheet-player:has(.sheet-library-sidebar:not([hidden])) { display:grid!important; grid-template-columns:260px minmax(0,1fr); gap:18px; align-items:start; width:min(1460px,calc(100% - 40px)); margin:0 auto; }
.sheet-workspace:not(.evolution-workspace) .sheet-player:has(.sheet-library-sidebar:not([hidden])) .sheet-score { width:100%; }
@media(max-width:1050px){.sheet-workspace:not(.evolution-workspace) .sheet-player:has(.sheet-library-sidebar:not([hidden])){display:block!important;width:100%}.sheet-library-sidebar{width:calc(100% - 48px);max-height:none;margin:0 auto 12px}.sheet-library-list{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}}

.sheet-library-row { display:grid; grid-template-columns:minmax(0,1fr) 30px; gap:6px; align-items:stretch; }
.sheet-library-row .sheet-library-song { min-width:0; }
.sheet-library-delete { display:grid; place-items:center; width:30px; min-width:30px; padding:0; border:1px solid #e0d7d2; border-radius:8px; color:#9a5c52; background:#fff; cursor:pointer; font:700 16px/1 Manrope,sans-serif; }
.sheet-library-delete:hover { border-color:#c98275; color:#fff; background:#a96858; }
html.sheet-focus-mode.sheet-workspace .sheet-player { display:block!important; width:100%!important; max-width:none!important; margin:0!important; padding:0!important; }
html.sheet-focus-mode.sheet-workspace .sheet-score { width:100%!important; min-width:0!important; min-height:100dvh!important; height:100dvh!important; }
html.sheet-focus-mode.sheet-workspace .stage-piano-dock.is-minimized { display:none!important; }
html.sheet-focus-mode.sheet-workspace:not(.evolution-workspace) .sheet-player:has(.sheet-library-sidebar:not([hidden])) { display:block!important; grid-template-columns:none!important; width:100%!important; max-width:none!important; margin:0!important; }
html.sheet-focus-mode.sheet-workspace .sheet-actions-overlay :is(.sheet-action,.midi-menu-button),html.sheet-focus-mode.sheet-workspace .sheet-tempo-control { box-sizing:border-box; height:32px; min-height:0; }
html.sheet-focus-mode.sheet-workspace .sheet-actions-overlay { top:18px; right:24px; }
html.sheet-focus-mode.evolution-workspace .evolution-intro { display:none!important; }
.sheet-workspace .sheet-actions-overlay { align-items:flex-start; }
.sheet-workspace .sheet-play-mode { height:32px; box-sizing:border-box; }
.sheet-workspace .sheet-play-mode button { box-sizing:border-box; height:30px; padding:6px 10px; }
.sheet-workspace .sheet-actions-overlay { flex-wrap:wrap; justify-content:flex-end; }
html[data-theme="dark"].sheet-workspace .sheet-score.is-continuous:before { background:linear-gradient(90deg,#4e8fe633 0 46%,#4e8fe6 46% 54%,#4e8fe633 54% 100%)!important; }
.sheet-delete-confirm { min-width:84px; min-height:40px; padding:9px 16px; border:1px solid #a96858; border-radius:8px; color:#fff; background:#a96858; cursor:pointer; font:700 10px Manrope,sans-serif; }
.sheet-delete-confirm:hover { background:#8f554a; }

.sheet-empty-state { display:grid; place-items:center; min-height:420px; padding:40px; color:var(--muted); font:600 14px/1.5 Manrope,sans-serif; text-align:center; }

.access-limit-notice{margin:12px 0 0;padding:11px 13px;border:1px solid #d6c79f;border-radius:8px;background:#fff9e9;color:#66562f;font:600 10px/1.55 Manrope,sans-serif}.access-limit-notice a{color:#3f5537;font-weight:800;text-decoration:underline;text-underline-offset:2px}.access-limit-sidebar{margin-top:14px}.evolution-access-top{margin:12px 0 16px}.sequence-section>.access-limit-notice{margin-bottom:24px}.sequence-actions button:disabled{opacity:.5;cursor:not-allowed}.evolution-sidebar select option[data-free-locked="1"]{color:#999}
.sheet-free-preview{margin:0 14px 18px;border:1px solid #d6c79f;border-radius:10px;overflow:hidden;background:#fffdf8}.sheet-free-preview[hidden]{display:none}.sheet-free-preview-score{position:relative;height:150px;padding:24px 22px 16px;overflow:hidden;background:linear-gradient(180deg,#fff 0%,#fff 32%,#fffdf8 100%)}.sheet-free-preview-score::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.05) 0%,rgba(255,255,255,.18) 40%,rgba(255,255,255,.84) 82%,#fff 100%);pointer-events:none}.sheet-free-staff{position:relative;height:48px;margin:4px 0 16px}.sheet-free-staff i{position:absolute;left:0;right:0;height:1px;background:#596056}.sheet-free-staff i:nth-child(1){top:4px}.sheet-free-staff i:nth-child(2){top:12px}.sheet-free-staff i:nth-child(3){top:20px}.sheet-free-staff i:nth-child(4){top:28px}.sheet-free-staff i:nth-child(5){top:36px}.sheet-free-staff b{position:absolute;width:11px;height:8px;border-radius:50%;background:#394038;transform:rotate(-16deg)}.sheet-free-staff b::after{content:"";position:absolute;width:1.5px;height:27px;left:9px;bottom:3px;background:#394038}.sheet-free-staff .n1{left:9%;top:22px}.sheet-free-staff .n2{left:23%;top:14px}.sheet-free-staff .n3{left:38%;top:26px}.sheet-free-staff .n4{left:55%;top:10px}.sheet-free-staff .n5{left:70%;top:18px}.sheet-free-staff.bass .n1{left:14%;top:12px}.sheet-free-staff.bass .n2{left:31%;top:26px}.sheet-free-staff.bass .n3{left:48%;top:18px}.sheet-free-staff.bass .n4{left:65%;top:30px}.sheet-free-preview-copy{padding:15px 18px 17px;border-top:1px solid #e7dcc0;color:#66562f;font:600 11px/1.55 Manrope,sans-serif;text-align:center}.sheet-free-preview-copy strong{color:#3f5537}.sheet-free-preview-copy a{display:inline-block;margin-left:5px;color:#3f5537;font-weight:800;text-decoration:underline;text-underline-offset:3px}

.songs-fab[hidden]{display:none!important}

/* Show tempo selector in Evolução too. */
.evolution-workspace .sheet-tempo-control{display:flex!important}
.evolution-workspace .sheet-tempo-control[hidden]{display:none!important}

/* Sidebar configuration and less intrusive continuous playhead */
.sheet-config-panel{inset:0 0 0 auto!important;width:min(430px,100vw)!important;max-height:100dvh;box-sizing:border-box;overflow-y:auto;bottom:0!important;top:0!important;right:0!important;border-radius:0!important;z-index:75;padding:22px 18px;}
.sheet-score.is-continuous:before{bottom:95px;}
.sheet-simple-ledger{stroke:currentColor;stroke-width:1.3;pointer-events:none;}
.sheet-simple-note circle{fill:#5782ba;opacity:.9;}
.sheet-simple-note[data-sheet-staff="1"] circle{fill:#bd8a50;}
.sheet-config-head h2,.midi-modal-head h2{font:800 20px/1.15 Manrope,sans-serif!important;}
@media(min-width:1100px){body.sheet-config-open:not(.midi-pinned) .page-shell,body.sheet-config-open:not(.midi-pinned) .topbar{width:calc(100% - 460px);max-width:1190px;margin-left:24px;margin-right:auto;}}

/* Reading controls live within the settings drawer. */
.sheet-config-panel .sheet-reading-controls{display:grid;gap:12px;margin:10px 0 18px;}
.sheet-config-panel .sheet-play-mode{display:flex;position:static;}
.sheet-config-panel .sheet-play-mode button{flex:1;}
.sheet-config-panel .sheet-continuous-option{position:static;display:flex;align-items:center;gap:8px;white-space:normal;}
/* The generated simplified notation keeps staves and supplemental lines, not original stems, beams or connectors. */
.sheet-score.sheet-visual-simple :is(.vf-stem,.vf-stemlet,.vf-beam,.vf-flag,.vf-stavetie,.vf-tuplet,.vf-curve,.vf-modifiers,.vf-notehead,.vf-accidental,.vf-dot,.vf-rest,.vf-stavenote){visibility:hidden;}
.sheet-score.sheet-visual-simple .sheet-simple-note,.sheet-score.sheet-visual-simple .sheet-simple-note *{visibility:visible;}

/* Empty score only shows the invitation, without playhead or progress track. */
.sheet-workspace:not(.evolution-workspace) .sheet-score:not(.sheet-has-music).is-continuous:before{display:none;}
.sheet-workspace:not(.evolution-workspace) .sheet-score:not(.sheet-has-music) .sheet-continuous-overview{display:none;}
.sheet-library-sidebar .sheet-upload-form{margin:12px 0 14px;}
.sheet-library-sidebar .sheet-drop-zone{display:grid;justify-items:center;min-width:0;width:100%;padding:14px 10px;text-align:center;gap:7px;}
.sheet-library-sidebar .sheet-drop-copy{display:grid;gap:4px;}
.sheet-library-sidebar .sheet-upload-button{max-width:100%;}

.sheet-track-option{flex-wrap:wrap}.sheet-track-option select{flex:1 0 100%;min-width:0;margin-top:6px;padding:6px;border:1px solid #d8ded4;border-radius:5px;font:600 11px Manrope,sans-serif;}

/* Played notes stay beside the stationary playback stripe, not in the scrolling SVG. */
.sheet-played-note-fixed{position:absolute;z-index:5;width:30px;height:4px;border-radius:4px;background:#7c6bb0;transform:translate(-50%,-50%);box-shadow:0 0 3px #594b8966;pointer-events:none;}
.sheet-played-note-fixed.is-wrong{background:repeating-linear-gradient(90deg,#7c6bb0 0 3px,transparent 3px 8px);box-shadow:none;}
/* Dialogs must cover the global light/dark switch and header controls. */
.sheet-stats-modal:not([hidden]),.sheet-midi-info-modal:not([hidden]){z-index:200;}

.sheet-track-volume{display:grid!important;grid-template-columns:1fr auto;gap:5px 8px;flex:1 0 100%;align-items:center;margin-top:6px;font:600 10px Manrope,sans-serif;}
.sheet-track-volume input{grid-column:1/-1;width:100%;accent-color:var(--green);}
.sheet-track-volume output{font:700 11px Manrope,sans-serif;}
/* Configuration sidebar must be above the header's theme switch. */
.sheet-config-panel:not([hidden]){z-index:160!important;}

.sheet-track-option .sheet-track-controls{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:10px;align-items:end;width:100%;margin-top:6px;}
.sheet-track-option .sheet-track-controls>select{width:100%;margin-top:0;min-width:0;}
.sheet-track-option .sheet-track-volume{display:flex!important;flex-direction:column;align-items:stretch;gap:3px;min-width:0;margin:0;font:600 10px Manrope,sans-serif;}
.sheet-track-option .sheet-track-volume select{width:100%;min-width:0;margin:0;padding:6px;border:1px solid #d8ded4;border-radius:5px;font:600 11px Manrope,sans-serif;}
/* Align the player controls with the score's inner right edge. */
.sheet-workspace:not(.evolution-workspace) .sheet-score > .sheet-actions-overlay {right:18px;align-items:center;}
.sheet-workspace .sheet-actions-overlay #sheet-fullscreen {display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;line-height:1;vertical-align:middle;}
html.sheet-focus-mode.sheet-workspace:not(.evolution-workspace) .sheet-score > .sheet-actions-overlay {right:24px;}
@media(max-width:600px){.sheet-workspace:not(.evolution-workspace) .sheet-score > .sheet-actions-overlay {right:10px;}}

#sheet-library-browser[hidden],#sheet-quick-config[hidden]{display:none!important;}
.sheet-quick-config{display:grid;gap:12px;}
.sheet-quick-head{display:grid;gap:6px;padding-bottom:12px;border-bottom:1px solid var(--line);}
.sheet-quick-head h2{font:700 19px/1.25 Fraunces,serif;overflow-wrap:anywhere;margin:0;}
.sheet-quick-back{justify-self:start;border:0;background:none;color:var(--green-dark);font:700 11px Manrope,sans-serif;cursor:pointer;padding:2px 0 6px;}
.sheet-quick-meta{font:600 10px Manrope,sans-serif;color:var(--muted);margin:0;}
.sheet-quick-track{display:grid;gap:9px;padding:11px;border:1px solid var(--line);border-radius:9px;background:color-mix(in srgb,var(--green) 4%,transparent);}
.sheet-quick-track-title{display:flex;align-items:center;gap:7px;font:700 12px Manrope,sans-serif;overflow-wrap:anywhere;}
.sheet-quick-track-title input{accent-color:var(--green);}
.sheet-quick-fields{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:7px;}
.sheet-quick-fields label{display:grid;gap:4px;font:700 10px Manrope,sans-serif;}
.sheet-quick-fields select{width:100%;min-width:0;padding:7px 4px;border:1px solid var(--line);border-radius:6px;background:var(--paper,#fffdf8);color:var(--ink);font:600 10px Manrope,sans-serif;}
.sheet-quick-all{width:100%;padding:10px;border:1px solid var(--green);border-radius:7px;background:transparent;color:var(--green-dark);font:700 11px Manrope,sans-serif;cursor:pointer;}

/* Compact, legible song context sidebar. */
.sheet-library-sidebar:has(#sheet-quick-config:not([hidden])){padding:16px 12px;}
.sheet-quick-config{gap:14px;min-width:0;}
.sheet-quick-head{min-width:0;gap:5px;}
.sheet-quick-head h2{font:700 17px/1.3 Manrope,sans-serif;word-break:break-word;}
.sheet-quick-back{font-size:11px;}
.sheet-quick-hand{display:grid;gap:8px;padding:12px;border:1px solid #becfb8;border-radius:10px;background:color-mix(in srgb,var(--green) 9%,transparent);min-width:0;}
.sheet-quick-hand>strong{font:800 12px Manrope,sans-serif;}
.sheet-quick-hand>small{font:500 10px/1.4 Manrope,sans-serif;color:var(--muted);}
.sheet-quick-hand-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;}
.sheet-quick-hand-buttons button{min-width:0;padding:9px 2px;border:1px solid #bccbb7;border-radius:6px;background:transparent;color:var(--ink);font:700 10px Manrope,sans-serif;cursor:pointer;}
.sheet-quick-hand-buttons button.is-active{background:var(--green);border-color:var(--green);color:#fff;}
.sheet-quick-track{gap:10px;min-width:0;padding:11px 9px;}
.sheet-quick-track-title{min-width:0;line-height:1.4;}
.sheet-quick-track-title strong{min-width:0;overflow-wrap:anywhere;}
.sheet-quick-fields{grid-template-columns:minmax(0,1fr) 82px;gap:7px;min-width:0;}
.sheet-quick-fields label{min-width:0;}
.sheet-quick-fields select{max-width:100%;min-width:0;box-sizing:border-box;font-size:10px;text-overflow:ellipsis;}
.sheet-quick-all{margin-top:4px;}

/* Clean hand selection without a surrounding panel. */
.sheet-quick-hand{padding:0;border:0;border-radius:0;background:none;gap:8px;}
.sheet-quick-hand-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.sheet-quick-hand-choice{display:flex;align-items:center;gap:5px;min-width:0;font:600 10px Manrope,sans-serif;cursor:pointer;}
.sheet-quick-hand-icon{font-size:17px;line-height:1;flex-shrink:0;}
.sheet-quick-hand-choice>span:nth-child(2){flex:1;min-width:0;}
.sheet-quick-hand-choice input[type=checkbox]{flex:0 0 15px;width:15px;height:15px;margin:0;accent-color:var(--green);}
/* Instrument switches should take only one checkbox's width. */
.sheet-quick-track{display:grid;gap:7px;padding:9px 7px;}
.sheet-quick-track-title{display:grid;grid-template-columns:15px minmax(0,1fr);gap:7px;align-items:center;width:100%;font-size:11px;}
.sheet-quick-track-title input[type=checkbox]{width:15px;height:15px;min-width:15px;max-width:15px;flex:none;margin:0;padding:0;justify-self:start;}
.sheet-quick-track-title strong{display:block;min-width:0;line-height:1.3;}
/* Highlight current bars subtly without replacing their fade gradient. */
.sheet-simple-note.sheet-note-current-treble rect{fill:url(#sheet-bar-gradient-treble)!important;stroke:none!important;opacity:.94!important;filter:drop-shadow(0 0 2px #5782ba55)!important;}
.sheet-simple-note.sheet-note-current-bass rect{fill:url(#sheet-bar-gradient-bass)!important;stroke:none!important;opacity:.94!important;filter:drop-shadow(0 0 2px #bd8a5055)!important;}

.sheet-quick-fields[hidden]{display:none!important;}
.sheet-quick-track-toggle{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;width:100%;padding:3px 0;border:0;background:transparent;color:var(--ink);text-align:left;cursor:pointer;font:700 11px/1.4 Manrope,sans-serif;}
.sheet-quick-track-toggle strong{min-width:0;overflow-wrap:anywhere;}
.sheet-quick-chevron{flex-shrink:0;font:700 17px/1 Manrope,sans-serif;color:var(--muted);transition:transform .15s;}
.sheet-quick-track-toggle[aria-expanded="true"] .sheet-quick-chevron{transform:rotate(180deg);}
.sheet-quick-track:has(.sheet-quick-fields[hidden]){padding-block:6px;}

.sheet-quick-hand-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;}
.sheet-quick-hand-button,.sheet-quick-display-buttons button{min-width:0;padding:8px 4px;border:1px solid var(--line);border-radius:7px;background:transparent;color:var(--ink);font:700 11px Manrope,sans-serif;cursor:pointer;}
.sheet-quick-hand-button.is-active,.sheet-quick-display-buttons button.is-active{border-color:var(--green);background:var(--green);color:#fff;}
.sheet-quick-display{display:grid;gap:9px;min-width:0;}
.sheet-quick-display>strong{font:800 12px Manrope,sans-serif;}
.sheet-quick-display-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;}
.sheet-quick-chords{display:flex;align-items:center;justify-content:space-between;gap:8px;font:600 11px Manrope,sans-serif;}
.sheet-quick-chords input{flex:0 0 15px;width:15px;height:15px;margin:0;accent-color:var(--green);}
.sheet-quick-track-title{grid-template-columns:16px minmax(0,1fr);align-items:center;}
.sheet-quick-track-title input[type=checkbox]{display:block;position:static;align-self:center;justify-self:center;width:15px;height:15px;margin:0;vertical-align:middle;}

.sheet-quick-hand-button{display:flex;align-items:center;justify-content:center;gap:5px;}
.sheet-quick-hand-button span[aria-hidden="true"]{font-size:15px;line-height:1;}

/* In bar view use one clean chord label per onset, above the highest bar. */
.sheet-score.sheet-visual-simple .sheet-note-label{display:none!important;}
.sheet-bar-note-label{display:none;fill:#40563a;font:700 10px Manrope,Arial,sans-serif;paint-order:stroke;stroke:#fffdf8;stroke-width:3px;stroke-linejoin:round;pointer-events:none;}
.sheet-score.shows-continuous-note-labels.sheet-visual-simple .sheet-bar-note-label{display:block;}
:root[data-theme="dark"] .sheet-bar-note-label{fill:#e5f0e0;stroke:#202a22;}

.sheet-quick-chevron{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;font:700 17px/1 Manrope,sans-serif;transform:none!important;}
.sheet-quick-track-toggle[aria-expanded="true"] .sheet-quick-chevron{transform:none!important;}

.sheet-quick-parts-count{margin:-8px 0 0;font-size:10px;}
.sheet-quick-head{padding-bottom:8px;}

/* Reserve the authenticated sidebar geometry before the user profile loads. */
@media(min-width:1051px){
  .sheet-workspace:not(.evolution-workspace):not(.sheet-layout-ready) .sheet-player{display:grid!important;grid-template-columns:260px minmax(0,1fr);gap:18px;align-items:start;width:min(1460px,calc(100% - 40px));margin:0 auto;}
  .sheet-workspace:not(.evolution-workspace):not(.sheet-layout-ready) .sheet-library-sidebar[hidden]{display:block!important;visibility:hidden;pointer-events:none;}
}

/* Biblioteca em tela inteira antes de abrir a partitura. */
.sheet-workspace:not(.evolution-workspace) .sheet-player.is-library-view{display:block!important;width:min(1180px,calc(100% - 40px))!important;max-width:1180px;margin:0 auto!important;}
.sheet-workspace:not(.evolution-workspace) .sheet-player.is-library-view .sheet-library-sidebar{display:block!important;visibility:visible!important;width:100%!important;max-height:none!important;overflow:visible;margin:0;padding:24px;border-radius:12px;}
.sheet-workspace:not(.evolution-workspace) .sheet-player.is-library-view .sheet-score{display:none!important;}
.sheet-player.is-library-view .sheet-library-head h2{font-size:20px;}
.sheet-player.is-library-view .sheet-library-search{width:100%;max-width:500px;margin:12px 0 20px;padding:12px 14px;font-size:13px;}
.sheet-library-table-head,.sheet-library-table-row{display:grid;grid-template-columns:minmax(0,3fr) 90px 140px 100px 36px;gap:14px;align-items:center;}
.sheet-library-table-head{padding:12px 14px;border-bottom:1px solid #cbd5c5;color:var(--muted);font:800 10px Manrope,sans-serif;text-transform:uppercase;}
.sheet-library-table-row{min-height:56px;padding:9px 14px;border-bottom:1px solid #e1e7de;color:var(--ink);font:600 12px Manrope,sans-serif;}
.sheet-library-table-row:hover{background:color-mix(in srgb,var(--green) 5%,transparent);}
.sheet-library-table-song{border:0;background:none;color:var(--green-dark);font:700 13px Manrope,sans-serif;text-align:left;cursor:pointer;overflow-wrap:anywhere;}
.sheet-library-table-song:hover{text-decoration:underline;}
.sheet-library-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin:18px 0;color:var(--muted);font:600 11px Manrope,sans-serif;}
.sheet-library-pagination button{padding:8px 12px;border:1px solid var(--line);border-radius:7px;background:transparent;color:var(--green-dark);font:700 11px Manrope,sans-serif;cursor:pointer;}
.sheet-library-pagination button:disabled{opacity:.35;cursor:default;}
@media(max-width:650px){.sheet-library-table-head,.sheet-library-table-row{grid-template-columns:minmax(0,1fr) 55px 30px;gap:8px;}.sheet-library-table-head>*:nth-child(3),.sheet-library-table-head>*:nth-child(4),.sheet-library-table-row>*:nth-child(3),.sheet-library-table-row>*:nth-child(4){display:none;}.sheet-player.is-library-view .sheet-library-sidebar{padding:12px!important;}}

/* Override the sidebar grid only while the full-width library is open. */
.sheet-workspace:not(.evolution-workspace) .sheet-player.is-library-view:has(.sheet-library-sidebar:not([hidden])){display:block!important;grid-template-columns:none!important;width:min(1180px,calc(100% - 40px))!important;margin:0 auto!important;}
.sheet-workspace:not(.evolution-workspace) .sheet-player.is-library-view:has(.sheet-library-sidebar:not([hidden])) .sheet-library-sidebar{width:100%!important;max-width:none!important;flex:none!important;margin:0!important;}
.sheet-render-loading:not([hidden]){position:fixed;z-index:190;top:50%;left:50%;transform:translate(-50%,-50%);padding:14px 22px;border:1px solid #cad6c5;border-radius:10px;background:#fffdf8;box-shadow:0 10px 38px #26312630;color:#354f35;font:700 13px Manrope,sans-serif;pointer-events:none;}

/* Initial state is a stable library; only opening a song activates the player. */
.sheet-workspace:not(.evolution-workspace) .sheet-player.is-library-view{display:block!important;grid-template-columns:none!important;width:min(1180px,calc(100% - 40px))!important;margin:0 auto!important;}
.sheet-workspace:not(.evolution-workspace) .sheet-player.is-library-view .sheet-library-sidebar{width:100%!important;max-width:none!important;flex:none!important;}
.sheet-library-table-head,.sheet-library-table-row{grid-template-columns:minmax(0,3fr) 90px 140px 100px 55px 32px;}
.sheet-library-rename{border:0;background:transparent;color:var(--green-dark);font:700 11px Manrope,sans-serif;cursor:pointer;}
@media(max-width:650px){.sheet-library-table-head,.sheet-library-table-row{grid-template-columns:minmax(0,1fr) 55px 46px 28px;}.sheet-library-table-head>*:nth-child(3),.sheet-library-table-head>*:nth-child(4),.sheet-library-table-row>*:nth-child(3),.sheet-library-table-row>*:nth-child(4){display:none;}}

/* Biblioteca plana: sem cartão, com ação de importação no cabeçalho. */
.sheet-workspace:not(.evolution-workspace) .sheet-player.is-library-view .sheet-library-sidebar{background:#f7f7f3!important;border:none!important;border-radius:0!important;box-shadow:none!important;padding:16px 0!important;}
.sheet-workspace:not(.evolution-workspace) .sheet-player.is-library-view{background:#f7f7f3;}
.sheet-workspace:not(.evolution-workspace) .practice-stage:has(.sheet-player.is-library-view){background:#f7f7f3;}
.sheet-player.is-library-view .sheet-library-head{align-items:center;margin:0 0 18px;flex-wrap:wrap;}
.sheet-player.is-library-view .sheet-library-head h2{display:flex;align-items:center;gap:12px;}
.sheet-library-add{border:0;border-radius:7px;padding:11px 16px;background:#637c59;color:white;font:700 12px Manrope,sans-serif;cursor:pointer;}
.sheet-library-add:hover{background:#425c39;}
.sheet-player.is-library-view .sheet-library-search{margin:0 0 14px;}
.sheet-workspace .sheet-library-browser .sheet-upload-form,#sheet-library-browser .sheet-upload-form{display:none!important;}
.sheet-player.is-library-view .sheet-library-empty:not([hidden]){display:block;margin:35px auto;padding:42px 20px;text-align:center;font:600 14px/1.6 Manrope,sans-serif;color:#566451;}
.sheet-library-rename{display:grid;place-items:center;width:30px;height:30px;padding:5px;border:none;border-radius:6px;background:transparent;color:#637c59;cursor:pointer;}
.sheet-library-rename:hover{background:#e5ebe1;}
.sheet-library-rename svg{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.sheet-library-pagination[hidden]{display:none!important;}

.sheet-player.is-library-view .sheet-library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px;}
.sheet-player.is-library-view .sheet-library-toolbar .sheet-library-search{margin:0;flex:1;min-width:0;max-width:500px;}
.sheet-player.is-library-view .sheet-library-toolbar .sheet-library-add{white-space:nowrap;}
.sheet-library-table-head button{border:none;background:transparent;color:inherit;font:inherit;text-align:left;text-transform:inherit;cursor:pointer;padding:0;}
.sheet-library-table-head button:hover{color:#637c59;}
.sheet-library-delete{display:grid;place-items:center;width:30px;height:30px;padding:5px;border:0;border-radius:6px;background:transparent;color:#a54d49;cursor:pointer;font-size:0;}
.sheet-library-delete:hover{background:#f7e6e3;}
.sheet-library-delete svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.sheet-rename-label{display:block;margin:16px 0 8px;font:700 12px Manrope,sans-serif;}
.sheet-rename-input{width:100%;padding:12px;border:1px solid #cbd5c5;border-radius:7px;background:#fff;color:#222;font:500 14px Manrope,sans-serif;}
@media(max-width:650px){.sheet-player.is-library-view .sheet-library-toolbar{flex-wrap:wrap;}.sheet-player.is-library-view .sheet-library-toolbar .sheet-library-search{max-width:none;flex-basis:100%;}}

/* Não apresentar estado vazio enquanto a biblioteca ainda consulta a API. */
#sheet-library-empty[hidden],#sheet-library-loading[hidden]{display:none!important;}
.sheet-player.is-library-view .sheet-library-loading:not([hidden]){padding:26px 0;color:#647260;font:500 12px Manrope,sans-serif;}
.sheet-workspace:not(.evolution-workspace):not(.sheet-layout-ready) .sheet-player.is-library-view{display:block!important;grid-template-columns:none!important;width:min(1180px,calc(100% - 40px))!important;margin:0 auto!important;}
.sheet-workspace:not(.evolution-workspace):not(.sheet-layout-ready) .sheet-player.is-library-view .sheet-library-sidebar{visibility:visible!important;width:100%!important;}

/* Partitura e configurações rápidas: superfície única, separada só por um traço. */
.sheet-workspace:not(.evolution-workspace):has(.sheet-player:not(.is-library-view)) .practice-stage,
.sheet-workspace:not(.evolution-workspace) .sheet-player:not(.is-library-view),
.sheet-workspace:not(.evolution-workspace) .sheet-player:not(.is-library-view) .sheet-score,
.sheet-workspace:not(.evolution-workspace) .sheet-player:not(.is-library-view) .sheet-library-sidebar,
.sheet-workspace:not(.evolution-workspace) .sheet-player:not(.is-library-view) .sheet-quick-config{background:#fffdf8!important;}
.sheet-workspace:not(.evolution-workspace) .sheet-player:not(.is-library-view) .sheet-library-sidebar{border:0!important;border-right:1px solid #d4dece!important;border-radius:0!important;box-shadow:none!important;margin-top:0!important;padding:16px 16px 16px 0!important;max-height:none!important;}
.sheet-workspace:not(.evolution-workspace) .sheet-player:not(.is-library-view){gap:0!important;}
.sheet-workspace:not(.evolution-workspace) .sheet-player:not(.is-library-view) .sheet-score{border:0!important;}

/* Biblioteca de partituras: mesmo fundo da partitura, sem faixas de cores diferentes. */
.sheet-workspace:not(.evolution-workspace) .virtual-piano-panel,
.sheet-workspace:not(.evolution-workspace) .practice-stage,
.sheet-workspace:not(.evolution-workspace) .sheet-player.is-library-view,
.sheet-workspace:not(.evolution-workspace) .sheet-player.is-library-view .sheet-library-sidebar,
.sheet-workspace:not(.evolution-workspace) .sheet-player.is-library-view #sheet-library-browser,
.sheet-workspace:not(.evolution-workspace) .sheet-player.is-library-view .sheet-library-table-head,
.sheet-workspace:not(.evolution-workspace) .sheet-player.is-library-view .sheet-library-table-row{background:#fffdf8!important;}

/* /partituras: divisor contínuo até o rodapé da área musical. */
@media(min-width:1051px){
  .sheet-workspace:not(.evolution-workspace) .sheet-player:not(.is-library-view):has(.sheet-library-sidebar:not([hidden])){
    min-height:calc(100dvh - 184px);
    align-items:stretch!important;
  }
  .sheet-workspace:not(.evolution-workspace) .sheet-player:not(.is-library-view) .sheet-library-sidebar{
    align-self:stretch;
    height:auto!important;
  }
}
/* Retira o véu em degradê sobre a partitura e os compassos. */
.sheet-workspace:not(.evolution-workspace) .sheet-score::after{content:none!important;display:none!important;}

/* Único estado de carregamento: cobre a área de trabalho sem mostrar a partitura antiga. */
.sheet-render-loading:not([hidden]){position:fixed!important;inset:0!important;top:0!important;left:0!important;transform:none!important;z-index:9999!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;background:#fffdf8!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#3f5039;font:700 17px Manrope,sans-serif;text-align:center;pointer-events:all!important;}
.sheet-render-spinner{width:38px;height:38px;border:3px solid #d9e2d5;border-top-color:#637c59;border-radius:50%;animation:sheet-spin .8s linear infinite;}
.sheet-render-is-loading .sheet-player,.sheet-render-is-loading .sheet-intro{visibility:hidden!important;}

/* Carregamento translúcido: mantém o contexto visual do site. */
.sheet-render-loading:not([hidden]){background:rgba(255,253,248,.76)!important;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);}
.sheet-render-is-loading .sheet-player,.sheet-render-is-loading .sheet-intro{visibility:visible!important;}

/* Mãos em acompanhamento: clave selecionada nítida, não selecionada atenuada. */
.sheet-notation.sheet-hand-right [data-sheet-staff="0"],
.sheet-notation.sheet-hand-left [data-sheet-staff="1"],
.sheet-notation:not(.sheet-hand-right):not(.sheet-hand-left):not(.sheet-hand-none) [data-sheet-staff]{opacity:1;}
.sheet-notation.sheet-hand-none [data-sheet-staff]{opacity:.22;transition:opacity .18s;}

.sheet-quick-visual-buttons{grid-template-columns:repeat(3,minmax(0,1fr));}
.sheet-quick-visual-buttons button{font-size:10px;padding:8px 2px;}

/* Reprodução: preservar o link Voltar do cabeçalho. */
.sheet-session-active.sheet-workspace .sheet-intro .virtual-page-back{display:inline-flex!important;}
/* A tabela não perde colunas quando o zoom reduz a largura útil do viewport. */
.sheet-player.is-library-view #sheet-library-list{display:block;min-width:0;overflow-x:auto;}
.sheet-player.is-library-view .sheet-library-table-head,
.sheet-player.is-library-view .sheet-library-table-row{display:grid;grid-template-columns:minmax(260px,1fr) minmax(85px,100px) minmax(125px,145px) minmax(75px,100px) 34px 34px;gap:12px;min-width:720px;align-items:center;}
.sheet-player.is-library-view .sheet-library-table-head>* ,
.sheet-player.is-library-view .sheet-library-table-row>*{min-width:0;}
.sheet-player.is-library-view .sheet-library-table-song{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
@media(max-width:850px){
 .sheet-player.is-library-view .sheet-library-toolbar{flex-wrap:wrap;}
 .sheet-player.is-library-view .sheet-library-toolbar .sheet-library-search{flex:1 1 280px;max-width:none;}
 .sheet-player.is-library-view .sheet-library-table-head>*:nth-child(3),
 .sheet-player.is-library-view .sheet-library-table-head>*:nth-child(4),
 .sheet-player.is-library-view .sheet-library-table-row>*:nth-child(3),
 .sheet-player.is-library-view .sheet-library-table-row>*:nth-child(4){display:block;}
}

/* Comandos de acompanhamento disponíveis somente em tela cheia. */
.sheet-focus-hands{display:none;}
html.sheet-focus-mode.sheet-workspace:not(.evolution-workspace) .sheet-focus-hands{display:flex;position:fixed;z-index:60;bottom:0;left:0;right:0;min-height:62px;align-items:center;justify-content:center;gap:10px;padding:10px 20px;background:#fffdf8;border-top:1px solid #d4dece;box-shadow:0 -3px 14px #1c32140a;}
.sheet-focus-hands-title{margin-right:14px;color:#43543e;font:700 12px Manrope,sans-serif;}
.sheet-focus-hands button{min-width:110px;padding:10px 14px;border:1px solid #becdb7;border-radius:7px;background:transparent;color:#43543e;font:700 11px Manrope,sans-serif;cursor:pointer;}
.sheet-focus-hands button.is-active{background:#637c59;border-color:#637c59;color:#fff;}
html.sheet-focus-mode.sheet-workspace:not(.evolution-workspace) .sheet-notation{padding-bottom:75px;}
@media(max-width:540px){.sheet-focus-hands-title{font-size:10px;margin-right:2px}.sheet-focus-hands button{min-width:0;padding:9px 8px}}

/* A biblioteca inicial nunca exibe piano ou controles de uma música anterior. */
html.sheet-workspace:not(.evolution-workspace):has(.sheet-player.is-library-view) .stage-piano-dock,
html.sheet-workspace:not(.evolution-workspace):has(.sheet-player.is-library-view) #sheet-config-button,
html.sheet-workspace:not(.evolution-workspace):has(.sheet-player.is-library-view) #sheet-config-panel{display:none!important;}

/* Evolução: lista própria, sem herdar o navegador de músicas enviadas */
.evolution-workspace .sheet-player{grid-template-columns:minmax(340px,440px) minmax(0,1fr)}
.evolution-list-heading h3{margin:3px 0 12px;font-size:17px;color:var(--ink)}
#evolution-search{width:100%;padding:11px;border:1px solid #cbd5c5;border-radius:7px;background:#fff;color:var(--ink);font:500 12px Manrope,sans-serif}
.evolution-table-wrap{margin-top:12px;overflow-x:auto;max-height:58vh;overflow-y:auto}
.evolution-table{width:100%;border-collapse:collapse;text-align:left;font:500 11px Manrope,sans-serif}
.evolution-table th{position:sticky;top:0;background:#f7f7f3;color:#596052;font-weight:800;padding:10px 7px;white-space:nowrap}
.evolution-table td{padding:10px 7px;border-bottom:1px solid #e7eae4}
.evolution-table tr.is-active{background:#eaf0e7}
.evolution-row-button{padding:0;border:0;background:none;color:var(--ink);cursor:pointer;text-align:left;font:700 11px/1.4 Manrope,sans-serif}
.evolution-row-button:disabled{opacity:.48;cursor:not-allowed}
.evolution-pagination{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:12px;font:500 10px Manrope,sans-serif}
.evolution-pagination button{padding:7px;border:1px solid #cbd5c5;border-radius:5px;background:#fffdf8;color:var(--ink);cursor:pointer}
.evolution-pagination button:disabled{opacity:.45;cursor:default}
.evolution-hidden-select{display:none!important}
@media(max-width:900px){.evolution-workspace .sheet-player{grid-template-columns:minmax(0,1fr)}.evolution-table-wrap{max-height:340px}}

/* Evolução compartilha a mesma apresentação da biblioteca de Partituras. */
.evolution-workspace .sheet-player.is-library-view{display:block!important;width:min(1180px,calc(100% - 40px))!important;max-width:1180px;margin:0 auto!important;padding:0 0 20px!important;grid-template-columns:none!important}
.evolution-workspace .sheet-player.is-library-view .evolution-sidebar{position:static!important;display:block;width:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:18px!important;background:#fffdf8!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.evolution-workspace .sheet-player.is-library-view .sheet-score{display:none!important}
.evolution-workspace .sheet-player.is-library-view #evolution-library-browser{width:100%;min-width:0}
.evolution-workspace .sheet-player.is-library-view .evolution-library-table-head,
.evolution-workspace .sheet-player.is-library-view .evolution-library-table-row{grid-template-columns:minmax(260px,1fr) 100px 130px!important;min-width:530px!important;background:#fffdf8}
.evolution-library-table-row.is-inactive{opacity:.35}
.evolution-library-table-row.is-inactive:hover{background:transparent!important}
.evolution-library-table-row .sheet-library-table-song:disabled{cursor:default;text-decoration:none}
.evolution-library-table-row.is-active:not(.is-inactive){background:#eaf0e7!important}
.evolution-workspace .evolution-sidebar #evolution-page-label,
.evolution-workspace .evolution-sidebar #evolution-section-title{display:none}
.evolution-workspace .sheet-player:not(.is-library-view) .evolution-sidebar{display:block}
.evolution-workspace .sheet-player:not(.is-library-view) #evolution-library-browser{display:none}
@media(max-width:650px){.evolution-workspace .sheet-player.is-library-view .evolution-sidebar{padding:12px!important}}

.evolution-workspace .sheet-player:not(.is-library-view){grid-template-columns:240px minmax(0,1fr)!important}
.evolution-workspace .sheet-player:not(.is-library-view) #evolution-back-list{display:block;margin:0 0 12px}
.evolution-workspace #evolution-back-list[hidden]{display:none!important}
.evolution-workspace .sheet-player:not(.is-library-view) .sheet-score{display:block!important}
@media(max-width:900px){.evolution-workspace .sheet-player:not(.is-library-view){grid-template-columns:minmax(0,1fr)!important}}

/* Evolução: reproduzir a biblioteca plana de Partituras, sem card. */
html.evolution-workspace #sheet-library-sidebar{display:none!important}
html.evolution-workspace .sheet-player.is-library-view,
html.evolution-workspace .sheet-player.is-library-view .evolution-sidebar,
html.evolution-workspace .practice-stage:has(.sheet-player.is-library-view){background:#f7f7f3!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html.evolution-workspace .sheet-player.is-library-view .evolution-sidebar{padding:16px 0!important}
html.evolution-workspace:has(.sheet-player.is-library-view) .stage-piano-dock{display:none!important}
html.evolution-workspace .sheet-player:not(.is-library-view) .stage-piano-dock.is-minimized{display:none!important}

/* Bibliotecas separadas, mesma apresentação plana. */
html.evolution-workspace .sheet-player.is-library-view .evolution-sidebar,
html.evolution-workspace .sheet-player.is-library-view .evolution-library-table-head,
html.evolution-workspace .sheet-player.is-library-view .evolution-library-table-row{
 background:#fffdf8!important;
 border-radius:0!important;
 box-shadow:none!important;
}
html.evolution-workspace .sheet-player.is-library-view .evolution-sidebar{padding:16px 0!important;border:0!important}
html.evolution-workspace .sheet-player.is-library-view{background:#fffdf8!important}
html.evolution-workspace .sheet-player.is-library-view .evolution-library-table-row.is-inactive{opacity:.35}
html.evolution-workspace .sheet-player.is-library-view .evolution-library-table-row.is-inactive .sheet-library-table-song{pointer-events:none}
html.evolution-workspace .sheet-player.is-library-view #evolution-library-browser .sheet-library-list{display:block;overflow-x:auto;min-width:0}

html.evolution-workspace .sheet-player.is-library-view .evolution-library-table-head,
html.evolution-workspace .sheet-player.is-library-view .evolution-library-table-row{
 grid-template-columns:minmax(240px,1fr) 90px 100px 145px 100px!important;
 min-width:720px!important;
}

/* Acompanhamento: halo nítido nas teclas esperadas, sem ocultar a nota pressionada. */
.sheet-workspace .stage-key.is-expected:not(.is-follow-match){position:relative;z-index:3;filter:drop-shadow(0 0 3px #659ee899);}
.sheet-workspace .stage-key.is-expected-bass:not(.is-follow-match){filter:drop-shadow(0 0 3px #d8a46599);}
.sheet-workspace .stage-key.is-follow-wrong,.sheet-workspace .stage-key.is-follow-wrong.is-local{position:relative;z-index:5;background:#e25656!important;border-color:#b62e2e!important;box-shadow:inset 0 0 0 2px #ac2525,0 0 13px #df4141aa!important;filter:none!important;}
/* Piano: o realce de uma tecla branca nunca deve cobrir as pretas adjacentes. */
.sheet-workspace .stage-white-key,
.sheet-workspace .stage-white-key.is-expected,
.sheet-workspace .stage-white-key.is-follow-wrong {z-index:1!important;}
.sheet-workspace .stage-black-key,
.sheet-workspace .stage-black-key.is-expected,
.sheet-workspace .stage-black-key.is-follow-wrong {z-index:6!important;}
.sheet-workspace .stage-white-key.is-expected:not(.is-follow-match) {filter:none!important;box-shadow:inset 0 0 0 2px #c89b63, inset 0 0 10px #d8a46566!important;}
.sheet-workspace .stage-white-key.is-expected-treble:not(.is-follow-match) {box-shadow:inset 0 0 0 2px #5782ba, inset 0 0 10px #659ee866!important;}
/* Erro sempre prevalece sobre a indicação da tecla esperada, sem elevar teclas brancas. */
.sheet-workspace .stage-white-key.is-follow-wrong,
.sheet-workspace .stage-white-key.is-follow-wrong.is-expected,
.sheet-workspace .stage-white-key.is-follow-wrong.is-expected-treble,
.sheet-workspace .stage-white-key.is-follow-wrong.is-expected-bass,
.sheet-workspace .stage-black-key.is-follow-wrong {
  background:#e25656!important;
  border-color:#b62e2e!important;
  box-shadow:inset 0 0 0 2px #ac2525, inset 0 0 9px #ffb5b5!important;
  filter:none!important;
}

/* Seleção de notação: mesmo visual dos selects das configurações. */
.sheet-workspace .sheet-quick-chords:has(select){display:block;width:100%;margin:10px 0 0;}
.sheet-workspace .sheet-quick-chords select,
.sheet-workspace .sheet-continuous-option select{box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;height:36px;padding:7px 32px 7px 10px;border:1px solid #cbd5c5;border-radius:5px;color:var(--green-dark);background:#fffdf8;font:600 11px Manrope,sans-serif;cursor:pointer;}
.sheet-workspace .sheet-quick-chords select:focus-visible,
.sheet-workspace .sheet-continuous-option select:focus-visible{outline:2px solid var(--green);outline-offset:2px;}
.sheet-config-panel .sheet-continuous-option{width:100%;}

/* O modo contínuo amplia o conjunto inteiro; Canvas e área visível crescem juntos. */
.sheet-workspace .sheet-score.is-continuous{height:min(670px,calc(100dvh - 145px));min-height:min(580px,calc(100dvh - 145px));}
html.sheet-focus-mode.sheet-workspace .sheet-score.is-continuous{height:100dvh!important;min-height:100dvh!important;}
html.sheet-focus-mode.sheet-workspace .sheet-score.is-continuous .sheet-notation{align-items:center;justify-content:center;padding:45px 0 65px;}
/* Playhead contínuo: faixa ligeiramente mais larga com degradê lateral suave. */
.sheet-workspace .sheet-score.is-continuous:before{
  width:34px;
  background:linear-gradient(90deg,transparent 0%,#637c5910 14%,#637c5935 35%,#637c59aa 47%,#637c59 50%,#637c59aa 53%,#637c5935 65%,#637c5910 86%,transparent 100%);
}
html[data-theme="dark"].sheet-workspace .sheet-score.is-continuous:before{
  background:linear-gradient(90deg,transparent 0%,#4e8fe615 14%,#4e8fe644 35%,#4e8fe6b0 47%,#4e8fe6 50%,#4e8fe6b0 53%,#4e8fe644 65%,#4e8fe615 86%,transparent 100%)!important;
}

/* Faixa de antecipação: largura ampliada com centro translúcido e bordas suaves. */
.sheet-workspace .sheet-score.is-continuous:before{
 width:56px;
 background:linear-gradient(90deg,transparent 0%,#637c590c 12%,#637c5922 28%,#637c5940 44%,#637c5970 49%,#637c5970 51%,#637c5940 56%,#637c5922 72%,#637c590c 88%,transparent 100%);
}
html[data-theme="dark"].sheet-workspace .sheet-score.is-continuous:before{
 background:linear-gradient(90deg,transparent 0%,#4e8fe610 12%,#4e8fe62a 28%,#4e8fe64a 44%,#4e8fe680 49%,#4e8fe680 51%,#4e8fe64a 56%,#4e8fe62a 72%,#4e8fe610 88%,transparent 100%)!important;
}

/* A tecla preta permanece absoluta mesmo quando marcada ou pressionada. */
.stage-piano .stage-key.stage-black-key,
.sheet-workspace .stage-key.stage-black-key.is-expected,
.sheet-workspace .stage-key.stage-black-key.is-follow-wrong{position:absolute!important;transform:translateX(-50%)!important;}
.sheet-workspace .sheet-played-label-option{display:flex;align-items:center;gap:8px;margin:10px 0;font:600 11px Manrope,sans-serif;color:var(--green-dark);}
.sheet-workspace .sheet-played-label-option input{accent-color:var(--green);}

/* Tela cheia: a barra das mãos fica imediatamente acima do piano visível. */
html.sheet-focus-mode.sheet-workspace .sheet-focus-hands{bottom:var(--sheet-focus-piano-height,0px)!important;}
html.sheet-focus-mode.sheet-workspace .sheet-score .sheet-notation{
  box-sizing:border-box;height:calc(100dvh - var(--sheet-focus-piano-height,0px) - 62px)!important;
  max-height:calc(100dvh - var(--sheet-focus-piano-height,0px) - 62px);
  padding-bottom:18px!important;
}
html.sheet-focus-mode.sheet-workspace .sheet-score.is-continuous .sheet-notation{
  align-items:center!important;justify-content:center!important;
  padding-top:12px!important;padding-bottom:12px!important;
}

/* A faixa contínua tem extremidades arredondadas, inclusive com o degradê. */
.sheet-workspace .sheet-score.is-continuous::before{border-radius:28px;overflow:hidden;}
/* Preserva o degradê horizontal e suaviza apenas topo e base. */
.sheet-workspace .sheet-score.is-continuous::before{
  -webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 12%,#000 88%,transparent 100%);
  mask-image:linear-gradient(to bottom,transparent 0%,#000 12%,#000 88%,transparent 100%);
}
/* Representação das notas na partitura tradicional: menor e sem negrito. */
.sheet-score:not(.sheet-visual-simple) .sheet-note-label{font:400 12px Manrope,Arial,sans-serif;}


/* Alternancia entre biblioteca pessoal e catalogo gratuito. */
.sheet-library-switch{display:flex;gap:5px;border:1px solid #cbd5c5;border-radius:10px;padding:4px;margin-bottom:16px;width:max-content;max-width:100%;background:#f7f7f3}
.sheet-library-switch button{border:0;background:transparent;border-radius:7px;padding:9px 15px;font:700 12px Manrope,sans-serif;color:#51604e;cursor:pointer}
.sheet-library-switch button.is-active{background:#637c59;color:white}
.sheet-library-free-row .sheet-library-table-song small{display:block;font-size:10px;font-weight:500;color:var(--muted);padding-top:3px}
.sheet-library-free-row .sheet-library-table-song{display:block;text-align:left}
.sheet-library-free-row .sheet-library-table-song span{display:block}
.sheet-library-free-row .sheet-library-level{font-size:11px;color:var(--muted)}

/* Dificuldade das músicas gratuitas: cores discretas e acessíveis. */
.sheet-library-free-row .sheet-library-level{display:flex;align-items:center;justify-content:flex-start;white-space:nowrap;}
.sheet-difficulty-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:5px 10px;font:700 10px Manrope,Arial,sans-serif;letter-spacing:.01em;border:1px solid transparent;white-space:nowrap;}
.sheet-difficulty-iniciante{background:#e5f2e4;color:#27633c;border-color:#bbdaba;}
.sheet-difficulty-intermediario{background:#fff0cb;color:#805300;border-color:#eed38c;}
.sheet-difficulty-avancado{background:#fae4e3;color:#983b37;border-color:#ebbfbb;}
.sheet-difficulty-indefinido{background:#eceeeb;color:#535d52;border-color:#d7dbd4;}
.sheet-player.is-library-view .sheet-library-free-head,.sheet-player.is-library-view .sheet-library-free-row{grid-template-columns:minmax(260px,1fr) minmax(85px,100px) minmax(125px,145px) minmax(75px,100px) 110px 0px;}
@media(max-width:650px){.sheet-player.is-library-view .sheet-library-free-head,.sheet-player.is-library-view .sheet-library-free-row{grid-template-columns:minmax(260px,1fr) 90px 135px 80px 110px 0px;}}

/* Nível junto ao título, sem coluna extra: mesma grade de Minhas músicas. */
.sheet-player.is-library-view .sheet-library-free-head,.sheet-player.is-library-view .sheet-library-free-row{grid-template-columns:minmax(260px,1fr) minmax(85px,100px) minmax(125px,145px) minmax(75px,100px) 34px 34px;}
.sheet-library-free-row .sheet-library-table-song .sheet-library-free-title{display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px;}
.sheet-library-free-row .sheet-library-free-title .sheet-difficulty-badge{display:inline-flex;flex:none;}
@media(max-width:650px){.sheet-player.is-library-view .sheet-library-free-head,.sheet-player.is-library-view .sheet-library-free-row{grid-template-columns:minmax(260px,1fr) 90px 135px 80px 34px 34px;}}

/* Badge independente do link, sempre na extrema direita da célula Música. */
.sheet-library-free-row .sheet-library-free-cell{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0;width:100%}
.sheet-library-free-row .sheet-library-free-cell .sheet-library-table-song{min-width:0;flex:1;text-decoration:none}
.sheet-library-free-row .sheet-library-free-cell .sheet-library-table-song:hover{text-decoration:underline}
.sheet-library-free-row .sheet-library-free-cell .sheet-difficulty-badge{display:inline-flex;flex:none;align-self:center;text-decoration:none!important}

/* Créditos à esquerda do título: ações independentes, sem sublinhado no badge e no ícone. */
.sheet-library-free-row .sheet-library-free-cell{display:block;min-width:0}
.sheet-library-free-row .sheet-library-free-title-row{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:7px;min-width:0}
.sheet-library-free-row .sheet-library-free-title-row .sheet-library-table-song{flex:0 1 auto;min-width:0;width:auto}
.sheet-library-free-row .sheet-library-free-cell>small{display:block;font:500 10px Manrope,Arial,sans-serif;color:var(--muted);margin-top:5px}
.sheet-library-free-row .sheet-library-free-title-row .sheet-difficulty-badge{align-self:center;flex:none;text-decoration:none!important}
.sheet-library-source-info{width:19px;height:19px;display:inline-flex;justify-content:center;align-items:center;flex:none;border-radius:50%;border:1px solid #9aab94;background:transparent;color:#536c4d;font:700 11px Georgia,serif;cursor:pointer;text-decoration:none!important;padding:0}
.sheet-library-source-info:hover,.sheet-library-source-info:focus-visible{background:#e6efe1;border-color:#637c59;outline-offset:2px}
.sheet-free-credits-dialog{width:min(450px,calc(100% - 32px));border:1px solid #ccd9c6;border-radius:13px;padding:24px;background:#fffdf8;color:#32402f;box-shadow:0 15px 55px #17231b55;font:500 13px Manrope,Arial,sans-serif}
.sheet-free-credits-dialog::backdrop{background:#111a12a0}
.sheet-free-credits-dialog h2{font-size:18px;margin:0 0 16px}
.sheet-free-credits-dialog h3{font-size:15px;margin:0 0 14px}
.sheet-free-credits-dialog p{margin:9px 0;line-height:1.5}
.sheet-free-credits-dialog a{display:block;margin-top:12px;color:#486d41}
.sheet-free-credits-close{display:block;margin:20px 0 0 auto;border:0;border-radius:7px;padding:10px 18px;background:#637c59;color:white;cursor:pointer}

/* Biblioteca free: nome + info discretos à esquerda; dificuldade fixa à direita. */
.sheet-library-free-row .sheet-library-free-title-row{
  display:flex;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:7px;width:100%;min-width:0;
}
.sheet-library-free-row .sheet-library-free-title-row .sheet-library-table-song{
  flex:0 1 auto;min-width:0;width:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.sheet-library-free-row .sheet-library-free-title-row .sheet-difficulty-badge{
  margin-left:auto;flex:0 0 auto;align-self:center;text-decoration:none!important;
}
.sheet-library-free-row .sheet-library-source-info{
  width:15px;height:15px;flex:0 0 15px;border-color:#d4dbd0;color:#9ba79a;
  background:transparent;font:500 9px Georgia,serif;opacity:.7;
}
.sheet-library-free-row .sheet-library-source-info:hover,
.sheet-library-free-row .sheet-library-source-info:focus-visible{
  opacity:1;border-color:#81957b;color:#536c4d;background:#eff3ed;
}

/* Alinhamento da célula: título à esquerda e compositor levemente recuado. */
.sheet-library-free-row .sheet-library-free-cell{text-align:left}
.sheet-library-free-row .sheet-library-free-title-row{justify-content:flex-start;text-align:left}
.sheet-library-free-row .sheet-library-free-title-row .sheet-library-table-song{text-align:left;margin:0;padding:0}
.sheet-library-free-row .sheet-library-free-cell>small{margin-left:12px;text-align:left}

/* Filtros de dificuldade junto à pesquisa, mantendo os badges da tabela. */
.sheet-player.is-library-view .sheet-library-toolbar .sheet-free-difficulty-filters:not([hidden]){
  display:flex;align-items:center;gap:8px;flex:0 0 auto;flex-wrap:wrap;
}
.sheet-free-difficulty-filters button.sheet-difficulty-badge{
  appearance:none;cursor:pointer;opacity:.72;transition:opacity .15s,box-shadow .15s,transform .15s;
}
.sheet-free-difficulty-filters button.sheet-difficulty-badge:hover{opacity:1}
.sheet-free-difficulty-filters button.sheet-difficulty-badge.is-active{
  opacity:1;box-shadow:0 0 0 2px #637c59 inset;
}
.sheet-free-difficulty-filters button.sheet-difficulty-badge:focus-visible{outline:2px solid #637c59;outline-offset:3px}
@media(max-width:760px){
 .sheet-player.is-library-view .sheet-library-toolbar .sheet-free-difficulty-filters:not([hidden]){flex:1 1 100%}
}

/* Player compacto de pré-escuta, independente do título e da partitura. */
.sheet-list-preview-button{flex:0 0 27px;width:27px;height:27px;padding:0;border:1px solid #bdccb7;border-radius:50%;background:#eff4eb;color:#536c4d;display:inline-flex;align-items:center;justify-content:center;font:700 11px Manrope,Arial,sans-serif;cursor:pointer;line-height:1}
.sheet-list-preview-button:hover{background:#e2eddb;border-color:#637c59}
.sheet-list-preview-button.is-playing{background:#637c59;color:white;border-color:#637c59}
.sheet-list-preview-button:focus-visible{outline:2px solid #637c59;outline-offset:2px}
.sheet-library-personal-cell{display:flex;align-items:center;gap:9px;min-width:0}
.sheet-library-personal-cell .sheet-library-table-song{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sheet-library-free-row .sheet-library-free-title-row .sheet-list-preview-button{flex:0 0 27px}

/* Pré-escuta discreta: tamanho, alinhamento e recuo iguais nas duas bibliotecas. */
.sheet-player.is-library-view .sheet-list-preview-button{
  box-sizing:border-box;width:19px;height:19px;min-width:19px;flex:0 0 19px;
  border:1px solid #d2dbcd;border-radius:5px;background:transparent;
  color:#82917d;font:600 9px Manrope,Arial,sans-serif;
  line-height:1;vertical-align:middle;align-self:center;
  padding:0;box-shadow:none;opacity:.75;
}
.sheet-player.is-library-view .sheet-list-preview-button:hover{
  background:#edf3e9;color:#536c4d;border-color:#aebfa7;opacity:1;
}
.sheet-player.is-library-view .sheet-list-preview-button.is-playing{
  background:#e6eee1;color:#42683c;border-color:#aabda3;opacity:1;
}
.sheet-player.is-library-view .sheet-library-personal-cell,
.sheet-player.is-library-view .sheet-library-free-title-row{
  display:flex;align-items:center;justify-content:flex-start;gap:8px;
}
.sheet-player.is-library-view .sheet-library-free-title-row .sheet-list-preview-button{
  flex:0 0 19px;
}
.sheet-player.is-library-view .sheet-library-free-cell>small{
  margin-left:27px;
}

/* Ajuste óptico dos símbolos de pré-escuta: play +1px à direita, stop +1px. */
.sheet-player.is-library-view .sheet-list-preview-button:not(.is-playing){padding-left:2px;}
.sheet-player.is-library-view .sheet-list-preview-button.is-playing{font-size:10px;padding:0;text-align:center;}

/* Ajuste óptico apenas do quadrado interno do botão Stop. */
.sheet-player.is-library-view .sheet-list-preview-button.is-playing{font-size:0;}
.sheet-player.is-library-view .sheet-list-preview-button.is-playing::after{content:'■';font:600 11px Manrope,Arial,sans-serif;line-height:1;position:relative;top:-1px;}

/* Stop: quadrado interno +1px, mantendo deslocamento vertical de -1px. */
.sheet-player.is-library-view .sheet-list-preview-button.is-playing::after{font-size:12px;}

/* Editor MIDI v1: janela de 1 a 8 compassos, sem re-renderizacao do restante. */
.sheet-midi-editor[hidden]{display:none!important}
.sheet-midi-editor{position:fixed;inset:0;z-index:3000;display:flex;align-items:center;justify-content:center;background:rgba(23,32,23,.62);padding:18px}
.sheet-midi-editor-panel{width:min(1440px,98vw);height:min(820px,94vh);display:flex;flex-direction:column;background:#fffdf8;color:#29352a;border-radius:14px;box-shadow:0 15px 60px rgba(0,0,0,.24);overflow:hidden}
.sheet-midi-editor-head{display:flex;justify-content:space-between;align-items:start;padding:15px 20px 12px;border-bottom:1px solid #d5ddce}
.sheet-midi-editor-head h2{font:600 22px Manrope,Arial,sans-serif;margin:3px 0}
.sheet-midi-editor-head small{font:600 10px Manrope,Arial,sans-serif;letter-spacing:1.5px;color:#637c59}
.sheet-midi-editor-head p{margin:4px 0 0;color:#647064;font-size:12px}
#sheet-editor-close{border:0;background:none;font-size:29px;cursor:pointer;color:inherit}
.sheet-midi-editor-toolbar{display:flex;align-items:center;gap:7px;padding:10px 16px;border-bottom:1px solid #d5ddce;flex-wrap:wrap}
.sheet-midi-editor-toolbar button,.sheet-midi-editor-footer button{border:1px solid #aebfa8;border-radius:7px;background:#f7f7f3;padding:8px 11px;color:#293b2e;font:500 12px Manrope,Arial,sans-serif;cursor:pointer}
.sheet-midi-editor-toolbar button:disabled{opacity:.4;cursor:not-allowed}
.sheet-midi-editor-spacer{flex:1}
.sheet-midi-editor-viewport{min-height:260px;flex:1;overflow:auto;background:#fffdf8;overscroll-behavior:contain}
#sheet-editor-svg{display:block;touch-action:pan-x;user-select:none;min-height:330px}
#sheet-editor-svg .midi-edit-note{cursor:ns-resize;touch-action:none}
#sheet-editor-svg .midi-edit-note.selected ellipse{fill:#8741bb;stroke:#8741bb;stroke-width:2}
#sheet-editor-svg .midi-edit-note.selected line{stroke:#8741bb}
#sheet-editor-svg .midi-edit-note.selected text{fill:#8741bb}
#sheet-editor-svg .midi-edit-note.selected:hover ellipse{fill:#8741bb;stroke:#8741bb;stroke-width:2}
#sheet-editor-svg .midi-edit-note.removed{opacity:.24}
#sheet-editor-svg .midi-edit-note:hover ellipse{stroke:#637c59;stroke-width:2.5}
.sheet-midi-editor-footer{display:flex;align-items:center;gap:12px;min-height:62px;border-top:1px solid #d5ddce;padding:10px 16px}
.sheet-midi-editor-footer p{font-size:12px;line-height:1.45;color:#526154;margin:0;flex:1}
#sheet-editor-save{background:#637c59;color:white;border-color:#637c59}
@media(max-width:700px){.sheet-midi-editor{padding:4px}.sheet-midi-editor-panel{width:100vw;height:98vh}.sheet-midi-editor-footer{flex-wrap:wrap}.sheet-midi-editor-footer p{flex-basis:100%}}

/* Botões de versão seguem o padrão Partitura / Contínuo da lateral. */
.sheet-quick-versions{grid-template-columns:repeat(2,minmax(0,1fr))}

/* Compartilhamento de música entre contas — não disponível para Free. */
.sheet-upload-share-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.sheet-upload-share-row .sheet-upload-status{margin-top:10px}
.sheet-share-button{display:inline-flex;align-items:center;gap:6px;margin-top:9px;padding:5px 9px;border:1px solid #c2cdbb;border-radius:6px;color:#4c6747;background:#fffdf8;font:700 11px Manrope,Arial,sans-serif;cursor:pointer}
.sheet-share-button[hidden]{display:none!important}
.sheet-share-button:hover{border-color:#637c59;background:#edf4e9}
.sheet-share-dialog{width:min(520px,calc(100vw - 30px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #cfd8c9;border-radius:11px;background:#fffdf8;color:#303d30;box-shadow:0 22px 75px #17261755}
.sheet-share-dialog::backdrop{background:#18241c9c}
.sheet-share-dialog form{padding:20px;overflow-y:auto;max-height:calc(100dvh - 34px)}
.sheet-share-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.sheet-share-head small{color:#637c59;font:800 10px Manrope,Arial,sans-serif;letter-spacing:.09em}
.sheet-share-head h2{font:750 21px Manrope,Arial,sans-serif;margin:5px 0}
.sheet-share-head p{font:500 12px Manrope,Arial,sans-serif;color:#687463;margin:0}
#sheet-share-close{background:none;border:0;color:#657161;font-size:26px;cursor:pointer}
.sheet-share-copyright{margin:17px 0 13px;padding:14px;max-height:230px;overflow-y:auto;white-space:pre-line;border:1px solid #d7dfd1;border-radius:7px;background:#f5f6f1;color:#454e42;font:500 12px/1.6 Manrope,Arial,sans-serif}
.sheet-share-ack{display:flex;gap:9px;align-items:flex-start;color:#3c493a;font:650 12px/1.5 Manrope,Arial,sans-serif;cursor:pointer}
.sheet-share-ack input{margin-top:2px;accent-color:#637c59}
.sheet-share-email-label{display:block;margin:17px 0 6px;font:750 11px Manrope,Arial,sans-serif}
#sheet-share-email{display:block;box-sizing:border-box;width:100%;padding:11px;border:1px solid #bfcfba;border-radius:7px;background:#fff;color:#283628;font:500 13px Manrope,Arial,sans-serif}
#sheet-share-email:disabled{opacity:.45;cursor:not-allowed}
.sheet-share-message{margin:10px 0 0;color:#a65449;font:650 12px Manrope,Arial,sans-serif}
.sheet-share-message.is-success{color:#3d743b}
.sheet-share-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}
.sheet-share-actions button{border:1px solid #c1cdbc;border-radius:7px;padding:9px 15px;background:transparent;color:#385337;font:700 12px Manrope,Arial,sans-serif;cursor:pointer}
#sheet-share-submit{background:#637c59;color:#fff;border-color:#637c59}
#sheet-share-submit:disabled{opacity:.4;cursor:not-allowed}

/* Controles da nota selecionada: inserir, altura, posição e duração. */
.sheet-editor-note-tools[hidden]{display:none!important}
.sheet-editor-note-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap;border-left:1px solid #cbd6c5;padding-left:10px}
#sheet-editor-note-info{font:650 11px/1.4 Manrope,Arial,sans-serif;color:#634183;white-space:nowrap}
.sheet-editor-note-tools label{display:flex;align-items:center;gap:5px;font:650 11px Manrope,Arial,sans-serif}
#sheet-editor-duration{padding:6px 4px;min-width:112px;border:1px solid #c2cfbd;border-radius:6px;background:#fffdf8;color:#344333;font:650 11px Manrope,Arial,sans-serif}
.sheet-editor-note-tools button{padding:6px 9px;font-size:15px}
#sheet-editor-svg .midi-edit-note:not(.selected){cursor:pointer}
#sheet-editor-svg .midi-edit-note.selected{cursor:move}

/* Barra do editor invariavel: ferramentas de nota ficam abaixo da partitura. */
.sheet-editor-selection-panel[hidden]{display:none!important}
.sheet-editor-selection-panel{flex:0 0 auto;border-top:1px solid #d5ddce;background:#f7f8f4;padding:10px 16px;display:flex;flex-direction:column;gap:8px}
.sheet-editor-selection-head{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.sheet-editor-selection-head strong{font:750 12px Manrope,Arial,sans-serif;color:#554071}
.sheet-editor-selection-head span{font:500 11px Manrope,Arial,sans-serif;color:#657361}
.sheet-editor-selection-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.sheet-editor-selection-row .sheet-editor-note-tools{border-left:0;padding-left:0}
.sheet-editor-selection-row button{border:1px solid #aebfa8;border-radius:7px;background:#fffdf8;padding:7px 11px;color:#293b2e;font:600 12px Manrope,Arial,sans-serif;cursor:pointer}
.sheet-editor-selection-row button:disabled{opacity:.4;cursor:not-allowed}

/* Barra da nota: largura reservada à informação e eixo único centralizado. */
.sheet-editor-selection-panel{gap:7px}
.sheet-editor-selection-row{display:flex;align-items:center;align-content:center;flex-wrap:nowrap;gap:12px;min-height:40px}
.sheet-editor-note-summary{flex:0 0 250px;width:250px;min-width:0;display:flex;align-items:center;min-height:34px;padding-right:12px;border-right:1px solid #d4ddcf}
#sheet-editor-note-info{display:block;width:100%;white-space:normal;line-height:1.45;overflow-wrap:normal;font-size:11px}
.sheet-editor-selection-row .sheet-editor-note-tools{display:flex;align-items:center;align-content:center;flex:0 0 auto;min-height:34px;gap:12px}
.sheet-editor-note-tools label{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.sheet-editor-direction,.sheet-editor-note-actions{display:flex;align-items:center;gap:6px;white-space:nowrap}
.sheet-editor-selection-row button{height:34px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
.sheet-editor-direction button{width:36px;padding:0}
.sheet-editor-note-actions{margin-left:0}
.sheet-editor-note-actions button{padding:0 11px}
#sheet-editor-duration{height:34px;width:131px}
@media(max-width:1050px){
  .sheet-editor-selection-row{flex-wrap:wrap;row-gap:8px}
  .sheet-editor-note-summary{flex-basis:225px;width:225px}
}
@media(max-width:600px){
  .sheet-editor-note-summary{flex-basis:100%;width:100%;border-right:0;border-bottom:1px solid #d4ddcf;padding:0 0 7px}
  .sheet-editor-selection-row .sheet-editor-note-tools{flex-wrap:wrap}
}
/* Remover margens herdadas dos campos para centralizar perfeitamente o select. */
.sheet-editor-selection-row .sheet-editor-note-tools label{height:34px;min-height:34px;margin:0;padding:0;display:inline-flex;align-items:center;justify-content:center;line-height:1}
.sheet-editor-selection-row #sheet-editor-duration{box-sizing:border-box;flex:0 0 131px;height:34px;margin:0;vertical-align:middle}
