.studio-toolbox{border:1px solid #e4dfea;border-radius:16px;padding:18px;margin:16px 0;background:#fcfaff}.studio-toolbox h3{margin:0 0 10px}.studio-toolbox p,.scene-tools p{font-size:12px;line-height:1.6;color:#665b75}.studio-toolbox label,.scene-tools label{display:grid;gap:8px;margin:12px 0;font-size:12px;color:#44364f}.studio-toolbox select,.studio-toolbox input:not([type=file]),.scene-tools select{width:100%;min-height:42px;border:1px solid #ddd3e8;border-radius:9px;padding:9px;background:#fff;color:#30233b;font:inherit}.studio-toolbox button,.scene-tools button{border:1px solid #d9cce6;border-radius:9px;padding:9px 12px;margin:5px 6px 5px 0;background:#f1eaf8;color:#49305f;font:inherit;font-size:12px;cursor:pointer}.studio-toolbox button:disabled,.scene-tools button:disabled{opacity:.5;cursor:wait}.studio-toolbox summary,.scene-tools summary{cursor:pointer;font-size:13px;font-weight:650;min-height:24px}.scene-tools{margin-top:14px;border-top:1px solid #e7deed;padding-top:12px}.scene-tools input[type=range]{width:100%;accent-color:#8863ad}.scene-tools input[type=file],.studio-toolbox input[type=file]{max-width:100%;font-size:12px}.brand-logo-preview{width:64px;height:64px;object-fit:contain;border:1px solid #ddd;background:#fff}.opening-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.opening-choices article{padding:12px;border:1px solid #ded3e8;border-radius:12px;background:#fff}.opening-choices p{min-height:45px;color:#30233b}.canvas-wrap{max-width:100%}.canvas-wrap canvas{width:100%;height:auto}input:focus-visible,select:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid #8660b4;outline-offset:3px}@media(max-width:600px){.opening-choices{grid-template-columns:1fr}.studio-toolbox select,.studio-toolbox input:not([type=file]),.scene-tools select{font-size:16px}.studio-toolbox button,.scene-tools button{min-height:44px}}

.copy-readability{padding:12px;border:1px solid #d8ad63;border-radius:10px;background:#fff7e5;margin:10px 0}.copy-readability[hidden]{display:none}.copy-readability p{font-size:13px;line-height:1.5;margin:0 0 8px}.copy-readability button{padding:8px 12px;border:1px solid #bfa5db;border-radius:7px;background:white;color:#493167;cursor:pointer}.copy-readability>div>div{margin-top:12px;padding-top:10px;border-top:1px solid #ddcfb6}

.scene-recording{border:1px solid #ded9eb;border-radius:12px;background:#f6f4fc;padding:16px;margin:14px 0;display:grid;gap:12px}.recording-heading,.recording-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.scene-recording button{font:inherit;font-size:14px;font-weight:650;padding:10px 14px;border:1px solid #d5cee8;border-radius:10px;background:white;color:#514079;cursor:pointer;min-height:42px}.scene-recording button:disabled{opacity:.5}.scene-recording label{display:grid;gap:8px;font-size:14px}.scene-recording output{font-variant-numeric:tabular-nums}.scene-recording input[type=range]{width:100%;accent-color:#6b51e8}.scene-recording select{font:inherit;padding:10px;border:1px solid #d5cee8;border-radius:8px;background:white}.scene-recording span,.recording-feedback{font-size:13px;line-height:1.5;color:#655d75;overflow-wrap:anywhere}.recording-feedback:empty{display:none}.recording-file{max-width:100%}@media(max-width:600px){.recording-heading{align-items:flex-start;flex-direction:column}.scene-recording button{width:100%}}

.story-actions,.scene-arrange,.preflight-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.story-actions button,.scene-arrange button,.export-preflight button{font:inherit;font-size:14px;font-weight:600;min-height:44px;border:1px solid #dcd5ed;border-radius:10px;background:#fff;color:#514079;padding:10px 14px;cursor:pointer}.scene-arrange button:disabled,.export-preflight button:disabled{opacity:.4;cursor:default}.scene-arrange{border-bottom:1px solid #e5e1ee;padding-bottom:12px}.scene-content>label{display:grid;gap:8px;margin:16px 0}.recording-trim summary,.focus-editor summary{font-weight:650;font-size:15px;cursor:pointer;padding:12px 0}.recording-trim-body{display:grid;gap:12px}.recording-trim-body p:empty{display:none}.recording-source-preview,.focus-canvas{width:100%;max-width:100%;border-radius:10px;background:#201c2a}.focus-canvas{touch-action:none;cursor:crosshair}.recording-filmstrip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}.recording-filmstrip button{padding:0;overflow:hidden;min-width:0;border-radius:6px}.recording-filmstrip img{display:block;width:100%}.recording-filmstrip span{display:block;padding:5px 0}.focus-editor label{margin:12px 0}.export-preflight{max-width:560px;width:calc(100% - 32px);padding:28px;border:1px solid #ded7ed;border-radius:20px;background:#fff;color:#292435;box-sizing:border-box;max-height:85vh}.export-preflight::backdrop{background:#17102188;backdrop-filter:blur(4px)}.export-preflight h2{font-size:26px;margin:0 0 20px}.preflight-list{max-height:50vh;overflow:auto}.preflight-list>div{padding:12px 0;border-bottom:1px solid #eee9f5}.preflight-list p{font-size:16px;line-height:1.55;margin:8px 0}.export-preflight .primary{background:#6950e8;color:white;border-color:#6950e8}.preflight-actions{justify-content:flex-end;margin-top:24px}@media(max-width:600px){.scene-arrange button{flex:1;font-size:14px}.recording-filmstrip{grid-template-columns:repeat(3,minmax(0,1fr))}.preflight-actions button{flex:1}.export-preflight{padding:20px}}

.export-variants{display:flex;align-items:center;gap:10px;font-size:16px;padding:16px 0}.export-variants input{width:20px;height:20px;accent-color:#6950e8}.export-variants[hidden]{display:none}
