:root{--toolbar-h: 110px}:root{--toolbar-control-height: 28px}.app-root{min-height:100dvh;background:#0b2a1a;padding-top:var(--toolbar-h);min-width:min-content}.instant-tooltip{position:fixed;z-index:60;width:max-content;padding:6px 8px;font-size:12px;font-weight:400;font-style:normal;line-height:1.4;text-align:left;white-space:normal;color:#fff;background:#1f2937f0;border-radius:6px;box-shadow:0 2px 8px #00000040;pointer-events:none}.toolbar{position:fixed;top:0;left:0;right:0;z-index:20;display:flex;flex-direction:column;gap:5px;align-items:stretch;padding:6px 10px;background:#ffffffea;border-bottom:1px solid #ddd;box-shadow:0 4px 16px #877f7f14}.toolbar-tab-row{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.toolbar-tabs{display:flex;gap:6px;flex-wrap:wrap}.toolbar-feedback{display:flex;align-items:center;gap:6px;flex-shrink:0;max-width:45%}.toolbar-feedback-button{display:inline-flex;align-items:center;gap:4px;height:var(--toolbar-control-height);box-sizing:border-box;padding:0 12px;font-size:12px;border:1px solid #f59e0b;border-radius:999px;background:#fffbeb;color:#92400e;cursor:pointer;transition:all .2s ease;flex-shrink:0;white-space:nowrap}.toolbar-feedback-button:hover{background:#fef3c7;border-color:#d97706}.toolbar-feedback-notice{font-size:12px;min-width:0}.toolbar-panel button.ghost:not(.toolbar-tab-button){padding:3px 9px;font-size:12px;border-radius:6px}.toolbar-tab-button{padding:4px 10px;font-size:13px;border-radius:7px}.toolbar-tab-button.active{border-color:#3b82f6;background:#eff6ff;box-shadow:inset 0 0 0 1px #bfdbfe}.ui-context-bar-float{position:fixed;top:calc(var(--toolbar-h, 60px) + 8px);left:8px;z-index:40;max-width:min(70vw,560px);pointer-events:none}.ui-context-bar{display:flex;align-items:center;flex-wrap:wrap;gap:2px 6px;padding:3px 10px;box-shadow:0 1px 4px #0f172a1f;border:1px solid #bfdbfe;border-radius:7px;background:#eff6ff;color:#1e3a5f;font-size:12px;line-height:1.6;-webkit-user-select:none;user-select:none}.ui-context-bar-item{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.ui-context-bar-caption{color:#64748b;font-size:11px}.ui-context-bar-value{font-weight:600}.ui-context-bar-separator{color:#94a3b8;padding-right:1px}.toolbar-panel{overflow-x:auto;max-width:100%}.toolbar--left{right:auto;bottom:0;width:var(--toolbar-left-width, 260px);overflow-y:auto;overflow-x:hidden;border-bottom:none;border-right:1px solid #ddd;box-shadow:4px 0 16px #877f7f14}.toolbar--left .toolbar-tabs{flex-wrap:wrap}.toolbar--left .toolbar-tab-row{flex-direction:column;align-items:stretch}.toolbar--left .toolbar-feedback{max-width:100%;flex-wrap:wrap}.toolbar--left .toolbar-collapse-row .toolbar-feedback{margin-left:0}.toolbar--left .toolbar-panel{overflow-x:hidden}.toolbar--left.collapsed{width:max-content;max-width:var(--toolbar-left-width, 260px)}.toolbar--left .toolbar-collapse-row{flex-direction:column;align-items:stretch}.toolbar--left.collapsed .toolbar-view-zoom-label,.toolbar--left.collapsed .toolbar-feedback-label{display:none}.toolbar--left .toolbar-select-label:not(.toolbar-checkbox-label){flex-direction:column;align-items:flex-start;gap:2px}.toolbar--left .toolbar-select-label:not(.toolbar-checkbox-label) select{max-width:100%}.toolbar--left .toolbar-layout-group>label,.toolbar--left .toolbar-layout-subgroup>label{flex-wrap:wrap}.toolbar--left .volume-controls,.toolbar--left .playback-start-measure,.toolbar--left .toolbar-view-zoom{flex-wrap:wrap}.app-root.toolbar-left{padding-top:0;padding-left:var(--toolbar-w, 260px)}.app-root.toolbar-left .dropdown-overlay{left:var(--toolbar-w, 260px)}.app-root.toolbar-left .ui-context-bar-float{left:calc(var(--toolbar-w, 260px) + 8px)}.instrumentation-editor-window--toolbar-left{width:min(1180px,calc(100vw - var(--toolbar-w, 0px) - 36px))}.instrumentation-editor-window--toolbar-left.instrumentation-editor-window--names{width:min(520px,calc(100vw - var(--toolbar-w, 0px) - 36px))}.toolbar.collapsed .toolbar-tab-row,.toolbar.collapsed .toolbar-persistent-row,.toolbar.collapsed .toolbar-history-controls,.toolbar.collapsed .toolbar-layer-chips,.toolbar.collapsed .ui-context-bar,.toolbar.collapsed .toolbar-panel{display:none}.toolbar.collapsed{padding:2px 10px;gap:0}.toolbar-collapse-row{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.toolbar-view-zoom{display:flex;align-items:center;gap:4px;font-size:12px;color:#444}.toolbar-collapse-row .toolbar-feedback{margin-left:auto}.toolbar.collapsed .toolbar-feedback-notice{position:absolute;top:100%;right:10px;max-width:min(92vw,620px);padding:4px 10px;border:1px solid #f59e0b;border-top:none;border-radius:0 0 8px 8px;background:#fffbeb;box-shadow:0 4px 12px #877f7f26}.toolbar .toolbar-collapse-button{height:var(--toolbar-control-height);box-sizing:border-box;padding:0 10px;font-size:12px;border-radius:7px}.toolbar-history-controls{display:flex;gap:6px;flex-wrap:wrap}.toolbar-history-button{padding:4px 10px;font-size:12px;border-radius:7px}.toolbar-section{width:100%;min-width:0}.toolbar-section>*{max-width:100%}.toolbar-score-controls,.toolbar-layout-controls,.toolbar-other-controls{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.toolbar-chip-group{display:flex;flex-wrap:wrap;align-items:center;gap:4px}.toolbar-group-label{font-size:11px;font-weight:600;color:#495057}.toolbar-layout-group{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:4px 8px;border:1px solid #e5e7eb;border-radius:8px;background:#fcfcfd}.toolbar-layout-group>.toolbar-group-label{color:#343a40;border-right:1px solid #e5e7eb;padding-right:8px}.toolbar-layout-subgroup{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:2px 6px;border:1px dashed #d1d5db;border-radius:6px;background:#fff}.toolbar-layout-subgroup>.toolbar-group-label{border-right:1px solid #e5e7eb;padding-right:6px}.toolbar-fold{display:contents}.toolbar-fold>summary.toolbar-fold-summary{cursor:pointer;font-size:13px;font-weight:600;color:#495057;padding:2px 8px;border:1px dashed #d1d5db;border-radius:6px;background:#fff;list-style:none;-webkit-user-select:none;user-select:none}.toolbar-fold>summary.toolbar-fold-summary::-webkit-details-marker{display:none}.toolbar-fold>summary.toolbar-fold-summary:before{content:"▸ ";color:#6b7280}.toolbar-fold[open]>summary.toolbar-fold-summary:before{content:"▾ "}.toolbar-fold-body{display:flex;flex-wrap:wrap;align-items:center;gap:6px;flex-basis:100%;padding:2px 6px;border:1px dashed #e5e7eb;border-radius:6px;background:#fff}.toolbar-placement-note{font-size:11px;color:#6b7280}.notation-size-autofit-note{display:flex;flex-direction:column;gap:2px;font-size:11px;color:#b45309}.notation-size-autofit-note-sub{color:#555}.toolbar-reset-menu-wrap{position:relative}.toolbar-reset-menu{position:fixed;top:120px;left:10px;z-index:1001;max-height:min(70vh,420px);overflow-y:auto;box-sizing:border-box;display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid #ced4da;border-radius:8px;box-shadow:0 4px 16px #00000026;padding:12px 14px;width:min(360px,calc(100vw - 32px))}.toolbar-reset-menu-item{display:flex;flex-direction:column;gap:3px}.toolbar-reset-menu-item>button{align-self:flex-start;font-size:13px;padding:3px 8px}.toolbar-reset-menu-desc{font-size:11px;color:#666;line-height:1.5;white-space:normal}.work-list-panel-wrap{position:relative}.work-list-panel{position:fixed;top:120px;left:10px;z-index:1001;box-sizing:border-box;display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid #ced4da;border-radius:8px;box-shadow:0 4px 16px #00000026;padding:12px 14px;width:min(380px,calc(100vw - 32px));max-height:min(60vh,420px);overflow-y:auto}.work-list-panel-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.work-list-panel-title{font-size:13px;font-weight:600}.work-list-empty{margin:0;font-size:12px;color:#666;line-height:1.5;white-space:normal}.work-list-items{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.work-list-item{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:4px 6px;border:1px solid #e5e7eb;border-radius:6px}.work-list-item.current{border-color:#3b82f6;background:#eff6ff}.work-list-item-open{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:2px;background:none;border:none;padding:2px 4px;cursor:pointer;text-align:left}.toolbar-panel .work-list-item-open{height:auto}.work-list-item-open:disabled{cursor:default}.work-list-item-title{font-size:13px}.work-list-item-time{font-size:11px;color:#666}.work-list-item-badge{font-size:11px;color:#1d4ed8;white-space:nowrap}.work-list-item-delete{font-size:12px;padding:2px 8px}.work-list-history{flex-basis:100%;margin:4px 0 2px;padding:6px 8px;background:#f7f7f7;border-radius:6px;font-size:12px}.work-list-history-empty{margin:0;color:#777}.work-list-history-items{list-style:none;margin:0;padding:0;display:grid;gap:4px}.work-list-history-item{display:flex;align-items:center;justify-content:space-between;gap:8px}.work-list-history-time{color:#444}button.ghost.toolbar-chip-button{box-sizing:border-box;height:var(--toolbar-control-height);padding:0 8px;font-size:12px;border-radius:6px}.toolbar-chip-button.active{border-color:#3b82f6;background:#eff6ff}.toolbar-select-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.toolbar-select-label{display:flex;align-items:center;gap:4px;font-size:11px;color:#444}.toolbar-select-label>span,.toolbar-layout-group>label,.toolbar-layout-subgroup>label,.toolbar-view-zoom-label{white-space:nowrap}.toolbar-checkbox-label input[type=checkbox]{margin:0;cursor:pointer}.toolbar-checkbox-label:has(input[type=checkbox]:disabled){opacity:.5;cursor:not-allowed}.toolbar-select-label select{border:1px solid #ccc;border-radius:6px;padding:2px 6px;font-size:12px;background:#fff;height:var(--toolbar-control-height)}.toolbar-range-value{min-width:3.2em;text-align:right;font-variant-numeric:tabular-nums}.toolbar-panel button,.toolbar-panel select,.toolbar-panel input[type=number],.toolbar-panel input[type=text]{height:var(--toolbar-control-height);box-sizing:border-box}.palette-panel button{box-sizing:content-box}.instrumentation-summary{display:flex;flex-wrap:wrap;gap:6px;align-items:center;max-width:min(100%,640px);color:#3f3f46;font-size:12px}.instrumentation-summary span{border:1px solid #d4d4d8;border-radius:6px;background:#fafafa;padding:4px 7px;line-height:1.2}.notation-mode-toggle{display:flex;gap:6px;align-items:center;font-size:12px;color:#3f3f46}.notation-mode-label{font-weight:600}.notation-mode-toggle .compact-button.active{background:#2563eb;color:#fff;border-color:#2563eb}.toolbar-section>.compact-button.active{background:#eff6ff;border-color:#2563eb;color:#1d4ed8}.instrumentation-editor{display:flex;gap:8px;align-items:flex-start;max-width:100%;color:#3f3f46;font-size:12px}.instrumentation-editor-head{display:flex;gap:6px;align-items:center;flex:0 0 auto;font-weight:600;min-height:30px}.instrumentation-part-list{display:flex;flex-wrap:wrap;gap:6px;max-width:min(100%,1180px);max-height:118px;overflow:auto;padding-right:4px}.instrumentation-part-row{display:grid;grid-template-columns:28px 28px minmax(92px,140px) minmax(52px,72px) 74px 70px minmax(64px,100px) 82px 96px minmax(72px,90px) 120px 48px;gap:4px;align-items:center;border:1px solid #d4d4d8;border-radius:6px;background:#fff;padding:4px}.instrumentation-part-row input,.instrumentation-part-row select{min-width:0;border:1px solid #d4d4d8;border-radius:5px;padding:4px 5px;font-size:12px;background:#fff}.instrumentation-editor-window{position:fixed;top:calc(var(--toolbar-h, 180px) + 12px);right:18px;z-index:950;width:min(1180px,calc(100vw - 36px));max-height:calc(100vh - var(--toolbar-h, 180px) - 34px);display:flex;flex-direction:column;gap:10px;color:#3f3f46;background:#fff;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 14px 40px #0f172a38;padding:10px}.instrumentation-editor-titlebar{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #e5e7eb;padding-bottom:8px}.instrumentation-editor-title{font-size:13px;font-weight:700;color:#111827}.instrumentation-editor-meta{margin-top:2px;font-size:11px;color:#6b7280}.instrumentation-editor-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto}.instrumentation-editor-window .instrumentation-part-list{flex-direction:column;flex-wrap:nowrap;max-width:100%;max-height:none;overflow:auto;padding:0 4px 2px 0}.instrumentation-editor-window .instrumentation-part-row{width:max-content;min-width:min(100%,1060px)}.instrumentation-editor-window--names{width:min(520px,calc(100vw - 36px))}.instrumentation-part-row--names{grid-template-columns:minmax(120px,1fr) minmax(80px,140px)}.instrumentation-editor-window .instrumentation-part-row--names{width:auto;min-width:0}.compact-button{padding:4px 7px;border-radius:6px;font-size:12px;line-height:1.2}.icon-button{width:28px;padding-inline:0}@media(max-width:760px){.instrumentation-editor-window{left:10px;right:10px;width:auto}}.brand{font-weight:700}.title-group{display:flex;gap:8px}.title-input,.subtitle-input{padding:8px 10px;border:1px solid #ddd;border-radius:8px;min-width:220px}.controls{display:flex;gap:10px}button.ghost{border:1px solid #ddd;background:#fff;border-radius:8px;padding:8px 12px;cursor:pointer;transition:all .2s ease}button.ghost:hover:not(:disabled){background:#f8f9fa;border-color:#adb5bd}button.ghost:disabled{opacity:.6;cursor:not-allowed}button.ghost.active{background:#1d4ed8;border-color:#1d4ed8;color:#fff}button.ghost.active:hover:not(:disabled){background:#1e40af;border-color:#1e40af}.save-load-buttons{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.error-message{color:#dc3545;font-size:12px;background:#f8d7da;border:1px solid #f5c6cb;border-radius:4px;padding:4px 8px;max-width:200px}.playback-controls{display:flex;gap:8px;align-items:center;padding:4px 0;flex-wrap:wrap}.playback-section{display:flex;gap:8px;align-items:center;flex-wrap:wrap;border:1px solid #e5e7eb;border-radius:6px;padding:4px 8px}.playback-buttons{display:flex;gap:4px;align-items:center}.playback-button{display:flex;align-items:center;gap:4px;min-width:60px;justify-content:center}.playback-button .button-icon{font-size:14px}.playback-button .button-text{font-size:12px;font-weight:500}.play-pause-button{background:#007bff;color:#fff;border-color:#007bff}.play-pause-button:hover:not(:disabled){background:#0056b3;border-color:#0056b3}.stop-button:hover:not(:disabled){background:#dc3545;color:#fff;border-color:#dc3545}.tempo-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.volume-controls{display:flex;align-items:center;gap:8px;margin-top:6px}.volume-label{font-size:12px;font-weight:500;color:#495057;white-space:nowrap;min-width:74px}.volume-slider{width:140px}.tempo-label{font-size:12px;font-weight:500;color:#495057;white-space:nowrap}.tempo-input-group{display:flex;align-items:center;gap:4px}.tempo-input{width:60px;padding:4px 6px;border:1px solid #ced4da;border-radius:4px;font-size:12px;text-align:center}.tempo-input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.tempo-unit{font-size:11px;color:#6c757d;white-space:nowrap}.tempo-slider{width:100px;height:4px;background:#dee2e6;border-radius:2px;outline:none;-webkit-appearance:none}.tempo-slider::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;background:#007bff;border-radius:50%;cursor:pointer}.tempo-slider::-moz-range-thumb{width:16px;height:16px;background:#007bff;border-radius:50%;cursor:pointer;border:none}.instrument-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.instrument-label{font-size:12px;font-weight:500;color:#495057;white-space:nowrap}.instrument-select-group{display:flex;align-items:center;gap:4px}.instrument-select{padding:4px 8px;border:1px solid #ced4da;border-radius:4px;font-size:12px;background:#fff;min-width:100px}.instrument-select:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.instrument-preview-button{padding:4px 8px;min-width:auto;font-size:14px}.position-display{display:flex;align-items:center;gap:4px;font-size:12px;color:#495057;margin-left:auto}.position-label{font-weight:500}.position-value{font-family:Courier New,monospace;background:#e9ecef;padding:2px 6px;border-radius:3px;white-space:nowrap}.playback-start-measure{display:flex;align-items:center;gap:6px;font-size:12px;color:#495057}.playback-start-measure-label{font-weight:500;white-space:nowrap}.playback-start-measure-input{width:64px;padding:4px 6px;border:1px solid #ced4da;border-radius:4px;font-size:12px;text-align:center}@media(max-width:768px){.toolbar{padding:8px 10px}.playback-controls{flex-direction:column;align-items:stretch;gap:12px}.playback-buttons{justify-content:center}.playback-section{flex-direction:column;align-items:stretch}.tempo-controls,.instrument-controls{justify-content:space-between}.position-display{justify-content:center;margin-left:0}.playback-start-measure{justify-content:center}.toolbar-score-controls,.toolbar-layout-controls,.toolbar-other-controls{width:100%}.toolbar-tabs{flex:1 1 auto;min-width:0}.toolbar.collapsed .toolbar-feedback-label{display:none}.toolbar.collapsed .toolbar-feedback-button{padding:0 10px}}@media(max-width:480px){.toolbar.collapsed .toolbar-view-zoom-label{display:none}}.instrument-selector{position:relative;display:flex;flex-direction:column;gap:8px;min-width:200px}.instrument-selector.compact{flex-direction:row;align-items:center;gap:8px;min-width:auto}.instrument-selector-label{font-size:12px;font-weight:500;color:#495057}.instrument-dropdown{position:relative}.instrument-selector-button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:8px 12px;border:1px solid #ced4da;border-radius:6px;background:#fff;cursor:pointer;transition:all .2s ease}.instrument-selector-button:hover:not(:disabled){border-color:#007bff;box-shadow:0 0 0 2px #007bff1a}.instrument-selector-button:disabled{opacity:.6;cursor:not-allowed}.instrument-selector-button.open{border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.selected-instrument{display:flex;align-items:center;gap:8px;flex:1}.instrument-icon{font-size:18px;width:24px;text-align:center}.instrument-details{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.instrument-name{font-size:14px;font-weight:500;color:#212529}.instrument-description{font-size:11px;color:#6c757d;line-height:1.2}.dropdown-arrow{font-size:12px;color:#6c757d;margin-left:8px}.instrument-dropdown-menu{position:absolute;top:100%;left:0;right:0;z-index:1000;background:#fff;border:1px solid #ced4da;border-radius:6px;box-shadow:0 4px 12px #00000026;max-height:300px;overflow-y:auto;margin-top:2px}.instrument-option{display:flex;align-items:center;gap:8px;padding:8px 12px;cursor:pointer;transition:background-color .2s ease;border-bottom:1px solid #f8f9fa}.instrument-option:last-child{border-bottom:none}.instrument-option:hover{background-color:#f8f9fa}.instrument-option:focus{outline:none;background-color:#e3f2fd}.instrument-option.selected{background-color:#007bff;color:#fff}.instrument-option.selected .instrument-name{color:#fff}.instrument-option.selected .instrument-description{color:#fffc}.instrument-preview-button{display:flex;align-items:center;gap:4px;padding:6px 10px;font-size:14px;min-width:auto}.preview-text{font-size:12px}.instrument-preview-mini{padding:4px 6px;font-size:12px;min-width:auto;margin-left:auto}.confirm-dialog-overlay{position:fixed;inset:0;z-index:2100;display:flex;align-items:center;justify-content:center;background:#0f172a73}.confirm-dialog{box-sizing:border-box;width:min(420px,calc(100vw - 32px));display:flex;flex-direction:column;gap:16px;background:#fff;border-radius:10px;box-shadow:0 16px 48px #0f172a59;padding:20px}.confirm-dialog-message{margin:0;font-size:14px;line-height:1.7;color:#111827;white-space:normal}.confirm-dialog-input-row{display:flex;align-items:center;gap:6px}.confirm-dialog-input{box-sizing:border-box;flex:1 1 auto;min-width:0;height:32px;padding:0 8px;font-size:13px;border:1px solid #d1d5db;border-radius:6px;color:#111827;background:#fff}.confirm-dialog-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 2px #2563eb33}.confirm-dialog-input-suffix{flex:0 0 auto;font-size:13px;color:#6b7280}.confirm-dialog-actions{display:flex;justify-content:flex-end;gap:8px}.confirm-dialog-actions button{height:32px;padding:0 16px;font-size:13px;border-radius:6px;cursor:pointer}.confirm-dialog-ok{border:1px solid #2563eb;background:#2563eb;color:#fff}.confirm-dialog-ok:hover{background:#1d4ed8}.dropdown-overlay{position:fixed;top:var(--toolbar-h, 110px);left:0;right:0;bottom:0;z-index:999;background:transparent}.instrument-selector.compact .instrument-select{min-width:120px;padding:4px 8px;font-size:12px}.instrument-selector.compact .instrument-preview-button{padding:4px 8px;font-size:14px}@media(max-width:480px){.instrument-selector{min-width:150px}.instrument-details{gap:1px}.instrument-name{font-size:13px}.instrument-description{font-size:10px}.instrument-dropdown-menu{max-height:200px}}.vf-playback-band{pointer-events:none}.playback-highlight{animation:pulse 1.2s ease-in-out infinite alternate}@keyframes pulse{0%{opacity:.75}to{opacity:1}}.playback-position-indicator{display:flex;align-items:center;gap:6px;padding:4px 8px;background:#f8f9fa;border:1px solid #dee2e6;border-radius:4px;font-size:12px;font-family:Courier New,monospace;color:#495057;transition:all .2s ease}.playback-position-indicator.playing{background:#e3f2fd;border-color:#007bff;color:#007bff}.playback-position-indicator.stopped{background:#f8f9fa;border-color:#dee2e6;color:#6c757d}.position-text{font-weight:500;white-space:nowrap}.playing-indicator{color:#007bff;font-size:14px;animation:bounce 1s ease-in-out infinite}@keyframes bounce{0%,20%,50%,80%,to{transform:translateY(0)}40%{transform:translateY(-3px)}60%{transform:translateY(-1px)}}@media(max-width:480px){.playback-position-indicator{font-size:11px;padding:3px 6px}.playing-indicator{font-size:12px}}.paper-rail{width:100%;display:flex;justify-content:center;background:#b4b4b4;padding:16px 0;min-width:min-content}.spread{padding:16px 24px;width:100%;max-width:1500px;min-width:min-content;box-sizing:border-box;display:grid;gap:20px;grid-template-columns:repeat(var(--columns, 2),1fr);justify-items:center;border-radius:8px;background:transparent}@media(max-width:1200px){.spread{grid-template-columns:1fr}}.page-wrapper{width:calc(var(--paper-width, 210mm) * var(--scale, 1));height:calc(var(--paper-height, 297mm) * var(--scale, 1))}.page-wrapper>.print-page{transform:scale(var(--scale, 1));transform-origin:top left}.print-page{position:relative;--score-text-font: "Century Schoolbook", Georgia, "Times New Roman", serif;width:var(--paper-width, 210mm);height:var(--paper-height, 297mm);overflow:hidden;display:flex;flex-direction:column;background:#fffdf6;background-image:radial-gradient(#00000008 1px,transparent 1px);background-size:4px 4px;color:#111;padding:var(--page-margin-top, 14mm) var(--page-margin-side, 14mm) var(--page-margin-bottom, 12mm);box-shadow:0 10px 30px #00000026;border:1px solid #00000010;box-sizing:border-box}.page-head{position:relative;min-height:18mm;box-sizing:border-box;margin-bottom:6mm}.page-head--title{padding-top:var(--title-margin-top, 0mm);margin-bottom:var(--title-margin-bottom, 6mm)}.score-title{margin:0;text-align:center;letter-spacing:.02em;white-space:pre-line;line-height:1.25;font-family:var(--title-font-override, var(--score-text-font));font-size:calc(26px * var(--title-font-scale, 1));font-weight:var(--title-font-weight, 700)}.score-subtitle{margin:4px 0 0;text-align:center;color:#555;white-space:pre-line;line-height:1.3;font-family:var(--title-font-override, var(--score-text-font));font-size:calc(14px * var(--score-subtitle-scale, 1) * var(--title-font-scale, 1));font-weight:var(--title-font-weight-sub, 400)}.score-credit{text-align:var(--score-credit-align, right);margin-top:2mm;color:#555;white-space:pre-line;line-height:1.3;font-family:var(--title-font-override, var(--score-text-font));font-size:calc(13px * var(--score-credit-scale, 1) * var(--title-font-scale, 1));font-weight:var(--title-font-weight-sub, 400)}.page-title{margin:0 0 2mm;font-size:14px;text-align:center;color:#444;font-family:var(--title-font-override, inherit)}.score-title[role=button],.score-subtitle[role=button],.score-credit[role=button]{cursor:pointer;border-radius:3px}.score-title[role=button]:hover,.score-subtitle[role=button]:hover,.score-credit[role=button]:hover{background:#2563eb12}.score-title-placeholder{color:#9ca3af;font-weight:400}.print-preview .score-title-placeholder{display:none}.score-credit--placeholder{color:#9ca3af}.print-preview .score-credit--placeholder{display:none}.page-head--title{scroll-margin-top:calc(var(--toolbar-h, 110px) + 8px)}.title-edit-dialog{position:fixed;right:16px;bottom:16px;z-index:1300;box-sizing:border-box;width:min(360px,calc(100vw - 32px));max-height:min(70vh,560px);overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:12px 14px;background:#fff;border:1.5px solid #111827;border-radius:8px;box-shadow:0 6px 20px #00000038;font-family:system-ui,-apple-system,Hiragino Kaku Gothic ProN,sans-serif;font-size:12px;color:#111827}.title-edit-dialog--anchored{right:auto;bottom:auto}.title-edit-dialog__head{display:flex;flex-direction:column;gap:2px}.title-edit-dialog__hint{color:#555;font-size:11px}.title-edit-dialog__fields{display:flex;flex-direction:column;gap:6px}.title-edit-dialog__field,.title-edit-dialog__label{display:flex;flex-direction:column;gap:2px}.title-edit-dialog__label>span{font-size:11px;color:#374151}.title-edit-dialog__aside{display:flex;align-items:center;flex-wrap:wrap;gap:4px;font-size:11px;color:#374151}.title-edit-dialog__field textarea{font:inherit;padding:4px 6px;border:1px solid #9ca3af;border-radius:4px;resize:vertical}.title-edit-dialog__actions{display:flex;justify-content:flex-end;gap:8px}.text-format-context-panel{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-top:8px;border-top:1px solid #e5e7eb;font-size:11px}.text-format-context-panel__field{display:flex;align-items:center;gap:4px}.text-format-context-panel__field select{font-size:11px;padding:1px;max-width:150px}.text-format-context-panel__field input[type=range]{width:84px}.text-format-context-panel__value{font-variant-numeric:tabular-nums;min-width:34px}.print-preview .title-edit-dialog{display:none}.print-preview .score-title[role=button]:hover,.print-preview .score-subtitle[role=button]:hover,.print-preview .score-credit[role=button]:hover{background:transparent}.help-overlay{position:fixed;inset:0;background:#0000002e;z-index:1200}.help-panel{position:fixed;top:8vh;left:50%;transform:translate(-50%);width:min(720px,94vw);max-height:84vh;display:flex;flex-direction:column;background:#fff;border:1px solid #ccc;border-radius:8px;box-shadow:0 8px 32px #00000040;z-index:1201}.help-panel-head{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid #e3e3e3}.help-search{flex:1;min-width:0;padding:6px 10px;border:1px solid #bbb;border-radius:6px;font-size:14px}.help-panel-body{overflow-y:auto;padding:8px 16px 16px;font-size:14px;line-height:1.7}.help-panel-body h3{font-size:15px;margin:14px 0 6px;border-bottom:2px solid #eee;padding-bottom:4px}.help-chapter{font-size:13px;color:#666;margin:12px 0 4px}.help-guide-item,.help-ref-item{margin:4px 0}.help-guide-item summary,.help-ref-item summary{cursor:pointer;font-weight:600}.help-guide-item ol{margin:6px 0 4px}.help-see-also{border:none;background:none;color:#1a6bb8;cursor:pointer;padding:0;font-size:13px;text-decoration:underline}.help-ref-body{padding:2px 0 6px 4px}.help-ref-body code{background:#f3f3f3;padding:0 4px;border-radius:3px}.help-table-wrap{overflow-x:auto}.help-table-wrap table{border-collapse:collapse;margin:6px 0}.help-table-wrap th,.help-table-wrap td{border:1px solid #ddd;padding:4px 8px;text-align:left;vertical-align:top}.help-empty{color:#777}.page-foot{position:absolute;bottom:6mm;left:0;right:0;text-align:center;color:#666;pointer-events:none}.score-area{flex:1;min-height:0;display:flex;flex-direction:column}.score-area .system-stack{flex:var(--page-capacity, 1) 1 0%;min-height:0;display:flex;flex-direction:column}.score-area .system-stack>*{flex:0 0 calc((100% - (var(--page-capacity, 1) - 1) * var(--system-row-gap, 0px)) * var(--page-slot-ratio, 1));min-height:0}.score-area .system-stack>*+*{margin-top:var(--system-row-gap, 0px)}.add-measures-ghost-button{flex:0 0 auto;align-self:center;margin:6px 0 2px;padding:4px 14px;font-size:12px;color:#9ca3af;background:transparent;border:1px dashed #d1d5db;border-radius:6px;cursor:pointer}.add-measures-ghost-button:hover{color:#6b7280;border-color:#9ca3af;background:#f9fafb}.empty-stave-filler{opacity:.38;cursor:pointer;transition:opacity .15s ease}.empty-stave-filler:hover,.empty-stave-filler:focus-visible{opacity:.6}.empty-stave-filler:focus-visible{outline:2px solid #93c5fd;outline-offset:2px}.system-select-inner{position:relative}.system-select-frame--selected .system-select-inner{outline:1px solid #93c5fd;outline-offset:2px;border-radius:4px}.system-select-edge{position:absolute;top:0;bottom:0;width:34px;padding:0;border:none;background:transparent;cursor:pointer;z-index:3}.system-select-edge--left{left:-32px}.system-select-edge--right{right:-32px}.system-select-edge:hover,.system-select-edge:focus-visible{background:#93c5fd40;border-radius:4px}.system-gap-drag-handle{position:absolute;left:0;right:0;bottom:100%;height:14px;z-index:4;cursor:row-resize;touch-action:none}.system-gap-drag-handle:before{content:"";position:absolute;left:0;right:0;bottom:6px;height:2px;background:#93c5fdbf;border-radius:1px;opacity:0;transition:opacity .12s ease}.system-gap-drag-handle:hover:before,.system-gap-drag-handle--grabbing:before{opacity:1}.system-select-surface{position:absolute;inset:0;z-index:2;padding:0;border:none;background:transparent;cursor:pointer}.system-select-surface:hover,.system-select-surface:focus-visible{background:#93c5fd1a;border-radius:4px}.layout-adjust-mode .system-select-edge{background:#93c5fd1f;border-radius:4px}.layout-adjust-mode .system-gap-drag-handle:before{opacity:.45}.gap-modifier-mode .system-gap-drag-handle:before{opacity:.45}.notation-size-drag-handle{position:absolute;right:-14px;bottom:-14px;width:18px;height:18px;z-index:5;cursor:nwse-resize;touch-action:none;background:linear-gradient(135deg,transparent 55%,rgba(147,197,253,.9) 55%);border-radius:0 0 4px}.notation-size-drag-handle:hover,.notation-size-drag-handle--grabbing{background:linear-gradient(135deg,transparent 55%,rgba(59,130,246,.95) 55%)}.notation-size-drag-value{position:fixed;z-index:1000;padding:2px 6px;font-size:11px;white-space:nowrap;color:#374151;background:#fff;border:1px solid #93c5fd;border-radius:4px;pointer-events:none}.system-gap-drag-handle--part{bottom:auto}.system-gap-drag-value{position:absolute;bottom:16px;z-index:31;padding:2px 6px;font-size:11px;color:#374151;background:#fff;border:1px solid #93c5fd;border-radius:4px;box-shadow:0 2px 8px #0000002e;white-space:nowrap;pointer-events:none}.system-layout-panel{position:absolute;top:100%;transform:translateY(-2px);z-index:30;display:flex;align-items:center;gap:4px;padding:3px 6px;font-size:11px;color:#374151;background:#fff;border:1.5px solid #93c5fd;border-radius:6px;box-shadow:0 2px 8px #0000002e;white-space:nowrap}.system-layout-panel--left{left:-24px}.system-layout-panel--right{right:-24px}.system-layout-panel-label{color:#6b7280}.system-layout-panel-button{width:20px;height:20px;line-height:1;padding:0;font-size:11px;color:#6b7280;background:transparent;border:1px solid #d1d5db;border-radius:4px;cursor:pointer}.system-layout-panel-button:hover:not(:disabled){color:#374151;border-color:#9ca3af;background:#f9fafb}.system-layout-panel-button:disabled{opacity:.4;cursor:default}.system-layout-panel-value{min-width:44px;padding:1px 2px;font-size:11px;color:#374151;text-align:center;background:transparent;border:none;border-bottom:1px dashed #9ca3af;cursor:text}.system-layout-panel-value:hover{background:#f3f4f6}.system-layout-panel-input{width:52px;padding:1px 2px;font-size:11px;border:1px solid #93c5fd;border-radius:3px}.layout-overflow-alert{margin:0 0 8px;padding:6px 8px;color:#991b1b;background:#fef2f2;border:1px solid #fecaca;font-size:12px}.page-number{font-variant-numeric:tabular-nums}.score-area{--score-stroke-scale: calc(var(--score-stroke-width, 1.2) / 1.2 * var(--score-stroke-floor, 1))}.score-area svg path,.score-area svg line{stroke-width:calc(var(--score-stroke-width, 1.2) * var(--score-stroke-floor, 1))}.score-area svg g.vf-stave>path{stroke-width:calc(var(--engraving-staff-line, 1.3px) * var(--score-stroke-scale, 1))}.score-area svg g.vf-stem>path{stroke-width:calc(var(--engraving-stem, 1.2px) * var(--score-stroke-scale, 1))}.score-area svg g.vf-stavenote>path[stroke]{stroke-width:calc(var(--engraving-ledger, 1.6px) * var(--score-stroke-scale, 1));stroke:#000}.score-area svg path.vf-sub-bracket{stroke-width:calc(var(--engraving-barline, 1.6px) * var(--score-stroke-scale, 1))}.score-area svg path.vf-arc{stroke-width:calc(var(--engraving-arc, 1px) * var(--score-stroke-scale, 1))}.score-area svg rect.vf-engraving-thin-line{width:calc(var(--engraving-barline, 1.6px) * var(--score-stroke-floor, 1));transform:translate(calc(var(--engraving-barline, 1.6px) * -.5 * (var(--score-stroke-floor, 1) - 1)))}.score-area svg rect.vf-engraving-thick-line{width:calc(var(--engraving-thick-line, 3px) * var(--score-stroke-floor, 1));transform:translate(calc(var(--engraving-thick-line, 3px) * -.5 * (var(--score-stroke-floor, 1) - 1)))}.score-area svg text{font-weight:var(--score-text-weight, 400)}.vf-hit{fill:transparent!important;stroke:none!important;pointer-events:all}.vf-hit.vf-measure-selected{fill:#2563eb2e!important;stroke:#1d4ed8!important;stroke-width:3}.vf-note-hit,.vf-hit-voice2{fill:transparent!important;stroke:none!important;pointer-events:all;cursor:pointer}.symbol-hit-region{stroke:none!important}.vf-note-selected{fill:none;stroke:#1d4ed8;stroke-width:2;pointer-events:none;rx:4;ry:4}.vf-guide-line,.vf-guide-dot,.vf-guide-ledger{pointer-events:none}.vf-guide-ledger{stroke:#1d4ed8;stroke-width:1.4;stroke-linecap:round;opacity:.85}.vf-guide-chord{pointer-events:none;fill:#6399ff2e;stroke:#4682dc8c;stroke-width:1.5}.vf-key-signature-debug{pointer-events:none;fill:#f59e0b29;stroke:#b453098c;stroke-width:1.2;rx:3;ry:3}.ui-variant-badge{position:fixed;right:8px;bottom:8px;z-index:2000;padding:2px 8px;border-radius:999px;border:1px solid rgba(255,255,255,.35);background:#0b2a1ad9;color:#d1fae5;font-size:11px;line-height:1.6;letter-spacing:.02em;pointer-events:none;-webkit-user-select:none;user-select:none}@media print{@page{size:A4;margin:0}:root{--print-ink: #000}body{background:#fff!important;margin:0!important}.toolbar,.score-title-placeholder,.score-credit--placeholder,.vf-active-layer-band{display:none!important}.vf-inactive-layer-symbol{opacity:1!important}.print-preview-lock-banner,.edit-notice,.layout-overflow-alert,.add-measures-ghost-button,.ui-variant-badge,.ui-context-bar-float,.empty-stave-filler,.system-select-edge,.system-layout-panel,.system-gap-drag-handle,.system-select-surface,.notation-size-drag-handle,.notation-size-drag-value{display:none!important}.system-select-frame--selected,.system-select-frame--selected .system-select-inner{outline:none!important}.app-root{padding-top:0!important}.app-root{padding-left:0!important}.paper-rail{padding:0!important;background:#fff!important}.spread{display:block;width:auto;max-width:none!important;padding:0!important;gap:0!important}.page-wrapper{transform:none!important;width:auto!important;height:auto!important}.print-page{transform:none!important;page-break-after:always;box-shadow:none;border:0;background:#fff;background-image:none}.score-title{font-size:calc(24px * var(--title-font-scale, 1))}.score-subtitle{font-size:calc(12px * var(--score-subtitle-scale, 1) * var(--title-font-scale, 1))}.print-page .score-area{--score-stroke-width: .8 !important;--score-stroke-floor: 1 !important}.print-page svg path[stroke]:not([stroke=none]):not(.vf-arc-hit):not(.vf-hairpin-hit){stroke:var(--print-ink)!important}.print-page svg path:not([fill=none]):not(.vf-arc-hit):not(.vf-hairpin-hit){fill:var(--print-ink)!important}.print-page svg line{stroke:var(--print-ink)!important}.print-page svg path.vf-arc-hit,.print-page svg path.vf-hairpin-hit{stroke:none!important;fill:none!important}.print-page svg circle[stroke]:not([stroke=none]){stroke:var(--print-ink)!important}.print-page svg circle:not([fill=none]){fill:var(--print-ink)!important}.print-page svg rect[stroke]:not([stroke=none]):not(.vf-hit):not(.vf-note-hit):not(.vf-note-selected):not(.vf-key-signature-debug):not(.symbol-hit-region):not(.vf-playback-band):not(.vf-inactive-voice-note-hit):not(.vf-beat-slice-selected){stroke:var(--print-ink)!important}.print-page svg rect:not([fill=none]):not(.vf-hit):not(.vf-note-hit):not(.vf-note-selected):not(.vf-key-signature-debug):not(.symbol-hit-region):not(.vf-playback-band):not(.vf-inactive-voice-note-hit):not(.vf-beat-slice-selected){fill:var(--print-ink)!important}.print-page svg rect.vf-hit,.print-page svg rect.vf-note-hit,.print-page svg rect.vf-note-selected,.print-page svg rect.vf-key-signature-debug,.print-page svg rect.symbol-hit-region,.print-page svg rect.vf-inactive-voice-note-hit{stroke:none!important;fill:transparent!important}.print-page svg rect.vf-beat-slice-selected{display:none!important}.print-page svg rect.vf-playback-band{display:none!important}.print-page svg .vf-screen-only{display:none!important}.title-edit-dialog{display:none!important}.print-page svg text{fill:var(--print-ink)!important}.print-page svg g[stroke]:not([stroke=none]){stroke:var(--print-ink)!important}.print-page svg g[fill]:not([fill=none]){fill:var(--print-ink)!important}.print-page svg[stroke]:not([stroke=none]){stroke:var(--print-ink)!important}.print-page svg[fill]:not([fill=none]){fill:var(--print-ink)!important}.print-page,.print-page .page-head *,.print-page .page-foot *{color:var(--print-ink)!important}.print-hidden-system,.print-hidden-page{display:none!important}.print-final-page .system-stack{justify-content:flex-start}}.print-preview .layout-overflow-alert,.print-preview .add-measures-ghost-button,.print-preview .empty-stave-filler{display:none!important}.print-preview .print-page svg,.print-preview .print-page svg *{cursor:default!important}.print-preview-lock-banner{margin:0;padding:4px 16px;font-size:12px;color:#78350f;background:#fef3c7;border-bottom:1px solid #fde68a;text-align:center}.print-preview .system-layout-panel{opacity:.55;transition:opacity .15s ease}.print-preview .system-layout-panel:hover,.print-preview .system-layout-panel:focus-within{opacity:1}.print-preview .paper-rail{background:#e5e7eb}.print-preview .vf-active-layer-band{display:none}.print-preview .vf-inactive-layer-symbol{opacity:1}.print-preview .print-page{--score-stroke-width: .8;box-shadow:0 2px 10px #0000002e}.print-preview .print-page svg path[stroke]:not([stroke=none]):not(.vf-arc-hit):not(.vf-hairpin-hit){stroke:var(--print-ink, #000)}.print-preview .print-page svg path:not([fill=none]):not(.vf-arc-hit):not(.vf-hairpin-hit){fill:var(--print-ink, #000)}.print-preview .print-page svg line{stroke:var(--print-ink, #000)}.print-preview .print-page svg path.vf-arc-hit,.print-preview .print-page svg path.vf-hairpin-hit{stroke:none;fill:none}.print-preview .print-page svg circle[stroke]:not([stroke=none]){stroke:var(--print-ink, #000)}.print-preview .print-page svg circle:not([fill=none]){fill:var(--print-ink, #000)}.print-preview .print-page svg rect[stroke]:not([stroke=none]):not(.vf-hit):not(.vf-note-hit):not(.vf-note-selected):not(.vf-key-signature-debug):not(.symbol-hit-region):not(.vf-playback-band):not(.vf-inactive-voice-note-hit):not(.vf-beat-slice-selected){stroke:var(--print-ink, #000)}.print-preview .print-page svg rect:not([fill=none]):not(.vf-hit):not(.vf-note-hit):not(.vf-note-selected):not(.vf-key-signature-debug):not(.symbol-hit-region):not(.vf-playback-band):not(.vf-inactive-voice-note-hit):not(.vf-beat-slice-selected){fill:var(--print-ink, #000)}.print-preview .print-page svg rect.vf-hit,.print-preview .print-page svg rect.vf-note-hit,.print-preview .print-page svg rect.vf-note-selected,.print-preview .print-page svg rect.vf-key-signature-debug,.print-preview .print-page svg rect.symbol-hit-region,.print-preview .print-page svg rect.vf-inactive-voice-note-hit{stroke:none;fill:transparent}.print-preview .print-page svg rect.vf-beat-slice-selected{display:none}.print-preview .print-page svg rect.vf-playback-band{display:none}.print-preview .print-page svg .vf-screen-only{display:none}.print-preview .print-page svg text{fill:var(--print-ink, #000)}.print-preview .print-page svg g[stroke]:not([stroke=none]){stroke:var(--print-ink, #000)}.print-preview .print-page svg g[fill]:not([fill=none]){fill:var(--print-ink, #000)}.print-preview .print-page svg[stroke]:not([stroke=none]){stroke:var(--print-ink, #000)}.print-preview .print-page svg[fill]:not([fill=none]){fill:var(--print-ink, #000)}.print-preview .spread{gap:32px 40px}.print-preview .print-hidden-system,.print-preview .print-hidden-page{display:none!important}.print-preview .print-final-page .system-stack{justify-content:flex-start}.screen-final-page-single .system-stack{flex:1 1 0%!important;justify-content:flex-start}.screen-final-page-single .system-stack>*{flex:0 0 auto!important}svg{animation:none;transition:none}.coord-correction-wrap{position:relative}.coord-panel{position:fixed;top:120px;left:10px;z-index:1001;background:#fff;border:1px solid #ced4da;border-radius:8px;box-shadow:0 4px 16px #00000026;padding:12px 14px;min-width:220px;max-width:calc(100vw - 16px);box-sizing:border-box;white-space:nowrap}.coord-panel-note{margin:0 0 10px;font-size:11px;color:#666;line-height:1.5}.coord-panel-row{display:flex;align-items:center;gap:6px}.coord-panel-row input[type=number]{width:54px;text-align:center;font-size:13px;padding:3px 6px;border:1px solid #ced4da;border-radius:4px}.symbol-adjust-overlay{transition:opacity .12s ease}@media(prefers-reduced-motion:reduce){.symbol-adjust-overlay{transition:none}}.symbol-adjust-overlay-translucent{opacity:.25}.toolbar-persistent-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.home-screen{position:fixed;inset:0;z-index:3000;overflow-y:auto;background:#eef1ef;color:#212529;box-sizing:border-box}@media print{.home-screen{display:none}}.home-shell{display:grid;grid-template-columns:176px minmax(0,1fr);min-height:100%}.home-rail{position:sticky;top:0;height:100vh;box-sizing:border-box;display:flex;flex-direction:column;gap:14px;padding:20px 12px;background:#0b2a1a;color:#f4f7f5}.home-rail-mark{font-size:22px;line-height:1;padding:0 8px;opacity:.9}.home-rail-nav{display:flex;flex-direction:column;gap:2px}.home-rail-button{background:none;border:none;font:inherit;text-align:left;cursor:pointer}.home-rail-button.is-active{background:#ffffff24;border-radius:8px}.home-rail-flyout{display:flex;flex-direction:column;gap:8px;margin-top:10px;padding:10px;background:#ffffff14;border-radius:10px}.home-rail-flyout .home-secondary-button{width:100%}.home-rail-link{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:6px;color:inherit;text-decoration:none;font-size:13px}.home-rail-link:hover{background:#ffffff1f}.home-rail-icon{width:16px;text-align:center;opacity:.85}.home-main{width:100%;max-width:1800px;margin:0 auto;box-sizing:border-box;padding:24px 28px 28px;display:flex;flex-direction:column;gap:16px}.home-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.home-title{margin:0;font-size:22px;font-weight:700;letter-spacing:.04em}.home-header-slot{min-width:96px;min-height:32px}.home-section{background:#fff;color:#212529;border:1px solid #e3e6e4;border-radius:10px;padding:14px 16px;display:flex;flex-direction:column;gap:10px}.home-section-title{margin:0;font-size:13px;font-weight:700;color:#495057}.home-error{margin:0;padding:10px 14px;border:1px solid #fca5a5;border-radius:8px;background:#fef2f2;color:#b91c1c;font-size:13px;line-height:1.6}.home-note{margin:0;font-size:12px;color:#666;line-height:1.6}.home-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}.home-card-button{display:flex;flex-direction:column;gap:6px;padding:10px;border:1px solid #ced4da;border-radius:8px;background:#fff;cursor:pointer;text-align:left}.home-card-button:hover{background:#f8f9fa;border-color:#1c7c4a}.home-card-thumb{display:block;width:100%;height:auto;aspect-ratio:120 / 76;border-radius:4px}.home-card-label{font-size:14px;font-weight:600}.home-card-description{font-size:11px;color:#666;line-height:1.5}.home-button-row{display:flex;flex-wrap:wrap;gap:8px}.home-secondary-button{padding:8px 12px;border:1px solid #ced4da;border-radius:6px;background:#fff;font-size:13px;cursor:pointer}.home-secondary-button:hover{background:#e9ecef}.home-work-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:6px;max-height:min(44vh,340px);overflow-y:auto}.home-work-button{display:flex;align-items:center;gap:8px;width:100%;box-sizing:border-box;padding:8px 12px;border:1px solid #ced4da;border-radius:8px;background:#fff;cursor:pointer;text-align:left}.home-work-button:hover{background:#f8f9fa;border-color:#1c7c4a}.home-work-title{flex:1;min-width:0;font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-work-icon{color:#1c7c4a;font-size:15px}.home-updated-at{font-size:11px;color:#868e96;flex-shrink:0;white-space:nowrap;font-variant-numeric:tabular-nums}.home-footer{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;font-size:11px;color:#6c757d}.home-version{font-variant-numeric:tabular-nums}.home-footer-note{opacity:.85}@media(max-width:760px){.home-shell{grid-template-columns:minmax(0,1fr)}.home-rail{position:static;height:auto;flex-direction:row;align-items:center;gap:8px;padding:8px 10px;overflow-x:auto}.home-rail-nav{flex-direction:row;gap:4px}.home-rail-link{padding:6px 8px;white-space:nowrap}.home-main{padding:16px 12px 24px}.home-card-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}.home-work-title{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}}.toolbar-layer-part-group{display:inline-flex;align-items:center;gap:4px;flex-wrap:nowrap}.toolbar-add-voice-button.is-disabled{opacity:.45;cursor:not-allowed}
