:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#20242a;background:#f4f2ed;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(90deg,rgba(32,36,42,.04) 1px,transparent 1px),linear-gradient(180deg,rgba(32,36,42,.035) 1px,transparent 1px),#f4f2ed;background-size:34px 34px}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}.app-shell{display:grid;grid-template-columns:340px minmax(0,1fr);min-height:100vh}.side-panel{display:flex;flex-direction:column;gap:22px;padding:24px;background:#20242a;color:#f9f5ec;border-right:1px solid rgba(255,255,255,.08);overflow-y:auto}.brand-row{display:flex;align-items:center;gap:13px}.brand-mark{display:grid;width:44px;height:44px;place-items:center;background:#e7b65c;color:#20242a;border-radius:8px}.brand-row h1{margin:0;font-size:20px;line-height:1.1;letter-spacing:0}.brand-row p,.path-text,.status-copy,.error-copy{margin:5px 0 0;color:#f9f5eca6;font-size:12px;line-height:1.45}.upload-section,.control-section,.status-section,.meta-section,.warning-section,.track-section,.arrange-section{display:flex;flex-direction:column;gap:12px}.field-label,.section-title{display:flex;align-items:center;gap:8px;color:#f9f5ecb8;font-size:12px;font-weight:700;line-height:1;text-transform:uppercase}.primary-button,.drop-zone{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:46px;border:1px solid rgba(249,245,236,.14);border-radius:8px;background:#e7b65c;color:#20242a;font-size:14px;font-weight:800;cursor:pointer;transition:transform .15s ease,background .15s ease,border-color .15s ease}.primary-button:disabled{cursor:progress;opacity:.76}.primary-button:not(:disabled):hover,.drop-zone:hover{transform:translateY(-1px);background:#f0c878}.drop-zone{min-height:88px;flex-direction:column;background:#f9f5ec12;color:#f9f5ec;border-style:dashed;text-align:center}.drop-zone.dragging{background:#e7b65c2e;border-color:#e7b65cc7;box-shadow:inset 0 0 0 1px #e7b65c47}.drop-zone small{color:#f9f5ec99;font-size:12px;font-weight:600}.drop-zone.compact{min-height:56px;flex-direction:row}.drop-zone.compact small{margin-left:2px}.drop-zone input{display:none}.range-field,.select-field,.transport-options label{display:grid;gap:8px;color:#f9f5ecad;font-size:12px}.range-field{grid-template-columns:1fr auto}.range-field input{grid-column:1 / -1}.select-field select{height:36px;padding:0 10px;border:1px solid rgba(249,245,236,.14);border-radius:8px;background:#f9f5ec12;color:#f9f5ec;font-size:13px;font-weight:700}select option{background:#20242a;color:#f9f5ec}.engine-note,.analysis-note{color:#f9f5ec9e;font-size:12px;line-height:1.45}.analysis-note{padding:9px 10px;border:1px solid rgba(249,245,236,.1);border-radius:8px;background:#f9f5ec0e;color:#f9f5ecc7;font-weight:800}.engine-options{display:grid;gap:8px}.engine-option{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:center;padding:0;border:1px solid rgba(249,245,236,.1);border-radius:8px;background:#f9f5ec0e;transition:background .15s ease,border-color .15s ease,transform .15s ease}.engine-option.selected{border-color:#e7b65cb8;background:#e7b65c24}.engine-option:hover{transform:translateY(-1px);border-color:#f9f5ec38;background:#f9f5ec16}.engine-option input{accent-color:#e7b65c}.engine-choice{display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px;align-items:center;min-width:0;padding:10px 0 10px 10px;cursor:pointer}.engine-copy{display:grid;min-width:0;gap:3px}.engine-copy strong{color:#f9f5ec;font-size:13px}.engine-copy span{color:#f9f5ec94;font-size:12px}.engine-help{position:relative;display:inline-grid;width:24px;height:24px;place-items:center;border:1px solid rgba(249,245,236,.14);border-radius:50%;margin-right:10px;background:transparent;color:#f9f5ecd1;cursor:help}.tooltip-panel{position:absolute;right:0;bottom:calc(100% + 9px);z-index:20;display:none;width:min(280px,78vw);padding:12px;color:#20242a;background:#fffdf8;border:1px solid rgba(32,36,42,.13);border-radius:8px;box-shadow:0 18px 46px #00000038;font-size:12px;font-weight:650;line-height:1.5}.engine-option:hover .tooltip-panel,.engine-option:focus-within .tooltip-panel,.engine-help:hover .tooltip-panel,.engine-help:focus .tooltip-panel,.engine-help:focus-within .tooltip-panel{display:block}input[type=range]{accent-color:#e7b65c}.status-row,.metric-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.status-row{justify-content:flex-start;color:#f9f5ecc7;text-transform:capitalize}.metric-row.warning{color:#f1c45f}.warning-section{padding:12px;border:1px solid rgba(241,196,95,.35);border-radius:8px;background:#f1c45f14;color:#ffefc4f0;font-size:12px;line-height:1.55}.warning-section p{margin:0}.status-dot{width:9px;height:9px;border-radius:50%;background:#6e747c}.status-dot.completed{background:#65c083}.status-dot.failed{background:#e06666}.status-dot.transcribing,.status-dot.preprocessing,.status-dot.postprocessing,.status-dot.exporting,.status-dot.inspecting,.status-dot.queued{background:#e7b65c}.progress-track{height:8px;overflow:hidden;background:#f9f5ec1c;border-radius:999px}.progress-fill{height:100%;background:linear-gradient(90deg,#e7b65c,#7cc3b0);transition:width .3s ease}.error-copy{color:#ffb1a9}.metric-row{color:#f9f5eca3}.metric-row strong{max-width:165px;color:#f9f5ec;text-align:right;overflow-wrap:anywhere}.track-list{display:grid;gap:8px}.track-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;background:#f9f5ec12;border:1px solid rgba(249,245,236,.08);border-radius:8px}.track-row strong,.track-row span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.track-row strong{display:flex;align-items:center;gap:7px;font-size:13px}.track-row span{margin-top:3px;color:#f9f5ec91;font-size:12px}.track-actions{display:flex;gap:6px}.track-volume{display:grid;grid-template-columns:auto minmax(72px,1fr) 28px;gap:6px;align-items:center;margin-top:8px;color:#f9f5eca6}.track-volume input{width:100%;min-width:0}.track-volume strong{display:block;color:#f9f5ecd1;font-size:11px;text-align:right}.part-swatch{flex:0 0 auto;width:9px;height:9px;border-radius:50%}.select-button{min-width:42px;height:28px;border:1px solid rgba(249,245,236,.13);border-radius:6px;background:transparent;color:#f9f5ecb8;font-size:11px;font-weight:800;cursor:pointer}.select-button.selected{background:#e7b65ceb;color:#121519}.mini-button{width:28px;height:28px;border:1px solid rgba(249,245,236,.13);border-radius:6px;background:transparent;color:#f9f5ecbf;font-size:11px;font-weight:800;cursor:pointer}.mini-button.active{background:#7cc3b0;color:#121519}.workspace{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:100vh}.workspace-header{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:22px 28px;background:#f4f2edeb;border-bottom:1px solid rgba(32,36,42,.12);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.eyeline{margin:0 0 5px;color:#7c6a4a;font-size:12px;font-weight:800;text-transform:uppercase}.workspace-header h2{margin:0;max-width:680px;font-size:22px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.segmented-control{display:grid;grid-template-columns:repeat(4,1fr);height:36px;padding:3px;background:#e4dfd3;border-radius:8px}.segmented-control button{min-width:68px;border:0;border-radius:6px;background:transparent;color:#5c6269;font-size:13px;font-weight:800;cursor:pointer}.segmented-control button.selected{background:#20242a;color:#f9f5ec}.icon-button,.round-button{display:inline-grid;place-items:center;border:1px solid rgba(32,36,42,.12);background:#fffdf8;color:#20242a;text-decoration:none;cursor:pointer}.icon-button{width:36px;height:36px;border-radius:8px}.icon-button.dark{background:#ffffff17;color:#f9f5ec;border-color:#ffffff1f}.icon-button:disabled,.round-button:disabled{cursor:not-allowed;opacity:.42}.download-group{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.download-button{display:inline-flex;min-height:36px;align-items:center;justify-content:center;gap:7px;padding:0 12px;border:1px solid rgba(32,36,42,.12);border-radius:8px;background:#20242a;color:#f9f5ec;font-size:12px;font-weight:800;line-height:1;text-decoration:none;white-space:nowrap}.download-button:hover{background:#2e333a}.score-stage{position:relative;min-height:0;overflow:auto;padding:28px}.arrangement-workspace{display:grid;gap:18px;min-height:100%}.arrangement-control,.arrangement-progress,.arrangement-publish,.arrangement-empty{border:1px solid rgba(32,36,42,.1);border-radius:8px;background:#fffdf8db;box-shadow:0 18px 55px #20242a14}.arrangement-control{display:grid;grid-template-columns:minmax(190px,.7fr) minmax(0,1.3fr);gap:22px;align-items:start;padding:20px}.arrangement-control h3,.arrangement-publish h3,.arrangement-empty h3{margin:0;color:#20242a;font-size:22px;line-height:1.18}.arrangement-form{display:grid;gap:12px}.arrangement-form label{display:grid;gap:7px;color:#5c6269;font-size:12px;font-weight:800}.arrangement-form select{height:38px;padding:0 12px;border:1px solid rgba(32,36,42,.14);border-radius:8px;background:#fffdf8;color:#20242a;font-size:13px;font-weight:800}.arrangement-engine-options{display:grid;gap:8px}.arrangement-engine-option{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;min-height:62px;padding:10px;border:1px solid rgba(32,36,42,.1);border-radius:8px;background:#f4f2ed}.arrangement-engine-option.selected{border-color:#7cc3b0e6;background:#eefaf6}.arrangement-engine-option label{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center;cursor:pointer}.arrangement-engine-option input{accent-color:#20242a}.arrangement-engine-option span{display:grid;gap:4px;min-width:0}.arrangement-engine-option strong{color:#20242a;font-size:14px}.arrangement-engine-option small{color:#6b7179;font-size:12px;line-height:1.35}.arrangement-engine-help{position:relative;display:inline-grid;width:28px;height:28px;place-items:center;border:1px solid rgba(32,36,42,.14);border-radius:50%;background:#fffdf8;color:#20242a;cursor:help}.arrangement-tooltip{position:absolute;right:0;bottom:calc(100% + 9px);z-index:30;display:none;width:min(320px,72vw);padding:12px;color:#20242a;background:#fffdf8;border:1px solid rgba(32,36,42,.13);border-radius:8px;box-shadow:0 18px 46px #0000002e;font-size:12px;font-weight:650;line-height:1.5;text-align:left}.arrangement-engine-option:hover .arrangement-tooltip,.arrangement-engine-option:focus-within .arrangement-tooltip,.arrangement-engine-help:hover .arrangement-tooltip,.arrangement-engine-help:focus .arrangement-tooltip{display:block}.difficulty-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.difficulty-option{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center;min-height:68px;padding:10px;border:1px solid rgba(32,36,42,.1);border-radius:8px;background:#f4f2ed;color:#20242a;cursor:pointer}.difficulty-option.selected{border-color:#e7b65cdb;background:#fff5dd}.difficulty-option input{accent-color:#20242a}.difficulty-option span{display:grid;gap:4px;min-width:0}.difficulty-option strong{font-size:15px}.difficulty-option small{color:#6b7179;font-size:12px;line-height:1.35}.arrange-generate{background:#20242a;color:#f9f5ec}.arrange-generate:not(:disabled):hover{background:#303640}.arrangement-progress{display:grid;gap:10px;padding:16px}.arrangement-progress p{margin:0;color:#5c6269;font-size:13px;font-weight:700}.arrangement-publish{overflow:hidden;background:#f7f4ed}.publish-header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:20px;border-bottom:1px solid rgba(32,36,42,.09)}.publish-header p{margin:6px 0 0;color:#6b7179;font-size:13px;font-weight:700}.publish-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.publish-actions .download-button{border-color:#20242a24}.playability-strip{display:flex;flex-wrap:wrap;gap:8px;padding:12px 20px;border-bottom:1px solid rgba(32,36,42,.08)}.playability-strip span{padding:6px 8px;border:1px solid rgba(32,36,42,.1);border-radius:6px;background:#fffdf8;color:#555c64;font-size:12px;font-weight:800}.published-score-wrap{overflow:auto;padding:28px;background:linear-gradient(90deg,rgba(32,36,42,.035) 1px,transparent 1px),linear-gradient(180deg,rgba(32,36,42,.03) 1px,transparent 1px),#ebe7dc;background-size:34px 34px}.published-score{width:1060px;max-width:none;min-width:920px;min-height:520px;margin:0 auto;padding:28px;background:#fffdf8;border:1px solid rgba(32,36,42,.12);border-radius:8px;box-shadow:0 22px 70px #20242a1f}.published-score svg{display:block;width:100%;max-width:none;height:auto;margin:0 auto 28px;background:#fffdf8}.arrangement-empty{display:grid;place-items:center;align-content:center;gap:10px;min-height:420px;color:#6b7179;border-style:dashed;background:#fffdf8b8}.arrangement-empty p{margin:0;font-size:14px}.library-panel{display:grid;gap:14px}.library-header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:20px;border:1px solid rgba(32,36,42,.1);border-radius:8px;background:#fffdf8e6;box-shadow:0 18px 55px #20242a14}.library-header h3{margin:0;color:#20242a;font-size:22px}.library-header p{margin:6px 0 0;color:#6b7179;font-size:13px;font-weight:700}.library-list{display:grid;gap:8px}.library-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px;border:1px solid rgba(32,36,42,.1);border-radius:8px;background:#fffdf8}.library-row>button{display:grid;gap:5px;min-width:0;border:0;background:transparent;color:#20242a;text-align:left;cursor:pointer}.library-row strong{overflow:hidden;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.library-row small{color:#6b7179;font-size:12px;font-weight:700}.library-kind{width:fit-content;padding:3px 7px;border-radius:6px;background:#e4dfd3;color:#4c535b;font-size:11px;font-weight:900;text-transform:uppercase}.library-kind.arrangement{background:#eefaf6;color:#2d6c5e}.library-actions{display:flex;gap:6px}.library-empty{min-height:300px}.score-canvas{min-height:100%;padding:32px 28px;background:#fffdf8;border:1px solid rgba(32,36,42,.1);border-radius:8px;box-shadow:0 22px 70px #20242a1c}.score-canvas:empty{display:none}.staff-scroll{overflow:visible}.staff-score{display:block;width:980px;max-width:none}.staff-line,.ledger-line{stroke:#20242a;stroke-width:1.25}.bar-line{stroke:#20242a6b;stroke-width:1.1}.beat-guide{stroke:#20242a21;stroke-dasharray:2 6;stroke-width:.8}.measure-number{fill:#7c6a4a;font-size:12px;font-weight:700}.score-key-label{fill:#5f5648;font-size:13px;font-weight:700}.clef-label{fill:#20242a;font-size:38px;font-family:Bravura,Noto Music,Times New Roman,serif;font-weight:400}.clef-label.bass{font-size:35px}.time-signature{fill:#20242a;font-family:Georgia,Times New Roman,serif;font-size:21px;font-weight:700;text-anchor:middle}.staff-note ellipse{fill:currentColor}.staff-note.open-note ellipse{fill:#fffdf8;stroke:currentColor;stroke-width:1.5}.staff-note line:not(.ledger-line){stroke:currentColor;stroke-width:1.5}.note-flag{fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:1.5}.augmentation-dot,.articulation-dot{fill:currentColor}.accent-mark,.dynamic-mark{fill:currentColor;font-family:Georgia,Times New Roman,serif;font-weight:700;pointer-events:none}.accent-mark{font-size:14px}.dynamic-mark{font-size:13px;font-style:italic}.staff-note.active ellipse{fill:#d9923b}.staff-note.active line:not(.ledger-line){stroke:#d9923b}.score-playhead{stroke:#7cc3b0;stroke-width:3;stroke-linecap:round;opacity:.75}.empty-state{position:absolute;inset:28px;display:grid;place-items:center;align-content:center;gap:10px;color:#6b7179;background:#fffdf8b3;border:1px dashed rgba(32,36,42,.17);border-radius:8px}.empty-state h3,.empty-state p{margin:0}.empty-state h3{color:#20242a;font-size:20px}.empty-state p{font-size:14px}.roll-canvas{position:relative;min-height:620px;overflow:hidden;background:#11151a;border:1px solid rgba(32,36,42,.15);border-radius:8px;box-shadow:0 22px 70px #20242a24}.roll-grid{position:absolute;inset:0;display:grid;grid-template-rows:repeat(12,1fr)}.roll-grid span{border-bottom:1px solid rgba(255,255,255,.055)}.roll-note{position:absolute;height:7px;border-radius:3px;opacity:.9}.roll-note.color-0{background:#e7b65c}.roll-note.color-1{background:#7cc3b0}.roll-note.color-2{background:#d9828b}.roll-note.color-3{background:#8ca8df}.roll-note.color-4{background:#c7a0cf}.playhead{position:absolute;top:0;bottom:0;width:2px;background:#fffdf8;box-shadow:0 0 0 1px #fffdf84d,0 0 24px #fffdf859;z-index:3}.transport{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 28px;background:#20242a;color:#f9f5ec;border-top:1px solid rgba(255,255,255,.08)}.transport-main{display:grid;grid-template-columns:auto auto auto auto minmax(180px,1fr) auto;align-items:center;gap:12px;flex:1}.transport-mode{padding:7px 10px;border:1px solid rgba(249,245,236,.14);border-radius:8px;background:#f9f5ec12;color:#f9f5ecc2;font-size:12px;font-weight:800;white-space:nowrap}.round-button{width:48px;height:48px;border-radius:50%;background:#e7b65c;color:#20242a}.time-readout{min-width:48px;color:#f9f5ec;font-size:13px;font-variant-numeric:tabular-nums}.time-readout.muted{color:#f9f5ec94}.seek-slider{width:100%}.transport-options{display:flex;align-items:center;gap:16px}.transport-options select{height:34px;padding:0 30px 0 10px;color:#f9f5ec;background:#ffffff17;border:1px solid rgba(255,255,255,.12);border-radius:8px}.soundbank-field input{display:none}.soundbank-field strong{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;max-width:190px;min-height:34px;padding:0 10px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#ffffff17;color:#f9f5ec;cursor:pointer;font-size:12px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.soundbank-field strong svg{color:#e7b65c}.volume-field{display:grid;grid-template-columns:auto 92px;align-items:center}.spin{animation:spin .95s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:960px){.app-shell{grid-template-columns:1fr}.side-panel{max-height:none}.workspace-header,.transport{align-items:stretch;flex-direction:column}.workspace-header h2{white-space:normal}.header-actions,.download-group{justify-content:flex-start}.transport-main{grid-template-columns:auto auto auto auto 1fr auto}.arrangement-control,.publish-header{grid-template-columns:1fr;flex-direction:column}.difficulty-options{grid-template-columns:1fr}}@media(max-width:620px){.side-panel,.workspace-header,.score-stage,.transport{padding:18px}.transport-main{grid-template-columns:auto auto 1fr}.transport-mode{grid-column:1 / -1;width:fit-content}.seek-slider,.time-readout.muted{grid-column:1 / -1}.transport-options{align-items:stretch;flex-direction:column}.download-button{flex:1 1 145px}}@media print{body{background:#fff}.side-panel,.workspace-header,.transport,.arrangement-control,.arrangement-progress,.publish-header,.playability-strip{display:none!important}.app-shell,.workspace,.score-stage,.arrangement-workspace,.arrangement-publish,.published-score-wrap,.published-score{display:block;min-height:auto;padding:0;border:0;box-shadow:none;background:#fff}.published-score{width:100%}}
