:root{color:#e5e7eb;background:#202124;font-family:Noto Sans TC,Microsoft JhengHei,system-ui,-apple-system,sans-serif}*{box-sizing:border-box}body{--trash-icon-color: #d2939e;--trash-icon-strong: #e1a5af;--trash-surface-active: #3d3336;--trash-border-active: #8a6870;--button-surface: #242629;--button-surface-hover: #2c2f33;--button-surface-active: #353a36;--icon-line-color: #44503a;--icon-line-muted: #36402f;--icon-line-strong: #5d7f50;--icon-line-active: #95bd4c;--add-icon-color: #5d7f50;--add-icon-hover: #6b8d5f;--control-green: #44503a;--control-green-muted: #56604d;--control-green-soft: #aeb5a3;--control-green-track: #c2c0b2;--slider-fill: #5d7f50;--slider-thumb: #44503a;--slider-thumb-size: 10px;--slider-thumb-offset: -1px;--slider-track: #aeb5a3;--slider-thumb-ring: #202124;--button-border-muted: #323b2e;--button-border-hover: #3a4634;--button-border-active: #44503a;--library-line-color: rgba(68, 80, 58, .58);--ui-title-font-size: 13px;--ui-body-font-size: 11px;--ui-secondary-font-size: 8px;--ui-icon-button-size: 27px;--ui-row-height: 30px;font-size:var(--ui-body-font-size);height:100vh;margin:0;min-width:960px;overflow:hidden}.app-error-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:#202124;color:#e5e7eb}.app-error-panel{width:min(520px,100%);padding:24px;border:1px solid #3a3d42;border-radius:10px;background:#26282c;box-shadow:0 24px 60px #0000007a}.app-error-panel h1{margin:8px 0 12px;font-size:20px;line-height:1.4}.app-error-panel p{margin:0;color:#cbd5e1;font-size:13px;line-height:1.8}.app-error-eyebrow{color:#95bd4c!important;font-size:12px!important}.app-error-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.app-error-actions button{min-height:34px;padding:0 16px;border:1px solid #3a3d42;border-radius:999px;background:#26282c;color:#e5e7eb;font:inherit;font-size:13px;cursor:pointer}.app-error-actions button:hover{border-color:#44503a;background:#353a36;color:#95bd4c}*{scrollbar-color:rgba(68,80,58,.64) transparent;scrollbar-width:thin}*::-webkit-scrollbar{height:18px;width:18px}*::-webkit-scrollbar-track{background:#44503a4d;background-clip:content-box;border:6px solid transparent;border-radius:999px}*::-webkit-scrollbar-thumb{background:#44503aa3;background-clip:content-box;border:6px solid transparent;border-radius:999px}*::-webkit-scrollbar-thumb:hover{background-color:#44503ac7}*::-webkit-scrollbar-button{display:none;height:0;width:0}*::-webkit-scrollbar-corner{background:transparent}button,input,select,textarea{font:inherit}button,select,input,textarea{border:1px solid #3a3d42;background:#26282c;color:#e5e7eb;border-radius:6px}button{border-color:var(--button-border-muted);cursor:pointer;font-size:var(--ui-body-font-size);line-height:1.2;padding:2px 5px}button:hover:not(:disabled),.active-button,.toolbar-button.is-active,.toolbar-segmented-control .toolbar-button.is-active,.line-editor-segmented button.is-active{background:var(--button-surface-active);border-color:var(--button-border-active);color:var(--icon-line-active)}button:disabled,input:disabled,select:disabled,textarea:disabled{color:#717b8d;cursor:not-allowed;opacity:.65}input,select,textarea{font-size:var(--ui-body-font-size);padding:2px 5px}.app-shell{display:flex;flex-direction:column;height:100vh;overflow:hidden;background:#202124}.startup-project-overlay{align-items:center;background:#0c0d0f80;display:flex;inset:0;justify-content:center;padding:18px;position:fixed;z-index:9000}.startup-project-dialog{background:#151716;border:1px solid rgba(78,91,69,.74);border-radius:7px;box-shadow:0 28px 76px #0000008c;color:#e5e7eb;display:grid;overflow:hidden;padding:0;width:min(760px,calc(100vw - 36px))}.startup-project-hero{aspect-ratio:2.55 / 1;min-height:220px;overflow:hidden;position:relative}.startup-project-hero>img{display:block;height:100%;object-fit:cover;object-position:center 68%;width:100%}.startup-project-hero:after{background:linear-gradient(90deg,#0a0b0a94,#0a0b0a14 52%),linear-gradient(180deg,#0a0b0a1f,#0a0b0a3d);content:"";inset:0;position:absolute}.startup-project-brand{align-items:center;display:inline-flex;gap:0;left:22px;position:absolute;top:16px;z-index:1}.startup-project-brand>img:not(.startup-project-wordmark){filter:drop-shadow(0 2px 10px rgba(0,0,0,.42));height:62px;object-fit:contain;width:70px}.startup-project-wordmark{filter:drop-shadow(0 2px 12px rgba(0,0,0,.6));height:52px;margin-left:-22px;object-fit:contain;width:154px}.startup-project-brand span{height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.startup-project-body{background:#151716;display:grid;gap:30px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:22px 42px 28px}.startup-project-section{align-content:start;display:grid;gap:10px}.startup-project-section h2{color:#e5e7eba3;font-size:14px;font-weight:300;margin:2px 0 0}.startup-empty-recent,.startup-feature-list span{color:#e5e7eb7a;font-size:12px;font-weight:300}.startup-entry-button,.startup-recent-file{align-items:center;background:transparent;border:0;border-radius:4px;color:#f3f4f6db;display:inline-flex;font-size:14px;font-weight:300;justify-content:flex-start;min-height:28px;overflow:hidden;padding:3px 5px;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%}.startup-entry-button:before,.startup-recent-file:before,.startup-feature-list span:before{border:1px solid rgba(194,219,162,.72);content:"";flex:0 0 auto;height:8px;margin-right:10px;transform:rotate(45deg);width:8px}.startup-entry-button:hover:not(:disabled),.startup-recent-file:hover{background:#c2dba217;color:#f7f9f2}.startup-empty-recent{margin:0 0 14px;min-height:28px;padding:5px}.startup-feature-list{display:grid;gap:7px;padding:4px 5px 0}.startup-feature-list span{align-items:center;display:inline-flex;min-height:20px}.startup-feature-list span:last-child{font-size:10px}.startup-feature-list span:before{border-color:#c2dba26b;height:6px;width:6px}.startup-hidden-file-input{display:none}.startup-entry-button:disabled{cursor:default;opacity:.38}@media(max-width:680px){.startup-project-dialog{width:min(420px,calc(100vw - 28px))}.startup-project-hero{min-height:180px}.startup-project-body{gap:20px;grid-template-columns:1fr;padding:20px 24px 24px}}.toolbar{background:#202124;border-bottom:1px solid #303236;display:flex;flex:0 0 auto;flex-direction:column;gap:1px;min-height:0;padding:0 6px 1px}.app-brand-bar{align-items:center;border-bottom:1px solid rgba(76,81,89,.55);display:flex;gap:14px;height:30px;justify-content:flex-start;min-width:0;padding:2px 8px}.studio-mode-nav{align-items:flex-end;background:transparent;border-bottom:1px solid rgba(76,81,89,.58);display:flex;flex:1 1 auto;gap:0;min-height:28px;min-width:0;overflow-x:auto;padding:0 0 0 2px}.studio-mode-button{align-items:center;background:#23262a6b;border:1px solid transparent;border-bottom:0;border-radius:8px 8px 0 0;color:#8d9a8b;display:inline-flex;flex:0 0 auto;font-weight:700;justify-content:center;min-height:28px;min-width:78px;padding:3px 14px 4px;position:relative;transform:translateY(1px)}.studio-mode-button:hover{background:#3a40439e;border-color:#82a36938;color:#c4d9aa}.studio-mode-button.is-active{background:#2b2f34;border-color:#7880887a;box-shadow:inset 0 2px #9aae8cb8,inset 0 0 0 1px #d9e8be0a;color:#f0f3e8}.studio-mode-button.is-active:after{background:#a7abb0;bottom:0;content:"";height:2px;left:12px;position:absolute;right:12px}.toolbar-row{align-items:center;display:flex;flex-wrap:nowrap;gap:3px;min-height:var(--ui-row-height)}.axis-toolbar-row{overflow-x:auto;overflow-y:hidden;padding-bottom:0}.axis-toolbar-row>*{flex:0 0 auto}.workspace-section-label{align-items:center;color:#c2dba2;display:inline-flex;font-size:var(--ui-title-font-size);font-weight:700;letter-spacing:.02em;min-height:var(--ui-row-height);min-width:82px;padding:0 7px 0 4px;white-space:nowrap}.context-section-label{border-right:1px solid rgba(68,80,58,.5);margin-left:46px;margin-right:2px;padding-left:0}.text-toolbar-row{justify-content:flex-start;overflow-x:auto;overflow-y:hidden;padding-bottom:0}.text-toolbar-row>*{flex:0 0 auto}.main-row{justify-content:space-between}.project-title,.toolbar-actions,.toolbar-group{align-items:center;display:flex;gap:3px}.project-title{flex:0 0 auto;min-width:0}.project-title strong{color:#c7d0dd;font-size:var(--ui-title-font-size);white-space:nowrap}.brand-logo{border:0;height:23px;object-fit:contain;object-position:center;opacity:.9;width:48px}.workspace-name-label{display:none}.brand-actions{flex:0 0 auto;gap:6px;margin-left:auto}.brand-actions .toolbar-button{min-height:24px;padding-inline:10px}.brand-navigation-slot{align-items:center;display:flex;flex:1 1 auto;min-width:0}.compact{padding-inline:5px}.status-pill,.locked-label,.active-layer-badge{border-radius:999px;font-size:var(--ui-secondary-font-size);padding:1px 5px}.status-pill{background:#17351f;color:#86efac}.locked-label{background:#3f1f23;color:#fca5a5}.active-layer-badge{background:#44503ab8;color:#c2c0b2}.sync-move-label{background:#3b2f09;border:1px solid #a16207;border-radius:999px;color:#fde68a;display:inline-flex;font-size:var(--ui-secondary-font-size);padding:1px 5px;width:fit-content}.layer-item.relative-move-active{border-color:#f59e0b}.toolbar-group{background:#24262a;border:1px solid var(--button-border-muted);border-radius:8px;min-height:var(--ui-row-height);padding:0 3px}.quick-object-actions{padding:0 3px}.outline-export-actions{margin-left:auto;position:relative}.toolbar-group span{color:#7f8b9b;font-size:var(--ui-secondary-font-size)}.toolbar-group strong{color:#c4ccd7}.toolbar-button{align-items:center;background:var(--button-surface);border:1px solid var(--button-border-muted);color:var(--icon-line-color);display:inline-flex;gap:3px;justify-content:center;min-height:var(--ui-icon-button-size);padding:2px 6px}.toolbar-button:hover:not(:disabled){background:var(--button-surface-hover);border-color:var(--button-border-hover);color:var(--icon-line-active)}.toolbar-button.is-active{color:var(--icon-line-active);box-shadow:inset 0 0 0 1px #ffffff2e}.toolbar-button.is-active:not(:has(.toolbar-trash-svg)) .toolbar-icon,.toolbar-button:hover:not(:disabled):not(:has(.toolbar-trash-svg)) .toolbar-icon{color:var(--icon-line-active)}.toolbar-button:disabled:not(:has(.toolbar-trash-svg)){color:var(--icon-line-muted)}.toolbar-segmented-control{display:inline-flex;gap:2px}.toolbar-segmented-control .toolbar-button{border-radius:6px}.icon-button{height:var(--ui-icon-button-size);padding:0;width:var(--ui-icon-button-size)}.toolbar-icon{align-items:center;color:inherit;display:inline-flex;font-size:17px;font-weight:700;height:18px;justify-content:center;line-height:1;min-width:18px}.custom-toolbar-svg{color:inherit;fill:none;height:21px;overflow:visible;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.2;width:21px}.toolbar-glyph-svg{fill:currentColor}.toolbar-glyph-svg text{dominant-baseline:middle;fill:currentColor;font-family:Noto Sans TC,Microsoft JhengHei,sans-serif;font-weight:800;stroke:none;text-anchor:middle}.toolbar-text-svg text{font-size:17px}.toolbar-timeline-svg text{font-size:10px}.toolbar-timeline-svg path{fill:none;stroke:currentColor}.toolbar-trash-svg{color:var(--trash-icon-color)}.toolbar-button:has(.toolbar-trash-svg){color:var(--trash-icon-color)}.toolbar-button:has(.toolbar-trash-svg):hover:not(:disabled),.toolbar-button:has(.toolbar-trash-svg).is-active{color:var(--trash-icon-strong)}.custom-toolbar-svg circle.timeline-start-node{fill:currentColor}.align-toolbar-svg{height:17px;stroke-width:2.8;width:17px}.toolbar-divider{background:var(--button-border-muted);display:inline-block;height:22px;margin:0 1px;width:1px}.toolbar-group .icon-button{flex:0 0 auto}.zoom-group input{width:126px}.zoom-group input[type=range]{-webkit-appearance:none;appearance:none;accent-color:var(--slider-fill);background:linear-gradient(to right,var(--slider-fill) 0%,var(--slider-fill) var(--zoom-range-progress, 0%),var(--slider-track) var(--zoom-range-progress, 0%),var(--slider-track) 100%);border:1px solid rgba(53,64,48,.62);border-radius:999px;cursor:pointer;height:8px;padding:0}.zoom-group input[type=range]::-webkit-slider-runnable-track{background:transparent;border-radius:999px;height:8px}.zoom-group input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:var(--slider-thumb);border:1px solid var(--slider-thumb-ring);border-radius:999px;box-shadow:0 0 0 1px #aeb5a38c;height:var(--slider-thumb-size);margin-top:var(--slider-thumb-offset);width:var(--slider-thumb-size)}.zoom-group input[type=range]::-moz-range-track{background:var(--slider-track);border-radius:999px;height:8px}.zoom-group input[type=range]::-moz-range-progress{background:var(--slider-fill);border-radius:999px;height:8px}.zoom-group input[type=range]::-moz-range-thumb{background:var(--slider-thumb);border:1px solid var(--slider-thumb-ring);border-radius:999px;box-shadow:0 0 0 1px #aeb5a38c;height:var(--slider-thumb-size);width:var(--slider-thumb-size)}.text-format-group input[type=number]{font-size:var(--ui-body-font-size);width:48px}.text-toolbar-row .text-format-group{max-width:100%}.toolbar-color-swatches{align-items:center;display:inline-flex;gap:3px}.toolbar-color-swatch{border:2px solid #334155;border-radius:999px;height:16px;padding:0;width:16px}.toolbar-color-swatch:hover:not(:disabled){border-color:#93c5fd}.toolbar-color-swatch.is-active{border-color:#fff;box-shadow:0 0 0 2px #2563eb}.line-format-group input{font-size:var(--ui-body-font-size);width:130px}.hidden-input{display:none}.outline-export-menu{background:#202124;border:1px solid rgba(126,159,97,.42);border-radius:8px;box-shadow:0 14px 34px #00000061;color:#d7dce5;display:grid;gap:10px;min-width:218px;padding:10px;position:fixed;z-index:12000}.outline-export-menu strong{color:#d9ecbd;font-size:var(--ui-body-font-size)}.outline-export-toggle{align-items:center;display:inline-flex;gap:8px}.outline-export-toggle input{accent-color:#8ea96e}.outline-export-toggle span,.outline-export-field>span{color:#aab3c2;font-size:var(--ui-secondary-font-size)}.outline-export-field{display:grid;gap:6px}.outline-export-background-options{display:grid;gap:4px;grid-template-columns:repeat(3,minmax(0,1fr))}.outline-export-background-options button,.outline-export-submit{background:var(--button-surface);border:1px solid var(--button-border-muted);border-radius:6px;color:#c4ccd7;min-height:26px;padding:3px 8px}.outline-export-background-options button:hover,.outline-export-submit:hover{background:var(--button-surface-hover);border-color:var(--button-border-hover);color:#d9ecbd}.outline-export-background-options button.is-active{background:#7e9f6133;border-color:#a0be7e9e;color:#d9ecbd}.outline-export-submit{font-weight:700}.setting-library-section{background:#202124;border-top:1px solid #303236;color:#e5e7eb;min-height:100%;padding:4px 24px 24px;position:relative}.setting-library-section.is-focus-workspace{display:flex;flex-direction:column;gap:0;height:100%;min-height:0;overflow:hidden;padding:8px 18px 14px}.setting-library-section.is-focus-workspace .library-location-row{flex:0 0 auto;max-width:none;width:100%}.setting-focus-editor-region{flex:0 0 var(--setting-focus-editor-height, clamp(500px, 60vh, 760px));height:var(--setting-focus-editor-height, clamp(500px, 60vh, 760px));margin:0 -18px;min-height:320px;overflow:hidden;width:calc(100% + 36px)}.setting-focus-editor-resize-handle{align-items:center;background:#202124;border:0;border-bottom:1px solid rgba(68,80,58,.28);border-top:1px solid rgba(68,80,58,.28);cursor:ns-resize;display:flex;flex:0 0 14px;justify-content:center;margin:0 -18px;padding:0;position:relative;touch-action:none;width:calc(100% + 36px);z-index:36}.setting-focus-editor-resize-handle span{background:#c2dba257;border-radius:999px;height:3px;transition:background-color .12s ease,width .12s ease;width:58px}.setting-focus-editor-resize-handle:hover,.setting-focus-editor-resize-handle:focus-visible,.is-resizing-setting-focus-editor .setting-focus-editor-resize-handle{background:#44503a1f;outline:none}.setting-focus-editor-resize-handle:hover span,.setting-focus-editor-resize-handle:focus-visible span,.is-resizing-setting-focus-editor .setting-focus-editor-resize-handle span{background:#c2dba2ad;width:84px}.is-resizing-setting-focus-editor{cursor:ns-resize;-webkit-user-select:none;user-select:none}.setting-focus-empty-panel{align-items:center;background:#26282ce0;border:1px solid rgba(68,80,58,.58);border-radius:10px;color:#cbd5e1;display:flex;flex-direction:column;gap:6px;height:100%;justify-content:center;min-height:0;text-align:center}.setting-focus-empty-panel strong{color:#e5e7eb;font-size:15px}.setting-focus-empty-panel span{color:#94a3b8;font-size:12px}.setting-library-bookcase-region{flex:1 1 auto;min-height:190px;overflow:auto;padding-bottom:12px}.setting-library-section.is-focus-workspace .library-bookcase{max-width:none;width:min(1480px,100%)}.library-icon-button{align-items:center;background:var(--button-surface);border:1px solid var(--button-border-muted);border-radius:999px;color:var(--icon-line-color);display:inline-flex;height:38px;justify-content:center;padding:0;position:relative;transition:background-color .12s ease,border-color .12s ease,box-shadow .12s ease,color .12s ease,transform .12s ease;width:38px}.library-icon-button svg{fill:none;height:21px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;width:21px}.library-icon-button:hover:not(:disabled){background:var(--button-surface-hover);border-color:var(--button-border-hover);color:var(--icon-line-strong);transform:translateY(-1px)}.library-trash-button{color:var(--trash-icon-color)}.library-add-button{color:var(--add-icon-color)}.library-add-button:hover:not(:disabled){color:var(--add-icon-hover)}.library-trash-button.is-drop-active{background:var(--trash-surface-active);border-color:var(--trash-border-active);box-shadow:0 0 0 4px #8a687038,0 8px 24px #00000052;color:var(--trash-icon-strong);transform:scale(1.1)}.trash-count{align-items:center;background:#8f4d57;border:2px solid #0f141d;border-radius:999px;color:#fff;display:flex;font-size:9px;font-weight:800;height:18px;justify-content:center;min-width:18px;padding:0 4px;position:absolute;right:-5px;top:-5px}.library-bookcase{background:transparent;border:1px solid var(--library-line-color);border-radius:10px;box-shadow:none;display:flex;flex-direction:column;gap:0;margin:0 auto;max-width:1180px;padding:0 14px 10px;position:relative}.library-shelf{--library-row-item-height: 62px;--library-row-item-width: 101px;position:relative}.library-shelf.is-mixed-row{--library-row-item-height: 62px}.shelf-books{align-content:flex-end;align-items:flex-end;display:flex;flex-wrap:wrap;gap:14px 12px;min-height:calc(var(--library-row-item-height) + 20px);padding:10px 108px 10px 7px;position:relative;transition:background-color .12s ease}.shelf-books:after{background:var(--library-line-color);border-radius:999px;bottom:0;content:"";height:1px;left:0;position:absolute;right:0}.shelf-books.is-drop-target{background:#3b82f614}.library-book-slot{align-items:flex-end;display:flex;height:var(--library-row-item-height);position:relative;width:var(--library-row-item-width)}.library-book-slot.show-insertion:before,.book-insertion-marker{background:#60a5fa;border-radius:999px;content:"";height:var(--library-row-item-height);left:-4px;position:absolute;width:2px}.book-insertion-marker{display:block;left:auto;position:relative}.library-book{align-items:flex-start;align-self:flex-end;background:transparent;border:0;border-radius:0;box-shadow:none;color:#f4f6f0f0;display:flex;height:var(--library-row-item-height);justify-content:flex-start;overflow:visible;padding:0;position:relative;text-align:left;transition:color .12s ease,box-shadow .12s ease,filter .12s ease,transform .12s ease;width:var(--library-row-item-width)}.library-folder-outline{height:100%;inset:0;overflow:visible;pointer-events:none;position:absolute;width:100%;z-index:0}.library-folder-shape{fill:transparent;stroke:#dee2dac2;stroke-linejoin:round;stroke-width:1;transition:stroke .12s ease;vector-effect:non-scaling-stroke}.library-folder-bar-track{fill:transparent;stroke:#dee2da9e;stroke-width:1;transition:stroke .12s ease;vector-effect:non-scaling-stroke}.library-folder-bar-fill{fill:var(--folder-color, #b1d3c5);opacity:1;transition:fill .12s ease,opacity .14s ease}button.library-book:hover:not(:disabled){box-shadow:0 0 0 1px #f4f6f11f,0 18px 28px #00000042;filter:none;transform:translateY(-5px) scale(1.08)}button.library-book:hover:not(:disabled) .library-folder-shape,button.library-book:hover:not(:disabled) .library-folder-bar-track{stroke:#f8faf4f0}button.library-book:hover:not(:disabled) .library-folder-bar-fill{opacity:1}.library-book.is-dragging{opacity:.48}.book-spine-title{color:currentColor;display:block;font-size:11px;font-weight:500;line-height:1.05;margin:26px 11px 0;max-height:35px;max-width:80px;overflow:hidden;position:relative;text-shadow:none;z-index:2}.book-type-bookmark{align-items:center;background:#0f172a80!important;border-radius:6px;box-shadow:0 3px 8px #0f172a38;color:#fff!important;display:flex;gap:3px;height:18px;justify-content:center;max-width:72px;padding:0 6px;position:absolute;right:6px;top:auto;bottom:6px;z-index:3}.book-type-bookmark span{display:block;font-size:9px;font-weight:800;line-height:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.library-shelf-actions{align-items:center;display:flex;gap:8px;position:absolute;right:12px;top:50%;transform:translateY(-50%);z-index:4}.library-add-menu-anchor{position:relative}.library-add-menu{background:#26282c;border:1px solid #3a3d42;border-radius:8px;bottom:46px;box-shadow:0 16px 34px #0000006b;display:flex;flex-direction:column;gap:4px;padding:6px;position:absolute;right:0;width:158px;z-index:20}.setting-library-section.is-focus-workspace .library-add-menu{bottom:auto;top:46px;z-index:60}.library-add-menu button{background:transparent;border:0;color:#e2e8f0;padding:7px 9px;text-align:left;width:100%}.library-add-menu button:hover{background:#33363a}.library-add-menu button:disabled{color:#6b7280;cursor:not-allowed}.library-add-menu button:disabled:hover{background:transparent}.library-box-location{align-items:center;color:#c2c0b2;display:flex;gap:6px;min-height:30px;min-width:0}.library-location-row{align-items:center;display:flex;gap:10px;justify-content:space-between;margin:0 auto 8px;max-width:1180px;min-height:32px}.library-location-left{align-items:center;display:flex;flex:1 1 auto;gap:8px;min-width:0}.library-location-controls{align-items:center;display:flex;flex:0 1 auto;gap:10px;justify-content:flex-end;min-width:0}.library-lights-toggle{align-items:center;color:#cbd5e1;cursor:pointer;display:inline-flex;flex:0 0 auto;font-size:12px;font-weight:700;gap:7px;line-height:1;white-space:nowrap}.library-control-separator{background:var(--library-line-color);display:inline-block;height:26px;width:1px}.library-lights-toggle input{height:1px;opacity:0;position:absolute;width:1px}.library-lights-switch{background:#323a31;border:1px solid var(--button-border-muted);border-radius:999px;display:inline-flex;height:22px;position:relative;transition:background-color .12s ease,border-color .12s ease;width:42px}.library-lights-switch:after{background:var(--control-green-soft);border-radius:999px;content:"";height:16px;left:2px;position:absolute;top:2px;transition:transform .12s ease,background-color .12s ease;width:16px}.library-lights-toggle input:checked+.library-lights-switch{background:var(--control-green);border-color:var(--button-border-active)}.library-lights-toggle input:checked+.library-lights-switch:after{background:#d0d7c8;transform:translate(20px)}.file-section-label{border-right:1px solid rgba(68,80,58,.5);min-width:82px;padding-left:0}.library-home-icon{fill:none;height:19px;stroke:var(--icon-line-color);stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9;width:19px}.library-box-location button{align-items:center;background:transparent;border:0;color:var(--icon-line-color);display:flex;font-size:22px;height:30px;justify-content:center;padding:0;width:30px}.library-box-location .library-home-button{border:1px solid transparent;border-radius:10px;color:var(--icon-line-color);gap:7px;padding:0 9px;position:relative;transform:scale(1);transition:background-color .12s ease,border-color .12s ease,box-shadow .12s ease,transform .12s ease;width:auto}.library-home-button:hover,.library-home-button.is-drop-active{background:#44503a29;border-color:var(--button-border-hover);color:var(--control-green-soft)}.library-home-button.is-drop-active{box-shadow:0 0 0 3px #44503a3d;transform:scale(1.06)}.library-home-button .library-home-icon{stroke:currentColor}.library-home-button span{font-size:var(--ui-body-font-size);font-weight:700;white-space:nowrap}.library-home-drop-hint{background:#242629f2;border:1px solid rgba(68,80,58,.58);border-radius:999px;bottom:-28px;color:#e5e7eb;font-size:var(--ui-secondary-font-size);font-style:normal;left:0;padding:3px 8px;pointer-events:none;position:absolute;white-space:nowrap;z-index:30}.library-location-separator{background:#44503a80;display:inline-block;height:20px;width:1px}.library-box-location .library-back-button{font-size:22px;width:24px}.library-box-location strong{font-size:14px;font-weight:600;color:#d8d7cc}.library-path-separator{color:#c2c0b2b8;flex:0 0 auto;font-size:18px;font-weight:700;line-height:1;margin:0 2px}.library-path-segment{color:#d8d7cc;display:inline-block;font-size:14px;font-weight:600;max-width:220px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.library-path-current{color:#f3f4f6;font-weight:800}.library-box-slot{align-items:flex-end;display:flex;width:var(--library-row-item-width)}.library-box{align-items:center;background:transparent;border:1px solid transparent;border-radius:8px;box-shadow:none;color:#f4f6f0e6;display:flex;flex-direction:column;height:var(--library-row-item-height);justify-content:flex-start;padding:23px 8px 3px;position:relative;transition:background .12s ease,border-color .12s ease,color .12s ease,box-shadow .12s ease,transform .12s ease;--box-line-color: rgba(222, 226, 218, .82);width:var(--library-row-item-width)}.library-box:before,.library-box:after{content:"";pointer-events:none;position:absolute;transition:border-color .12s ease}.library-box:before{border:1px solid var(--box-line-color);border-radius:2px;height:6px;left:2px;right:2px;top:1px}.library-box:after{border:1px solid var(--box-line-color);border-radius:4px;inset:11px 5px 0}button.library-box:hover:not(:disabled){background:transparent;border-color:transparent;box-shadow:none;color:#fffffff5;filter:drop-shadow(0 12px 18px rgba(0,0,0,.28));transform:translateY(-7px) scale(1.14);--box-line-color: rgba(248, 250, 244, .95)}.library-bookcase.is-focus-mode .library-folder-bar-fill{fill:transparent;opacity:0}.library-bookcase.is-focus-mode button.library-book:hover:not(:disabled) .library-folder-bar-fill,.library-bookcase.is-focus-mode .library-shelf:focus-within .library-folder-bar-fill{fill:transparent;opacity:0}.library-bookcase.is-focus-mode.has-focused-shelf .library-shelf.is-focus-dimmed .library-book{color:#9ca4948a}.library-bookcase.is-focus-mode.has-focused-shelf .library-shelf.is-focus-dimmed .library-folder-shape{stroke:#8b92846b}.library-bookcase.is-focus-mode.has-focused-shelf .library-shelf.is-focus-dimmed .library-folder-bar-track{stroke:#8b928457}.library-bookcase.is-focus-mode.has-focused-shelf .library-shelf.is-focus-dimmed .library-box{--box-line-color: rgba(139, 146, 132, .42);color:#9ca4948a}.library-box.is-dragging{opacity:.48}.library-box.is-book-drop-target:hover{border-color:transparent;box-shadow:none;filter:drop-shadow(0 12px 18px rgba(0,0,0,.28))}.library-box>svg{display:none}.box-context-menu{background:#26282c;border:1px solid #3a3d42;border-radius:9px;box-shadow:0 18px 46px #0000007a;display:flex;flex-direction:column;gap:4px;min-width:178px;padding:7px;position:fixed;z-index:10100}.box-context-menu>button{align-items:center;background:transparent;border:0;display:flex;gap:8px;padding:8px 9px;text-align:left}.box-context-menu>button:hover{background:#33363a}.box-context-menu>button svg{fill:none;height:16px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;width:16px}.box-context-menu form{display:flex;flex-direction:column;gap:9px;padding:3px}.box-context-menu form label{display:flex;flex-direction:column;gap:5px}.library-box-name{color:currentColor;flex:0 0 auto;font-size:11px;font-weight:700;line-height:1;max-width:84px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.library-box-count{color:currentColor;flex:0 0 auto;font-size:11px;font-weight:600;line-height:1;margin-top:1px;opacity:.82}.library-search-area{flex:0 1 320px;position:relative;width:min(320px,100%);z-index:12}.library-search{align-items:center;background:#242629c7;border:1px solid var(--library-line-color);border-radius:999px;display:flex;gap:7px;height:30px;margin-bottom:0;padding:0 7px 0 11px;width:100%}.library-search>svg{fill:none;flex:0 0 auto;height:17px;stroke:var(--control-green-muted);stroke-linecap:round;stroke-linejoin:round;stroke-width:2;width:17px}.library-search input{background:transparent;border:0;color:#d8d7cc;flex:1;min-width:0;outline:none;padding:0}.library-search input::placeholder{color:#c2c0b28c}.library-search input::-webkit-search-cancel-button{display:none}.library-search:focus-within{border-color:#5d7f50c2;box-shadow:0 0 0 2px #44503a33}.library-search-clear{align-items:center;background:transparent;border:0;border-radius:999px;color:var(--control-green-muted);display:flex;font-size:20px;height:25px;justify-content:center;line-height:1;padding:0;width:25px}.library-search-suggestions{background:#202124fa;border:1px solid var(--library-line-color);border-radius:12px;box-shadow:0 14px 28px #00000047;display:grid;gap:5px;grid-template-columns:repeat(2,minmax(0,1fr));left:0;padding:8px;position:absolute;right:0;top:calc(100% + 6px)}.library-search-suggestion{align-items:center;background:#44503a24;border:1px solid rgba(68,80,58,.5);border-radius:999px;color:#c2c0b2;display:flex;font-size:var(--ui-body-font-size);gap:5px;height:26px;justify-content:flex-start;min-width:0;padding:0 9px}.library-search-suggestion:hover{background:#44503a3d;border-color:#5d7f50ad;color:#d8d7cc}.library-search-suggestion svg{fill:none;flex:0 0 auto;height:14px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;width:14px}.library-search-suggestion span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.library-search-empty{color:#94a3b8;font-size:13px;left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:5}.book-type-bookmark svg{fill:none;height:15px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9;width:15px}.recycle-bin-window{background:#26282c;border:1px solid #3a3d42;border-radius:12px;box-shadow:0 28px 80px #00000094;display:flex;flex-direction:column;left:50%;max-height:min(520px,calc(100vh - 48px));min-height:180px;overflow:hidden;position:fixed;top:50%;transform:translate(-50%,-50%);width:min(520px,calc(100vw - 48px));z-index:10020}.recycle-bin-window header{align-items:center;background:#242629;border-bottom:1px solid #3a3d42;display:flex;justify-content:space-between;padding:14px 16px}.recycle-bin-window header>div{display:flex;flex-direction:column;gap:3px}.recycle-bin-window header strong{color:#f8fafc;font-size:15px}.recycle-bin-window header span{color:#94a3b8;font-size:11px}.recycle-bin-window header button{align-items:center;border-radius:999px;display:flex;font-size:20px;height:30px;justify-content:center;line-height:1;padding:0;width:30px}.recycle-bin-list{display:flex;flex-direction:column;gap:8px;overflow-y:auto;padding:12px}.recycle-bin-item{align-items:center;background:#2b2d31;border:1px solid #3a3d42;border-radius:9px;display:flex;gap:16px;justify-content:space-between;padding:11px 12px}.recycle-bin-item>div{display:flex;flex-direction:column;gap:4px;min-width:0}.recycle-bin-item strong{color:#e2e8f0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recycle-bin-item span{color:#94a3b8;font-size:11px}.recycle-bin-item button{flex:0 0 auto}.library-toast{animation:library-toast-in .16s ease-out;background:#e2e8f0;border:1px solid #ffffff;border-radius:8px;bottom:24px;box-shadow:0 14px 40px #00000061;color:#111827;font-size:13px;font-weight:700;left:50%;padding:9px 14px;position:fixed;transform:translate(-50%);z-index:10040}@keyframes library-toast-in{0%{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%)}}.book-editor-window{background:#26282c;border:1px solid #3a3d42;border-radius:10px;box-shadow:0 24px 60px #0000007a;display:flex;flex-direction:column;font-size:12px;gap:9px;max-height:calc(100vh - 24px);max-width:calc(100vw - 24px);min-height:480px;min-width:520px;overflow:hidden;padding:11px;position:fixed;z-index:120}.book-editor-window.is-large-mode{border-color:#55595f;gap:10px;min-height:560px;min-width:760px;padding:12px}.book-editor-window.is-embedded{background:transparent;border:0;border-radius:0;box-shadow:none;height:100%;max-height:none;max-width:none;min-height:0;min-width:0;position:relative;width:100%;z-index:auto}.book-editor-window.is-embedded.is-large-mode{background:transparent;border:0;border-radius:0;gap:0;min-height:0;min-width:0;padding:0}.book-editor-window.is-embedded .book-editor-titlebar{cursor:default;padding-right:2px}.book-editor-window.is-embedded .book-editor-titlebar strong{display:none}.book-editor-window.is-embedded.is-large-mode .book-editor-titlebar{left:16px;min-height:34px;padding:0;pointer-events:none;position:absolute;right:16px;top:18px;z-index:8}.book-editor-window.is-embedded.is-large-mode .book-editor-titlebar .book-large-mode-toggle{background:#e6eee057;border:1px solid rgba(93,127,80,.26);border-radius:999px;box-shadow:0 5px 14px #0f172a14;color:#1f2b23e0;gap:7px;min-height:34px;margin-left:auto;padding:5px 6px 5px 12px;pointer-events:auto}.book-editor-window.is-embedded.is-large-mode .book-large-mode-toggle>span:not(.book-large-mode-switch){color:#1f2b23e0;text-shadow:none}.book-editor-window.is-embedded.is-large-mode .book-large-editor-content{border-radius:10px;height:100%}.book-editor-window.is-embedded.is-large-mode .book-large-puzzle{border-radius:10px}.book-editor-window.is-embedded:not(.is-large-mode){gap:0;padding:0 18px 12px}.book-editor-window.is-embedded:not(.is-large-mode) .book-editor-titlebar{min-height:30px;padding:0;pointer-events:none;position:absolute;right:18px;top:0;z-index:8}.book-editor-window.is-embedded:not(.is-large-mode) .book-editor-titlebar .book-large-mode-toggle{pointer-events:auto}.book-editor-window.is-embedded:not(.is-large-mode) .book-editor-content{border-top:1px solid #3a3d42;padding-top:2px}.book-editor-window.is-embedded:not(.is-large-mode) .book-editor-tabs{border-bottom:0;gap:5px;padding:0}.book-editor-window.is-embedded:not(.is-large-mode) .book-editor-tabs button{border:1px solid transparent;border-radius:8px 8px 0 0;height:30px;min-width:94px;padding:4px 12px}.book-editor-window.is-embedded:not(.is-large-mode) .book-editor-tabs button.is-active{border-color:#3f4349}.book-editor-window.is-embedded:not(.is-large-mode) .book-editor-tab-panel{padding-top:3px}.book-resize-handle{position:absolute;touch-action:none;z-index:20}.resize-n,.resize-s{cursor:ns-resize;height:14px;left:18px;right:18px}.resize-n{top:0}.resize-s{bottom:0}.resize-e,.resize-w{bottom:18px;cursor:ew-resize;top:18px;width:14px}.resize-e{right:0}.resize-w{left:0}.resize-nw,.resize-ne,.resize-sw,.resize-se{height:22px;width:22px}.resize-nw,.resize-se{cursor:nwse-resize}.resize-ne,.resize-sw{cursor:nesw-resize}.resize-nw{left:0;top:0}.resize-ne{right:0;top:0}.resize-sw{bottom:0;left:0}.resize-se{bottom:0;right:0}.resize-se:after{border-bottom:2px solid #64748b;border-right:2px solid #64748b;bottom:2px;content:"";height:8px;position:absolute;right:2px;width:8px}.book-editor-titlebar{align-items:center;cursor:move;display:flex;flex:0 0 auto;gap:8px;justify-content:space-between;min-height:32px;padding:0 4px 4px 0;-webkit-user-select:none;user-select:none}.book-editor-window.is-large-mode .book-editor-titlebar{cursor:default}.book-editor-titlebar button{border-radius:999px;font-size:16px;height:26px;line-height:1;padding:0;width:26px}.book-editor-titlebar strong{flex:1;font-size:14px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.book-large-mode-toggle{align-items:center;color:#cbd5e1;cursor:pointer;display:inline-flex;flex:0 0 auto;font-size:12px;font-weight:700;gap:6px;line-height:1;margin-left:auto;white-space:nowrap}.book-editor-titlebar .book-large-mode-toggle{flex-direction:row}.book-large-mode-toggle>span:not(.book-large-mode-switch){display:inline-flex}.book-large-mode-toggle input{height:1px;opacity:0;position:absolute;width:1px}.book-large-mode-switch{background:#323a31;border:1px solid var(--button-border-muted);border-radius:999px;display:inline-flex;height:22px;position:relative;transition:background-color .12s ease,border-color .12s ease;width:42px}.book-large-mode-switch:after{background:var(--control-green-soft);border-radius:999px;content:"";height:16px;left:2px;position:absolute;top:2px;transition:transform .12s ease,background-color .12s ease;width:16px}.book-large-mode-toggle input:checked+.book-large-mode-switch{background:var(--control-green);border-color:var(--button-border-active)}.book-large-mode-toggle input:checked+.book-large-mode-switch:after{background:#d0d7c8;transform:translate(20px)}.book-editor-tabs{align-items:flex-end;border-bottom:1px solid #3a3d42;display:flex;flex:0 0 auto;gap:3px;min-height:34px;padding:0 4px}.book-editor-tabs button{background:#242629;border:1px solid transparent;border-bottom:0;border-radius:7px 7px 0 0;color:#94a3b8;height:30px;padding:5px 14px;touch-action:none;-webkit-user-select:none;user-select:none}.book-editor-tabs button:hover{background:#2d3035;color:#e2e8f0}.book-editor-tabs button.is-active{background:#2d3035;border-color:#3f4349;color:#fff;position:relative}.book-editor-tabs button.is-active:after{background:#8a8d92;bottom:0;content:"";height:2px;left:8px;position:absolute;right:8px}.book-editor-window.is-tab-merge-target{box-shadow:0 0 0 3px #8a8d92,0 24px 60px #0000007a}.book-tab-drag-preview{background:#2563eb;border:1px solid #93c5fd;border-radius:6px;color:#fff;font-size:12px;padding:6px 12px;pointer-events:none;position:fixed;z-index:10000}.book-editor-meta{display:grid;gap:8px;grid-template-columns:minmax(180px,1.4fr) minmax(150px,.8fr) minmax(180px,1fr)}.book-editor-window label{color:#cbd5e1;display:flex;flex-direction:column;font-size:12px;gap:4px}.book-editor-window input,.book-editor-window select{font-size:13px}.book-editor-window .book-large-mode-toggle{flex-direction:row}.book-editor-content{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}.book-editor-content>.puzzle-tab-panel{min-height:0}.book-large-editor-content{display:block;flex:1;min-height:0;overflow:hidden;position:relative}.book-large-panel{background:transparent;border:1px solid rgba(15,23,42,.34);border-radius:12px;display:flex;flex-direction:column;min-height:0;overflow:hidden}.book-large-panel>h3{border-bottom:1px solid rgba(15,23,42,.24);color:#0f172a;flex:0 0 auto;font-size:13px;margin:0;padding:7px 10px}.book-large-panel-title{align-items:center;background:transparent;border:0;border-bottom:1px solid rgba(15,23,42,.24);border-radius:0;color:#0f172a;display:flex;flex:0 0 auto;font-size:13px;font-weight:700;justify-content:space-between;min-height:31px;padding:7px 10px;text-align:left;width:100%}.book-large-panel-title:hover{background:#0f172a0d}.book-large-side{display:flex;flex-direction:column;gap:16px;min-height:0;pointer-events:none;position:absolute;bottom:18px;right:18px;top:62px;width:min(31%,380px);z-index:4}.book-large-side .book-large-panel{pointer-events:auto}.book-large-file{flex:0 0 auto}.book-large-description{flex:1 1 auto}.book-large-panel.is-collapsed{flex:0 0 auto;min-height:0}.book-large-panel.is-collapsed .book-large-panel-title{border-bottom:0}.book-large-panel .book-editor-tab-panel{padding:8px}.book-large-puzzle .puzzle-tab-panel{height:100%;overflow:hidden;padding:0}.book-large-puzzle{inset:0;position:absolute;z-index:1}.book-large-puzzle .character-puzzle{background:transparent;border:0;border-radius:0;display:block;height:100%;min-height:0;padding:0;position:relative}.book-large-puzzle .character-puzzle-heading{align-items:center;display:flex;gap:0;justify-content:flex-start;left:26px;max-width:calc(100% - min(31%,380px) - 86px);min-height:20px;pointer-events:none;position:absolute;right:auto;top:18px;width:max-content;z-index:5}.book-large-puzzle .character-puzzle-title,.book-large-puzzle .character-puzzle-heading h3,.book-large-puzzle .character-puzzle-heading p{display:none}.book-large-puzzle .puzzle-item-controls{background:transparent;border:0;border-radius:0;color:#0f172a;margin-top:-2px;padding:0;pointer-events:auto;position:static;z-index:5}.book-large-puzzle .character-puzzle-tool-row{display:flex;gap:12px}.book-large-puzzle .puzzle-item-controls label{color:#0f172a}.book-large-puzzle .character-overlay-controls{align-items:center;background:transparent;border:0;border-radius:0;box-shadow:none;color:#0f172a;display:flex;flex-direction:row;gap:10px;padding:0;position:static}.book-large-puzzle .character-overlay-controls label{align-items:center;color:#0f172a;flex-direction:row;gap:5px}.book-large-puzzle .character-overlay-opacity input{width:88px}.book-large-puzzle .character-overlay-toggle input,.book-large-puzzle .character-overlay-opacity input{accent-color:var(--control-green)}.book-large-puzzle .puzzle-keyword-input{align-items:center;background:transparent;border:0;border-radius:0;bottom:18px;color:#0f172a;left:18px;padding:0;position:absolute;width:min(52%,720px);z-index:5;font-size:0}.book-large-puzzle .puzzle-keyword-input input{background:#78829140;border-color:#44503a8c;border-radius:6px;color:#0f172a;font-size:13px}.book-large-puzzle .character-puzzle-board{border-radius:0;height:auto!important;inset:0;min-height:0;position:absolute;z-index:1}.book-large-puzzle .puzzle-height-resize-handle{bottom:4px;left:30%;opacity:.5;position:absolute;right:30%;z-index:5}.book-large-file .book-editor-meta{grid-template-columns:1fr}.book-large-description textarea{font-size:13px!important;min-height:100%}.book-large-panel label{color:#1e293b}.book-large-panel input,.book-large-panel select,.book-large-panel textarea{background:transparent;border-color:#0f172a52;color:#0f172a}.book-large-panel input::placeholder,.book-large-panel textarea::placeholder{color:#64748b}.book-editor-tab-panel{flex:1;min-height:0;overflow:auto;padding:10px 4px 4px}.puzzle-tab-panel{display:flex;flex-direction:column;overscroll-behavior:contain}.description-tab-panel{display:flex;flex-direction:column;overflow:hidden}.description-tools{align-items:center;display:flex;justify-content:flex-end;position:absolute;right:12px;bottom:52px;z-index:3}.description-highlighter-button{align-items:center;background:#26282c75;border:1px solid rgba(148,148,148,.28);border-radius:999px;color:#cbd5e1;cursor:pointer;display:inline-flex;font-size:11px;gap:5px;padding:4px 9px}.description-highlighter-button span{color:#facc15;text-shadow:0 0 8px rgba(250,204,21,.48)}.description-highlighter-button.is-active{background:#facc153d;border-color:#facc1594;color:#fef3c7}.description-lock-toggle{align-items:center;background:#26282c75;border:1px solid rgba(148,148,148,.28);border-radius:8px;bottom:14px;display:inline-flex;flex-direction:row;gap:6px!important;opacity:.5;padding:5px 8px;position:absolute;right:12px;-webkit-user-select:none;user-select:none;z-index:2}.description-lock-toggle input{accent-color:var(--control-green);margin:0}.description-lock-toggle span{color:#cbd5e1;font-size:12px}.book-content-field{display:flex;flex:1;min-height:0;position:relative}.book-content-field textarea{flex:1;height:auto;font-size:13px;line-height:1.45;min-height:0;padding-bottom:86px;padding-right:12px;resize:none}.book-content-field textarea:focus{border-color:#0f172a66;box-shadow:inset 0 0 0 1px #0f172a1f;outline:none}.book-content-field textarea:read-only{color:#cbd5e1;cursor:default}.book-large-panel .book-content-field textarea:read-only{color:#0f172a}.description-highlight-reader{background:transparent;border:1px solid rgba(15,23,42,.32);border-radius:6px;color:#0f172a;cursor:text;flex:1;font-size:13px;line-height:1.45;min-height:0;overflow:auto;padding:8px 12px 86px;-webkit-user-select:text;user-select:text;white-space:pre-wrap;width:100%}.description-highlight-reader::selection,.description-highlight-reader *::selection{background:#facc156b}.description-highlight-mark{background:#facc156b;border-radius:3px;color:inherit;padding:0 1px}.description-highlight-reader.is-marking .description-highlight-mark:hover{background:#fbbf249e;box-shadow:0 0 0 1px #d977063d}.description-highlight-reader.is-viewing .description-highlight-mark{cursor:text}.description-highlight-reader.is-editable:hover{border-color:#0f172a7a}.description-highlight-reader:focus-visible{border-color:#0f172a6b;box-shadow:inset 0 0 0 1px #0f172a1f;outline:none}.description-highlight-reader.is-locked,.description-highlight-reader.is-locked .description-highlight-mark{cursor:default}.description-highlight-placeholder{color:#64748b}.file-tab-panel{display:flex;flex-direction:column;gap:16px;padding:18px 8px 10px}.file-tab-panel .book-editor-meta label{color:#9ca3af;font-size:11px;font-weight:400;letter-spacing:0}.file-tags-field{grid-column:1 / -1}.reference-image-library{border-top:1px solid rgba(148,163,184,.18);display:flex;flex:1;flex-direction:column;gap:8px;min-height:0;padding-top:12px}.reference-image-toolbar{align-items:center;display:flex;gap:12px;justify-content:space-between}.reference-image-heading{align-items:baseline;display:flex;gap:10px;min-width:0}.reference-image-heading strong{color:#9ca3af;font-size:11px;font-weight:400;letter-spacing:0}.reference-image-heading span,.reference-image-message{color:#94a3b8;font-size:11px}.reference-image-actions{align-items:center;display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.reference-image-button,.reference-image-size-toggle button{background:#1f2328b8;border:1px solid rgba(148,163,184,.22);border-radius:8px;color:#cbd5e1;cursor:pointer;font-size:12px;min-height:30px;padding:5px 10px}.reference-image-button:hover,.reference-image-size-toggle button:hover{border-color:#c6d2be6b;color:#f8fafc}.reference-image-button:disabled{cursor:wait;opacity:.55}.reference-image-size-toggle{background:#1214188c;border:1px solid rgba(148,163,184,.16);border-radius:8px;display:inline-flex;overflow:hidden}.reference-image-size-toggle button{border:0;border-radius:0;min-width:34px}.reference-image-size-toggle button.is-active{background:#627d5285;color:#edf7dd}.reference-image-dropzone{background:linear-gradient(#c6d2be0d,#c6d2be05),#12141847;border:1px dashed rgba(148,163,184,.24);border-radius:8px;flex:1;min-height:240px;overflow:auto;padding:10px 72px 10px 10px;position:relative}.reference-image-dropzone.has-selection{overflow:hidden}.reference-image-dropzone:focus-visible{border-color:#c6d2be73;box-shadow:inset 0 0 0 1px #c6d2be29;outline:none}.reference-image-empty{align-items:center;color:#94a3b8;display:flex;flex-direction:column;gap:8px;height:100%;justify-content:center;min-height:220px;text-align:center}.reference-image-empty strong{color:#d1d5db;font-size:15px}.reference-image-empty span{font-size:12px}.reference-image-browser{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;height:100%;min-height:100%}.reference-image-dropzone.has-selection .reference-image-browser{grid-template-columns:minmax(248px,min(34%,620px)) minmax(360px,1fr);min-height:0}.reference-image-grid{align-content:start;display:grid;gap:8px;justify-content:start;min-height:0;overflow:auto}.reference-image-grid.is-small{grid-auto-rows:clamp(64px,11.5vh,84px);grid-template-columns:repeat(auto-fill,minmax(126px,168px))}.reference-image-grid.is-medium{grid-auto-rows:112px;grid-template-columns:repeat(auto-fill,minmax(164px,1fr))}.reference-image-grid.is-large{grid-auto-rows:146px;grid-template-columns:repeat(auto-fill,minmax(226px,1fr))}.reference-image-tile{background:#1f2328b8;border:1px solid rgba(148,163,184,.2);border-radius:8px;cursor:grab;min-height:0;overflow:hidden;position:relative;transition:border-color .12s ease,box-shadow .12s ease,opacity .12s ease,transform .12s ease}.reference-image-tile:active{cursor:grabbing}.reference-image-tile.is-selected{border-color:#c6d2beb8;box-shadow:0 0 0 2px #c6d2be29}.reference-image-tile.is-drag-before,.reference-image-tile.is-drag-after{border-color:#c6d2beb8;transform:translateY(-2px)}.reference-image-tile.is-drag-before:before,.reference-image-tile.is-drag-after:after{background:#c6d2be;border-radius:999px;bottom:6px;box-shadow:0 0 0 3px #c6d2be29;content:"";position:absolute;top:6px;width:3px;z-index:2}.reference-image-tile.is-drag-before:before{left:-2px}.reference-image-tile.is-drag-after:after{right:-2px}.reference-image-tile-preview{background:transparent;border:0;color:inherit;cursor:pointer;display:block;height:100%;padding:0;text-align:left;width:100%}.reference-image-frame{background:#0f172a80;display:block;height:100%;min-height:0;overflow:hidden}.reference-image-frame img{display:block;height:100%;object-fit:cover;transition:transform .16s ease;width:100%}.reference-image-tile:hover .reference-image-frame img{transform:scale(1.025)}.reference-image-inspector{background:linear-gradient(45deg,rgba(148,163,184,.055) 25%,transparent 25%),linear-gradient(-45deg,rgba(148,163,184,.055) 25%,transparent 25%),#0d0f12c7;background-size:22px 22px;border:1px solid rgba(148,163,184,.18);border-radius:8px;display:flex;height:100%;min-height:0;overflow:hidden;position:relative}.reference-image-inspector-close{align-items:center;background:#0f172aa3;border:1px solid rgba(148,163,184,.24);border-radius:999px;color:#cbd5e1;cursor:pointer;display:flex;font-size:18px;height:30px;justify-content:center;line-height:1;position:absolute;right:10px;top:10px;width:30px;z-index:3}.reference-image-inspector-close:hover{border-color:#c6d2be6b;color:#f8fafc}.reference-image-inspector-stage{align-items:center;display:flex;flex:1;justify-content:center;min-height:0;overflow:auto;padding:10px}.reference-image-inspector-stage img{display:block;max-height:100%;max-width:100%;object-fit:contain;width:auto}.reference-image-floating-actions{align-items:center;background:#12141847;border:1px solid transparent;border-radius:999px;bottom:16px;display:flex;gap:9px;padding:8px;position:absolute;right:16px;transition:background-color .12s ease,border-color .12s ease,box-shadow .12s ease;z-index:5}.reference-image-floating-actions.is-drop-active{background:#312328c2;border-color:#f8717166;box-shadow:0 0 0 5px #8a68702e,0 10px 28px #00000057}.reference-image-floating-actions.is-drop-active .library-trash-button{background:var(--trash-surface-active);border-color:var(--trash-border-active);color:var(--trash-icon-strong)}@media(max-width:980px){.reference-image-dropzone{padding-right:62px}.reference-image-floating-actions{flex-direction:column;border-radius:999px;left:16px;right:auto}.reference-image-dropzone.has-selection .reference-image-browser{grid-template-columns:minmax(0,1fr)}}.reference-image-message{margin:0;min-height:14px}.reference-image-preview-backdrop{align-items:center;background:#0a0c0fbd;display:flex;inset:0;justify-content:center;padding:28px;position:fixed;z-index:20000}.reference-image-preview-dialog{background:#202328;border:1px solid rgba(148,163,184,.28);border-radius:8px;box-shadow:0 24px 80px #00000080;color:#e5e7eb;display:flex;flex-direction:column;max-height:min(820px,88vh);max-width:min(1120px,92vw);min-height:480px;overflow:hidden;width:100%}.reference-image-preview-dialog header{align-items:center;border-bottom:1px solid rgba(148,163,184,.18);display:flex;justify-content:space-between;padding:12px 16px}.reference-image-preview-dialog header button{background:transparent;border:1px solid rgba(148,163,184,.24);border-radius:999px;color:#e5e7eb;cursor:pointer;font-size:18px;height:32px;line-height:1;width:32px}.reference-image-preview-body{display:grid;flex:1;gap:0;grid-template-columns:minmax(0,1.6fr) minmax(280px,340px);min-height:0}.reference-image-preview-stage{align-items:center;background:linear-gradient(45deg,rgba(148,163,184,.08) 25%,transparent 25%),linear-gradient(-45deg,rgba(148,163,184,.08) 25%,transparent 25%),#15181c;background-size:22px 22px;display:flex;justify-content:center;min-height:0;overflow:auto;padding:18px}.reference-image-preview-stage img{max-height:100%;max-width:100%;object-fit:contain}.reference-image-preview-form{border-left:1px solid rgba(148,163,184,.18);display:flex;flex-direction:column;gap:12px;min-height:0;overflow:auto;padding:16px}.reference-image-preview-form input,.reference-image-preview-form textarea{background:#0f172a47;border:1px solid rgba(148,163,184,.24);border-radius:6px;color:#f8fafc;font-size:13px;padding:8px 10px}.reference-image-preview-form textarea{min-height:130px;resize:vertical}.reference-image-preview-form input:focus,.reference-image-preview-form textarea:focus{border-color:#c6d2be6b;outline:none}.reference-image-preview-delete{align-self:flex-start;background:#7f1d1d3d;border:1px solid rgba(248,113,113,.34);border-radius:8px;color:#fecaca;cursor:pointer;font-size:12px;margin-top:auto;padding:8px 12px}.character-puzzle{background:#26282c;border:1px solid #3a3d42;border-radius:8px;display:grid;gap:9px;grid-template-rows:auto auto auto 10px;min-height:330px;overflow:hidden;padding:10px}.character-puzzle.is-read-only{flex:1;grid-template-rows:minmax(0,1fr);min-height:0}.character-puzzle.is-read-only .character-puzzle-board{height:100%;min-height:0}.puzzle-keyword-input{display:grid;gap:4px;grid-template-columns:auto minmax(220px,1fr);align-items:center}.puzzle-keyword-input input{width:100%}.character-puzzle-heading{align-items:flex-start;display:flex;gap:12px;justify-content:space-between}.character-puzzle-tool-row{align-items:center;display:flex;gap:8px}.character-puzzle-heading h3{font-size:15px;margin:0 0 3px}.character-puzzle-heading p{color:#94a3b8;font-size:12px;margin:0}.puzzle-item-controls{align-items:flex-end;display:flex;flex:0 0 auto;gap:8px;pointer-events:auto}.puzzle-trash-drop{align-items:center;background:#242629d6;border:1px solid rgba(90,96,104,.72);border-radius:999px;color:var(--trash-icon-color);cursor:pointer;display:inline-flex;height:34px;justify-content:center;padding:0;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;width:34px}.puzzle-trash-drop svg{fill:none;height:21px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.1;width:21px}.puzzle-trash-drop:hover,.puzzle-trash-drop.is-drag-over{background:#3d3336e0;border-color:#8a6870e6;box-shadow:0 0 0 4px #8a687033;transform:scale(1.06)}.puzzle-item-controls label{font-size:10px;gap:2px}.puzzle-item-controls input{padding:0;width:90px}.character-overlay-controls{align-items:center;background:#0f172ab8;border:1px solid #334155;border-radius:999px;color:#e2e8f0;display:flex;flex:0 0 auto;gap:10px;padding:5px 9px;pointer-events:auto}.character-overlay-controls label{align-items:center;display:flex;gap:5px;margin:0}.character-overlay-toggle{font-size:11px;font-weight:700}.character-overlay-toggle input{accent-color:var(--control-green);height:13px;margin:0;width:13px}.character-overlay-opacity{color:#cbd5e1;font-size:10px}.character-overlay-opacity input{accent-color:var(--slider-fill);height:16px;padding:0;width:78px}.character-overlay-opacity input[type=range]{-webkit-appearance:none;appearance:none;background:var(--slider-track);border:1px solid rgba(53,64,48,.62);border-radius:999px;cursor:pointer;height:8px}.character-overlay-opacity input[type=range]::-webkit-slider-runnable-track{background:transparent;border-radius:999px;height:8px}.character-overlay-opacity input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:var(--slider-thumb);border:1px solid var(--slider-thumb-ring);border-radius:999px;box-shadow:0 0 0 1px #aeb5a38c;height:var(--slider-thumb-size);margin-top:var(--slider-thumb-offset);width:var(--slider-thumb-size)}.character-overlay-opacity input[type=range]::-moz-range-track{background:var(--slider-track);border-radius:999px;height:8px}.character-overlay-opacity input[type=range]::-moz-range-thumb{background:var(--slider-thumb);border:1px solid var(--slider-thumb-ring);border-radius:999px;box-shadow:0 0 0 1px #aeb5a38c;height:var(--slider-thumb-size);width:var(--slider-thumb-size)}.character-overlay-display-toggle{align-items:center;background:#0f172a6b;border:1px solid rgba(148,163,184,.28);border-radius:8px;color:#0f172a;display:inline-flex;flex-direction:row!important;gap:6px!important;opacity:.5;padding:5px 8px;pointer-events:auto;position:absolute;right:10px;top:10px;-webkit-user-select:none;user-select:none;z-index:7}.character-overlay-display-toggle input{accent-color:var(--control-green);margin:0}.character-overlay-display-toggle span{color:#0f172a;font-size:12px;font-weight:700}.character-overlay-opacity span{min-width:28px;text-align:right}.book-large-puzzle .character-overlay-opacity{color:#1e293b}.character-puzzle-board{background-color:#d1d5db;background-image:linear-gradient(#b8bec7 1px,transparent 1px),linear-gradient(90deg,#b8bec7 1px,transparent 1px);background-size:24px 24px;border:2px solid #64748b;border-radius:6px;cursor:default;min-height:180px;overflow:hidden;outline:none;position:relative}.puzzle-height-resize-handle{align-items:center;cursor:ns-resize;display:flex;height:10px;justify-content:center;margin:-3px 0;touch-action:none}.puzzle-height-resize-handle span{background:#475569;border-radius:999px;height:3px;transition:background-color .12s ease,width .12s ease;width:54px}.puzzle-height-resize-handle:hover span{background:#60a5fa;width:76px}.character-puzzle-board:focus{border-color:#6f7d8d}.character-puzzle-board.is-pan-ready{cursor:grab}.character-puzzle-board.is-pan-ready:active{cursor:grabbing}.puzzle-world{height:100%;left:0;position:absolute;top:0;transform-origin:0 0;width:100%;z-index:2}.character-design-overlay{height:100%;inset:0;pointer-events:none;position:absolute;width:100%;z-index:1}.character-overlay-quadrant{align-items:center;color:#0f172a;display:flex;font-weight:800;letter-spacing:.04em;line-height:1.1;justify-content:center;overflow:hidden;position:absolute;text-align:center;text-shadow:0 1px 0 rgba(255,255,255,.42)}.character-overlay-primary{background:rgba(var(--overlay-primary, 112, 194, 239),var(--overlay-opacity, .2))}.character-overlay-secondary{background:rgba(var(--overlay-secondary, 191, 191, 191),var(--overlay-opacity, .2))}.character-overlay-label{display:block;padding:12px;pointer-events:none}.character-overlay-center{align-items:center;background:rgba(255,255,255,calc(var(--overlay-opacity, .2) + .08));border-radius:50%;color:#0f172a;display:flex;font-weight:800;justify-content:center;letter-spacing:.04em;padding:18px;position:absolute;text-align:center;transform:translate(-50%,-50%)}.character-overlay-center span{pointer-events:none}.puzzle-word{background:transparent;border:1px solid transparent;color:#111827;cursor:move;font-weight:650;line-height:1.1;max-width:220px;padding:3px 5px;position:absolute;white-space:nowrap}.puzzle-word-label{pointer-events:none}.puzzle-word-resize-handle{background:#60a5fa;border:2px solid #eff6ff;border-radius:999px;bottom:-10px;box-shadow:0 2px 8px #0f172a47;cursor:nwse-resize;height:16px;pointer-events:auto;position:absolute;right:-10px;touch-action:none;width:16px;z-index:4}.character-puzzle.is-read-only .puzzle-word{cursor:default}.character-puzzle.is-read-only .puzzle-word:hover{background:transparent;border-color:transparent}.puzzle-word:hover,.puzzle-word.is-selected{background:#ffffff7a;border-color:#2563eb;color:#111827}.puzzle-zoom-indicator{background:#0f172ad1;border:1px solid #64748b;border-radius:4px;bottom:7px;color:#f8fafc;font-size:10px;padding:2px 5px;pointer-events:none;position:absolute;right:7px;z-index:6}@media(max-width:1150px){.book-editor-meta{grid-template-columns:1fr 1fr}.book-editor-meta .file-tags-field{grid-column:1 / -1}.character-puzzle-heading{align-items:stretch;flex-direction:column}}.studio-layout{display:grid;flex:1;grid-template-columns:minmax(0,1fr) 6px var(--performance-panel-width, 380px);min-height:0;overflow:hidden}.studio-layout.is-story,.studio-layout.is-world,.studio-layout.is-performance{display:flex;flex-direction:column}.main-workspace-column{display:flex;flex-direction:column;min-height:0;min-width:0;overflow:hidden}.studio-layout.is-story .main-workspace-column{flex:1}.workspace-layout{display:grid;flex:1;grid-template-rows:minmax(40px,.6fr) 8px minmax(40px,.4fr);min-height:0;min-width:0;overflow:hidden}.workspace-layout.story-focus-layout{display:flex;flex:1;flex-direction:column}.workspace-layout.story-focus-layout .plot-axis-workspace{display:flex;flex:1;min-height:0}.workspace-layout.story-focus-layout .workspace-shell{flex:1;height:auto;min-height:0;width:100%}.workspace-shell{display:flex;height:100%;min-height:0;min-width:0;overflow:hidden}.workspace-shell .canvas-shell{flex:1;height:100%;min-height:0;min-width:0;width:100%}.studio-focus-workspace{flex:1;min-height:0;min-width:0;overflow:hidden}.world-focus-workspace{background:#202124;overflow:hidden}.world-focus-workspace .setting-library-section{border-top:0;height:100%;min-height:100%}.performance-focus-workspace{display:flex}.performance-focus-workspace .performance-workspace{border-left:0;flex:1;min-width:0}.performance-panel-resize-handle{background:#202124;border-left:1px solid rgba(68,80,58,.36);border-right:1px solid rgba(68,80,58,.36);cursor:ew-resize;position:relative;z-index:35}.performance-panel-resize-handle:after{background:#5d7f5099;border-radius:999px;content:"";height:64px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:2px}.performance-panel-resize-handle:hover,.is-resizing-performance-panel .performance-panel-resize-handle{background:#44503a29}.is-resizing-performance-panel{cursor:ew-resize;-webkit-user-select:none;user-select:none}.plot-axis-workspace{min-height:0;overflow:hidden;position:relative}.library-workspace{min-height:0;overflow-y:auto;overscroll-behavior:contain}.workspace-horizontal-resize-handle{background:#202124;border-bottom:1px solid rgba(68,80,58,.36);border-top:1px solid rgba(68,80,58,.36);cursor:ns-resize;position:relative;z-index:30}.workspace-horizontal-resize-handle:after{background:#44503a99;border-radius:999px;content:"";height:1.2px;left:50%;position:absolute;top:2px;transform:translate(-50%);width:58px}.workspace-horizontal-resize-handle:hover,.is-resizing-workspaces .workspace-horizontal-resize-handle{background:#44503a29}.is-resizing-workspaces{cursor:ns-resize;-webkit-user-select:none;user-select:none}.workspace-shell{display:grid;grid-template-columns:var(--layer-panel-width, 300px) 6px 1fr;height:100%;min-height:0}.sidebar-collapsed .workspace-shell{grid-template-columns:1fr}.layer-panel-resize-handle{background:#202124;border-left:1px solid #303236;border-right:1px solid #303236;cursor:col-resize;min-height:0}.layer-panel-resize-handle:hover,.is-resizing-layer-panel .layer-panel-resize-handle{background:#1f6feb}.is-resizing-layer-panel{cursor:col-resize;-webkit-user-select:none;user-select:none}.performance-workspace{--performance-title-pill-width: 360px;background:#202124;border-left:1px solid rgba(68,80,58,.52);color:#d8d7cc;display:flex;flex-direction:column;min-height:0;min-width:0;overflow:hidden;position:relative}.performance-header{align-items:center;border-bottom:1px solid rgba(68,80,58,.42);display:grid;flex:0 0 auto;gap:6px;grid-template-columns:auto minmax(80px,1fr) auto auto;min-height:calc(var(--ui-row-height) + 16px);padding:7px 12px}.performance-kicker{color:#7f8b9b;display:block;font-size:var(--ui-secondary-font-size);font-weight:700;margin-bottom:2px}.performance-header h2{color:#c2dba2;font-size:var(--ui-title-font-size);font-weight:700;letter-spacing:.02em;line-height:1.2;margin:0;white-space:nowrap}.performance-header-title{align-items:center;border-right:1px solid rgba(68,80,58,.5);display:inline-flex;min-height:var(--ui-row-height);min-width:64px;padding-right:8px}.performance-header-chapter-nav{align-items:center;display:grid;gap:8px;grid-column:2 / 4;grid-template-columns:30px minmax(0,var(--performance-title-pill-width)) 30px;justify-self:center;min-width:0;width:min(calc(var(--performance-title-pill-width) + 76px),100%)}.performance-header-chapter-step{align-items:center;background:#25272ba3;border-color:#d8d7cc6b;border-radius:999px;color:#d8d7cc;display:inline-flex;font-size:16px;font-weight:900;height:30px;justify-content:center;line-height:1;padding:0;width:30px}.performance-header-chapter-step:hover:not(:disabled){border-color:#c2dba2ad;color:#f3f4f6}.performance-header-chapter-step:disabled{cursor:default;opacity:.24}.performance-header-chapter{align-items:center;background:transparent;border:1px solid rgba(216,215,204,.62);border-radius:999px;display:flex;gap:3px;justify-content:center;justify-self:center;min-height:30px;min-width:0;padding:3px 18px;width:min(var(--performance-title-pill-width),100%)}.performance-header-chapter span{color:#8f98a6;font-size:11px;font-weight:900;white-space:nowrap}.performance-header-chapter input{background:transparent;border:0;color:#f3f4f6;flex:0 1 190px;font-size:13px;font-weight:900;min-height:22px;min-width:0;padding:0;text-align:center}.performance-header-chapter input:focus{box-shadow:none;outline:none}.performance-icon-button{align-items:center;background:#44503a40;border-color:#5d7f5094;border-radius:999px;color:var(--add-icon-color);display:inline-flex;font-size:20px;height:30px;justify-content:center;padding:0;width:30px}.performance-icon-button svg{height:18px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9;fill:none;width:18px}.performance-editor-floating-actions{align-items:center;bottom:82px;display:inline-flex;flex-direction:column;gap:10px;position:absolute;right:12px;z-index:5}.performance-editor-action-button{align-items:center;border-radius:999px;display:inline-flex;font-size:24px;font-weight:400;height:48px;justify-content:center;line-height:1;padding:0;width:48px}.performance-editor-action-button.is-add{background:#44503a40;border-color:#5d7f5094;color:var(--add-icon-color)}.performance-editor-action-button.is-collect{background:#2e3a2ac7;border-color:#7e9d679e;color:#8fa37cd1}.performance-editor-action-button.is-collect.is-active,.performance-editor-action-button.is-collect:hover{background:#4c5f42d1;border-color:#c2dba2cc;color:#aec597e6}.performance-editor-action-button.is-delete{background:#25272bc7;border-color:#4c5159b8;color:var(--trash-icon-color)}.performance-editor-action-button.is-delete:hover{background:#3d3336b8;border-color:#8a6870b8;color:var(--trash-icon-strong)}.performance-editor-action-button .toolbar-trash-svg{height:23px;width:23px}.performance-editor-action-button svg:not(.toolbar-trash-svg){fill:none;height:24px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.55;width:24px}.performance-folder-collect-popover{background:#26282c;border:1px solid #3a3d42;border-radius:10px;box-shadow:0 24px 60px #0000007a;color:#e5e7eb;display:grid;font-size:12px;gap:9px;padding:11px;position:absolute;right:calc(100% + 12px);top:0;width:270px}.performance-folder-collect-header{align-items:center;border-bottom:1px solid #3a3d42;display:flex;gap:10px;justify-content:space-between;min-height:32px;padding:0 0 6px;-webkit-user-select:none;user-select:none}.performance-folder-collect-header strong{color:#e5e7eb;font-size:14px;font-weight:900;line-height:1.2}.performance-folder-collect-close{align-items:center;background:#26282c;border-color:var(--button-border-muted);border-radius:999px;color:#e5e7eb;display:inline-flex;flex:0 0 auto;font-size:16px;font-weight:700;height:26px;justify-content:center;line-height:1;padding:0;width:26px}.performance-folder-collect-close:hover{background:var(--button-surface-active);border-color:var(--button-border-active);color:var(--icon-line-active)}.performance-folder-collect-popover p{color:#94a3b8;font-size:12px;font-weight:700;line-height:1.35;margin:0}.performance-folder-collect-list{display:grid;gap:7px;max-height:180px;overflow:auto}.performance-folder-collect-list button{align-items:center;background:#26282c;border:1px solid #3a3d42;border-radius:8px;color:#e5e7eb;display:flex;gap:8px;justify-content:space-between;min-height:36px;padding:7px 9px;text-align:left}.performance-folder-collect-list button:hover,.performance-folder-collect-list button.is-current{background:var(--button-surface-active);border-color:var(--button-border-active);color:var(--icon-line-active)}.performance-folder-collect-list button span{font-size:13px;font-weight:900;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.performance-folder-collect-list button small{color:#c2dba2;flex:0 0 auto;font-size:11px;font-weight:700}.performance-source-link-button{margin-right:2px}.performance-status-controls{border-bottom:1px solid rgba(68,80,58,.38);display:grid;flex:0 0 auto;gap:6px;grid-template-columns:repeat(3,minmax(0,1fr));padding:8px 10px}.performance-status-toggle{align-items:center;border-radius:8px;display:flex;flex-direction:column;gap:2px;justify-content:center;min-height:40px;padding:5px 4px}.performance-status-toggle span{font-weight:800}.performance-status-toggle small{color:#9ca3af;font-size:var(--ui-secondary-font-size)}.performance-status-toggle.is-hidden{opacity:.56}.performance-content{display:grid;flex:1;grid-template-rows:auto minmax(0,1fr);min-height:0}.performance-draft-list{border-bottom:1px solid rgba(68,80,58,.38);display:flex;gap:6px;overflow-x:auto;padding:8px 10px}.performance-draft-tab{align-items:flex-start;background:#242629;border-color:var(--button-border-muted);border-radius:8px;display:flex;flex:0 0 132px;flex-direction:column;gap:3px;min-height:48px;overflow:hidden;padding:7px 8px;text-align:left}.performance-draft-tab strong,.performance-draft-tab span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.performance-draft-tab strong{color:#e5e7eb;font-size:12px}.performance-draft-tab span{color:#8f98a6;font-size:var(--ui-secondary-font-size)}.performance-draft-tab.is-active{background:#44503a5c;border-color:#95bd4c94}.performance-editor{--performance-action-gutter: clamp(88px, 7vw, 116px);display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;position:relative}.performance-title-row{align-items:center;display:grid;flex:0 0 auto;gap:6px;grid-template-columns:minmax(0,1fr) auto;padding:10px}.performance-title-row input{background:#25272b;border-color:#44503a9e;color:#f3f4f6;font-size:14px;font-weight:800;min-width:0}.performance-delete-draft,.performance-delete-segment{color:var(--trash-icon-color)}.performance-delete-draft{background:#3d33368a;border-color:#8a687094;border-radius:999px;font-size:11px;font-weight:800;min-height:24px;padding:2px 8px;white-space:nowrap}.performance-add-segment-row{display:grid;flex:0 0 auto;gap:6px;grid-template-columns:repeat(3,minmax(0,1fr));padding:0 10px 10px}.performance-add-segment{min-height:28px}.performance-segment-list{display:flex;flex:1;flex-direction:column;gap:8px;min-height:0;overflow-y:auto;padding:0 10px 12px}.performance-segment{border:1px solid rgba(68,80,58,.44);border-radius:8px;display:flex;flex-direction:column;gap:7px;padding:8px}.performance-segment.status-final{background:transparent}.performance-segment.status-draft,.performance-status-toggle.status-draft,.performance-add-segment.status-draft{background:#5d7f5038;border-color:#5d7f508c}.performance-segment.status-todo,.performance-status-toggle.status-todo,.performance-add-segment.status-todo{background:#d6b55c38;border-color:#d6b55c94}.performance-status-toggle.status-final,.performance-add-segment.status-final{background:#242629}.performance-segment-toolbar{align-items:center;display:flex;gap:6px;justify-content:space-between}.performance-segment-status-group{display:inline-flex;gap:3px;min-width:0}.performance-segment-status-group button{border-radius:999px;font-size:var(--ui-secondary-font-size);min-height:22px;padding:2px 7px}.performance-segment-status-group button.is-active{background:#95bd4c38;border-color:#95bd4c94;color:var(--icon-line-active)}.performance-segment textarea{background:#0f172a2e;border:0;border-radius:6px;color:#e5e7eb;line-height:1.7;min-height:120px;outline:none;padding:8px;resize:vertical;width:100%}.performance-segment.status-final textarea{background:transparent;box-shadow:inset 0 0 0 1px #3a3d42d1}.performance-segment.status-draft textarea{background:#5d7f502e}.performance-segment.status-todo textarea{background:#d6b55c2e}.performance-segment-footer{align-items:center;color:#9ca3af;display:flex;font-size:var(--ui-secondary-font-size);justify-content:space-between}.performance-segment-footer button{border-radius:999px;font-size:var(--ui-secondary-font-size);min-height:22px}.performance-collapsed-segment{align-items:center;border:1px dashed rgba(148,163,184,.42);border-radius:999px;display:flex;gap:8px;justify-content:center;min-height:28px;padding:4px 10px}.performance-collapsed-segment.status-draft{background:#5d7f5024;border-color:#5d7f506b}.performance-collapsed-segment.status-todo{background:#d6b55c24;border-color:#d6b55c73}.performance-collapsed-segment span{font-weight:800}.performance-collapsed-segment strong{color:#aeb5a3;font-size:var(--ui-secondary-font-size)}.performance-word-summary{border-top:1px solid rgba(68,80,58,.38);color:#9ca3af;display:flex;flex:0 0 auto;gap:8px;justify-content:space-between;padding:7px 10px}.performance-empty{align-items:center;display:flex;flex:1;flex-direction:column;gap:12px;justify-content:center}.performance-header-actions{align-items:center;display:inline-flex;gap:6px;justify-content:flex-end}.performance-icon-button.is-active{background:#5d7f5057;border-color:#95bd4cad;color:var(--icon-line-active)}.performance-directory{border-bottom:1px solid rgba(68,80,58,.44);display:flex;flex:0 0 auto;flex-direction:column;gap:8px;max-height:260px;overflow:hidden;padding:10px}.performance-directory-heading{align-items:baseline;display:flex;justify-content:space-between}.performance-directory-heading strong{color:#c2dba2;font-size:14px}.performance-directory-heading span,.performance-directory-item span,.performance-directory-item small,.performance-collapsed-segment small{color:#8f98a6;font-size:var(--ui-secondary-font-size)}.performance-directory-list{display:flex;flex-direction:column;gap:6px;overflow-y:auto}.performance-directory-item{align-items:flex-start;background:#242629;border-color:#44503a85;border-radius:8px;display:grid;gap:2px;padding:8px 9px;text-align:left}.performance-directory-item strong,.performance-directory-item span,.performance-directory-item small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.performance-directory-item strong{color:#e5e7eb;font-size:13px}.performance-directory-item em{color:#e7d58d;font-size:var(--ui-secondary-font-size);font-style:normal;font-weight:800}.performance-directory-item.is-active{background:#44503a59;border-color:#95bd4c99}.performance-editor{position:relative}.performance-title-row label{display:grid;gap:4px;min-width:0}.performance-title-row label span{color:#8f98a6;font-size:var(--ui-secondary-font-size);font-weight:800}.performance-title-row input,.performance-chapter-row input{background:#25272b;border-color:#44503a9e;color:#f3f4f6;font-size:14px;font-weight:800;min-width:0}.performance-chapter-row{border-bottom:1px solid rgba(68,80,58,.32);flex:0 0 auto;padding:0 10px 10px}.performance-chapter-row input{text-align:center;width:100%}.performance-active-summary{align-items:center;border-bottom:1px solid rgba(68,80,58,.32);color:#aeb5a3;display:flex;flex:0 0 auto;font-size:var(--ui-secondary-font-size);gap:8px;justify-content:space-between;padding:7px 10px}.performance-active-summary span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.performance-active-summary strong{color:#e7d58d;flex:0 0 auto}.performance-segment-list{padding:10px 10px 92px}.performance-segment.status-final{background:#242629a3}.performance-segment-status{align-items:baseline;display:inline-flex;gap:7px;min-width:0}.performance-segment-status span{color:#e5e7eb;font-size:13px;font-weight:900}.performance-segment-status small{color:#9ca3af;font-size:var(--ui-secondary-font-size)}.performance-collapse-segment{align-items:center;border-radius:999px;display:inline-flex;flex:0 0 auto;font-size:14px;height:24px;justify-content:center;padding:0;width:24px}.performance-segment-reader{color:#e5e7eb;line-height:1.75;min-height:78px;padding:8px;white-space:pre-wrap}.performance-collapsed-segment{border-radius:8px;display:grid;gap:2px;grid-template-columns:auto auto minmax(0,1fr);justify-content:stretch;padding:7px 10px;text-align:left}.performance-collapsed-segment small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.performance-mode-dock{background:linear-gradient(180deg,#202124db,#202124fa);border:1px solid rgba(148,163,184,.28);border-radius:10px;bottom:10px;box-shadow:0 10px 24px #00000047;left:10px;padding:8px;position:absolute;right:10px}.performance-mode-tabs{display:flex;gap:8px;justify-content:center;margin-bottom:7px}.performance-mode-tabs button{background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;color:#d8d7cc;font-size:13px;font-weight:900;min-height:24px;padding:0 8px 4px}.performance-mode-tabs button.is-active{border-bottom-color:#d8d7cc;color:#fff}.performance-mode-actions{display:grid;gap:7px;grid-template-columns:repeat(3,minmax(0,1fr))}.performance-mode-actions button{align-items:center;border-radius:999px;display:inline-flex;font-size:13px;font-weight:900;gap:5px;justify-content:center;min-height:34px;padding:4px 8px}.performance-mode-actions button.status-final{background:#242629d1}.performance-mode-actions button.status-draft{background:#5d7f5047;border-color:#95bd4c85}.performance-mode-actions button.status-todo{background:#d6b55c42;border-color:#d6b55c8a}.performance-mode-actions button.is-active{box-shadow:inset 0 0 0 2px #dee9c7b8}.performance-mode-actions.is-read-controls{gap:18px;padding:14px 18px 16px}.performance-mode-actions.is-read-controls button{background:transparent;border:0;border-radius:0;color:#f3f4f6;gap:9px;min-height:58px;padding:0}.performance-mode-actions.is-read-controls .performance-action-title{font-size:15px;line-height:1}.performance-mode-actions.is-read-controls button small{align-items:center;background:transparent;border:1.5px solid rgba(216,215,204,.72);border-radius:999px;box-sizing:border-box;color:#f3f4f6f0;display:flex;font-size:12px;font-weight:800;justify-content:center;min-height:30px;min-width:92px;padding:0 18px;width:100%}.performance-mode-actions.is-read-controls button.status-final,.performance-mode-actions.is-read-controls button.status-draft,.performance-mode-actions.is-read-controls button.status-todo{background:transparent;color:#f3f4f6}.performance-mode-actions.is-read-controls button.is-hidden{opacity:.58}.performance-mode-actions.is-read-controls button.is-hidden small{border-color:#d8d7cc75;color:#f3f4f6b3}.performance-eye{font-size:12px;line-height:1}.performance-segment-menu{background:#242629;border:1px solid rgba(68,80,58,.7);border-radius:8px;box-shadow:0 12px 28px #00000061;color:#e5e7eb;display:grid;gap:5px;min-width:160px;padding:8px;position:fixed;z-index:60}.performance-segment-menu strong{color:#c2dba2;font-size:var(--ui-secondary-font-size);padding:2px 6px 5px}.performance-segment-menu button{justify-content:flex-start;min-height:28px}.performance-title-row{border-bottom:1px solid rgba(68,80,58,.32);padding:8px 10px}.performance-title-row input{font-size:18px;text-align:center}.performance-active-summary{align-items:center;border-bottom:1px solid rgba(68,80,58,.24);color:#8f98a6;display:grid;font-size:10px;gap:8px;grid-template-columns:minmax(0,1fr) auto;min-height:26px;padding:4px 12px}.performance-active-summary span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.performance-active-summary strong{color:#e7d58d;font-size:10px;white-space:nowrap}.performance-manuscript{display:flex;flex:1;flex-direction:column;min-height:0;overflow-y:auto;padding:16px 18px 104px}.performance-editor:not(.is-map-open) .performance-manuscript{padding-right:var(--performance-action-gutter)}.performance-inline-segment{display:flex;flex-direction:column;gap:0}.performance-pen-divider{align-items:center;color:#aeb5a3;display:grid;gap:10px;grid-template-columns:minmax(0,1fr) auto auto;margin:2px 0 4px}.performance-pen-divider:before{border-top:2px dotted rgba(216,215,204,.52);content:"";display:block;min-width:0}.performance-pen-divider span{color:#c2dba2;font-size:8px;font-weight:400}.performance-pen-divider button{align-items:center;background:transparent;border:0;color:#aeb5a3;display:inline-flex;font-size:13px;height:22px;justify-content:center;min-height:0;padding:0;width:22px}.performance-inline-segment textarea{background:transparent;border:0;border-radius:0;caret-color:#fff;color:#e5e7eb;cursor:text;font-size:13px;height:auto;line-height:1.75;min-height:36px;outline:none;overflow:hidden;padding:0;resize:none;width:100%}.performance-inline-segment textarea:focus{caret-color:#fff}.performance-inline-segment:focus-within{border-left:2px solid rgba(194,219,162,.55);margin-left:-10px;padding-left:8px}.performance-inline-segment textarea::selection{background:#c2dba252}.performance-inline-segment.status-draft textarea,.performance-inline-segment.status-draft .performance-inline-reader{caret-color:#d8efbc;color:#c2dba2}.performance-inline-segment.status-todo textarea,.performance-inline-segment.status-todo .performance-inline-reader{background:#d6b55c1f;border-radius:4px;caret-color:#fff3b5;color:#ead996;padding:4px 5px}.performance-inline-reader{color:#e5e7eb;font-size:13px;line-height:1.75;min-height:32px;white-space:pre-wrap}.performance-inline-collapsed{align-items:center;background:transparent;border:0;border-radius:0;color:#aeb5a3;display:grid;gap:6px;grid-template-columns:auto auto minmax(0,1fr);margin:4px 0 8px;min-height:28px;padding:0;text-align:left}.performance-inline-collapsed:before{border-top:2px dotted rgba(216,215,204,.52);content:"";grid-column:1 / -1}.performance-inline-collapsed span{color:#c2dba2;font-size:8px;font-weight:400}.performance-inline-collapsed strong,.performance-inline-collapsed small{color:#aeb5a3;font-size:8px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.performance-inline-collapsed.status-todo span{color:#e7d58d}.performance-word-summary{display:none}.performance-mode-dock{align-items:center;background:transparent;border:0;border-radius:0;bottom:4px;box-shadow:none;display:flex;flex-direction:column-reverse;gap:8px;left:50%;padding:0;position:absolute;right:auto;transform:translate(-50%);width:min(320px,calc(100% - 28px));z-index:4}.performance-mode-dock.is-expanded{flex-direction:column;max-width:calc(100% - 28px);width:auto}.performance-mode-dock.is-map-expanded{bottom:0;gap:6px;left:0;max-width:none;right:0;transform:none;width:100%}.performance-editor.is-map-open .performance-manuscript{padding-bottom:12px}.performance-editor.is-map-open .performance-mode-dock.is-map-expanded{bottom:auto;flex:0 0 auto;left:auto;padding:0 0 6px;position:relative;right:auto;transform:none;width:100%;z-index:4}.performance-mode-tabs{align-items:center;display:flex;gap:54px;justify-content:center;margin-bottom:0;min-height:30px;padding:0 12px}.performance-mode-tabs button{background:transparent;border:0;border-radius:0;color:#d8d7cc9e;font-size:12px;font-weight:300;letter-spacing:0;min-height:24px;min-width:58px;padding:0 6px 7px;position:relative}.performance-mode-tabs button:after{background:#d8d7cc7a;border-radius:999px;bottom:0;content:"";height:3px;left:8px;position:absolute;right:8px}.performance-mode-tabs button.is-active{color:#ebeee5d1}.performance-mode-tabs button.is-active:after{background:#c2dba294}.performance-mode-dock.is-expanded .performance-mode-tabs{margin-bottom:0}.performance-mode-actions{background:#5c5c5a6b;border:1px solid rgba(216,215,204,.66);border-radius:26px;box-shadow:0 -18px 32px #0003;display:grid;gap:22px;grid-template-columns:repeat(3,max-content);justify-content:center;padding:10px 18px;width:auto}.performance-mode-actions button{align-items:center;border:2px solid rgba(216,215,204,.68);border-radius:999px;color:#f3f4f6;display:inline-flex;flex-direction:column;font-size:14px;font-weight:900;gap:4px;justify-content:center;min-height:42px;padding:5px 8px}.performance-mode-actions button small{color:#f3f4f6f0;font-size:11px;font-weight:800;letter-spacing:0;line-height:1}.performance-mode-actions .performance-action-title{line-height:1.1}.performance-mode-actions button.status-final{background:#58585666}.performance-mode-actions button.status-draft{background:#aec596c7;border-color:#d8d7cca8;color:#fff}.performance-mode-actions button.status-todo{background:#9b534ab8;border-color:#d8d7cc94;color:#fff}.performance-mode-actions button.is-active{box-shadow:inset 0 0 0 2px #ffffff80,0 0 0 2px #c2dba238}.performance-mode-actions button.is-hidden{opacity:.48}.performance-mode-actions{background:transparent;box-shadow:none}.performance-mode-actions button{justify-self:center;min-height:32px;width:92px}.performance-mode-actions .performance-action-title{font-size:9px}.performance-mode-actions button small{font-size:8px}.performance-mode-actions.is-read-controls{gap:22px;padding:10px 18px 12px}.performance-mode-actions.is-read-controls button{gap:5px;min-height:40px;width:92px}.performance-mode-actions.is-read-controls .performance-action-title{font-size:9px}.performance-mode-actions.is-read-controls button small{font-size:8px;min-height:20px;min-width:0;padding:0 8px}.performance-mode-actions.is-write-controls{background:#1416183d;border-color:#d8d7cc7a;border-radius:999px;gap:20px;padding:10px 18px 12px}.performance-mode-actions.is-write-controls button{background:#2426298a;border:1.5px solid rgba(216,215,204,.68);box-shadow:inset 0 0 0 1px #7e9d671a;color:#f3f4f6f0;min-height:24px;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease}.performance-mode-actions.is-write-controls button.status-final,.performance-mode-actions.is-write-controls button.status-draft,.performance-mode-actions.is-write-controls button.status-todo{background:#2426298a;border-color:#d8d7ccad;color:#f3f4f6f0}.performance-mode-actions.is-write-controls button:hover{background:#2e3a2a9e;border-color:#c2dba294;color:#fff}.performance-mode-actions.is-write-controls button.is-active,.performance-mode-actions.is-write-controls button.status-final.is-active,.performance-mode-actions.is-write-controls button.status-draft.is-active,.performance-mode-actions.is-write-controls button.status-todo.is-active{background:#2e3a2ac7;border-color:#c2dba2c7;box-shadow:inset 0 0 0 1px #d8d7cc33,0 0 0 2px #7e9d6729;color:#fff}.performance-mode-actions.is-map-controls{background:transparent;border:0;border-radius:0;box-shadow:none;display:flex;justify-content:center;padding:0;width:100%}.performance-editor-map-shell{height:150px;min-width:0;position:relative;width:100%}.performance-editor-map-panel{align-items:center;background:transparent;border:0;border-radius:0;display:flex;height:100%;justify-content:flex-start;max-width:none;min-width:0;overflow-x:auto;overflow-y:hidden;padding:0 8px 6px;position:relative;scrollbar-color:rgba(68,80,58,.6) rgba(68,80,58,.34);scrollbar-width:thin;width:100%}.performance-editor-map-panel::-webkit-scrollbar{height:18px}.performance-editor-map-panel::-webkit-scrollbar-track{background:linear-gradient(to bottom,transparent 0,transparent 6px,rgba(68,80,58,.34) 6px,rgba(68,80,58,.34) 11px,transparent 11px,transparent 100%);border-radius:999px}.performance-editor-map-panel::-webkit-scrollbar-thumb{background:#44503a99;background-clip:content-box;border:6px solid transparent;border-radius:999px;box-shadow:inset 0 0 0 1px #cbd5e124}.performance-editor-map-panel::-webkit-scrollbar-thumb:hover{background:#44503ab8;background-clip:content-box;box-shadow:inset 0 0 0 1px #c2c0b22e,0 0 0 2px #44503a3d}.performance-editor-map-panel.is-empty{background:#1113166b;border:1px dashed rgba(216,215,204,.22);border-radius:10px;color:#e5e7eba8;font-size:11px;font-weight:400;height:96px;max-width:520px}.performance-editor-map-svg{display:block;flex:0 0 var(--editor-map-width, 2400px);height:100%;min-width:var(--editor-map-width, 2400px);overflow:visible;position:relative;width:var(--editor-map-width, 2400px);z-index:2}.performance-editor-map-add-button{align-items:center;background:linear-gradient(#44503a40,#44503a40),#202124;border:1px solid rgba(93,127,80,.58);border-radius:999px;color:var(--add-icon-color);cursor:pointer;display:inline-flex;font-size:24px;font-weight:400;height:48px;justify-content:center;line-height:1;min-width:48px;padding:0;position:absolute;right:12px;top:calc(var(--editor-map-add-center-y, 50%) - 24px);width:48px;z-index:8}.performance-mode-actions .performance-editor-map-add-button{background:linear-gradient(#44503a40,#44503a40),#202124;border:1px solid rgba(93,127,80,.58);color:var(--add-icon-color);flex-direction:row;font-size:24px;font-weight:400;gap:0;height:48px;line-height:1;min-height:48px;min-width:48px;padding:0;width:48px}.performance-editor-map-add-button:before,.performance-editor-map-add-button:after{display:none}.performance-editor-map-add-button:hover,.performance-editor-map-add-button:focus-visible{background:linear-gradient(#4c5f426b,#4c5f426b),#202124;border-color:#c2dba2b8;color:#d8efbc;outline:none}.performance-editor-map-background{fill:transparent}.performance-editor-map-guide{stroke:#5570946b;stroke-dasharray:7 8;stroke-linecap:round;stroke-width:1}.performance-editor-map-guide.is-zero{stroke:#d8d7cc42}.performance-editor-map-axis-line{stroke:#d8d7cc85;stroke-linecap:round;stroke-width:1.4}.performance-editor-map-fill{pointer-events:none}.performance-editor-map-fill.is-rising{fill:#53946238}.performance-editor-map-fill.is-falling{fill:#8b3d4242}.performance-editor-map-wave-line{fill:none;stroke:#e0e5eabd;stroke-linecap:round;stroke-linejoin:round;stroke-width:3}.performance-editor-map-wave-node{fill:#1c1f24db;stroke:#aeb8c7b8;stroke-width:2}.performance-editor-map-wave-node-group{cursor:help;outline:none;pointer-events:auto}.performance-editor-map-wave-node-hit{fill:transparent;pointer-events:all;stroke:transparent}.performance-editor-map-wave-node-group:hover .performance-editor-map-wave-node,.performance-editor-map-wave-node-group:focus-visible .performance-editor-map-wave-node,.performance-editor-map-wave-node-group.is-previewed .performance-editor-map-wave-node{fill:#22262bf5;stroke:#facc15e6;stroke-width:2.6}.performance-editor-map-node-preview{background:#1c1f24f5;border:1px solid rgba(216,215,204,.26);border-radius:8px;box-shadow:0 16px 34px #0000006b;color:#f3f4f6f0;display:flex;flex-direction:column;gap:4px;left:var(--editor-map-node-preview-x, 12px);max-height:112px;max-width:320px;overflow:hidden;padding:8px 10px 9px;pointer-events:none;position:absolute;top:var(--editor-map-node-preview-y, 8px);width:min(320px,calc(100% - 24px));z-index:7}.performance-editor-map-node-preview strong{color:#f4f4f0;font-size:9px;font-weight:900;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.performance-editor-map-node-preview p{color:#e5e7ebe6;display:-webkit-box;font-size:9px;font-weight:500;line-height:1.45;margin:0;overflow:hidden;white-space:pre-wrap;-webkit-box-orient:vertical;-webkit-line-clamp:3}.performance-editor-map-pin path{fill:#ef4444;stroke:#ffeeeef5;stroke-width:3}.performance-editor-map-pin{pointer-events:auto}.performance-editor-map-pin.is-draggable{cursor:grab}.performance-editor-map-pin.is-dragging{cursor:grabbing;filter:drop-shadow(0 8px 14px rgba(0,0,0,.42));opacity:.94}.performance-editor-map-pin.is-drop-target path{stroke:#facc15f2;stroke-width:5}.performance-editor-map-pin:not(.is-current) path{fill:#dd4245;stroke:#ffeeeed6}.performance-editor-map-pin circle{fill:#1f2328}.performance-editor-map-pin text{fill:#f3f4f6e6;font-size:9px;font-weight:800;paint-order:stroke;stroke:#0f1114e6;stroke-linejoin:round;stroke-width:3;text-anchor:middle}.performance-editor-map-pin.is-current path{filter:drop-shadow(0 4px 8px rgba(0,0,0,.35))}.performance-editor-map-pin.is-current text{fill:#fff;font-size:10px;font-weight:900}.performance-segment-menu button.is-danger{color:var(--trash-icon-color)}.text-edit-context-menu{background:#fff;border:1px solid rgba(15,23,42,.12);border-radius:4px;box-shadow:0 10px 28px #00000038;color:#2f343b;display:grid;min-width:244px;padding:6px 0;position:fixed;z-index:5000}.text-edit-context-menu button{align-items:center;background:transparent;border:0;border-radius:0;color:inherit;display:grid;font-size:14px;font-weight:600;gap:10px;grid-template-columns:24px minmax(0,1fr) auto;justify-items:start;min-height:34px;padding:6px 14px;text-align:left;width:100%}.text-edit-context-menu button:hover:not(:disabled),.text-edit-context-menu button:focus-visible:not(:disabled){background:#0f172a14;outline:none}.text-edit-context-menu button:disabled{color:#2f343b47;cursor:default}.text-edit-context-menu svg{fill:none;height:18px;justify-self:center;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;width:18px}.text-edit-context-menu kbd{background:transparent;color:#2f343b6b;font-family:inherit;font-size:13px;font-weight:700}.text-edit-context-menu button:disabled kbd{color:#2f343b47}.text-edit-context-menu.is-dark{background:#25272b;border-color:#44503ab8;box-shadow:0 18px 42px #0000006b;color:#e5e7eb}.text-edit-context-menu.is-dark button:hover:not(:disabled),.text-edit-context-menu.is-dark button:focus-visible:not(:disabled){background:#44503a57}.text-edit-context-menu.is-dark button:disabled{color:#e5e7eb4d}.text-edit-context-menu.is-dark kbd{color:#e5e7eb80}.text-edit-context-menu.is-dark button:disabled kbd{color:#e5e7eb47}.performance-view-pill{background:transparent;border:1px solid rgba(216,215,204,.38);border-radius:999px;color:#e2e8f0b8;font-size:13px;font-weight:900;grid-column:2 / 4;justify-self:center;min-height:30px;min-width:0;padding:4px 18px;width:min(var(--performance-title-pill-width),100%)}.performance-header-actions{grid-column:4;justify-self:end}.performance-menu-popover{background:#26282c;border:1px solid #3a3d42;border-radius:10px;box-shadow:0 24px 60px #0000007a;color:#e5e7eb;display:grid;font-size:12px;gap:9px;padding:11px;position:absolute;right:16px;top:58px;width:min(270px,calc(100% - 32px));z-index:30}.performance-document-menu-popover{right:54px;width:min(220px,calc(100% - 32px))}.performance-menu-popover button{background:#26282c;border:1px solid #3a3d42;border-radius:8px;color:#e5e7eb;font-size:13px;font-weight:800;min-height:36px}.performance-menu-popover button:disabled{color:#717b8d;cursor:default}.performance-menu-popover button:hover:not(:disabled){background:var(--button-surface-active);border-color:var(--button-border-active);color:var(--icon-line-active)}.performance-menu-divider{border-top:1px solid #3a3d42;height:0;margin:2px 4px}.performance-directory-layer-source{align-items:center;border-bottom:1px solid rgba(194,219,162,.14);color:#e2e8f0c2;display:flex;gap:10px;min-height:24px;padding:2px 20px}.performance-directory-source-trigger{background:#c2dba214;border:1px solid rgba(194,219,162,.22);border-radius:7px;color:#e2e8f07a;flex:0 0 auto;font-size:8px;font-weight:400;line-height:18px;min-height:20px;padding:0 8px;white-space:nowrap}.performance-directory-source-trigger:hover,.performance-directory-source-trigger.is-active{background:#c2dba21f;border-color:#c2dba257;color:#e2e8f0ad}.performance-directory-source-label{color:#e2e8f06b;font-size:8px;font-weight:400;white-space:nowrap}.performance-directory-source-list{align-items:center;display:flex;flex:1;gap:6px;min-height:20px;min-width:0;overflow:hidden;padding:0}.performance-directory-source-list strong{color:#e2e8f07a;font-size:8px;font-weight:400;line-height:1.2;min-width:0;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap}.performance-directory-source-count{color:#c2dba294;font-size:8px;font-weight:400;white-space:nowrap}.performance-source-picker-popover{background:#26282c;border:1px solid #3a3d42;border-radius:10px;box-shadow:0 24px 60px #0000007a;color:#e5e7eb;display:grid;font-size:12px;gap:9px;padding:11px;position:absolute;right:92px;top:58px;width:min(420px,calc(100% - 32px));z-index:32}.performance-source-picker-popover header{align-items:center;display:flex;gap:8px}.performance-source-picker-popover header{border-bottom:1px solid #3a3d42;justify-content:space-between;min-height:32px;padding:0 0 6px;-webkit-user-select:none;user-select:none}.performance-source-picker-popover header strong{color:#e5e7eb;font-size:14px;font-weight:900}.performance-source-picker-popover header button{background:#26282c;border:1px solid var(--button-border-muted);border-radius:999px;color:#e5e7eb;font-size:16px;height:26px;line-height:1;padding:0;width:26px}.performance-source-picker-popover header button:hover{background:var(--button-surface-active);border-color:var(--button-border-active);color:var(--icon-line-active)}.performance-source-picker-list{display:grid;gap:0}.performance-source-picker-option{align-items:flex-start;background:transparent;border:0;border-radius:0;color:#e5e7eb;display:flex;gap:8px;justify-content:flex-start;min-height:42px;padding:7px 0;text-align:left}.performance-source-picker-option.is-selected{color:var(--icon-line-active)}.performance-source-picker-option:hover:not(.is-disabled):not(.is-locked){color:var(--icon-line-active)}.performance-source-picker-option.is-disabled:not(.is-selected){color:#717b8d;cursor:default}.performance-source-picker-option.is-locked{cursor:not-allowed}.performance-source-picker-option input[type=checkbox]{accent-color:var(--control-green);flex:0 0 auto;height:13px;margin:3px 0 0;width:13px}.performance-source-picker-main{display:grid;flex:1 1 auto;gap:4px;min-width:0}.performance-source-picker-name{font-size:13px;font-weight:850;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.performance-source-picker-folders{align-items:center;color:#94a3b8b8;display:flex;flex-wrap:wrap;font-size:8px;font-weight:400;gap:2px 6px;line-height:1.2;min-height:10px}.performance-source-picker-folders span:not(:last-child):after{content:"、"}.performance-source-picker-folders.is-empty{color:#94a3b86b}.performance-source-picker-actions{align-items:flex-start;display:inline-flex;flex:0 0 auto;gap:10px;margin-left:auto}.performance-source-picker-list small{color:#c2dba2;flex:0 0 auto;font-size:11px;font-weight:900}.performance-source-picker-dissolve{background:transparent;border:0;border-radius:999px;color:#cbd5e194;flex:0 0 auto;font-size:8px;font-weight:400;min-height:18px;padding:0 6px}.performance-source-picker-dissolve:hover:not(:disabled){background:#44503a52;color:#c2dba2}.performance-source-picker-dissolve:disabled{color:#94a3b847;cursor:default}.performance-menu-popover,.performance-menu-popover *,.performance-folder-collect-popover,.performance-folder-collect-popover *,.performance-source-picker-popover,.performance-source-picker-popover *{font-weight:400!important}.performance-desktop,.performance-todo-search,.performance-preview,.performance-timeline-directory{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden;padding:22px 20px 18px}.performance-desktop{position:relative}.performance-desktop-floating-actions{align-items:center;bottom:34px;display:inline-flex;flex-direction:column;gap:10px;position:absolute;right:28px;z-index:8}.performance-desktop-action-button{align-items:center;border-radius:999px;display:inline-flex;font-size:24px;font-weight:400;height:48px;justify-content:center;line-height:1;padding:0;width:48px}.performance-desktop-action-button.is-add{background:#44503a40;border-color:#5d7f5094;color:var(--add-icon-color)}.performance-desktop-action-button.is-trash{background:#25272bc7;border-color:#4c5159b8;color:var(--trash-icon-color)}.performance-desktop-action-button.is-trash:hover,.performance-desktop-action-button.is-trash.is-drop-target{background:#3d3336b8;border-color:#8a6870b8;color:var(--trash-icon-strong)}.performance-desktop-action-button .toolbar-trash-svg{height:23px;width:23px}.performance-desktop-grid{align-content:start;display:grid;flex:1;gap:22px 26px;grid-template-columns:repeat(4,minmax(72px,1fr));grid-template-rows:repeat(4,minmax(112px,1fr));min-height:0;overflow-y:auto;padding:10px 4px 18px}.performance-desktop-slot{align-items:start;border-radius:14px;display:flex;justify-content:center;min-height:112px;min-width:0}.performance-desktop-slot.is-drop-preview{background:#d8d7cc0f;outline:2px dashed rgba(194,219,162,.5);outline-offset:-4px}.performance-desktop-card{align-items:center;background:transparent;border:0;color:#f3f4f6;cursor:grab;display:inline-flex;flex-direction:column;gap:7px;justify-content:flex-start;min-height:112px;min-width:0;padding:4px;text-align:center;touch-action:none;user-select:none;-webkit-user-drag:none;-webkit-user-select:none}.performance-desktop-card *{-webkit-user-drag:none;user-drag:none}.performance-desktop-card:active{cursor:grabbing}.performance-desktop-card.is-source-dragging{left:-10000px;opacity:0;pointer-events:none;position:fixed;top:-10000px}.performance-desktop-card.is-folder-drop-target{background:#5d7f5038;border-radius:12px;box-shadow:0 0 0 2px #c2dba2b8,0 14px 30px #00000038}.performance-drag-overlay{align-items:center;background:#202124eb;border-radius:12px;box-shadow:0 18px 38px #00000061;color:#f3f4f6;display:inline-flex;flex-direction:column;gap:7px;justify-content:flex-start;min-height:112px;padding:4px;pointer-events:none;position:fixed;text-align:center;transform:translate(-50%,-50%) scale(.96);-webkit-user-select:none;user-select:none;width:96px;z-index:9999}.performance-drag-overlay.is-compact{min-height:76px;width:72px}.performance-drag-overlay.is-compact .performance-file-icon{height:46px;width:46px}.performance-drag-overlay.is-timeline-chapter{background:#202124db;border:1px solid rgba(216,215,204,.28);border-radius:10px;box-shadow:0 14px 30px #00000057;gap:6px;min-height:78px;padding:8px 10px;transform:translate(-50%,-50%) scale(.98);width:88px}.performance-drag-overlay.is-timeline-chapter .performance-file-icon{height:42px;width:42px}.performance-drag-overlay.is-timeline-chapter .performance-draft-open{font-size:11px;line-height:1.15;min-height:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.performance-desktop-card:hover,.performance-desktop-card:focus-visible{background:#d8d7cc0f;border-radius:12px}.performance-desktop-card input,.performance-draft-open{color:#f3f4f6;font-size:12px;font-weight:900;line-height:1.25;max-width:100%;overflow-wrap:anywhere}.performance-draft-open{background:transparent;border:0;cursor:inherit;display:block;min-height:24px;min-width:0;padding:0;pointer-events:none;white-space:normal}.performance-desktop-card input{background:#202124d9;border-color:#d8d7cc94;cursor:text;text-align:center}.performance-desktop-card.is-compact{min-height:76px}.performance-desktop-card.is-compact .performance-file-icon{height:46px;width:46px}.performance-desktop-card.is-compact .performance-folder-icon,.performance-drag-overlay.is-compact .performance-folder-icon{height:46px;width:54px}.performance-file-icon{border:2px solid rgba(216,215,204,.76);border-radius:13px;display:block;height:68px;pointer-events:none;position:relative;user-select:none;width:68px;-webkit-user-drag:none;-webkit-user-select:none}.performance-file-icon:before{border-bottom:2px solid rgba(216,215,204,.76);border-left:2px solid rgba(216,215,204,.76);border-bottom-left-radius:9px;content:"";height:18px;position:absolute;right:-2px;top:-2px;width:22px}.performance-file-icon span{border:2px solid rgba(216,215,204,.74);border-radius:2px;display:block;height:34%;left:43%;position:absolute;top:31%;transform:rotate(28deg);transform-origin:50% 50%;width:12%}.performance-file-icon span:before{border:2px solid rgba(216,215,204,.74);border-radius:2px 2px 0 0;content:"";height:22%;left:-2px;position:absolute;right:-2px;top:-28%}.performance-file-icon span:after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:10px solid rgba(216,215,204,.74);bottom:-13px;content:"";left:50%;position:absolute;transform:translate(-50%)}.performance-file-icon:after{content:none}.performance-folder-icon{border:2px solid rgba(216,215,204,.72);border-radius:10px;display:block;height:58px;pointer-events:none;position:relative;-webkit-user-select:none;user-select:none;width:72px}.performance-folder-icon:before{background:#202124;border:2px solid rgba(216,215,204,.72);border-bottom:0;border-radius:9px 9px 0 0;content:"";height:13px;left:6px;position:absolute;top:-14px;width:30px}.performance-folder-icon:after{background:#d8d7cc2e;border-radius:7px;content:"";inset:8px 9px;opacity:0;position:absolute}.performance-desktop-card.is-timeline-folder:hover .performance-folder-icon:after,.performance-desktop-card.is-timeline-folder:focus-visible .performance-folder-icon:after{opacity:1}.performance-desktop-bottom{display:grid;flex:0 0 auto;gap:12px;justify-items:center}.performance-page-dots{display:inline-flex;gap:12px}.performance-page-dots button{background:#d8d7cc6b;border:0;border-radius:999px;height:12px;min-height:0;padding:0;width:12px}.performance-page-dots button.is-active{background:#f3f4f6e6}.performance-pinned-dock{align-items:center;background:#d8d7cc2e;border:1px solid rgba(216,215,204,.14);border-radius:28px;display:grid;gap:16px;grid-template-columns:repeat(3,minmax(70px,1fr));min-height:112px;padding:12px 18px;width:min(100%,420px)}.performance-pinned-dock>span{color:#f3f4f69e;font-size:12px;font-weight:800;grid-column:1 / -1;justify-self:center}.performance-timeline-directory{overflow-y:auto}.performance-timeline-whiteboard{background-color:#202124;background-image:linear-gradient(rgba(216,215,204,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(216,215,204,.08) 1px,transparent 1px);background-size:32px 32px;gap:0;overflow:hidden;padding:0}.performance-timeline-board-toolbar{align-items:center;background:transparent;border-bottom:1px solid rgba(68,80,58,.48);display:flex;flex-wrap:wrap;gap:6px;min-height:var(--ui-row-height);padding:2px 14px;position:relative;z-index:5}.performance-timeline-board-icon-button{flex:0 0 auto}.performance-timeline-board-icon-button .custom-toolbar-svg{height:21px;width:21px}.performance-timeline-board-zoom{align-items:center;background:transparent;border:1px solid var(--button-border-muted);border-radius:8px;display:grid;gap:7px;grid-template-columns:auto 120px 34px;min-height:var(--ui-row-height);padding:0 8px}.performance-timeline-board-zoom span{color:#7f8b9b;font-size:var(--ui-secondary-font-size);font-weight:700}.performance-timeline-board-zoom strong{color:#c4ccd7;font-size:var(--ui-body-font-size);font-weight:800;text-align:right}.performance-timeline-board-zoom input{width:120px}.performance-timeline-board-zoom input[type=range],.performance-timeline-board-opacity input[type=range],.performance-timeline-board-scrollbar input[type=range]{-webkit-appearance:none;appearance:none;accent-color:var(--slider-fill);background:linear-gradient(to right,var(--slider-fill) 0%,var(--slider-fill) var(--timeline-zoom-progress, var(--timeline-scroll-progress, var(--timeline-opacity-progress, 0%))),var(--slider-track) var(--timeline-zoom-progress, var(--timeline-scroll-progress, var(--timeline-opacity-progress, 0%))),var(--slider-track) 100%);border:1px solid rgba(53,64,48,.62);border-radius:999px;cursor:pointer;height:8px;padding:0}.performance-timeline-board-zoom input[type=range]::-webkit-slider-runnable-track,.performance-timeline-board-opacity input[type=range]::-webkit-slider-runnable-track,.performance-timeline-board-scrollbar input[type=range]::-webkit-slider-runnable-track{background:transparent;border-radius:999px;height:8px}.performance-timeline-board-zoom input[type=range]::-webkit-slider-thumb,.performance-timeline-board-opacity input[type=range]::-webkit-slider-thumb,.performance-timeline-board-scrollbar input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:var(--slider-thumb);border:1px solid var(--slider-thumb-ring);border-radius:999px;box-shadow:0 0 0 1px #aeb5a38c;height:var(--slider-thumb-size);margin-top:var(--slider-thumb-offset);width:var(--slider-thumb-size)}.performance-timeline-board-zoom input[type=range]::-moz-range-track,.performance-timeline-board-opacity input[type=range]::-moz-range-track,.performance-timeline-board-scrollbar input[type=range]::-moz-range-track{background:var(--slider-track);border-radius:999px;height:8px}.performance-timeline-board-zoom input[type=range]::-moz-range-progress,.performance-timeline-board-opacity input[type=range]::-moz-range-progress,.performance-timeline-board-scrollbar input[type=range]::-moz-range-progress{background:var(--slider-fill);border-radius:999px;height:8px}.performance-timeline-board-zoom input[type=range]::-moz-range-thumb,.performance-timeline-board-opacity input[type=range]::-moz-range-thumb,.performance-timeline-board-scrollbar input[type=range]::-moz-range-thumb{background:var(--slider-thumb);border:1px solid var(--slider-thumb-ring);border-radius:999px;box-shadow:0 0 0 1px #aeb5a38c;height:var(--slider-thumb-size);width:var(--slider-thumb-size)}.performance-timeline-board-opacity{align-items:center;background:transparent;border:1px solid var(--button-border-muted);border-radius:8px;display:flex;flex:0 0 auto;gap:12px;min-height:var(--ui-row-height);padding:0 8px}.performance-timeline-board-opacity label{align-items:center;display:grid;gap:6px;grid-template-columns:42px 96px 34px;min-height:14px}.performance-timeline-board-opacity span{color:#7f8b9b;font-size:var(--ui-secondary-font-size);font-weight:700}.performance-timeline-board-opacity strong{color:#aeb5a3;font-size:10px;font-weight:700;text-align:right}.performance-timeline-board-opacity input{width:96px}.performance-timeline-board-viewport{background-color:#202124;background-image:linear-gradient(rgba(216,215,204,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(216,215,204,.08) 1px,transparent 1px);background-size:32px 32px;cursor:grab;flex:1;min-height:0;overflow:hidden;position:relative;touch-action:none;user-select:none;-webkit-user-select:none}.performance-timeline-board-viewport.is-panning{cursor:grabbing}.performance-timeline-board-stage{left:0;position:absolute;top:0;transform-origin:0 0;user-select:none;-webkit-user-select:none;will-change:transform}.performance-timeline-chapter-button-group{display:flex;flex-direction:column;gap:3px;position:absolute;z-index:3}.performance-timeline-chapter-button{align-items:center;background:#20212447;border:1px solid rgba(194,219,162,.32);border-radius:999px;color:#c2dba29e;display:flex;font-size:11px;font-weight:900;height:27px;justify-content:center;min-width:54px;padding:0 10px;position:relative;white-space:nowrap}.performance-timeline-chapter-button:hover,.performance-timeline-chapter-button.is-active,.performance-timeline-chapter-button.is-catalog-toggle:hover,.performance-timeline-chapter-button.is-catalog-toggle.is-active{background:#5d7f5029;border-color:#c2dba294;color:#e2e8f0eb}.performance-timeline-chapter-tray{background:#20212452;border:2px solid rgba(216,215,204,.2);border-radius:10px;bottom:38px;left:46px;min-height:104px;padding:10px 14px;pointer-events:none;position:absolute;right:46px;z-index:6}.performance-timeline-chapter-tray.is-open{background:#202124ad;border-color:#697d5880}.performance-timeline-chapter-tray-header{align-items:center;display:flex;gap:10px;min-height:20px}.performance-timeline-chapter-tray-header strong{color:#e2e8f0c7;font-size:13px;font-weight:900}.performance-timeline-chapter-tray-header span{color:#c2dba2;font-size:11px;font-weight:900}.performance-timeline-chapter-tray-row{align-items:center;display:flex;gap:12px;min-height:82px;overflow-x:scroll;overflow-y:hidden;overscroll-behavior-x:contain;padding:2px 2px 8px;pointer-events:auto;scrollbar-color:rgba(68,80,58,.6) rgba(68,80,58,.34);scrollbar-gutter:stable;scrollbar-width:thin}.performance-timeline-chapter-tray-row::-webkit-scrollbar{height:12px}.performance-timeline-chapter-tray-row::-webkit-scrollbar-track{background:#44503a57;border:1px solid rgba(68,80,58,.58);border-radius:999px}.performance-timeline-chapter-tray-row::-webkit-scrollbar-thumb{background:#44503a99;border-radius:999px;box-shadow:inset 0 0 0 1px #cbd5e124}.performance-timeline-chapter-tray-row::-webkit-scrollbar-thumb:hover{background:#44503ab8;box-shadow:inset 0 0 0 1px #c2c0b22e,0 0 10px #7e9d693d}.performance-timeline-chapter-chip{align-items:center;background:#d8d7cc14;border:1px solid rgba(216,215,204,.28);border-radius:10px;color:#f3f4f6;display:grid;gap:6px;justify-items:center;min-height:70px;min-width:86px;padding:8px 10px;pointer-events:auto;flex:0 0 auto}.performance-timeline-chapter-chip.is-sorted{background:transparent;border-color:transparent;cursor:default}.performance-timeline-chapter-chip.is-sorted:hover,.performance-timeline-chapter-chip.is-sorted:focus-visible{background:transparent;border-color:transparent}.performance-timeline-chapter-chip .performance-file-icon{height:34px;width:34px}.performance-timeline-chapter-chip span{font-size:11px;font-weight:900;max-width:86px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.performance-timeline-chapter-placeholder{color:#e2e8f07a;font-size:12px;font-weight:800}.performance-timeline-board-svg{display:block;overflow:visible;pointer-events:none;user-select:none;-webkit-user-select:none}.performance-timeline-board-svg marker path{fill:#e2e8f0e6}.performance-timeline-board-title,.performance-timeline-board-axis,.performance-timeline-board-endpoint,.performance-timeline-board-candidate,.performance-timeline-board-event,.performance-timeline-board-axis-label{opacity:var(--timeline-board-timeline-opacity, 1)}.performance-timeline-board-scale-label,.performance-timeline-board-guide,.performance-timeline-board-mood,.performance-timeline-board-wave-zero-axis{opacity:var(--timeline-board-wave-opacity, 1)}.performance-timeline-board-title{display:none;fill:#c2dba2;font-size:18px;font-weight:900}.performance-timeline-board-scale-label{fill:#e2e8f09e;font-size:12px;font-weight:800;pointer-events:none}.performance-timeline-board-scale-label.is-positive{fill:#a8d48bc7}.performance-timeline-board-scale-label.is-negative{fill:#d99a9ac7}.performance-timeline-board-scale-label.is-zero{fill:#e2e8f0b8}.performance-timeline-board-guide{stroke:#5c7ea673;stroke-dasharray:8 10;stroke-width:1.5}.performance-timeline-board-wave-zero-axis{stroke:#e2e8f052;stroke-linecap:round;stroke-width:4}.performance-timeline-board-axis{stroke:#e2e8f0eb;stroke-linecap:round;stroke-width:4}.performance-timeline-board-axis-label,.performance-timeline-board-candidate text{fill:#e2e8f0b8;font-size:12px;font-weight:800}.performance-timeline-board-mood{font-size:15px;font-weight:900}.performance-timeline-board-mood.is-comedy{fill:#a8d48b}.performance-timeline-board-mood.is-tragedy{fill:#d99a9a}.performance-timeline-board-wave polygon.is-rising{fill:#4ba06947}.performance-timeline-board-wave polygon.is-falling{fill:#a3525247}.performance-timeline-board-wave-line{fill:none;stroke:#e2e8f0e6;stroke-linecap:round;stroke-linejoin:round;stroke-width:4}.performance-timeline-board-wave-drop-target{stroke:#ef4444f0;stroke-linecap:round;stroke-width:8}.performance-timeline-board-wave-point{fill:#f8fafc;stroke:#f59e0b;stroke-width:2.5}.performance-timeline-board-wave-point.is-timelineEvent{fill:#202124;stroke:#9aa7b8;stroke-width:2.25}.performance-timeline-board-candidate circle{fill:#facc15;stroke:#0f172ab8;stroke-width:2}.performance-timeline-board-candidate circle.is-start,.performance-timeline-board-endpoint{fill:#f8fafc;stroke:#94a3b8;stroke-width:2.5}.performance-timeline-board-event-link{stroke:#7894b89e;stroke-dasharray:7 7;stroke-width:2}.performance-timeline-board-event-title{font-weight:900}.performance-timeline-board-event-date{fill:#1f2937b8;font-size:10px;font-weight:800}.performance-timeline-wave-pin{align-items:center;background:transparent;border:0;color:#f8fafc;cursor:grab;display:flex;flex-direction:column;gap:5px;max-width:136px;padding:0;pointer-events:auto;position:absolute;transform:translate(-50%,-100%);z-index:7}.performance-timeline-wave-pin:active{cursor:grabbing}.performance-timeline-wave-pin.is-dragging{opacity:0}.performance-timeline-wave-pin.is-preview{opacity:.96;pointer-events:none;z-index:8}.performance-timeline-wave-pin.is-preview span{box-shadow:0 0 0 4px #f8fafcb8,0 0 0 8px #ef444438,0 12px 24px #0006}.performance-timeline-wave-pin.is-preview strong{background:#202124eb;border-color:#facc15e6;box-shadow:0 0 0 2px #facc153d}.performance-timeline-wave-pin span{background:#ef4444;border:2px solid rgba(255,255,255,.86);border-radius:50% 50% 50% 0;box-shadow:0 8px 18px #0000005c;height:22px;position:relative;transform:rotate(-45deg);width:22px}.performance-timeline-wave-pin span:after{background:#202124;border-radius:999px;content:"";height:8px;left:5px;position:absolute;top:5px;width:8px}.performance-timeline-wave-pin strong{background:#202124d1;border:1px solid rgba(239,68,68,.48);border-radius:999px;color:#f8fafc;font-size:11px;font-weight:900;line-height:1.2;max-width:136px;overflow:hidden;padding:3px 8px;text-overflow:ellipsis;white-space:nowrap}.performance-timeline-board-minimap{background:#18191cd1;border:1px solid rgba(216,215,204,.1);border-radius:8px;box-shadow:0 12px 30px #00000052;height:94px;padding:6px;position:absolute;right:14px;top:14px;width:149px}.performance-timeline-board-minimap-toggle{right:18px;top:18px;z-index:5}.performance-timeline-board-minimap svg{height:100%;width:100%}.performance-timeline-board-minimap .is-axis{stroke:#e2e8f0d1;stroke-width:10}.performance-timeline-board-minimap .is-wave{fill:none;stroke:#7e9d69c7;stroke-width:7}.performance-timeline-board-minimap .is-viewport{fill:#5d7f5021;stroke:var(--slider-fill);stroke-width:2;vector-effect:non-scaling-stroke}.performance-timeline-board-scrollbar{position:absolute;z-index:4}.performance-timeline-board-scrollbar.is-horizontal{bottom:14px;left:28px;right:28px}.performance-timeline-board-scrollbar.is-horizontal input{width:100%}.performance-timeline-board-scrollbar.is-vertical{bottom:28px;right:16px;top:150px}.performance-timeline-board-scrollbar.is-vertical input[type=range]{background:linear-gradient(to top,var(--slider-fill) 0%,var(--slider-fill) var(--timeline-scroll-progress, 0%),var(--slider-track) var(--timeline-scroll-progress, 0%),var(--slider-track) 100%);width:8px}.performance-timeline-board-scrollbar.is-vertical input{height:100%;writing-mode:vertical-lr}.performance-timeline-board-scrollbar{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.performance-timeline-board-scrollbar .outline-scrollbar-track{background:transparent;border:0;box-shadow:none;height:18px;overflow:visible;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.performance-timeline-board-scrollbar .outline-scrollbar-track:before{background:#44503a57;border:1px solid rgba(68,80,58,.58);border-radius:999px;box-shadow:0 4px 12px #0000002e;content:"";height:5px;left:0;position:absolute;right:0;top:50%;transform:translateY(-50%)}.performance-timeline-board-scrollbar .outline-scrollbar-thumb{background:transparent;border:0;box-shadow:none;height:18px;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.performance-timeline-board-scrollbar .outline-scrollbar-thumb:before{background:#44503a99;border-radius:999px;box-shadow:inset 0 0 0 1px #cbd5e124;content:"";height:5px;left:0;position:absolute;right:0;top:50%;transform:translateY(-50%)}.performance-timeline-board-scrollbar .outline-scrollbar-thumb:hover:not(:disabled),.performance-timeline-board-scrollbar .outline-scrollbar-thumb:active:not(:disabled){background:transparent;box-shadow:none}.performance-timeline-board-scrollbar .outline-scrollbar-thumb:hover:not(:disabled):before,.performance-timeline-board-scrollbar .outline-scrollbar-thumb:active:not(:disabled):before{background:#44503ab8;box-shadow:inset 0 0 0 1px #c2c0b22e,0 0 0 2px #44503a3d}.performance-timeline-board-scrollbar.is-vertical .outline-scrollbar-track{height:100%;width:18px}.performance-timeline-board-scrollbar.is-vertical .outline-scrollbar-track:before{height:auto;inset:0 auto 0 50%;transform:translate(-50%);width:5px}.performance-timeline-board-scrollbar.is-vertical .outline-scrollbar-thumb{height:auto;width:18px}.performance-timeline-board-scrollbar.is-vertical .outline-scrollbar-thumb:before{height:auto;inset:0 auto 0 50%;transform:translate(-50%);width:5px}.performance-context-board{display:flex;flex:1;flex-direction:column;gap:18px;min-height:0;width:100%}.performance-context-card{background:#18191cbd;border:1px solid rgba(68,80,58,.46);border-radius:16px;box-shadow:inset 0 1px #ffffff08;display:grid;gap:12px;padding:14px 16px 16px}.performance-context-card-header{align-items:center;display:flex;gap:12px;justify-content:space-between}.performance-context-card-header h3{color:#c2dba2;font-size:14px;font-weight:900;margin:0}.performance-context-card-header span,.performance-context-wave-title span{color:#d8d7cc9e;font-size:10px;font-weight:800}.performance-context-timeline-strip{min-height:128px;overflow:hidden;padding:34px 28px 20px}.performance-context-axis{height:74px;position:relative}.performance-context-axis-line{border-top:3px solid rgba(226,232,240,.88);left:0;position:absolute;right:0;top:34px}.performance-context-axis-start{background:#f3f4f6;border:2px solid #94a3b8;border-radius:999px;height:12px;left:0;position:absolute;top:28px;transform:translate(-50%);width:12px;z-index:2}.performance-context-axis-end{border-bottom:8px solid transparent;border-left:14px solid rgba(226,232,240,.88);border-top:8px solid transparent;height:0;position:absolute;right:-2px;top:27px;width:0}.performance-context-axis-point{position:absolute;text-align:center;top:30px;transform:translate(-50%);z-index:3}.performance-context-axis-point i{background:#facc15;border:2px solid rgba(32,33,36,.9);border-radius:999px;display:block;height:12px;margin:0 auto;width:12px}.performance-context-axis-point.is-start{display:none}.performance-context-axis-point.is-timelineEvent i{background:#d6d9dd;border-color:#9aa3ad}.performance-context-axis-point em{color:#cbd5e1;display:block;font-size:10px;font-style:normal;font-weight:800;margin-top:8px;max-width:76px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.performance-context-wave-stack{display:grid;gap:12px}.performance-context-wave{background:#202124e0;border:1px solid rgba(58,61,66,.74);border-radius:12px;display:grid;gap:10px;padding:12px}.performance-context-wave-title{align-items:center;display:flex;gap:12px;justify-content:space-between}.performance-context-wave-title strong{color:#c2dba2;font-size:12px;font-weight:900}.performance-context-wave-chart{height:180px;min-height:0;padding-left:74px;position:relative}.performance-context-wave-labels{bottom:8px;color:#cbd5e1;display:flex;flex-direction:column;font-size:10px;font-weight:800;justify-content:space-between;left:0;position:absolute;top:8px}.performance-context-wave svg{inset:8px 8px 8px 74px;overflow:visible;position:absolute}.performance-context-wave line{stroke:#60a5fa3d;stroke-dasharray:3 4;stroke-width:1}.performance-context-wave line.is-zero{stroke:#e2e8f0d1;stroke-dasharray:none;stroke-width:1.6}.performance-context-wave polygon.is-rising{fill:#4ade8033}.performance-context-wave polygon.is-falling{fill:#f8717133}.performance-context-wave-line{fill:none;stroke:#e2e8f0e0;stroke-linejoin:round;stroke-width:2;vector-effect:non-scaling-stroke}.performance-context-wave circle{fill:#f8fafc;stroke:#f59e0b;stroke-width:1.6;vector-effect:non-scaling-stroke}.performance-context-wave circle.is-timelineEvent{fill:transparent;stroke:#94a3b8}.performance-context-wave-point-label{color:#e5e7eb;font-size:9px;font-weight:800;position:absolute;transform:translate(-50%,8px);white-space:nowrap}.performance-context-wave-empty,.performance-context-empty p{color:#d8d7cc9e;font-size:12px;margin:0}.performance-context-wave-empty{left:74px;position:absolute;right:8px;text-align:center;top:74px}.performance-context-empty{align-items:center;border:1px dashed rgba(216,215,204,.28);border-radius:18px;display:flex;flex:1;flex-direction:column;gap:8px;justify-content:center;min-height:280px;padding:24px;text-align:center}.performance-context-empty strong{color:#c2dba2;font-size:14px;font-weight:900}.performance-todo-search h3,.performance-preview h3{color:#e2e8f0b8;font-size:14px;margin:0 0 18px;text-align:center}.performance-todo-search p{color:#aeb5a3;font-size:12px;text-align:center}.performance-todo-list{display:grid;flex:1;gap:10px;grid-auto-rows:min-content;min-height:0;overflow-y:auto}.performance-todo-list button{align-items:center;background:#d8d7cc0f;border:1px solid rgba(216,215,204,.18);border-radius:12px;display:grid;gap:12px;grid-template-columns:auto minmax(0,1fr);justify-content:start;padding:10px;text-align:left}.performance-todo-list .performance-file-icon{height:40px;width:40px}.performance-todo-list span{display:grid;gap:3px}.performance-todo-list strong{color:#f3f4f6;font-size:12px}.performance-todo-list small{color:#e7d58d;font-size:10px;font-weight:800}.performance-preview{overflow-y:auto}.performance-preview-stage{align-items:center;align-self:center;display:grid;gap:12px;grid-template-columns:130px 34px 170px 34px 130px;justify-content:center;min-height:190px;width:min(100%,660px)}.performance-preview-main{align-items:center;background:#d8d7cc57;border:0;border-radius:28px;color:#f3f4f6;cursor:pointer;display:flex;height:150px;justify-content:center;justify-self:center;padding:0;width:150px}.performance-preview-main:hover,.performance-preview-main:focus-visible{background:#d8d7cc6b;box-shadow:0 0 0 2px #c2dba261}.performance-preview-main .performance-file-icon{height:86px;width:86px}.performance-preview-main .performance-folder-icon{height:72px;width:94px}.performance-preview-side{align-items:center;background:transparent;border:0;border-radius:0;color:#e2e8f0b8;display:flex;flex-direction:column;gap:8px;height:150px;justify-content:center;opacity:.62;overflow:visible;padding:10px;position:relative}.performance-preview-side .performance-file-icon{height:42px;width:42px}.performance-preview-side .performance-folder-icon{height:36px;width:48px}.performance-preview-side-title{font-size:11px;font-weight:900;left:50%;max-width:82px;overflow:hidden;position:absolute;top:calc(50% + 32px);transform:translate(-50%);text-overflow:ellipsis;white-space:nowrap}.performance-preview-side.is-placeholder{background:transparent;border-color:transparent;pointer-events:none}.performance-preview-arrow{background:transparent;border:0;color:#c2dba2;font-size:24px;min-height:34px;min-width:34px;padding:0}.performance-preview-arrow:disabled{opacity:.2}.performance-preview-title{background:transparent;border:1px solid rgba(216,215,204,.38);border-radius:999px;color:#e2e8f0c2;cursor:text;font-size:18px;font-weight:900;justify-self:center;margin:14px auto 10px;max-width:min(100%,280px);min-height:44px;padding:5px 24px;width:100%}.performance-preview-title-input{background:#2021246b;outline:none;text-align:center}.performance-preview-title-input:focus{border-color:#c2dba2b8;box-shadow:0 0 0 2px #5d7f503d}.performance-preview-actions{display:flex;justify-content:center;margin-bottom:20px}.performance-preview-actions button{background:#44503a42;border-color:#5d7f5094;border-radius:999px;color:#c2dba2;font-size:11px;font-weight:900;min-height:28px}.performance-preview-content{margin:0 auto 24px;max-width:420px;width:100%}.performance-preview-content-title{align-items:center;background:transparent;border:0;border-bottom:2px dotted rgba(216,215,204,.36);border-radius:0;color:#e2e8f0b8;cursor:pointer;display:grid;grid-template-columns:auto 1fr auto;gap:10px;justify-content:stretch;margin-bottom:14px;min-height:28px;min-width:0;padding-bottom:6px;text-align:left;width:100%}.performance-preview-content-title strong{font-size:13px}.performance-preview-content-title>*{min-width:0}.performance-preview-content-title span{color:#aeb5a3;font-size:9px;font-weight:400;justify-self:end;pointer-events:none}.performance-preview-content p{color:#f3f4f6;font-size:12px;line-height:1.8;margin:0;white-space:pre-wrap}.performance-preview-folder-info{display:grid;gap:18px}.performance-preview-folder-intro{background:#20212475;border:1px solid rgba(216,215,204,.16);border-radius:8px;caret-color:#fff;color:#e2e8f0b8;font-size:12px;line-height:1.8;min-height:104px;outline:none;padding:10px 12px;resize:vertical;width:100%}.performance-preview-folder-intro:focus{border-color:#c2dba29e;box-shadow:0 0 0 2px #5d7f502e}.performance-preview-folder-intro::placeholder{color:#e2e8f05c}.performance-preview-folder-info section{border:1px solid rgba(216,215,204,.12);border-radius:8px;display:grid;gap:10px;min-height:112px;padding:12px;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}.performance-preview-folder-info .performance-preview-folder-section{border:0;border-radius:0;gap:14px;min-height:0;padding:0}.performance-preview-folder-section-title{align-items:center;background:transparent;border:0;border-bottom:2px dotted rgba(216,215,204,.36);border-radius:0;color:#e2e8f0b8;cursor:pointer;display:grid;gap:10px;grid-template-columns:auto 1fr auto;min-height:28px;padding:0 0 6px;text-align:left;width:100%}.performance-preview-folder-section-title>*{min-width:0}.performance-preview-folder-section-title strong{color:#e2e8f0b8;font-size:13px;font-weight:900}.performance-preview-folder-section-title em{color:#c2dba29e;font-size:9px;font-style:normal;font-weight:400;justify-self:start}.performance-preview-folder-section-title span{color:#aeb5a3;font-size:9px;font-weight:400;justify-self:end}.performance-preview-folder-drop-zone.is-folder-drop-target{background:#5d7f5029;box-shadow:inset 0 0 0 1px #c2dba261}.performance-preview-folder-info h4{color:#c2dba2;font-size:13px;font-weight:900;margin:0}.performance-preview-folder-chapters{display:grid;gap:6px}.performance-preview-folder-chapters button{align-items:center;background:transparent;border:0;border-radius:0;color:#e2e8f0b8;display:block;justify-content:start;min-height:24px;padding:4px 0;text-align:left;width:100%}.performance-preview-folder-chapters button:hover,.performance-preview-folder-chapters button:focus-visible{background:transparent;color:#e2e8f0e6;outline:0}.performance-preview-folder-chapters span{font-size:12px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.performance-preview .performance-pinned-dock,.performance-todo-search .performance-pinned-dock{align-self:center}@media(max-width:1180px){.studio-layout{grid-template-columns:minmax(0,1fr) 6px minmax(300px,var(--performance-panel-width, 330px))}}.collapsed-layer-button{align-self:start;margin:14px;writing-mode:vertical-rl}.layer-panel-toggle{align-items:center;background:#242629;border:1px solid var(--add-icon-color);border-radius:9px;bottom:16px;display:flex;height:37px;justify-content:center;left:16px;padding:0;position:absolute;width:37px;z-index:20}.layer-panel-toggle:hover{border-color:var(--add-icon-hover)}.layer-panel-toggle:active,.sidebar-collapsed .layer-panel-toggle{background:#5d7f501f;border-color:var(--add-icon-hover)}.layer-panel-toggle:hover .layer-toggle-tooltip{opacity:1;transform:translateY(-50%) translate(0)}.layer-toggle-tooltip{background:#242629;border:1px solid #3a3d42;border-radius:6px;color:#e5e7eb;font-size:var(--ui-body-font-size);left:45px;opacity:0;padding:5px 8px;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%) translate(-4px);transition:opacity .12s ease,transform .12s ease;white-space:nowrap}.layer-toggle-icon{display:block;height:28px;object-fit:contain;overflow:visible;width:28px}.layer-toggle-icon path{fill:none;stroke:var(--add-icon-color);stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9}.layer-panel{background:#202124;border-right:1px solid #303236;display:flex;flex-direction:column;font-size:var(--ui-body-font-size);overflow-x:hidden;overflow-y:hidden;padding:5px;position:relative}.panel-head{align-items:center;display:flex;justify-content:space-between;margin-bottom:4px;min-height:var(--ui-row-height)}.panel-head h2{font-size:var(--ui-title-font-size);margin:0}.layer-list{display:flex;flex-direction:column;gap:3px;min-height:0;overflow-x:hidden;overflow-y:auto;padding-bottom:8px}.layer-item{background:#26282c;border:1px solid #3a3d42;border-radius:8px;display:flex;flex-direction:column;gap:3px;min-height:var(--ui-row-height);padding:2px 5px}.compact-layer{gap:2px;padding:2px 5px}.layer-item.active{border-color:#6f7d8d;box-shadow:0 0 0 2px #6f7d8d2e}.layer-title-row{align-items:center;display:flex;gap:3px;min-height:var(--ui-row-height)}.layer-title-row input{min-width:0;width:100%}.layer-name-button{background:transparent;border:0;color:#e5e7eb;flex:1;min-width:0;overflow:hidden;font-size:var(--ui-body-font-size);line-height:1.2;padding:1px 2px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.layer-name-button:hover{background:transparent;color:#bfdbfe}.layer-expand-button{flex:0 0 auto;min-height:24px;padding:1px 5px}.layer-details{display:flex;flex-direction:column;gap:3px}.layer-controls,.color-row,.range-row{align-items:center;display:flex;gap:5px}.layer-controls{justify-content:space-between}.layer-icon-controls{justify-content:flex-end}.layer-state-icon-button{align-items:center;display:inline-flex;height:27px;justify-content:center;padding:0;width:27px}.layer-state-icon-button svg,.layer-quick-button svg{fill:none;height:19px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.1;width:19px}.layer-state-icon-button.is-active{border-color:var(--button-border-active);color:var(--icon-line-strong)}.relative-move-control{align-items:center;display:flex;gap:5px}.range-row input{flex:1;min-width:90px}.range-row input[type=range]{-webkit-appearance:none;appearance:none;accent-color:var(--slider-fill);background:linear-gradient(to right,var(--slider-fill) 0%,var(--slider-fill) var(--range-progress, 100%),var(--slider-track) var(--range-progress, 100%),var(--slider-track) 100%);border:1px solid rgba(53,64,48,.62);border-radius:999px;cursor:pointer;height:8px;padding:0}.range-row input[type=range]::-webkit-slider-runnable-track{background:transparent;border-radius:999px;height:8px}.range-row input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:var(--slider-thumb);border:1px solid var(--slider-thumb-ring);border-radius:999px;box-shadow:0 0 0 1px #aeb5a38c;height:var(--slider-thumb-size);margin-top:var(--slider-thumb-offset);width:var(--slider-thumb-size)}.range-row input[type=range]::-moz-range-track{background:var(--slider-track);border-radius:999px;height:8px}.range-row input[type=range]::-moz-range-progress{background:var(--slider-fill);border-radius:999px;height:8px}.range-row input[type=range]::-moz-range-thumb{background:var(--slider-thumb);border:1px solid var(--slider-thumb-ring);border-radius:999px;box-shadow:0 0 0 1px #aeb5a38c;height:var(--slider-thumb-size);width:var(--slider-thumb-size)}.range-row span{color:#9ca3af;font-size:var(--ui-secondary-font-size);min-width:28px;text-align:right}.layer-unlock-atmosphere-button{border-color:#5d7f509e;color:var(--control-green-soft);font-weight:700;width:100%}.layer-unlock-atmosphere-button:hover:not(:disabled){border-color:var(--button-border-active);color:var(--icon-line-active)}.color-row input{height:23px;padding:0;width:34px}.danger{color:var(--trash-icon-color)}.layer-panel-quick-actions{align-items:flex-start;background:linear-gradient(180deg,#20212400,#202124 18px,#202124);display:flex;flex-direction:column;gap:11px;margin-top:auto;padding:18px 0 64px 5px;position:relative;width:100%;z-index:12}.layer-quick-button{align-items:center;background:var(--button-surface);border-color:var(--button-border-muted);border-radius:999px;color:var(--icon-line-color);display:inline-flex;font-size:21px;height:37px;justify-content:center;line-height:1;padding:0;width:37px}.layer-quick-button:hover:not(:disabled){border-color:var(--button-border-hover);color:var(--icon-line-strong)}.layer-add-button{color:var(--add-icon-color)}.layer-add-button:hover:not(:disabled){color:var(--add-icon-hover)}.layer-trash-drop-zone{align-items:center;background:#242629;border:1px solid #3a3d42;border-radius:999px;color:var(--trash-icon-color);display:flex;height:37px;justify-content:center;padding:0;position:relative;transition:background-color .12s ease,border-color .12s ease,color .12s ease;width:37px}.layer-trash-drop-zone svg{fill:none;flex:0 0 auto;height:21px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.1;width:21px}.layer-trash-drop-zone span{display:none}.layer-trash-drop-zone.is-drop-active{background:var(--trash-surface-active);border-color:var(--trash-border-active);color:var(--trash-icon-strong)}.layer-trash-drop-zone.is-disabled{opacity:.45}.canvas-shell{background:#202124;min-height:0;overflow:hidden;position:relative}.canvas-shell.is-pan-mode{cursor:grab}.canvas-shell.is-pan-mode:active{cursor:grabbing}.outline-export-stage-host{height:1px;left:-100000px;overflow:hidden;pointer-events:none;position:fixed;top:-100000px;width:1px}.outline-scrollbar{pointer-events:auto;position:absolute;z-index:22}.outline-scrollbar-horizontal{bottom:10px;left:18px;right:18px;height:18px}.outline-scrollbar-vertical{bottom:18px;right:8px;top:156px;width:18px}.outline-scrollbar-track{background:#44503a57;border:1px solid rgba(68,80,58,.58);border-radius:999px;box-shadow:0 4px 12px #0000002e;height:5px;overflow:hidden;position:relative;top:50%;transform:translateY(-50%);width:100%}.outline-scrollbar-vertical .outline-scrollbar-track{height:100%;left:50%;top:0;transform:translate(-50%);width:5px}.outline-scrollbar-thumb{background:#44503a99;border:0;border-radius:999px;box-shadow:inset 0 0 0 1px #cbd5e124;cursor:grab;left:0;min-height:100%;min-width:100%;padding:0;position:absolute;top:0;transition:background-color .12s ease,box-shadow .12s ease}.outline-scrollbar-horizontal .outline-scrollbar-thumb{height:100%;min-width:0}.outline-scrollbar-vertical .outline-scrollbar-thumb{min-height:0;width:100%}.outline-scrollbar-thumb:hover:not(:disabled),.outline-scrollbar-thumb:active:not(:disabled){background:#44503ab8;box-shadow:inset 0 0 0 1px #c2c0b22e,0 0 0 2px #44503a3d}.outline-scrollbar-thumb:active:not(:disabled){cursor:grabbing}.outline-scrollbar.is-disabled{opacity:.32}.outline-scrollbar.is-disabled .outline-scrollbar-track{background:#1e293b6b}.outline-scrollbar.is-disabled .outline-scrollbar-thumb{cursor:default}.canvas-text-editor{border:2px solid;border-radius:8px;box-shadow:0 16px 40px #0000005c;outline:none;padding:12px;position:fixed;overflow:auto;z-index:50}.timeline-event-text-editor{background:#d6d9dd;border:2px solid #9aa3ad;border-radius:8px;box-shadow:0 16px 40px #00000061;color:#111827;font-family:Noto Sans TC,Microsoft JhengHei,sans-serif;line-height:1.55;outline:none;padding:12px;position:fixed;resize:none;z-index:70}.timeline-endpoint-editor,.timeline-node-editor{width:320px}.timeline-node-editor .line-editor-header{cursor:move;-webkit-user-select:none;user-select:none}.timeline-node-color-palette{display:grid;gap:8px;grid-template-columns:repeat(9,27px)}.timeline-node-color-palette button{border:2px solid #334155;border-radius:999px;height:27px;padding:0;width:27px}.timeline-node-color-palette button:hover{border-color:#93c5fd}.timeline-node-color-palette button.is-active{border-color:#fff;box-shadow:0 0 0 3px #2563eb}.minimap{background:#26282cdb;border:1px solid #3a3d42;border-radius:8px;opacity:.88;padding:5px;position:absolute;right:16px;top:16px;width:147px;z-index:5}.minimap-collapse-button{align-items:center;background:#18191cdb;border:1px solid rgba(126,157,105,.62);border-radius:999px;box-shadow:0 12px 30px #00000052;color:var(--slider-fill);cursor:pointer;display:flex;height:34px;justify-content:center;padding:0;position:absolute;right:16px;top:16px;width:34px;z-index:6}.minimap-collapse-button:hover{background:#2d3827e6;border-color:var(--slider-fill)}.minimap-collapse-button svg{fill:none;height:20px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;width:20px}.minimap-context-menu{background:#26282cfa;border:1px solid rgba(126,157,105,.35);border-radius:8px;box-shadow:0 18px 45px #0006;display:flex;flex-direction:column;min-width:132px;padding:6px;position:fixed;z-index:2000}.minimap-context-menu button{background:#ffffff08;border:1px solid rgba(126,157,105,.25);border-radius:6px;color:#e5e7eb;cursor:pointer;font-size:13px;font-weight:800;padding:9px 14px;text-align:left}.minimap-context-menu button:hover{background:#7e9d692e;color:var(--slider-fill)}.minimap-stage{background:#202124;height:90px;position:relative;width:135px}.minimap-object,.minimap-viewport{position:absolute}.minimap-object{background:#44503a;opacity:.72}.minimap-image{background:#f59e0b}.minimap-timeline{background:transparent;opacity:1;overflow:visible}.minimap-timeline-axis{background:#e2e8f0d9;border-radius:999px;display:block;position:absolute;transform:translateY(-50%)}.minimap-timeline-horizontal .minimap-timeline-axis{height:2px;min-width:8px}.minimap-timeline-vertical .minimap-timeline-axis{min-height:8px;transform:translate(-50%);width:2px}.minimap-timeline-node,.minimap-timeline-endpoint{background:#c4a84b;border-radius:999px;box-shadow:0 0 0 1px #0f172abf;display:block;height:4px;position:absolute;transform:translate(-50%,-50%);width:4px}.minimap-timeline-start{background:#cbd5e1}.minimap-timeline-event-node{background:#d0b04f}.minimap-timeline-arrow{border-bottom:4px solid transparent;border-left:7px solid rgba(226,232,240,.9);border-top:4px solid transparent;display:block;height:0;position:absolute;transform:translate(-12%,-50%);width:0}.minimap-timeline-vertical .minimap-timeline-arrow{border-left:4px solid transparent;border-right:4px solid transparent;border-top:7px solid rgba(226,232,240,.9);transform:translate(-50%,-12%)}.minimap-viewport{border:2px solid var(--slider-fill);box-shadow:0 0 0 1px #000c}.context-menu{background:#26282cfa;border:1px solid #3a3d42;border-radius:8px;box-shadow:0 18px 45px #0006;display:flex;flex-direction:column;font-size:12px;gap:4px;min-width:168px;padding:6px;position:fixed;z-index:100}.context-menu button,.context-menu label{width:100%}.context-menu button{text-align:left}.context-menu label{color:#cbd5e1;display:flex;flex-direction:column;font-size:11px;gap:4px}.context-menu input,.context-menu select{min-width:160px}.context-divider{background:#3a3d42;height:1px;margin:2px 0}.line-context-menu{min-width:220px}.line-editor-window{background:#26282c;border:1px solid #3a3d42;border-radius:10px;box-shadow:0 24px 60px #00000075;color:#e5e7eb;display:flex;flex-direction:column;font-size:12px;gap:9px;padding:9px;position:fixed;width:340px;z-index:110}.text-box-editor-window{width:360px}.line-editor-header{align-items:center;cursor:move;display:flex;justify-content:space-between}.line-editor-header button{align-items:center;border-radius:999px;display:flex;font-size:17px;height:27px;justify-content:center;line-height:1;padding:0;width:27px}.line-editor-section{background:#2b2d31;border:1px solid #3a3d42;border-radius:8px;display:flex;flex-direction:column;gap:7px;padding:8px}.line-editor-section h3{color:#cbd5e1;font-size:12px;margin:0}.line-editor-control{display:flex;flex-direction:column;gap:6px}.line-editor-control.inline-control{align-items:center;flex-direction:row;justify-content:space-between}.line-editor-control.inline-control input{width:auto}.line-editor-control span{color:#cbd5e1;font-size:12px}.line-editor-segmented{display:flex;gap:6px}.line-editor-segmented button{background:#1f2937;border-color:#374151;flex:1}.line-editor-window input{width:100%}.line-editor-window input[type=range],.line-editor-window input[type=checkbox]{accent-color:var(--slider-fill)}.line-editor-window input[type=range]{-webkit-appearance:none;appearance:none;background:var(--slider-track);border:1px solid rgba(53,64,48,.62);border-radius:999px;cursor:pointer;height:8px;padding:0}.line-editor-window input[type=range]::-webkit-slider-runnable-track{background:transparent;border-radius:999px;height:8px}.line-editor-window input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:var(--slider-thumb);border:1px solid var(--slider-thumb-ring);border-radius:999px;box-shadow:0 0 0 1px #aeb5a38c;height:var(--slider-thumb-size);margin-top:var(--slider-thumb-offset);width:var(--slider-thumb-size)}.line-editor-window input[type=range]::-moz-range-track{background:var(--slider-track);border-radius:999px;height:8px}.line-editor-window input[type=range]::-moz-range-progress{background:var(--slider-fill);border-radius:999px;height:8px}.line-editor-window input[type=range]::-moz-range-thumb{background:var(--slider-thumb);border:1px solid var(--slider-thumb-ring);border-radius:999px;box-shadow:0 0 0 1px #aeb5a38c;height:var(--slider-thumb-size);width:var(--slider-thumb-size)}.line-editor-window input[type=checkbox]{cursor:pointer}.color-swatches{display:flex;flex-wrap:wrap;gap:8px}.color-swatch{border:2px solid #334155;border-radius:999px;height:28px;padding:0;width:28px}.color-swatch:hover:not(:disabled){border-color:#93c5fd}.color-swatch.is-active{border-color:#fff;box-shadow:0 0 0 3px #2563eb}.color-swatch.transparent-swatch{background:linear-gradient(135deg,transparent 45%,#ef4444 46%,#ef4444 54%,transparent 55%),linear-gradient(45deg,#d1d5db 25%,transparent 25%),linear-gradient(-45deg,#d1d5db 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d1d5db 75%),linear-gradient(-45deg,transparent 75%,#d1d5db 75%);background-color:#1f2937;background-position:center,0 0,0 8px,8px -8px,-8px 0;background-size:18px 18px,16px 16px,16px 16px,16px 16px,16px 16px}@media(max-width:760px){body{--ui-icon-button-size: 40px;--ui-row-height: 44px;min-width:0;overscroll-behavior:none}.app-shell{height:100dvh;min-width:0}.toolbar{padding-left:max(6px,env(safe-area-inset-left));padding-right:max(6px,env(safe-area-inset-right))}.app-brand-bar{gap:8px;min-height:44px;overflow-x:auto;overflow-y:hidden;padding:4px 8px;scrollbar-width:none}.app-brand-bar::-webkit-scrollbar,.studio-mode-nav::-webkit-scrollbar,.toolbar-row::-webkit-scrollbar{display:none}.studio-mode-nav{flex:0 0 auto;min-height:38px;min-width:max-content}.studio-mode-button{min-height:38px;min-width:78px;padding:5px 14px 7px}.toolbar-row{overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.toolbar-button{min-height:40px;padding-left:10px;padding-right:10px}.icon-button{height:40px;min-width:40px;width:40px}.toolbar-icon{height:22px;min-width:22px}.studio-layout,.workspace-layout{min-width:0}.performance-icon-button{height:40px;width:40px}.performance-icon-button svg{height:22px;width:22px}.performance-editor-action-button,.layer-panel-toggle{height:44px;width:44px}}
