/* Cappa Studio: warm paper, quiet controls, and space for the work. */
:root{color-scheme:light;--bg:#faf9f6;--bg-2:#f3f2ee;--surface:#fff;--surface-2:#f1f0ec;--line:#e4e3de;--text:#252522;--muted:#70706a;--faint:#777770;--fill:#262623;--ink:#fff;--cue:#343430;--cue-soft:#e8e7e1;--danger:#b73535;--font-ui:"InstrumentSans[wdth,wght]",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--space-xs:8px;--space-sm:12px;--space-md:20px;--space-lg:32px;--space-xl:56px;--layer-dropdown:10;--layer-modal:40;--layer-toast:50}
html,body,.app{background:var(--bg);color:var(--text)}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{transition:background .16s,color .16s,border-color .16s,transform .16s}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #4f7164;outline-offset:4px}a{color:inherit}button[hidden],a[hidden],[hidden]{display:none!important}
.app:is([data-route="welcome"],.cappa-ui-route-welcome){height:auto;min-height:100dvh;overflow:auto;background:var(--bg)}
.app:is([data-route="welcome"],.cappa-ui-route-welcome) .welcome,.app:is([data-route="welcome"],.cappa-ui-route-welcome) .welcome.has-recents{max-width:1440px;width:100%;min-height:100dvh;height:auto;display:flex;flex-direction:column;padding:0 clamp(24px,5vw,80px);margin:auto;background:var(--bg);box-shadow:none;gap:0;overflow:visible}
.welcome-header,.welcome.has-recents .welcome-header{height:104px;min-height:104px;position:static;display:flex;align-items:center;padding:0;gap:24px;order:initial;border-bottom:1px solid var(--line)}
.studio-brand{display:flex;align-items:center;gap:10px;text-decoration:none}.studio-brand>svg{width:30px;height:32px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.welcome-header h1{ text-shadow:none;display:flex;align-items:baseline;gap:9px;font-size:25px;letter-spacing:-1px;font-weight:650}.welcome-header h1 span{color:var(--muted);font-weight:400;font-size:18px;letter-spacing:-.5px}.welcome-header nav{margin-left:auto;display:flex;align-items:center;gap:24px}.welcome-header .app-link,.welcome.has-recents .app-link{margin:0;width:auto;min-width:0;border:0;border-radius:0;padding:10px 0;color:var(--muted);font-size:13px;font-weight:500;text-decoration:none}.subtle-button{padding:10px 17px;border:1px solid var(--line);border-radius:999px;font-size:13px;font-weight:550;background:transparent}.subtle-button:hover{background:#efeee8}.welcome .settings-button,.welcome.has-recents .settings-button{border:0;background:none;color:var(--muted);width:36px;height:36px;border-radius:50%;display:grid;place-items:center}.settings-button svg{width:19px;height:19px;fill:currentColor}
.studio-home{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);column-gap:clamp(40px,8vw,128px);row-gap:0;padding-top:72px;align-items:center;width:100%;max-width:1160px;margin:auto}.studio-intro{padding:16px 0 24px}.studio-eyebrow{display:flex;align-items:center;gap:9px;font-size:12px;letter-spacing:.01em;color:var(--muted)}.status-dot{height:6px;width:6px;border-radius:50%;background:#6b8476}.studio-intro h2{font-size:clamp(48px,5.7vw,80px);font-weight:500;letter-spacing:-.065em;line-height:1.04;margin:28px 0 24px}.studio-intro>p{font-size:17px;line-height:1.6;color:var(--muted);letter-spacing:-.2px;margin:0 0 32px}
.welcome .welcome-add,.welcome.has-recents .welcome-add{display:flex;align-items:center;justify-content:flex-start;flex-direction:row;gap:16px;width:min(100%,410px);height:auto;min-height:88px;padding:18px 20px;margin:0;border:1px solid #d5d4cc;border-radius:18px;background:#fff;color:var(--text);box-shadow:0 3px 8px #25252203;font-size:16px;outline-offset:5px;order:initial;flex:none}.welcome-add:hover{border-color:#8c8c80;background:#fdfdfa;transform:translateY(-2px)}.welcome .welcome-add .upload-icon,.welcome.has-recents .welcome-add .upload-icon{width:42px;height:42px;flex:none;display:grid;place-items:center;background:#efeee8;border:0;border-radius:12px;color:#343430}.upload-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.welcome-add .upload-copy{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.welcome .welcome-add strong,.welcome.has-recents .welcome-add strong{font-size:16px;font-weight:550;letter-spacing:-.3px}.upload-copy small{font-size:12px;color:var(--muted);font-weight:400}.welcome .welcome-add .upload-arrow{margin-left:auto;font-size:23px;font-weight:400}.studio-intro>.studio-free-note{font-size:11px;margin:12px 0 0;color:var(--faint);line-height:1.5}
.studio-example{justify-self:center;width:min(100%,320px);transform:rotate(2deg);padding:0 0 8px}.example-video{position:relative;aspect-ratio:3/4.15;overflow:hidden;background:#e7e5df;border-radius:22px}.example-video img{width:100%;height:100%;object-fit:cover;object-position:center 40%;filter:saturate(.65)}.example-video:after{content:"";position:absolute;inset:0;background:linear-gradient(#0003,transparent 28%,transparent 65%,#0004);pointer-events:none}.example-label{position:absolute;z-index:1;top:18px;left:18px;font-size:10px;background:#fffdf6e8;padding:8px 11px;border-radius:99px;display:flex;align-items:center;gap:6px}.example-label>span{width:5px;height:5px;border-radius:50%;background:#6b8476}.example-caption{position:absolute;top:58%;left:0;right:0;z-index:1;text-align:center;font-family:"Nunito-Black",sans-serif;font-size:30px;font-weight:900;color:#fff;letter-spacing:-1px;text-shadow:0 1px 4px #0005;white-space:nowrap}.example-caption span{color:#262623;background:#f2f0b7;border-radius:7px;padding:0 7px 3px;text-shadow:none}.example-time{position:absolute;bottom:14px;right:18px;color:#fff;z-index:1;font-size:10px;font-variant-numeric:tabular-nums}.example-foot{display:flex;flex-direction:column;gap:6px;padding:15px 5px 0;font-size:12px;color:var(--text)}.example-foot>span+span{color:var(--muted);font-size:10px}.studio-details{grid-column:1/-1;display:flex;gap:48px;border-top:1px solid var(--line);padding:24px 0;margin-top:64px;font-size:12px;color:var(--muted)}.studio-details b{margin-right:10px;font-size:10px;font-weight:400;color:var(--faint)}
.welcome .recent,.welcome.has-recents .recent{grid-column:1/-1;position:static;order:initial;max-height:none;overflow:visible;margin:24px 0 40px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%}.welcome .recent h3,.welcome.has-recents .recent h3{grid-column:1/-1;font-size:17px;letter-spacing:-.4px;text-transform:none;font-weight:500;margin:0 0 10px}.welcome .recent-item,.welcome.has-recents .recent-item{display:flex;align-items:center;gap:14px;width:100%;border:1px solid var(--line);border-radius:14px;background:transparent;min-height:86px;padding:12px;text-align:left}.welcome .recent-item:hover{background:#eeede7;border-color:#cbcabe}.recent-thumb{width:42px;height:58px;border-radius:6px;background:#e5e4de;object-fit:cover}.recent-item>div{flex:1;min-width:0}.welcome .recent-item b,.welcome.has-recents .recent-item b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500}.recent-item>div>span{display:block;font-size:11px;color:var(--muted);margin-top:6px}.recent-arrow{font-size:20px;color:var(--muted)}.studio-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;color:var(--faint);font-size:11px;margin-top:24px;padding:28px 0;border-top:1px solid var(--line)}.studio-footer>div{display:flex;gap:24px}.studio-footer a{text-decoration:none}.welcome-settings-panel{position:absolute;right:clamp(24px,5vw,80px);top:86px;left:auto;bottom:auto;z-index:var(--layer-dropdown);width:min(320px,calc(100vw - 40px));padding:24px;background:#fff;border:1px solid var(--line);box-shadow:0 12px 48px #25252214;border-radius:18px;color:var(--text)}.welcome-settings-panel p{font-size:13px;line-height:1.6;color:var(--muted)}
/* Editing workspace */
.app:is([data-route="editor"],.cappa-ui-route-editor),.app:is([data-route="editor"],.cappa-ui-route-editor) #screen-editor{background:var(--bg)}.app:is([data-route="editor"],.cappa-ui-route-editor) .editor-top{background:#fff;border-bottom:1px solid var(--line);min-height:72px;height:72px;padding:0 24px;gap:12px}.editor-top #editor-back{border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--text);width:36px;height:36px;flex:none}.editor-top #editor-back svg{width:15px;height:15px;stroke-width:1.8}.editor-top #project-title{display:block;max-width:360px;margin-right:auto;font-size:13px;font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--text)}.editor-top #btn-undo,.editor-top #btn-redo{display:grid;place-items:center;width:36px;height:36px;min-width:36px;background:none;color:var(--text);border-radius:8px;font-size:21px}.editor-top #btn-undo:hover,.editor-top #btn-redo:hover{background:var(--bg-2)}.editor-pro{margin-left:20px;display:flex;align-items:center;gap:6px;border:1px solid var(--line);background:transparent;color:var(--text);height:36px;padding:0 13px;font-weight:500;font-size:12px}.editor-pro svg{width:13px;height:13px}.editor-top .export-btn{height:36px;min-height:36px;border:1px solid #292925;border-radius:99px;padding:0 18px;background:#292925;color:#fff;font-size:12px;font-weight:500}.editor-top .export-btn:hover{background:#494940}
.app:is([data-route="editor"],.cappa-ui-route-editor) .preview-wrap{background:#eeede8;padding:32px!important;transition:none}.app:is([data-route="editor"],.cappa-ui-route-editor) #preview-surface{border:0;outline:0!important;border-radius:16px;box-shadow:0 8px 32px #2525220d}.app:is([data-route="editor"],.cappa-ui-route-editor) #btn-play{height:56px;width:56px;min-width:56px;background:#24242180;backdrop-filter:blur(6px);border:1px solid #ffffff50;box-shadow:none;color:#fff}.app:is([data-route="editor"],.cappa-ui-route-editor) #btn-play svg{height:24px;width:24px}.app:is([data-route="editor"],.cappa-ui-route-editor) #btn-fullscreen{color:white}
.app:is([data-route="editor"],.cappa-ui-route-editor) .sheet{background:#fff;border:0!important;border-left:1px solid var(--line)!important;border-radius:0!important;box-shadow:none}.studio-panel-heading{display:flex;flex-direction:column;gap:6px;padding:28px 24px 20px}.studio-panel-heading>span{font-size:19px;font-weight:500;letter-spacing:-.6px}.studio-panel-heading>small{font-size:11px;color:var(--muted)}.app:is([data-route="editor"],.cappa-ui-route-editor) .sheet-tabs{height:58px;min-height:58px;flex:0 0 58px;padding:0 16px;gap:0;border-bottom:1px solid var(--line);overflow:visible}.app:is([data-route="editor"],.cappa-ui-route-editor) .sheet-tab{height:58px;min-height:58px;border:0;border-radius:0;background:transparent;font-size:10px!important;letter-spacing:0;font-weight:450;text-transform:none;color:var(--muted);gap:7px;padding:5px 2px!important;position:relative}.app:is([data-route="editor"],.cappa-ui-route-editor) .sheet-tab svg{width:17px;height:17px;stroke-width:1.5}.app:is([data-route="editor"],.cappa-ui-route-editor) .sheet-tab.is-active{border:0;background:transparent;color:var(--text);box-shadow:none}.sheet-tab.is-active:after{content:"";position:absolute;bottom:0;height:2px;background:#2c2c27;left:10px;right:10px;border-radius:9px}.app:is([data-route="editor"],.cappa-ui-route-editor) .sheet-body{padding:0 0 max(20px,env(safe-area-inset-bottom));scrollbar-width:thin;scrollbar-color:#dddcd5 transparent}.release-filter-bar{background:#fff;padding:18px 16px 16px;gap:10px}.release-filter-bar #style-search-toggle{height:30px;width:30px;flex-basis:30px;background:#f0efeb;color:var(--text)}.release-filter-bar #style-categories{gap:4px}.release-filter-bar #style-categories button{height:30px;min-height:30px;padding:6px 10px;font-size:11px;color:var(--muted);background:transparent;font-weight:450}.release-filter-bar #style-categories button.is-active{color:var(--text);background:#eeede8;font-weight:500}.release-filter-bar .style-search-wrap{background:#f5f4ef;border:1px solid var(--line);border-radius:8px}.style-search-wrap input{color:var(--text)}.app:is([data-route="editor"],.cappa-ui-route-editor) #preset-row{gap:12px!important;padding:0 16px 24px!important}.app:is([data-route="editor"],.cappa-ui-route-editor) .style-card{height:131px;min-height:131px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:none!important}.app:is([data-route="editor"],.cappa-ui-route-editor) .style-card.is-active{border-color:#2d2d28!important;outline:1px solid #2d2d28!important;outline-offset:0;background:#fff;box-shadow:none!important}.app:is([data-route="editor"],.cappa-ui-route-editor) .style-card-preview{flex-basis:94px;height:94px;min-height:94px;border-radius:10px 10px 0 0;background:#252523!important}.app:is([data-route="editor"],.cappa-ui-route-editor) .style-card-preview:after{display:none}.app:is([data-route="editor"],.cappa-ui-route-editor) .style-card-preview img{padding:8px 10px}.app:is([data-route="editor"],.cappa-ui-route-editor) .style-card-name{padding:10px 12px 8px;color:var(--text);font-size:12px;line-height:16px;font-weight:500}.app:is([data-route="editor"],.cappa-ui-route-editor) .style-card.is-active .style-card-name:after{content:"✓";float:right;font-size:11px}.release-custom-color{border-color:#6b8476;color:#6b8476}.color-lanes{gap:20px;padding:28px 16px}.color-lanes button{font-size:10px;font-weight:500;color:var(--muted)}.color-lanes .is-active{color:var(--text)}.swatch.is-active:after{border-color:#3b3b34}.slider,.word-playback-controls input{accent-color:#47473e}.release-size-row>span:first-child{color:var(--muted)}.fit-row{font-size:14px}.fit-row input{background:#dddcd5}.fit-row input:checked{background:#4f6555}.fit-row input:checked:after{background:#fff}
.caption-row{color:var(--text);border-bottom:1px solid var(--line);padding:14px 10px;border-radius:8px;font-size:13px}.caption-row.is-selected{background:#f0efe9}.caption-number,.caption-time{color:var(--muted)}#cue-text{background:#faf9f6;border:1px solid #d8d7cf;color:var(--text);border-radius:10px;font-size:14px;line-height:1.6;padding:12px}.btn-ghost,.zoom-btn,.timeline-actions button{background:#f4f3ee;color:var(--text);border:1px solid var(--line);border-radius:9px;box-shadow:none}.btn-fill{background:#2d2d28;color:#fff;border:1px solid #2d2d28;border-radius:99px;box-shadow:none}.btn-fill:hover{background:#44443c}.field-label,.lede{color:var(--muted)}.field-label{font-size:12px}.cue-block{color:#34342e;background:#e7e6de;border-color:#d5d4c9}.cue-block.is-selected{background:#d7dccf;border-color:#7c8b70}.cue-block .handle,.cue-handle::after{background:#929d86}#playhead{background:#5d7053}#timeline{background:#f6f5f0;border:1px solid var(--line);border-radius:10px}.word-playback-controls button{background:#f0efe9;border:1px solid #deddd4;color:var(--text)}.word-playback-controls output{color:var(--text)}.word-timing-heading span,.word-timing-hint{color:var(--muted)}.word-timing-row{border-color:var(--line)}.word-timing-row button{background:#f3f2ec;color:var(--text);font-size:12px}.word-timing-row input{background:#fff;color:var(--text);border:1px solid #d8d7cf;border-radius:8px;font-size:12px}.word-timing-row.is-speaking button{background:#414e3b;color:#fff}.move-caption-row span{color:var(--muted)}
.stack-page{background:var(--bg);width:min(100%,560px);align-self:center;padding:36px 28px;min-height:100dvh;gap:16px}.stack-page .page-title{font-size:40px;line-height:1.1;font-weight:500;letter-spacing:-1.8px}.stack-page .icon-btn,.flow-top .icon-btn{background:#eeede8;border:1px solid var(--line);color:var(--text);border-radius:50%;width:40px;height:40px}.flow-title{font-size:20px;font-weight:500}.flow-sub{color:var(--muted);font-size:12px}.language-options{background:#fff;border:1px solid var(--line);border-radius:16px}.select-field{background:#f8f7f2;color:var(--text);border-color:var(--line);border-radius:10px;font-size:14px}#screen-languageSetup .toggle-row{border-color:var(--line)}#trim-continue,#language-continue{background:#2d2d28;color:#fff;border:1px solid #2d2d28;border-radius:99px;min-height:48px;font-size:14px}#trim-video{border-radius:16px;max-height:52vh;background:#222;object-fit:contain}.progress-track{background:#e7e6df;height:5px}.progress-bar{background:#606d55}.process-detail{color:var(--muted);font-size:14px;line-height:1.6}#screen-export{justify-content:center;gap:20px}#screen-export #export-back{position:absolute;top:28px}#screen-export .page-title{margin:0}#screen-export .btn{min-height:46px;text-decoration:none}#screen-export .text-link{color:var(--muted);font-size:12px}.app-update{background:#eceee5;color:#2d2d28;border-color:#d0d7c5}.app-update button{color:inherit}
/* A single, clear plan before export. */
.billing-dialog{width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 32px);border:1px solid #e1e0d8;border-radius:24px;padding:0;background:#fff;color:var(--text);box-shadow:0 24px 100px #0002;overflow:auto;font-family:var(--font-ui)}.billing-dialog::backdrop{background:#22221c55;backdrop-filter:blur(5px)}.billing-inner{padding:36px;position:relative}.billing-close{position:absolute;right:18px;top:16px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;font-size:23px;font-weight:300;color:var(--muted)}.billing-close:hover{background:#efeee8}.billing-kicker{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:500;margin-bottom:28px}.billing-kicker svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6}.billing-dialog h2{font-size:32px;font-weight:500;letter-spacing:-1.3px;line-height:1.12;margin:0 0 12px}.billing-lede{font-size:13px;line-height:1.6;color:var(--muted);margin:0 0 28px}.billing-price{display:flex;align-items:baseline;gap:8px;margin-bottom:6px}.billing-price strong{font-size:46px;letter-spacing:-2.5px;font-weight:500}.billing-price span{font-size:13px;color:var(--muted)}.billing-region{font-size:11px;color:var(--faint);margin:0 0 24px}.billing-features{list-style:none;padding:22px 0;margin:0 0 24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:14px;font-size:13px}.billing-features li{display:flex;align-items:center;gap:10px}.billing-features li:before{content:"✓";font-size:12px;color:#596e50}.billing-primary{width:100%;min-height:48px;border-radius:99px;background:#2d2d28;color:#fff;font-size:13px;font-weight:500;padding:12px 16px}.billing-primary:hover{background:#48483e}.billing-primary:disabled{opacity:.55}.billing-note{font-size:10px;line-height:1.6;color:var(--faint);text-align:center;margin:12px 0 20px}.billing-note a{color:inherit}.billing-secondary{display:block;min-height:40px;margin:0 auto;font-size:12px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}.billing-status{font-size:12px;line-height:1.6;background:#f3f2ec;padding:12px;border-radius:10px;margin:14px 0;color:#505047}.billing-status:empty{display:none}.billing-status[data-error="true"]{background:#faf0ed;color:#923c2f}.billing-restore{border-top:1px solid var(--line);padding-top:18px;font-size:12px;margin-top:8px}.billing-restore summary{color:var(--muted);cursor:pointer;min-height:32px}.billing-restore label{display:block;color:var(--muted);font-size:11px;line-height:1.5;margin:8px 0}.billing-restore textarea{width:100%;min-height:68px;max-height:100px;border:1px solid var(--line);background:var(--bg);border-radius:10px;padding:10px;font-size:11px;resize:vertical}.billing-restore button{font-size:12px;margin-top:10px;padding:10px 14px;border-radius:99px;border:1px solid var(--line)}.billing-member{padding:18px;border-radius:14px;background:#eef1e8;margin:20px 0}.billing-member strong{font-size:14px;font-weight:500}.billing-member p{font-size:12px;line-height:1.6;color:var(--muted);margin:7px 0 0}.billing-member-actions{display:flex;flex-direction:column;gap:12px}.billing-member-actions button{padding:12px;border:1px solid var(--line);border-radius:99px;font-size:12px}.billing-cancel-confirm{font-size:12px;padding:14px;background:var(--bg);border-radius:10px;line-height:1.6}.billing-cancel-confirm button{margin-top:12px;margin-right:12px;text-decoration:underline}.studio-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:var(--layer-toast);max-width:calc(100vw - 32px);padding:12px 20px;background:#303029;color:#fff;border-radius:99px;font-size:12px;box-shadow:0 8px 30px #0002}
@media(min-width:768px){.app:is([data-route="editor"],.cappa-ui-route-editor) #screen-editor{grid-template-columns:minmax(0,1fr) 400px;grid-template-rows:72px minmax(0,1fr)}.app:is([data-route="editor"],.cappa-ui-route-editor) .sheet{grid-row:2}.app:is([data-route="editor"],.cappa-ui-route-editor) .preview-wrap{grid-row:2;height:100%!important}.app:is([data-route="editor"],.cappa-ui-route-editor) .editor-top{grid-row:1}}
@media(min-width:1500px){.app:is([data-route="editor"],.cappa-ui-route-editor) #screen-editor{grid-template-columns:minmax(0,1fr) 440px}.app:is([data-route="editor"],.cappa-ui-route-editor) .preview-wrap{padding:48px!important}}
@media(max-width:767px){.app:is([data-route="welcome"],.cappa-ui-route-welcome) .welcome,.app:is([data-route="welcome"],.cappa-ui-route-welcome) .welcome.has-recents{padding:0 24px}.welcome-header,.welcome.has-recents .welcome-header{height:78px;min-height:78px;gap:12px}.welcome-header h1{font-size:22px}.welcome-header h1 span{font-size:15px}.studio-brand{gap:7px}.studio-brand>svg{width:24px}.welcome-header nav{gap:8px}.welcome-header .app-link{display:none}.subtle-button{padding:9px 12px;font-size:11px}.welcome .settings-button{height:32px;width:28px}.studio-home{grid-template-columns:1fr;padding-top:40px;margin:0;gap:0}.studio-intro{padding:0}.studio-eyebrow{font-size:10px}.studio-intro h2{font-size:clamp(44px,12vw,52px);margin:24px 0 20px;letter-spacing:-3.3px;line-height:1.02}.studio-intro>p{font-size:14px;line-height:1.6;margin-bottom:24px}.welcome .welcome-add,.welcome.has-recents .welcome-add{width:100%;min-height:80px;padding:16px;gap:14px;border-radius:16px}.welcome .welcome-add strong{font-size:14px}.studio-intro>.studio-free-note{font-size:10px;margin-top:12px}.studio-example{width:100%;padding:0;transform:none;margin-top:32px}.example-video{aspect-ratio:auto;height:216px;border-radius:16px}.example-video img{object-position:center 39%}.example-caption{top:54%;font-size:32px}.example-label{top:14px;left:14px;font-size:9px}.example-foot{flex-direction:row;justify-content:space-between;padding:13px 0 0;gap:10px;font-size:10px}.example-foot>span+span{font-size:9px}.studio-details{gap:14px;justify-content:space-between;padding:20px 0;margin-top:32px;font-size:10px;line-height:1.6}.studio-details span{flex:1}.studio-details b{display:block;margin:0 0 4px;font-size:9px}.studio-footer{margin-top:12px;padding:22px 0;font-size:10px;gap:12px}.studio-footer>div{gap:14px}.welcome .recent,.welcome.has-recents .recent{display:flex;flex-direction:column;gap:10px;margin:24px 0}.welcome .recent h3{font-size:17px;margin-bottom:8px}.welcome-settings-panel{top:66px;right:20px}.app:is([data-route="editor"],.cappa-ui-route-editor) .editor-top{height:60px;min-height:60px;flex-basis:60px;padding:0 12px;gap:8px}.editor-top #project-title{font-size:11px;max-width:120px}.editor-top #btn-undo,.editor-top #btn-redo{display:none}.editor-pro{margin-left:auto;font-size:10px;height:32px;padding:0 10px;white-space:nowrap}.editor-pro svg{width:11px;height:11px}.editor-top .export-btn{height:32px;min-height:32px;padding:0 13px;font-size:11px}.editor-top #editor-back{width:32px;height:32px}.app:is([data-route="editor"],.cappa-ui-route-editor) .preview-wrap{padding:16px!important;flex:0 0 clamp(220px,36dvh,340px)!important;height:clamp(220px,36dvh,340px)!important}.app:is([data-route="editor"],.cappa-ui-route-editor) #preview-surface{border-radius:12px}.app:is([data-route="editor"],.cappa-ui-route-editor) .sheet{border-left:0!important;border-top:1px solid var(--line)!important;border-radius:18px 18px 0 0!important}.studio-panel-heading{display:none}.app:is([data-route="editor"],.cappa-ui-route-editor) .sheet-tabs{min-height:56px;height:56px;flex-basis:56px;padding:0 10px}.app:is([data-route="editor"],.cappa-ui-route-editor) .sheet-tab{height:56px;min-height:56px;font-size:10px!important}.app:is([data-route="editor"],.cappa-ui-route-editor) .sheet-tab svg{height:16px;width:16px}.app:is([data-editor-tab="timeline"],.cappa-ui-editor-tab-timeline) .preview-wrap,.app:is([data-editor-tab="edit"],.cappa-ui-editor-tab-edit) .preview-wrap{height:clamp(155px,27dvh,230px)!important;flex-basis:clamp(155px,27dvh,230px)!important}.release-filter-bar{padding-top:14px;padding-bottom:14px}.release-filter-bar #style-categories{gap:2px}.release-filter-bar #style-categories button{padding:6px 11px;font-size:11px}.app:is([data-route="editor"],.cappa-ui-route-editor) .style-card{height:123px;min-height:123px}.app:is([data-route="editor"],.cappa-ui-route-editor) .style-card-preview{height:86px;min-height:86px;flex-basis:86px}.word-timing-row{grid-template-columns:minmax(64px,1fr) 72px 72px}.word-timing-row input{width:100%;min-height:38px}.stack-page{padding:28px 24px}.stack-page .page-title{font-size:34px}.billing-inner{padding:32px 26px 24px}.billing-dialog h2{font-size:30px}.billing-price strong{font-size:44px}.billing-features{padding:20px 0;margin-bottom:20px}.billing-kicker{margin-bottom:24px}}
@media(max-width:370px){.app:is([data-route="welcome"],.cappa-ui-route-welcome) .welcome{padding:0 20px}.studio-intro h2{font-size:44px}.editor-top #project-title{max-width:80px}.word-timing-row{grid-template-columns:minmax(56px,1fr) 65px 65px;gap:6px}.release-filter-bar #style-categories button{padding:6px 8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Review 1: remove repeated slogans and keep a single visual example. */
.example-foot{display:block;padding:14px 0 0;font-size:12px;color:var(--muted)}.studio-footer{justify-content:flex-end}.studio-intro>.studio-free-note{font-size:12px}
/* Review 2: common edges, quieter typography, and an upright preview. */
.app:is([data-route="welcome"],.cappa-ui-route-welcome) .welcome,.app:is([data-route="welcome"],.cappa-ui-route-welcome) .welcome.has-recents{max-width:1280px;padding-inline:clamp(24px,4vw,56px)}
.welcome-header,.welcome.has-recents .welcome-header{height:88px;min-height:88px}
.studio-home{flex:1;max-width:none;grid-template-columns:minmax(0,1fr) 320px;column-gap:clamp(48px,7vw,96px);align-items:start;align-content:center;padding:64px 0;margin:0}
.studio-intro{padding:0}.studio-intro h2{font-size:clamp(48px,5vw,68px);line-height:1.08;letter-spacing:-.04em;font-weight:450;margin:0 0 24px}.studio-intro>p{font-size:16px;line-height:1.5;margin:0 0 32px}.studio-example{transform:none;width:320px;padding:0}.example-video{border-radius:20px}.studio-footer{margin-top:auto;padding:24px 0;font-size:12px}.studio-intro>.studio-free-note{font-size:12px;margin-top:14px}
@media(max-width:767px){.app:is([data-route="welcome"],.cappa-ui-route-welcome) .welcome,.app:is([data-route="welcome"],.cappa-ui-route-welcome) .welcome.has-recents{padding-inline:24px}.welcome-header,.welcome.has-recents .welcome-header{height:76px;min-height:76px}.studio-home{flex:0 0 auto;grid-template-columns:1fr;padding:36px 0 28px;align-content:start}.studio-intro h2{font-size:clamp(42px,10.8vw,48px);line-height:1.08;letter-spacing:-.045em;font-weight:450;margin:0 0 20px}.studio-intro>p{font-size:15px;line-height:1.5;margin-bottom:24px}.studio-intro>.studio-free-note{font-size:12px;margin-top:12px}.studio-example{width:100%;margin-top:32px}.example-video{border-radius:16px}.studio-footer{margin-top:auto;padding:20px 0;font-size:12px}.studio-footer>div{gap:20px}.example-foot{padding-top:12px}}
@media(max-width:370px){.app:is([data-route="welcome"],.cappa-ui-route-welcome) .welcome,.app:is([data-route="welcome"],.cappa-ui-route-welcome) .welcome.has-recents{padding-inline:20px}.studio-intro h2{font-size:40px}}
/* Review 3: readable editor labels and consistent control baselines. */
.editor-top #editor-back,.editor-top #btn-undo,.editor-top #btn-redo{width:40px;height:40px;min-width:40px}.editor-top #project-title{flex:1;min-width:0;max-width:none;font-size:13px}.editor-top .editor-pro,.editor-top .export-btn{height:40px;min-height:40px;font-size:12px}.studio-panel-heading{padding:24px 24px 16px}.studio-panel-heading>span{font-size:17px;letter-spacing:-.35px}
.app:is([data-route="editor"],.cappa-ui-route-editor) .sheet-tab{font-size:12px!important;font-weight:450}.release-filter-bar #style-search-toggle{width:36px;height:36px;flex-basis:36px}.release-filter-bar #style-categories button{min-height:36px;height:36px;font-size:12px;padding:8px 11px}.app:is([data-route="editor"],.cappa-ui-route-editor) .style-card-name{font-size:13px;font-weight:450}.color-lanes button{font-size:12px;text-transform:none;font-weight:450}.color-lanes .is-active{font-weight:550}.word-timing-hint,.word-timing-heading span{font-size:12px;line-height:1.5}.word-timing-row input,.word-timing-row button{font-size:13px;min-height:40px}.word-timing-row input{font-variant-numeric:tabular-nums}.word-playback-controls output{font-size:13px}.app:is([data-route="editor"],.cappa-ui-route-editor) .restore-media{background:#fff;color:#252522;border:1px solid #d6d5cc;box-shadow:0 4px 18px #25252212;border-radius:12px;top:auto;bottom:16px;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);min-height:44px;line-height:1.5;padding:10px 16px;font-size:12px}
@media(max-width:767px){.app:is([data-route="editor"],.cappa-ui-route-editor) .editor-top{height:64px;min-height:64px;flex-basis:64px;gap:8px}.editor-top #project-title{max-width:none;font-size:12px}.editor-top .editor-pro{font-size:11px;padding-inline:12px}.editor-top .export-btn{font-size:12px;padding-inline:16px}.app:is([data-route="editor"],.cappa-ui-route-editor) .sheet-tab{font-size:11px!important}.release-filter-bar{padding:12px 16px}.release-filter-bar #style-search-toggle{width:40px;height:40px;flex-basis:40px}.release-filter-bar #style-categories button{height:40px;min-height:40px;font-size:12px;padding:8px 11px}.app:is([data-route="editor"],.cappa-ui-route-editor) .style-card-name{font-size:13px}.studio-panel-heading{display:none}}
/* Review 4: a shorter plan screen with clear price and renewal terms. */
.billing-dialog{width:min(420px,calc(100vw - 32px));border-radius:24px;border-color:#e4e3de;box-shadow:0 20px 80px #0000001c}.billing-inner{padding:32px}.billing-close{width:40px;height:40px;top:12px;right:12px;font-size:23px}.billing-kicker{font-size:13px;margin-bottom:28px}.billing-dialog h2{font-size:30px;font-weight:450;letter-spacing:-.8px;line-height:1.16;margin:0 0 24px}.billing-lede:empty{display:none}.billing-price{margin-bottom:8px;gap:8px}.billing-price strong{font-size:46px;font-weight:450;letter-spacing:-1.5px}.billing-price span{font-size:14px}.billing-region{font-size:12px;margin-bottom:24px}.billing-features{gap:16px;font-size:14px;padding:24px 0;margin-bottom:24px}.billing-note{font-size:12px;line-height:1.5;margin:12px 0 20px}.billing-secondary{font-size:13px;min-height:44px}.billing-status{font-size:13px;line-height:1.5}.billing-restore{font-size:13px;padding-top:16px}.billing-restore summary{min-height:36px;line-height:1.5}.billing-links{display:flex;justify-content:center;gap:20px;margin-top:16px;font-size:12px;color:var(--muted)}.billing-links a{text-decoration:none;line-height:2}.billing-links a:hover{text-decoration:underline}.billing-member p{font-size:13px}.billing-member-actions button{font-size:13px;min-height:44px}.editor-top #project-title{text-align:left;font-weight:450;padding-left:4px}
@media(max-width:767px){.billing-inner{padding:28px 24px 24px}.billing-dialog h2{font-size:28px;font-weight:450;letter-spacing:-.7px}.billing-price strong{font-size:44px}.billing-kicker{margin-bottom:24px}.billing-features{font-size:13px;padding:20px 0;margin-bottom:20px}.billing-note{font-size:11px}.billing-status{font-size:12px}.billing-close{width:40px;height:40px}.billing-dialog{max-height:calc(100dvh - 32px)}}
/* Review 5: returning creators see their work first; setup only shows available choices. */
.studio-intro>p:empty,#language-hint:empty{display:none}.welcome.has-recents .studio-home{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;padding:48px 0;flex:1}.welcome.has-recents .studio-intro h2{font-size:40px;letter-spacing:-1.3px;margin-bottom:28px}.welcome.has-recents .studio-example{display:none}.welcome.has-recents .recent{margin:40px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.welcome.has-recents .recent h3{font-size:17px;font-weight:450;margin-bottom:8px}.billing-close{top:22px;right:20px}#language-back{display:grid;place-items:center;min-height:40px;height:40px;width:40px;min-width:40px;border:1px solid var(--line);border-radius:50%;padding:0;margin:0 0 16px;background:transparent}#language-back svg{width:20px;height:20px}.stack-page .page-title{font-weight:450;letter-spacing:-1px}.flow-title{font-weight:450;letter-spacing:-.4px}#screen-languageSetup .page-title{font-weight:450;letter-spacing:-.8px}.language-options{margin-top:12px}.text-link{color:var(--muted)}
@media(max-width:767px){.welcome.has-recents .studio-home{padding:32px 0}.welcome.has-recents .studio-intro h2{font-size:32px;margin-bottom:24px;letter-spacing:-1px}.welcome.has-recents .recent{display:flex;flex-direction:column;margin-top:32px;gap:12px}.welcome.has-recents .recent-item{min-height:88px}.billing-close{top:18px;right:16px}}
/* Returning-project legacy selectors must not turn text and arrows into icon circles. */
.welcome.has-recents .welcome-add>.upload-copy{width:auto;height:auto;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;background:none;border-radius:0;color:var(--text);font-size:16px;font-weight:400;flex:1;min-width:0}.welcome.has-recents .welcome-add>.upload-arrow{width:auto;height:auto;min-width:0;display:block;border-radius:0;background:none;color:var(--text);font-size:23px;font-weight:400;flex:none}.welcome .recent h3,.welcome.has-recents .recent h3{color:var(--text);text-shadow:none}
.app:is([data-route="welcome"],.cappa-ui-route-welcome):has(.has-recents){background:var(--bg)}.welcome{position:relative}.welcome-settings-panel{right:clamp(24px,4vw,56px)}.studio-panel-heading{padding-left:16px;padding-right:16px}.welcome .settings-button,.welcome.has-recents .settings-button{width:40px;height:40px}.subtle-button{min-height:40px}
@media(max-width:767px){.welcome-settings-panel{right:24px}.welcome .settings-button,.welcome.has-recents .settings-button{width:40px;height:40px}}
/* Final sweep: keep color targets visible and the paused-video control clear of captions. */
.color-lanes{position:sticky;top:0;z-index:2;background:#fff;display:flex;gap:4px;align-items:center;justify-content:stretch;padding:16px 16px 0}.color-lanes button{flex:1;min-height:36px;padding:8px 6px;border-radius:8px;font-size:12px;line-height:1.4}.color-lanes button.is-active{background:#f0efe9;font-weight:500}.release-swatches{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:16px;overflow:visible}.color-custom-row{display:flex;align-items:center;justify-content:space-between;min-height:36px;font-size:12px;color:var(--muted)}.release-custom-color{width:36px;height:36px;min-width:36px;border:1px solid #d8d7cf;color:var(--text);font-size:23px}.app:is([data-route="editor"],.cappa-ui-route-editor) #color-row{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:14px 10px;align-items:center;justify-items:center;flex:none;width:100%;max-height:244px;overflow-y:auto;overflow-x:hidden;padding:12px;border:1px solid var(--line);border-radius:12px;scrollbar-width:thin}.app:is([data-route="editor"],.cappa-ui-route-editor) .swatch{width:28px;height:28px;min-width:28px}.app:is([data-route="editor"],.cappa-ui-route-editor) #btn-play{left:10px;top:auto;bottom:10px;transform:none;width:40px;height:40px;min-width:40px;border-radius:50%;border:1px solid #ffffff55}.app:is([data-route="editor"],.cappa-ui-route-editor) #btn-play svg{width:20px;height:20px;margin-left:2px}.caption-list{max-height:clamp(140px,22dvh,220px)}.action-grid .btn{font-size:13px;font-weight:450;min-height:40px;padding:8px 12px}
@media(max-width:767px){.color-lanes{padding-top:16px}.release-swatches{padding-top:12px}.color-lanes button{font-size:11px;min-height:36px}.app:is([data-route="editor"],.cappa-ui-route-editor) #color-row{max-height:244px}.caption-list{max-height:clamp(140px,22dvh,220px)}}
.app:is([data-route="editor"],.cappa-ui-route-editor) .preview-wrap{position:relative}.app:is([data-route="editor"],.cappa-ui-route-editor) .restore-media{left:50%;top:50%;bottom:auto;transform:translate(-50%,-50%)}.preview-wrap:has(.restore-media:not([hidden])) #btn-play,.preview-wrap:has(.restore-media:not([hidden])) #btn-fullscreen{display:none!important}
/* A browsable product preview and a short, optional first-video setup. */
.studio-home{grid-template-columns:minmax(0,1fr) minmax(360px,440px);column-gap:64px;align-items:center}
.studio-example.style-showcase{width:100%;margin:0;min-width:0}
.showcase-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:18px}.showcase-heading h3{font-size:16px;font-weight:500;letter-spacing:-.3px;margin:0}.showcase-heading>span{font-size:12px;color:var(--muted)}
.showcase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.showcase-style{min-width:0;text-align:left;padding:0;background:transparent;border:0;border-radius:12px;color:var(--text)}.style-sample{display:block;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:12px;background:#292a29}.style-sample.is-light{background:#eae5dc}.style-sample canvas,.style-sample img{display:block;width:100%;height:100%;object-fit:contain}.showcase-style-name{display:flex;justify-content:space-between;align-items:center;font-size:12px;padding:9px 2px 0;line-height:1.4;color:var(--muted)}.style-choice-mark{opacity:0;color:var(--text)}.showcase-style[aria-pressed="true"] .style-choice-mark{opacity:1}.showcase-style[aria-pressed="true"] .style-sample{outline:2px solid #65776c;outline-offset:3px}.showcase-style:hover .style-sample{box-shadow:0 0 0 2px #b5b5aa}.showcase-footer{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-top:20px;min-height:40px}.showcase-footer p{font-size:11px;line-height:1.5;color:var(--muted);margin:0;max-width:220px}.showcase-paging{display:flex;align-items:center;gap:10px;flex:none}.showcase-paging button{width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:transparent;font-size:17px}.showcase-paging span{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.welcome-settings-panel>.text-link{display:block;min-height:40px;font-size:13px}
.onboarding-dialog{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line);border-radius:24px;background:var(--bg);color:var(--text);box-shadow:0 24px 100px #25252224;overflow:auto}.onboarding-dialog::backdrop{background:#25252260;backdrop-filter:blur(5px)}.onboarding-inner{padding:28px 36px 24px}.onboarding-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted);min-height:32px}.onboarding-top button{width:40px;height:40px;display:grid;place-items:center;font-size:25px;line-height:1;background:transparent;border:0;color:var(--muted);border-radius:50%;margin-right:-12px}.onboarding-top button:hover{background:var(--surface-2)}.onboarding-track{display:flex;gap:6px;margin:14px 0 28px}.onboarding-track i{flex:1;height:3px;border-radius:4px;background:#e3e2dc}.onboarding-track i.is-complete{background:#626f63}.onboarding-dialog h2{font-size:30px;line-height:1.16;font-weight:450;letter-spacing:-.85px;margin:0 0 12px;outline:none}.onboarding-dialog h2:focus{outline:none}.onboarding-dialog #onboarding-description{font-size:14px;line-height:1.6;color:var(--muted);margin:0 0 24px}.onboarding-questions{display:grid;gap:10px;min-height:278px;align-content:start}.onboarding-choice{cursor:pointer;display:flex;align-items:center;gap:14px;padding:15px 16px;border:1px solid var(--line);border-radius:12px;background:transparent;min-width:0}.onboarding-choice:hover{background:#f1f0eb}.onboarding-choice:has(input:checked){border-color:#69766b;background:#f0f2ed}.onboarding-choice input{accent-color:#394b3e;width:17px;height:17px;flex:none;margin:0}.choice-copy{display:flex;flex-direction:column;gap:5px}.choice-copy strong{font-size:14px;font-weight:500;line-height:1.3}.choice-copy small{font-size:12px;color:var(--muted);line-height:1.4}.onboarding-styles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-height:278px}.visual-choice{display:grid;grid-template-columns:17px minmax(0,1fr);gap:10px;padding:8px 8px 12px;align-content:start}.visual-choice .style-sample{grid-column:1/-1;border-radius:7px}.visual-choice input{margin-left:3px}.visual-choice .choice-copy strong{font-size:12px}.onboarding-field-label{font-size:13px;margin:8px 0 0}.onboarding-questions select{width:100%;min-height:52px;padding:12px;border:1px solid #cfcec5;border-radius:10px;background:#fff;color:var(--text);font:inherit;font-size:15px}.onboarding-local-note{font-size:13px;line-height:1.6;color:var(--muted);max-width:340px;margin-top:8px}.onboarding-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:28px}.onboarding-actions button{font-size:13px;min-height:46px;border-radius:99px;padding:12px 20px;border:1px solid var(--line);background:transparent;color:var(--text)}.onboarding-actions #onboarding-next{background:#292925;color:#fff;border-color:#292925;margin-left:auto;min-width:154px}.onboarding-actions #onboarding-next:hover{background:#45453d}.onboarding-actions #onboarding-back:disabled{visibility:hidden}.onboarding-dialog #onboarding-skip{display:block;min-height:40px;font-size:12px;color:var(--muted);text-decoration:underline;text-underline-offset:3px;background:transparent;border:0;margin:12px auto 0;padding:8px 16px}
@media(min-width:768px) and (max-width:1000px){.studio-home{grid-template-columns:minmax(0,1fr) minmax(300px,360px);gap:32px}.studio-intro h2{font-size:44px}}
@media(max-width:767px){.studio-home{grid-template-columns:1fr;gap:0}.studio-example.style-showcase{margin-top:40px}.showcase-heading{margin-bottom:16px}.showcase-heading h3{font-size:15px}.showcase-heading>span{font-size:11px}.showcase-grid{gap:14px 12px}.showcase-footer{margin-top:16px;gap:8px}.showcase-footer p{max-width:165px;font-size:11px}.showcase-paging{gap:8px}.showcase-paging button{height:36px;width:36px}.onboarding-inner{padding:20px 24px}.onboarding-dialog h2{font-size:27px;letter-spacing:-.7px}.onboarding-dialog #onboarding-description{font-size:13px;line-height:1.5}.onboarding-track{margin-bottom:24px}.onboarding-choice{padding:14px 12px}.onboarding-styles{gap:10px}.visual-choice{padding:7px 7px 11px}.choice-copy strong{font-size:13px}.choice-copy small{font-size:11px}.visual-choice .choice-copy strong{font-size:12px}.onboarding-actions{margin-top:24px}.onboarding-actions button{padding:12px 16px}.onboarding-questions{min-height:272px}.onboarding-dialog{max-height:calc(100dvh - 24px)}}
@media(max-height:700px){.onboarding-inner{padding-top:12px;padding-bottom:12px}.onboarding-track{margin:8px 0 18px}.onboarding-dialog #onboarding-description{margin-bottom:16px}.onboarding-questions{min-height:0}.onboarding-actions{margin-top:18px}.onboarding-dialog h2{font-size:26px}}

.onboarding-questions:has(select){min-height:210px}

.regenerate-captions{margin:0 16px 8px;padding:10px 14px;border:1px solid var(--line);border-radius:99px;background:var(--surface-2);color:var(--text);font-size:12px;min-height:40px}

#caption-timing{margin:20px 0 24px}.caption-timing-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.caption-timing-heading strong{font-size:15px;font-weight:550}.caption-timing-heading span,.caption-timing-hint{color:var(--muted);font-size:12px;line-height:1.5}.caption-timing-hint{margin:8px 0 12px}#caption-timing-preview{display:block;width:100%;padding:12px 14px;text-align:start;border:1px solid var(--line);border-radius:10px;background:#f3f2ec;color:var(--text);font-size:14px;line-height:1.5;min-height:44px}#caption-timing-preview.is-speaking{border-color:#929d86;background:#edf0e8}.caption-timing-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.caption-timing-fields label{color:var(--muted);font-size:12px}.caption-timing-fields input{display:block;margin-top:6px;width:100%;min-height:44px;padding:10px 12px;border:1px solid #d8d7cf;border-radius:10px;background:#fff;color:var(--text);font:inherit;font-size:14px;font-variant-numeric:tabular-nums}.caption-timing-fields input:focus{outline:2px solid #929d86;outline-offset:2px}

.release-filter-bar #style-categories{overflow-x:auto;min-width:0;scrollbar-width:none}.release-filter-bar #style-categories button{flex-shrink:0}
.style-preview-language{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:-6px 0 14px;font-size:11px;color:var(--muted)}.style-preview-language select{width:auto;min-height:36px;padding:5px 24px 5px 10px;background:transparent;border:1px solid var(--line);border-radius:8px;color:var(--text);font-size:12px;font-family:var(--font-ui)}.editor-preview-language{margin:0;padding:0 16px 12px}.app:is([data-route="editor"],.cappa-ui-route-editor) .editor-preview-language select{background:var(--bg);color:var(--text)}

.timing-sync-actions{display:flex;gap:8px;margin-bottom:8px}.timing-sync-actions .btn{min-height:40px}.timing-sync-actions+ #sync-timing-status:empty{display:none}

.billing-plan-options { border:0; padding:0; margin:0 0 16px; display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.billing-plan-options legend { font-size:12px; color:var(--muted); margin-bottom:10px; }
.billing-plan-options label { position:relative; cursor:pointer; min-width:0; }
.billing-plan-options input { position:absolute; opacity:0; width:1px; height:1px; }
.billing-plan-options label>span { display:flex; flex-direction:column; gap:7px; padding:15px 13px; border:1px solid #deded7; border-radius:14px; background:#fff; }
.billing-plan-options strong { font-size:14px; font-weight:500; }
.billing-plan-options span span { font-size:12px; color:var(--muted); }
.billing-plan-options input:checked+span { border-color:#353c30; background:#f3f5ef; box-shadow:inset 0 0 0 .5px #353c30; }
.billing-plan-options input:focus-visible+span { outline:2px solid #718565; outline-offset:3px; }
.billing-plan-options input:disabled+span { opacity:.5; cursor:default; }
#screen-trimSetup{width:min(100%,880px);padding:24px;gap:16px;min-height:100dvh}.trim-stage{display:flex;align-items:center;justify-content:center;background:#eae9e3;border-radius:18px;min-height:160px;overflow:hidden;flex:1}#trim-video{width:100%;height:min(52dvh,560px);max-height:52dvh;object-fit:contain;border-radius:0;background:transparent}.trim-playback{display:flex;align-items:center;gap:16px;font-size:13px;font-variant-numeric:tabular-nums}.trim-playback button{padding:8px 14px;border:1px solid #deddd5;border-radius:24px;font-size:12px}.trim-playback button:last-child{margin-left:auto}.trim-workspace{padding:16px;background:#fff;border:1px solid #e5e4dd;border-radius:16px}.trim-summary{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#737369;margin-bottom:14px}.trim-summary strong{font-weight:500;color:#31312b;font-variant-numeric:tabular-nums}.trim-filmstrip{position:relative;height:70px;touch-action:none;user-select:none;margin:0 10px;background:#e7e6df;border-radius:8px}.trim-frames{position:absolute;inset:0;display:flex;overflow:hidden;border-radius:7px}.trim-frames>*{width:12.5%;height:100%;flex:0 0 12.5%;object-fit:cover}.trim-frames span{background:linear-gradient(110deg,#e3e2dc,#eeede7)}.trim-range{position:absolute;top:-3px;bottom:-3px;border:3px solid #6c5aa3;border-left:0;border-right:0;cursor:grab;z-index:2;min-width:1px}.trim-range:active{cursor:grabbing}.trim-range button{position:absolute;top:-3px;bottom:-3px;width:22px;min-width:22px;background:#6c5aa3;border-radius:6px;cursor:ew-resize;touch-action:none}.trim-range button:after{content:'';display:block;width:2px;height:22px;background:#fff9;border-radius:2px;margin:auto}.trim-range button:focus-visible{outline:3px solid #b9a8e3;outline-offset:3px}#trim-handle-start{left:-11px}#trim-handle-end{right:-11px}.trim-shade{position:absolute;top:0;bottom:0;background:#0008;pointer-events:none;z-index:1}.trim-playhead{position:absolute;top:-9px;bottom:-9px;width:2px;background:white;box-shadow:0 0 2px #0008;pointer-events:none;z-index:3}.trim-playhead:before{content:'';position:absolute;top:0;left:-4px;width:10px;height:6px;border-radius:2px;background:white}.trim-times{display:flex;justify-content:space-between;align-items:center;margin-top:17px;font-size:12px;color:#737369;gap:8px}.trim-times label{display:flex;align-items:center;gap:8px}.trim-times input{width:78px;border:1px solid #e1e0d9;border-radius:8px;padding:8px;color:#2d2d28;background:#faf9f6;font:inherit;font-variant-numeric:tabular-nums}@media(max-width:600px){#screen-trimSetup{padding:16px;gap:12px}.trim-workspace{padding:14px 10px}.trim-summary{font-size:11px}.trim-times label{gap:5px}.trim-times input{width:65px}#trim-video{height:46dvh;max-height:46dvh}}
