.project-name{flex:1;min-width:120px;max-width:460px}.project-name>input{border:0;box-shadow:none;font-size:14px;font-weight:600;height:27px;padding:0;background:transparent}.share-sync-status{display:block;font-size:10px;color:#475569;text-align:left;cursor:pointer}.save-error,.save-state{display:flex;gap:5px;align-items:center;font-size:11px;color:#85909e;margin-top:2px}.save-error{color:#b93039}.top-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.history-buttons{display:flex;border-left:1px solid var(--border);border-right:1px solid var(--border);padding:0 7px;margin-right:5px}.top-actions button{font-size:13px}.export-menu{width:244px!important}.export-menu-item{gap:10px!important;padding:9px 10px!important}.export-menu-item>span{min-width:0;display:flex;flex-direction:column;gap:2px}.export-menu-item strong{font-size:13px;font-weight:600}.export-menu-item small{color:#7a8799;font-size:11px}.topbar{gap:22px}.scene-title{border:0;box-shadow:none;padding:0;font-size:15px;font-weight:600;letter-spacing:-.2px;height:30px;min-width:0;max-width:100%;background:transparent}.canvas-context{height:48px;flex-shrink:0;display:flex;align-items:center;gap:18px;padding:0 24px;border-bottom:1px solid #e7ebf1;background:#fafbfd;overflow:hidden}.canvas-context-scene{min-width:140px;max-width:52%;display:flex;align-items:center;gap:9px}.canvas-context-scene>small{flex-shrink:0;color:#6f7f95;font-size:11px;font-weight:700;letter-spacing:.08em}.context-path{min-width:0;flex:1;display:flex;align-items:center;gap:5px;color:#758194;font-size:11px;overflow:hidden;white-space:nowrap}.context-path span,.context-path strong{min-width:0;overflow:hidden;text-overflow:ellipsis}.context-path span{flex:1}.context-path strong{color:#2459b8;font-weight:600;flex-shrink:0}.context-path svg{flex-shrink:0;color:#a4adbb}.canvas-note{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);z-index:3;display:flex;align-items:center;gap:6px;white-space:nowrap;color:#43516a;background:#fffffff0;border:1px solid #dce2eb;border-radius:999px;padding:5px 7px 5px 12px;box-shadow:0 4px 14px #22335414}.canvas-workspace{flex:1;min-height:0;position:relative;overflow:hidden;background-image:radial-gradient(#cdd3df .7px,transparent 0);background-size:16px 16px}.canvas-area{width:100%;height:100%;min-height:0;display:flex;align-items:safe center;justify-content:safe center;padding:14px 64px;overflow:auto;background:transparent}.scene-surface{height:auto;width:clamp(250px,calc((100dvh - 266px) * .48302469),313px);min-width:250px;max-width:313px;aspect-ratio:313/648;flex-shrink:0}.scene-actions{display:flex;justify-content:center}.scene-sidebar [data-slot=sidebar-footer]{padding:12px 0 0;border-top:1px solid var(--border)}.scene-sidebar [data-slot=sidebar-footer]>small{display:block;text-align:center;margin-bottom:6px;color:#8b95a5}.scene-sidebar [data-slot=sidebar-content]{gap:1px}.scene-card{flex-shrink:0;margin:5px 4px}.scene-card strong{overflow-wrap:anywhere;white-space:normal}.thumbnail-empty{width:46px;height:96px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:#edf0f5;border-radius:3px;color:#8a98ad}.text-button{border:0;background:transparent;color:#3263ba;font-size:12px;padding:8px 0;text-align:left}.scene-sidebar .text-button{text-align:center}.transport{min-height:61px;gap:9px}.play-button{border-radius:50%;width:38px;height:38px}.steps{padding:12px 20px;min-height:96px}.scene-script-panel{display:flex;flex-direction:column;gap:8px;line-height:1.35}.scene-script-panel textarea{min-height:104px;max-height:220px;resize:vertical;padding:9px 10px;border-color:#dce2eb;background:#fafbfd;font-size:13px;line-height:1.5}.scene-timeline{flex-shrink:0;position:relative;container-type:inline-size;display:flex;flex-direction:column;background:white;border-top:1px solid #dce2eb;min-width:0;font-size:12px;transition:height .16s ease}.scene-timeline.is-compact{height:116px;padding:7px 12px;overflow:hidden}.scene-timeline.is-expanded{height:clamp(390px,52dvh,440px);overflow:hidden}.timeline-toolbar{flex-shrink:0;min-height:43px;display:grid;grid-template-columns:auto minmax(150px,1fr) auto;align-items:center;gap:14px;overflow-x:auto;overflow-y:hidden}.is-expanded .timeline-toolbar{display:grid;min-height:58px;padding:8px 12px;border-bottom:1px solid #d8e0eb}.timeline-audio,.timeline-audio-actions,.timeline-audio-file,.timeline-start-editor,.timeline-start-locked,.timeline-toolbar-actions,.timeline-transport,.timeline-zoom{display:flex;align-items:center}.scene-timeline button{border:1px solid #dce2eb;background:#f8fafc;border-radius:6px;padding:6px 8px;cursor:pointer;white-space:nowrap}.timeline-audio-actions button:not(.timeline-remove-audio):hover,.timeline-fit:hover,.timeline-toggle:hover,.timeline-transport button:not(.timeline-play):hover{border-color:#b9c8dd!important;background:#f3f7ff!important}.timeline-play:hover{border-color:#1749b3!important;background:#1749b3!important}.timeline-add:hover{border-color:#7fa4e5!important;background:#dce9ff!important}.timeline-remove-audio:hover{border-color:#fda4af!important;background:#ffe4e6!important;color:#991b1b}.scene-timeline button:active{transform:translateY(1px)}.scene-timeline button:focus-visible,.scene-timeline input:focus-visible,.timeline-seek:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.timeline-transport{gap:5px}.timeline-transport button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:31px}.timeline-icon-button{width:31px;padding:0!important}.timeline-play{border-color:#215ddb!important;background:#215ddb!important;color:white;font-weight:700}.timeline-time{min-width:92px;margin-left:2px;color:#334155;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}.timeline-context{min-width:0;display:flex;align-items:center;gap:10px;overflow:hidden}.is-expanded .timeline-context{padding-left:14px;border-left:1px solid #d8e0eb}.timeline-selection{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px;overflow:hidden}.timeline-selection small{color:#64748b;font-size:9px;font-weight:800;letter-spacing:.1em}.timeline-selection strong{overflow:hidden;color:#243149;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.timeline-shown{flex-shrink:0;padding:5px 8px;border-radius:999px;background:#eef2f7;color:#64748b;font-size:10px;white-space:nowrap}.timeline-shown strong{color:#334155}.timeline-toolbar-actions{justify-content:flex-end;gap:6px}.timeline-zoom{gap:6px;color:#475569;font-size:10px}.timeline-zoom input{width:80px;accent-color:#215ddb}.timeline-fit{border-color:transparent!important;background:transparent!important;color:#475569;font-size:10px}.timeline-add,.timeline-fit,.timeline-toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px}.is-expanded .timeline-add{border-color:#a9c1ef;background:#eaf1ff;color:#164eac;font-weight:700}.timeline-toggle{border-color:transparent!important;background:transparent!important;color:#475569}.timeline-toggle svg{flex-shrink:0}.timeline-audio{flex-shrink:0;min-height:43px;display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:10px;padding:6px 12px;border-bottom:1px solid #d8e0eb;background:#f8fafc}.timeline-lane-label{color:#526179;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.timeline-audio-file{min-width:0;gap:7px;overflow:hidden;color:#334155}.timeline-audio-file svg{flex-shrink:0;color:#215ddb}.timeline-audio-file b{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.timeline-audio-file small{flex-shrink:0;color:#64748b;font-size:10px}.timeline-audio-actions{gap:5px}.timeline-audio-actions button{padding:5px 7px;font-size:10px}.timeline-remove-audio{border-color:#fecdd3!important;background:#fff1f2!important;color:#b4232d}.timeline-track-heading{flex-shrink:0;min-height:27px;display:flex;align-items:center;gap:10px;padding:5px 12px 3px}.timeline-track-heading>span{color:#64748b;font-size:10px}.timeline-scroll{min-height:0;overflow:auto}.is-compact .timeline-scroll{height:68px;padding:1px 0;overflow-x:auto;overflow-y:hidden}.is-expanded .timeline-scroll{flex:1;margin:0 12px;border:1px solid #d8e0eb;border-radius:7px;background:#fff}.timeline-track{position:relative;min-height:100%;background:repeating-linear-gradient(180deg,transparent 0,transparent 43px,#edf1f5 0,#edf1f5 44px)}.timeline-marker{position:absolute}.timeline-marker-card{position:relative;z-index:2;width:224px;height:38px;display:flex;align-items:stretch;overflow:hidden;border:1px solid #cbd5e1;border-radius:7px;background:white;box-shadow:0 1px 2px #20304a0d}.timeline-marker-card[data-selected=true]{border:2px solid #215ddb;background:#eaf1ff;color:#164eac;box-shadow:0 3px 10px #173b7424}.timeline-marker-card:hover{border-color:#8ca9d6;background:#f8fbff}.timeline-marker-card[data-selected=true]:hover{background:#e0ebff}.timeline-marker.is-dragging .timeline-marker-card{cursor:grabbing;box-shadow:0 5px 14px #173b7433}.timeline-marker-select{min-width:0;flex:1;display:flex;align-items:center;gap:7px;overflow:hidden;border:0!important;border-radius:0!important;background:transparent!important;padding:5px 7px!important;color:inherit;text-align:left}.timeline-step-number{width:22px;height:22px;flex-shrink:0;display:grid;place-items:center;border-radius:5px;background:#eef2f7;color:#475569;font-size:10px;font-weight:800}[data-selected=true] .timeline-step-number{background:#cfe0ff;color:#164eac}.timeline-marker-copy{min-width:0;display:flex;align-items:baseline;gap:6px;overflow:hidden}.timeline-marker-copy strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.timeline-marker-copy small{flex-shrink:0;color:#64748b;font-size:9px;font-variant-numeric:tabular-nums}[data-selected=true] .timeline-marker-copy small{color:#41699f}.timeline-marker-handle,.timeline-marker-lock{width:30px;flex-shrink:0;display:grid;place-items:center;border:0!important;border-left:1px solid #cbd5e1!important;border-radius:0!important;background:#fff!important;color:#64748b;padding:0!important}.timeline-marker-handle{cursor:grab!important;touch-action:none}.timeline-marker-handle:hover{background:#f3f7ff!important;color:#215ddb}.timeline-marker.is-dragging .timeline-marker-handle{cursor:grabbing!important}.timeline-marker-line{position:absolute;top:38px;left:9px;width:1px;height:calc(100% - 38px);background:#94a3b8}.timeline-marker-card[data-selected=true]+.timeline-marker-line{width:2px;background:#215ddb}.is-compact .timeline-marker-card{width:27px;height:19px;border-radius:999px}.is-compact .timeline-marker-select{justify-content:center;padding:0!important;font-size:10px;line-height:17px}.is-compact .timeline-marker-line{top:19px;left:0;height:calc(100% - 19px)}.timeline-ruler{position:absolute;height:25px;left:0;right:0;border-top:1px solid #94a3b8}.timeline-ruler span{position:absolute;border-left:1px solid #94a3b8;padding:3px;color:#526179;white-space:nowrap}.is-compact .timeline-ruler{height:17px}.is-compact .timeline-ruler span{padding:1px 3px;font-size:9px}.timeline-audio-bar{position:absolute;height:15px;overflow:hidden;border:1px solid #7aa7ed;border-radius:3px;background:repeating-linear-gradient(90deg,#91b5ef,#91b5ef 3px,#c7dcff 0,#c7dcff 7px);pointer-events:none}.timeline-audio-bar span{position:sticky;left:5px;padding:0 4px;border-radius:2px;background:#fff;color:#355789;font-size:9px;font-weight:700}.is-compact .timeline-audio-bar{height:9px;border-radius:2px}.timeline-playhead{position:absolute;z-index:5;top:0;border-left:2px solid #c03237;pointer-events:none}.is-expanded .timeline-playhead:before{content:"";position:absolute;top:0;left:-6px;border-top:8px solid #c03237;border-right:5px solid transparent;border-left:5px solid transparent}.timeline-seek{position:absolute;z-index:1;cursor:crosshair;touch-action:none}.timeline-details-actions{flex-shrink:0;min-height:64px;display:grid;grid-template-columns:minmax(150px,1fr) auto auto;align-items:center;gap:12px;padding:8px 12px;border-top:1px solid #d8e0eb;background:#fbfcfe}.timeline-selected-step{min-width:0;display:flex;flex-direction:column;gap:2px}.timeline-selected-step small{color:#64748b;font-size:9px;font-weight:800;letter-spacing:.1em}.timeline-selected-step strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.timeline-start-editor,.timeline-start-locked{gap:7px}.timeline-start-locked{color:#526179}.timeline-start-locked>span{display:flex;flex-direction:column;gap:2px}.timeline-start-locked strong{font-size:11px}.timeline-start-editor small,.timeline-start-locked small{color:#64748b;font-size:9px}.timeline-start-editor>label{color:#475569;font-size:10px;font-weight:700}.timeline-start-input{height:32px;display:flex;align-items:center;overflow:hidden;border:1px solid #9db8eb;border-radius:6px;background:#fff}.timeline-start-input input{width:56px;height:100%;border:0;outline:0;padding:0 6px;background:transparent;font-size:11px;font-variant-numeric:tabular-nums}.timeline-start-input>span{padding-right:7px;color:#64748b;font-size:10px}.timeline-input-error{max-width:220px;color:#b4232d;font-size:9px}.timeline-error{position:absolute;right:12px;bottom:70px;z-index:7;max-width:min(480px,calc(100% - 24px));padding:6px 9px;border:1px solid #efc0c5;border-radius:5px;background:#fff5f6;color:#b42332;box-shadow:0 3px 10px #64131b14}.timeline-edit{font-size:10px}@container (max-width: 1040px){.is-expanded .timeline-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:6px 10px}.is-expanded .timeline-context{grid-column:1/-1;grid-row:2;padding:0;border-left:0}.is-expanded .timeline-toolbar-actions{grid-column:2;grid-row:1}.timeline-zoom input{width:62px}.timeline-fit{font-size:0}.timeline-fit svg{width:14px;height:14px}}@container (max-width: 720px){.scene-timeline.is-expanded{height:clamp(420px,56dvh,470px)}.is-expanded .timeline-toggle span,.timeline-transport button:not(.timeline-play) span,.timeline-zoom>span{display:none}.timeline-time{min-width:82px;font-size:10px}.timeline-zoom input{width:52px}.is-expanded .timeline-add span{max-width:92px;overflow:hidden;text-overflow:ellipsis}.timeline-audio{grid-template-columns:60px minmax(0,1fr) auto}.timeline-remove-audio{width:28px;padding:0!important;overflow:hidden;color:transparent;gap:0}.timeline-remove-audio svg{color:#b4232d}.timeline-details-actions{grid-template-columns:minmax(120px,1fr) auto}.timeline-start-editor,.timeline-start-locked{grid-column:1;grid-row:2}.timeline-edit{grid-column:2;grid-row:2}}.steps>button{min-width:140px;text-align:left;height:65px;align-items:center;padding:10px 12px;flex-shrink:0}.steps>button>span{display:flex;flex-direction:column;gap:6px;max-width:145px;overflow:hidden;text-overflow:ellipsis}.steps>button>span>small{display:flex;align-items:center;gap:5px;font-size:11px}.steps>button.add-step{min-width:100px;height:40px;align-self:center;background:white;justify-content:center;font-size:12px}.inspector{width:302px;padding:22px 20px;display:flex;flex-direction:column;gap:0}.inspector>*{flex-shrink:0}.inspector-panel-section{border-top:1px solid var(--border)}.inspector-panel-section:first-child{border-top:0;border-bottom:1px solid var(--border);margin-bottom:16px}.inspector-section-toggle{width:100%;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border:0;background:transparent;color:#46546b;text-align:left}.inspector-section-toggle>span{min-width:0;display:flex;flex:1;flex-direction:column;gap:3px}.inspector-section-toggle strong{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.inspector-section-toggle small{overflow:hidden;color:#7d899b;font-size:11px;font-weight:400;letter-spacing:0;text-overflow:ellipsis;text-transform:none;white-space:nowrap}.inspector-section-toggle svg{flex-shrink:0;transition:transform .14s ease}.inspector-section-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.inspector-section-toggle:focus-visible{border-radius:4px;outline:2px solid #2563eb;outline-offset:2px}.inspector-section-content{padding:2px 0 16px}.object-inspector .object-settings{display:flex;flex-direction:column;gap:12px}.precision summary{cursor:pointer;font-size:13px;color:#536176;padding:8px 0}.precision .number-grid{margin-top:8px}.tool-rail button{width:44px;min-height:44px;height:44px;padding:0}.tool-rail button[aria-pressed=true]{background:#e8efff;color:#2563eb}.stage.drawing,.stage.drawing *{cursor:crosshair!important}.canvas-note{white-space:normal;max-width:90%;text-align:center;font-size:12px}.library-actions{flex-wrap:wrap}.inspector .section-heading{align-items:center;margin-bottom:10px}.inspector>.section-heading{margin-bottom:3px}.mini-actions{display:flex;margin-right:-8px;gap:1px}.mini-actions button{width:25px;height:25px}.step-title{font-size:17px;font-weight:600;padding:5px 0;border:0;box-shadow:none;height:34px}.step-background{margin-top:12px}.step-background-row{display:flex;align-items:stretch;gap:12px}.step-background-empty,.step-background-row>img{width:42px;height:87px;flex-shrink:0;border:1px solid #dfe4eb;border-radius:4px;background:#f2f4f7}.step-background-row>img{display:block;object-fit:contain}.step-background-empty{display:flex;align-items:center;justify-content:center;color:#8995a7}.step-background-row>div:last-child{min-width:0;display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:5px}.step-background-row strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.step-background-row small{color:#7d899a;font-size:11px}.step-background-row button{margin-top:auto}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>span{font-size:12px;color:#758194}.field>input{font-size:13px;background:#fafbfd}.audio-section{margin-bottom:14px}.audio-box{width:100%;display:flex;flex-direction:column;align-items:center;gap:8px;margin:0 0 22px;padding:18px 10px}.audio-box strong{font-size:13px;font-weight:500}.audio-box small{font-size:11px;color:#929cac}.audio-section audio{width:100%;height:35px}.audio-name{display:flex;align-items:center;gap:7px;font-size:12px;color:#46608a;margin:4px 0}.audio-name>span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audio-name button{height:25px;width:25px}.number-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.number-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:15px}.number-grid input{height:32px;padding:5px 8px;font-size:13px}.hint,.inspector p.hint{font-size:12px;line-height:1.6;color:#8994a4;margin:10px 0 0}.object-list{display:flex;flex-direction:column;gap:4px}.object-list button{display:flex;align-items:center;gap:7px;border:1px solid transparent;background:#f8f9fb;padding:9px;border-radius:5px;font-size:13px;text-align:left}.object-row{display:flex;gap:4px}.object-row>button:first-child{flex:1;min-width:0}.object-row>.object-row-delete{flex-shrink:0;color:#a6222d;background:#fff0f1}.object-row button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.object-list button>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.object-list button.active{background:#edf3ff;color:#205acb;border-color:#c0d3f5}.object-settings{margin-top:13px}.object-actions{display:flex;align-items:center;gap:3px;margin-bottom:13px}.object-actions>button{height:28px;width:28px}.object-settings .object-delete{width:100%;justify-content:center;color:#a6222d;border-color:#e8b9be;background:#fffafa}.object-settings .object-delete:hover{color:#8f1722;border-color:#d99098;background:#fff0f1}.color-field{display:flex;align-items:center;gap:8px;font-size:12px;flex:1;color:#6d7c92}.color-field input{width:26px;height:26px;padding:0;border:0;border-radius:5px;overflow:hidden;cursor:pointer}.switch-row{justify-content:space-between;gap:10px;font-size:12px;margin:14px 0}.notice,.switch-row{display:flex;align-items:center}.notice{background:#eaf1ff;border-bottom:1px solid #c9d9f2;padding:8px 22px;font-size:13px;gap:15px}.notice span{flex:1}.notice button{background:none;border:0;font-size:20px}.busy{position:fixed;inset:0;background:#17274088;backdrop-filter:blur(2px);gap:14px;color:white;z-index:100;font-weight:600}.boot,.busy{display:flex;align-items:center;justify-content:center}.boot{height:100dvh;gap:12px;color:#708097}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.project-dialog{max-width:550px!important}.library-actions{display:flex;gap:10px}.library-list{max-height:45vh;overflow:auto;display:flex;flex-direction:column;gap:8px}.library-list>button{padding:14px 16px;text-align:left;border:1px solid var(--border);border-radius:8px;background:#f8fafd;display:flex;flex-direction:column;gap:5px}.library-list strong{font-size:15px}.library-list span{font-size:12px;color:#7b8798}.stage g:focus-visible{outline:2px solid #81a6ff}.scene-sidebar [data-slot=sidebar-header]>button{font-size:12px}@media (max-width:1100px){.scene-sidebar{width:185px!important}.inspector{width:260px;padding:16px}.topbar{padding:0 16px;gap:15px}.top-actions{gap:6px}.brand b{font-size:18px}.canvas-context{padding:0 18px}.canvas-context-scene{max-width:58%}.scene-card{gap:10px}.scene-card img{width:37px;height:77px}.scene-card{min-height:104px}.top-actions .history-buttons{display:none}}@media (max-width:800px){.studio{min-width:760px}.topbar .brand b{display:none}.project-name{max-width:210px}.scene-sidebar{width:168px!important}.inspector{width:245px}.canvas-area{padding-left:58px;padding-right:12px}.tool-rail{left:5px}.timeline-add,.timeline-toggle span{font-size:0;gap:0}.timeline-add svg{width:16px;height:16px}.canvas-note{display:none}.transport{gap:0}.transport span{font-size:11px;margin-left:5px}}@media (prefers-reduced-motion:reduce){.spin{animation:none}}.share-dialog{width:min(92vw,620px)}.share-consent,.share-manager{display:flex;flex-direction:column;gap:14px}.share-consent p,.share-manager p{color:var(--foreground);font-size:14px;line-height:1.55}.share-consent .share-owner-note,.share-manager .share-owner-note{padding:12px;border-radius:7px;background:var(--secondary);color:var(--muted);font-size:13px}.share-link-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.share-link-row label{grid-column:1/-1;font-size:13px;font-weight:700}.share-link-row input{min-width:0}.share-manager-status{min-height:20px;color:var(--muted);font-size:13px}.share-manager .disable-share{align-self:flex-start;color:#a6222d}.share-manager-notice{padding:10px 12px;border-radius:7px;background:var(--secondary);font-size:13px;line-height:1.45}.share-manager-notice[role=alert]{background:#fff0f1;color:#a6222d}@media (max-width:560px){.share-link-row{grid-template-columns:1fr}.share-link-row label{grid-column:auto}}.timeline-play-duration{font-size:11px;color:#526176;white-space:nowrap}.scene-timeline.is-compact.has-step-pauses{height:140px}.timeline-playback-info{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:24px;flex-shrink:0}.is-expanded .timeline-playback-info{padding:0 12px}.is-compact .step-pause-marker{top:-3px;right:-3px}.timeline-marker-select{position:relative}.step-pause-marker{position:absolute;right:1px;top:1px;display:flex;color:#1d4ed8;background:#e8efff;border-radius:3px;padding:1px}.is-expanded .step-pause-marker{right:4px;top:4px}.editor-action-button{display:inline-flex;align-items:center;justify-content:flex-start;gap:7px;height:auto;min-height:38px;max-width:100%;padding:9px;border:1px solid transparent;border-radius:5px;background:#f8f9fb;color:var(--foreground);font-size:13px;font-weight:400;line-height:1.4;text-align:left;white-space:normal}.editor-action-button>svg{width:14px;height:14px;flex-shrink:0}.editor-action-button:hover:not(:disabled){background:#eef2f8}.editor-action-button-danger{color:#a6222d;background:#fff0f1}.editor-action-button-danger:hover:not(:disabled){color:#8f1722;background:#fce2e5}.speech-script-action{width:100%;margin-top:8px}.subtitle-editor{margin-top:14px;padding-top:12px;border-top:1px solid #e0e5ed}.subtitle-editor p{font-size:12px;line-height:1.5;color:#526176}.subtitle-editor-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.inspector .subtitle-editor-actions,.subtitle-dialog{flex-direction:column}.subtitle-dialog{width:min(720px,calc(100vw - 32px));max-width:720px;max-height:90dvh;display:flex}.subtitle-cue-list{overflow-y:auto;min-height:0;padding:0 6px}.subtitle-cue-row{margin:12px 0;padding:12px;border:1px solid #dce3ed;border-radius:6px}.subtitle-cue-row legend{font-size:12px;font-weight:700}.subtitle-cue-times{display:flex;gap:12px;margin-bottom:8px}.subtitle-cue-times label{flex:1;font-size:12px}.subtitle-dialog [role=alert]{color:#a62d3c;font-size:13px}.speech-editor-dialog{width:min(1320px,96vw)!important;max-width:1320px!important;max-height:94dvh;overflow:auto;padding:24px}.speech-actions,.speech-apply-actions,.speech-editor-status,.speech-step-times{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.speech-editor-status{justify-content:space-between;font-size:13px;color:#526077}.speech-editor-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:26px}.speech-manuscript,.speech-review,.speech-timing-review{display:flex;flex-direction:column;gap:12px;min-width:0}.speech-manuscript textarea{min-height:290px;line-height:1.6}.speech-manuscript small{color:#526077}.speech-credits{display:grid;gap:4px;padding:14px;background:#f0f5fc;border-radius:8px;font-size:14px}.speech-credits button{justify-self:start}.speech-step-list{max-height:550px;overflow:auto;border:1px solid #d9e0e8;border-radius:8px}.speech-step-row{padding:14px;display:grid;gap:9px;border-bottom:1px solid #d9e0e8}.speech-step-row:last-child{border-bottom:0}.speech-step-row label{display:grid;gap:5px;font-size:13px}.speech-step-row select{width:100%;min-height:38px;border:1px solid #bcc7d6;border-radius:6px;padding:6px;background:white}.speech-step-times{justify-content:space-between;font-size:13px}.speech-step-times input{width:130px}.speech-check{display:flex!important;align-items:start;gap:9px!important;font-size:14px}.speech-check input{margin-top:3px;width:17px;height:17px;flex-shrink:0}.speech-stage{height:320px;display:flex;justify-content:center}.speech-stage>*{height:100%;width:auto;max-width:100%}.speech-timing-review{padding-top:18px;border-top:1px solid #d9e0e8}.speech-error,.speech-issues{padding:12px;background:#fff1f0;color:#8f2525;border-radius:6px}.speech-notice{padding:12px;background:#edf5ff;color:#234a7c;border-radius:6px}.speech-imports,.speech-restart{padding:12px 0;font-size:14px}.speech-imports summary,.speech-issues summary,.speech-restart summary{cursor:pointer;margin-bottom:10px}.speech-issues ul{padding-left:20px;list-style:disc}.speech-inspector-note{font-size:12px;line-height:1.5;color:#526077}.speech-preview-dialog{width:96vw!important;max-width:1400px!important;height:94dvh;padding:0;overflow:hidden}.speech-preview-dialog .guide{position:absolute;height:100%}@media (max-width:700px){.speech-editor-dialog{padding:16px}.speech-editor-columns{grid-template-columns:1fr}.speech-step-list{max-height:360px}.speech-actions>button,.speech-apply-actions>button{max-width:100%;white-space:normal;min-height:40px}}