/* GENERATED by scripts/build-light-theme.mjs from styles.css, refinement.css, cloud.css, intelligence.css. Do not edit by hand;
   put hand-tuned overrides in theme.css and re-run the script after changing dark styles. */
/* ---- styles.css ---- */
:root[data-theme="light"]{--bg:#fbf7f2;--panel:#f9f5f0;--panel2:#f8f4ef;--panel3:#f6f2ed;--line:#f0ece7;--line2:#f4efea;--text:#1c1a18;--muted:#676562;--muted2:#96928d;--primary:#7047d0;--primary-bright:#6f51bb;--accent:#954d73;--green:#027c59;--orange:#945820;--shadow:0 12px 50px #28201629;color-scheme:light}
html[data-theme="light"],:root[data-theme="light"] body{background:var(--bg);color:var(--text)}
:root[data-theme="light"] button{color:inherit}
:root[data-theme="light"] input,:root[data-theme="light"] textarea{color:var(--text)}
:root[data-theme="light"] button:focus-visible,:root[data-theme="light"] input:focus-visible,:root[data-theme="light"] textarea:focus-visible,:root[data-theme="light"] select:focus-visible{outline:2px solid #724fbc}
:root[data-theme="light"] button{border:0;background:none}
:root[data-theme="light"] .app-header{background:#faf5f0;border-bottom:1px solid var(--line2)}
:root[data-theme="light"] .brand-mark{background:linear-gradient(135deg,#b391ff,#7c50ee);color:#fff;box-shadow:0 0 25px #865dff35}
:root[data-theme="light"] .brand-dot{color:#704dc2}
:root[data-theme="light"] .beta-tag{border:1px solid #c6beda;color:#6f5b9d;background:#f3eee9}
:root[data-theme="light"] .header-divider{background:var(--line)}
:root[data-theme="light"] .minor-label{color:#6e6c6a}
:root[data-theme="light"] .project-name{background:transparent;border:0;outline:0 !important}
:root[data-theme="light"] .saved-label{color:#7e7c79}
:root[data-theme="light"] .project-chevron{color:#7f7c7a}
:root[data-theme="light"] .online-chip{color:#4a4845}
:root[data-theme="light"] .online-dot{background:#4ee1a7;box-shadow:0 0 12px #107c576a}
:root[data-theme="light"] .icon-button{color:#4f4d4b}
:root[data-theme="light"] .icon-button:hover,:root[data-theme="light"] .small-toolbar-btn:hover,:root[data-theme="light"] .timeline-tool:hover,:root[data-theme="light"] .transport-button:hover{background:#eeeae5;color:#171614}
:root[data-theme="light"] .action-divider{background:var(--line)}
:root[data-theme="light"] .button-ghost{border:1px solid #e3dfda;background:#f6f2ed}
:root[data-theme="light"] .button-ghost:hover{background:#f2eee9}
:root[data-theme="light"] .button-primary{color:#fff;background:linear-gradient(120deg,#986fff,#7853e9);box-shadow:0 4px 19px #7953e92c}
:root[data-theme="light"] .button-primary:hover{filter:brightness(1.14)}
:root[data-theme="light"] .button-soft{background:#efecfd;color:#6d5ba2}
:root[data-theme="light"] .button-outline{border:1px solid #d2cec9;color:#1e1c1a}
:root[data-theme="light"] .nav-rail{background:#f9f5f0;border-right:1px solid var(--line2)}
:root[data-theme="light"] .rail-item{color:#787673}
:root[data-theme="light"] .rail-item:hover{color:#6c6285;background:#f2eee9}
:root[data-theme="light"] .rail-item.active{background:#f3efea;color:#7352b2}
:root[data-theme="light"] .rail-item.active:before{background:#a17dff}
:root[data-theme="light"] .asset-panel{background:#f8f4ef;border-right:1px solid var(--line)}
:root[data-theme="light"] .panel-kicker{color:#797774}
:root[data-theme="light"] .asset-content{scrollbar-color:#e6e2dd transparent}
:root[data-theme="light"] .upload-zone{border:1.5px dashed #cec8db;background:linear-gradient(160deg,#f3efea88,#f7f3ee88)}
:root[data-theme="light"] .upload-zone:hover,:root[data-theme="light"] .upload-zone.drag-over{border-color:var(--primary);background:#eeeafd}
:root[data-theme="light"] .upload-icon{background:#e9e0fb;color:#7154af}
:root[data-theme="light"] .upload-zone small{color:#6a6865}
:root[data-theme="light"] .upload-zone em{color:#724ebd}
:root[data-theme="light"] .section-heading button{color:#7152b4}
:root[data-theme="light"] .search-input{border:1px solid #e6e2dd;background:#f6f1ec;color:#201e1c;outline:0}
:root[data-theme="light"] .search-input::placeholder,:root[data-theme="light"] .chat-textarea::placeholder{color:#9a9692}
:root[data-theme="light"] .asset-thumb{background:linear-gradient(135deg,#693887,#c16087);color:#fff}
:root[data-theme="light"] .asset-thumb:after{background:linear-gradient(transparent 40%,#0008)}
:root[data-theme="light"] .thumb-time{color:#eee;background:#000a}
:root[data-theme="light"] .asset-name{color:#312f2d}
:root[data-theme="light"] .asset-sub{color:#7d7a78}
:root[data-theme="light"] .asset-placeholder{border:1px solid #e8e4df;background:#f6f2ed;color:#5f5d5a}
:root[data-theme="light"] .asset-placeholder svg{color:#6f53b4}
:root[data-theme="light"] .panel-intro{color:#62605e}
:root[data-theme="light"] .template-card{border:1px solid #eae6e1;background:#f6f1ec}
:root[data-theme="light"] .template-card:hover,:root[data-theme="light"] .variant-card:hover{border-color:#8869d9}
:root[data-theme="light"] .template-visual:after{border:18px solid #17161422}
:root[data-theme="light"] .template-visual span{text-shadow:0 4px 20px #28201629}
:root[data-theme="light"] .template-info small{color:#5e5b59}
:root[data-theme="light"] .text-item{background:#f5f1ec;border:1px solid #e7e3de}
:root[data-theme="light"] .text-item:hover{border-color:#8868e0}
:root[data-theme="light"] .text-preview{background:#f0ece7;color:#7059a3}
:root[data-theme="light"] .text-item small{color:#666461}
:root[data-theme="light"] .color-choice{border:2px solid transparent}
:root[data-theme="light"] .color-choice.selected{outline:2px solid #171614}
:root[data-theme="light"] .field-label{color:#514f4d}
:root[data-theme="light"] .field-input{background:#f5f0eb;border:1px solid #e2ded9}
:root[data-theme="light"] .field-area{background:#f5f0eb;border:1px solid #e2ded9}
:root[data-theme="light"] .text-help{color:#7b7976}
:root[data-theme="light"] .variant-card{border:1px solid #e5e1dc;background:linear-gradient(135deg,#f3efea,#f6f2ed)}
:root[data-theme="light"] .variant-number{color:#714dc1}
:root[data-theme="light"] .variant-info{color:#696664}
:root[data-theme="light"] .brand-card{border:1px solid #e8e3df;background:#f6f1ec}
:root[data-theme="light"] .editor-main{background:#f9f5f0}
:root[data-theme="light"] .editor-toolbar{border-bottom:1px solid #f2eee9}
:root[data-theme="light"] .editor-section-icon{color:#6e57ad}
:root[data-theme="light"] .toolbar-sep{background:#e8e4df}
:root[data-theme="light"] .preview-badge{color:#63605e}
:root[data-theme="light"] .preview-dot{background:#a58cff}
:root[data-theme="light"] .small-toolbar-btn{color:#4d4b49}
:root[data-theme="light"] .preview-section{background:radial-gradient(ellipse at 45% 39%,#f3efea 0,#f7f2ee 42%,#f8f4ef 80%)}
:root[data-theme="light"] .preview-section:before{background-image:linear-gradient(#17161406 1px,transparent 1px),linear-gradient(90deg,#17161406 1px,transparent 1px)}
:root[data-theme="light"] .preview-frame{background:#08090f;box-shadow:0 15px 58px #0009,0 0 0 1px #5b556e88}
:root[data-theme="light"] .canvas-guide{border:1px solid #fff7}
:root[data-theme="light"] .guide-inner{border:1px dashed #fff8}
:root[data-theme="light"] .guide-inner:after{border-top:1px dashed #fff5}
:root[data-theme="light"] .stage-corner{border:2px solid #6a5ba4}
:root[data-theme="light"] .preview-bottom{color:#6b6966}
:root[data-theme="light"] .preview-helper svg{color:#734cc0}
:root[data-theme="light"] .small-dot{color:#d1ccc8}
:root[data-theme="light"] .timeline-section{border-top:1px solid #ece8e3;background:#f9f5f0}
:root[data-theme="light"] .timeline-toolbar{border-bottom:1px solid #f3efea}
:root[data-theme="light"] .timeline-clip-count{color:#7d7a78;border:1px solid #e6e2dd}
:root[data-theme="light"] .timeline-tool{color:#595755}
:root[data-theme="light"] .timeline-tool.active{color:#7056ae;background:#efecfe}
:root[data-theme="light"] .zoom-value{color:#52504e}
:root[data-theme="light"] .transport-bar{border-bottom:1px solid #f2eee9}
:root[data-theme="light"] .time-value{color:#6d608f}
:root[data-theme="light"] .time-separator{color:#a09c98}
:root[data-theme="light"] .time-total{color:#7e7b79}
:root[data-theme="light"] .transport-button{color:#575552}
:root[data-theme="light"] .transport-play{background:#8362ee;color:white}
:root[data-theme="light"] .transport-play:hover{background:#9c7afc}
:root[data-theme="light"] .keyboard-hint{color:#bab6b1}
:root[data-theme="light"] .timeline-scroll{scrollbar-color:#e4e0db #f7f3ee}
:root[data-theme="light"] .timeline-ruler{border-bottom:1px solid #f0ece7;background:#f9f5f0;color:#7b7976}
:root[data-theme="light"] .ruler-mark{border-left:1px solid #ccc8c3}
:root[data-theme="light"] .ruler-mark.small{border-left-color:#eee9e4}
:root[data-theme="light"] .track-row{border-bottom:1px solid #f3efea}
:root[data-theme="light"] .track-label{border-right:1px solid #ece7e2;background:#f8f4ef;color:#545250}
:root[data-theme="light"] .track-area{background:repeating-linear-gradient(90deg,transparent 0,transparent 83px,#17161404 84px)}
:root[data-theme="light"] .clip-block{border:1px solid #6f63a6;background:linear-gradient(120deg,#d9d2ec,#e1e3f5);color:#1f1d1b;box-shadow:0 2px 8px #28201616}
:root[data-theme="light"] .clip-block:hover{filter:brightness(1.18)}
:root[data-theme="light"] .clip-block.selected{border:1.5px solid #7356a8;box-shadow:inset 0 0 0 1px #7356a8,0 0 0 1px #7356a866}
:root[data-theme="light"] .clip-block.demo0{background:linear-gradient(100deg,#6942a2,#47305c)}
:root[data-theme="light"] .clip-block.demo1{background:linear-gradient(110deg,#925277,#5c365f)}
:root[data-theme="light"] .clip-block.demo2{background:linear-gradient(100deg,#375e8b,#c7d2f3)}
:root[data-theme="light"] .clip-block.video{background:linear-gradient(110deg,#3c5b70,#c1cdda);border-color:#3a6e94}
:root[data-theme="light"] .clip-block.image{background:linear-gradient(110deg,#a7a39f,#cfcbc6);border-color:#347575}
:root[data-theme="light"] .text-clip{background:#dbd2e8;border-color:#8364ae;color:#6f6185}
:root[data-theme="light"] .caption-clip{background:#55436f;border-color:#7955a0}
:root[data-theme="light"] .audio-clip{background:#bdd4cc;border-color:#438e76;color:#3c7663}
:root[data-theme="light"] .clip-waveform{background:repeating-linear-gradient(90deg,#1b1917 0 2px,transparent 2px 5px)}
:root[data-theme="light"] .playhead-line{background:#795a8e;box-shadow:0 0 7px #7f45bd88}
:root[data-theme="light"] .playhead-handle{background:#76579d}
:root[data-theme="light"] .timeline-footer{border-top:1px solid #f3eeea;color:#96928e}
:root[data-theme="light"] .status-indicator{background:#4ecc9d}
:root[data-theme="light"] .right-panel{background:#f8f4ef;border-left:1px solid #eeeae5}
:root[data-theme="light"] .right-header{border-bottom:1px solid #efeae6}
:root[data-theme="light"] .right-tab{color:#63615e}
:root[data-theme="light"] .right-tab.active{color:#6d6287}
:root[data-theme="light"] .right-tab.active:after{background:#a183fd}
:root[data-theme="light"] .ai-intro{border-bottom:1px solid #f0ece7}
:root[data-theme="light"] .agent-avatar{background:linear-gradient(125deg,#7750df,#a96fe8);box-shadow:0 0 25px #7445cd36;color:white}
:root[data-theme="light"] .ai-intro p{color:#5e5c59}
:root[data-theme="light"] .agent-mode{background:#efebfe;border:1px solid #c5bed9;color:#7551b1}
:root[data-theme="light"] .ai-message-list{scrollbar-color:#e5e1dc transparent}
:root[data-theme="light"] .message-icon{background:#efe7fd;color:#7353b0}
:root[data-theme="light"] .message-bubble{color:#383634}
:root[data-theme="light"] .message-bubble strong{color:#1e1c1a}
:root[data-theme="light"] .message-user{background:#e7e2f7;color:#22201e}
:root[data-theme="light"] .suggestion-heading{color:#6a6765}
:root[data-theme="light"] .suggestion-pill{border:1px solid #e5e1dc;background:#f4f0eb;color:#3f3d3b}
:root[data-theme="light"] .suggestion-pill:hover{background:#ede9fa;border-color:#7b62b0}
:root[data-theme="light"] .suggestion-pill svg{color:#704fbd}
:root[data-theme="light"] .ai-compose{background:#f8f4ef;border-top:1px solid #efeae5}
:root[data-theme="light"] .composer-box{border:1px solid #d1cdc8;background:#f4efeb}
:root[data-theme="light"] .composer-box:focus-within{border-color:#7345ce}
:root[data-theme="light"] .chat-textarea{background:transparent;border:0;outline:0 !important}
:root[data-theme="light"] .composer-model{color:#715f8c}
:root[data-theme="light"] .send-button{color:white;background:#9070f9}
:root[data-theme="light"] .send-button:hover{background:#aa90ff}
:root[data-theme="light"] .composer-hint{color:#9d9995}
:root[data-theme="light"] .property-card{background:#f5f0eb;border:1px solid #e7e3de}
:root[data-theme="light"] .property-card-title svg{color:#7255ad}
:root[data-theme="light"] .property-label{color:#5b5957}
:root[data-theme="light"] .property-input{background:#efeae5;border:1px solid #d7d3ce;color:#1e1c1a}
:root[data-theme="light"] .property-select{background:#efeae5;border:1px solid #d7d3ce;color:#1e1c1a}
:root[data-theme="light"] .range{accent-color:#724bc5}
:root[data-theme="light"] .property-color{border:1px solid #d5cee1;background:#f3eee9}
:root[data-theme="light"] .tiny-ghost{color:#7153b3}
:root[data-theme="light"] .properties-empty{color:#686664}
:root[data-theme="light"] .properties-empty svg{color:#7254af}
:root[data-theme="light"] .properties-empty h3{color:#282624}
:root[data-theme="light"] .property-help{color:#807e7b}
:root[data-theme="light"] .subtle-divider{border:0;border-top:1px solid #e8e4df}
:root[data-theme="light"] .toast{border:1px solid #53476a;background:#f2eee9;box-shadow:0 8px 40px #28201629;color:#1f1d1b}
:root[data-theme="light"] .toast svg{color:#7156a9}
:root[data-theme="light"] .modal-backdrop{background:#fef9f4b9}
:root[data-theme="light"] .modal{background:#f6f1ec;border:1px solid #c8c1d0;box-shadow:0 23px 80px #28201629}
:root[data-theme="light"] .modal-header{border-bottom:1px solid #e9e5e0}
:root[data-theme="light"] .modal-description{color:#54524f}
:root[data-theme="light"] .export-option{border:1px solid #e1ddd8;background:#f3efea;color:#2c2a28}
:root[data-theme="light"] .export-option.active{border-color:#704dc2;background:#ede6fa;box-shadow:inset 0 0 0 1px #8e6bdb}
:root[data-theme="light"] .export-option small{color:#5a5856}
:root[data-theme="light"] .export-footer{border-top:1px solid #eae6e1}
:root[data-theme="light"] .export-note{color:#666462}
:root[data-theme="light"] .export-progress{background:#e7e3de}
:root[data-theme="light"] .export-progress span{background:linear-gradient(90deg,#a47aff,#e8adfc)}
:root[data-theme="light"] .shortcut{color:#363432;border-bottom:1px solid #e6e2dd}
:root[data-theme="light"] .shortcut kbd{background:#e7e3de;color:#7059a3}
:root[data-theme="light"] .empty-import{color:#656260}
:root[data-theme="light"] .clip-small{color:#4e4c49}
:root[data-theme="light"] .orange-badge{color:#8c5d29;background:#eae6e1}
:root[data-theme="light"] .mini-action{border:1px solid #c9c0dc;background:#efebfc;color:#715c97}
:root[data-theme="light"] .mini-action:hover{background:#e9e1fc}
:root[data-theme="light"] .file-select{color:#484643}
:root[data-theme="light"] .file-select input{accent-color:#714cc4}
@media(max-width:980px){
:root[data-theme="light"] .asset-panel{box-shadow:15px 0 35px #28201621}
}
@media(max-width:700px){
:root[data-theme="light"] .asset-panel{box-shadow:none}
:root[data-theme="light"] .right-panel{box-shadow:none}
:root[data-theme="light"] .mobile-bottom-nav{background:#f8f4ef;border-top:1px solid #eae6e1}
:root[data-theme="light"] .mobile-bottom-nav button{color:#5d5b58}
:root[data-theme="light"] .mobile-bottom-nav button.mobile-nav-active{color:#7555a7}
}
/* ---- refinement.css ---- */
:root[data-theme="light"]{--bg:#faf5f0;--panel:#f7f3ee;--panel2:#f5f1ec;--panel3:#f2eee9;--line:#e9e5e0;--line2:#eeeae5;--text:#1e1c1a;--muted:#504e4b;--muted2:#7b7876;--primary:#905b23;--primary-bright:#8c5d2d;--accent:#905b23;--green:#3a775d;--orange:#905b23;--shadow:0 20px 60px #28201629;--focus:#905b23}
html[data-theme="light"],:root[data-theme="light"] body{background:var(--bg);color:var(--text)}
:root[data-theme="light"] *{scrollbar-color:#dedad5 transparent}
:root[data-theme="light"] button:focus-visible,:root[data-theme="light"] input:focus-visible,:root[data-theme="light"] textarea:focus-visible,:root[data-theme="light"] select:focus-visible,:root[data-theme="light"] [tabindex]:focus-visible{outline:2px solid var(--focus)}
:root[data-theme="light"] .app{background:var(--bg)}
:root[data-theme="light"] .app-header{background:#f9f5f0;border-bottom:1px solid var(--line2)}
:root[data-theme="light"] .brand-mark{background:none;box-shadow:none;color:#8a5f2c}
:root[data-theme="light"] .brand-dot{color:var(--primary)}
:root[data-theme="light"] .beta-tag{color:#504e4b;border:0;border-left:1px solid #ddd9d4;background:none}
:root[data-theme="light"] .header-divider{background:#dedad5}
:root[data-theme="light"] .minor-label{color:#646260}
:root[data-theme="light"] .project-name{color:#211f1d}
:root[data-theme="light"] .saved-label{color:#787674}
:root[data-theme="light"] .online-chip{color:#545250}
:root[data-theme="light"] .online-dot{background:#3f765c;box-shadow:none}
:root[data-theme="light"] .icon-button{color:#504e4c}
:root[data-theme="light"] .icon-button:hover,:root[data-theme="light"] .small-toolbar-btn:hover,:root[data-theme="light"] .timeline-tool:hover,:root[data-theme="light"] .transport-button:hover{color:#1f1d1b;background:#f0ece7}
:root[data-theme="light"] .action-divider{background:#ddd9d4}
:root[data-theme="light"] .button{box-shadow:none}
:root[data-theme="light"] .button-ghost{background:#f5f0eb;border-color:#e3deda;color:#292725}
:root[data-theme="light"] .button-ghost:hover{background:#efebe6}
:root[data-theme="light"] .button-primary{background:#201e1c;color:#f7f3ee;box-shadow:inset 0 1px 0 #17161466}
:root[data-theme="light"] .button-primary:hover{background:#191715;filter:none}
:root[data-theme="light"] .button-soft{background:#eae6e1;color:#816243}
:root[data-theme="light"] .button-outline{border-color:#cec9c5;color:#292725}
:root[data-theme="light"] .nav-rail{background:#f9f4ef;border-right-color:var(--line2)}
:root[data-theme="light"] .rail-item{color:#5f5d5b}
:root[data-theme="light"] .rail-item:hover{color:#22201e;background:#f2eee9}
:root[data-theme="light"] .rail-item.active{color:#22211e;background:#efebe6}
:root[data-theme="light"] .rail-item.active:before{background:var(--primary)}
:root[data-theme="light"] .asset-panel{background:#f7f3ee;border-right-color:var(--line2)}
:root[data-theme="light"] .panel-kicker{color:#5e5c5a}
:root[data-theme="light"] .asset-content{scrollbar-color:#d2cec9 transparent}
:root[data-theme="light"] .panel-intro{color:#504e4b}
:root[data-theme="light"] .upload-zone{background:#f5f1ec;border:1px dashed #cfcbc6}
:root[data-theme="light"] .upload-zone:hover,:root[data-theme="light"] .upload-zone.drag-over{border-color:var(--primary);background:#f3eeea}
:root[data-theme="light"] .upload-icon{background:#ebe7e2;color:#343230}
:root[data-theme="light"] .upload-zone small{color:#5f5d5b}
:root[data-theme="light"] .upload-zone em{color:#866038}
:root[data-theme="light"] .section-heading span{color:#2d2b29}
:root[data-theme="light"] .section-heading button{color:#846139}
:root[data-theme="light"] .search-input,:root[data-theme="light"] .field-input,:root[data-theme="light"] .property-input,:root[data-theme="light"] .property-select,:root[data-theme="light"] .field-area{background:#f2eee9;border:1px solid #ddd9d4;color:#1e1c1a}
:root[data-theme="light"] .search-input::placeholder,:root[data-theme="light"] .chat-textarea::placeholder{color:#686664}
:root[data-theme="light"] .asset-thumb{border:1px solid #ffffff1a}
:root[data-theme="light"] .asset-thumb:after{background:linear-gradient(transparent 52%,#0009)}
:root[data-theme="light"] .asset-thumb svg{filter:drop-shadow(0 1px 6px #0007)}
:root[data-theme="light"] .asset-name{color:#252421}
:root[data-theme="light"] .asset-sub{color:#5c5957}
:root[data-theme="light"] .asset-placeholder{background:#f5f1ec;border:1px solid #e9e5e0;color:#5e5b59}
:root[data-theme="light"] .asset-placeholder svg{color:#494744}
:root[data-theme="light"] .template-card{background:#f4f0eb;border-color:#e0dcd7}
:root[data-theme="light"] .template-card:hover,:root[data-theme="light"] .variant-card:hover{border-color:#7a654d}
:root[data-theme="light"] .template-info small{color:#54524f}
:root[data-theme="light"] .text-item{background:#f4f0eb;border-color:#e0dcd7}
:root[data-theme="light"] .text-item:hover{border-color:#967e66}
:root[data-theme="light"] .text-preview{background:#ebe6e1;color:#373533}
:root[data-theme="light"] .text-item small{color:#565452}
:root[data-theme="light"] .field-label{color:#3b3936}
:root[data-theme="light"] .variant-card{background:#f4f0eb;border-color:#ddd9d4}
:root[data-theme="light"] .variant-number{color:#7e6345}
:root[data-theme="light"] .variant-info{color:#54514f}
:root[data-theme="light"] .brand-card{background:#f4efea;border-color:#dcd8d3}
:root[data-theme="light"] .editor-main{background:#f9f5f0}
:root[data-theme="light"] .editor-toolbar{border-bottom-color:#ece8e3;background:#f7f3ee}
:root[data-theme="light"] .editor-section-icon{color:#555351}
:root[data-theme="light"] .toolbar-sep{background:#e1ddd8}
:root[data-theme="light"] .preview-badge{color:#4b4947}
:root[data-theme="light"] .preview-dot{background:var(--primary)}
:root[data-theme="light"] .small-toolbar-btn{color:#464442}
:root[data-theme="light"] .preview-section{background:#f9f4ef}
:root[data-theme="light"] .preview-section:before{background-image:none}
:root[data-theme="light"] .preview-stage{background:transparent}
:root[data-theme="light"] .preview-frame{background:#111316;box-shadow:0 15px 45px #000a,0 0 0 1px #ffffff1c}
:root[data-theme="light"] .preview-frame:after{box-shadow:inset 0 0 0 1px #ffffff10}
:root[data-theme="light"] .preview-bottom{color:#62605d}
:root[data-theme="light"] .preview-helper{color:#4e4c4a}
:root[data-theme="light"] .preview-bottom-controls{color:#5c5a57}
:root[data-theme="light"] .timeline-section{background:#f8f4ef;border-top-color:#e7e3de}
:root[data-theme="light"] .timeline-toolbar{border-bottom-color:#ede9e4}
:root[data-theme="light"] .timeline-clip-count{background:none;border:0;color:#656360}
:root[data-theme="light"] .timeline-tool{color:#5b5856}
:root[data-theme="light"] .timeline-tool.active{background:#eeeae5;color:#895f32}
:root[data-theme="light"] .transport-bar{border-bottom-color:#eeeae5}
:root[data-theme="light"] .time-value{color:#8d5d2d}
:root[data-theme="light"] .time-total{color:#545250}
:root[data-theme="light"] .transport-button{color:#504e4c}
:root[data-theme="light"] .transport-play{background:#201e1c;color:#f6f2ed}
:root[data-theme="light"] .transport-play:hover{background:#191715;color:#f9f5f0}
:root[data-theme="light"] .keyboard-hint{color:#696764}
:root[data-theme="light"] .timeline-scroll{scrollbar-color:#dad6d1 #f8f3ee}
:root[data-theme="light"] .timeline-ruler{background:#f7f3ee;border-bottom-color:#e7e3de;color:#5a5856}
:root[data-theme="light"] .track-row{border-bottom-color:#efeae5}
:root[data-theme="light"] .track-label{background:#f5f1ec;color:#5a5755;border-right-color:#e9e5e0}
:root[data-theme="light"] .track-area{background:repeating-linear-gradient(90deg,transparent 0,transparent 83px,#17161406 84px)}
:root[data-theme="light"] .clip-block{color:#1e1c1a;border-color:#97938e;box-shadow:none}
:root[data-theme="light"] .clip-block:hover{filter:brightness(1.06)}
:root[data-theme="light"] .clip-block.selected{border:1.5px solid #905c1e;box-shadow:inset 0 0 0 1px #905c1e,0 0 0 1px #905b2355}
:root[data-theme="light"] .clip-block.demo0{background:linear-gradient(110deg,#a9a5a0,#dad5d1);border-color:#615f5c}
:root[data-theme="light"] .clip-block.demo1{background:linear-gradient(110deg,#85624d,#69463a);border-color:#80614b}
:root[data-theme="light"] .clip-block.demo2{background:linear-gradient(110deg,#c0bbb7,#e1dcd8);border-color:#6d6b68}
:root[data-theme="light"] .clip-block.video{background:linear-gradient(110deg,#cbc7c2,#e4e0db);border-color:#74726f}
:root[data-theme="light"] .clip-block.image{background:linear-gradient(110deg,#a8a49f,#ded9d5);border-color:#696765}
:root[data-theme="light"] .playhead-line{background:#8c5d2a;box-shadow:none}
:root[data-theme="light"] .playhead-handle{background:#8c5d2a}
:root[data-theme="light"] .timeline-footer{background:#f7f3ee;border-top-color:#ede9e4;color:#686663}
:root[data-theme="light"] .status-indicator{background:#46745e;box-shadow:none}
:root[data-theme="light"] .right-panel{background:#f6f2ed;border-left-color:#eae5e1}
:root[data-theme="light"] .right-header{border-bottom-color:#eae5e1}
:root[data-theme="light"] .right-tab{color:#565451}
:root[data-theme="light"] .right-tab.active{color:#201e1c}
:root[data-theme="light"] .right-tab.active:after{background:#e2ab77}
:root[data-theme="light"] .ai-intro{border-bottom-color:#eae6e1}
:root[data-theme="light"] .agent-avatar{color:#201e1c;background:#e7e3de;box-shadow:none;border:1px solid #bdb9b4}
:root[data-theme="light"] .ai-intro p{color:#545250}
:root[data-theme="light"] .agent-mode{background:none;border:1px solid #d7d3ce;color:#454340}
:root[data-theme="light"] .agent-mode svg{color:#82623d}
:root[data-theme="light"] .message-icon{background:#eae6e1;color:#846139}
:root[data-theme="light"] .message-bubble{color:#33322f}
:root[data-theme="light"] .message-bubble strong{color:#1f1d1b}
:root[data-theme="light"] .message-user{background:#eae6e1;color:#21201d}
:root[data-theme="light"] .suggestion-heading{color:#4e4c4a}
:root[data-theme="light"] .suggestion-pill{border:1px solid #dcd7d3;background:#f3efea;color:#353331}
:root[data-theme="light"] .suggestion-pill:hover{background:#efeae5;border-color:#83807b}
:root[data-theme="light"] .suggestion-pill svg{color:#42403e}
:root[data-theme="light"] .ai-compose{background:#f6f2ed;border-top-color:#e8e4df}
:root[data-theme="light"] .composer-box{background:#f3efea;border:1px solid #c9c5c0}
:root[data-theme="light"] .composer-box:focus-within{border-color:#826240}
:root[data-theme="light"] .composer-model{color:#4d4b48}
:root[data-theme="light"] .composer-model svg{color:#4d4b48}
:root[data-theme="light"] .send-button{background:#23211f;color:#f6f1ed}
:root[data-theme="light"] .send-button:hover{background:#1a1816}
:root[data-theme="light"] .composer-hint{color:#646260}
:root[data-theme="light"] .property-card{background:#f3efea;border-color:#e2ddd9}
:root[data-theme="light"] .property-card-title{color:#23211f}
:root[data-theme="light"] .property-card-title svg{color:#8a5f2f}
:root[data-theme="light"] .property-label{color:#464441}
:root[data-theme="light"] .property-input,:root[data-theme="light"] .property-select{background:#eee9e4;border-color:#cdc9c4;color:#201e1c}
:root[data-theme="light"] .range{accent-color:#8b5e28}
:root[data-theme="light"] .property-color{border-color:#bdb9b4;background:#f0ece7}
:root[data-theme="light"] .tiny-ghost{color:#82623c}
:root[data-theme="light"] .properties-empty{color:#4e4c4a}
:root[data-theme="light"] .properties-empty svg{color:#7b644c}
:root[data-theme="light"] .properties-empty h3{color:#262422}
:root[data-theme="light"] .subtle-divider{border-top-color:#dcd8d3}
:root[data-theme="light"] .toast{background:#f2eee9;border-color:#c8c3bf;color:#1f1d1b;box-shadow:0 8px 32px #28201629}
:root[data-theme="light"] .toast svg{color:#8c5d2d}
:root[data-theme="light"] .modal-backdrop{background:#fcf8f3b7}
:root[data-theme="light"] .modal{background:#f4f0eb;border-color:#ccc8c4;box-shadow:0 24px 70px #28201629}
:root[data-theme="light"] .modal-header,:root[data-theme="light"] .export-footer{border-color:#e4e0db}
:root[data-theme="light"] .modal-description{color:#454341}
:root[data-theme="light"] .export-option{background:#efebe6;border-color:#cecac5;color:#282624}
:root[data-theme="light"] .export-option.active{background:#e7e3de;border-color:#8e5c2a;box-shadow:inset 0 0 0 1px #8c5d2e}
:root[data-theme="light"] .export-option small{color:#484643}
:root[data-theme="light"] .export-note{color:#565451}
:root[data-theme="light"] .export-progress{background:#e2ddd9}
:root[data-theme="light"] .export-progress span{background:#e2ab77}
:root[data-theme="light"] .shortcut{color:#2e2c2a;border-color:#e0dcd7}
:root[data-theme="light"] .shortcut kbd{background:#e0dcd7;color:#2b2927}
:root[data-theme="light"] .orange-badge{background:#e2ded9;color:#876038}
:root[data-theme="light"] .mini-action{background:#eae6e1;border-color:#c8c4bf;color:#282624}
:root[data-theme="light"] .mini-action:hover{background:#e2ded9}
:root[data-theme="light"] .file-select{color:#3b3937}
:root[data-theme="light"] .file-select input{accent-color:#905b23}
@media(max-width:700px){
:root[data-theme="light"] .mobile-bottom-nav{background:#f6f2ed;border-top-color:#e1ddd8}
:root[data-theme="light"] .mobile-bottom-nav button{color:#4e4c49}
:root[data-theme="light"] .mobile-bottom-nav button.mobile-nav-active{color:#875f3b}
}
:root[data-theme="light"] .demo-thumb{background:#4b4e4b}
:root[data-theme="light"] .demo-thumb img{filter:saturate(.88)}
:root[data-theme="light"] .demo-thumb svg{background:#1012136b}
:root[data-theme="light"] .ruler-corner{background:#f7f3ee;border-right:1px solid #e9e5e0}
:root[data-theme="light"] .track-area{background:repeating-linear-gradient(90deg,transparent 0,transparent calc(var(--grid,84px) - 1px),#17161406 calc(var(--grid,84px) - 1px),#17161406 var(--grid,84px))}
:root[data-theme="light"] .section-count{background:#1716140f;color:#4e4b49 !important}
:root[data-theme="light"] .section-add{border:1px solid #905b2333;background:#905b230d}
:root[data-theme="light"] .section-add:hover{background:#905b231f;border-color:#905b2366;color:#866035}
:root[data-theme="light"] .media-grid .asset-thumb{border:1px solid #ffffff14;background:linear-gradient(140deg,#2b2d33,#1d1f23)}
:root[data-theme="light"] .media-grid .asset-thumb:after{background:linear-gradient(180deg,#0006 0,transparent 30%,transparent 58%,#000a 100%)}
:root[data-theme="light"] .media-grid .asset-card:hover .asset-thumb{border-color:#e2ab7799;box-shadow:0 6px 18px #0007}
:root[data-theme="light"] .asset-thumb .hover-preview{background:#000}
:root[data-theme="light"] .asset-card.kind-video .asset-thumb:not(.has-poster){background:#25272c}
:root[data-theme="light"] .asset-card.kind-video .asset-thumb:not(.has-poster):before{background:linear-gradient(110deg,transparent 30%,#30333a 50%,transparent 70%)}
:root[data-theme="light"] .asset-card.kind-audio .asset-thumb{background:linear-gradient(140deg,#24332e,#1b2427)}
:root[data-theme="light"] .thumb-wave i{background:#43755e}
:root[data-theme="light"] .media-grid .asset-thumb .thumb-kind{background:#0009;color:#ece8e1}
:root[data-theme="light"] .media-grid .asset-thumb .thumb-kind svg{filter:none}
:root[data-theme="light"] .thumb-used{background:#e2ab77;color:#1a1612}
:root[data-theme="light"] .media-grid .asset-thumb .thumb-used svg{filter:none}
:root[data-theme="light"] .thumb-add{background:#1e1c1a;color:#f9f4ef;box-shadow:0 4px 14px #28201629}
:root[data-theme="light"] .media-grid .asset-thumb .thumb-add svg{filter:none}
:root[data-theme="light"] .media-grid .thumb-time{background:#000b;color:#f4f1ec}
:root[data-theme="light"] .scrub-bar{background:#17161426}
:root[data-theme="light"] .scrub-bar i{background:#e2ab77}
:root[data-theme="light"] .media-grid .asset-name{color:#201e1c}
:root[data-theme="light"] .asset-ext{color:#64625f}
:root[data-theme="light"] .media-grid .asset-sub{color:#64625f}
:root[data-theme="light"] .asset-card.in-use .asset-thumb{border-color:#e2ab7755}
:root[data-theme="light"] .timeline-section.media-drop-ready .track-area[data-drop-track]{box-shadow:inset 0 0 0 1px #905b2366;background-color:#905b230a}
:root[data-theme="light"] .section-tag{border:1px solid #17161417;color:#64625f !important}
:root[data-theme="light"] .track-area .clip-block{border:1px solid #1716141f}
:root[data-theme="light"] .track-area .clip-block:hover{filter:none;border-color:#1716144d}
:root[data-theme="light"] .clip-strip i{box-shadow:inset -1px 0 0 #0000004d}
:root[data-theme="light"] .clip-strip.pending:before{background:linear-gradient(110deg,transparent 30%,#ffffff0d 50%,transparent 70%)}
:root[data-theme="light"] .track-area .clip-block:not(.text-clip):not(.caption-clip):not(.audio-clip):after{background:linear-gradient(180deg,#fffdfbaa 0,#fffdfb00 46%,#fffdfb00 70%,#fffdfb66 100%)}
:root[data-theme="light"] .track-area .clip-label{background:#f9f5f0e6;color:#1e1c1a}
:root[data-theme="light"] .clip-speed{background:#e2ab77;color:#1a1612}
:root[data-theme="light"] .track-area .clip-block .real-waveform{color:#22201e}
:root[data-theme="light"] .track-area .text-clip,:root[data-theme="light"] .track-area .caption-clip{background:linear-gradient(180deg,#d2c9e4,#e4def5);border-color:#8e76b866}
:root[data-theme="light"] .track-area .caption-clip{background:linear-gradient(180deg,#bec7d7,#d4dcec);border-color:#506a9266}
:root[data-theme="light"] .track-area .text-clip .clip-label,:root[data-theme="light"] .track-area .caption-clip .clip-label{background:none}
:root[data-theme="light"] .track-area .audio-clip{background:linear-gradient(180deg,#c9ddd5,#ebe7e2);border-color:#25796066}
:root[data-theme="light"] .track-area .audio-clip .clip-label{background:#f7f3eecc}
:root[data-theme="light"] .track-area .clip-block.selected{border-color:#905c1e;box-shadow:0 0 0 1px #905c1e,0 4px 14px #28201629}
:root[data-theme="light"] .trim-handle:before{background:#f8f3ee}
:root[data-theme="light"] .track-area .clip-block:hover .trim-handle{background:#17161440}
:root[data-theme="light"] .track-area .clip-block.selected .trim-handle{background:#905c1e}
:root[data-theme="light"] .track-area .clip-block .trim-handle:hover,:root[data-theme="light"] body.is-trimming .clip-block.selected .trim-handle{background:#886030}
:root[data-theme="light"] .pp-thumb{border:1px solid #ffffff1a;background:#2a2c2f center/cover no-repeat;color:#c9c5bd}
:root[data-theme="light"] .pp-thumb-text{color:#f1e6d8;background:linear-gradient(140deg,#4a3b63,#2f2740)}
:root[data-theme="light"] .pp-thumb-time{background:#000b;color:#f4f1ec}
:root[data-theme="light"] .pp-kicker{color:#8a5f2f}
:root[data-theme="light"] .pp-head-name{color:#1e1d1b}
:root[data-theme="light"] .pp-name{border:1px solid transparent;background:transparent;color:#1e1d1b}
:root[data-theme="light"] .pp-name:hover{border-color:#ddd9d4}
:root[data-theme="light"] .pp-name:focus{border-color:#8a5f2f;background:#f6f1ed;outline:none}
:root[data-theme="light"] .pp-meta{color:#64625f}
:root[data-theme="light"] .pp-stats{border:1px solid #e7e3de;background:#e7e3de}
:root[data-theme="light"] .pp-stats > div{background:#f5f1ec}
:root[data-theme="light"] .pp-stats span{color:#64625f}
:root[data-theme="light"] .pp-stats strong{color:#201e1c}
:root[data-theme="light"] .pp-section{background:#f4f0eb;border:1px solid #e8e4df}
:root[data-theme="light"] .pp-section-title{color:#23211f}
:root[data-theme="light"] .pp-section-title svg{color:#8a5f2f}
:root[data-theme="light"] .pp-link{color:#846139}
:root[data-theme="light"] .pp-link:hover{background:#905b231a}
:root[data-theme="light"] .pp-label{color:#464441}
:root[data-theme="light"] .pp-help{color:#64625f}
:root[data-theme="light"] .pp-seg{background:#f8f4ef;border:1px solid #e9e5e0}
:root[data-theme="light"] .pp-seg-opt span{color:#4d4b48}
:root[data-theme="light"] .pp-seg-opt:hover span{color:#201e1c;background:#1716140a}
:root[data-theme="light"] .pp-seg-opt input:checked + span{background:#e2ab77;color:#1a1612}
:root[data-theme="light"] .pp-seg-opt input:focus-visible + span{outline:2px solid #905b23}
:root[data-theme="light"] .pp-value{color:#201e1c}
:root[data-theme="light"] .pp-range{background:transparent}
:root[data-theme="light"] .pp-range::-webkit-slider-runnable-track{background:linear-gradient(90deg,#e2ab77 var(--fill,50%),#3a3c3d var(--fill,50%))}
:root[data-theme="light"] .pp-range::-moz-range-track{background:linear-gradient(90deg,#e2ab77 var(--fill,50%),#3a3c3d var(--fill,50%))}
:root[data-theme="light"] .pp-range::-webkit-slider-thumb{background:#1d1c19;border:0;box-shadow:0 1px 4px #28201629,0 0 0 3px #905b2333}
:root[data-theme="light"] .pp-range::-moz-range-thumb{background:#1d1c19;border:0;box-shadow:0 1px 4px #28201629}
:root[data-theme="light"] .pp-range:focus-visible{outline:none}
:root[data-theme="light"] .pp-range:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px #905b2399}
:root[data-theme="light"] .pp-icon-btn{border:1px solid #ddd9d4;color:#2c2a28}
:root[data-theme="light"] .pp-icon-btn:hover{background:#1716140d}
:root[data-theme="light"] .pp-icon-btn.is-on{background:#e2ab77;border-color:#e2ab77;color:#1a1612}
:root[data-theme="light"] .pp-num > span{color:#64625f}
:root[data-theme="light"] .pp-num em{color:#8f8b86}
:root[data-theme="light"] .pp .property-input:focus{border-color:#8a5f2f;outline:none}
:root[data-theme="light"] .pp-trimviz{background:#f8f4ef;border:1px solid #e9e5e0}
:root[data-theme="light"] .pp-trimviz-strip i{background:center/cover no-repeat}
:root[data-theme="light"] .pp-trimviz-mask{background:#faf6f1d9}
:root[data-theme="light"] .pp-trimviz-range{border:2px solid #905b23;box-shadow:0 0 0 1px #28201626}
:root[data-theme="light"] .pp-trimviz-scale{color:#8f8b86}
:root[data-theme="light"] .pp-swatch{background:var(--sw);box-shadow:inset 0 0 0 1px #17161426}
:root[data-theme="light"] .pp-swatch:has(input:checked){box-shadow:0 0 0 2px #28201629,0 0 0 4px #905b23}
:root[data-theme="light"] .pp-swatch:has(input:focus-visible){outline:2px solid #905b23}
:root[data-theme="light"] .pp-swatch-custom{background:conic-gradient(#f87171,#fbbf24,#a3e635,#22d3ee,#818cf8,#f472b6,#f87171)}
:root[data-theme="light"] .pp-swatch-custom input{border:0}
:root[data-theme="light"] .pp-btn{border:1px solid #d9d5d0;background:#eeeae5;color:#242220}
:root[data-theme="light"] .pp-btn:hover{background:#e7e3de;border-color:#c7c3be}
:root[data-theme="light"] .pp-btn.ghost{background:transparent}
:root[data-theme="light"] .pp-btn.ghost:hover{background:#1716140a}
:root[data-theme="light"] .pp-btn.danger{color:#9a5145;border-color:#dfc9c5;background:#f3efea}
:root[data-theme="light"] .pp-btn.danger:hover{background:#eeeae5;border-color:#7a4a43}
:root[data-theme="light"] .pp-empty-hero svg{background:#905b2314;color:#8a5f2f}
:root[data-theme="light"] .pp-empty-hero h3{color:#201f1d}
:root[data-theme="light"] .pp-empty-hero p{color:#64625f}
:root[data-theme="light"] .pp-keys li{color:#464441}
:root[data-theme="light"] .pp kbd{border:1px solid #d9d5d0;background:#f1ede8;color:#242220}
:root[data-theme="light"] .dr-header{border-bottom:1px solid #eae6e1}
:root[data-theme="light"] .dr-id h3{color:#1e1d1b}
:root[data-theme="light"] .dr-mode{color:#545250}
:root[data-theme="light"] .dr-mode i{background:#64625f}
:root[data-theme="light"] .dr-mode.is-live i{background:#2f7957;box-shadow:0 0 0 3px #2f795722}
:root[data-theme="light"] .dr-new{border:1px solid #d9d5d0;color:#2c2a28}
:root[data-theme="light"] .dr-new:hover{background:#1716140a;border-color:#c7c3be}
:root[data-theme="light"] .dr-hero{background:radial-gradient(circle at 30% 25%,#905b2340,#905b230d 70%);border:1px solid #905b2333;color:#886031}
:root[data-theme="light"] .dr-welcome h3{color:#1e1d1b}
:root[data-theme="light"] .dr-welcome p{color:#64625f}
:root[data-theme="light"] .dr-suggest{border:1px solid #e7e3de;background:#f4f0eb}
:root[data-theme="light"] .dr-suggest:hover{border-color:#905b2380;background:#f3efea}
:root[data-theme="light"] .dr-suggest svg{color:#8a5f2f}
:root[data-theme="light"] .dr-suggest strong{color:#201e1c}
:root[data-theme="light"] .dr-suggest span{color:#64625f}
:root[data-theme="light"] .dr-user .dr-bubble{background:#e7e3de;border:1px solid #d1cdc8;color:#1f1d1b}
:root[data-theme="light"] .dr-avatar{background:#efebe6;border:1px solid #d4d0cb;color:#8a5e30}
:root[data-theme="light"] .dr-text{color:#2f2d2b}
:root[data-theme="light"] .dr-agent.is-error .dr-avatar{background:#f3efea;border-color:#dfc9c5;color:#9a5145}
:root[data-theme="light"] .dr-agent.is-error .dr-text{color:#8b5b52}
:root[data-theme="light"] .dr-result{border:1px solid #e7e3de;background:#f6f1ed}
:root[data-theme="light"] .dr-result-head{border-bottom:1px solid #ece8e3;color:#42755b}
:root[data-theme="light"] .dr-result.is-undone .dr-result-head{color:#64625f}
:root[data-theme="light"] .dr-result.is-undone ul{text-decoration:line-through}
:root[data-theme="light"] .dr-result li{color:#373533}
:root[data-theme="light"] .dr-result li svg{color:#8a5f2f}
:root[data-theme="light"] .dr-undo{border:1px solid #d9d5d0;color:#242220}
:root[data-theme="light"] .dr-undo:hover{background:#1716140d}
:root[data-theme="light"] .dr-thinking{color:#545250}
:root[data-theme="light"] .dr-thinking i{background:#e2ab77}
:root[data-theme="light"] .dr-chip{border:1px solid #d9d5d0;color:#302e2c}
:root[data-theme="light"] .dr-chip:hover{border-color:#905b2380;color:#866035}
:root[data-theme="light"] .dr-chip svg{color:#8a5f2f}
:root[data-theme="light"] .dr-context{color:#64625f}
:root[data-theme="light"] .dr-context svg{color:#8a5f2f}
:root[data-theme="light"] .dr-context-label{color:#2c2a28}
:root[data-theme="light"] .dr-keys{color:#8f8b86}
:root[data-theme="light"] .dr-keys kbd{border:1px solid #d9d5d0;background:#f1ede8;color:#4d4b48}
:root[data-theme="light"] .dr-box .send-button:disabled{background:#ddd9d4;color:#807e7b}
:root[data-theme="light"] .preview-badge{background:#1716140a;border:1px solid #17161412}
:root[data-theme="light"] .preview-badge .preview-dot{background:#64625f}
:root[data-theme="light"] .preview-badge[data-state="playing"]{color:#42765c;border-color:#2f795733;background:#2f795712}
:root[data-theme="light"] .preview-badge[data-state="playing"] .preview-dot{background:#2f7957}
:root[data-theme="light"] .preview-badge[data-state="buffering"]{color:#876032;border-color:#905b2333;background:#905b2312}
:root[data-theme="light"] .preview-badge[data-state="buffering"] .preview-dot{background:#e2ab77}
:root[data-theme="light"] .small-toolbar-btn{border:1px solid transparent}
:root[data-theme="light"] .small-toolbar-btn.is-on{color:#866035;background:#905b2314;border-color:#905b2340}
:root[data-theme="light"] .ratio-glyph i{border:1.5px solid currentColor}
:root[data-theme="light"] #ratioBtn[aria-expanded="true"]{background:#f0ece7;color:#1f1d1b}
:root[data-theme="light"] .ratio-menu{background:#f4f0eb;border:1px solid #ddd9d4;box-shadow:0 16px 40px #28201629}
:root[data-theme="light"] .ratio-opt{color:#2c2a28}
:root[data-theme="light"] .ratio-opt:hover{background:#1716140d}
:root[data-theme="light"] .ratio-opt.is-current{background:#905b2314}
:root[data-theme="light"] .ratio-opt .ratio-glyph{background:#f8f4ef;color:#8a5f2f}
:root[data-theme="light"] .ratio-text strong{color:#201e1c}
:root[data-theme="light"] .ratio-text em{color:#64625f}
:root[data-theme="light"] .ratio-text small{color:#64625f}
:root[data-theme="light"] .ratio-opt > svg{color:#905b23}
:root[data-theme="light"] .preview-section{background:radial-gradient(ellipse 70% 60% at 50% 45%,#f6f1ec 0,#f9f4ef 70%)}
:root[data-theme="light"] .preview-stage.is-fullscreen{background:#fffdfb}
:root[data-theme="light"] .preview-stage.is-fullscreen .preview-frame{box-shadow:none}
:root[data-theme="light"] .canvas-guide{border:0}
:root[data-theme="light"] .canvas-guide .guide-action{border:1px solid #ffffff40}
:root[data-theme="light"] .canvas-guide .guide-inner{border:1px dashed #e2ab77aa}
:root[data-theme="light"] .canvas-guide span{color:#ffffffb0;text-shadow:0 1px 2px #000}
:root[data-theme="light"] .canvas-guide .guide-inner span{color:#f0c79c}
:root[data-theme="light"] .canvas-guide .guide-cross{background:linear-gradient(#ffffff80,#ffffff80) center/1px 100% no-repeat,linear-gradient(#ffffff80,#ffffff80) center/100% 1px no-repeat}
:root[data-theme="light"] .canvas-guide .guide-ui{background:repeating-linear-gradient(135deg,#ff6b6b1f 0 6px,transparent 6px 12px);border:1px dashed #ff8a8a66}
:root[data-theme="light"] .po-play{background:#0b0b0cb3;color:#fff;box-shadow:0 8px 24px #0008,inset 0 0 0 1px #ffffff26}
:root[data-theme="light"] .po-play:hover{background:#000d}
:root[data-theme="light"] .po-bar{background:linear-gradient(transparent,#000c)}
:root[data-theme="light"] .po-time{color:#f2efe9;text-shadow:0 1px 2px #000}
:root[data-theme="light"] .po-track:before{background:#ffffff38}
:root[data-theme="light"] .po-fill{background:#e2ab77}
:root[data-theme="light"] .po-fill:after{background:#fff;box-shadow:0 1px 4px #0009}
:root[data-theme="light"] .po-icon{color:#f2efe9}
:root[data-theme="light"] .po-icon:hover{background:#ffffff1f}
:root[data-theme="light"] .preview-empty{background:radial-gradient(circle at 50% 40%,#f1ede8,#f7f3ee)}
:root[data-theme="light"] .pe-icon{background:#905b2314;border:1px solid #905b2333;color:#8a5e30}
:root[data-theme="light"] .preview-empty strong{color:#1e1d1b}
:root[data-theme="light"] .preview-empty > span:not(.pe-icon){color:#64625f}
:root[data-theme="light"] .pe-btn{border:1px solid #d9d5d0;color:#242220}
:root[data-theme="light"] .pe-btn:hover{background:#1716140d}
:root[data-theme="light"] .pe-btn.primary{background:#23211f;border-color:#23211f;color:#f6f1ed}
:root[data-theme="light"] .pe-btn.primary:hover{background:#1a1816}
:root[data-theme="light"] .pcl-dot{background:#bdb9b4}
:root[data-theme="light"] .preview-helper.has-clip .pcl-dot{background:#e2ab77}
:root[data-theme="light"] .pcl-name{color:#373533}
:root[data-theme="light"] .pb-chip{background:#17161408;border:1px solid #1716140f;color:#4d4b48}
:root[data-theme="light"] #previewTimecode{color:#876032}
:root[data-theme="light"] .app-header{background:linear-gradient(180deg,#f8f4ef,#f9f5f0)}
:root[data-theme="light"] .brand-mark{color:#8a5f2c}
:root[data-theme="light"] .brand-dot{color:#8a5f2c}
:root[data-theme="light"] .beta-tag{color:#64625f}
:root[data-theme="light"] .project-title-wrap{border:1px solid transparent}
:root[data-theme="light"] .project-title-wrap:hover{background:#17161408;border-color:#17161412}
:root[data-theme="light"] .project-title-wrap:focus-within{background:#faf6f1;border-color:#8a5f2f}
:root[data-theme="light"] .app-header .project-name{color:#1e1d1b}
:root[data-theme="light"] .project-edit{color:#8f8b86}
:root[data-theme="light"] .project-meta{color:#64625f}
:root[data-theme="light"] .save-state[data-state="saved"] .save-icon{color:#2f7957}
:root[data-theme="light"] .save-state[data-state="saving"] .save-icon{color:#905b23}
:root[data-theme="light"] .save-state[data-state="dirty"] .save-icon:before{background:#e2ab77}
:root[data-theme="light"] .save-state[data-state="error"]{color:#9a5145}
:root[data-theme="light"] .save-state[data-state="error"] .save-icon{color:#9a5145}
:root[data-theme="light"] .app-header .saved-label{color:inherit}
:root[data-theme="light"] .meta-sep{background:#bdb9b4}
:root[data-theme="light"] .project-meta-text{color:#797774}
:root[data-theme="light"] .online-chip{border:1px solid #17161412;background:#17161406;color:#4d4b48}
:root[data-theme="light"] .online-chip .online-dot{background:#64625f}
:root[data-theme="light"] .online-chip[data-state="ready"] .online-dot{background:#e2ab77}
:root[data-theme="light"] .online-chip[data-state="live"]{color:#42765c;border-color:#2f795733;background:#2f79570f}
:root[data-theme="light"] .online-chip[data-state="live"] .online-dot{background:#2f7957;box-shadow:0 0 0 3px #2f795722}
:root[data-theme="light"] .online-chip[data-state="warn"]{color:#876032;border-color:#905b2333;background:#905b230f}
:root[data-theme="light"] .online-chip[data-state="warn"] .online-dot{background:#e2ab77}
:root[data-theme="light"] .history-group{border:1px solid #e3deda;background:#f6f2ed}
:root[data-theme="light"] .history-sep{background:#e3deda}
:root[data-theme="light"] .app-header .button-primary{background:#23211f;color:#f6f1ed;box-shadow:inset 0 1px 0 #17161488,0 4px 14px #28201621}
:root[data-theme="light"] .app-header .button-primary:hover{background:#1a1816}
:root[data-theme="light"] .app-header .cloud-account-btn{background:#f6f2ed;border-color:#e3deda}
:root[data-theme="light"] .app-header .cloud-account-btn:hover{background:#f2eee9;border-color:#c7c3be}
:root[data-theme="light"] .app-header .cloud-avatar{background:linear-gradient(140deg,#e9bc8b,#c98f5a)}
:root[data-theme="light"] .nav-rail{background:#f9f5f0}
:root[data-theme="light"] .nav-bottom{border-top:1px solid #f3efea}
:root[data-theme="light"] .rail-indicator{background:#905b2312;box-shadow:inset 0 0 0 1px #905b2326}
:root[data-theme="light"] .rail-indicator:before{background:#e2ab77}
:root[data-theme="light"] .nav-rail .rail-item{color:#615f5d}
:root[data-theme="light"] .nav-rail .rail-item.active{background:transparent;color:#201e1c}
:root[data-theme="light"] .nav-rail .rail-item:hover{background:#17161408;color:#201e1c}
:root[data-theme="light"] .nav-rail .rail-item.active:hover{background:transparent}
:root[data-theme="light"] .nav-rail .rail-item.active .rail-icon{color:#8c5d28}
:root[data-theme="light"] .rail-sep{background:#eee9e5}
:root[data-theme="light"] .rail-badge{background:#e2ab77;color:#1a1612;box-shadow:0 0 0 2px #28201629}
:root[data-theme="light"] #railCollapse[aria-pressed="true"]{color:#8c5d28}
:root[data-theme="light"] .preview-section{background:#faf6f1}
:root[data-theme="light"] .preview-frame{background:#000;box-shadow:0 0 0 1px #2a2c2e,0 18px 50px #000c}
:root[data-theme="light"] .viewer-burnin{color:#fff}
:root[data-theme="light"] .viewer-burnin span{background:#000000a6}
:root[data-theme="light"] .vb-tc{color:#ffd9ae}
:root[data-theme="light"] .vb-res{color:#d6d3cc}
:root[data-theme="light"] .po-range{background:#e2ab7733;box-shadow:inset 0 0 0 1px #e2ab7799}
:root[data-theme="light"] .ruler-inout{background:#905b231f;border-left:0}
:root[data-theme="light"] .ruler-inout .ri-in,:root[data-theme="light"] .ruler-inout .ri-out{background:#e2ab77}
:root[data-theme="light"] .ruler-inout .ri-in:after,:root[data-theme="light"] .ruler-inout .ri-out:after{border-top:2px solid #905b23}
:root[data-theme="light"] .monitor-bar{border-top:1px solid #f3efea;background:#f8f4ef}
:root[data-theme="light"] .mb-center{background:#faf6f1;border:1px solid #f1ede8}
:root[data-theme="light"] .mb-btn{color:#3e3c39}
:root[data-theme="light"] .mb-btn:hover:not(:disabled){background:#1716140f;color:#1e1d1b}
:root[data-theme="light"] .mb-btn.is-on{color:#8c5d28;background:#905b2314}
:root[data-theme="light"] .mb-play{background:#23211f;color:#f8f4ef}
:root[data-theme="light"] .mb-play:hover:not(:disabled){background:#1a1816 !important;color:#f8f4ef !important}
:root[data-theme="light"] .mb-select{border:1px solid #ece8e3;color:#2c2a28}
:root[data-theme="light"] .mb-menu{background:#f4f0eb;border:1px solid #ddd9d4;box-shadow:0 14px 34px #28201629}
:root[data-theme="light"] .mb-menu-opt{color:#242220}
:root[data-theme="light"] .mb-menu-opt small{color:#64625f}
:root[data-theme="light"] .mb-menu-opt:hover{background:#1716140d}
:root[data-theme="light"] .mb-menu-opt.is-current{color:#8c5d28;background:#905b2314}
:root[data-theme="light"] .mb-tc{color:#8a5f27}
:root[data-theme="light"] .mb-dur{color:#807e7b}
:root[data-theme="light"] .mb-res{color:#807e7b;border:1px solid #f1ede8}
:root[data-theme="light"] .mb-range{background:#905b2312;border:1px solid #905b2340;color:#876032}
:root[data-theme="light"] .mb-range-clear{color:#876032}
:root[data-theme="light"] .mb-range-clear:hover{background:#905b2326}
:root[data-theme="light"] .preview-empty{background:#fdf9f4}
:root[data-theme="light"] .preview-empty:before{background:linear-gradient(#17161405 1px,transparent 1px) 0 0/100% 25%,linear-gradient(90deg,#17161405 1px,transparent 1px) 0 0/25% 100%}
:root[data-theme="light"] .pe-tick{border-color:#905b2399}
:root[data-theme="light"] .pe-kicker{color:#905b23}
:root[data-theme="light"] .preview-empty .pe-slate strong{color:#1e1d1b}
:root[data-theme="light"] .pe-sub{color:#797774}
:root[data-theme="light"] .pe-keys{color:#8f8b86}
:root[data-theme="light"] .pe-keys kbd{border:1px solid #eae6e1;background:#f8f4ef;color:#4d4b48}
:root[data-theme="light"] .preview-empty{background:none !important}
:root[data-theme="light"] .pe-card{border:1.5px dashed #ddd9d4;background:#17161404}
:root[data-theme="light"] .preview-empty.is-drag .pe-card{border-color:#905b23;background:#905b230d}
:root[data-theme="light"] .pe-ghost{border:1.5px solid #c7c3be;background:repeating-linear-gradient(135deg,#17161405 0 6px,transparent 6px 12px);color:#8a5e30}
:root[data-theme="light"] .preview-empty.is-drag .pe-ghost{border-color:#905b23}
:root[data-theme="light"] .pe-ghost-label{color:#8f8b86}
:root[data-theme="light"] .preview-empty .pe-kicker{color:#8a5f2f}
:root[data-theme="light"] .pe-title{color:#1e1d1b}
:root[data-theme="light"] .preview-empty .pe-sub{color:#64625f}
:root[data-theme="light"] .preview-empty .pe-btn.primary{box-shadow:0 4px 14px #28201621}
:root[data-theme="light"] .preview-empty .pe-keys{color:#8f8b86}
:root[data-theme="light"] .preview-empty .pe-keys kbd{border:1px solid #eae6e1;background:#f7f3ee;color:#4d4b48}
:root[data-theme="light"] .pe-card{border:0 !important;background:none !important}
:root[data-theme="light"] .pe-ghost{border-color:#ddd9d4;background:none}
:root[data-theme="light"] .preview-empty:after{border:1.5px dashed #905b23;background:#905b230a}
:root[data-theme="light"] .preview-empty.is-drag .pe-ghost{border-color:#905b23;color:#8c5d28}
:root[data-theme="light"] .pe-icon2{background:#1716140a;color:#87603a}
:root[data-theme="light"] .pe-card .pe-title{color:#201e1c}
:root[data-theme="light"] .pe-card .pe-sub{color:#676462}
:root[data-theme="light"] .pe-card .pe-btn{box-shadow:none !important}
:root[data-theme="light"] .pe-card .pe-btn.ghost{border-color:transparent;background:none;color:#413f3d}
:root[data-theme="light"] .pe-card .pe-btn.ghost:hover{background:#1716140a;color:#201e1c}
:root[data-theme="light"] .preview-empty.is-drag .pe-icon2{background:#905b231f;color:#8c5d28}
@media (max-width:700px){
:root[data-theme="light"] .mobile-bottom-nav{background:#f8f4ef !important;border-top:1px solid #f1ede8 !important}
:root[data-theme="light"] .mobile-bottom-nav button{color:#615f5d !important}
:root[data-theme="light"] .mobile-bottom-nav button.mobile-nav-active{color:#211f1d !important}
:root[data-theme="light"] .mobile-bottom-nav button.mobile-nav-active > span:first-child{background:#905b2326;color:#8c5d28}
:root[data-theme="light"] .mobile-tools{border-bottom:1px solid #f3efea}
:root[data-theme="light"] .mt-chip{border:1px solid #eae6e1;background:#f6f1ed;color:#413f3d}
:root[data-theme="light"] .mt-chip.is-active{background:#905b2322;border-color:#905b2366;color:#80633f}
:root[data-theme="light"] .modal{border-bottom:0 !important}
:root[data-theme="light"] .modal:before{background:#c7c3be}
}
@media (min-width:701px) and (max-width:980px){
:root[data-theme="light"] #rightToggleBtn.is-on{color:#8c5d28;background:#905b2314}
}
:root[data-theme="light"] .text-select{border:1.5px solid #e2ab77;box-shadow:0 0 0 1px #0008,inset 0 0 0 1px #0006}
:root[data-theme="light"] .ts-label{background:#e2ab77;color:#1a1612}
:root[data-theme="light"] .ts-handle{background:#fff;border:2px solid #e2ab77;box-shadow:0 1px 4px #0009}
:root[data-theme="light"] .text-guides i{background:#ff5fa2;box-shadow:0 0 0 .5px #0006}
:root[data-theme="light"] .pp-custom{color:#876032;background:#905b2314}
:root[data-theme="light"] .pp-hint{color:#8f8b86}
:root[data-theme="light"] .fade-veil{background:#000}
:root[data-theme="light"] .pp-look{border:1px solid #eae6e1;background:#f6f2ed;color:#413f3d}
:root[data-theme="light"] .pp-look:hover{border-color:#c7c3be;color:#201e1c}
:root[data-theme="light"] .pp-look.is-on{border-color:#905b23;background:#905b2312;color:#80633f}
:root[data-theme="light"] .pp-look-swatch{background:linear-gradient(135deg,#d98b5f 0%,#e6c27a 35%,#5f8f8a 70%,#2e4a63 100%)}
:root[data-theme="light"] .pp-btn.is-on{color:#8c5d28;border-color:#905b2366;background:#905b2314}
:root[data-theme="light"] .ruler-marker:before{background:#2f7957}
:root[data-theme="light"] .ruler-marker:after{background:#2f795766}
:root[data-theme="light"] .timeline-tool.is-on{color:#8c5d28;background:#905b2314}
:root[data-theme="light"] .clip-overhang{background:repeating-linear-gradient(135deg,#fffdfb00 0 5px,#fffdfb66 5px 10px);border-left:1.5px dashed #17161473}
:root[data-theme="light"] .trim-badge{background:#f9f5f0f2;border:1px solid #905b2366;color:#2c2a28;box-shadow:0 6px 18px #28201629}
:root[data-theme="light"] .trim-badge b{color:#80633f}
:root[data-theme="light"] .trim-badge i{background:#ff5fa2;color:#1a0d12}
:root[data-theme="light"] .trim-badge em{color:#9a5145}
:root[data-theme="light"] .snap-guide{border-left:1px solid #ba1769;box-shadow:0 0 0 .5px #ba176955}
:root[data-theme="light"] .pp-warn{background:#905b2314;border:1px solid #905b2340;color:#876032}
:root[data-theme="light"] .pp-help kbd{border:1px solid #d9d5d0;background:#f1ede8;color:#242220}
:root[data-theme="light"] .tl-sel{border:1px solid transparent}
:root[data-theme="light"] .tl-sel.has-selection{border-color:#905b2333;background:#905b230a}
:root[data-theme="light"] .tl-sel-name{color:#80633f}
:root[data-theme="light"] .tl-sel-name svg{color:#905b23}
:root[data-theme="light"] .timeline-tool.tl-act:not(:disabled):hover{background:#1716140f;color:#1e1d1b}
:root[data-theme="light"] .timeline-tool.tl-danger:not(:disabled):hover{background:#9a514514;color:#9a5145}
@container editor (max-width:600px){
:root[data-theme="light"] .tl-sel{border:0;background:none}
}
:root[data-theme="light"] .cut-btn{border:1px solid #17161433;background:#f5f1ece6;color:#353330}
:root[data-theme="light"] .cut-btn:hover{background:#eeeae5;border-color:#905b23;color:#80633f}
:root[data-theme="light"] .cut-btn.has-xfade{background:#e2ab77;border-color:#e2ab77;color:#1a1612}
:root[data-theme="light"] .cut-btn.selected{box-shadow:0 0 0 2px #28201629,0 0 0 4px #905c1e}
:root[data-theme="light"] .xfade-band{background:linear-gradient(90deg,#905b2300,#905b2359 50%,#905b2300);box-shadow:inset 0 0 0 1px #905b2366}
:root[data-theme="light"] .xfade-band.selected{box-shadow:inset 0 0 0 1.5px #905c1e}
:root[data-theme="light"] .pp-thumb-xf{background:linear-gradient(90deg,#3b3f45,#7a5c40);color:#f3d3ae}
:root[data-theme="light"] .tl-v2 .timeline-heading{color:#201e1c}
:root[data-theme="light"] .tl-v2 .timeline-clip-count{color:#797774}
:root[data-theme="light"] .tl-group{background:#faf6f1;border:1px solid #f2eee9}
:root[data-theme="light"] .tl-v2 .timeline-tool{color:#4d4b48}
:root[data-theme="light"] .tl-v2 .timeline-tool:hover:not(:disabled){background:#1716140d;color:#1e1d1b}
:root[data-theme="light"] .tl-v2 .timeline-tool.active{background:#905b231f;color:#8c5d28;box-shadow:inset 0 0 0 1px #905b2340}
:root[data-theme="light"] .tl-v2 .tl-sel{border:1px solid #f2eee9;background:#faf6f1}
:root[data-theme="light"] .tl-v2 .tl-sel.has-selection{border-color:#905b2340;background:#905b230a}
:root[data-theme="light"] .tl-v2 .tl-toggle{border:1px solid #f2eee9;background:#faf6f1}
:root[data-theme="light"] .tl-v2 .tl-toggle.is-on{color:#8c5d28;background:#905b2314;border-color:#905b2340}
:root[data-theme="light"] .tl-zoom .zoom-value{color:#413f3d}
:root[data-theme="light"] .tl-v2 .tl-fit{background:#f5f1ec;color:#2c2a28}
:root[data-theme="light"] .tl-zoom-slider{background:transparent}
:root[data-theme="light"] .tl-zoom-slider::-webkit-slider-runnable-track{background:linear-gradient(90deg,#e2ab77 var(--fill,50%),#3a3c3d var(--fill,50%))}
:root[data-theme="light"] .tl-zoom-slider::-moz-range-track{background:linear-gradient(90deg,#e2ab77 var(--fill,50%),#3a3c3d var(--fill,50%))}
:root[data-theme="light"] .tl-zoom-slider::-webkit-slider-thumb{background:#1d1c19;box-shadow:0 1px 3px #28201629}
:root[data-theme="light"] .tl-zoom-slider::-moz-range-thumb{border:0;background:#1d1c19}
:root[data-theme="light"] .tl-zoom-slider:focus-visible{outline:none}
:root[data-theme="light"] .tl-zoom-slider:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px #905b2399}
:root[data-theme="light"] .kf-toggle{border:1px solid #d9d5d0;color:#2c2a28}
:root[data-theme="light"] .kf-toggle:hover{background:#1716140a}
:root[data-theme="light"] .kf-toggle.is-on{color:#8c5d28;border-color:#905b2366;background:#905b2314}
:root[data-theme="light"] .kf-toggle.is-on svg{fill:#905b23}
:root[data-theme="light"] .kf-nav{background:#f8f4ef;border:1px solid #ece8e3}
:root[data-theme="light"] .kf-btn{color:#3e3c39}
:root[data-theme="light"] .kf-btn:hover{background:#1716140f;color:#1e1d1b}
:root[data-theme="light"] .kf-add.is-key{color:#1a1612;background:#e2ab77}
:root[data-theme="light"] .kf-add.is-key svg{fill:#f8f3ee}
:root[data-theme="light"] .kf-track{background:#f8f4ef;border:1px solid #ece8e3}
:root[data-theme="light"] .kf-track:before{background:#ddd9d4}
:root[data-theme="light"] .kf-dia{background:#e2ab77;border:1.5px solid #1a1612;box-shadow:0 0 0 1px #905b23}
:root[data-theme="light"] .kf-dia:hover{background:#1b1a18}
:root[data-theme="light"] .kf-now{background:#1d1c19}
:root[data-theme="light"] .kf-foot{color:#797774}
:root[data-theme="light"] .kf-dots i{background:#e2ab77;border:1px solid #1a1612}
:root[data-theme="light"] .clip-block.is-lifted{box-shadow:0 10px 26px #28201629,0 0 0 1.5px #905c1e !important}
:root[data-theme="light"] .reorder-marker{border-left:3px solid #905c1e;box-shadow:0 0 12px #905b23aa}
:root[data-theme="light"] .reorder-marker:before{background:#905c1e}
:root[data-theme="light"] #playheadLine .playhead-handle:hover{filter:brightness(1.15)}
:root[data-theme="light"] .brand-link{color:inherit;text-decoration:none}
:root[data-theme="light"] .brand-link:hover{background:#1716140a}
:root[data-theme="light"] .po-play{background:#0b0b0c80;box-shadow:0 4px 14px #0006,inset 0 0 0 1px #ffffff2e}
:root[data-theme="light"] .po-play:hover{background:#000000b3}
:root[data-theme="light"] .dr-dock-btn{color:inherit}
:root[data-theme="light"] .dr-dock-btn:hover,:root[data-theme="light"] .dr-dock-btn:active{background:color-mix(in srgb,currentColor 9%,transparent)}
:root[data-theme="light"] .dr-grab{background:transparent}
:root[data-theme="light"] .dr-grab::before{background:currentColor}
:root[data-theme="light"] .dr-grab:focus-visible{outline:none}
:root[data-theme="light"] .dr-grab:focus-visible::before{box-shadow:0 0 0 3px color-mix(in srgb,currentColor 25%,transparent)}
@media all{
:root[data-theme="light"] .right-panel.is-ai{--dk-card:#f4efea;--dk-line:#e3dfda;--dk-chip:#eee9e5;--dk-muted:#63615e;--dk-accent:#8c5d2a;--dk-send:#22201e;--dk-send-ink:#f6f2ed}
:root[data-theme="light"] .right-panel.is-ai.is-open:not(.is-expanded){border-top:1px solid var(--dk-line);box-shadow:0 -8px 24px #28201612}
:root[data-theme="light"] .right-panel.is-ai .dr-header{border-bottom:0 !important}
:root[data-theme="light"] .right-panel.is-ai .dr-mode{background:var(--dk-chip);color:var(--dk-muted)}
:root[data-theme="light"] .right-panel.is-ai .dr-compose{border:1px solid var(--dk-line) !important;background:var(--dk-card) !important}
:root[data-theme="light"] .right-panel.is-ai .dr-compose:focus-within{border-color:color-mix(in srgb,var(--dk-accent) 70%,transparent) !important;box-shadow:0 0 0 3px color-mix(in srgb,var(--dk-accent) 16%,transparent)}
:root[data-theme="light"] .right-panel.is-ai .dr-context{background:var(--dk-chip)}
:root[data-theme="light"] .right-panel.is-ai .dr-box{border:0 !important;background:transparent !important}
:root[data-theme="light"] .right-panel.is-ai .dr-box:focus-within{border:0}
:root[data-theme="light"] .right-panel.is-ai .dr-box .dr-input{background:transparent}
:root[data-theme="light"] .right-panel.is-ai .dr-box .dr-input::placeholder{color:var(--dk-muted)}
:root[data-theme="light"] .right-panel.is-ai .dr-footnote{color:var(--dk-muted)}
:root[data-theme="light"] .right-panel.is-ai .dr-footnote i{background:currentColor}
:root[data-theme="light"] .right-panel.is-ai .send-button{background:var(--dk-send);color:var(--dk-send-ink)}
:root[data-theme="light"] .right-panel.is-ai .send-button:disabled{background:var(--dk-chip);color:var(--dk-muted)}
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-welcome p{color:var(--dk-muted)}
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest-grid{border:1px solid var(--dk-line);background:var(--dk-card)}
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest-grid::before{color:var(--dk-muted)}
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest{border:0;background:transparent}
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest + .dr-suggest::before{background:var(--dk-line)}
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest::after{border-top:1.6px solid currentColor;border-right:1.6px solid currentColor}
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest:hover{background:transparent}
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest:active{background:var(--dk-chip)}
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest svg{background:var(--dk-chip)}
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest span{color:var(--dk-muted)}
:root[data-theme="light"] .right-panel.is-ai.is-open.kb-open:not(.is-expanded){box-shadow:0 -8px 30px #2820161c}
:root[data-theme="light"] .right-panel.is-ai .right-header{border-bottom:0 !important}
:root[data-theme="light"] .right-panel.is-ai .right-tabs{background:var(--dk-chip)}
:root[data-theme="light"] .right-panel.is-ai .right-tab{color:var(--dk-muted)}
:root[data-theme="light"] .right-panel.is-ai .right-tab.active{background:var(--dk-card);color:inherit;box-shadow:0 1px 3px #28201614}
:root[data-theme="light"] .right-panel.is-ai .pp-section{background:var(--dk-card) !important;border:1px solid var(--dk-line) !important}
}
@media all{
:root[data-theme="light"] .right-panel.is-ai .pp-thumb{box-shadow:0 2px 8px #00000040;border-color:color-mix(in srgb,currentColor 12%,transparent)}
:root[data-theme="light"] .right-panel.is-ai .pp-kicker{background:var(--dk-chip);color:var(--dk-accent)}
:root[data-theme="light"] .right-panel.is-ai .pp-meta{color:var(--dk-muted)}
:root[data-theme="light"] .right-panel.is-ai .pp-stats{border:1px solid var(--dk-line) !important;background:var(--dk-line) !important}
:root[data-theme="light"] .right-panel.is-ai .pp-stats > div{background:var(--dk-card) !important}
:root[data-theme="light"] .right-panel.is-ai .pp-stats span{color:var(--dk-muted) !important}
:root[data-theme="light"] .right-panel.is-ai .pp-trimviz{border-color:var(--dk-line)}
:root[data-theme="light"] .right-panel.is-ai .pp-trimviz-strip i:not(:last-child){box-shadow:inset -1px 0 0 #0000004d}
:root[data-theme="light"] .right-panel.is-ai .pp-trimviz-mask{background:#fbf6f1cc}
:root[data-theme="light"] .right-panel.is-ai .pp-trimviz-scale{color:var(--dk-muted)}
}
@media all{
:root[data-theme="light"] .right-panel.is-ai .pp-head:has(+ .pp-stats){border:1px solid var(--dk-line);border-bottom:0;background:var(--dk-card)}
:root[data-theme="light"] .right-panel.is-ai .pp-head + .pp-stats{border:1px solid var(--dk-line) !important;background:var(--dk-line) !important}
:root[data-theme="light"] .right-panel.is-ai .pp-head + .pp-stats > div{background:var(--dk-card) !important}
}
@media all{
:root[data-theme="light"] .right-panel.is-ai .pp-seg{border:0 !important;background:var(--dk-chip) !important}
:root[data-theme="light"] .right-panel.is-ai .pp-seg-opt span{color:var(--dk-muted) !important;background:transparent !important}
:root[data-theme="light"] .right-panel.is-ai .pp-seg-opt input:checked + span{background:var(--dk-card) !important;color:var(--dk-accent) !important;box-shadow:0 1px 3px #28201612,inset 0 0 0 1px color-mix(in srgb,var(--dk-accent) 30%,transparent)}
:root[data-theme="light"] .right-panel.is-ai .pp-look{border:0 !important;background:transparent !important;color:var(--dk-muted) !important}
:root[data-theme="light"] .right-panel.is-ai .pp-look-swatch{box-shadow:inset 0 0 0 1px #1716141a}
:root[data-theme="light"] .right-panel.is-ai .pp-look.is-on{color:inherit !important}
:root[data-theme="light"] .right-panel.is-ai .pp-look.is-on .pp-look-swatch{box-shadow:0 0 0 2px var(--dk-card),0 0 0 4px var(--dk-accent)}
:root[data-theme="light"] .right-panel.is-ai .pp-looks + .pp-slider{border-top:1px solid var(--dk-line)}
:root[data-theme="light"] .right-panel.is-ai .pp-label{color:inherit}
:root[data-theme="light"] .right-panel.is-ai .pp-value{background:var(--dk-chip)}
:root[data-theme="light"] .right-panel.is-ai .pp-section-title .pp-link{background:var(--dk-chip)}
}
@media all{
:root[data-theme="light"] .right-panel.is-ai{--dk-track:#ddd9d4}
:root[data-theme="light"] .right-panel.is-ai .pp-range::-webkit-slider-runnable-track{background:linear-gradient(90deg,var(--dk-accent) var(--fill,50%),var(--dk-track) var(--fill,50%)) !important}
:root[data-theme="light"] .right-panel.is-ai .pp-range::-moz-range-track{background:linear-gradient(90deg,var(--dk-accent) var(--fill,50%),var(--dk-track) var(--fill,50%)) !important}
}
:root[data-theme="light"] .pp-trimviz{--acc:var(--dk-accent,#905b23)}
:root[data-theme="light"] .pp-trimviz .pp-trimviz-range{border:0 !important;border-top:2px solid var(--acc) !important;border-bottom:2px solid var(--acc) !important;box-shadow:none !important}
:root[data-theme="light"] .pp-trimviz[data-drag="body"] .pp-trimviz-range{background:color-mix(in srgb,var(--acc) 14%,transparent)}
:root[data-theme="light"] .pp-tv-handle{border:0 !important;background:var(--acc) !important}
:root[data-theme="light"] .pp-tv-handle::before{background:#f8f3eea6}
:root[data-theme="light"] .pp-tv-handle:focus-visible{outline:none;box-shadow:0 0 0 3px color-mix(in srgb,var(--acc) 45%,transparent)}
:root[data-theme="light"] .pp-trimviz[data-drag="in"] .is-in,:root[data-theme="light"] .pp-trimviz[data-drag="out"] .is-out{box-shadow:0 0 0 3px color-mix(in srgb,var(--acc) 35%,transparent),0 4px 12px #2820161c}
:root[data-theme="light"] .pp-tv-tip{background:#f9f5f0;color:#1d1b19;box-shadow:0 4px 12px #28201621}
:root[data-theme="light"] .pp-tv-kept{color:var(--dk-accent,#8a5f2f)}
:root[data-theme="light"] .pp-step-btn{border:1px solid #d9d5d0;background:#eeeae5;color:#242220}
@media all{
:root[data-theme="light"] .right-panel.is-ai .pp-step-btn{border:0;background:var(--dk-chip);color:inherit}
}
@media all{
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest-grid{border:0;background:transparent}
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest{border:1px solid var(--dk-line) !important;background:var(--dk-card) !important}
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest:active{background:var(--dk-chip) !important;border-color:color-mix(in srgb,var(--dk-accent) 50%,transparent) !important}
}
@media all{
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest{--tint:#8c5d2a;border:0 !important;background:color-mix(in srgb,var(--tint) 9%,var(--dk-card)) !important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tint) 16%,transparent)}
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest:nth-child(4n+1){--tint:#376ca1}
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest:nth-child(4n+2){--tint:#8c5d2a}
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest:nth-child(4n+3){--tint:#9b4f50}
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest:nth-child(4n+4){--tint:#367951}
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest svg{background:color-mix(in srgb,var(--tint) 20%,transparent) !important;color:var(--tint) !important}
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest::after{border-top:1.6px solid currentColor;border-right:1.6px solid currentColor}
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest:active{background:color-mix(in srgb,var(--tint) 16%,var(--dk-card)) !important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tint) 40%,transparent)}
}
@media all{
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest::after{border:0 !important;color:var(--tint)}
}
@media all{
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest,:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest:active{border:0 !important;box-shadow:none !important;background:var(--dk-chip) !important}
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest:active{background:color-mix(in srgb,currentColor 10%,var(--dk-chip)) !important}
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest svg{background:var(--dk-card) !important}
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest::after{color:inherit}
}
@media all{
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest,:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest:active{border:0 !important;box-shadow:none !important;background:var(--dk-chip) !important}
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest:active{background:color-mix(in srgb,var(--dk-accent) 14%,var(--dk-chip)) !important}
:root[data-theme="light"] .right-panel.is-ai.is-expanded .dr-suggest svg{background:none !important;color:var(--dk-accent) !important}
}
:root[data-theme="light"] .dr-hist .dr-result-head{color:#846139}
:root[data-theme="light"] .dr-hist.is-redo .dr-result-head{color:#42755b}
:root[data-theme="light"] .dr-hist-more{border-top:1px solid #ece8e3;color:#31302d}
:root[data-theme="light"] .dr-hist-more:hover{background:#17161408}
@media all{
:root[data-theme="light"] .right-panel.is-ai .dr-hist-more{border-top-color:var(--dk-line)}
}
:root[data-theme="light"] .dr-didyoumean .dr-chip{color:#8c5d28;border-color:#905b2355}
:root[data-theme="light"] .dr-user-actions button{color:#595754}
:root[data-theme="light"] .dr-user-actions button:hover{background:#1716140d;color:#201e1c}
:root[data-theme="light"] .dr-edit{border:1px solid #905b2399;background:#f4f0eb;box-shadow:0 0 0 3px #905b2322}
:root[data-theme="light"] .dr-edit-input{border:0;background:transparent;color:#1e1d1b;outline:none}
:root[data-theme="light"] .dr-edit-hint{color:#64625f}
:root[data-theme="light"] .dr-edit-btn{color:#2c2a28}
:root[data-theme="light"] .dr-edit-btn:hover{background:#1716140d}
:root[data-theme="light"] .dr-edit-btn.is-primary{background:#22201e;color:#f6f2ed}
:root[data-theme="light"] .dr-edit-btn.is-primary:hover{background:#1a1816}
@media (hover:none),(max-width:700px){
:root[data-theme="light"] .right-panel.is-ai .dr-edit{background:var(--dk-card);border-color:color-mix(in srgb,var(--dk-accent) 60%,transparent)}
:root[data-theme="light"] .right-panel.is-ai .dr-edit-input{color:inherit}
:root[data-theme="light"] .right-panel.is-ai .dr-edit-btn.is-primary{background:var(--dk-send);color:var(--dk-send-ink)}
}
:root[data-theme="light"] .dr-session-sep{color:#64625f}
:root[data-theme="light"] .dr-session-sep::before,:root[data-theme="light"] .dr-session-sep::after{background:#17161414}
:root[data-theme="light"] .dr-edit-input,:root[data-theme="light"] .dr-edit-input:focus,:root[data-theme="light"] .dr-edit-input:focus-visible{border:0 !important;outline:none !important;box-shadow:none !important;background:transparent !important}
:root[data-theme="light"] .dr-edit-hint.is-replace{color:#8c5d2a}
@media all{
:root[data-theme="light"] .right-panel.is-ai .dr-edit-hint.is-replace{color:var(--dk-accent)}
}
:root[data-theme="light"] .dr-editing-bar{color:#201e1c}
:root[data-theme="light"] .dr-editing-bar > svg{color:#8c5d2a}
:root[data-theme="light"] .dr-editing-bar em{background:#17161410;color:#4d4b48}
:root[data-theme="light"] .dr-editing-bar em.is-replace{background:#905b2322;color:#8c5d28}
:root[data-theme="light"] .dr-editing-bar button{color:#4d4b48}
:root[data-theme="light"] .dr-editing-bar button:hover{background:#17161410;color:#201e1c}
:root[data-theme="light"] .dr-compose.is-editing{border-color:#905b2399 !important}
:root[data-theme="light"] .dr-user.is-editing-src .dr-bubble{border-color:#905b23aa !important}
@media all{
:root[data-theme="light"] .right-panel.is-ai .dr-compose.is-editing{border-color:color-mix(in srgb,var(--dk-accent) 70%,transparent) !important;box-shadow:0 0 0 3px color-mix(in srgb,var(--dk-accent) 16%,transparent)}
:root[data-theme="light"] .right-panel.is-ai .dr-editing-bar > svg{color:var(--dk-accent)}
:root[data-theme="light"] .right-panel.is-ai .dr-editing-bar em{background:var(--dk-chip);color:var(--dk-muted)}
:root[data-theme="light"] .right-panel.is-ai .dr-editing-bar em.is-replace{background:color-mix(in srgb,var(--dk-accent) 16%,transparent);color:var(--dk-accent)}
:root[data-theme="light"] .right-panel.is-ai .dr-editing-bar button{color:var(--dk-muted)}
}
@media (min-width:701px){
:root[data-theme="light"] .right-panel.is-ai .right-header{border-bottom:0 !important}
:root[data-theme="light"] .right-panel.is-ai .dr-keys{color:var(--dk-muted)}
}
:root[data-theme="light"] #assetContent .fx{--dk-card:#f4efea;--dk-line:#e3dfda;--dk-chip:#eee9e5;--dk-muted:#63615e;--dk-accent:#8c5d2a}
:root[data-theme="light"] #assetContent .fx .pp-section{background:var(--dk-card);border:1px solid var(--dk-line)}
:root[data-theme="light"] .fx-scope{background:var(--dk-chip)}
:root[data-theme="light"] .fx-scope button{color:var(--dk-muted)}
:root[data-theme="light"] .fx-scope button.is-on{background:var(--dk-card);color:inherit;box-shadow:0 1px 3px #28201612}
:root[data-theme="light"] #assetContent .fx .pp-look{border:0;background:transparent;color:var(--dk-muted)}
:root[data-theme="light"] #assetContent .fx .pp-look-swatch{box-shadow:inset 0 0 0 1px #1716141a}
:root[data-theme="light"] #assetContent .fx .pp-look.is-on{color:inherit}
:root[data-theme="light"] #assetContent .fx .pp-look.is-on .pp-look-swatch{box-shadow:0 0 0 2px var(--dk-card),0 0 0 4px var(--dk-accent)}
:root[data-theme="light"] #assetContent .fx .pp-value{background:var(--dk-chip)}
:root[data-theme="light"] .fx-empty{color:var(--dk-muted,#63615e)}
:root[data-theme="light"] .fx-empty svg{background:#905b2314;color:#8a5f2f}
:root[data-theme="light"] .fx-empty h3{color:inherit;filter:brightness(1.6)}
:root[data-theme="light"] .tr-style{background:var(--dk-chip)}
:root[data-theme="light"] .tr-style:hover{background:color-mix(in srgb,var(--dk-accent) 12%,var(--dk-chip))}
:root[data-theme="light"] .tr-style svg{color:var(--dk-accent)}
:root[data-theme="light"] .tr-style span{color:var(--dk-muted)}
:root[data-theme="light"] .tr-cut:hover,:root[data-theme="light"] .tr-cut.is-on{background:var(--dk-chip)}
:root[data-theme="light"] .tr-cut-time{color:var(--dk-muted)}
:root[data-theme="light"] .tr-badge{background:var(--dk-chip);color:var(--dk-muted)}
:root[data-theme="light"] .tr-badge.is-crossfade{background:color-mix(in srgb,var(--dk-accent) 18%,transparent);color:var(--dk-accent)}
:root[data-theme="light"] .tr-badge.is-dip{background:#17161414;color:inherit}
:root[data-theme="light"] .dr-think-text{background-image:linear-gradient(90deg,currentColor 0%,currentColor 40%,#80633f 50%,currentColor 60%,currentColor 100%);-webkit-text-fill-color:transparent}
:root[data-theme="light"] .dr-skeleton span{background-image:linear-gradient(90deg,#1716140d 0%,#1716141f 50%,#1716140d 100%)}
@media (prefers-reduced-motion:reduce){
:root[data-theme="light"] .dr-think-text{-webkit-text-fill-color:currentColor;background:none}
}
:root[data-theme="light"] .ex-summary{background:#f3eee9;border:1px solid #e6e2dd}
:root[data-theme="light"] .ex-thumb{background:#ece8e3 center/cover no-repeat;box-shadow:0 2px 8px #2820161b}
:root[data-theme="light"] .ex-chips span{background:#ece8e3;color:#4d4b48}
:root[data-theme="light"] .ex-label{color:#63615e}
:root[data-theme="light"] .ex-format{border:1px solid #e6e2dd;background:#f4f0eb}
:root[data-theme="light"] .ex-format:hover{border-color:#c7c3be}
:root[data-theme="light"] .ex-format.is-on{border-color:#8c5d2a;background:#8c5d2a12;box-shadow:0 0 0 3px #8c5d2a1f}
:root[data-theme="light"] .ex-format small{color:#4d4b48}
:root[data-theme="light"] .ex-format em{color:#42755b}
:root[data-theme="light"] .ex-format em.is-warn{color:#8c5d28}
:root[data-theme="light"] .ex-size{color:#63615e}
:root[data-theme="light"] .ex-details{border:1px solid #e9e5e0;background:#e9e5e0}
:root[data-theme="light"] .ex-details > div{background:#f4f0eb}
:root[data-theme="light"] .ex-details span{color:#63615e}
:root[data-theme="light"] .ex-details p{background:#f5f1ec;color:#63615e}
/* ---- cloud.css ---- */
:root[data-theme="light"] .cloud-account-btn{border:1px solid #e5e1dc;background:#f3eeea;color:#1e1d1b}
:root[data-theme="light"] .cloud-account-btn:hover{background:#eae5e0;border-color:#b7b3ae}
:root[data-theme="light"] .cloud-avatar{background:#84613d;color:#f8f4ef}
:root[data-theme="light"] .cloud-backdrop{background:#fdf8f3c7}
:root[data-theme="light"] .cloud-dialog{background:#f4f0eb;color:#1e1c1a;border:1px solid #ccc8c3;box-shadow:0 40px 100px #28201629}
:root[data-theme="light"] .cloud-dialog p{color:#43413f}
:root[data-theme="light"] .cloud-kicker{color:#836140 !important}
:root[data-theme="light"] .cloud-x{border:0;background:transparent;color:#4a4846}
:root[data-theme="light"] .cloud-field>span{color:#2d2b29}
:root[data-theme="light"] .cloud-field input{border:1px solid #d5d1cc;background:#f7f3ee;color:#171614;outline:none}
:root[data-theme="light"] .cloud-field input:focus{border-color:#836140;box-shadow:0 0 0 3px #83614020}
:root[data-theme="light"] .cloud-btn{border:1px solid #bcb7b3;background:#eeeae5;color:#1c1a18}
:root[data-theme="light"] .cloud-btn:hover{background:#e1dcd8}
:root[data-theme="light"] .cloud-btn-primary{background:#84613d;color:#f8f3ee;border-color:#84613d}
:root[data-theme="light"] .cloud-btn-primary:hover{background:#875f3a}
:root[data-theme="light"] .cloud-notice{background:#e1ddd8;border:1px solid #775647;color:#875e47}
:root[data-theme="light"] .cloud-project-card{background:#f0ebe6;border:1px solid #e3dfda;color:#201f1d}
:root[data-theme="light"] .cloud-project-card:hover{border-color:#836140}
:root[data-theme="light"] .cloud-project-card small{color:#5d5b59}
:root[data-theme="light"] .cloud-project-card.current{border-color:#836140;background:#eeeae5}
:root[data-theme="light"] .cloud-meta{border:1px solid #e2ded9;background:#f6f1ed;color:#454340}
:root[data-theme="light"] .cloud-progress{background:#f9f4ef}
:root[data-theme="light"] .cloud-progress>div{background:#836140}
:root[data-theme="light"] .cloud-status{color:#464442}
:root[data-theme="light"] .cloud-switch{background:none;border:none;color:#86603b}
:root[data-theme="light"] .cloud-empty{background:#f2eee9;border:1px dashed #d0ccc7}
:root[data-theme="light"] .ws-account{background:#f3eee9;border:1px solid #e6e2dd}
:root[data-theme="light"] .ws-avatar{background:linear-gradient(140deg,#e9bc8b,#c98f5a);color:#1a1612}
:root[data-theme="light"] .ws-acc-text small{color:#63615e}
:root[data-theme="light"] .ws-meter{background:#ddd9d4}
:root[data-theme="light"] .ws-meter i{background:#8c5d2a}
:root[data-theme="light"] .ws-ghost{border:1px solid #d9d5d0;color:#2c2a28}
:root[data-theme="light"] .ws-ghost:hover{background:#1716140a}
:root[data-theme="light"] .ws-list-head h4,:root[data-theme="light"] .ws-section h4{color:#63615e}
:root[data-theme="light"] .ws-list-head h4 span{background:#ece8e3;color:#31302d}
:root[data-theme="light"] .ws-search{border:1px solid #d9d5d0;background:#f5f1ec;color:inherit}
:root[data-theme="light"] .ws-new{background:#8c5d2a;color:#f8f3ee}
:root[data-theme="light"] .ws-new:hover{background:#895f2f}
:root[data-theme="light"] .ws-project{border:1px solid #e9e5e0;background:#f4f0eb}
:root[data-theme="light"] .ws-project:hover{border-color:#c7c3be;background:#f2eee9}
:root[data-theme="light"] .ws-project.is-current{border-color:#8c5d2a99;background:#8c5d2a10}
:root[data-theme="light"] .ws-thumb{background:#eee9e5}
:root[data-theme="light"] .ws-thumb i{border:1.6px solid #8c5d2a}
:root[data-theme="light"] .ws-info small{color:#63615e}
:root[data-theme="light"] .ws-badge{background:#8c5d2a26;color:#8c5d28}
:root[data-theme="light"] .ws-open{color:#63615e}
:root[data-theme="light"] .ws-empty,:root[data-theme="light"] .ws-muted{background:#f4f0eb;color:#63615e}
:root[data-theme="light"] .ws-exports{border:1px solid #e9e5e0}
:root[data-theme="light"] .ws-export{background:#f4f0eb}
:root[data-theme="light"] .ws-export + .ws-export{border-top:1px solid #e9e5e0}
:root[data-theme="light"] .ws-exp-info small{color:#63615e}
:root[data-theme="light"] .ws-pill{background:#ece8e3;color:#4d4b48}
:root[data-theme="light"] .ws-pill.is-completed{background:#2f795722;color:#42755b}
:root[data-theme="light"] .ws-pill.is-running,:root[data-theme="light"] .ws-pill.is-queued{background:#8c5d2a22;color:#8c5d28}
:root[data-theme="light"] .ws-pill.is-failed{background:#9a514522;color:#9a5145}
:root[data-theme="light"] .ws-dl{background:#ece8e3;color:#201e1c;text-decoration:none}
:root[data-theme="light"] .ws-dl:hover{background:#e3dfda}
:root[data-theme="light"] .ws-danger{border-top:1px solid #e9e5e0;color:#63615e}
:root[data-theme="light"] .ws-delete{color:#9a5145;border:1px solid #dfc9c5}
:root[data-theme="light"] .ws-delete:hover{background:#f3efea}
:root[data-theme="light"] .ws-delete.is-armed{background:#c4544a;border-color:#c4544a;color:#fff}
:root[data-theme="light"] .rx-hero{background:#f3eee9;border:1px solid #e6e2dd}
:root[data-theme="light"] .rx-track{fill:none;stroke:#ddd9d4}
:root[data-theme="light"] .rx-bar{fill:none;stroke:#8c5d2a}
:root[data-theme="light"] .rx-done{color:#42755b}
:root[data-theme="light"] .rx-fail{color:#9a5145}
:root[data-theme="light"] .rx[data-status="completed"] .rx-bar{stroke:#2f7957}
:root[data-theme="light"] .rx[data-status="failed"] .rx-bar,:root[data-theme="light"] .rx[data-status="cancelled"] .rx-bar{stroke:#9a5145}
:root[data-theme="light"] .rx-head small{color:#4d4b48}
:root[data-theme="light"] .rx-head p{color:#63615e}
:root[data-theme="light"] .rx-steps li{color:#8f8b86}
:root[data-theme="light"] .rx-steps li::before{background:#ddd9d4}
:root[data-theme="light"] .rx-steps li.is-done{color:#4d4b48}
:root[data-theme="light"] .rx-steps li.is-done::before{background:#2f7957}
:root[data-theme="light"] .rx-steps li.is-now{color:#8c5d28}
:root[data-theme="light"] .rx-steps li.is-now::before{background:linear-gradient(90deg,#8c5d2a,#8c5d28,#8c5d2a)}
:root[data-theme="light"] .rx-meta{color:#63615e}
:root[data-theme="light"] .rx-meta b{color:#201e1c}
:root[data-theme="light"] .rx-primary{background:#8c5d2a;color:#f8f3ee;text-decoration:none}
:root[data-theme="light"] .rx-primary:hover{background:#895f2f}
:root[data-theme="light"] .rx-secondary{border:1px solid #d9d5d0;color:#2c2a28}
:root[data-theme="light"] .rx-secondary:hover{background:#1716140a}
:root[data-theme="light"] .rx-note{color:#63615e}
/* ---- intelligence.css ---- */
:root[data-theme="light"] .insight-eyebrow{color:#504e4c}
:root[data-theme="light"] .insight-live{color:#7b6544}
:root[data-theme="light"] .insight-live i,:root[data-theme="light"] .provider-dot{background:#806435}
:root[data-theme="light"] .insight-live.connected{color:#547160}
:root[data-theme="light"] .insight-live.connected i,:root[data-theme="light"] .provider-dot.ready{background:#547160}
:root[data-theme="light"] .insight-metrics{border:1px solid #e1dcd8;background:#f5f1ec}
:root[data-theme="light"] .insight-metrics div{border-right:1px solid #e4dfdb}
:root[data-theme="light"] .insight-metrics div:last-child{border:0}
:root[data-theme="light"] .insight-metrics strong{color:#252321}
:root[data-theme="light"] .insight-metrics span{color:#565452}
:root[data-theme="light"] .insight-tabs{border-bottom:1px solid #e4dfdb}
:root[data-theme="light"] .insight-tabs button{color:#585553;border-bottom:2px solid transparent}
:root[data-theme="light"] .insight-tabs button.active{color:#81623b;border-bottom-color:#866034}
:root[data-theme="light"] .insight-section-title h3{color:#252321}
:root[data-theme="light"] .insight-section-title p{color:#4e4c49}
:root[data-theme="light"] .insight-action{background:#f3efea;border:1px solid #dcd8d3}
:root[data-theme="light"] .insight-action:hover{border-color:#80633d;background:#eeeae5}
:root[data-theme="light"] .insight-action strong{color:#2a2926}
:root[data-theme="light"] .insight-action small{color:#575553}
:root[data-theme="light"] .insight-control{border-top:1px solid #e6e1dc}
:root[data-theme="light"] .insight-control label,:root[data-theme="light"] .insight-label{color:#2e2c2a}
:root[data-theme="light"] .insight-control select,:root[data-theme="light"] .insight-source-select{color:#2c2a28;background:#f3eeea;border:1px solid #d0ccc7}
:root[data-theme="light"] .insight-control button{background:#81633a;color:#f2eee9}
:root[data-theme="light"] .insight-control p{color:#5a5856}
:root[data-theme="light"] .insight-downloads{border-top:1px solid #e6e1dc}
:root[data-theme="light"] .insight-downloads span{color:#514f4c}
:root[data-theme="light"] .insight-downloads button{color:#7e643f}
:root[data-theme="light"] .insight-provider{background:#f3efea}
:root[data-theme="light"] .insight-provider strong{color:#3f3d3b}
:root[data-theme="light"] .insight-provider p{color:#5a5856}
:root[data-theme="light"] .insight-working{color:#7c653d;background:#ebe7e2;border:1px solid #ccc8c3}
:root[data-theme="light"] .insight-spinner{border:1px solid #82632f44;border-top-color:#82632f}
:root[data-theme="light"] .insight-error{background:#ede9e4;color:#855f4d;border:1px solid #695040}
:root[data-theme="light"] .insight-welcome h3{color:#282624}
:root[data-theme="light"] .insight-welcome p{color:#474542}
:root[data-theme="light"] .insight-feature-list{color:#494744}
:root[data-theme="light"] .insight-feature-list span:before{color:#86612a}
:root[data-theme="light"] .insight-empty{color:#504e4c;border:1px dashed #d2cec9}
:root[data-theme="light"] .insight-source-meta{color:#514e4c}
:root[data-theme="light"] .insight-source-actions button{border:1px solid #c8c4bf;color:#786744;background:#f1ede8}
:root[data-theme="light"] .insight-audio{border-top:1px solid #e2ddd9;border-bottom:1px solid #e2ddd9}
:root[data-theme="light"] .insight-audio strong{color:#393734}
:root[data-theme="light"] .insight-audio span,:root[data-theme="light"] .insight-audio small{color:#626e51}
:root[data-theme="light"] .insight-waveform i{background:#5f7043}
:root[data-theme="light"] .insight-subhead{color:#2d2b29}
:root[data-theme="light"] .insight-subhead span{color:#504e4b}
:root[data-theme="light"] .insight-scenes>div{border:1px solid #d8d4d0;background:#f2eee9}
:root[data-theme="light"] .insight-scenes>div>button:last-child{border-left:1px solid #d8d4d0;color:#676d48}
:root[data-theme="light"] .insight-scenes span{color:#2d2b28}
:root[data-theme="light"] .insight-scenes time{color:#646d50}
:root[data-theme="light"] .transcript-line{border-bottom:1px solid #e0dcd7}
:root[data-theme="light"] .transcript-line:hover{background:#eee9e4}
:root[data-theme="light"] .transcript-line time{color:#80642e}
:root[data-theme="light"] .transcript-line span{color:#312f2d}
:root[data-theme="light"] .insight-visual-summary h3{color:#2a2926}
:root[data-theme="light"] .insight-visual-summary p{color:#403e3b}
:root[data-theme="light"] .insight-visual-summary small{color:#636e52}
:root[data-theme="light"] .insight-tags span{border:1px solid #c9c5c0;color:#626f45}
:root[data-theme="light"] .insight-job{background:#f3efea;border:1px solid #d7d2ce}
:root[data-theme="light"] .insight-job-title strong{color:#2a2826}
:root[data-theme="light"] .job-state{color:#4c4a48}
:root[data-theme="light"] .job-state.completed{color:#58724a}
:root[data-theme="light"] .job-state.failed{color:#8b5c47}
:root[data-theme="light"] .insight-job p{color:#4c4a47}
:root[data-theme="light"] .insight-progress{background:#d3ceca}
:root[data-theme="light"] .insight-progress span{background:#6e6b3b}
:root[data-theme="light"] .insight-job-actions button,:root[data-theme="light"] .insight-job-actions a{color:#7b663b;text-decoration:none}
:root[data-theme="light"] .insight-job-actions small{color:#616f51}
:root[data-theme="light"] .insight-revision{border-bottom:1px solid #d8d4d0}
:root[data-theme="light"] .insight-revision strong{color:#282624}
:root[data-theme="light"] .insight-revision small{color:#646d52}
:root[data-theme="light"] .insight-revision p{color:#636e51}
:root[data-theme="light"] .insight-revision button,:root[data-theme="light"] .insight-current{color:#7c6538}
:root[data-theme="light"] .insight-current{color:#5a7241}
:root[data-theme="light"] .real-waveform{color:inherit}
:root[data-theme="light"] .live-activity{color:#5d7147}
:root[data-theme="light"] .live-activity.processing{color:#81642c}
:root[data-theme="light"] .sync-conflict{background:#dcd8d3;border:1px solid #98774c;color:#796643;box-shadow:0 8px 20px #2820161b}
:root[data-theme="light"] .sync-conflict button{color:#7f6430;text-decoration:underline}
:root[data-theme="light"] .insight-tabs button:focus-visible,:root[data-theme="light"] .insight-action:focus-visible{outline:2px solid #7f6435}
:root[data-theme="light"] .preview-video{background:#161718}
:root[data-theme="light"] #assetContent:has(.insight-stats){--dk-card:#f4efea;--dk-line:#e3dfda;--dk-chip:#eee9e5;--dk-muted:#63615e;--dk-accent:#8c5d2a}
:root[data-theme="light"] .insight-eyebrow{color:var(--dk-muted)}
:root[data-theme="light"] .insight-stats span{background:var(--dk-chip);color:var(--dk-muted)}
:root[data-theme="light"] .insight-stats b{color:inherit;filter:brightness(1.7)}
:root[data-theme="light"] .insight-stats span.is-busy{background:color-mix(in srgb,var(--dk-accent) 16%,transparent);color:var(--dk-accent)}
:root[data-theme="light"] .insight-tabs{border:0;background:var(--dk-chip)}
:root[data-theme="light"] .insight-tabs button{border:0 !important;color:var(--dk-muted)}
:root[data-theme="light"] .insight-tabs button.active{background:var(--dk-card);color:inherit;box-shadow:0 1px 3px #28201612}
:root[data-theme="light"] .insight-next{background:color-mix(in srgb,var(--dk-accent) 9%,var(--dk-card));border:1px solid color-mix(in srgb,var(--dk-accent) 22%,var(--dk-line))}
:root[data-theme="light"] .insight-next .in-icon{background:color-mix(in srgb,var(--dk-accent) 18%,transparent);color:var(--dk-accent)}
:root[data-theme="light"] .insight-next p{color:var(--dk-muted)}
:root[data-theme="light"] .insight-next .mini-action.is-primary{background:var(--dk-accent);color:#f8f3ee;border:0}
:root[data-theme="light"] .insight-group{background:var(--dk-card);border:1px solid var(--dk-line)}
:root[data-theme="light"] .ig-title{color:var(--dk-muted)}
:root[data-theme="light"] .insight-row:hover:not(:disabled){background:var(--dk-chip)}
:root[data-theme="light"] .ir-icon{background:var(--dk-chip);color:var(--dk-accent)}
:root[data-theme="light"] .ir-text small{color:var(--dk-muted)}
:root[data-theme="light"] .ir-go{color:var(--dk-muted)}
:root[data-theme="light"] .ir-badge{background:var(--dk-chip);color:var(--dk-muted)}
:root[data-theme="light"] .ig-chip{background:var(--dk-chip);color:var(--dk-muted)}
:root[data-theme="light"] .ig-chip:hover{color:inherit}
:root[data-theme="light"] .ig-chip.is-on{background:color-mix(in srgb,var(--dk-accent) 18%,transparent);color:var(--dk-accent)}
:root[data-theme="light"] .ig-go{background:var(--dk-accent);color:#f8f3ee}
:root[data-theme="light"] .ig-help{color:var(--dk-muted)}
:root[data-theme="light"] .ig-grade{color:var(--dk-muted)}
:root[data-theme="light"] .ig-grade i{box-shadow:inset 0 0 0 1px #1716141a}
:root[data-theme="light"] .ig-grade.is-on{color:inherit}
:root[data-theme="light"] .ig-grade.is-on i{box-shadow:0 0 0 2px var(--dk-card),0 0 0 4px var(--dk-accent)}
:root[data-theme="light"] .insight-provider{background:var(--dk-chip)}
:root[data-theme="light"] .insight-provider strong{color:inherit}
:root[data-theme="light"] .insight-provider p{color:var(--dk-muted)}
:root[data-theme="light"] .insight-stats{color:var(--dk-muted)}
:root[data-theme="light"] .insight-stats span{background:none}
:root[data-theme="light"] .insight-stats span.is-busy{background:none;color:var(--dk-accent)}
:root[data-theme="light"] .insight-ready{color:#42755b}
:root[data-theme="light"] .ig-sec{border-top:1px solid var(--dk-line)}
:root[data-theme="light"] .ig-sec:first-child{border-top:0}
:root[data-theme="light"] .ig-sec h4{color:var(--dk-muted)}
:root[data-theme="light"] .insight-stats span.is-ok{color:#42755b}
:root[data-theme="light"] .ig-tile{background:var(--dk-card);border:1px solid var(--dk-line)}
:root[data-theme="light"] .ig-tile:hover:not(:disabled){border-color:color-mix(in srgb,var(--dk-accent) 55%,transparent)}
:root[data-theme="light"] .it-icon{background:var(--dk-chip);color:var(--dk-accent)}
:root[data-theme="light"] .ig-tile small{color:var(--dk-muted)}
:root[data-theme="light"] .ig-tile.is-warn small{color:#8c5d2a}
:root[data-theme="light"] .ig-seg{background:var(--dk-chip)}
:root[data-theme="light"] .ig-seg button{color:var(--dk-muted)}
:root[data-theme="light"] .ig-seg button.is-on{background:var(--dk-card);color:var(--dk-accent);box-shadow:0 1px 3px #28201612}
:root[data-theme="light"] .ig-dots i{box-shadow:inset 0 0 0 1px #17161426}
:root[data-theme="light"] .ig-dots button.is-on i{box-shadow:0 0 0 2px var(--dk-bg,#28201629),0 0 0 4px var(--dk-accent)}
:root[data-theme="light"] .ig-note{color:var(--dk-muted)}
:root[data-theme="light"] .ig-links button{color:var(--dk-accent)}
:root[data-theme="light"] .ig-links button:hover{background:var(--dk-chip)}
:root[data-theme="light"] .ig-foot{border-top:1px solid var(--dk-line);color:var(--dk-muted)}
