@import"https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap";:root{font-family:Space Grotesk,Arial,sans-serif;color:#20211f;background:#f8f5eb;font-synthesis:none;--ink: #20211f;--yellow: #fff16b;--purple: #b5a0e5;--teal: #91d8c8}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fffdf6;border:1.5px solid var(--ink);border-radius:5px;padding:9px 12px;font-size:12px;font-weight:600}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8772c3;outline-offset:3px}button:disabled{opacity:.5;cursor:default}.primary{background:var(--yellow);box-shadow:3px 3px 0 var(--ink);padding:11px 17px}header{height:79px;display:flex;align-items:center;justify-content:space-between;padding:0 27px;border-bottom:2px solid var(--ink);background:#fffdf6}.logo{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);font-size:28px;font-weight:700;letter-spacing:-1.5px}.logo-icon{position:relative;background:var(--yellow);border:2px solid;border-radius:7px;box-shadow:2px 2px;padding:7px;display:flex;transform:rotate(-5deg)}.logo-film-holes{position:absolute;top:0;bottom:0;width:6px;background:currentColor}.logo-film-holes:after{content:"";position:absolute;top:3px;bottom:3px;left:2px;width:2px;background:repeating-linear-gradient(to bottom,var(--yellow) 0 3px,transparent 3px 7px)}.logo-film-holes-left{left:0;border-radius:4px 0 0 4px}.logo-film-holes-right{right:0;border-radius:0 4px 4px 0}.beta{font-size:9px;letter-spacing:1px;font-weight:500;margin-left:10px}.project-name{display:flex;align-items:center;gap:9px;font-size:12px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#5aab85}.local{font-size:8px;border:1px solid #d6d1c4;border-radius:3px;padding:4px;margin-left:8px;color:#777}.workspace{display:grid;grid-template-columns:220px minmax(0,1fr) 270px;min-height:620px;height:calc(100vh - 330px)}aside{background:#fffdf6}.library{border-right:1.5px solid var(--ink);display:flex;flex-direction:column;overflow:hidden}.section-title{font-size:10px;font-weight:700;letter-spacing:1.4px;display:flex;gap:9px;align-items:center;padding:20px;border-bottom:1px solid #ddd8cd}.import{margin:20px;flex-direction:column;gap:10px;padding:23px 8px;background:#f6f1df;border-style:dashed}.import>svg{color:#786494}.import strong{font-size:14px}.import>span{font-size:10px;color:#777}.import .mini-button{color:#222;display:flex;align-items:center;gap:9px;border:1px solid;border-radius:4px;padding:7px 13px;background:var(--yellow);margin-top:5px}.library-heading{padding:0 20px 13px;display:flex;justify-content:space-between;font-size:10px;letter-spacing:1px;font-weight:700}.library-heading span{color:#777}.page-list{overflow:auto;flex:1;padding:0 20px 15px;min-height:100px}.page-card{display:block;width:100%;padding:7px;margin-bottom:14px;border-color:#ccc6b8;text-align:left}.page-card.selected{border:2px solid var(--ink);background:#ede6f9;box-shadow:3px 3px}.page-card img{width:100%;height:105px;object-fit:cover;border-radius:2px}.page-card>span{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;margin-top:8px}.tip{margin:12px 20px 20px;border:1.5px solid;border-radius:5px;background:var(--yellow);padding:15px;transform:rotate(-2deg)}.tip>span{font-size:14px;font-weight:700;line-height:1.2}.tip p{font-size:10px;line-height:1.6;margin-bottom:0}main{padding:25px 28px 0;display:flex;flex-direction:column;min-width:0}.preview-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:23px}.eyebrow{font-size:9px;letter-spacing:1.5px;font-weight:700;color:#777}h1{font-size:27px;letter-spacing:-1px;margin:7px 0 0}h2{font-size:22px;letter-spacing:-.7px;margin:8px 0 24px}.aspect-switch{display:flex;border:1.5px solid;border-radius:5px;overflow:hidden}.aspect-switch button{font-size:10px;border:0;border-radius:0;padding:9px 10px;border-right:1px solid}.aspect-switch button:last-child{border:0}.aspect-switch .active{background:var(--yellow)}.stage{flex:1;min-height:200px;position:relative;background:#090b0c;border:2px solid;border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:4px 4px #d9d4c7}.stage canvas{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.stage-label,.stage-caption{position:absolute;font-size:8px;letter-spacing:1.3px;color:#aaa;z-index:1;pointer-events:none}.stage-label{top:15px;left:17px}.stage-label span{color:#d4cd6b;margin:0 8px}.stage-caption{bottom:15px;left:17px;color:#bbb;background:#090b0cbb;padding:5px}.transport{height:65px;display:flex;align-items:center;justify-content:space-between}.preview-quality{font-size:8px;letter-spacing:1px;color:#777}.preview-quality span{margin-left:7px}.play-controls{display:flex;align-items:center;gap:12px;font-size:11px}.play-controls>button{border:0;background:none;padding:5px}.play-controls .play-button{border:1.5px solid;background:var(--yellow);width:36px;height:36px;border-radius:50%;box-shadow:2px 2px}.muted{color:#888;font-size:10px}.inspector{border-left:1.5px solid var(--ink);overflow:auto}.inspector-inner{padding:20px}label{display:block;font-size:10px;font-weight:600;margin-bottom:21px}label>span{float:right;color:#777}input:not([type=range]),select,textarea{display:block;width:100%;margin-top:8px;border:1.5px solid #c8c4b9;border-radius:4px;background:#fffdf6;padding:10px;font-size:11px}input[type=range]{width:100%;margin-top:16px;accent-color:#8874ba;height:5px}.field-heading{font-size:9px;font-weight:700;letter-spacing:1px;display:flex;gap:7px;align-items:center;margin:23px 0 12px}.motion-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:22px}.motion-grid button{flex-direction:column;gap:7px;font-size:9px;border-color:#d5d0c4;padding:12px 3px}.motion-grid button>span{font-size:20px;font-weight:400}.motion-grid .chosen{background:var(--purple);border-color:var(--ink);box-shadow:2px 2px 0 var(--ink)}textarea{resize:vertical;min-height:76px}.help{font-size:10px;color:#888;line-height:1.6}details{font-size:10px;margin:18px 0}summary{cursor:pointer}.delete{color:#9e514b;background:none;border-color:#e2d3cf;width:100%;margin-top:15px}.timeline{border-top:2px solid;background:#fffdf6;padding:0 25px 20px}.timeline-toolbar{display:flex;justify-content:space-between;align-items:center;height:60px}.timeline-toolbar>div{display:flex;align-items:center;gap:12px}.timeline-toolbar strong{font-size:13px}.tag{font-size:8px;letter-spacing:1px;background:#eee8d9;padding:5px 7px;border-radius:3px}.timeline-scroll{display:flex;overflow:auto;position:relative;padding-bottom:6px}.track-labels{width:90px;flex-shrink:0;display:flex;flex-direction:column;font-size:8px;letter-spacing:1px;font-weight:700;background:#fffdf6;position:sticky;left:0;z-index:3}.track-labels span{display:flex;gap:7px;align-items:center}.track-labels span:nth-child(1){height:27px;color:#888}.track-labels span:nth-child(2){height:38px}.track-labels span:nth-child(3){height:65px}.tracks{flex:1;position:relative}.ruler{position:relative;height:27px;border-bottom:1px solid #ddd;cursor:crosshair;overflow:hidden}.ruler>span{position:absolute;font-size:8px;color:#999;border-left:1px solid #ddd;padding-left:5px;height:18px}.track{display:flex;gap:5px;margin-top:6px}.text-track{height:32px}.text-clip,.empty-clip{min-width:0;justify-content:flex-start;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:10px;background:var(--teal);border-color:#67a596}.empty-clip{background:#f3f1ea;color:#999;border-style:dashed}.panel-track{height:59px}.panel-clip{min-width:0;justify-content:flex-start;overflow:hidden;background:#ede6f9;border-color:#c7b9df;padding:5px}.panel-clip.selected{background:var(--purple);border:2px solid var(--ink)}.panel-clip img{height:42px;width:55px;object-fit:cover;border-radius:3px}.panel-clip div{text-align:left;overflow:hidden}.panel-clip strong{display:block;font-size:10px;white-space:nowrap}.panel-clip div span{display:block;font-size:8px;margin-top:6px;white-space:nowrap}.playhead{position:absolute;top:17px;bottom:0;border-left:2px solid #f16c5e;pointer-events:none}.playhead>span{position:absolute;top:-7px;left:-6px;width:10px;height:10px;background:#f16c5e;clip-path:polygon(0 0,100% 0,100% 60%,50% 100%,0 60%)}footer{height:33px;border-top:1px solid #ddd8cd;display:flex;align-items:center;justify-content:space-between;padding:0 25px;font-size:8px;letter-spacing:1px;color:#888}footer .dot{width:5px;height:5px;margin-right:7px}.toast{position:fixed;bottom:35px;left:50%;transform:translate(-50%);background:var(--yellow);border:2px solid;padding:15px 20px;border-radius:6px;box-shadow:4px 4px;z-index:10;font-size:12px;display:flex;gap:20px;align-items:center}.toast button{border:0;background:none;padding:0}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#15151580;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:5;display:grid;place-items:center}.export-dialog{background:#fffdf6;border:2px solid;border-radius:10px;box-shadow:8px 8px;width:min(440px,90vw);padding:35px;position:relative}.export-dialog h2{font-size:30px;margin-bottom:10px}.export-dialog>p{font-size:12px;line-height:1.7;margin-bottom:25px}.export-dialog .close{position:absolute;top:13px;right:13px;border:0;background:none}.wide{width:100%}progress{width:100%;accent-color:#8874ba}@media(min-width:1600px){.workspace{grid-template-columns:250px minmax(0,1fr) 310px}}@media(max-width:1100px){.workspace{grid-template-columns:170px minmax(0,1fr) 230px}.preview-heading{align-items:flex-start;flex-direction:column}main{padding:20px 18px 0}.project-name .local,.beta{display:none}.motion-grid button{font-size:8px}}@media(max-width:780px){header{padding:0 15px;height:65px}.logo{font-size:23px}.project-name{display:none}.workspace{height:auto;min-height:0;grid-template-columns:1fr}.library{border-right:0}.library .section-title,.library-heading,.page-list,.tip{display:none}.import{margin:12px;flex-direction:row;padding:12px}.import>span:not(.mini-button){display:none}.import .mini-button{margin:0}.stage{height:340px;flex:none}.inspector{border-left:0;border-top:1px solid}.inspector-inner{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.inspector-inner>.eyebrow,.inspector-inner>h2,.motion-grid,.field-heading,textarea,.help,details,.delete{grid-column:1/-1}.motion-grid{grid-template-columns:repeat(3,1fr)}footer>span:last-child{display:none}.preview-quality{display:none}.transport{justify-content:center}.timeline{padding:0 12px 15px}}[hidden]{display:none!important}.stage canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain}.stage{min-height:0}main{min-height:0}@media(max-width:780px){.stage{min-height:340px}}.text-group{display:flex;gap:3px;min-width:0}.text-group button{flex:1;min-width:0}.analysis-controls{padding:0 20px 15px}.analysis-controls label{margin-bottom:12px}.analysis-controls button{width:100%;margin-bottom:8px}.library{overflow:auto}.page-list{flex:none;overflow:visible}.tip{margin-top:auto}.text-group{position:relative}.text-group button{height:100%;padding:5px 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bubble-timing{border:1px solid #d5d0c4;border-radius:5px;padding:10px;margin:10px 0}.bubble-timing>strong{font-size:10px}.bubble-timing>strong span{font-weight:400;color:#888}.bubble-timing>div{display:flex;gap:10px;margin-top:10px}.bubble-timing label{margin:0;width:50%}.reorder{display:flex;gap:8px;margin:15px 0}.reorder button{flex:1}@media(max-width:780px){.analysis-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px 15px}.analysis-controls .help{grid-column:1/-1}.library{overflow:visible}.bubble-timing,.reorder{grid-column:1/-1}}html,body,#root{width:100%;height:100%;overflow:hidden}body{-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}input,textarea,[contenteditable=true]{-webkit-user-select:text;user-select:text}img{-webkit-user-drag:none}#root{height:100dvh;display:grid;grid-template-areas:"header" "tools" "editor" "timeline";grid-template-rows:auto auto minmax(0,1fr) auto}header{grid-area:header;height:clamp(54px,8dvh,79px);min-width:0}.mobile-tools{grid-area:tools;display:none}.workspace{grid-area:editor;height:auto;min-height:0;min-width:0;overflow:hidden;grid-template-columns:clamp(170px,17vw,250px) minmax(0,1fr) clamp(230px,21vw,310px)}.workspace>main,.workspace>aside{min-width:0;min-height:0}.library,.inspector{overflow:auto;overscroll-behavior:contain;scrollbar-width:none}.library::-webkit-scrollbar,.inspector::-webkit-scrollbar,.timeline-scroll::-webkit-scrollbar,.export-dialog::-webkit-scrollbar{display:none}.library>*{flex-shrink:0}main{overflow:hidden;padding:clamp(12px,2dvh,25px) clamp(12px,2vw,28px) 0}.preview-heading{flex-shrink:0;margin-bottom:clamp(10px,2dvh,23px)}h1{font-size:clamp(19px,2vw,27px)}.stage{min-height:0;flex:1 1 0}.transport{height:clamp(40px,6dvh,65px);flex-shrink:0}.timeline{grid-area:timeline;min-width:0;overflow:hidden;padding-bottom:clamp(8px,1.5dvh,20px)}.timeline-toolbar{height:clamp(40px,6dvh,60px);gap:10px}.timeline-scroll{overflow-x:auto;overflow-y:hidden;overscroll-behavior:contain;scrollbar-width:none}footer{grid-area:status;height:clamp(23px,3.5dvh,33px);min-width:0;overflow:hidden}footer>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.export-dialog{max-height:calc(100dvh - 32px);overflow:auto;scrollbar-width:none}.toast{max-width:calc(100vw - 32px)}@media(max-height:700px){.preview-heading .eyebrow{display:none}.preview-heading{margin-bottom:10px}.preview-heading h1{margin-top:0}.timeline-toolbar{height:40px}.timeline{padding-bottom:8px}.panel-track{height:48px}.panel-clip img{height:34px}.track-labels span:nth-child(3){height:54px}.import{margin:12px 16px;padding:15px 8px}.section-title{padding:14px 18px}.inspector-inner{padding:16px}.motion-grid button{padding:8px 3px}}@media(max-width:780px){header{height:54px;padding:0 12px}.logo{font-size:23px}.logo-icon{padding:5px}.primary{padding:9px 12px}.mobile-tools{display:flex;gap:6px;padding:6px 12px;border-bottom:1px solid #d5d0c4;background:#fffdf6}.mobile-tools button{flex:1;padding:7px 6px;font-size:10px}.mobile-tools button[aria-pressed=true]{background:var(--yellow)}.workspace{grid-template-columns:minmax(0,1fr)}.workspace>.library,.workspace>.inspector{display:none}.workspace[data-pane=library]>.library{display:flex}.workspace[data-pane=inspector]>.inspector{display:block}.workspace[data-pane=library]>main,.workspace[data-pane=inspector]>main{display:none}.library{overflow:auto;border:0}.library .section-title,.library-heading{display:flex}.page-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px}.tip{display:none}.page-card{margin-bottom:0}.stage{height:auto;min-height:0;flex:1 1 0}.preview-heading{flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:10px}.preview-heading .eyebrow{display:none}.preview-heading h1{font-size:20px;margin:0}.aspect-switch button{padding:7px 9px}.transport{height:42px}.inspector{overflow:auto}.inspector-inner{padding:14px}.timeline{padding:0 10px 7px}.timeline-toolbar{height:40px}.timeline-toolbar>div{gap:6px}.timeline-toolbar strong{font-size:11px}.timeline-toolbar .muted,.timeline-toolbar .tag{display:none}.timeline-toolbar button{padding:6px 8px;font-size:10px}.track-labels{width:58px;font-size:7px}.track-labels span{gap:4px}.track-labels svg{width:11px}.panel-track{height:46px}.panel-clip img{height:32px}.track-labels span:nth-child(3){height:52px}.text-track{height:27px}.track-labels span:nth-child(2){height:33px}.ruler{height:22px}.track-labels span:nth-child(1){height:22px}footer{padding:0 12px;font-size:7px;height:24px}}@media(max-height:450px){header{height:44px}.mobile-tools{padding:3px 10px}.mobile-tools button{padding:4px}.preview-heading{margin-bottom:6px}.preview-heading h1{font-size:17px}.transport{height:34px}.timeline-toolbar{height:32px}.panel-track{height:36px}.panel-clip img{height:25px}.track-labels span:nth-child(3){height:42px}.text-track{height:23px}.track-labels span:nth-child(2){height:29px}.timeline{padding-bottom:4px}footer{height:20px}}.header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.theme-toggle{width:39px;height:39px;padding:0;background:var(--purple);border:1.5px solid var(--ink);box-shadow:3px 3px 0 var(--ink)}.workspace{grid-template-columns:clamp(150px,var(--library-size, 17vw),32vw) 6px minmax(0,1fr) 6px clamp(190px,var(--inspector-size, 21vw),34vw)}.resize-handle{position:relative;z-index:2;touch-action:none;outline-offset:-2px;background:#ded9cc;transition:background .15s}.resize-handle:hover,.resize-handle:focus-visible{background:var(--purple)}.resize-library,.resize-inspector{cursor:col-resize}.resize-handle>span{position:absolute;background:#827e73;border-radius:2px}.resize-library>span,.resize-inspector>span{width:2px;height:30px;top:50%;left:2px;transform:translateY(-50%)}.timeline{position:relative;display:flex;flex-direction:column;height:clamp(145px,var(--timeline-size, clamp(170px, 24dvh, 210px)),45dvh);padding-top:6px}.timeline-toolbar{flex-shrink:0}.timeline-scroll{flex:1;min-height:0;overflow:auto}.resize-timeline{position:absolute;top:-1px;left:0;right:0;height:6px;cursor:row-resize}.resize-timeline>span{height:2px;width:40px;left:50%;top:2px;transform:translate(-50%)}html[data-resizing=column],html[data-resizing=column] *{cursor:col-resize!important}html[data-resizing=row],html[data-resizing=row] *{cursor:row-resize!important}@media(max-width:780px){.workspace{grid-template-columns:minmax(0,1fr)}.resize-library,.resize-inspector{display:none}.theme-toggle{width:34px;height:34px}.header-actions{gap:8px}}@media(max-width:380px){.logo{font-size:20px;gap:7px}.logo-icon{padding:4px}.header-actions .primary{font-size:10px;padding:8px}.theme-toggle{width:32px;height:32px}.header-actions{gap:6px}}.navigation{grid-area:tools;min-width:0;background:#fffdf6}.workflow-tabs{display:flex;align-items:center;gap:8px;padding:9px 20px;border-bottom:1px solid #d5d0c4}.workflow-tabs>button{font-size:11px}.workflow-switch>button[aria-pressed=true]{background:var(--purple);box-shadow:2px 2px 0 var(--ink)}.workflow-tabs .transcript-download{margin-left:auto}.prep-mobile-tabs{display:none}.prep-workspace{position:relative}.prep-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:15px;flex-shrink:0}.prep-heading h1{font-size:23px}.drawing-toolbar{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:12px;flex-shrink:0}.drawing-toolbar button{font-size:10px;padding:7px 10px}.drawing-toolbar button[aria-pressed=true]{background:var(--yellow)}.page-artboard{flex:1;min-height:0;background:#0b0c0e;border:2px solid var(--ink);border-radius:6px;overflow:hidden;position:relative}.page-artboard svg{width:100%;height:100%;display:block}.drawing-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 0;flex-shrink:0}.drawing-actions .help{flex:1;min-width:100px;margin:0}.drawing-actions button{font-size:10px;padding:8px}.prep-frame{border:1.5px solid #d5d0c4;border-radius:6px;padding:12px;margin-bottom:15px}.prep-frame.active{border-color:var(--purple);box-shadow:2px 2px 0 var(--purple)}.prep-frame label{margin:12px 0}.prep-frame textarea{min-height:65px}.frame-select{width:100%;justify-content:flex-start;border:0;background:#eee6f9;text-align:left}.prep-frame-actions{display:flex;gap:6px;margin-top:10px}.prep-frame-actions button{font-size:9px}.prep-error{font-size:11px;color:#c35c50;margin:0 0 8px}.page-frame-list{display:flex;flex-direction:column;gap:5px;margin:8px 0 18px}.page-frame-list button{justify-content:space-between;text-align:left;font-size:10px;padding:8px}.page-frame-list button span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-frame-list .active{background:var(--purple);color:#17191e}.video-page-group .page-card{margin-bottom:0}@media(max-width:780px){.workflow-tabs{padding:7px 10px;gap:6px;flex-wrap:wrap}.workflow-tabs>button{font-size:10px;padding:7px 8px}.workflow-tabs .transcript-download{font-size:9px}.prep-workspace{grid-template-rows:auto minmax(0,1fr)}.prep-mobile-tabs{display:flex;grid-row:1;gap:5px;padding:5px 10px;background:#fffdf6;border-bottom:1px solid #d5d0c4}.prep-mobile-tabs button{flex:1;font-size:10px;padding:6px}.prep-mobile-tabs button[aria-pressed=true]{background:var(--yellow)}.prep-workspace>.library,.prep-workspace>.inspector,.prep-workspace>main{grid-row:2;grid-column:1}.prep-workspace>main{display:flex}.prep-workspace[data-pane=library]>main,.prep-workspace[data-pane=inspector]>main{display:none}.prep-heading{margin-bottom:10px}.prep-heading h1{font-size:17px}.prep-heading .eyebrow{display:none}.prep-heading>button{font-size:10px}.drawing-toolbar{gap:4px;margin-bottom:8px}.drawing-toolbar button{font-size:9px;padding:6px}.drawing-actions .help{font-size:9px}}@media(max-width:400px){.workflow-tabs .transcript-download{width:100%;margin-left:0}.prep-heading>button{padding:7px}}.prep-workspace .inspector-inner{display:block}.tracks{touch-action:none;cursor:crosshair}.playhead{pointer-events:auto;width:12px;transform:translate(-6px);border-left:0;cursor:ew-resize;z-index:4}.playhead:after{content:"";position:absolute;left:5px;top:0;bottom:0;width:2px;background:#f16c5e;pointer-events:none}.playhead>span{left:1px}.playhead:focus-visible{outline:2px solid var(--purple);outline-offset:2px}.stage{background:#e6e1d6;box-shadow:none;border-color:#c9c3b5}.export-frame{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#090b0c;outline:1px solid #77746c;box-shadow:0 3px 14px #0002;overflow:hidden}.export-frame canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:fill}.stage-label{color:#777268;top:7px;left:12px}.stage-caption{bottom:5px;left:12px;color:#777268;background:transparent;padding:0}.timeline-navigator{display:flex;align-items:center;gap:10px;height:23px;flex-shrink:0;margin-top:5px}.timeline-navigator>span{font-size:7px;letter-spacing:.6px;width:80px;color:#888;flex-shrink:0}.timeline-scrollbar{flex:1;position:relative;height:13px;border:1px solid #bbb6a9;border-radius:4px;background:#ece7db;touch-action:none;cursor:pointer;overflow:hidden}.timeline-scroll-thumb{position:absolute;top:0;bottom:0;min-width:16px;display:flex;align-items:center;justify-content:space-between;background:var(--purple);border:1px solid var(--ink);border-radius:3px;cursor:grab}.timeline-scroll-thumb>span{width:20px;height:2px;background:#5d4e77;pointer-events:none}.timeline-scroll-thumb>button{height:100%;width:9px;min-width:9px;padding:0;border:0;border-radius:0;background:#78639e;cursor:ew-resize;touch-action:none}.timeline-fit{padding:3px 8px;font-size:8px}@media(max-width:780px){.timeline-navigator>span{width:49px;font-size:6px}.timeline-navigator{gap:6px;height:20px}}.timeline{height:clamp(145px,var(--timeline-size, clamp(200px, 28dvh, 260px)),45dvh)}header{height:54px}.logo{font-size:25px}.logo-icon{padding:5px}.workflow-tabs{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);padding:8px 20px}.workflow-switch{grid-column:2;display:flex;align-items:center;gap:8px}.workflow-switch>button{font-size:11px}.workflow-tabs .transcript-download{grid-column:3;justify-self:end;margin:0;width:auto}@media(max-width:780px){.workflow-tabs{padding:7px 10px}.workflow-tabs .transcript-label{display:none}.workflow-tabs .transcript-download{width:32px;height:32px;padding:0}.workflow-switch{gap:6px}.workflow-switch>button{font-size:10px;padding:7px 8px}header{height:48px}}@media(max-height:450px){header{height:44px}}.page-artboard{background:transparent;border:0;border-radius:0}.drawing-toolbar{justify-content:center}.drawing-toolbar button{width:36px;height:36px;padding:0;flex-shrink:0}.drawing-toolbar button svg{width:18px;height:18px}.brand-group{display:flex;align-items:center;gap:14px;min-width:0}.header-import{font-size:10px;padding:8px 10px}.workflow-switch>button{gap:7px}.prep-center{padding-top:12px}.drawing-toolbar{margin-bottom:12px;align-items:center}.tool-divider{height:22px;width:1px;background:#bbb6a9;margin:0 5px}.drawing-actions:empty{display:none}.prep-workspace .page-list{padding-top:5px}.page-card{aspect-ratio:1;display:flex;flex-direction:column;min-height:0}.page-card img{flex:1;min-height:0;width:100%;height:auto;object-fit:contain}.page-card>span{flex-shrink:0}.inspector-tabs{display:flex;gap:4px;padding:10px 8px;border-bottom:1px solid #d5d0c4;position:sticky;top:0;z-index:3;background:#fffdf6}.inspector-tabs button{font-size:9px;padding:9px 7px;gap:5px;flex:1}.inspector-tabs button[aria-selected=true]{background:var(--purple);color:#17191e}.frame-analysis-actions{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}.frame-analysis-actions button{font-size:10px;padding:8px}.prep-workspace .analysis-controls{padding:0}.page-artboard svg{overflow:hidden}@media(max-width:1100px){.project-name{display:none}}@media(max-width:780px){.header-import .import-label,.header-actions .export-label{display:none}.header-import{width:32px;height:32px;padding:0}.brand-group{gap:8px}.header-actions .primary{width:34px;height:34px;padding:0}.drawing-toolbar{gap:4px}.drawing-toolbar button{width:30px;height:32px}.tool-divider{margin:0 2px}.prep-center{padding-top:9px}}.prep-center{position:relative;padding:0}.prep-center .drawing-toolbar{position:absolute;top:12px;left:50%;transform:translate(-50%);z-index:5;width:max-content;max-width:calc(100% - 16px);margin:0;padding:0;background:transparent;pointer-events:none;flex-wrap:nowrap}.drawing-toolbar button{pointer-events:auto;box-shadow:0 2px 5px #0002}.drawing-toolbar .tool-divider{background:transparent;pointer-events:none}.prep-center .page-artboard{border-radius:0}.prep-center .drawing-actions{padding-left:12px;padding-right:12px}.prep-center .prep-error{padding:0 12px}@media(max-width:780px){.prep-center .drawing-toolbar{top:8px;gap:3px}.prep-center .drawing-toolbar button{width:28px;height:32px}.drawing-toolbar .tool-divider{margin:0 2px}}.prep-center .drawing-toolbar{top:12px;left:12px;transform:none;flex-direction:column;flex-wrap:nowrap;width:max-content;max-width:none;gap:5px}.drawing-toolbar .tool-divider{width:22px;height:1px;margin:2px 0}@media(max-width:780px){.prep-center .drawing-toolbar{top:8px;left:8px;gap:3px}.drawing-toolbar .tool-divider{margin:2px 0}}.prep-workspace .library{overflow:hidden}.page-grid-zoom{margin:0 16px 16px;font-size:9px;flex-shrink:0}.page-grid-zoom span{color:#888}.page-grid-zoom input[type=range]{margin-top:12px}.prep-workspace .page-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(var(--thumbnail-size, 88px),100%),1fr));align-content:start;gap:10px;flex:1 1 0;min-height:0;overflow-y:scroll;overflow-x:hidden;padding:4px 12px 14px;scrollbar-width:thin;scrollbar-color:#a58acb #e6e1d6;scrollbar-gutter:stable}.prep-workspace .page-list::-webkit-scrollbar{display:block;width:8px}.prep-workspace .page-list::-webkit-scrollbar-track{background:#e6e1d6;border-radius:5px}.prep-workspace .page-list::-webkit-scrollbar-thumb{background:#a58acb;border-radius:5px;border:2px solid #e6e1d6}.prep-workspace .page-card{margin:0;padding:5px;gap:4px;overflow:hidden}.prep-workspace .page-card>span{font-size:7px;margin-top:2px;gap:3px}.prep-workspace .page-card>span>span{font-size:6px}.prep-workspace .library-heading{padding-bottom:10px}@media(max-width:780px){.prep-workspace .page-list{padding:4px 12px 12px;gap:8px}.page-grid-zoom{margin:0 14px 12px}}.pages-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 10px;border-bottom:1px solid #d5d0c4;flex-shrink:0}.pages-header>strong{font-size:10px;white-space:nowrap}.pages-header>strong>span{color:#888;margin-left:4px;font-weight:400}.pages-header .page-grid-zoom{display:flex;align-items:center;gap:5px;margin:0;min-width:0;flex:1;max-width:125px}.page-grid-zoom button{border:0;background:transparent;box-shadow:none;padding:0;width:16px;height:20px;flex-shrink:0;font-size:15px}.pages-header .page-grid-zoom input[type=range]{margin:0;min-width:0;width:100%;height:4px}.prep-workspace .page-list{grid-template-columns:repeat(var(--page-columns, 2),minmax(0,1fr));grid-auto-rows:var(--page-tile-size, 96px);align-items:stretch;padding-top:12px}.prep-workspace .page-card{width:100%;height:100%;min-width:0;min-height:0;aspect-ratio:auto;align-self:stretch}.prep-workspace .page-card img{height:0;flex:1 1 0;min-width:0;min-height:0}.prep-workspace .page-card>span{height:10px;line-height:10px;white-space:nowrap;overflow:hidden}header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px}.brand-group{grid-column:1;gap:10px}.header-workflow{grid-column:2}.header-workflow .workflow-switch{gap:6px}.header-actions{grid-column:3;justify-self:end}.brand-group .project-name{max-width:130px;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block;font-size:10px}.brand-group .project-name .local,.brand-group .project-name .dot{display:none}.header-actions .transcript-download{background:var(--teal);color:#17191e;box-shadow:3px 3px 0 var(--ink);font-size:11px;padding:10px 12px}.header-workflow button[aria-pressed=true]{background:var(--purple);box-shadow:2px 2px 0 var(--ink)}@media(max-width:1250px){.header-actions .transcript-label{display:none}.header-actions .transcript-download{width:36px;height:36px;padding:0}.brand-group .project-name{display:none}}@media(max-width:900px)and (min-width:781px){.header-workflow .workflow-label{display:none}.header-workflow button{width:34px;height:34px;padding:0}}@media(max-width:780px){header{height:auto;min-height:48px;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand actions" "workflow workflow";gap:6px;padding:6px 12px}.brand-group{grid-area:brand}.header-actions{grid-area:actions}.header-workflow{grid-area:workflow;justify-self:center}.header-workflow .workflow-label{display:inline}.header-workflow button{padding:6px 10px;font-size:10px}.header-actions .transcript-download{width:32px;height:32px}}.workspace{grid-template-columns:150px 1px minmax(0,1fr) 6px clamp(190px,var(--inspector-size, 21vw),34vw)}.library-divider{background:var(--ink)}.brand-group .project-name,.project-title-input{display:block;width:130px;min-width:0;max-width:130px;padding:5px 6px;font-size:11px;text-align:left;box-shadow:none}.brand-group .project-name{border:1px solid transparent;background:transparent;color:var(--ink)}.project-title-input{-webkit-user-select:text;user-select:text}@media(max-width:780px){.workspace{grid-template-columns:minmax(0,1fr)}.library-divider{display:none}.brand-group{flex-wrap:wrap}.brand-group .project-name,.project-title-input{width:90px;max-width:90px}}.prep-mobile-tabs button,.mobile-tools button,.inspector-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap}.prep-mobile-tabs button svg,.mobile-tools button svg,.inspector-tabs button svg{flex-shrink:0}.inspector-tabs button{font-size:clamp(9px,.8vw,11px);padding-inline:6px}@media(max-width:780px){header{grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"brand workflow actions";min-height:42px;height:42px;padding:5px 6px;gap:5px}.brand-group{flex-wrap:nowrap;gap:4px;overflow:hidden}.logo{font-size:0;gap:0;flex-shrink:0}.logo-icon{padding:3px;box-shadow:1px 1px 0 var(--ink)}.logo-icon svg{width:16px;height:16px}.brand-group .project-name,.project-title-input{width:auto;max-width:90px;flex:1 1 45px;padding:3px;font-size:9px}.header-import{width:27px;height:27px;padding:0;flex-shrink:0}.header-workflow .workflow-label{display:none}.header-workflow .workflow-switch{gap:4px}.header-workflow button{width:27px;height:27px;padding:0}.header-actions{gap:4px}.header-actions .theme-toggle,.header-actions .transcript-download,.header-actions .primary{width:27px;height:27px;padding:0;min-width:0;box-shadow:1px 1px 0 var(--ink)}.header-actions svg,.header-import svg{width:14px;height:14px}.header-actions .primary span,.header-import .import-label{display:none}.prep-mobile-tabs,.mobile-tools{flex-wrap:nowrap}.prep-mobile-tabs button,.mobile-tools button{font-size:10px;padding:6px;min-width:0}.inspector-tabs button{font-size:11px}}.prep-workspace .page-card>span{height:18px;line-height:18px;flex:0 0 18px;font-size:10px;gap:5px}.prep-workspace .page-card>span>span{font-size:11px;font-weight:600;line-height:18px}.prep-frame{padding:0;margin-bottom:7px}.prep-frame .frame-select{display:flex;align-items:center;gap:6px;padding:9px 8px;margin:0;font-size:11px;cursor:pointer;list-style:none}.prep-frame .frame-select::-webkit-details-marker{display:none}.prep-frame .frame-select span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.prep-frame .frame-select>svg{flex-shrink:0;transform:rotate(-90deg)}.prep-frame[open] .frame-select>svg{transform:rotate(0)}.prep-frame-body{padding:0 8px 8px}.prep-frame-body label{margin-top:6px;font-size:10px}.prep-frame-body input{padding:6px}.prep-frame-body textarea{min-height:54px;padding:6px}.prep-frame-body button{padding:6px 8px;font-size:10px}.prep-frame .icon-delete{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;flex:0 0 28px}.settings-heading{font-size:11px;margin:14px 0 4px;padding-top:10px;border-top:1px solid var(--line)}.analysis-controls .setting-toggle{display:flex;align-items:center;justify-content:space-between;gap:8px}.analysis-controls .setting-toggle input{width:16px;height:16px;accent-color:var(--purple);margin:0}.prep-workspace .analysis-controls select,.prep-frame-body input,.prep-frame-body textarea{border:1.5px solid var(--ink);border-radius:5px;box-shadow:2px 2px 0 var(--ink)}.settings-heading{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;border-top:1.5px solid var(--ink);padding-top:14px;margin:18px 0 12px}.analysis-controls .setting-toggle{min-height:36px;margin-bottom:12px;padding:7px 9px;border:1.5px solid var(--ink);border-radius:5px;background:#fffdf6;box-shadow:2px 2px 0 var(--ink);cursor:pointer}.analysis-controls .setting-toggle span{float:none;color:inherit}.analysis-controls .setting-toggle input{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;width:32px;height:18px;padding:0;flex:0 0 32px;border:1.5px solid var(--ink);border-radius:10px;background:#e6e1d6;cursor:pointer}.analysis-controls .setting-toggle input:after{content:"";position:absolute;width:12px;height:12px;top:1.5px;left:2px;border:1.5px solid #20211f;border-radius:50%;background:#fffdf6}.analysis-controls .setting-toggle input:checked{background:var(--teal)}.analysis-controls .setting-toggle input:checked:after{left:15px}.prep-frame{border:1.5px solid var(--ink);border-radius:5px;box-shadow:2px 2px 0 var(--ink);margin-top:10px;overflow:hidden}.prep-frame.active{border-color:var(--ink);box-shadow:2px 2px 0 var(--ink)}.prep-frame .frame-select{background:#fffdf6;font-weight:600}.prep-frame.active .frame-select{background:var(--purple);color:#20211f}.prep-frame[open] .frame-select{border-bottom:1.5px solid var(--ink)}.prep-frame .icon-delete{background:#ffb5ad;color:#20211f;border-color:var(--ink);box-shadow:2px 2px 0 var(--ink)}.inspector-tabs button[aria-selected=true]{box-shadow:2px 2px 0 var(--ink)}.prep-workspace .inspector-inner{padding:12px 8px}.frame-analysis-actions{display:flex;flex-wrap:nowrap;align-items:center;gap:5px;margin-bottom:12px;padding-bottom:4px;overflow-x:auto;scrollbar-width:thin}.frame-analysis-actions select,.frame-analysis-actions button{height:30px;margin:0;padding:5px;font-size:9px;border:1.5px solid var(--ink);border-radius:5px;box-shadow:1px 1px 0 var(--ink);white-space:nowrap}.frame-analysis-actions select{width:80px;min-width:68px;flex:1 0 68px}.frame-analysis-actions button{flex-shrink:0}.frame-analysis-actions button:first-of-type{background:var(--yellow);color:#20211f}.bubble-field{margin:10px 0 12px}.bubble-field-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.prep-frame-body .bubble-field-heading label{margin:0}.bubble-field textarea{margin-top:6px}.bubble-field{position:relative;padding:8px;border:1.5px solid transparent;border-radius:5px;transition:background .12s,border-color .12s}.bubble-field:hover,.bubble-field:focus-within{background:#eee6f9;border-color:var(--ink)}.bubble-field-heading label{flex:1}.prep-frame .bubble-reorder{padding:0;width:22px;height:28px;border:0;background:transparent;cursor:grab;touch-action:none;flex-shrink:0}.prep-frame .bubble-reorder:active{cursor:grabbing}.bubble-field.dragging{opacity:.5}.bubble-field.insert-before:before,.bubble-field.insert-after:after{content:"";position:absolute;left:0;right:0;height:3px;background:var(--purple);border:1px solid var(--ink);border-radius:2px;z-index:2}.bubble-field.insert-before:before{top:-7px}.bubble-field.insert-after:after{bottom:-7px}.prep-frame .frame-select>span{flex:1}.prep-frame .frame-select .icon-delete{margin-left:auto}.history-controls{display:flex;gap:4px}.history-controls button{width:32px;height:32px;padding:0}@media(max-width:780px){.history-controls{gap:3px}.history-controls button{width:23px;height:27px;padding:0}}.analysis-buttons{display:flex;gap:5px;flex-shrink:0}.frame-analysis-actions.unanalyzed{display:grid;grid-template-columns:1fr 1fr;overflow:visible}.frame-analysis-actions.unanalyzed select{width:100%;min-width:0}.frame-analysis-actions.unanalyzed .analysis-buttons{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.frame-analysis-actions.unanalyzed button{height:48px;font-size:12px;box-shadow:2px 2px 0 var(--ink)}.empty-editor{grid-area:editor;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:24px;text-align:center}.frame-analysis-actions select{height:38px;width:120px;min-width:110px;flex-basis:110px;padding:7px 8px;font-size:12px;font-weight:500}.frame-analysis-actions.unanalyzed select{height:42px;min-width:0;padding:9px 8px;font-size:13px}.prep-workspace .page-card>.page-caption{justify-content:center;align-items:center;gap:4px;letter-spacing:0;margin-top:2px}.prep-workspace .page-card>.page-caption>span{font-size:10px;font-weight:500;letter-spacing:0;line-height:18px}.prep-workspace .page-card>.page-caption>.caption-dot{font-size:9px;opacity:.6}.prep-workspace>.inspector{container-type:inline-size;container-name:workshop-inspector}.frame-analysis-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;overflow:visible}.frame-analysis-actions select{width:100%;min-width:0}.frame-analysis-actions .analysis-buttons{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;min-width:0}.frame-analysis-actions .analysis-buttons button{width:100%;min-width:0;height:38px}.frame-analysis-actions.unanalyzed .analysis-buttons button{height:48px}@container workshop-inspector (min-width: 420px){.frame-analysis-actions:not(.unanalyzed){grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}.frame-analysis-actions:not(.unanalyzed) .analysis-buttons{grid-column:auto;display:flex;gap:5px}.frame-analysis-actions:not(.unanalyzed) .analysis-buttons button{width:auto;padding-inline:8px}}.project-loading{grid-row:1 / -1;display:flex;align-items:center;justify-content:center;gap:12px;height:100dvh;font-size:13px;font-weight:600}.project-loading svg{background:var(--yellow);color:#20211f;padding:5px;width:38px;height:38px;border:2px solid var(--ink);border-radius:5px;box-shadow:2px 2px 0 var(--ink)}.frame-analysis-actions .analysis-buttons button{font-size:13px;font-weight:600;padding-inline:10px}.frame-analysis-actions.unanalyzed .analysis-buttons button{font-size:14px}header{--header-control-height: 36px}.header-import,.header-workflow button,.header-actions button{height:var(--header-control-height);padding-top:0;padding-bottom:0}@media(max-width:900px)and (min-width:781px){header{--header-control-height: 34px}}@media(max-width:780px){header{--header-control-height: 27px}}header .header-actions .theme-toggle,header .header-actions .transcript-download,header .header-actions .primary,header .header-actions .history-controls button,header .header-workflow button,header .header-import{height:var(--header-control-height);padding-top:0;padding-bottom:0}.delete-all-frames{width:100%;margin-top:16px;min-height:40px;background:#ffb5ad;color:#20211f;border:1.5px solid var(--ink);box-shadow:2px 2px 0 var(--ink);font-size:12px}.bubble-field.selected-bubble{background:#eee6f9;border-color:var(--ink);box-shadow:2px 2px 0 var(--purple)}.page-view-layer[data-tool=select] .frame-preview-target{cursor:pointer}.page-view-layer[data-tool=select] .frame-preview-target:hover{fill:#b5a0e54d;stroke:#d1b5ff;stroke-width:3}.bubble-preview-target{outline:none}.page-view-layer[data-tool=select] .bubble-hit-area{pointer-events:all;cursor:pointer}.page-view-layer:not([data-tool=select]) .bubble-preview-target{pointer-events:none}.page-view-layer[data-tool=select] .bubble-preview-target:hover .bubble-preview-outline,.bubble-preview-target:focus-visible .bubble-preview-outline,.bubble-preview-target.active .bubble-preview-outline{fill:#56d6ba30;stroke:#fff16b;stroke-width:2.5;stroke-dasharray:none}.page-view-layer[data-tool=select] .frame-preview-target:hover{fill:#b5a0e518;stroke:#b5a0e5;stroke-width:2}.page-view-layer[data-tool=select] .bubble-preview-target:hover .bubble-preview-outline,.bubble-preview-target:focus-visible .bubble-preview-outline,.bubble-preview-target.active .bubble-preview-outline{fill:transparent;stroke:#56d6ba;stroke-width:2;stroke-dasharray:none}.prep-frame-body .add-bubble-text{width:100%;min-height:36px;margin-top:8px;background:var(--teal);color:#20211f;font-size:12px;border:1.5px solid var(--ink);box-shadow:2px 2px 0 var(--ink)}.prep-frame{position:relative;overflow:visible}.prep-frame .frame-select{border-radius:4px}.prep-frame .frame-reorder{width:20px;height:28px;padding:0;border:0;background:transparent;touch-action:none;cursor:grab;flex-shrink:0}.prep-frame .frame-reorder:active{cursor:grabbing}.prep-frame.dragging-frame{opacity:.5}.prep-frame.frame-insert-before:before,.prep-frame.frame-insert-after:after{content:"";position:absolute;left:0;right:0;height:3px;background:var(--purple);border:1px solid var(--ink);border-radius:2px;z-index:3}.prep-frame.frame-insert-before:before{top:-7px}.prep-frame.frame-insert-after:after{bottom:-7px}.add-frame-button{width:100%;min-height:36px;margin-top:12px;background:var(--teal);color:#20211f;font-size:12px;border:1.5px solid var(--ink);box-shadow:2px 2px 0 var(--ink)}.logo-menu-wrap{position:relative;flex-shrink:0}.logo-menu-toggle{padding:0;border:0;background:transparent;border-radius:0}.project-menu{position:absolute;top:calc(100% + 12px);left:0;z-index:51;width:165px;padding:6px;background:#fffdf6;border:2px solid var(--ink);border-radius:5px;box-shadow:3px 3px 0 var(--ink)}.project-menu button{width:100%;border:0;justify-content:flex-start}.menu-dismiss{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:transparent;border:0;border-radius:0}.comic-drop-workspace{grid-area:editor;display:grid;place-items:center;padding:24px;min-height:0}.comic-drop-zone{width:min(600px,100%);height:min(360px,65dvh);display:flex;flex-direction:column;gap:14px;border:2px dashed var(--ink);background:#eee6f9;font-size:13px}.comic-drop-zone strong{font-size:22px}.save-notice{position:fixed;bottom:20px;left:50%;transform:translate(-50%);padding:12px 18px;background:var(--teal);color:#20211f;border:2px solid var(--ink);border-radius:5px;z-index:60;font-size:12px}.dialog-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0008;z-index:70;display:grid;place-items:center;padding:20px}.project-picker{width:min(420px,100%);max-height:75dvh;overflow:auto;background:#fffdf6;padding:16px;border:2px solid var(--ink);border-radius:6px;box-shadow:4px 4px 0 var(--ink)}.project-picker-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.project-picker>button{width:100%;margin-bottom:8px;justify-content:flex-start}@media(max-width:780px){.brand-group{overflow:visible}}.brand-group .project-name,.project-title-input{width:240px;max-width:240px}@media(max-width:1250px)and (min-width:781px){.brand-group .project-name,.project-title-input{width:170px;max-width:170px}}@media(max-width:780px){.brand-group .project-name,.project-title-input{width:auto;max-width:150px}}.project-menu{top:calc(100% + 4px);left:0;width:185px;padding:7px;border:2px solid var(--ink);border-radius:6px;box-shadow:4px 4px 0 var(--ink);background:#fffdf6;display:grid;gap:7px}.project-menu button{min-height:36px;padding:8px 10px;border:1.5px solid var(--ink);border-radius:4px;box-shadow:2px 2px 0 var(--ink);color:#20211f;font-size:12px;gap:9px}.project-menu button:first-child{background:var(--yellow)}.project-menu button:last-child{background:var(--purple)}.saved-project-row{display:flex;align-items:center;gap:8px;margin-bottom:10px}.saved-project-open{flex:1;min-width:0;justify-content:flex-start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.saved-project-row .project-action{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;flex:0 0 34px;box-shadow:2px 2px 0 var(--ink)}.project-rename{background:var(--purple);color:#20211f}.saved-project-row .project-trash{background:#ff7566;color:#20211f}.saved-project-row form{flex:1;min-width:0;display:flex;align-items:center;gap:8px}.saved-project-row input{margin:0;min-width:0;border-color:var(--ink)}.logo-dropdown-icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin-left:3px;background:var(--purple);color:#20211f;border:1.5px solid var(--ink);border-radius:4px;box-shadow:2px 2px 0 var(--ink);flex-shrink:0}.logo-menu-toggle[aria-expanded=true] .logo-dropdown-icon{background:var(--yellow)}.logo-menu-toggle[aria-expanded=true] .logo-dropdown-icon svg{transform:rotate(180deg)}@media(max-width:780px){.logo-dropdown-icon{width:19px;height:19px;margin-left:4px;box-shadow:1px 1px 0 var(--ink)}.logo-dropdown-icon svg{width:12px;height:12px}}.project-title-input:focus-visible{outline:2px solid #8772c3;outline-offset:0}.brand-group .project-title-input{margin-top:0}.preview-zoom-toolbar{position:absolute;right:12px;bottom:12px;z-index:5;display:flex;flex-direction:row;gap:6px;pointer-events:none}.preview-zoom-toolbar button{width:36px;height:36px;padding:0;pointer-events:auto;box-shadow:2px 2px 0 var(--ink)}@media(max-width:780px){.preview-zoom-toolbar{right:8px;bottom:8px}.preview-zoom-toolbar button{width:32px;height:32px}}:root{--mode-accent: var(--purple);--mode-accent-soft: #eee6f9}:root[data-phase=preparation]{--mode-accent: var(--purple);--mode-accent-soft: #eee6f9}:root[data-phase=video]{--mode-accent: var(--teal);--mode-accent-soft: #ddf3ed}header .header-workflow button:first-child{background:var(--purple);color:#20211f}header .header-workflow button:last-child{background:var(--teal);color:#20211f}header .header-workflow button[aria-pressed=false]{box-shadow:none;opacity:.7}header .header-workflow button[aria-pressed=true]{opacity:1;border-width:2px;box-shadow:2px 2px 0 var(--ink)}header{border-bottom-color:var(--mode-accent)}html .page-card.selected,html .panel-item.active,html .motion-grid .chosen,html .mobile-tools button[aria-pressed=true],html .prep-mobile-tabs button[aria-pressed=true],html .drawing-toolbar button[aria-pressed=true],html .prep-frame.active .frame-select{background:var(--mode-accent);color:#20211f;border-color:var(--ink)}html .primary,html .frame-analysis-actions button:first-of-type,html .add-frame-button,html .prep-frame-body .add-bubble-text{background:var(--mode-accent);color:#20211f}html .bubble-field.selected-bubble{box-shadow:2px 2px 0 var(--mode-accent)}html .bubble-field:hover,html .bubble-field:focus-within{background:var(--mode-accent-soft)}html .resize-handle:hover,html .resize-handle:focus-visible{background:var(--mode-accent)}html input[type=range]{accent-color:var(--mode-accent)}html button:focus-visible,html input:focus-visible,html select:focus-visible,html textarea:focus-visible{outline-color:var(--mode-accent)}.text-selection-hint{position:absolute;left:50%;bottom:58px;transform:translate(-50%);z-index:6;padding:8px 12px;border:1.5px solid var(--ink);border-radius:5px;background:var(--mode-accent);color:#20211f;font-size:11px;pointer-events:none;max-width:85%;text-align:center}.text-add-control{position:relative}.text-tool-menu{position:absolute;top:calc(100% + 7px);left:50%;transform:translate(-50%);z-index:20;display:flex;justify-content:center;gap:6px;width:max-content;padding:7px;border:1.5px solid var(--ink);border-radius:5px;background:var(--mode-accent-soft);box-shadow:2px 2px 0 var(--ink)}.text-tool-menu button,.prep-frame-body .text-tool-menu button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0}.prep-frame,.prep-frame .frame-select{transition:background .12s}html .prep-frame:hover,html .prep-frame:focus-within{background:var(--mode-accent-soft)}html .prep-frame:not(.active):hover .frame-select,html .prep-frame:not(.active):focus-within .frame-select{background:var(--mode-accent-soft)}.frame-preview-target.list-hovered{fill:#b5a0e518;stroke:#b5a0e5;stroke-width:2}.bubble-preview-target.list-hovered .bubble-preview-outline{fill:transparent;stroke:#56d6ba;stroke-width:2;stroke-dasharray:none}html .prep-frame.preview-hovered{background:var(--mode-accent-soft)}html .prep-frame.preview-hovered:not(.active) .frame-select{background:var(--mode-accent-soft)}html .prep-frame.active:hover .frame-select,html .prep-frame.active.preview-hovered .frame-select{background:color-mix(in srgb,var(--mode-accent) 78%,white)}.frame-tool-menu{display:grid;grid-template-columns:repeat(3,36px)}.frame-tool-menu .full-page-frame{grid-column:1 / -1;width:100%;gap:6px}@media(min-width:781px){.prep-workspace{grid-template-rows:minmax(0,1fr)}.prep-mobile-tabs{display:none}}@media(max-width:780px){header{height:auto;min-height:76px;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand actions" "workflow workflow";gap:6px;padding:6px}.brand-group{grid-area:brand;grid-column:auto}.header-actions{grid-area:actions;grid-column:auto}.header-workflow{grid-area:workflow;grid-column:1 / -1;justify-self:center}.header-workflow .workflow-label{display:inline}.header-workflow button{width:auto;padding:0 10px;font-size:11px}.workspace{grid-template-columns:minmax(0,1fr)}.workspace>.library-divider,.workspace>.resize-handle{display:none}.prep-workspace{grid-template-rows:auto minmax(0,1fr)}.prep-workspace>.prep-mobile-tabs{grid-column:1;grid-row:1;justify-content:center}.prep-workspace>.library,.prep-workspace>.inspector,.prep-workspace>.prep-center{grid-column:1;grid-row:2}.prep-workspace>.prep-center{flex-direction:column;padding:0}.prep-center .page-artboard{width:100%;flex:1 1 0;min-height:0}}.prep-workspace>.inspector{overflow:hidden}.prep-workspace .inspector-inner{display:flex;flex-direction:column;height:100%;min-height:0;padding:0}.prep-workspace .frame-analysis-actions{position:relative;z-index:3;flex-shrink:0;margin:0;padding:12px 8px;background:var(--surface, #fffdf6);border-bottom:1.5px solid var(--ink)}.workshop-frame-list{flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0 8px 12px;overscroll-behavior:contain}.workshop-frame-actions{position:relative;z-index:3;flex-shrink:0;padding:8px;background:var(--surface, #fffdf6);border-top:1.5px solid var(--ink)}.workshop-frame-actions .add-frame-button{margin-top:0}.workshop-frame-actions .frame-tool-menu{top:auto;bottom:calc(100% + 7px)}.text-tool-menu-overlay{position:fixed;z-index:100}header .header-workflow button{transition:background .12s,opacity .12s,box-shadow .12s}html header .header-actions .transcript-download{background:var(--teal);color:#20211f}html .frame-analysis-actions .analyze-all-button{background:var(--yellow);color:#20211f}html .bubble-field.preview-hovered{background:var(--mode-accent-soft);border-color:var(--ink)}html .bubble-field.selected-bubble.preview-hovered{background:color-mix(in srgb,var(--mode-accent) 30%,var(--mode-accent-soft))}.video-workspace{grid-template-columns:minmax(0,1fr) 6px clamp(190px,var(--inspector-size, 21vw),34vw)}.video-workspace>main{padding:0}.video-workspace .stage{margin:0;border:0;border-radius:0;background:#090b0c;box-shadow:none}.video-workspace .export-frame{outline:none;box-shadow:none}.video-workspace .transport{justify-content:center;gap:14px;padding:6px 10px}.video-workspace .aspect-switch{display:flex;gap:5px}.video-workspace .aspect-switch button{width:32px;height:32px;padding:0}.video-workspace .aspect-switch button.active{background:var(--mode-accent);color:#20211f}.timeline .timeline-scroll{overflow-y:hidden;display:flex}.timeline .tracks,.timeline .track-labels{display:grid;grid-template-rows:22px minmax(0,1fr) minmax(0,1.6fr);row-gap:5px;height:100%;min-height:0}.timeline .track,.timeline .ruler,.timeline .track-labels>span{height:auto;min-height:0;margin-top:0}.timeline .panel-clip img{height:100%;max-height:42px;flex-shrink:0}.timeline .text-clip,.timeline .empty-clip,.timeline .panel-clip{min-height:0;padding-top:2px;padding-bottom:2px}@media(max-width:780px){.video-workspace{grid-template-columns:minmax(0,1fr)}.video-workspace .transport{gap:7px;padding:4px}.video-workspace .aspect-switch button{width:27px;height:27px}.video-workspace .preview-quality{display:inline;font-size:9px;white-space:nowrap}}.video-workspace>main{padding-left:12px}.video-workspace .aspect-switch{border:0;overflow:visible;gap:6px;flex-shrink:0}.video-workspace .aspect-switch button,.video-workspace .aspect-switch button:last-child{display:inline-flex;align-items:center;justify-content:center;border:1.5px solid var(--ink);border-radius:5px;padding:0;box-shadow:2px 2px 0 var(--ink)}.video-workspace .motion-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.video-workspace .motion-grid button{min-width:0;height:34px;padding:0;gap:0;justify-content:center;align-items:center}.video-workspace .motion-grid button>span{font-size:16px;line-height:1}.timeline-fit{display:inline-flex;align-items:center;justify-content:center;width:30px;min-width:30px;padding:0}.timeline .text-clip.selected{background:var(--teal);border:2px solid var(--ink);box-shadow:inset 0 0 0 2px #fffdf6}.timeline .text-clip,.timeline .panel-clip{position:relative}.clip-duration-handle{position:absolute;top:0;bottom:0;width:9px;cursor:ew-resize;touch-action:none;z-index:2;background:#20211f20}.clip-duration-handle.start{left:0}.clip-duration-handle.end{right:0}.clip-duration-handle:after{content:"";position:absolute;top:25%;bottom:25%;left:4px;width:1px;background:#20211f90}.clip-duration-handle:hover{background:#20211f40}.clip-reorder-handle{position:absolute;top:1px;left:50%;transform:translate(-50%);width:20px;height:14px;display:flex;align-items:center;justify-content:center;background:#fffdf6c9;border-radius:3px;color:#20211f;cursor:grab;touch-action:none;z-index:3}.clip-reorder-handle:active{cursor:grabbing}.timeline-insert-before{box-shadow:inset 4px 0 #167766!important}.timeline-insert-after{box-shadow:inset -4px 0 #167766!important}.reorder-drag-ghost{position:fixed;top:0;left:0;z-index:10000;pointer-events:none;display:flex;align-items:center;gap:8px;width:max-content;max-width:240px;padding:8px 10px;border:2px solid var(--ink);border-radius:5px;background:var(--mode-accent-soft);color:#20211f;box-shadow:3px 3px 0 var(--ink);opacity:.92;font-size:11px;font-weight:600;will-change:transform}.reorder-drag-ghost img{width:38px;height:38px;object-fit:cover;border:1px solid var(--ink);border-radius:3px;flex-shrink:0}.reorder-drag-ghost span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.clip-drag-surface{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;cursor:grab;touch-action:none}.clip-drag-surface:active{cursor:grabbing}.workshop-delete-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px}.workshop-delete-actions .delete-all-frames{margin-top:0;padding:7px 5px;font-size:10px;gap:5px;white-space:normal}.workshop-delete-actions svg{flex-shrink:0}.workshop-page-title{display:flex;align-items:center;gap:6px;padding:12px 0 3px;font-size:12px;font-weight:700}.prep-workspace .inspector-inner>.workshop-page-title{flex-shrink:0;padding:10px 8px 6px;background:var(--surface, #fffdf6)}.workshop-delete-actions .delete-all-frames{font-size:12px;line-height:1.25;min-height:40px;padding:8px 6px}.prep-workspace .inspector-inner>.workshop-page-title{border-bottom:1.5px solid var(--ink);padding-bottom:10px}.video-workspace .motion-grid button{height:auto;min-height:58px;padding:6px 2px;gap:5px}.video-workspace .motion-grid button small{font-size:9px;line-height:1.2;text-align:center;overflow-wrap:anywhere}button{transition:translate .12s ease,box-shadow .12s ease,opacity .12s ease}button:enabled:hover{translate:-1px -1px;box-shadow:3px 3px 0 var(--ink);filter:none}button:enabled:active{translate:1px 1px;box-shadow:0 0 0 var(--ink)}button:disabled{opacity:.45;cursor:not-allowed;translate:none}.timeline button:enabled:hover,.prep-frame .frame-reorder:enabled:hover,.prep-frame .bubble-reorder:enabled:hover,.logo-menu-toggle:enabled:hover,.menu-dismiss:enabled:hover{translate:none;box-shadow:none}.timeline button:enabled:active,.prep-frame .frame-reorder:enabled:active,.prep-frame .bubble-reorder:enabled:active,.logo-menu-toggle:enabled:active,.menu-dismiss:enabled:active{translate:none}@media(prefers-reduced-motion:reduce){button{transition:none}}.workshop-frame-list{position:relative;isolation:isolate;z-index:0}.motion-option{min-width:0;text-align:center}.video-workspace .motion-option button{width:100%;height:34px;min-height:34px;padding:0}.motion-option>small{display:block;margin-top:5px;font-size:9px;line-height:1.25;overflow-wrap:anywhere}.crop-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.video-workspace .crop-fields label{margin:0;font-size:10px}.crop-fields input{width:100%;min-width:0;padding:5px 6px}.settings-divider{border:0;border-top:1.5px solid var(--ink);margin:16px 0;width:100%}html header .header-actions>.primary{background:var(--yellow);color:#20211f}.timeline .tracks,.timeline .track-labels{grid-template-rows:22px minmax(0,1fr)}html .workshop-delete-actions .analyze-all-button{background:var(--yellow);color:#20211f;font-size:12px;min-height:40px;padding:8px 6px}.frame-analysis-actions .analysis-buttons .delete-all-frames{margin:0;font-size:12px;height:auto;min-height:36px;padding:6px}.workshop-frame-actions>.text-add-control{padding-bottom:10px;border-bottom:1.5px solid var(--ink)}header .header-actions .help-button{height:var(--header-control-height);width:var(--header-control-height);padding:0;background:var(--yellow);color:#20211f}.help-dialog{width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;border:2px solid var(--ink);border-radius:8px;box-shadow:6px 6px 0 var(--ink);background:var(--surface, #fffdf6);color:inherit;overflow-y:auto}.help-dialog::backdrop{background:#090b0c80}.help-dialog-content{padding:22px}.help-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.help-heading h2{display:flex;align-items:center;gap:8px;margin:0;font-size:20px}.help-heading button{width:32px;height:32px;padding:0;flex-shrink:0}.help-dialog ol{padding-left:22px}.help-dialog li{margin:18px 0;padding-left:4px;font-size:13px}.help-dialog p{font-size:12px;line-height:1.6;margin:5px 0 0}.help-shortcuts{border-top:1.5px solid var(--ink);padding-top:14px;font-size:13px}.timeline-fit{width:30px;height:30px;min-width:30px;min-height:30px;aspect-ratio:1;flex:0 0 30px;padding:0}.help-heading button{background:#ffb5ad;color:#20211f;border-color:var(--ink)}.shortcut-grid{display:grid;gap:8px;margin-top:12px}.shortcut-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1.5px solid var(--ink);border-radius:5px;background:var(--mode-accent-soft);color:#20211f}.shortcut-action{display:flex;align-items:center;gap:8px;font-size:12px}.shortcut-action svg{flex-shrink:0}.shortcut-keys{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap}.shortcut-keys kbd{display:inline-flex;align-items:center;justify-content:center;min-height:25px;min-width:25px;padding:3px 7px;border:1.5px solid var(--ink);border-radius:4px;background:#fffdf6;box-shadow:0 2px 0 var(--ink);font-family:inherit;font-size:11px;white-space:nowrap}.key-plus{font-size:10px;opacity:.6}@media(max-width:420px){.shortcut-row{align-items:flex-start;flex-direction:column;gap:7px}.shortcut-keys{justify-content:flex-start}}header .header-actions .help-button,.help-heading button{display:inline-flex;align-items:center;justify-content:center;padding:0;border:1.5px solid var(--ink);border-radius:5px;box-shadow:2px 2px 0 var(--ink);flex-shrink:0}.help-heading button{width:36px;height:36px}header .header-actions .help-button:enabled:hover,.help-heading button:enabled:hover{box-shadow:3px 3px 0 var(--ink)}header .header-actions .help-button:enabled:active,.help-heading button:enabled:active{box-shadow:none}@media(max-width:780px){header .header-actions .help-button{box-shadow:1px 1px 0 var(--ink)}}.transcript-dialog{width:min(760px,calc(100vw - 24px))}.transcript-content{display:block;width:100%;height:min(52dvh,460px);margin:18px 0;padding:14px;border:1.5px solid var(--ink);border-radius:5px;background:var(--surface, #fffdf6);font-size:13px;line-height:1.65;resize:none}.transcript-actions{display:flex;justify-content:flex-end;gap:8px}.transcript-actions button{box-shadow:2px 2px 0 var(--ink)}.transcript-actions button:first-child{background:var(--teal);color:#20211f}.transcript-actions button:last-child{background:var(--yellow);color:#20211f}.video-workspace .transport .aspect-switch{margin-left:auto}.video-workspace .transport>.preview-quality{flex-shrink:0;white-space:nowrap}.timeline .timeline-fit{border:1.5px solid var(--ink);border-radius:5px;background:var(--surface, #fffdf6);box-shadow:2px 2px 0 var(--ink)}.timeline .timeline-fit:enabled:hover{translate:-1px -1px;box-shadow:3px 3px 0 var(--ink)}.timeline .timeline-fit:enabled:active{translate:1px 1px;box-shadow:none}:root{--button-border: 1.5px solid var(--ink);--button-radius: 5px;--button-shadow: 2px 2px 0 var(--ink);--button-hover-shadow: 3px 3px 0 var(--ink)}html body button:not(:where(.logo-menu-toggle,.menu-dismiss,.frame-reorder,.bubble-reorder,.panel-clip,.text-clip,.empty-clip,.timeline-scroll-thumb>button)){border:var(--button-border)!important;border-radius:var(--button-radius)!important;box-shadow:var(--button-shadow)!important;transition:translate .12s ease,box-shadow .12s ease,opacity .12s ease}html body button:enabled:hover:not(:where(.logo-menu-toggle,.menu-dismiss,.frame-reorder,.bubble-reorder,.panel-clip,.text-clip,.empty-clip,.timeline-scroll-thumb>button)){translate:-1px -1px;box-shadow:var(--button-hover-shadow)!important;filter:none}html body button:enabled:active:not(:where(.logo-menu-toggle,.menu-dismiss,.frame-reorder,.bubble-reorder,.panel-clip,.text-clip,.empty-clip,.timeline-scroll-thumb>button)){translate:1px 1px;box-shadow:none!important}html body button:disabled{opacity:.45;translate:none;cursor:not-allowed}.export-dialog .close,.help-heading button{background:#ffb5ad;color:#20211f}@media(prefers-reduced-motion:reduce){html body button{transition:none}}.toast.analysis-progress-toast{left:50%;right:auto;transform:translate(-50%);width:min(300px,calc(100vw - 24px));display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}.analysis-progress-toast strong{font-size:14px}.analysis-progress-message{font-size:11px}.analysis-progress-toast progress{width:100%;height:12px;accent-color:var(--mode-accent)}.analysis-percentage{font-size:16px;font-weight:700}.analysis-progress-toast button{background:#ffb5ad;color:#20211f}.toast.analysis-progress-toast{width:min(250px,calc(100vw - 24px));padding:12px;gap:6px}.analysis-progress-toast button{width:100%;min-height:40px;font-size:14px;margin-top:4px}:root[data-theme=dark]{color-scheme:dark;color:#f1eadb;background:#1b1917;--ink: #0c0b0a;--surface: #25221f;--surface-raised: #332e29;--line: #62594f;--muted: #b9ac9b;--yellow: #e5cc75;--purple: #b7a2d8;--teal: #8fc5b4;--button-border: 1.5px solid #706457;--mode-accent-soft: #38313f}:root[data-theme=dark][data-phase=video]{--mode-accent-soft: #293c35}[data-theme=dark] body,[data-theme=dark] .prep-center,[data-theme=dark] .comic-drop-workspace,[data-theme=dark] .empty-editor{background:#1b1917;color:#f1eadb}[data-theme=dark] header,[data-theme=dark] aside,[data-theme=dark] .timeline,[data-theme=dark] .track-labels,[data-theme=dark] .mobile-tools,[data-theme=dark] .prep-mobile-tabs,[data-theme=dark] .export-dialog,[data-theme=dark] .toast,[data-theme=dark] .saved-projects,[data-theme=dark] .project-menu{background:var(--surface);color:#f1eadb}[data-theme=dark] button,[data-theme=dark] .prep-frame .frame-select,[data-theme=dark] .panel-clip,[data-theme=dark] .page-card,[data-theme=dark] .comic-drop-zone{background:var(--surface-raised);color:#f1eadb}[data-theme=dark] input:not([type=range]),[data-theme=dark] select,[data-theme=dark] textarea{background:#1e1b18;color:#f1eadb;border-color:var(--line)}[data-theme=dark] ::placeholder{color:#a79a89;opacity:1}[data-theme=dark] .muted,[data-theme=dark] .eyebrow,[data-theme=dark] .help,[data-theme=dark] .preview-quality,[data-theme=dark] .ruler>span,[data-theme=dark] .page-caption{color:var(--muted)}[data-theme=dark] .logo,[data-theme=dark] .brand-group .project-name{color:#f1eadb}[data-theme=dark] .brand-group .project-name{background:transparent}[data-theme=dark] .prep-frame,[data-theme=dark] .bubble-field,[data-theme=dark] .bubble-timing{border-color:var(--line)}html[data-theme=dark] .prep-frame:hover,html[data-theme=dark] .prep-frame.preview-hovered,html[data-theme=dark] .bubble-field:hover,html[data-theme=dark] .bubble-field.preview-hovered,html[data-theme=dark] .bubble-field.selected-bubble,html[data-theme=dark] .bubble-field:focus-within,html[data-theme=dark] .prep-frame:not(.active):hover .frame-select,html[data-theme=dark] .prep-frame.preview-hovered:not(.active) .frame-select{background:var(--mode-accent-soft);color:#f1eadb}html[data-theme=dark] .prep-frame.active .frame-select,[data-theme=dark] .panel-clip.selected,[data-theme=dark] .page-card.selected,[data-theme=dark] .motion-grid .chosen,[data-theme=dark] .aspect-switch .active,[data-theme=dark] .prep-mobile-tabs button[aria-pressed=true],[data-theme=dark] .mobile-tools button[aria-pressed=true],html[data-theme=dark] .primary,html[data-theme=dark] .add-frame-button,html[data-theme=dark] .add-bubble-text,html[data-theme=dark] .full-page-frame,html[data-theme=dark] .theme-toggle{background:var(--mode-accent);color:#211d19}html[data-theme=dark] .analyze-all-button,html[data-theme=dark] .help-button,html[data-theme=dark] header .header-actions>.primary,[data-theme=dark] .transcript-actions button:last-child{background:var(--yellow);color:#211d19}html[data-theme=dark] .icon-delete,html[data-theme=dark] .delete-all-frames,html[data-theme=dark] .project-trash,[data-theme=dark] .help-heading button,[data-theme=dark] .export-dialog .close,[data-theme=dark] .analysis-progress-toast button{background:#d99188;color:#211d19}[data-theme=dark] .text-tool-menu,[data-theme=dark] .reorder-drag-ghost,[data-theme=dark] .shortcut-row{background:var(--mode-accent-soft);color:#f1eadb}[data-theme=dark] .shortcut-keys kbd{background:#4a4239;color:#f1eadb}[data-theme=dark] .timeline-fit{background:var(--surface-raised);color:#f1eadb}[data-theme=dark] .timeline-scrollbar{background:#1e1b18;border-color:var(--line)}[data-theme=dark] .timeline-scroll-thumb{background:var(--mode-accent)}[data-theme=dark] .library-divider,[data-theme=dark] .resize-handle{background:#51483e}[data-theme=dark] .video-workspace .stage{background:#4a4136}[data-theme=dark] .settings-divider{border-color:var(--line)}[data-theme=dark] .prep-workspace .page-list,[data-theme=dark] .pages-header,[data-theme=dark] .workshop-page-title{background:var(--surface);color:#f1eadb}html[data-theme=dark] .frame-tool-menu .full-page-frame{background:var(--surface-raised);color:#f1eadb}[data-theme=dark] .logo-icon{color:#17191e}[data-theme=dark] .logo-menu-toggle,[data-theme=dark] .menu-dismiss{background:transparent;border:0;box-shadow:none}[data-theme=dark] .project-menu button{color:#f1eadb;background:var(--surface-raised)}[data-theme=dark] .project-menu button{color:#20211f}[data-theme=dark] .project-menu button:first-child{background:#fff16b}[data-theme=dark] .project-menu button:last-child{background:#b5a0e5}.video-workspace .stage{background:#f8f5eb}[data-theme=dark] .video-workspace .stage{background:#1b1917}html[data-theme=dark] body button{color:#20211f}html[data-theme=dark] body button svg{color:inherit}.timeline .tracks{isolation:isolate;z-index:0;overflow:hidden}.timeline .track-labels{z-index:5}html[data-theme=dark] .history-controls button,html[data-theme=dark] .prep-frame .frame-reorder,html[data-theme=dark] .prep-frame .bubble-reorder,html[data-theme=dark] .play-controls button[aria-label=Restart],html[data-theme=dark] .video-workspace .aspect-switch button,html[data-theme=dark] .video-workspace .motion-grid button{background:#fffdf6;color:#20211f}html[data-theme=dark] .video-workspace .aspect-switch button.active,html[data-theme=dark] .video-workspace .motion-grid button.chosen{background:var(--mode-accent);color:#20211f}html[data-theme=dark] .clip-duration-handle{background:#fffdf6b3}html[data-theme=dark] .clip-duration-handle:after{background:#20211f}html[data-theme=dark] .preview-zoom-toolbar button{background:#fffdf6;color:#20211f}html body header .header-actions .theme-toggle,html[data-theme=dark] body header .header-actions .theme-toggle{background:var(--purple);color:#20211f}.export-dialog{width:min(390px,calc(100vw - 24px));padding:20px}.export-dialog h2{font-size:22px;margin:0 0 18px}.export-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:16px}.export-dialog .export-options label{margin:0;font-size:11px}.export-options select{width:100%;min-width:0;padding:7px 5px;font-size:11px}.export-dialog .close{width:30px;height:30px;padding:0;top:15px;right:15px}.export-dialog .wide{min-height:38px;padding:8px}.page-selection-summary{padding:12px 4px;color:var(--muted, #777168);font-size:12px;line-height:1.5}html body .project-save-button,html[data-theme=dark] body .project-save-button{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;min-width:24px;padding:0;flex-shrink:0;background:var(--purple);color:#20211f}@media(max-width:780px){html body .project-save-button{width:19px;height:19px;min-width:19px}.project-save-button svg{width:12px;height:12px}}.import-progress-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}html[data-theme=dark] .project-picker{background:var(--surface);color:#f1eadb;border-color:var(--line)}html[data-theme=dark] .project-picker .saved-project-open{background:#fffdf6;color:#20211f}html[data-theme=dark] .project-picker .project-rename,html[data-theme=dark] .project-picker .project-confirm{background:var(--purple);color:#20211f}html[data-theme=dark] .project-picker-heading button{background:#ffb5ad;color:#20211f}.prep-workspace .inspector-inner>.workshop-page-title{border-bottom:0}.workshop-frame-actions>.text-add-control{border-bottom:0;padding-bottom:8px}.workshop-frame-actions .frame-analysis-actions{padding:0;border-bottom:0}.project-page-actions{grid-template-columns:minmax(0,1fr);padding:0 8px 10px;margin-top:0;flex-shrink:0}.project-page-actions button{min-height:36px;font-size:11px;padding:6px}html .project-page-actions .analyze-all-button{background:var(--yellow);color:#20211f}html[data-theme=dark] .library-divider,html[data-theme=dark] .resize-handle{background:#62594f}html[data-theme=dark] header,html[data-theme=dark] .timeline,html[data-theme=dark] .workshop-frame-actions,html[data-theme=dark] .pages-header,html[data-theme=dark] .settings-divider,html[data-theme=dark] .help-shortcuts{border-color:#62594f}.workshop-frame-actions>.text-add-control{padding-bottom:12px;margin-bottom:12px;border-bottom:1.5px solid var(--ink)}[data-theme=dark] .workshop-frame-actions>.text-add-control{border-bottom-color:#62594f}.project-page-actions button{white-space:nowrap;font-size:10px;padding:6px 4px;gap:4px}.project-page-actions button svg{width:13px;height:13px;flex-shrink:0}.project-page-actions{padding-top:10px}.prep-workspace .pages-header strong{font-size:14px}.prep-workspace .pages-header strong span{font-size:12px}.prep-workspace .pages-header strong{font-size:18px}.prep-workspace .pages-header strong span{font-size:14px}.prep-workspace .page-list{grid-template-columns:minmax(0,1fr)}.frame-preview-target{stroke:var(--panel-color)}.page-view-layer[data-tool=select] .frame-preview-target:hover,.frame-preview-target.list-hovered{stroke:var(--panel-color);fill:color-mix(in srgb,var(--panel-color) 10%,transparent)}.prep-frame{border-left:4px solid var(--panel-color)}html[data-theme=dark] .prep-frame{border-left-color:var(--panel-color)}.prep-frame .frame-select .panel-color-dot{flex:0 0 10px;width:10px;height:10px;border-radius:50%;background:var(--panel-color);border:1px solid #20211f}.frame-corner-handle{cursor:move;touch-action:none}.frame-corner-handle:hover{stroke:#fffdf6;stroke-width:3}.motion-category{margin-top:12px}.motion-category-heading{margin:0 0 8px;font-size:11px;font-weight:600;color:var(--text)}.video-workspace .motion-none-row{display:block;margin-top:16px}.video-workspace .motion-none-row button{width:100%;height:36px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px}.timeline .panel-track{gap:4px;align-items:stretch}.timeline-page-block{display:flex;flex-direction:column;min-width:0;border:1px solid var(--ink);border-radius:5px;padding:3px;background:var(--cream);overflow:hidden}.timeline-page-block>header{height:23px;flex-shrink:0;padding:3px 5px;font-size:11px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.timeline-page-clips{display:flex;gap:2px;flex:1;min-height:0}.timeline-page-clips .panel-clip{flex-basis:0}html[data-theme=dark] .timeline-page-block{background:#25221f;border-color:#665e54}.panel-animation-controls{border:0;margin:0;padding:0;min-width:0}.panel-animation-controls:disabled{opacity:.45}.panel-animation-controls:disabled button{cursor:not-allowed}.timeline .timeline-page-block{background:#dcecf9;border-color:#79a8ca}.timeline .timeline-page-block>header{color:#203e56}html[data-theme=dark] .timeline .timeline-page-block{background:#243747;border-color:#608bad}html[data-theme=dark] .timeline .timeline-page-block>header{color:#dcecf9}.timeline .timeline-page-block{background:#8dbde6;border-color:var(--ink);padding:5px}.timeline .timeline-page-block>header{color:#20211f}html[data-theme=dark] .timeline .timeline-page-block{background:#8dbde6;border-color:#20211f}html[data-theme=dark] .timeline .timeline-page-block>header{color:#20211f}.settings-section{border-bottom:1px solid var(--ink);padding:0 0 12px;margin-bottom:12px}.settings-section>summary{display:flex;align-items:center;gap:8px;padding:8px 0;cursor:pointer;list-style:none;font-size:12px;font-weight:700}.settings-section>summary::-webkit-details-marker{display:none}.settings-section>summary span{flex:1}.settings-section>summary>svg:last-child{transition:transform .15s}.settings-section:not([open])>summary>svg:last-child{transform:rotate(-90deg)}.settings-section>summary:focus-visible{outline:2px solid var(--teal);outline-offset:3px;border-radius:3px}.settings-section .panel-crop-section{border:0;padding-top:0}html[data-theme=dark] .settings-section{border-color:#665e54}.timeline .timeline-page-block,html[data-theme=dark] .timeline .timeline-page-block{background-color:#8dbde6;background-image:none;padding:8px 8px 20px;border:1.5px solid #20211f}.timeline .timeline-page-block>header{background:transparent;height:28px;padding:3px 2px 8px}.timeline .timeline-page-clips{background:transparent;gap:4px}.timeline .timeline-page-block,html[data-theme=dark] .timeline .timeline-page-block{padding-bottom:5px}.timeline .timeline-page-clips{flex:1;align-items:stretch}.timeline-page-block>header{cursor:grab;touch-action:none}.timeline-page-block.page-drop-before{box-shadow:-4px 0 #2587c8}.timeline-page-block.page-drop-after{box-shadow:4px 0 #2587c8}.settings-section[data-disabled=true]{opacity:.4}.settings-section[data-disabled=true]>summary{cursor:not-allowed}.settings-section[data-disabled=true] .panel-animation-controls:disabled{opacity:1}.timeline .timeline-page-block>header,html[data-theme=dark] .timeline .timeline-page-block>header{border:0;box-shadow:none}.timeline .timeline-page-block,html[data-theme=dark] .timeline .timeline-page-block{background-color:var(--teal)}.settings-section.transition-section{border-bottom:0}.timeline .timeline-page-block{transition:box-shadow .12s ease,opacity .12s ease}.timeline .timeline-page-block:hover{box-shadow:inset 0 0 0 1px #20211f,2px 2px #20211f}.timeline .timeline-page-block:has(>header:focus-visible){outline:2px solid #20211f;outline-offset:-3px}.timeline .timeline-page-block.page-pressed{box-shadow:inset 0 0 0 2px #20211f}.timeline .timeline-page-block.page-dragging{opacity:.5;box-shadow:inset 0 0 0 2px #20211f}.timeline-page-block.page-dragging>header{cursor:grabbing}.timeline .timeline-page-block.page-drop-before{box-shadow:-4px 0 #20211f}.timeline .timeline-page-block.page-drop-after{box-shadow:4px 0 #20211f}.timeline .timeline-page-block>header{height:20px;min-height:0;padding:0 2px 4px;line-height:16px}.timeline .timeline-page-block,html[data-theme=dark] .timeline .timeline-page-block{padding-top:4px}.help-button.help-discover{animation:help-invite 1.8s ease-in-out infinite}@keyframes help-invite{0%,to{box-shadow:2px 2px 0 var(--ink),0 0 #b5a0df00}50%{box-shadow:2px 2px 0 var(--ink),0 0 0 7px #b5a0df66}}.help-intro{margin:12px 0 18px!important;font-size:14px!important}.help-quickstart{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.help-quickstart section{border:1px solid var(--ink);border-radius:6px;padding:14px}.help-quickstart section>span{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--purple, #b5a0df);color:#20211f;font-weight:700}.help-quickstart h3{font-size:15px;margin:10px 0 6px}.help-quickstart p{font-size:13px}.help-topics details{border-top:1px solid #8886}.help-topics summary,.help-shortcut-details summary{display:flex;align-items:center;gap:10px;padding:16px 0;cursor:pointer;font-size:14px;font-weight:700;list-style:none}.help-topics summary::-webkit-details-marker,.help-shortcut-details summary::-webkit-details-marker{display:none}.help-topics summary svg:last-child,.help-shortcut-details summary svg:last-child{margin-left:auto;transition:transform .15s}.help-topics details[open] summary svg:last-child,.help-shortcut-details[open] summary svg:last-child{transform:rotate(180deg)}.help-topics ul{padding-left:22px;margin:0 0 18px}.help-topics li{font-size:14px;line-height:1.65;margin:10px 0}.help-shortcuts>a{display:inline-block;font-size:12px;margin:4px 0}@media(max-width:480px){.help-quickstart{grid-template-columns:1fr}.help-quickstart section{padding:12px}}@media(prefers-reduced-motion:reduce){.help-button.help-discover{animation:none;outline:3px solid #b5a0df;outline-offset:3px}}header .header-actions .help-button.help-discover{overflow:visible;animation:help-beacon 1.6s ease-in-out infinite}header .header-actions .help-button.help-discover>svg{animation:help-wave 1.6s ease-in-out infinite;transform-origin:center}@keyframes help-beacon{0%,to{outline:2px solid #b5a0df00;outline-offset:0}45%{outline:3px solid #b5a0df;outline-offset:5px}}@keyframes help-wave{0%,to{transform:scale(1) rotate(0)}35%{transform:scale(1.25) rotate(-12deg)}55%{transform:scale(1.25) rotate(12deg)}}@media(prefers-reduced-motion:reduce){header .header-actions .help-button.help-discover,header .header-actions .help-button.help-discover>svg{animation:none}header .header-actions .help-button.help-discover{outline:3px solid #b5a0df;outline-offset:3px}}
