:root{color:#172027;font-synthesis:none;text-rendering:optimizelegibility;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--panel-bg:#ffffffd6;--panel-bg-strong:#fffffffa;--panel-border:#1d7d892e;--panel-shadow:0 18px 44px #24677a1f;--accent:#d9552f;--accent-soft:#d9552f1a;--accent-lime:#b8df31;--accent-teal:#199b8c;--surface:#fcfff9;--ink-soft:#52606a;--success:#287358;--danger:#b44f35;background:radial-gradient(circle at 13% 10%,#ffc9568c 0 12%,#0000 29%),radial-gradient(circle at 90% 4%,#50dcc885 0 13%,#0000 32%),linear-gradient(135deg,#ff775338 0%,#0000 28%),linear-gradient(225deg,#a0e02b42 0%,#0000 34%),linear-gradient(#fff 0%,#f5fffb 45%,#fff8e8 100%);font-family:Segoe UI,Aptos,system-ui,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}html,body{min-width:320px;color:inherit;background:radial-gradient(circle at 13% 10%,#ffc9568c 0 12%,#0000 29%),radial-gradient(circle at 90% 4%,#50dcc885 0 13%,#0000 32%),linear-gradient(135deg,#ff775338 0%,#0000 28%),linear-gradient(225deg,#a0e02b42 0%,#0000 34%),linear-gradient(#fff 0%,#f5fffb 45%,#fff8e8 100%)}button,textarea,select{font:inherit}a{color:inherit}.app-shell{color:#172027;min-height:100vh;padding:14px 16px 16px}.workspace-header{justify-content:space-between;align-items:center;gap:8px;min-height:42px;margin-bottom:10px;padding:0 2px;display:flex}.brand-lockup{align-items:center;gap:8px;min-width:0;display:inline-flex}.brand-mark{color:#d65c2f;object-fit:cover;background:#fffffcfa;border:1px solid #1b342c2e;border-radius:8px;flex:0 0 60px;width:60px;height:60px;margin-block:-15px;display:block;box-shadow:0 10px 24px #24677a14}.brand-lockup h1{letter-spacing:0;margin:0;font-size:1.15rem;line-height:1}.header-project-console{grid-template-columns:minmax(170px,280px) auto;align-items:center;gap:6px;min-width:min(100%,410px);display:grid}.header-project-actions{flex-wrap:wrap;gap:5px;display:flex}.workspace-nav{flex-wrap:wrap;gap:5px;margin-left:auto;display:flex}.workspace-nav a{color:#273c4a;background:#ffffffd1;border:1px solid #1c7e982e;border-radius:8px;justify-content:center;align-items:center;width:34px;min-height:34px;padding:0;font-size:.88rem;font-weight:750;text-decoration:none;display:inline-flex}.workspace-nav a.is-active{color:#0f4754;background:#e2fcfff5;border-color:#1494a857}.workspace-metrics{flex-wrap:wrap;justify-content:flex-end;gap:5px;min-width:0;display:flex}.workspace-metrics span{color:#273c4a;background:#ffffffd6;border:1px solid #1c7e9829;border-radius:8px;align-items:center;gap:5px;min-height:34px;padding:7px 8px;font-size:.88rem;font-weight:650;display:inline-flex;box-shadow:0 10px 24px #1b342c0f}.workspace-metrics .service-light{padding-left:9px;position:relative}.service-light:before{content:"";border-radius:999px;width:8px;height:8px;box-shadow:0 0 0 3px #63717b14}.service-light--available{color:#185f3d;background:#e9fff2f0;border-color:#1a8f5847}.service-light--available:before{background:#20b15a;box-shadow:0 0 0 3px #20b15a24,0 0 16px #20b15a75}.service-light--unavailable{color:#8a351f;background:#fff0ebf0;border-color:#b44f3547}.service-light--unavailable:before{background:#c94b28;box-shadow:0 0 0 3px #c94b281f}.service-light--checking{color:#74500d;background:#fff9e3f0;border-color:#bb881847}.service-light--checking:before{background:#d99c1d}.service-light--checking svg{animation:1s linear infinite staffsmith-spin}@keyframes staffsmith-spin{to{transform:rotate(360deg)}}.icon-button,.inspector-toggle{color:#273c4a;cursor:pointer;width:34px;min-height:34px;font:inherit;background:#ffffffe0;border:1px solid #1c7e9829;border-radius:8px;place-items:center;padding:0;font-size:.88rem;font-weight:750;display:inline-grid;box-shadow:0 10px 24px #1b342c0f}.icon-button:hover,.inspector-toggle[aria-expanded=true]{color:#0f4754;background:#e2fcfff5;border-color:#1494a857}.layout{grid-template-columns:minmax(360px,.66fr) minmax(0,1.34fr);gap:14px;height:calc(100vh - 66px);min-height:620px;display:grid;position:relative;overflow:hidden}.help-layout{max-width:1120px;margin:0 auto}.workbench-column,.preview-column{align-content:start;gap:14px;min-width:0;display:grid}.workbench-column{grid-template-rows:minmax(0,1fr) auto auto;height:100%;overflow:hidden}.preview-column{min-width:0}.compact-list,.error-list{margin:10px 0 0;padding-left:18px}.compact-list li,.error-list li{margin-bottom:8px}.muted{color:#63717b}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.status-line{margin:0 0 6px;font-weight:700}.project-title-input{color:#172027;background:#fffffffa;border:1px solid #1c7e982e;border-radius:8px;width:100%;min-height:34px;padding:7px 10px;font-size:.94rem;font-weight:750;box-shadow:0 10px 24px #24677a0f}.project-title-input:focus{outline-offset:2px;outline:2px solid #d9552f33}.assistant-textarea{resize:vertical;color:#172027;background:#fffffff5;border:1px solid #1c7e982e;border-radius:8px;width:100%;min-height:68px;padding:10px}.assistant-textarea:focus{outline-offset:2px;outline:2px solid #199b8c38}.generation-textarea{resize:vertical;color:#172027;background:linear-gradient(#fffffffa,#f7fefff5);border:1px solid #1c7e982e;border-radius:8px;width:100%;min-height:52px;padding:10px;box-shadow:inset 0 1px 2px #00000005,0 12px 28px #24677a0f}.generation-textarea:focus{outline-offset:2px;outline:2px solid #199b8c38}.studio-actions{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.secondary-button,.subtle-button,.ghost-button{cursor:pointer;border-radius:8px;align-items:center;gap:6px;min-height:34px;padding:7px 10px;font-weight:700;transition:transform .12s,background-color .12s;display:inline-flex}.secondary-button{color:#173947;background:linear-gradient(135deg,#1fb1c42e,#ffb7462e);border:1px solid #199b8c42}.subtle-button{color:#4c5b53;background:#f8f9f6eb;border:1px solid #364c3e24}.ghost-button{color:#455563;background:#ffffffc7;border:1px solid #1c7e9829}.secondary-button:hover,.subtle-button:hover,.ghost-button:hover{transform:translateY(-1px)}.secondary-button:disabled,.subtle-button:disabled{cursor:wait;opacity:.62;transform:none}.inline-help-link{color:#455563;background:#ffffffc7;border:1px solid #1c7e9829;border-radius:8px;align-items:center;gap:6px;min-height:34px;padding:7px 10px;font-weight:700;text-decoration:none;display:inline-flex}.server-message{color:#4f5d51;margin:8px 0 0;font-weight:650}.smart-studio-card .section-card__content,.ai-studio-card .section-card__content{gap:0;display:grid}.ai-studio-section{border-bottom:1px solid #1c7e981a;gap:8px;padding:10px 0;display:grid}.ai-studio-section:first-child{padding-top:0}.ai-studio-section:last-child{border-bottom:none;padding-bottom:0}.ai-studio-section--results{gap:6px}.ai-studio-label{color:#40515e;letter-spacing:.03em;text-transform:uppercase;font-size:.62rem;font-weight:800;display:block}.studio-signal-row{gap:5px;display:grid}.studio-signal-strip,.studio-tag-deck,.studio-harmony-strip,.studio-insight-tags{flex-wrap:wrap;gap:6px;display:flex}.studio-signal-strip{align-items:center}.studio-signal-pill{color:#233744;background:#ffffffd6;border:1px solid #1c7e9829;border-radius:999px;align-items:center;min-height:24px;padding:3px 8px;font-size:.76rem;font-weight:750;display:inline-flex}.studio-signal-pill--muted{color:#53616b}.studio-signal-pill--tone{border-color:#0000}.studio-tag-deck,.studio-harmony-strip,.studio-briefing{min-width:0}.studio-harmony-strip,.studio-briefing{border-top:1px solid #1c7e981f;padding-top:2px}.studio-empty-line{color:#6a786f;margin:0;font-size:.82rem}.studio-tone-tag,.studio-harmony-tag,.studio-insight-tag,.project-mode-pill{border-radius:999px;align-items:center;min-height:24px;padding:3px 8px;font-size:.76rem;font-weight:750;display:inline-flex}.studio-tone-tag,.studio-harmony-tag{border:1px solid #0000}.studio-harmony-tag{color:#334753;background:#f3f8faeb}.studio-tone-tag--c{color:#8f3320;background:#ffe8e2e6;border-color:#c5503d33}.studio-tone-tag--d{color:#8b5c0f;background:#fff5d8eb;border-color:#c4872033}.studio-tone-tag--e{color:#556c12;background:#f1f9dbeb;border-color:#7c922a33}.studio-tone-tag--f{color:#17695a;background:#e0f9f2f0;border-color:#1f908033}.studio-tone-tag--g{color:#195f82;background:#e2f6fff0;border-color:#218eb333}.studio-tone-tag--a{color:#8c4128;background:#fcece4f0;border-color:#b05c4333}.studio-tone-tag--b{color:#35546a;background:#e8eff6f0;border-color:#5f799133}.studio-tone-tag--neutral{color:#4f6257;background:#f6f8f6eb;border-color:#364c3e1f}.assistant-textarea--studio{min-height:82px}.studio-actions--smart{gap:5px;margin-top:0}.studio-actions--smart .secondary-button,.studio-actions--smart .ghost-button{min-height:30px;padding:6px 9px;font-size:.84rem}.studio-status-message{color:#4f5d51;margin:0;font-size:.82rem;font-weight:700}.studio-briefing{gap:8px;display:grid}.studio-summary{color:#25353f;margin:0;line-height:1.45}.studio-summary strong{color:#111b21}.studio-insight-tag{overflow-wrap:anywhere;max-width:100%}.studio-insight-tag--warm{color:#8a4c13;background:#ffecd6f5}.studio-insight-tag--cool{color:#215b81;background:#e4f4fff5}.studio-insight-tag--growth{color:#3c6a22;background:#e7f8e6f5}.studio-insight-tag--neutral{color:#4e606d;background:#f2f5f7f5}.project-list{gap:6px;margin-top:8px;display:grid}.project-list--studio{gap:5px;margin-top:2px}.project-row{color:#273226;cursor:pointer;text-align:left;background:#fffffcc7;border:1px solid #364c3e1f;border-radius:7px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:34px;padding:7px 9px;display:grid}.project-row__title{text-overflow:ellipsis;white-space:nowrap;font-weight:750;display:block;overflow:hidden}.project-row__meta{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:inline-flex}.project-row__meta span:last-child{color:#697468;font-size:.78rem}.project-mode-pill{border:1px solid #0000}.project-mode-pill--notes{color:#1f6473;background:#e7f8fff5}.project-mode-pill--chords{color:#875320;background:#fff0daf5}.score-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 0;display:grid}.score-stats div{background:linear-gradient(#fffffce0,#f0f8ecd6);border:1px solid #364c3e1f;border-radius:8px;min-width:0;padding:10px}.score-stats dt{color:#6a7466;text-transform:uppercase;font-size:.72rem;font-weight:700}.score-stats dd{color:#172019;margin:2px 0 0;font-size:1.05rem;font-weight:800}.score-stats--stacked{grid-template-columns:1fr}.score-stats--stacked dd{overflow-wrap:anywhere;font-size:.94rem}.score-stats--compact{grid-template-columns:repeat(3,minmax(0,1fr))}.inspector-sidebar{z-index:20;opacity:0;pointer-events:none;background:#ffffffeb;border:1px solid #1c7e9833;border-radius:8px;gap:12px;width:min(380px,100vw - 28px);max-height:calc(100vh - 82px);padding:12px;transition:opacity .16s,transform .16s;display:grid;position:fixed;top:62px;right:18px;overflow:auto;transform:translate(calc(100% + 24px));box-shadow:0 24px 60px #24677a3d}.inspector-sidebar.is-open{opacity:1;pointer-events:auto;transform:translate(0)}.inspector-sidebar__header{justify-content:space-between;align-items:center;gap:10px;display:flex}.inspector-sidebar__header h2{color:#243746;letter-spacing:.02em;text-transform:uppercase;margin:0;font-size:.95rem}.inspector-sidebar .section-card__header{padding-top:12px}.inspector-sidebar .section-card__content{padding-bottom:12px}@media (width<=1100px){.app-shell{padding:14px}.workspace-header{flex-direction:column;align-items:flex-start;gap:8px}.header-project-console{grid-template-columns:1fr;width:100%}.workspace-nav{margin-left:0}.workspace-metrics{justify-content:flex-start}.layout{grid-template-columns:1fr;height:auto;min-height:auto;overflow:visible}}@media (width<=700px){.score-stats,.project-row{grid-template-columns:1fr}.project-row__meta{justify-content:flex-start}}.section-card{background:var(--panel-bg);border:1px solid var(--panel-border);box-shadow:var(--panel-shadow);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-radius:8px;min-height:0;position:relative;overflow:hidden}.section-card:before{content:"";pointer-events:none;background:linear-gradient(90deg,#1fb1c414,#0000 34%),linear-gradient(#ffffffb8,#0000 58%);position:absolute;inset:0}.section-card__header{padding:10px 14px 0}.section-card__header h2{letter-spacing:.02em;text-transform:uppercase;color:#243746;margin:0;font-size:.78rem;position:relative}.section-card__content{padding:9px 14px 12px;position:relative}.section-card--success{box-shadow:inset 3px 0 0 #28735899, var(--panel-shadow);border-color:#2873583d}.section-card--danger{box-shadow:inset 3px 0 0 #b44f35ad, var(--panel-shadow);border-color:#b44f3547}.about-page{flex-direction:column;gap:20px;display:flex}.about-story{flex-direction:column;gap:10px;max-width:56ch;display:flex}.about-story p{color:#3a4a3a;margin:0;font-size:.93rem;line-height:1.65}.about-story p:last-child{color:#687363;font-style:italic}.about-links{flex-wrap:wrap;gap:10px;display:flex}.about-link{color:#2f5048;background:#fffffcbf;border:1px solid #364c3e2e;border-radius:8px;align-items:center;gap:6px;padding:7px 13px;font-size:.84rem;text-decoration:none;transition:background .15s,border-color .15s;display:inline-flex}.about-link:hover{color:#1a6b5a;background:#199b8c14;border-color:#199b8c4d}.changelog-page{gap:8px;max-width:900px;display:grid}.changelog-page h1,.changelog-page h2,.changelog-page h3,.changelog-page p{margin:0}.changelog-page h1{font-size:clamp(1.6rem,3vw,2.4rem);line-height:1.1}.changelog-page h2{margin-top:12px;font-size:1.18rem}.changelog-page h3{color:#243746;letter-spacing:.02em;text-transform:uppercase;margin-top:10px;font-size:.92rem}.changelog-page p{color:#2b3d4a}.changelog-page code{color:#173947;background:#e2fcffb8;border:1px solid #1c7e9824;border-radius:5px;padding:1px 5px;font-family:Cascadia Code,SFMono-Regular,Consolas,monospace;font-size:.92em}.changelog-bullet{padding-left:18px;position:relative}.changelog-bullet:before{content:"";background:var(--accent-teal);border-radius:50%;width:6px;height:6px;position:absolute;top:.68em;left:2px}.changelog-bullet--nested{color:#536471;margin-left:18px}.changelog-bullet--nested:before{background:var(--accent);width:4px;height:4px}.changelog-gap{height:4px}.composer-card{grid-template-rows:auto minmax(0,1fr);display:grid}.composer-card .section-card__content{flex-direction:column;min-height:0;display:flex}.mode-toggle{background:linear-gradient(135deg,#ff765329,#1fb1c42e);border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:100%;max-width:220px;margin-bottom:8px;padding:4px;display:inline-grid}.mode-toggle__button,.example-chip,.render-button,.editor-builder button{cursor:pointer;border:0;border-radius:8px;transition:transform .12s,background-color .12s,color .12s}.mode-toggle__button{color:#5b6972;background:0 0;justify-content:center;align-items:center;gap:6px;min-width:0;min-height:32px;padding:7px 9px;font-weight:600;display:inline-flex}.mode-toggle__button.is-active{color:#172027;background:#fffffffa;box-shadow:0 8px 18px #24677a21}.examples{flex-wrap:wrap;gap:6px;margin-bottom:8px;display:flex}.example-chip{color:#2c3c49;background:#fffffff0;border:1px solid #1c7e9829;min-width:0;min-height:30px;padding:6px 9px;box-shadow:0 8px 18px #24677a0f}.editor-builder{background:linear-gradient(135deg,#ff76531a,#1fb1c41f),linear-gradient(#fffffff2,#f3feffe6);border:1px solid #1c7e982e;border-radius:8px;gap:6px;margin-bottom:8px;padding:7px;display:grid;box-shadow:inset 0 1px #ffffffd1,0 10px 22px #24677a12}.builder-row{gap:6px;display:grid}.builder-row--split{grid-template-columns:repeat(2,minmax(0,1fr))}.builder-row--note-console{grid-template-columns:minmax(178px,1.45fr) minmax(92px,.65fr) minmax(120px,.9fr) minmax(92px,.65fr)}.builder-row--chord-console{grid-template-columns:minmax(230px,1.45fr) minmax(168px,1fr) minmax(92px,.5fr)}.builder-row--expression-console{grid-template-columns:minmax(150px,.8fr) minmax(260px,1.4fr) minmax(90px,.5fr)}.builder-group{background:#ffffffa8;border:1px solid #1c7e981f;border-radius:7px;align-content:start;gap:4px;min-width:0;padding:5px;display:grid}.builder-group--octave,.builder-group--tools,.builder-group--tempo{flex-wrap:wrap;align-content:flex-start;align-items:center;display:flex}.builder-group--duration .builder-segmented button,.builder-group--accidental .builder-segmented button,.token-strip button,.progression-strip button{flex:auto}.builder-group--tools button{flex:42px}.builder-group--octave strong,.builder-bpm{color:#172027;background:#ffffffe6;border-radius:6px;place-items:center;min-width:24px;min-height:24px;font-size:.78rem;display:inline-grid}.builder-bpm{min-width:34px}.builder-bpm--default{color:#78909c}.builder-bpm-unit{color:#40515e;letter-spacing:0;text-transform:uppercase;width:100%;margin-top:2px;font-size:.58rem;font-weight:800}.builder-label{color:#40515e;letter-spacing:0;text-transform:uppercase;width:100%;font-size:.6rem;font-weight:800}.builder-segmented,.token-strip,.progression-strip{flex-wrap:wrap;gap:3px;display:flex}.pitch-grid,.chord-root-grid,.quality-grid{gap:3px;display:grid}.pitch-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.chord-root-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.quality-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.editor-builder button{color:#253541;min-width:0;min-height:24px;font:inherit;white-space:nowrap;background:linear-gradient(#fffffff5,#f6fcfdeb);border:1px solid #1c7e982b;padding:3px 6px;font-size:.72rem;font-weight:750}.editor-builder button:hover{transform:translateY(-1px)}.editor-builder button.is-active{color:#182016;background:linear-gradient(135deg,#ffde636b,#fffffffa);border-color:#d9552f57;box-shadow:0 7px 15px #a281241f}.pitch-grid button:first-child,.chord-root-grid button:first-child,.chord-root-grid button:nth-child(8){border-color:#d9552f38}.pitch-grid button:nth-child(3),.chord-root-grid button:nth-child(5),.chord-root-grid button:nth-child(10){border-color:#f2b64b47}.pitch-grid button:nth-child(5),.chord-root-grid button:nth-child(3),.chord-root-grid button:nth-child(12){border-color:#479d543d}.pitch-grid button:nth-child(7),.chord-root-grid button:nth-child(6),.chord-root-grid button:nth-child(11){border-color:#1fb1c447}.builder-icon-button{place-items:center;width:24px;padding:0;display:inline-grid}.editor-label{margin-bottom:6px;font-weight:600;display:block}.editor-textarea{resize:vertical;color:#172027;background:linear-gradient(#fffffffa,#f7fefff5);border:1px solid #1c7e982e;border-radius:8px;flex:auto;width:100%;height:auto;min-height:190px;padding:14px;box-shadow:inset 0 1px 2px #00000005,0 12px 28px #24677a0f}.editor-textarea:focus{outline-offset:2px;outline:2px solid #d65c2f38}.editor-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.render-button{color:#161b10;background:linear-gradient(135deg,#d9552f 0%,#f2b64b 52%,#b7df36 100%);align-items:center;gap:7px;min-height:36px;padding:8px 13px;font-weight:700;display:inline-flex;box-shadow:0 12px 26px #a2812433}.mode-toggle__button:hover,.example-chip:hover,.render-button:hover{transform:translateY(-1px)}.helper-text{color:#64737d;flex:220px;margin:0;font-size:.82rem}.helper-text--error{color:var(--danger)}@media (width<=700px){.mode-toggle{max-width:none}.examples{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.example-chip{overflow-wrap:anywhere;width:100%}.editor-actions{flex-direction:column;align-items:stretch}.builder-row--split,.builder-row--note-console,.builder-row--chord-console,.builder-row--expression-console{grid-template-columns:1fr}.pitch-grid,.chord-root-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.render-button{width:100%}.helper-text{flex-basis:auto}}@media (width<=420px){.examples{grid-template-columns:1fr}.pitch-grid,.chord-root-grid,.quality-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.builder-segmented button,.token-strip button,.progression-strip button{flex:82px}}.syntax-help{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.syntax-help div,.syntax-examples div{background:#fffffcad;border:1px solid #364c3e1f;border-radius:8px;min-width:0;padding:10px}.syntax-help h3{color:#2f3a2d;margin:0 0 4px;font-size:.86rem}.syntax-help p,.syntax-examples strong{color:#687363;margin:0 0 8px;font-size:.86rem;display:block}.syntax-help code,.syntax-examples code{color:#182820;background:#199b8c17;border-radius:6px;margin:0 5px 6px 0;padding:3px 6px;font-family:Cascadia Code,SFMono-Regular,Consolas,monospace;font-size:.78rem;display:inline-block}.syntax-examples{grid-template-columns:1fr;gap:10px;margin-top:12px;display:grid}.syntax-examples code{overflow-wrap:anywhere;display:block}@media (width<=700px){.syntax-help{grid-template-columns:1fr}}.score-preview-card{height:100%;min-height:0}.score-preview-card .section-card__content{grid-template-rows:auto auto minmax(0,1fr) auto;height:calc(100vh - 160px);min-height:0;display:grid}.preview-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:6px 8px;margin-bottom:6px;display:grid}.preview-toolbar__controls,.preview-toolbar__actions{flex-wrap:wrap;align-items:flex-start;gap:6px;display:flex}.preview-toolbar__actions{justify-content:flex-end}.preview-toolbar button,.preview-select-control select{color:#273c4a;cursor:pointer;min-height:28px;font:inherit;background:#ffffffdb;border:1px solid #1c7e9829;border-radius:7px;align-items:center;gap:5px;padding:4px 7px;font-size:.8rem;font-weight:700;display:inline-flex}.preview-toolbar button:disabled,.preview-select-control select:disabled,.preview-toggle-control input:disabled{cursor:not-allowed;opacity:.52}.preview-preset-control,.preview-select-control,.preview-toggle-control{color:#273c4a;background:#ffffffdb;border:1px solid #1c7e9829;border-radius:7px;align-items:center;gap:6px;min-height:28px;padding:4px 7px;display:inline-flex}.preview-preset-control{align-items:stretch;gap:8px}.preview-control__label{color:#455563;text-transform:uppercase;white-space:nowrap;font-size:.68rem;font-weight:700}.preview-segmented-control{background:#1c7e9814;border-radius:7px;align-items:center;gap:2px;padding:2px;display:inline-flex}.preview-segmented-control button{background:0 0;border-color:#0000;border-radius:5px;min-height:22px;padding:2px 7px;font-size:.74rem}.preview-segmented-control button.is-active{color:#0e6774;background:#fff;box-shadow:0 1px 4px #24677a24}.preview-select-control{gap:8px}.preview-select-control select{min-width:78px;padding-right:24px}.preview-toggle-control{gap:6px;font-size:.78rem;font-weight:700}.preview-toggle-control input{accent-color:#1b8e9f;width:13px;height:13px;margin:0}.preview-utility-button{background:#f5f9fbf5}.preview-icon-button{justify-content:center;width:28px;min-width:28px;padding:0}.preview-placeholder{color:#63717b;background:#ffffffc2;border:1px dashed #1c7e983d;border-radius:8px;place-items:center;min-height:220px;display:grid}.preview-surface{touch-action:auto;-webkit-user-select:none;user-select:none;background-color:#0000;background-image:linear-gradient(90deg,#1e96aa14 1px,#0000 1px),linear-gradient(#1e96aa12 1px,#0000 1px),linear-gradient(135deg,#e5fdfff0,#fff8e2f0);background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:28px 28px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;border:1px solid #1c7e9824;border-radius:7px;min-height:0;padding:8px;display:block;overflow:auto}.score-page-stack{justify-items:center;gap:14px;width:100%;max-width:100%;min-height:0;display:grid}.score-page{aspect-ratio:210/297;background:#fff;border:1px solid #1c7e9824;border-radius:4px;flex-direction:column;width:min(100%,70.7071vh - 212.121px);min-height:0;margin:0 auto;padding:clamp(10px,1.8vh,20px) clamp(12px,2.4vh,26px) clamp(14px,2.6vh,28px);display:flex;box-shadow:0 24px 54px #24677a2e,0 2px 8px #24677a1a}.score-page__body{flex:auto;place-items:start center;width:100%;min-height:0;display:grid}.score-title-block{text-align:center;justify-items:center;margin:0 0 8px;display:grid}.score-title-block h2{color:#141812;letter-spacing:0;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(1.05rem,1.6vw,1.55rem);font-weight:700}.score-engraving,.score-engraving .preview-render-target,.score-page__body{min-height:0}.score-engraving{width:100%;max-width:100%;margin:0 auto;overflow:hidden}.score-page__body svg{object-fit:contain;width:100%;height:100%;display:block}.preview-error{color:var(--danger)}.page-controls{justify-content:center;align-items:center;gap:8px;margin-top:8px;display:flex}.page-controls button{color:#273c4a;cursor:pointer;background:#ffffffdb;border:1px solid #1c7e9829;border-radius:8px;place-items:center;width:34px;min-height:32px;padding:0;font-weight:700;display:inline-grid}.page-controls button:disabled{cursor:not-allowed;opacity:.52}.page-controls span{color:#455563;text-align:center;min-width:74px;font-size:.86rem;font-weight:750}@media (width<=1100px){.preview-toolbar{grid-template-columns:1fr}.preview-toolbar__actions{justify-content:flex-start}.score-preview-card,.score-preview-card .section-card__content,.preview-surface{min-height:520px}.score-preview-card,.score-preview-card .section-card__content{height:auto}.preview-surface{padding:10px}.score-page{width:min(100%,720px);padding:14px 12px}.score-title-block{margin-bottom:8px}}@media (width<=700px){.preview-toolbar__controls,.preview-toolbar__actions{grid-template-columns:1fr;display:grid}.preview-preset-control,.preview-select-control,.preview-toggle-control,.preview-toolbar__actions button,.preview-utility-button{width:100%}.preview-segmented-control{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;display:grid}.preview-segmented-control button{white-space:normal;justify-content:center;min-width:0}}@page{size:A4 portrait;margin:12mm}@media print{html,body,#root{background:#fff;width:auto;min-height:0;margin:0;padding:0}.app-shell{color:#000;background:#fff;min-height:0;padding:0}.workspace-header,.workbench-column,.inspector-sidebar,.score-preview-card:before,.score-preview-card>.section-card__header,.preview-toolbar,.preview-placeholder,.preview-error,.page-controls{display:none!important}.layout,.preview-column{height:auto;min-height:0;margin:0;padding:0;display:block;overflow:visible}.score-preview-card{width:auto;height:auto;min-height:auto;box-shadow:none;background:#fff;border:0;display:block;position:static;overflow:visible}.score-preview-card .section-card__content{height:auto;min-height:auto;padding:0;display:block}.preview-surface{background:#fff;border:0;min-height:auto;margin:0;padding:0;display:block;overflow:visible}.score-page-stack{gap:0}.score-page{aspect-ratio:auto;width:100%;height:273mm;min-height:0;box-shadow:none;break-after:page;page-break-after:always;background:#fff;border:0;border-radius:0;margin:0;padding:0}.score-page:last-child{break-after:auto;page-break-after:auto}.score-title-block{margin-bottom:4mm}.score-title-block h2{font-size:18pt}.score-page__body{width:100%;min-height:0}.score-page__body svg{object-fit:contain;width:100%;height:100%;max-height:none}}
