/* ===== 快剪AI · 体验页样式（UI 调整版 v2）=====
   与 style.css 配套：字号正文 14-15 / 辅助 12-13，触控 ≥44，插画占比缩小 */
.reviewed-entry{border:1px solid #dce7cf;background:#f3f8eb;border-radius:14px;padding:14px;margin:16px 0;display:flex;align-items:center;gap:10px}.reviewed-entry>div{flex:1;min-width:0}.reviewed-entry strong{font-size:14px;font-weight:600}.reviewed-entry p{font-size:12px;line-height:1.7;color:#607153;margin:5px 0}.reviewed-entry .text-button{min-height:44px;font-size:13px;white-space:nowrap}.reviewed-card{border:1px solid #dce7cf;border-radius:14px;background:white;padding:16px;margin:14px 0}.reviewed-card small{font-size:12px;color:#607153}.reviewed-card h3{font-size:16px!important;font-weight:600}.reviewed-card p{font-size:14px!important;color:#52624a!important}
.chat-page{padding:6px 18px 190px}
.chat-heading{display:flex;justify-content:space-between;align-items:center;padding:10px 2px 16px;color:#687b52;font-size:13px;font-weight:500}
.chat-heading>span{display:flex;align-items:center;gap:7px}.chat-heading .icon{width:17px;height:17px}.chat-heading small{font-size:12px;color:#a2ad94;font-weight:400}
.chat-message{display:flex;gap:10px;margin:13px 0;align-items:flex-start}
.chat-avatar{width:30px;height:30px;display:grid;place-items:center;background:#e6efd9;color:#81a454;border-radius:10px;flex-shrink:0}.chat-avatar .icon{width:17px;height:17px}
.chat-message>div{background:#fff;border:1px solid #e4eadc;border-radius:4px 16px 16px 16px;padding:13px 15px;min-width:0;max-width:calc(100% - 38px);box-shadow:0 1px 2px rgba(37,49,40,.03)}
.chat-message p{font-size:14px;line-height:1.85;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#33402c}
.chat-message p+p{margin-top:8px;font-size:12px;color:#8f9b84}
.chat-message.user{justify-content:flex-end;margin:20px 0}.chat-message.user>div{background:#e9f4db;border-color:#e1edcf;border-radius:16px 4px 16px 16px}
.chat-starter-art{height:84px;border-radius:10px;overflow:hidden;margin-top:12px;background:#e8efdf}
.chat-suggestions{margin:16px 0 20px 40px;display:grid;gap:9px}.chat-suggestions>button{border:1px solid #dce6d0;border-radius:12px;text-align:left;padding:13px 12px;background:#f5f9ee;color:#7c9166;font-size:13px;display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:44px;line-height:1.6}.chat-suggestions .icon{width:15px;height:15px;flex-shrink:0}
.chat-composer{position:sticky;bottom:0;margin-top:-170px;z-index:6;padding:10px 18px 14px;background:#fafbf8f5;backdrop-filter:blur(10px);border-top:1px solid #e5ebdd}
.composer-hint{font-size:12px;color:#8f9c82;margin:0 0 8px;padding:0 2px}
.composer-box{display:flex;align-items:center;background:white;border:1px solid #d6e2c9;border-radius:20px;padding:5px 6px 5px 2px;box-shadow:0 2px 10px rgba(37,49,40,.05)}
.composer-box textarea{border:0;resize:none;min-width:0;flex:1;outline:none;font-size:15px;line-height:1.65;padding:9px 0;color:#405037;background:none}
.composer-box textarea::placeholder{color:#acb5a0}
.composer-box .icon-button{width:42px;height:44px;color:#879d6e;border-radius:12px}
.send-button{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:#b8ef68;flex-shrink:0;margin-left:4px;color:#2b3d1c}
.send-button .icon{width:19px;height:19px}
.chat-composer>small{display:block;text-align:center;font-size:12px;color:#9aa78d;margin-top:8px}
.chat-composer>.text-button{min-height:40px;font-size:13px}
.listening{color:#be7f69!important;background:#faeee8!important;border-radius:12px}
.candidate-list{margin:20px 0 16px 40px;scroll-margin-top:150px}.mini-heading{font-size:12px;color:#859674;margin-bottom:11px;font-weight:500}
.candidate-card{padding:15px;border:1px solid #dce7d0;border-radius:16px;background:white;margin:11px 0;box-shadow:var(--shadow-card)}
.candidate-card>div{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#7d965f;gap:5px}
.candidate-card small{color:#a1ad91;font-size:11px}
.candidate-card h3{font-size:15px;font-weight:600;margin:11px 0;color:#2e3c27}
.candidate-card p{font-size:13px;line-height:1.85;white-space:pre-wrap;color:#6f8060;margin:8px 0 15px;overflow-wrap:anywhere}
.candidate-card .button{min-height:46px;border-radius:12px;font-size:13px}
.prep-note{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.8;color:#87967a;margin-left:40px;padding:9px 0}
.prep-note>.icon{width:16px;height:16px;flex-shrink:0;margin-top:2px}
.plan-copy{background:#fff;border:1px solid #e0e8d6;padding:15px;border-radius:14px}
.plan-copy>span{font-size:12px;color:#7f9660;display:flex;gap:5px;align-items:center;font-weight:500}.plan-copy .icon{width:14px;height:14px}
.plan-copy p{font-size:14px;line-height:1.85;white-space:pre-wrap;margin:10px 0;color:#6c7c5e}
.plan-copy .text-button{font-size:12px;min-height:40px}
.plan-style{display:flex;align-items:center;justify-content:space-between;margin:22px 0 8px;font-size:13px;font-weight:500}
.plan-style>div{display:flex;background:#edf2e5;padding:3px;border-radius:11px;gap:2px}
.plan-style button{font-size:12px;padding:9px 13px;border-radius:9px;color:#98a787;min-height:38px}
.plan-style button.selected{background:#fff;color:#6d8a4d;box-shadow:0 2px 6px #506d2620}
.shot-plan-row{display:flex;gap:13px;border-bottom:1px solid #e3eada;padding:18px 0;align-items:flex-start}
.shot-index{font-size:12px;color:#9dae89;border:1px solid #dde7d2;border-radius:9px;padding:7px 8px;flex-shrink:0;margin-top:2px}
.shot-plan-row>div{flex:1;min-width:0}
.shot-plan-row h3{font-size:15px;font-weight:600;margin:0 0 7px;color:#33402c}
.shot-plan-row p{font-size:13px;line-height:1.8;color:#87957a;margin:0 0 5px}
.shot-plan-row small{font-size:12px;color:#a2ab95}
.shot-plan-row>.icon{width:17px;height:17px;color:#b1bda5;margin-top:4px}
.shot-progress{height:6px;border-radius:6px;background:#e6edde;overflow:hidden;margin:0 0 20px}
.shot-progress>span{height:100%;display:block;background:#acd374}
.capture-card{background:#fff;border:1px solid #e0e7d6;border-radius:16px;padding:14px;margin:13px 0;box-shadow:var(--shadow-card)}
.capture-card-head{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#8c9a7b}
.capture-card-head .ready{color:#5f8643;background:#edf5e3;padding:5px 9px;border-radius:7px;font-size:12px}
.capture-card-head .waiting{color:#b2aa92}
.capture-card-body{display:flex;gap:13px;margin:13px 0;align-items:center}
.capture-thumb{width:80px;height:94px;overflow:hidden;border-radius:10px;flex-shrink:0;background:#e7eddf}
.capture-thumb img,.capture-thumb video{width:100%;height:100%;object-fit:cover}
.capture-card-body h3{font-size:14px;font-weight:600;margin:0 0 5px;color:#33402c}
.capture-card-body p{font-size:12px;line-height:1.75;color:#87957a;margin:0 0 5px}
.capture-card-body small{font-size:12px;color:#a2ab95;line-height:1.7}
.capture-actions{display:flex;gap:9px}
.capture-actions button{width:50%;display:flex;align-items:center;justify-content:center;gap:6px;min-height:46px;font-size:13px;color:#6f8c4e;border:1px solid #dfe8d3;border-radius:11px}
.capture-actions button:first-child{background:#f2f7ea;font-weight:500}
.capture-actions .icon{width:15px;height:15px}
.shot-camera-intro{padding:12px 20px 14px;background:#26352a;color:#f5faf0}
.shot-camera-intro>span{font-size:11px;letter-spacing:1px;color:#a4b695}
.shot-camera-intro h2{font-size:17px;font-weight:600;margin:6px 0}
.shot-camera-intro p{font-size:12px;line-height:1.75;color:#a2b494;margin:0}
.record-page .camera-stage{height:clamp(280px,42dvh,400px)}.record-page .camera-stage>video{object-fit:contain}
.record-page .prompter-viewport{top:56px;height:140px}.record-page #prompter{font-size:22px}
.record-page .camera-placeholder p{padding:0 25px;max-width:330px}
.record-page .record-tools{padding-top:14px}.record-page .record-buttons{margin-top:10px}.record-page .record-help{margin-top:12px}
.background-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 24px}
.background-option{position:relative;min-width:0;text-align:left;border:1px solid #e1e8d8;border-radius:12px;padding:6px 6px 10px;background:white}
.background-option.selected{border-color:#a0be7a;background:#f0f7e5}
.background-option>div{aspect-ratio:1;overflow:hidden;border-radius:8px;background:#edf2e5;margin-bottom:8px}
.background-option>span{font-size:12px;color:#8b9d75;margin-left:3px}
.background-option>.icon{position:absolute;right:8px;bottom:11px;width:13px;height:13px;color:#769e4f}
.no-background{display:grid;place-items:center;width:100%;height:100%;color:#b0bd9e}
.music-row{display:flex;align-items:center;border:1px solid #e1e8d7;background:#fff;border-radius:13px;margin:9px 0;padding:7px}
.music-row.selected{border-color:#9cbf73;background:#f2f7e9}
.music-row>button:first-child{display:flex;align-items:center;gap:10px;flex:1;min-width:0;text-align:left;padding:8px;min-height:44px}
.music-row>button:first-child>.icon{width:20px;height:20px;color:#91a574}
.music-row>button:first-child>span{flex:1;display:grid;gap:4px}
.music-row b{font-size:14px;font-weight:500;color:#33402c}
.music-row small{font-size:12px;color:#a0ae8f}
.music-row>button:first-child>.icon:last-child:not(:first-child){width:15px;height:15px}
.music-row>.icon-button{width:42px;height:44px;color:#8ca371}
.volume-panel{background:#fff;border:1px solid #e0e8d5;border-radius:13px;padding:8px 16px;margin:20px 0}
.volume-panel label{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;font-size:13px;color:#81946b;padding:11px 0;gap:8px}
.volume-panel input{width:100%;accent-color:#9cc76b}
.volume-panel span{font-size:12px;color:#a2b18e}
.history-item{background:#fff;border:1px solid #e2e9d8;padding:13px;border-radius:12px}
.history-item>b{font-size:13px;font-weight:600;color:#33402c}
.history-item p{font-size:12px;white-space:pre-wrap;color:#7d8a70;margin:7px 0}
.history-item small{font-size:12px;color:#a1b08f}
.history-item .history-actions{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:6px}
.history-item .history-actions button{min-height:40px;padding:4px 0;color:#4b7540;font-size:13px}
.history-item video{display:block;width:100%;max-height:270px;margin:6px 0 10px;border-radius:10px;background:#172218}
.history-item video[hidden],.history-item [data-history-video-status]:empty,.history-item [data-history-download-status]:empty,.history-actions:empty{display:none}
.history-publication{margin-top:8px;border-top:1px solid #e2e9d8;padding-top:8px}
.history-publication summary{color:#405d35;font-size:13px;font-weight:700;padding:7px 0;cursor:pointer}
.chat-references{margin:16px 0 18px 40px;font-size:12px;color:#8fa177}
.chat-references>div{display:flex;gap:9px;overflow:auto;margin-top:9px}
.chat-references>div>div{width:76px;flex-shrink:0;min-width:0}
.chat-references>div>div>div{height:76px;border-radius:9px;overflow:hidden;background:#e8efdf}
.chat-references img,.chat-references video{width:100%;height:100%;object-fit:cover}
.chat-references small{font-size:11px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-top:5px;color:#8fa177}
.editor-fill-art{position:absolute;inset:0;filter:blur(6px);opacity:.55;transform:scale(1.07)}
.editor-preview.has-background>img,.editor-preview.has-background>video{position:relative;object-fit:contain}
@media(max-width:360px){
  .chat-page{padding-left:14px;padding-right:14px}
  .chat-composer{padding-left:14px;padding-right:14px}
  .capture-card{padding:12px}
  .capture-thumb{width:68px;height:86px}
  .capture-card-body{gap:10px}
  .candidate-list,.chat-suggestions,.prep-note{margin-left:24px}
  .chat-suggestions{margin-left:24px}
  .plan-style>span{font-size:12px}
  .plan-style button{padding:8px}
}

/* R006: 本轮镜头片段选择 */
.segment-player{position:relative}.segment-demo{position:absolute;right:12px;top:12px;background:#0009;color:#fff;border-radius:20px;padding:5px 10px;font-size:12px}.segment-card{margin-top:18px;padding:18px;background:#fff;border:1px solid #e6eee7;border-radius:18px}.segment-heading,.segment-times{display:flex;justify-content:space-between;align-items:center}.segment-heading span,.segment-times,.segment-hint{font-size:13px;color:#77827a}.segment-track{position:relative;height:34px;background:#e5eee6;border-radius:8px;margin-top:18px;overflow:hidden}.segment-window{position:absolute;top:0;height:100%;background:#bce9c6;border:2px solid #3a9e5d;border-radius:7px;box-sizing:border-box}.segment-card input[type=range]{width:100%;accent-color:#399c59;margin:12px 0}.segment-card .button{width:100%;margin-top:18px}.segment-short{font-size:13px;color:#9a6d22}.segment-hint{margin:12px 2px}.capture-card:has([data-action="shot-trim"]) .capture-actions{flex-wrap:wrap}

/* R007: 口播拍摄方式与构图示意 */
.shoot-setup{padding:12px 16px;background:#253329}.shoot-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px;font-size:12px;color:#dae8d8}.shoot-row>div{display:flex;gap:5px}.shoot-row button{border:1px solid #66816b;background:transparent;color:#e0ecdd;padding:6px 10px;border-radius:18px;font-size:12px}.shoot-row button.selected{background:#a9d5af;color:#183c25;border-color:#a9d5af}.shoot-setup p,.guide-disclaimer{margin:4px 0 0;font-size:12px;line-height:1.5;color:#b5c8b4}.guided-camera[data-orientation=landscape]{height:220px}.guided-camera .framing-guide{pointer-events:none;position:absolute;z-index:3;inset:46px 24% 55px;opacity:.72;border:1px dashed #ddf2dc99;border-radius:45% 45% 20% 20%}.guide-head{width:28%;aspect-ratio:1;border:1px dashed #e5f5e2;border-radius:50%;margin:15% auto 0}.guide-body{width:65%;height:40%;border:1px dashed #e5f5e2;border-radius:50% 50% 15% 15%;margin:3% auto}.framing-guide span{position:absolute;bottom:6px;left:0;right:0;text-align:center;color:#e5f5e2;font-size:11px}.guide-disclaimer{padding:0 5px 10px}.guided-camera .camera-badge,.guided-camera .camera-flip,.guided-camera .prompter-viewport,.guided-camera .record-status{z-index:4}

/* R008: 随创作阶段变化的快捷输入 */
.composer-suggestions{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;padding:0 0 8px}.composer-suggestions::-webkit-scrollbar{display:none}.composer-suggestions button{white-space:nowrap;border:1px solid #dcebdd;background:#f5faf5;color:#3b7650;border-radius:18px;font-size:12px;padding:6px 10px;flex:none}

/* R009: 全屏拍摄演示 */
.full-camera{height:100%;min-height:100%;background:#17221d}.full-camera .camera-stage,.full-camera .camera-stage[data-orientation=landscape]{height:100%;min-height:100%;position:relative;background:#26362d}.full-camera .camera-stage>video{width:100%;height:100%;object-fit:cover}.full-camera .camera-placeholder{background:linear-gradient(135deg,#536b59,#1d2c25);padding:0;z-index:1}.camera-open{position:absolute;top:42%;display:grid;justify-items:center;gap:10px;color:#fff;font-weight:600}.camera-open .icon{width:38px;height:38px}.shoot-top{position:absolute;top:0;left:0;right:0;z-index:5;display:flex;align-items:center;justify-content:space-between;padding:14px 16px;color:white;background:linear-gradient(#111a 0%,transparent 100%)}.shoot-top button{width:40px;height:40px;border-radius:50%;background:#0005;display:grid;place-items:center}.shoot-top div{display:grid;text-align:center;line-height:1.3}.shoot-top small{font-size:11px;color:#d4e1d6}.shoot-top strong{font-size:15px}.shot-direction{position:absolute;z-index:4;top:72px;left:16px;right:16px;padding:10px 12px;border-radius:12px;background:#16241cc9;color:white}.shot-direction span{font-size:11px;color:#c5e8c1}.shot-direction p{font-size:13px;line-height:1.45;margin:4px 0 0}.full-camera .prompter-viewport{top:165px;left:16px;right:16px;height:110px;z-index:4;background:#14201999}.full-camera #prompter{font-size:19px}.viewfinder-frame{position:absolute;z-index:2;inset:22% 8% 27%;border:1px solid #e9f8ea66;border-radius:9px;pointer-events:none}.full-camera .framing-guide{z-index:3;inset:29% 31% 31%;border-radius:45%;opacity:.7}.full-camera .guide-head{width:42%;margin:13% auto 0}.full-camera .guide-body{height:47%}.full-camera .hand-guide{position:absolute;z-index:3;bottom:29%;right:13%;width:36px;height:68px;border:1px dashed #e9f8eaaa;border-radius:20px 20px 13px 13px;transform:rotate(-20deg);pointer-events:none}.full-camera .hand-guide span{position:absolute;bottom:-22px;left:-20px;width:80px;color:#fff9;text-align:center;font-size:10px}.full-camera [data-hand=left] .hand-guide{right:auto;left:13%;transform:rotate(20deg)}.full-camera [data-mode=tripod] .hand-guide,.full-camera [data-mode=helper] .hand-guide{display:none}.record-bottom{position:absolute;z-index:5;bottom:0;left:0;right:0;padding:14px 18px 10px;text-align:center;background:linear-gradient(transparent,#101c16ef 22%);color:white}.full-camera .record-status{position:static;font-size:12px;min-height:20px}.full-camera .record-buttons{margin:8px 0 0}.full-camera .record-help{font-size:11px;color:#d5e3d5;margin:3px 0}.sample-link{font-size:11px;color:#bdcfba;padding:3px}.camera-settings{position:relative}.camera-settings summary{display:inline-block;background:#0008;border-radius:15px;padding:4px 14px;font-size:12px;cursor:pointer}.camera-settings-panel{position:absolute;bottom:35px;left:0;right:0;padding:12px;background:#18271ff5;border:1px solid #ffffff28;border-radius:14px;text-align:left}.camera-settings-panel>div{display:flex;align-items:center;gap:5px;margin-bottom:8px}.camera-settings-panel>div>span{width:32px;font-size:11px;color:#bbd0bf}.camera-settings-panel button{border:1px solid #ffffff35;border-radius:14px;color:#e1eee0;padding:5px 8px;font-size:11px}.camera-settings-panel button.selected{background:#b8ef68;color:#253128}.camera-settings-panel label,.camera-settings-panel small{display:block;font-size:11px;color:#d1dfd0}.camera-settings-panel input{width:100%;accent-color:#b8ef68}.full-camera .text-button{font-size:11px;color:#d6e6d4}.full-camera .camera-placeholder[hidden]{display:none!important}

body:has(.full-camera) .preview-strip{display:none}body:has(.full-camera) #app{height:100%}.full-camera .viewfinder-frame{inset:auto;top:24%;left:50%;height:45%;width:auto;max-width:84%;transform:translateX(-50%)}.full-camera [data-orientation=landscape] .viewfinder-frame{top:34%;height:auto;width:84%;max-height:36%}.full-camera .hand-guide{border:0;width:46px;height:72px;transform:none}.full-camera .hand-guide svg{width:100%;height:100%;fill:none;stroke:#e9f8eacc;stroke-width:2;stroke-dasharray:4 4}.full-camera [data-hand=left] .hand-guide{transform:scaleX(-1)}.full-camera [data-hand=left] .hand-guide span{transform:scaleX(-1)}

/* R010: 首页与声音工具 */
.studio-home{padding-bottom:100px}.studio-title{display:flex;justify-content:space-between;align-items:center;margin:8px 0 20px}.studio-title small{color:#8b9a80;font-size:12px}.studio-title h1{font-size:22px;margin:2px 0;font-weight:700}.studio-title button{background:#eef4e7;border-radius:50%;width:42px;height:42px}.studio-create{background:#e5f4d8;display:flex;text-align:left;width:100%;min-height:165px;border-radius:20px;overflow:hidden}.studio-create>div:first-child{flex:1;padding:17px;display:grid;align-content:center;gap:4px}.studio-create span{font-size:11px;color:#6a9451}.studio-create strong{font-size:19px}.studio-create small{font-size:12px;color:#72836a}.studio-create b{font-size:13px;margin-top:7px}.studio-create b .icon{width:16px}.studio-art{width:38%;height:165px;overflow:hidden}.studio-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.studio-tools button{display:flex;align-items:center;text-align:left;gap:8px;background:#fff;border:1px solid #e3eadc;border-radius:15px;padding:13px 9px;min-width:0}.studio-tools button>.icon:first-child{width:32px;height:32px;padding:6px;border-radius:10px;background:#edf6e3;color:#6d9948}.studio-tools button>.icon:last-child{width:15px}.studio-tools span{display:grid;flex:1;min-width:0;line-height:1.45}.studio-tools b{font-size:13px}.studio-tools small{font-size:11px;color:#95a08e;white-space:nowrap}.studio-qualification{display:flex;align-items:center;gap:6px;color:#768f63;font-size:12px;width:100%;text-align:left}.studio-qualification .icon{width:16px}.studio-qualification .icon:last-child{margin-left:auto}.studio-empty{font-size:13px;color:#879681}.studio-more{margin-top:16px;color:#6e8266;font-size:13px}.studio-more summary{cursor:pointer}.studio-more>button{display:flex;align-items:center;gap:8px;padding:12px 0}.voice-tool .page-title h1{margin-top:0}.voice-tool-label{display:grid;gap:8px;font-size:14px;font-weight:600}.voice-tool textarea{border:1px solid #dde6d8;background:#fff;border-radius:14px;padding:12px;resize:vertical;color:#253128}.studio-voice-list{display:grid;gap:8px}.studio-voice-list button,.clone-entry{display:flex;align-items:center;gap:10px;text-align:left;background:white;border:1px solid #e4eade;border-radius:12px;padding:12px;width:100%;min-height:48px}.studio-voice-list button.selected{border-color:#92c661;background:#f4faed}.studio-voice-list button b{flex:1;font-size:13px}.studio-voice-list .icon{width:19px;color:#739d55}.clone-entry{margin:0 0 15px;font-size:14px;font-weight:600}.clone-entry span{font-size:12px;color:#8b9a80;flex:1;font-weight:400}.voice-fee{font-size:12px;color:#8a7750;margin:18px 0 10px}.voice-disclosure{text-align:center;font-size:12px;color:#98a38f}.clone-illustration{height:180px;border-radius:18px;background:#eaf4e4;display:grid;place-content:center;justify-items:center;color:#699a4f;gap:10px}.clone-illustration .icon{width:48px;height:48px}.clone-wave{letter-spacing:3px}.clone-steps{display:grid;gap:12px;margin:20px 0}.clone-steps div{display:flex;align-items:center;gap:10px;font-size:14px}.clone-steps b{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#edf6e5;font-size:12px}.clone-consent{display:flex;align-items:flex-start;gap:8px;font-size:13px}.clone-consent input{accent-color:#76ac4d;margin-top:4px}

/* R011: 商家聊天页 */
.merchant-chat .chat-heading{padding:8px 2px 10px}.merchant-chat .chat-profile{display:flex;align-items:center;gap:8px;padding:9px 11px;background:#eef4e5;border:1px solid #e0e9d3;border-radius:12px;color:#718363;font-size:12px}.merchant-chat .chat-profile>span{display:flex;align-items:center;gap:5px;flex:1;min-width:0}.merchant-chat .chat-profile .icon{width:15px;height:15px;flex:none}.merchant-chat .chat-profile button{font-size:12px;white-space:nowrap}.merchant-chat .chat-starter-art{height:72px}.merchant-chat .chat-suggestions{margin-top:12px}.merchant-composer{padding-top:9px}.merchant-composer .composer-box textarea{min-height:44px}.merchant-composer .composer-suggestions button{min-height:36px}

/* R014: 商家演示页统一版式 */
body[data-preview-merchant] .page{padding-bottom:20px}
body[data-preview-merchant] .studio-home{padding-bottom:100px}
body[data-preview-merchant] .action-footer{position:sticky;bottom:0;z-index:6;padding:12px 20px 14px;background:#fafbf8f5;border-top:1px solid #e8ece3;backdrop-filter:blur(10px)}
.copy-feedback,.voice-task-status{margin:6px 0;padding:8px 10px;background:var(--bj-surface-selected);border-radius:var(--bj-radius-list);color:var(--bj-brand-deep)}
.voice-task-status:empty{display:none}
.voice-fee-note{display:block;margin:5px 0;color:#4d6350}
body[data-preview-merchant] .flow-steps .current{color:var(--bj-brand-deep);font-weight:700}
body[data-preview-merchant] .flow-steps .current b{color:#fff;background:var(--bj-brand-deep);border-color:var(--bj-brand-deep)}
body[data-preview-merchant] .flow-steps .needs-input b{color:#693c08;background:#fff0d7;border-color:var(--bj-warning)}
body[data-preview-merchant] .flow-steps .needs-input b::after{content:"";position:absolute;width:5px;height:5px;border-radius:50%;background:var(--bj-warning);margin:0 0 16px 16px}
body[data-preview-merchant] .action-footer p{font-size:12px;color:#66785e;line-height:1.45;margin:0 0 8px}
body[data-preview-merchant] .page-title{margin-bottom:16px}
body[data-preview-merchant] .page-title p{line-height:1.55;color:#65735f}
body[data-preview-merchant] .media-summary{padding:12px 0 16px;color:#64745d}
body[data-preview-merchant][data-preview-route=playback] .page{padding-bottom:20px}
body[data-preview-merchant][data-preview-route=playback] .portrait-player{width:min(100%,300px);max-height:360px}
body[data-preview-merchant][data-preview-route=assets] .asset-grid{gap:12px;margin-bottom:18px}
body[data-preview-merchant][data-preview-route=assets] .selected-row{min-height:48px}
body[data-preview-merchant] .record-bottom{background:linear-gradient(transparent,rgba(17,26,20,.25))}
body[data-preview-merchant] .shoot-top{background:linear-gradient(rgba(17,26,20,.25),transparent)}
body[data-preview-merchant] .record-main{box-shadow:0 1px 8px #0006}
@media(max-width:360px){body[data-preview-merchant] .action-footer{padding-left:16px;padding-right:16px}}

/* R015: 摄像头和回看按实际媒体比例展示 */
body[data-preview-merchant] .full-camera .camera-stage>video{object-fit:contain;background:#18241d}
body[data-preview-merchant][data-preview-route=playback] .portrait-player>video,body[data-preview-merchant][data-preview-route=trim] .portrait-player>video{object-fit:contain;background:#18241d}

/* R017: 全页相同手机可用区域，取景即录制画面 */
body[data-preview-merchant] .preview-strip{display:none}body[data-preview-merchant] #app{height:100%}
body[data-preview-merchant] .full-camera .camera-stage>video{position:absolute;inset:0;opacity:0;pointer-events:none}
body[data-preview-merchant] #capture-output{display:block;width:100%;height:100%;object-fit:contain;background:#18241d}
body[data-preview-merchant] .full-camera .viewfinder-frame{display:none}

/* R018: 缩短镜头卡片并保持三个操作一行 */
body[data-preview-merchant][data-preview-route=shots] .capture-card{padding:12px;margin:10px 0}
body[data-preview-merchant][data-preview-route=shots] .capture-card-body{margin:10px 0;gap:10px}
body[data-preview-merchant][data-preview-route=shots] .capture-thumb{width:68px;height:78px}
body[data-preview-merchant][data-preview-route=shots] .capture-card-body p{line-height:1.5;color:#687963}
body[data-preview-merchant][data-preview-route=shots] .capture-actions{display:flex;flex-wrap:nowrap;gap:6px}
body[data-preview-merchant][data-preview-route=shots] .capture-actions button{width:auto;flex:1 1 0;min-width:0;min-height:44px;padding:6px 3px;font-size:12px;white-space:nowrap}
body[data-preview-merchant][data-preview-route=shots] .capture-actions .icon{width:14px;height:14px}

/* R019: 首页内容较少时底部导航保持在屏幕底部 */
body[data-preview-merchant][data-preview-route=home] #app{display:flex;flex-direction:column}
body[data-preview-merchant][data-preview-route=home] .studio-home{flex:1 0 auto;padding-bottom:20px}
body[data-preview-merchant][data-preview-route=home] .bottom-nav{margin-top:0;flex:none}

/* R023: 首页首屏，仅商家演示 */
body[data-preview-merchant][data-preview-route=home] .studio-title{margin:4px 0 16px}
body[data-preview-merchant][data-preview-route=home] .studio-title h1{font-size:21px;line-height:1.3}
body[data-preview-merchant][data-preview-route=home] .studio-create{min-height:180px}
body[data-preview-merchant][data-preview-route=home] .studio-art{height:180px}
body[data-preview-merchant][data-preview-route=home] .studio-create>div:first-child{gap:8px;padding:18px}
body[data-preview-merchant][data-preview-route=home] .studio-create strong{font-size:19px;line-height:1.35}
body[data-preview-merchant][data-preview-route=home] .studio-create small{font-size:13px;color:#596d53;line-height:1.4}
body[data-preview-merchant][data-preview-route=home] .studio-tools{gap:10px;margin:14px 0 12px}
body[data-preview-merchant][data-preview-route=home] .studio-tools button{min-height:68px;padding:11px 10px}
body[data-preview-merchant][data-preview-route=home] .studio-tools small{font-size:12px;color:#66765f;white-space:normal}
body[data-preview-merchant][data-preview-route=home] .studio-more{margin-top:10px}

/* R024: 会员入口和独立主导航页面 */
body[data-preview-merchant] .app-header .logo{transform:none}
.points-pill{display:flex;align-items:center;gap:7px;border:1px solid #e3ebd9;background:#f4f8ef;border-radius:18px;padding:5px 7px 5px 11px;font-size:12px;color:#65755b;min-height:36px}.points-pill b{color:#364630}.points-pill i{font-style:normal;font-weight:700;font-size:10px;letter-spacing:.3px;background:#e4e8e1;color:#90998c;border-radius:12px;padding:3px 6px}.points-pill i.active{background:#e6cc86;color:#72511a}.primary-nav .nav-icon{display:grid;place-items:center;width:38px;height:28px;border-radius:14px}.primary-nav button.active .nav-icon{background:#eaf4de}.primary-nav button{gap:1px}.primary-tab{padding-top:8px;flex:1 0 auto}.tab-heading{display:flex;align-items:center;justify-content:space-between;margin:4px 0 16px}.tab-heading h1{font-size:21px;margin:0}.tab-heading button{display:flex;align-items:center;gap:4px;color:#587947;font-size:13px}.tab-heading .icon{width:17px}.project-entry{width:100%;display:flex;align-items:center;gap:12px;text-align:left;background:#fff;border:1px solid #e5ebdf;border-radius:14px;padding:10px;margin:10px 0}.project-art{width:58px;height:65px;overflow:hidden;border-radius:9px;flex:none}.project-entry>span{display:grid;gap:3px;flex:1;min-width:0}.project-entry b,.library-tile b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-entry small{font-size:12px;color:#829078}.project-entry>.icon{width:17px;color:#92a38a}.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.library-tile{text-align:left;min-width:0;padding:0}.library-tile>div{position:relative;aspect-ratio:1;background:#edf2e8;overflow:hidden;border-radius:11px}.library-tile .scene-art,.library-tile img,.library-tile video{width:100%;height:100%;object-fit:cover}.library-tile>div>span{position:absolute;right:5px;bottom:5px;background:#1e2e22aa;color:#fff;border-radius:6px;padding:1px 5px;font-size:10px}.library-tile b{display:block;padding:5px 1px}.tab-footnote{font-size:12px;color:#87967f}.tab-empty{text-align:center;color:#8b9a83;padding:55px 30px}.tab-empty>.icon{width:36px;height:36px}.membership-page .member-top{display:flex;justify-content:space-between;align-items:center;background:#e9f3e1;border-radius:18px;padding:18px}.member-top h1{font-size:21px;margin:3px 0}.member-top p{margin:0;color:#64785b;font-size:13px}.member-vip{font-size:24px;color:#a8b0a4}.member-vip.active{color:#b58a2f}.member-disclosure,.member-demo-toggle{font-size:12px;color:#879481}.trial-card{border:1px solid #e3ebdc;border-radius:14px;padding:14px;background:#fff}.trial-card div,.member-heading{display:flex;align-items:center;justify-content:space-between}.trial-card div span,.member-heading span{font-size:12px;color:#8a9982}.trial-card p{margin:7px 0 2px;font-size:14px}.trial-card small{font-size:12px;color:#8a9982}.member-heading h2{font-size:16px}.member-plans{display:grid;grid-template-columns:1fr 1fr;gap:10px}.member-plan{display:grid;gap:5px;text-align:left;background:white;border:1px solid #e1e9d9;border-radius:14px;padding:12px;min-width:0}.member-plan.selected{border:2px solid #96c85b;background:#f6fbee}.member-plan strong{font-size:21px}.member-plan strong small,.member-plan>small{font-size:11px;color:#89977f;font-weight:400}.member-plan span{font-size:12px}.member-info{padding:16px 0;font-size:13px;color:#687a60}.member-info p{margin:6px 0}.member-demo-toggle{width:100%;padding:12px}.primary-nav~*{min-width:0}body[data-preview-merchant]:is([data-preview-route=projects-page],[data-preview-route=library-page],[data-preview-route=account-page]) #app{display:flex;flex-direction:column}body[data-preview-merchant]:is([data-preview-route=projects-page],[data-preview-route=library-page],[data-preview-route=account-page]) .bottom-nav{margin-top:0;flex:none}

/* R025: 项目网格、账号与会员页面 */
.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.project-tile{display:block;text-align:left;min-width:0;padding:0}.project-cover{position:relative;width:100%;aspect-ratio:4/3;overflow:hidden;border-radius:14px;background:#eaf0e3}.project-cover .scene-art,.project-cover img,.project-cover video{display:block;width:100%;height:100%;object-fit:cover}.project-cover>span{position:absolute;left:8px;top:8px;background:#1f2a21b8;color:#fff;border-radius:7px;padding:3px 7px;font-size:11px}.project-meta{display:grid;gap:2px;padding:8px 2px 0}.project-meta b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-meta small{font-size:11px;color:#7b8a73;white-space:nowrap}.membership-page .member-top{background:linear-gradient(125deg,#263e30,#4d6847);color:#f2e8c9;min-height:135px;box-shadow:0 8px 20px #243c281a}.membership-page .member-top span,.membership-page .member-top p{color:#d4decb}.membership-page .member-vip{color:#a8afa3}.membership-page .member-vip.active{color:#efce7f}.membership-page .trial-card{margin-top:6px}.membership-page .member-plan{box-shadow:0 3px 12px #2531280a}.membership-page .member-plan.selected{border-color:#82b94e;background:#f3faec}.membership-page .member-info{line-height:1.55}

body[data-preview-merchant][data-preview-route=account-page] .app-header .logo{
  border-radius:9px;background:#2b4938;color:#c9f38c;box-shadow:inset 0 1px 0 #ffffff30
}
.account-page .tab-heading{margin-bottom:11px}
.account-page .account-profile-header{
  display:flex;align-items:center;gap:14px;min-height:80px;padding:5px 2px 10px
}
.account-page .account-avatar{
  display:grid;place-items:center;flex:none;width:64px;height:64px;
  border:1px solid #dae7d8;border-radius:19px;background:#f1f7ed;
  box-shadow:0 5px 9px #284c321c
}
.account-page .account-avatar>img{display:block;width:48px;height:48px;object-fit:contain}
.account-page .account-identity{display:grid;gap:7px;min-width:0}
.account-page .account-identity>b{font-size:21px;line-height:1.2}
.account-page .account-status{display:flex;align-items:center;gap:5px;color:#4e6654;font-size:12px}
.account-page .account-status i{width:6px;height:6px;border-radius:50%;background:#729356}
.account-page .account-vip{
  position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:8px;
  width:100%;min-height:91px;margin-top:14px;padding:14px 14px 14px 16px;text-align:left;border:1px solid #3e604b;
  border-radius:18px;background:linear-gradient(110deg,#213f31,#365943);color:#fff;box-shadow:0 5px 14px #1f432624
}
.account-page .account-vip::before,.account-page .account-vip::after{
  content:"";position:absolute;z-index:-1;width:136px;height:82px;border:1px solid #dcf3bb38;
  border-radius:26px;right:-30px;top:-33px;transform:rotate(-24deg)
}
.account-page .account-vip::after{right:-51px;top:-17px}
.account-page .account-vip-copy{display:grid;gap:3px}
.account-page .account-vip-copy>b{font-size:17px;color:#f5f8eb}
.account-page .account-vip-copy>small{font-size:12px;color:#d1e4cc}
.account-page .account-vip-cta{
  display:inline-flex;align-items:center;flex:none;gap:3px;border:1px solid #eaf5d84d;border-radius:10px;
  background:#f1f8da;color:#314b31;padding:7px 8px;font-size:12px;font-weight:700;white-space:nowrap
}
.account-page .account-vip-cta .icon{width:14px;height:14px}
.account-page .account-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:13px}
.account-page .account-tool{
  display:grid;align-content:start;justify-items:start;gap:3px;padding:12px;min-width:0;min-height:106px;text-align:left;
  border:1px solid #e0e9dc;border-radius:16px;background:#fff;box-shadow:0 3px 10px #253e270b
}
.account-page .account-tool-top{display:flex;align-items:center;justify-content:space-between;width:100%;margin-bottom:4px}
.account-page .account-tool-top>.icon,.account-page .account-link>.icon{width:15px;height:15px;color:#687e6b}
.account-page .account-tool-icon,.account-page .account-link-icon{
  display:grid;place-items:center;flex:none;width:33px;height:33px;border-radius:10px;background:#e8f1df;color:#395a42
}
.account-page .account-tool:nth-child(2) .account-tool-icon{background:#edf0e6;color:#526344}
.account-page :is(.account-tool-icon,.account-link-icon) .icon{width:17px;height:17px}
.account-page .account-tool>b,.account-page .account-link>b{font-size:14px;line-height:1.3}
.account-page .account-tool>small{font-size:12px;line-height:1.4;color:#536a58}
.account-page .account-list{margin-top:13px;padding:0 12px;border:1px solid #e0e9dc;border-radius:16px;background:#fff}
.account-page .account-link{
  display:flex;align-items:center;gap:9px;width:100%;min-height:49px;padding:7px 0;text-align:left
}
.account-page .account-link+.account-link{border-top:1px solid #ebf0e8}
.account-page .account-link>b{flex:1}
.account-page .account-link-icon{width:28px;height:28px;border-radius:8px;background:#f0f4ec}
.account-page .trial-card{margin-top:13px}
.app-updates-page{display:grid;gap:12px}.app-updates-page .page-title{margin-bottom:2px}.update-current{display:grid;gap:4px;background:linear-gradient(135deg,#f2f8ed,#fff);box-shadow:0 4px 14px #34452b0a}.update-current>span,.update-latest>span{font-size:12px;color:#78906d}.update-current>b{font-size:20px}.update-current small{color:#879681}.update-latest{display:grid;gap:7px;padding:17px;border-radius:17px;color:#f6f9f2;background:linear-gradient(135deg,#294333,#668252);box-shadow:0 8px 20px #314b2c24}.update-latest>span{color:#d8e8ce}.update-latest h2{margin:0;font-size:25px}.update-latest p{margin:0;color:#e5eee0;font-size:13px;line-height:1.55}.update-latest .button{margin-top:4px}.update-empty{display:grid;justify-items:center;gap:7px;padding:29px 18px;border:1px dashed #cfdfc3;border-radius:17px;background:#fbfdf9;color:#51664a}.update-empty .account-link-icon{width:38px;height:38px;background:#edf7e4;color:#6a9a46}.update-empty p{margin:0;color:#899884;font-size:13px}.update-history{display:grid;gap:5px}.update-history h2{font-size:15px;margin:4px 0}.update-history button{display:flex;align-items:center;gap:8px;width:100%;padding:12px 2px;text-align:left;border-bottom:1px solid #e7eee1}.update-history span{font-weight:700}.update-history small{color:#82917b;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.update-history .icon{width:16px;color:#91a18a}.app-updates-page>.muted{margin:2px 0 0;font-size:12px;line-height:1.55;color:#8a9784}
.account-page :is(.account-vip,.account-tool,.account-link):focus-visible{outline:2px solid #648956;outline-offset:2px}
.account-page :is(.account-vip,.account-tool):active{filter:brightness(.97)}
.account-page .account-vip.gifted-vip{background:linear-gradient(135deg,#405e39,#6a9147);box-shadow:0 12px 24px #456b3729}
.account-page .gifted-vip .account-vip-cta{background:#f5c95a;color:#4d3710}
.invite-reward-card{position:relative;display:flex;align-items:center;gap:12px;width:100%;margin-top:12px;padding:15px 14px;text-align:left;border:1px solid #d8e8c5;border-radius:17px;background:linear-gradient(120deg,#f7fcef,#e7f5cf);overflow:hidden}
.invite-reward-card::after{content:'✦';position:absolute;right:18px;top:-17px;font-size:64px;color:#b8e77355}.invite-reward-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#aee95a;color:#314a25;flex:none}.invite-reward-card>span:nth-child(2){display:grid;gap:3px;flex:1;min-width:0}.invite-reward-card b{font-size:16px;color:#294023}.invite-reward-card small{font-size:12px;color:#5d7555}.invite-reward-card em{position:relative;z-index:1;font-style:normal;font-size:12px;font-weight:700;color:#4f7c32;white-space:nowrap}.invite-reward-card .icon{width:14px;height:14px;vertical-align:middle}.invite-reward-card.reward-earned{border-color:#e5c46c;background:linear-gradient(120deg,#fff8df,#f1d88b)}.invite-reward-card.reward-earned .invite-reward-icon{background:#fff0ae;color:#805814}.invite-reward-card.reward-earned b{color:#624719}.invite-reward-card.reward-earned small,.invite-reward-card.reward-earned em{color:#846630}

/* R026: 拍摄选择与脚本示意 */
.shoot-options .page-title{margin-bottom:14px}.shoot-choice{margin:18px 0}.shoot-choice h2{font-size:15px;margin:0 0 9px}.shoot-choice>div{display:flex;gap:8px}.shoot-choice button{flex:1;min-width:0;min-height:44px;padding:8px 5px;border:1px solid #dfe8d7;border-radius:12px;background:#fff;font-size:13px}.shoot-choice button.selected{border-color:#8fbe60;background:#eef8e5;color:#3e682b;font-weight:600}.shoot-options-note{display:flex;align-items:center;gap:8px;padding:10px 0;color:#6d8062;font-size:13px}.shoot-options-note .icon{width:17px}.shoot-options>.button{margin-top:10px}.shoot-options>.muted{font-size:12px}.plan-preview>.text-button{justify-content:flex-start}.plan-audio{border-radius:14px;background:#eef7e8;padding:14px;margin:8px 0}.plan-audio strong{font-size:14px}.plan-audio p{margin:4px 0 0;font-size:13px;color:#69805e}.timeline-preview{background:#fff;border:1px solid #e2ebda;border-radius:14px;padding:6px 14px}.timeline-preview>div{display:flex;gap:14px;padding:10px 0;border-bottom:1px solid #edf1e9;font-size:13px}.timeline-preview>div:last-child{border:0}.timeline-preview b{color:#628b42;min-width:64px}.plan-take{display:flex;align-items:flex-start;gap:10px;padding:11px 0;border-bottom:1px solid #e8eee3;font-size:14px}.plan-take>b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#eaf4e1;color:#648c48;font-size:12px;flex:none}.plan-take span{display:grid;gap:3px}.plan-take small{color:#7c8d75;font-size:12px}.plan-preview>.muted{font-size:12px}

/* R027: 拍摄流程中的声音方案 */
.shoot-choice:has([data-name="voice"])>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.clone-setup-link{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;padding:9px 12px;border:1px solid #dfe8d7;border-radius:12px;background:#fff;color:#557c40;font-size:13px}.clone-setup-link .icon{width:17px;height:17px}.voice-choice-hint{font-size:12px;color:#778a6d;margin:8px 0}

/* R028: 项目列表三列 */
body[data-preview-merchant][data-preview-route=projects-page] .project-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 9px}
body[data-preview-merchant][data-preview-route=projects-page] .project-meta b{font-size:13px}
body[data-preview-merchant][data-preview-route=projects-page] .project-meta small{white-space:normal;overflow-wrap:anywhere;line-height:1.4}
body[data-preview-merchant][data-preview-route=projects-page] .project-cover{border-radius:12px}

/* R029：文字配音页生成方式 */
.voice-tool .voice-methods{display:grid;grid-template-columns:1fr 1fr;gap:8px}.voice-tool .voice-methods button{display:flex;align-items:center;justify-content:space-between;text-align:left;padding:12px;border:1px solid #e2e8da;border-radius:14px;background:#fff;color:#263426}.voice-tool .voice-methods button.selected{border-color:#a6cf72;background:#f2f8e9}.voice-tool .voice-methods b,.voice-tool .voice-methods small{display:block}.voice-tool .voice-methods small{margin-top:5px;color:#74836b;font-size:11px}.voice-tool .voice-methods svg{width:17px;height:17px;color:#709a4d;flex:none}

.voice-tool .voice-preparation{display:grid;gap:8px;padding:16px;border:1px solid #e2e8da;border-radius:16px;background:#f7faf3;margin:14px 0}.voice-tool .voice-preparation strong{font-size:15px}.voice-tool .voice-preparation span{font-size:12px;color:#74836b}.voice-tool .voice-preparation .button{width:100%;margin:2px 0 0}

.voice-project-label{margin-bottom:14px}.voice-project-label select{width:100%;border:1px solid #dde6d8;border-radius:14px;padding:12px;background:#fff;color:#253128;font:inherit}
/* 片段选择：缩略时间线、可拖动选区和两侧手柄 */
body[data-preview-merchant] .segment-page .page-title{margin-bottom:10px}
body[data-preview-merchant] .segment-page .page-title h1{font-size:17px;margin:0}
body[data-preview-merchant] .segment-card{margin-top:14px;padding:15px;border-radius:16px}
body[data-preview-merchant] .segment-track{height:58px;margin-top:14px;background:#dce6d7;touch-action:none;user-select:none}
.segment-frames{height:100%;display:flex;overflow:hidden}.segment-frames span{flex:1;min-width:0;background:#d9e5d3 center/cover no-repeat;border-right:1px solid #ffffff2e}.segment-frames span:nth-child(even){background-color:#c9dac1}
body[data-preview-merchant] .segment-window{background:transparent;border:3px solid #a8e66a;border-radius:6px;box-shadow:0 0 0 999px #14201580;cursor:grab;touch-action:none}
.segment-accessible{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body[data-preview-merchant] .segment-times{margin-top:7px;font-size:12px}
body[data-preview-merchant] .segment-card .button{margin-top:14px}

.segment-grip{position:absolute;top:-3px;bottom:-3px;width:8px;background:#a8e66a;pointer-events:none}.segment-grip-start{left:-3px;border-radius:5px 0 0 5px}.segment-grip-end{right:-3px;border-radius:0 5px 5px 0}.segment-short[hidden]{display:none}.segment-short p{margin:12px 0 8px;font-size:13px;color:#9a6d22}.segment-short-actions{display:flex;gap:8px}.segment-short-actions button{border:1px solid #dbe6d2;border-radius:10px;background:#f7faf4;color:#557c40;padding:8px 14px;font-size:13px}

/* R038: 放大回看和选段画面，操作集中在底部 */
body[data-preview-merchant][data-preview-route=playback] .playback-page{padding:10px 16px 8px}
body[data-preview-merchant][data-preview-route=playback] .playback-player{width:100%;height:clamp(300px,65dvh,520px);max-height:none;aspect-ratio:auto;background:#18241d}
body[data-preview-merchant] .playback-meta{display:flex;justify-content:space-between;gap:12px;color:#708169;font-size:13px;padding:10px 2px 2px}
body[data-preview-merchant][data-preview-route=trim] .segment-page{padding:8px 16px 8px}
body[data-preview-merchant][data-preview-route=trim] .segment-player{width:100%;height:clamp(220px,42dvh,380px);max-height:none;aspect-ratio:auto;background:#18241d}
body[data-preview-merchant] .segment-card{margin-top:10px;padding:12px}
body[data-preview-merchant] .segment-track{margin-top:10px}
body[data-preview-merchant] .segment-footer .segment-short p{margin:0 0 9px;font-size:13px;color:#956826}
body[data-preview-merchant] .segment-footer .segment-short-actions{display:flex;gap:10px}
body[data-preview-merchant] .segment-footer .segment-short-actions .button{flex:1;min-height:44px;padding:10px;font-size:14px}
.segment-footer [hidden]{display:none!important}
body[data-preview-merchant] .segment-footer .segment-short-actions .primary{background:#b4ed68;border-color:#b4ed68;color:#243b1b}

/* R039: 预览使用剩余可用空间，媒体自身保持原比例 */
body[data-preview-merchant]:is([data-preview-route=playback],[data-preview-route=trim]) #app{display:flex;flex-direction:column}
body[data-preview-merchant]:is([data-preview-route=playback],[data-preview-route=trim]) #app>.app-header,body[data-preview-merchant]:is([data-preview-route=playback],[data-preview-route=trim]) #app>.flow-steps,body[data-preview-merchant]:is([data-preview-route=playback],[data-preview-route=trim]) #app>.action-footer{flex:none}
body[data-preview-merchant]:is([data-preview-route=playback],[data-preview-route=trim]) #app>.page{display:flex;flex-direction:column;flex:1 0 0;min-height:0}
body[data-preview-merchant]:is([data-preview-route=playback],[data-preview-route=trim]) .portrait-player{display:flex;align-items:center;justify-content:center;flex:1 1 0;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto;background:transparent;overflow:visible}
body[data-preview-merchant]:is([data-preview-route=playback],[data-preview-route=trim]) .portrait-player>video,body[data-preview-merchant]:is([data-preview-route=playback],[data-preview-route=trim]) .portrait-player>img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;background:transparent;border-radius:14px}
body[data-preview-merchant]:is([data-preview-route=playback],[data-preview-route=trim]) .portrait-player>.scene-art{width:100%;height:100%;border-radius:14px;overflow:hidden}
body[data-preview-merchant] .segment-page>.segment-card,body[data-preview-merchant] .segment-page>.page-title,body[data-preview-merchant] .playback-meta{flex:none}
body[data-preview-merchant] .playback-actions{display:flex;gap:8px}
body[data-preview-merchant] .playback-actions>.button{flex:1;min-width:0;padding-inline:8px}
body[data-preview-merchant] .playback-actions>[data-review-use]{flex:1.3}
body[data-preview-merchant] .playback-actions>[hidden],body[data-preview-merchant] [data-review-message][hidden]{display:none}
body[data-preview-merchant] [data-review-message]{margin:0 0 8px;color:#956826}
body[data-preview-merchant] .capture-thumb video[data-cover-start]:not([data-cover-ready]){visibility:hidden}

/* R042：创作入口 */
body[data-preview-merchant][data-preview-route=brief] #app{display:flex;flex-direction:column}
body[data-preview-merchant][data-preview-route=brief] .app-header,body[data-preview-merchant][data-preview-route=brief] .flow-steps{flex:none}
body[data-preview-merchant][data-preview-route=brief] .merchant-chat{flex:1 0 auto;padding:12px 18px 20px}
body[data-preview-merchant][data-preview-route=brief] .merchant-composer{flex:none;margin-top:0}
.start-idea-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:4px 0 16px}.start-idea-title span{font-size:12px;color:#79945e}.start-idea-title h1{font-size:23px;line-height:1.3;margin:7px 0 0}.start-idea-art{width:88px;height:72px;border-radius:14px;overflow:hidden;flex:none}.start-idea-art .scene-art{width:100%;height:100%}.start-profile{display:flex;align-items:center;justify-content:space-between;background:#f0f6e9;border-radius:12px;padding:9px 12px;font-size:13px;color:#648150}.start-profile button{display:flex;align-items:center;font-size:12px;color:#648150;min-height:32px}.start-profile .icon{width:15px}.start-idea-label{font-size:14px;font-weight:600;margin:22px 0 10px}.start-idea .chat-suggestions{margin:0;gap:8px}.start-idea .chat-suggestions>button{background:white;color:#394a35;line-height:1.5;padding:11px 12px;min-height:48px}.merchant-composer .composer-hint[hidden]{display:none}

/* R043：演示等待与紧凑方案 */
.idea-wait{display:flex;align-items:center;gap:10px;margin:18px 0;padding:14px;background:#f1f8e9;border-radius:14px;color:#466d39}.idea-wait-icon{font-size:23px}.idea-wait div{display:grid;flex:1}.idea-wait strong{font-size:14px}.idea-wait small{font-size:11px;color:#829477}.idea-wait-dots{font-size:23px;animation:ideaPulse 1s infinite}@keyframes ideaPulse{50%{opacity:.25}}
body[data-preview-merchant] .merchant-chat .candidate-list{margin:12px 0}.merchant-chat .candidate-card{padding:12px;margin:8px 0;border-radius:13px}.merchant-chat .candidate-card h3{margin:5px 0;font-size:14px}.merchant-chat .candidate-card p{margin:5px 0 8px;font-size:13px;line-height:1.55}.merchant-chat .candidate-card .button{min-height:40px;font-size:13px}

/* R044 文案编辑与拍摄设置 */
body[data-preview-merchant][data-preview-route=copy] #app{display:flex;flex-direction:column}
body[data-preview-merchant][data-preview-route=copy] #app>.app-header,body[data-preview-merchant][data-preview-route=copy] #app>.flow-steps,body[data-preview-merchant][data-preview-route=copy] #app>.action-footer{flex:none}
body[data-preview-merchant] .copy-workspace{display:flex;flex-direction:column;flex:1;min-height:0;padding:14px 18px 8px}
.copy-workspace-head{display:flex;align-items:center;justify-content:space-between}.copy-workspace-head h1{font-size:19px;margin:0 0 10px}.copy-workspace-head span{font-size:12px;color:#84927b}.copy-workspace-card{flex:1;min-height:200px;background:#fff;border:1px solid #dfe8d8;border-radius:16px;overflow:hidden}.copy-workspace-card textarea{display:block;width:100%;height:100%;min-height:200px;resize:none;border:0;outline:none;padding:16px;font:inherit;line-height:1.8;background:transparent;color:#253128}.copy-workspace .reading-hint{margin:8px 0 0}.copy-workspace .reading-hint .text-button{min-height:40px}
body[data-preview-merchant][data-preview-route=shoot-setup] #app{background:#dde6d7}.shoot-options{margin:18px 10px 0!important;background:#fafbf8;border-radius:20px 20px 0 0;box-shadow:0 0 0 999px #26342655;padding:18px 16px 20px!important;position:relative}.shoot-options .shoot-choice{margin:12px 0}.shoot-options .shoot-choice h2{margin-bottom:6px}.shoot-options .shoot-choice button{min-height:42px}.shoot-options .shoot-choice>div:has([data-name=voice]){display:grid;grid-template-columns:1fr 1fr}.voice-preview-choices{background:#f1f6ea;border-radius:12px;padding:10px;margin:8px 0}.voice-preview-choices>b{font-size:13px}.voice-preview-choices>div{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:7px}.voice-preview-choices button{min-height:40px;background:white;border:1px solid #dfe8d7;border-radius:9px;font-size:12px}.voice-preview-choices button.selected{background:#e5f5d2;border-color:#96c85b}

/* R045 声音方式费用提示 */
.shoot-options .shoot-choice button:has(small){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:52px}.shoot-options .shoot-choice button small{font-size:11px;font-weight:400;color:#7f9174;line-height:1.2}

/* R046 剪辑增强页面示意 */
.enhance-panel{margin:14px 0;padding:14px;border:1px solid #e1e9d9;border-radius:16px;background:#fff}.enhance-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.enhance-heading h2{font-size:16px;margin:0}.enhance-heading span{font-size:11px;color:#85957e}.enhance-heading .enhance-badge{background:#edf7e2;color:#608d42;border-radius:12px;padding:4px 8px;white-space:nowrap}.enhance-styles{display:grid;grid-auto-flow:column;grid-auto-columns:88px;overflow-x:auto;gap:10px;margin-top:12px;padding-bottom:3px}.enhance-style{min-width:0;padding:0;text-align:center}.enhance-sample{height:72px;border:2px solid transparent;border-radius:12px;display:flex;align-items:center;justify-content:center;color:white;font-size:12px;font-weight:700;text-shadow:0 1px 4px #0009}.enhance-style.selected .enhance-sample{border-color:#89c44a}.enhance-style b{display:block;font-size:12px;font-weight:500;margin-top:5px;color:#607259}.sample-none{background:#dde5d8;color:#637561;text-shadow:none}.sample-clean{background:#637f6b}.sample-bright{background:#e09664}.sample-warm{background:#c9a083}.sample-bold{background:#7c86a4}.sample-modern{background:#3a756d}.enhance-caption{font-size:11px;color:#899685;margin:8px 0 0}.editor-preview [data-enhance=bright]{color:#ffe892;font-weight:700}.editor-preview [data-enhance=warm]{color:#ffe5d2;font-weight:600}.editor-preview [data-enhance=bold]{font-weight:800;color:#fff88e;text-shadow:1px 2px 1px #452c22,-1px -1px 2px #452c22}.editor-preview [data-enhance=modern]{color:#bbf5ea;font-weight:700}

/* R047 增强在成片预览后 */
.enhance-entry{display:flex;align-items:center;gap:10px;width:100%;min-height:60px;margin:12px 0;padding:12px;border-radius:14px;background:#edf7e5;text-align:left;color:#4f7938}.enhance-entry>span{display:grid;flex:1}.enhance-entry b{font-size:14px}.enhance-entry small{font-size:11px;color:#819278}.enhance-entry .icon{width:19px}.enhance-page .enhance-preview{width:min(100%,270px);height:300px;aspect-ratio:auto;background:#dde9d5}.enhance-page .enhance-preview>video{object-fit:contain;background:#18241d}.enhance-preview [data-enhance=bright]{color:#ffe892;font-weight:700}.enhance-preview [data-enhance=warm]{color:#ffe5d2;font-weight:600}.enhance-preview [data-enhance=bold]{font-weight:800;color:#fff88e;text-shadow:1px 2px 1px #452c22,-1px -1px 2px #452c22}.enhance-preview [data-enhance=modern]{color:#bbf5ea;font-weight:700}

/* R048 配音音色目录 */
.voice-catalog-head{display:flex;align-items:center;justify-content:space-between}.voice-catalog-head h1{font-size:20px;margin:0}.voice-catalog-head span{font-size:11px;color:#889982}.voice-catalog-tabs{display:flex;gap:8px;overflow:auto;margin:14px 0}.voice-catalog-tabs button{white-space:nowrap;padding:8px 13px;border-radius:18px;background:#edf2e8;font-size:12px;color:#71826b}.voice-catalog-tabs button.selected{background:#dff0d1;color:#41662e;font-weight:600}.voice-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px}.voice-catalog-card{display:flex;align-items:center;min-width:0;border:1px solid #e4eadf;border-radius:12px;background:#fff}.voice-catalog-card.selected{border-color:#95c86c;background:#f5fbef}.voice-card-main{display:flex;align-items:center;gap:8px;padding:9px;min-width:0;flex:1;text-align:left}.voice-card-main>span:last-child{min-width:0;display:grid}.voice-card-main b{font-size:13px;white-space:nowrap}.voice-card-main small{font-size:10px;color:#8a9b82;white-space:nowrap}.voice-catalog-avatar{width:36px;height:42px;border-radius:9px;display:grid;place-items:center;color:#6d9956;background:#e5f0db;flex:none}.voice-catalog-avatar .icon{width:19px}.avatar-1{background:#e8e7f3;color:#8583a9}.avatar-2{background:#f6ebdd;color:#b9936e}.avatar-3{background:#e0eeec;color:#79a39a}.voice-favorite{flex:none;width:36px;height:44px;color:#9aa993;font-size:21px}.voice-favorite.active{color:#d29d37}.voice-catalog-empty{grid-column:1/-1;color:#8a9b82;font-size:13px;text-align:center;padding:20px}.voice-catalog .voice-tool-label{margin:12px 0}.voice-catalog .clone-entry{margin-top:8px}.voice-catalog .button.secondary{margin:10px 0}

/* R049 我的声音置顶及录制流程 */
.my-voice-top{display:flex;align-items:center;gap:10px;width:100%;margin:14px 0 4px;padding:12px;border:1px solid #dcebd2;border-radius:14px;background:#eff8e9;text-align:left;color:#577b45}.my-voice-top>span{display:grid;flex:1}.my-voice-top b{font-size:14px;color:#2e442a}.my-voice-top small{font-size:11px;color:#84977b}.my-voice-top strong{display:flex;align-items:center;white-space:nowrap;font-size:12px}.my-voice-top .icon{width:19px}.clone-progress{display:flex;align-items:center;margin:8px 0 24px;gap:6px}.clone-progress span{display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:11px;color:#9ba899}.clone-progress span.active,.clone-progress span.done{color:#64904b}.clone-progress b{display:grid;place-items:center;border-radius:50%;width:22px;height:22px;background:#eef3e9;font-size:11px}.clone-progress .active b{background:#b8ef68;color:#2b4520}.clone-progress i{height:1px;background:#e0e9dc;flex:1}.clone-flow-head h1{font-size:21px;margin:0}.clone-flow-head p{font-size:13px;color:#83947c;margin:5px 0 18px}.clone-reading{padding:20px;border:1px solid #dfe9d9;background:white;border-radius:16px;line-height:1.9;font-size:16px}.clone-record-placeholder{display:grid;place-items:center;gap:6px;padding:26px;color:#71965f;font-size:12px}.clone-record-placeholder .icon{width:40px;height:40px}.clone-flow .clone-consent{margin:16px 0}.clone-flow .text-button{min-height:44px}

/* R050 前十字试听 */
.voice-preview-input{display:grid;gap:6px;margin:12px 0;font-size:13px;font-weight:600}.voice-preview-input textarea{border:1px solid #dfe8d8;border-radius:12px;background:white;padding:10px;resize:vertical;font:inherit;font-weight:400;min-height:72px}.voice-preview-input small{font-size:11px;font-weight:400;color:#85937d}.voice-preview-state{display:flex;align-items:center;justify-content:space-between;padding:9px 12px;background:#edf7e5;border-radius:10px;color:#5e834d;font-size:12px}.voice-preview-state button{display:flex;align-items:center;gap:4px;font-size:13px;font-weight:600}.voice-preview-state .icon{width:15px}.voice-catalog>.button.primary{margin-top:16px}

/* R051 音色准备状态 */
.voice-preview-state span{display:grid;gap:2px}.voice-preview-state small{font-size:11px;color:#829578}.voice-loading-spinner{display:inline-block;width:17px;height:17px;flex:none;border:2px solid #cde5bf;border-top-color:#5d9a48;border-radius:50%;animation:voice-spin .8s linear infinite}.voice-catalog-card.is-generating{border-color:#80b958;background:#f0fae8;box-shadow:0 0 0 2px #b5dc9a55}.voice-catalog-card.is-generating .voice-catalog-avatar{animation:voice-pulse 1.1s ease-in-out infinite}.voice-catalog-card.is-generating .voice-card-main small{color:#5e9546;font-weight:600}@keyframes voice-spin{to{transform:rotate(360deg)}}@keyframes voice-pulse{50%{opacity:.5}}

/* R053 本人录音回听 */
.clone-audio{display:block;width:100%;margin:0 0 12px}.clone-flow .button.secondary{margin-top:10px}
.clone-flow .clone-record-actions .button{margin:0;min-width:0;min-height:44px}
.clone-flow .clone-record-actions .clone-rerecord{flex:0 0 auto;width:auto;padding-inline:12px;gap:4px;font-size:13px;white-space:nowrap}
.clone-record-actions .clone-rerecord .icon{width:14px;height:14px}
.voice-tool .node-voice-panel{min-width:0;grid-template-columns:minmax(0,1fr)}
.node-voice-panel label{display:grid;gap:6px;min-width:0}
.node-voice-panel input,.node-voice-panel textarea,.node-voice-panel .button{box-sizing:border-box;width:100%;min-width:0;max-width:100%}

/* R054 录音状态 */
.clone-record-placeholder{margin:18px 0;padding:20px;border-radius:16px;background:#f0f7eb}.clone-record-placeholder strong{font-size:17px;color:#365c2d;font-variant-numeric:tabular-nums}.clone-record-placeholder.is-recording{background:#edf8e5}.clone-record-placeholder.is-recording .icon{animation:voice-pulse 1.1s ease-in-out infinite}.clone-audio{border-radius:12px}.clone-flow .clone-reading{font-size:15px;line-height:1.85}

/* R057 示例文字输入时自动隐藏 */
.voice-preview-input textarea:focus::placeholder{opacity:0}
.voice-catalog #studio-text[readonly]{resize:none}
.voice-preview-quota{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px 10px;color:#55714c;font-size:12px;font-weight:500;text-align:right}

/* R059 统一原创音色头像与圆润收藏 */
.voice-catalog-avatar{overflow:hidden;padding:2px}.voice-catalog-avatar svg{width:100%;height:100%}.voice-favorite{display:grid;place-items:center}.voice-favorite svg{width:20px;height:20px}.voice-favorite.active svg{fill:#f4c86b;stroke:#c79339}

/* R063 首页卡片、项目与素材 */
body[data-preview-merchant] .studio-create{border:1px solid #dcebd1;background:linear-gradient(135deg,#f0f8e7,#dcedd0);box-shadow:0 6px 20px #3d60310d;min-height:172px}
body[data-preview-merchant] .studio-create>div:first-child{padding:18px;gap:7px}body[data-preview-merchant] .studio-create strong{font-size:19px;line-height:1.35;letter-spacing:.1px}body[data-preview-merchant] .studio-create small{font-size:12px;color:#71836a;line-height:1.5}body[data-preview-merchant] .studio-create b{display:inline-flex;align-items:center;gap:5px;color:#385d2d;font-size:13px;margin-top:7px}body[data-preview-merchant] .studio-art{height:172px}
body[data-preview-merchant][data-preview-route=projects-page] .project-cover{aspect-ratio:1}body[data-preview-merchant][data-preview-route=projects-page] .project-meta small{color:#a2aea0;font-size:10px;line-height:1.45}body[data-preview-merchant][data-preview-route=library-page] .library-tile>div{aspect-ratio:1}

/* R065 首页拍摄示意 */
body[data-preview-merchant] .studio-create .studio-art{position:relative;background:#e2efda;overflow:hidden;align-self:stretch;height:auto;min-height:172px}body[data-preview-merchant] .home-capture-art{display:block;width:100%;height:100%;min-height:172px;object-fit:cover}
/* R066 首页视觉层级，保持既有配色与入口 */
body[data-preview-merchant][data-preview-route=home] .studio-title{margin:6px 0 15px}
body[data-preview-merchant][data-preview-route=home] .studio-title h1{font-size:21px;line-height:1.35;letter-spacing:.1px}
body[data-preview-merchant][data-preview-route=home] .studio-create{border-radius:18px}
body[data-preview-merchant][data-preview-route=home] .studio-tools{gap:10px;margin:14px 0 19px}
body[data-preview-merchant][data-preview-route=home] .studio-tools button{min-height:68px;border-radius:14px;padding:11px 10px;gap:8px}
body[data-preview-merchant][data-preview-route=home] .studio-tools b{font-size:14px;line-height:1.35}
body[data-preview-merchant][data-preview-route=home] .studio-tools small{font-size:12px;line-height:1.45;color:#687a61}
body[data-preview-merchant][data-preview-route=home] .studio-home .section-heading{margin-top:0}
body[data-preview-merchant][data-preview-route=home] .recent-card{min-height:76px;padding:10px 2px;gap:12px}
body[data-preview-merchant][data-preview-route=home] .recent-card h3{font-size:14px;line-height:1.4;margin:0 0 4px}
body[data-preview-merchant][data-preview-route=home] .recent-card p{font-size:12px;color:#71836b}
.studio-home .home-resume{display:flex;align-items:center;gap:12px;width:100%;min-height:var(--bj-touch-target);margin-bottom:12px;padding:12px;text-align:left;background:var(--bj-surface);border:1px solid var(--green-line);border-radius:var(--bj-radius-card);color:var(--bj-brand-deep)}
.home-resume>span{display:grid;place-items:center;width:36px;height:36px;flex:none;background:var(--bj-surface-selected);border-radius:var(--bj-radius-list)}
.home-resume>div,.home-project-meta{min-width:0;flex:1}
.home-resume b,.home-resume small{display:block}
.home-resume b{font-size:var(--type-body,var(--bj-text-body));line-height:1.35}
.home-resume .home-resume-meta{display:flex;align-items:baseline;gap:6px;color:#586c50;white-space:nowrap}
.home-resume-meta span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis}
.home-resume-meta span+span{flex:none;border-left:1px solid var(--green-line);padding-left:6px}
.home-recents{margin-top:var(--bj-space-card)}
.home-project-meta h3{max-width:100%}
body[data-preview-merchant][data-preview-route=home] .studio-more summary{min-height:44px;display:flex;align-items:center;cursor:pointer}
body[data-preview-merchant][data-preview-route=home] .studio-more summary::before{content:'›';font-size:16px;margin-right:7px;transform:rotate(0deg)}
body[data-preview-merchant][data-preview-route=home] .studio-more[open] summary::before{transform:rotate(90deg)}
@media(max-width:360px){body[data-preview-merchant][data-preview-route=home] .studio-tools button>.icon:last-child{display:none}body[data-preview-merchant][data-preview-route=home] .studio-tools button>.icon:first-child{width:28px;height:28px}body[data-preview-merchant][data-preview-route=home] .studio-tools button{padding:10px 8px;gap:6px}body[data-preview-merchant][data-preview-route=home] .studio-tools b{font-size:13px}body[data-preview-merchant][data-preview-route=home] .studio-tools small{font-size:11px}}
/* R067 首页创作主入口 */
body[data-preview-merchant][data-preview-route=home] .studio-create b{justify-self:start;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;margin-top:7px;padding:9px 15px;border-radius:13px;background:#b8ef68;color:#263d1d;font-size:14px;font-weight:700;box-shadow:0 3px 8px #759e3c1a}
body[data-preview-merchant][data-preview-route=home] .studio-create b .icon{width:17px;height:17px}
body[data-preview-merchant][data-preview-route=home] .studio-create:active b{background:#a7df59}
@media(max-width:360px){body[data-preview-merchant][data-preview-route=home] .studio-create b{padding:8px 12px;min-height:40px;font-size:13px}}

/* R068 发布资料 */
.publish-panel{margin:14px 0;padding:15px;background:#fff;border:1px solid #e2eadc;border-radius:16px}
.publish-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.publish-heading h2{font-size:16px;margin:0}
.publish-heading button{min-height:36px;padding:4px 8px;color:#4b7537;font-size:13px;font-weight:600}
.publish-heading>span,.publish-film small,.publish-format small{font-size:11px;color:#607255}
.publish-film,.publish-format{background:#f3f8ee;border:1px solid #e8efe2;border-radius:12px;padding:9px}
.publish-film{display:flex;align-items:center;justify-content:space-between;gap:8px}
.publish-film>div:first-child{display:grid;gap:2px}
.publish-film b,.publish-format b{font-size:13px}
.publish-film-actions,.publish-format-actions{display:flex;align-items:center;gap:6px}
.publish-film button[hidden],.publish-panel button[hidden],.publish-panel img[hidden]{display:none}
.publish-film-actions button,.publish-format-actions button,.publish-field button{min-height:40px;padding:5px 8px;color:#4b7537;font-size:13px;font-weight:600}
.publish-film-actions button{flex:none;white-space:nowrap}
.publish-film-actions .primary{width:auto;border-radius:10px;color:#22361a;padding-inline:11px}
.result-page>.publish-film{margin:10px 0;background:#fff;border-color:#e2eadc;gap:0;padding:8px}
.result-page>.publish-film>div:first-child:has(+.publish-film-actions [data-publish-film-ready]:not([hidden])){display:none}
.result-page>.publish-film .publish-film-actions{flex:1}
.result-page>.publish-film .publish-film-actions button{min-height:44px}
.result-page>.publish-film .publish-film-actions .primary{flex:1;font-size:15px}
.publish-panel button:disabled{opacity:.45}
.publish-formats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
.publish-format{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px;background:#f5f8f1;border-radius:12px;padding:6px}
.publish-cover-thumb{grid-column:1/-1;position:relative;display:grid;place-items:center;height:106px;border-radius:8px;overflow:hidden;background:#e4eedb;color:#637d55}
.publish-cover-thumb .icon{width:24px;height:24px}
.publish-cover-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.publish-cover-thumb:has(img:not([hidden])) .icon{display:none}
.publish-format-label{display:grid;gap:4px}
.publish-format-actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
.publish-format-actions button{padding-inline:3px;min-height:36px}
.publish-field{display:grid;gap:6px;margin-top:8px}
.publish-field>span{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:600}
.publish-field input,.publish-field textarea{width:100%;padding:10px 12px;background:#fafcf8;border:1px solid #e2eadd;border-radius:10px;font:inherit;color:#263528}
.publish-panel .publish-field :is(input,textarea):read-only{background:#f5f8f1;border-color:transparent}
.publish-field textarea{resize:vertical}
.result-workspace .publish-panel{padding:12px}
.publish-process{margin:0 0 10px;color:#526955;font-size:var(--type-detail,13px);line-height:1.45}
.publish-cover-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:14px 0 6px}
.publish-cover-heading h3{margin:0;color:#213b2c;font-size:var(--type-section,16px)}
.publish-cover-heading span{color:#526955;font-size:var(--type-detail,13px);text-align:end;overflow-wrap:anywhere}
.result-workspace .publish-formats{align-items:start;gap:9px;margin-bottom:11px}
.result-workspace .publish-format{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;padding:7px;background:#f2f6ee;border-radius:13px}
.result-workspace .publish-format-label{display:flex;align-items:baseline;justify-content:space-between;gap:3px}
.result-workspace .publish-format-label b{font-size:var(--type-detail,14px);line-height:1.25}
.publish-format-label>span{color:#526955;font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
.result-workspace .publish-cover-thumb{height:auto;aspect-ratio:3/4;background:#e5ede2}
.result-workspace .publish-cover-thumb[data-format=landscape]{aspect-ratio:4/3}
.result-workspace .publish-format-actions{display:flex;justify-content:flex-start;flex-wrap:wrap;gap:2px}
.result-workspace .publish-format-actions button{display:inline-flex;align-items:center;justify-content:center;gap:3px;padding-inline:4px}
.publish-format-actions button>.icon{width:14px;height:14px}
.publish-format .publish-retry{justify-self:start;min-height:44px;color:#28543c;font-weight:650}
.publish-platform-entry{justify-content:space-between;margin-top:12px}
#publish-platform-options{margin:0;padding:0;border:0;min-width:0}
#publish-platform-options legend{padding:0;margin-bottom:6px;font-size:var(--type-detail,14px);color:#4b6250}
#publish-platform-options>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
#publish-platform-options label{position:relative;display:block;cursor:pointer}
#publish-platform-options input{position:absolute;inline-size:1px;block-size:1px;opacity:0}
#publish-platform-options span{min-height:44px;display:grid;place-items:center;border:1px solid #d9e4d8;border-radius:11px;background:#f2f6ee;color:#264936;padding:5px}
#publish-platform-options input:checked+span{border-color:#477654;box-shadow:inset 0 0 0 1px #477654;background:#e2f0da;font-weight:730}
#publish-platform-options input:focus-visible+span{outline:2px solid #285b40;outline-offset:2px}
/* 背景音乐 */
.music-workspace .music-preview{position:relative;display:grid;place-items:center;background:#202923;min-height:128px;border-radius:16px;overflow:hidden}
.music-preview>video,.music-preview>img,.music-preview>.scene-art{display:block;width:100%;max-height:270px;object-fit:contain}
.music-preview .demo-label{top:10px;bottom:auto;pointer-events:none}
.music-workspace .section-heading{margin:12px 0 6px}
.music-workspace .section-heading>span,.music-disclosure{font-size:11px;color:#586d51}
.music-filters{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.music-filters button{min-height:32px;padding:0 9px;border-radius:10px;background:#eef3e9;font-size:12px}
.music-filters .music-none{margin-left:auto}.music-filters [aria-pressed=true]{background:#d9edc5;color:#365626;font-weight:700}
.music-tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px 7px}
.music-tile{position:relative;min-width:0}
.music-art{display:grid;width:100%;aspect-ratio:1;place-items:center;position:relative;border-radius:10px;color:#355744;background:linear-gradient(145deg,#e9efd9,#c5dbbe)}
.music-art[aria-pressed=true]{box-shadow:inset 0 0 0 2px #649843}
.music-art>.icon{width:34%;height:34%}
.music-art-soft{background:linear-gradient(145deg,#f8e6dd,#d8beba);color:#684c67}
.music-art-bright{background:linear-gradient(145deg,#fff0b7,#e4be65);color:#67521e}
.music-art-steady{background:linear-gradient(145deg,#dce9f5,#afbecf);color:#354b72}
.music-art-fresh{background:linear-gradient(145deg,#cdeeda,#9fcdb6);color:#36574e}
.music-art-pulse{background:linear-gradient(145deg,#eae2fa,#baade0);color:#514374}
.music-tile-caption{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;padding:4px 0;font-size:11px}
.music-favorite{position:absolute;display:grid;place-items:center;top:0;right:0;width:25px;height:25px;padding:0;color:#394b36;border-radius:0 10px 0 8px;background:#fff9}
.music-favorite .icon{width:14px;height:14px}
.music-favorite[aria-pressed=true] svg{fill:#f1c966;stroke:#6c5015}
.music-audition{margin:8px 0 0}
.voice-repair{display:grid;grid-template-columns:auto repeat(2,minmax(0,1fr));align-items:center;gap:6px;margin-top:6px;color:#34452f}
.voice-repair span{padding-right:4px}
.voice-repair button{min-height:40px;padding:4px 8px;border:1px solid #d7e6cd;border-radius:12px}
.voice-repair button[aria-pressed=true]{background:#e4f5d1;border-color:#aacf81;font-weight:700}
.music-mix{margin-top:7px;display:grid;gap:3px}
.mix-row{display:grid;grid-template-columns:4.7em minmax(0,1fr) 7.7em;gap:6px;align-items:center;font-size:11px}
.mix-label{display:grid;gap:1px;line-height:1.2;color:#34452f}
.mix-label output{color:#586d51;font-variant-numeric:tabular-nums}
.mix-scale{position:relative;height:28px;display:grid;align-items:center}
.mix-scale::before{content:"";height:5px;position:absolute;left:7px;right:7px;border-radius:9px;background:linear-gradient(to right,#dce6d7 var(--recommended-start),#8fbe62 var(--recommended-start) var(--recommended-end),#dce6d7 var(--recommended-end))}
.mix-scale::after{content:"";height:9px;width:1px;background:#4b6143;position:absolute;left:50%;pointer-events:none}
.mix-scale input{appearance:none;position:relative;z-index:1;width:100%;height:28px;margin:0;background:transparent;cursor:pointer}
.mix-scale input::-webkit-slider-thumb{appearance:none;width:14px;height:14px;border-radius:50%;background:#46743c;border:2px solid #fff;box-shadow:0 0 0 1px #46743c}
.mix-scale input::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:#46743c;border:2px solid #fff;box-shadow:0 0 0 1px #46743c}
.mix-hint{color:#506848;font-size:10px;text-align:right;white-space:nowrap}
.music-disclosure{display:block;margin-top:4px}
.music-visual{margin-top:12px}
.music-visual summary{padding:11px 0;cursor:pointer}
.film-player{display:grid;place-items:center;overflow:hidden;border-radius:16px;background:#202923}.film-player video{display:block;width:100%;max-height:390px;object-fit:contain}
.music-art>img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.music-art[aria-pressed=true]>img{width:calc(100% - 4px);height:calc(100% - 4px);border-radius:8px}
.project-narration .volume-panel{display:grid;gap:10px;margin-top:12px}.project-narration audio{width:100%;height:40px}.project-narration .narration-copy{white-space:pre-wrap;max-height:8em;overflow:auto;margin:0;color:#52644b}.project-narration .narration-consent{display:flex;align-items:center;gap:8px;margin:0}.project-narration .narration-consent input{width:16px;height:16px;margin:0;flex:none}.project-narration .narration-upload{display:flex;position:relative;justify-content:center}.project-narration #narration-import{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.project-narration .narration-upload:focus-within{outline:2px solid #75a35b}.project-narration #project-voice-status:empty{display:none}
.enhancement-frame{position:relative;width:min(100%,var(--film-max-width));margin-inline:auto;overflow:hidden}
.enhancement-frame video,.film-player .enhancement-frame video{display:block;width:100%;height:100%;max-height:none;object-fit:contain}
.enhancement-frame [data-film-overlay]{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.enhance-page .film-player{margin-bottom:12px}
.cover-picker-preview{display:grid;place-items:center;background:#202923;border-radius:12px;overflow:hidden}
.cover-picker-preview video{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.cover-picker-preview canvas{width:auto;height:auto;max-width:100%;max-height:275px;display:block}
.cover-composer .cover-picker-preview{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:10px;align-items:end;background:transparent}
.cover-picker-preview figure{width:100%;margin:0;display:grid;justify-items:center;gap:4px}
.cover-picker-preview figcaption{font-size:12px;color:#506542}
.cover-picker-preview #cover-frame{outline:1px solid #9ebd85;outline-offset:-1px}
.cover-picker-preview #cover-pair-frame{cursor:default;touch-action:auto}
.cover-composer canvas{border-radius:12px;touch-action:none;cursor:move}
.cover-gestures,.cover-format{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#506542}
.cover-gestures{margin:4px 0}
.cover-format{margin:12px 0 10px;font-weight:700}
.cover-gestures #cover-zoom,.cover-format #cover-direction{display:flex;align-items:center;gap:2px;background:#edf2e7;border-radius:13px;padding:2px}
.cover-gestures button,.cover-format button{min-height:38px;min-width:38px;border:0;border-radius:11px;background:transparent;color:#3b5430;font:inherit;font-weight:700;white-space:nowrap}
.cover-gestures [data-cover-zoom=in],.cover-gestures [data-cover-zoom=out]{font-size:18px}
.cover-gestures [data-cover-zoom=reset]{padding-inline:8px}
#cover-zoom-status{min-width:3em;text-align:center;font-variant-numeric:tabular-nums}
.cover-format button{display:flex;align-items:center;gap:5px;padding:0 9px}
.cover-format button i{display:block;width:10px;height:13px;border:1.5px solid currentColor;border-radius:2px}
.cover-format [data-cover-direction=landscape] i{width:13px;height:10px}
.cover-format button[aria-pressed=true]{background:#b9ec78;color:#24391e}
.cover-template-heading{margin:0 0 5px;font-size:12px;font-weight:700;color:#506542}
.cover-template-rail{display:grid;grid-auto-flow:column;grid-auto-columns:76px;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;padding:2px 2px 5px;scrollbar-width:thin}
.cover-template-rail button{min-width:0;border:1px solid #e0e9d7;border-radius:12px;padding:3px;background:#fff;color:#435b37;text-align:left}
.cover-template-rail button[aria-pressed=true]{border-color:#61983a;box-shadow:0 0 0 1px #61983a;background:#eef7e6;color:#28491e}
.cover-template-image{display:block;position:relative;aspect-ratio:4/3;border-radius:8px;overflow:hidden;background:#d4e2cb var(--cover-template-image,none) center/cover}
.cover-template-image b{position:absolute;inset-inline:3px;bottom:4px;background:var(--sample-paper);color:var(--sample-ink);padding:2px 3px;border-radius:3px;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cover-template-image b.top{top:4px;bottom:auto}
.cover-template-rail[data-direction=portrait] .cover-template-image{aspect-ratio:3/4}
.cover-template-image :is(img,canvas),.enhance-sample :is(img,canvas){position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cover-template-image:has(canvas:not([hidden])) b,.cover-template-image:has(canvas:not([hidden])) img,.enhance-sample:has(canvas:not([hidden])) img{display:none}
.enhance-sample{position:relative;overflow:hidden}
.enhance-styles .enhance-style{align-self:start}
.result-workspace{padding-bottom:20px}
.result-intro{display:flex;align-items:baseline;justify-content:space-between;gap:9px;margin:2px 0 13px;flex-wrap:wrap}
.result-intro h1{margin:0;font-size:var(--type-title,22px);line-height:1.2;overflow-wrap:anywhere}
.result-intro .success-line{display:flex;gap:4px;align-items:center;margin:0;font-size:var(--type-small,12px);white-space:nowrap}
.result-intro .success-line .icon{width:15px;height:15px}
.result-workspace .film-player{margin:0;background:transparent}
.result-workspace .enhancement-frame{border-radius:16px;background:#24382c}
.result-workspace-meta{display:flex;justify-content:space-between;gap:8px;margin:8px 1px 2px;color:#526955;font-size:var(--type-small,13px)}
.result-recovery-note{margin:8px 0;color:#456454;font-size:var(--type-detail,13px)}
.pending-film-preview .text-button{min-height:44px;text-align:start;color:#2e6346}
.pending-film-preview video{max-height:35dvh}
.result-workspace>.publish-film{margin:10px 0 16px;padding:0;border:0;background:transparent}
.result-workspace .publish-panel{margin-top:18px}
.result-tune-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 14px}
.result-tune-actions>[data-go]{display:flex;align-items:center;gap:8px;min-height:48px;padding:8px;border-radius:12px;background:#edf4e9;color:#29543b;text-align:left}
.result-tune-actions .icon{inline-size:17px;block-size:17px;flex:none}
.result-tune-actions>[data-go]>span{display:grid;min-width:0;gap:2px}
.result-tune-actions b{font-size:var(--type-body,15px);line-height:1.25}
.result-tune-actions small{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.version-list article>div{display:grid;min-width:0}
.version-list article small{color:#536a58;font-size:12px}
.result-workspace+.action-footer [data-result-finish-state]{font-size:var(--type-detail,13px)}
.result-secondary-actions{display:flex;flex-wrap:wrap;gap:7px 14px;margin-top:16px}
.result-secondary-actions .text-button{min-height:44px;display:inline-flex;align-items:center;gap:5px}
.result-secondary-actions .button{order:-1}
.enhance-panel:is([data-inline-enhancement],.enhance-page .enhance-panel){padding:0;border:0;background:none;margin:14px 0}
.enhance-heading h2,.result-versions h2{font-size:var(--type-section,17px);margin:0;color:#213b2c}
.enhance-heading .enhance-badge{font-size:var(--type-small,12px);color:#375c3e}
.enhance-styles{grid-auto-columns:clamp(76px,22vw,112px);gap:8px;scroll-snap-type:x proximity;margin-top:9px;padding:3px 2px 4px}
.enhance-styles .enhance-style{scroll-snap-align:start}
.enhance-style .enhance-sample{height:auto;aspect-ratio:1.18;border-radius:12px}
.enhance-style b{font-size:var(--type-small,13px);line-height:1.35;color:#526955;overflow-wrap:anywhere}
.enhance-style.selected b{color:#224933;font-weight:730}
.enhance-style .enhance-check{position:absolute;top:4px;right:4px;width:20px;height:20px;border-radius:50%;display:none;place-items:center;color:#fff;background:#234b37}
.enhance-style .enhance-check .icon{width:14px;height:14px}
.enhance-style.selected .enhance-check{display:grid}
.enhance-style.selected .enhance-sample{border-color:#477654;box-shadow:0 0 0 2px #dbead4}
.enhance-example{position:absolute;left:4px;right:auto;max-width:calc(100% - 8px);top:7px;padding:3px 4px;border-radius:5px;background:var(--template-paper);color:var(--template-ink);font-size:10px;font-weight:750;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:none}
.enhance-example.lower{top:auto;bottom:6px}
.enhance-style:focus-visible{outline:2px solid #255d43;outline-offset:1px;border-radius:12px}
.enhance-controls{display:grid;gap:6px;margin-top:5px}
.enhance-controls .template-sound{justify-self:start;min-height:44px}
.enhance-state{margin:0;color:#456454;font-size:var(--type-detail,13px)}
.enhance-trial:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}
.enhance-trial .text-button{min-height:44px}
.result-versions{margin-top:16px}
.version-list{display:grid;gap:6px;margin-top:8px}
.version-list article{display:grid;grid-template-columns:30px minmax(0,1fr) 44px 44px;align-items:center;gap:5px;padding:2px 6px 2px 10px;border:1px solid #e0e9dc;border-radius:12px;background:#fff}
.version-list strong{font-size:var(--type-body,15px);overflow-wrap:anywhere}
.version-list button,.version-item-icon{display:grid;place-items:center;color:#2e6346}
.version-list button{height:44px}
.version-list button:active{background:#e6f0df;border-radius:12px}
.version-preview-video{display:block;width:100%;max-height:49dvh;margin-bottom:12px}
.voice-catalog-avatar img{width:100%;height:100%;object-fit:cover;border-radius:7px}
.voice-catalog-avatar:has(img:not([hidden])) svg{display:none}
.cover-template-name{display:block;padding:3px 2px 1px;font-size:11px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cover-composer button:disabled{opacity:.55}
dialog:has(.cover-composer){max-height:94dvh;padding:15px 16px;overflow:hidden}
.cover-scroll{max-height:calc(94dvh - 150px);overflow:auto;overscroll-behavior:contain;padding:2px}
.cover-save{padding:8px 0 2px}
.cover-save .button{width:100%}
.cover-composer-r322 .cover-format{margin:2px 0 8px}
dialog:has(.cover-composer-r322) .modal-close{position:absolute;inset:7px 9px auto auto;float:none}
dialog:has(.cover-composer-r322) h2{padding-inline-end:44px}
.cover-composer-r322 #cover-direction{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.cover-composer-r322 #cover-direction button{justify-content:center;padding-inline:5px;min-height:44px}
.cover-composer-r322 .cover-picker-preview{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center}
.cover-composer-r322 .cover-picker-preview canvas{max-height:190px}
.cover-composer-r322 .cover-gestures{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}
#cover-layer{display:flex;gap:2px;padding:2px;border-radius:12px;background:#edf2e7}
#cover-layer button[aria-pressed=true]{background:#d5ebc9;box-shadow:inset 0 0 0 1px #7dab72}
#cover-zoom[data-layer=title]>:not([data-cover-zoom=reset]){display:none}
.cover-template-check{display:none;position:absolute;top:3px;right:3px;width:18px;height:18px;border-radius:50%;place-items:center;background:#234b37;color:#fff}
.cover-template-check .icon{width:12px;height:12px}
.cover-template-rail button[aria-pressed=true] .cover-template-check{display:grid}
.cover-title-field{margin:8px 0}
.cover-composer #cover-status:empty{display:none}
.cover-timeline{margin-top:10px;display:grid;gap:5px}
.cover-timeline label{display:flex;justify-content:space-between;font-size:12px}
.cover-timeline input{width:100%;accent-color:#75994e;margin:0}
.cover-strip{display:flex;gap:3px;min-height:40px}
.cover-strip button{flex:1;min-width:0;display:block;padding:0;border:2px solid transparent;border-radius:6px;overflow:hidden;background:#e5eddd}
.cover-strip button[aria-pressed=true]{border-color:#649636}
.cover-timeline .cover-strip canvas{width:100%;height:38px;object-fit:cover;border-radius:0;cursor:pointer;touch-action:auto}
.cover-timeline p{margin:0;font-size:12px}
.cover-timeline p:empty{display:none}
#cover-status:empty{display:none}

/* Voice confirmation, script, and shot preparation. */
body[data-preview-merchant] #app:has(>.voice-workspace){display:flex;flex-direction:column}
body[data-preview-merchant] #app:has(>.voice-workspace)>:is(.app-header,.flow-steps,.action-footer){flex:none}
.voice-workspace{flex:1 0 auto;padding-top:12px;padding-bottom:22px}
.voice-hero,.voice-overview{border-radius:18px;padding:17px;background:#eaf1e5;border:1px solid #dce7d8;margin-bottom:12px}
.voice-hero{background:#25392d;color:#f7fbf3;border-color:#25392d}
.voice-hero-head,.voice-overview{display:flex;justify-content:space-between;align-items:center;gap:12px}
.voice-hero h1,.voice-overview h1{font-size:clamp(20px,5.5vw,25px);line-height:1.2;letter-spacing:-.028em;margin:0;font-weight:750}
.voice-hero p,.voice-overview p{font-size:13px;margin:5px 0 0}
.voice-hero p{color:#d0e0d1}
.voice-overview p{color:#526d55}
.voice-hero audio{display:block;width:100%;height:44px;margin-top:15px}
.voice-hero-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#3f5944;color:#d6f2c9;flex:none}
.voice-hero-icon .icon{width:21px;height:21px}
.voice-empty .voice-hero-icon{margin-bottom:12px}
.voice-time{font-size:32px;line-height:1;color:#d6f2c9;white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:720}
.voice-time small{font-size:13px;margin-left:5px}
.voice-script-read,.voice-review-details,.voice-script-card,.voice-task-card{background:#fff;border:1px solid #dee7db;border-radius:15px;padding:13px;margin:9px 0}
.voice-script-read h2{font-size:14px;margin:0 0 6px;color:#304e3a}
.voice-script-read p{margin:0;color:#34493a;line-height:1.55;font-size:14px;white-space:pre-line;overflow-wrap:anywhere}
.live-prompter:not([hidden]){position:absolute;z-index:4;top:clamp(132px,22%,156px);left:12px;right:12px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto clamp(100px,26vh,182px);gap:4px 7px;color:#f3f8ed;pointer-events:none}
.live-prompt-window{grid-column:1/-1;grid-row:2;position:relative;overflow:hidden;border-radius:24px;background:#101d176d;box-shadow:inset 0 0 22px #e7f9dd13;mask-image:linear-gradient(transparent,#000 17%,#000 89%,transparent);pointer-events:none}
.full-camera .live-prompt-window #prompter{position:absolute;inset:42% 13px auto;font-size:clamp(18px,5vw,22px);line-height:1.43;letter-spacing:-.025em;white-space:pre-wrap;overflow-wrap:anywhere;color:#f0f9e9;text-shadow:0 1px 6px #000d;will-change:transform}
.live-prompt-speed{grid-column:2;grid-row:1;display:flex;align-items:center;gap:5px;padding:0 8px;border-radius:23px;background:#192923a5;color:#edf8e5;font-variant-numeric:tabular-nums}
.live-prompt-speed output{font-size:13px;font-weight:700}
.live-prompt-speed span{font-size:9px;opacity:.85}
.live-prompt-speed input{width:clamp(52px,17vw,88px);height:35px;margin:0;accent-color:#b7eb75;touch-action:none;pointer-events:auto}
.live-prompt-test{display:flex;align-items:center;gap:8px;grid-column:1;grid-row:1;min-width:0;color:#edf8e5}
.live-prompt-test button{min-height:37px;border-radius:19px;padding:0 12px;background:#192923a5;color:inherit;font-size:12px;pointer-events:auto}
.live-prompt-test button:disabled{visibility:hidden}
.live-prompt-test span{font-size:11px;text-shadow:0 1px 4px #000}
.guided-camera:has(.live-prompter:not([hidden])) .camera-open{top:60%}
.capture-modes{display:flex;justify-content:center;gap:5px;margin:0 auto 4px;max-width:340px}
.capture-modes button{flex:1;min-width:0;min-height:35px;padding:3px 5px;border:1px solid #edf7e346;border-radius:18px;background:#15251e98;color:#edf5e8;font-size:12px}
.capture-modes button.selected{border-color:#a9d98f;background:#a9d98f;color:#1c3023;font-weight:700}
.capture-person-hint{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 5px;margin:0 auto 4px;color:#e0eddc;font-size:11px;line-height:1.35}
.capture-person-hint strong{color:#eef7e9;font-weight:700}
.full-camera .person-guide{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:3;pointer-events:none}
.full-camera [data-mode=tripod] .hand-options,.full-camera [data-mode=helper] .hand-options{display:none}
@media(max-height:490px){
 .live-prompter:not([hidden]){top:clamp(105px,31vh,130px);grid-template-rows:auto min(23vh,105px)}
 .full-camera .live-prompt-window #prompter{font-size:17px}
 .guided-camera:has(.live-prompter:not([hidden])) .camera-open{top:62%;display:flex;align-items:center;gap:6px}
 .guided-camera:has(.live-prompter:not([hidden])) .camera-open .icon{width:22px;height:22px}
 .full-camera .record-bottom{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:auto auto auto auto;gap:0 9px;padding:8px 10px 4px}
 .full-camera .capture-mode-block{grid-column:1;grid-row:1/3;align-self:center}
 .full-camera .record-status{grid-column:2;grid-row:1}
 .full-camera .camera-settings{grid-column:2;grid-row:2}
 .full-camera .record-buttons{grid-column:2;grid-row:3;margin:2px 0}
 .full-camera .record-main{width:46px;height:46px}
 .full-camera .record-main>span{width:33px;height:33px}
 .full-camera .record-main.recording>span{width:24px;height:24px}
 .full-camera .record-side{min-width:35px;min-height:38px;gap:2px}
 .full-camera .record-side .icon{width:18px;height:18px}
 .full-camera .record-help{grid-column:2;grid-row:4;margin:0}
 .full-camera .record-bottom>.text-button{grid-column:1;grid-row:3;align-self:end}
 .full-camera .record-bottom>.sample-link{grid-column:1;grid-row:4}
 .capture-modes button{min-height:29px}
}
.voice-mic .voice-script-read p{letter-spacing:-.015em;line-height:1.5}
.edit-order{padding:11px 0}
.edit-order header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.edit-order h2{margin:0;font-size:15px}
.edit-order p{margin:3px 0 8px;color:#536852;font-size:12px}
.edit-order ol{display:grid;gap:5px;list-style:none;margin:0;padding:0}
.edit-order li{display:grid;grid-template-columns:16px 36px minmax(0,1fr) 38px 38px;align-items:center;gap:5px;padding:3px 4px;border:1px solid #dce7d9;border-radius:8px}
.edit-order li>b{text-align:center;color:#527452;font-size:12px}
.edit-order-thumb{width:36px;height:38px;overflow:hidden;border-radius:5px;background:#e2eddf}
.edit-order-thumb>*{width:100%;height:100%;object-fit:cover}
.edit-order-name{display:grid;min-width:0;color:#314a34;font-size:12px}
.edit-order-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.edit-order-name small{color:#5c7158;font-size:11px}
.edit-order li button{min-height:40px;display:grid;place-items:center;border-radius:6px;background:#eaf3e5;color:#345536}
.edit-order li button:disabled{opacity:.3}
.edit-order li button .icon{width:16px;height:16px}
.editor-timeline{margin:var(--bj-space-list) 0;padding:10px;background:var(--bj-surface);border:1px solid var(--green-line);border-radius:var(--bj-radius-card)}
.editor-time{display:flex;align-items:center;justify-content:flex-end;gap:5px;font-size:13px;color:#51634f;font-variant-numeric:tabular-nums}
.editor-time [data-timeline-frame]{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.editor-sequence-button{flex:0 0 44px;height:44px;display:grid;place-items:center;border-radius:50%;background:var(--bj-brand-main);color:#213421}
.editor-preview[data-sequence-playing]>.preview-top-label{display:none}
.editor-film-action{margin-top:8px}
.editor-film-action .icon,.editor-preparation .icon{width:17px;height:17px;flex:none}
.editor-preparation,.editor-preview-recovery{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.editor-preparation button{flex:1 1 auto;display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:6px 10px;border-radius:var(--bj-radius-card);background:#eaf3e5;color:#28472c}
.editor-preview-error:not([hidden]){margin:8px 0;padding:6px 10px;border-radius:10px;background:#f6f0df;color:#67491a}
.editor-preview-error p{margin:2px 0}
.editor-preview-error button{min-height:44px;margin-right:8px}
.editor-full-video,.mix-preview-video{display:block;width:100%;max-height:45dvh}
.editor-full-video{max-height:60dvh}
.editor-preview>.shot-outgoing{position:absolute;inset:0;overflow:hidden;background:#172118;pointer-events:none;z-index:1}
.shot-outgoing>img,.shot-outgoing>video,.shot-outgoing>.scene-art{display:block;width:100%;height:100%;object-fit:cover}
.editor-preview.has-background .shot-outgoing>video,.editor-preview.has-background .shot-outgoing>img{position:relative;object-fit:contain}
.editor-preview>.preview-subtitle,.editor-preview>.preview-top-label{z-index:2}
.editor-visual-tools{display:grid;gap:8px;margin:14px 0}
.transition-gallery{min-width:0;border:0;padding:0;margin:0}
.transition-gallery legend{padding:0;margin-bottom:8px;font-weight:700}
.transition-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.transition-tile{position:relative;display:grid;gap:5px;text-align:center;cursor:pointer}
.transition-tile input{position:absolute;inline-size:1px;block-size:1px;opacity:0}
.transition-thumb{position:relative;display:flex;align-items:center;justify-content:center;min-height:50px;border:2px solid transparent;border-radius:13px;background:#eaf0e8;overflow:hidden}
.transition-thumb i{display:block;width:24%;height:45%;min-height:18px;border-radius:5px;background:#628374}
.transition-thumb i+i{background:#9ab482;margin-left:3px}
.transition-thumb[data-effect=slide-up] i:first-child{transform:translateY(-5px)}
.transition-thumb[data-effect=slide-up] i+i{transform:translateY(5px)}
.transition-thumb[data-effect=fade] i+i{margin-left:-9px;opacity:.66}
.transition-check{display:none;position:absolute;right:4px;top:4px;width:17px;height:17px;border-radius:50%;background:#28533c;color:white;place-items:center}
.transition-check .icon{width:12px;height:12px}
.transition-tile input:checked+.transition-thumb{border-color:#477454;background:#e1efd7}
.transition-tile input:checked+.transition-thumb .transition-check{display:grid}
.transition-tile input:checked~.transition-name{font-weight:700;color:#234835}
.transition-tile input:focus-visible+.transition-thumb{outline:2px solid #376650;outline-offset:2px}
.transition-name{font-size:var(--type-body,var(--bj-text-body));line-height:1.35;overflow-wrap:anywhere}
.editor-subtitle-option{margin:0}
.editor-subtitle-option>label{padding:7px 9px;min-height:44px;background:transparent;border:0}
body[data-preview-merchant][data-preview-route=rendering] #app{display:flex;flex-direction:column}
body[data-preview-merchant][data-preview-route=rendering] #app>:is(.app-header,.action-footer){flex:none}
.merchant-render{padding-top:24px;text-align:left;flex:1 0 auto}
.merchant-render h1{font-size:clamp(22px,6vw,28px);margin:0 0 14px;line-height:1.18}
.render-focus{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;padding:17px;border-radius:20px;background:#203e31;color:#f1f7ed}
.render-focus-icon{inline-size:44px;block-size:44px;display:grid;place-items:center;border-radius:15px;background:#426352;color:#d4f2a3}
.render-focus-icon .icon{width:23px;height:23px}
.render-focus-text{display:flex;align-items:center;justify-content:space-between;gap:8px}
.render-focus-text p{margin:0;font-size:var(--type-body,16px);font-weight:650;line-height:1.4;overflow-wrap:anywhere}
.render-focus-text b{color:#d2f2a5;font-variant-numeric:tabular-nums}
body[data-preview-merchant] #app .render-focus .render-focus-text{background:transparent;border:0}
.long-film-source{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 0}
.long-film-source span{overflow-wrap:anywhere}
.long-film-player{display:block;width:100%;max-height:52vh;margin:12px 0;border-radius:16px;background:#203e31}
.long-publication img{display:block;width:100%;max-height:50vh;object-fit:contain;border-radius:14px;margin:12px 0}
.auto-film-page [data-action=long-film-pacing][aria-pressed=true]{background:#dcebd6;color:#203e31;border-color:#638960}
.render-credit{grid-column:1/-1;font-size:13px;color:#d0e4d3}
.real-progress{grid-column:1/-1;height:5px;background:#ffffff36;border-radius:10px;overflow:hidden}
.real-progress #progress-fill{height:100%;width:0;background:#c5f38b;border-radius:inherit}
.render-milestones{display:grid;grid-template-columns:repeat(var(--render-steps,3),minmax(0,1fr));gap:7px;list-style:none;margin:14px 0;padding:0}
.render-quote{margin:10px 0 14px;border:1px solid var(--green-line);border-radius:var(--bj-radius-card);background:#edf4e8;padding:12px 14px;color:#284634}
.render-quote strong{display:block;font-size:var(--type-body,16px)}
.render-quote p{margin:5px 0 0}
.render-milestones li{display:grid;gap:6px;justify-items:center;text-align:center;padding:8px 4px;border-radius:13px;background:#eef2eb;font-size:13px;color:#506155}
.render-milestones li.active{background:#ddedd5;color:#284e36}
.render-milestones li.stopped{background:#f2e9d9;color:#775c35}
.render-milestones li span{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#dce7da}
.render-milestones li .icon{width:15px;height:15px}
.editor-timeline input{width:100%;height:var(--bj-touch-target);margin:0;accent-color:var(--bj-brand-main)}
.editor-tracks{position:relative;display:grid;gap:4px;--track-label:3.05rem}
.editor-track{display:grid;grid-template-columns:var(--track-label) minmax(0,1fr);align-items:center;min-width:0;color:#344d35}
.editor-track>b{font-size:13px}
.editor-track>div{position:relative;min-height:44px;overflow:hidden;background:#f4f6f2;border-radius:7px}
.editor-track small{display:block;padding:10px 7px;color:#526750}
.editor-track button{position:absolute;inset:0 auto 0 var(--start);width:var(--length);min-width:0;display:flex;align-items:center;gap:4px;padding:4px;overflow:hidden;border:1px solid #fff;border-radius:6px;background:#e8f0e1;text-align:left;color:#253f29;font:inherit;font-size:12px}
.editor-track[data-track=audio] button{background:#dbece5}
.editor-track[data-track=caption] button{background:#f3ebd7}
.editor-track button.is-current{box-shadow:inset 0 0 0 2px var(--bj-brand-main)}
.editor-track button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.editor-track button :is(img,video,svg){width:18px;height:25px;flex:none;object-fit:cover;pointer-events:none}
.editor-playhead{position:absolute;inset:0 0 0 var(--track-label);pointer-events:none}
.editor-playhead::before{content:"";position:absolute;left:var(--position);top:0;bottom:0;width:2px;background:var(--bj-brand-deep);transform:translateX(-1px)}
.editor-order{margin:8px 0}
.editor-order summary{cursor:pointer;min-height:44px;align-content:center;color:var(--bj-brand-deep);font-weight:600}
.voice-review-details summary,.voice-shots-complete summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:44px}
.voice-review-details summary::-webkit-details-marker,.voice-shots-complete summary::-webkit-details-marker{display:none}
.voice-review-details summary small{display:block;font-size:12px;color:#607461;margin-top:2px}
.voice-disclosure{color:#4b6c50;display:flex;align-items:center}
.voice-disclosure .icon{width:16px;height:16px}
details[open]>summary .voice-disclosure{transform:rotate(90deg)}
.voice-review-note{color:#536e56;font-size:13px;line-height:1.45;margin:8px 0}
.voice-caution{padding:8px 11px;background:#f6f0df;border-radius:9px;color:#64542b}
.voice-review-lines,.voice-script-card ol{padding:0;margin:5px 0 0;list-style:none}
.voice-review-lines li{padding:8px 0;border-top:1px solid #e4ebe2;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#304636;font-size:14px}
.voice-review-lines li span{min-width:0;overflow-wrap:anywhere}
.voice-review-lines label{display:flex;align-items:center;gap:6px;color:#536d56;font-size:12px;white-space:nowrap}
.voice-review-lines input{width:4.75em;min-height:34px;padding:5px 6px;border:1px solid #cfdfcb;border-radius:8px;background:#fff;color:#233f2d}
.voice-source-actions{display:flex;gap:8px;margin-top:2px;flex-wrap:wrap}
.voice-source-actions .text-button,.voice-secondary,.voice-review-details .text-button{display:inline-flex;align-items:center;gap:5px;min-height:44px;font-weight:600}
.voice-source-actions .icon,.voice-secondary .icon{width:15px;height:15px}
.voice-pill{padding:6px 10px;border-radius:100px;background:#d7e8d4;color:#345640;font-size:13px;font-weight:730;white-space:nowrap;font-variant-numeric:tabular-nums}
.voice-script-head{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}
.voice-reference{padding:0 4px;color:#526b55;font-size:13px}
.voice-reference summary{padding:6px 0;cursor:pointer}
.voice-reference p{margin:2px 0 8px;line-height:1.45}
.voice-script-range{white-space:nowrap;color:#456249;font-weight:720;font-size:13px;font-variant-numeric:tabular-nums}
.voice-segmented{display:flex;border-radius:10px;padding:2px;background:#edf3eb}
.voice-segmented button{border:0;border-radius:8px;background:transparent;min-height:40px;padding:0 8px;color:#506650;font-size:12px;white-space:nowrap}
.voice-segmented button[aria-pressed=true]{background:#fff;color:#234233;font-weight:700;box-shadow:0 1px 4px #1938211b}
.voice-segmented button:disabled{opacity:.48}
.voice-script-line{margin:7px 0 5px;font-size:15px;line-height:1.4;color:#233d31;overflow-wrap:anywhere}
.voice-script-card ol li{padding:3px 0;border-top:1px solid #e5ece2}
.voice-script-card ol li:last-child{padding-bottom:0}
.voice-script-card ol li strong,.voice-script-card ol li small{display:block;overflow-wrap:anywhere}
.voice-script-card ol li strong{font-size:13px;color:#344b3b}
.voice-script-card ol li small{font-size:12px;color:#59705c;line-height:1.45;margin-top:3px}
.voice-shot-index{display:grid;place-items:center;width:23px;height:23px;border-radius:7px;background:#eaf2e8;color:#426247;font-size:12px;font-weight:700}
.voice-script-duration{font-size:12px;color:#48664d;font-weight:650;white-space:nowrap;font-variant-numeric:tabular-nums}
.voice-shot-page .voice-overview{flex-wrap:wrap}
.voice-task-progress{width:100%;height:6px;appearance:none;border:0;border-radius:9px;overflow:hidden;background:#dbe7d7;color:#4e8354}
.voice-task-progress::-webkit-progress-bar{background:#dbe7d7}
.voice-task-progress::-webkit-progress-value{background:#4e8354;border-radius:9px}
.voice-task-progress::-moz-progress-bar{background:#4e8354}
.voice-task-card{display:grid;grid-template-columns:55px minmax(0,1fr);gap:8px 10px}
.voice-task-next{border-color:#adcaac}
.voice-task-media{width:55px;height:59px;border-radius:9px;background:#edf4eb;display:grid;place-items:center;color:#527352;overflow:hidden}
.voice-task-media .icon{width:22px;height:22px}
.voice-task-media img,.voice-task-media video,.voice-task-media svg:not(.icon){width:100%;height:100%;object-fit:cover}
.voice-task-meta{display:flex;justify-content:space-between;gap:4px;flex-wrap:wrap;color:#58715d;font-size:11px;font-variant-numeric:tabular-nums}
.voice-task-card h2{font-size:16px;line-height:1.25;color:#263f30;margin:3px 0}
.voice-task-card p,.voice-task-name{display:block;overflow-wrap:anywhere;color:#546b57;font-size:12px;line-height:1.44;margin:0}
.voice-task-controls{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:5px}
.voice-task-controls button{min-height:44px;flex:1;white-space:nowrap;padding:5px 8px;border-radius:9px;font-size:13px}
.voice-task-primary{background:#e5f0e2;border:1px solid #d4e6ce;color:#305635;font-weight:700}
.voice-task-option{background:#fff;border:1px solid #e0e9de;color:#4e6b50}
.voice-shots-complete summary{color:#4e6c52;font-weight:650;justify-content:flex-start}
.voice-shots-complete summary b{font-size:12px;font-weight:600}
.voice-shots-complete summary .voice-disclosure{margin-left:auto}
.voice-task-unshot{grid-template-columns:minmax(0,1fr)}
.voice-plan-shot>summary{display:grid;grid-template-columns:23px minmax(0,1fr) auto;gap:8px;align-items:center;min-height:44px;cursor:pointer;list-style:none}
.voice-plan-shot>summary::-webkit-details-marker{display:none}
.voice-plan-shot .voice-script-duration .icon{width:12px;height:12px;vertical-align:middle}
.voice-plan-shot[open] .voice-script-duration .icon{transform:rotate(90deg)}
.shot-guide{display:grid;grid-template-columns:minmax(86px,34%) minmax(0,1fr);align-items:stretch;gap:12px;min-width:0}
.voice-plan-shot .shot-guide{margin:2px 0 8px}
.shot-guide-visual{position:relative;min-height:128px;margin:0;overflow:hidden;border-radius:12px;background:#edf4eb;color:#527352}
.shot-guide-visual img,.shot-guide-diagram{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.shot-guide-visual[data-generated-guide]{background:#152b23}
.shot-guide-visual[data-generated-guide] img{object-fit:contain}
.shot-guide-diagram{display:grid;place-items:center;padding-bottom:12px}
.shot-guide-diagram .icon{width:25px;height:25px}
.shot-guide-diagram i{position:absolute;width:9px;height:9px;border:1px solid #79957a}
.shot-guide-diagram i:nth-child(1){top:19%;left:22%;border-width:1px 0 0 1px}
.shot-guide-diagram i:nth-child(2){top:19%;right:22%;border-width:1px 1px 0 0}
.shot-guide-diagram i:nth-child(3){bottom:28%;left:22%;border-width:0 0 1px 1px}
.shot-guide-diagram i:nth-child(4){bottom:28%;right:22%;border-width:0 1px 1px 0}
.shot-guide-visual[data-view=top] .shot-guide-diagram .icon{transform:rotate(-20deg)}
.shot-guide-visual[data-view=side] .shot-guide-diagram .icon{transform:translateX(-7px)}
.shot-guide-visual figcaption{position:absolute;right:5px;bottom:5px;padding:3px 5px;border-radius:5px;background:#233a2ddd;color:white;font-size:10px}
.shot-guide-steps{display:grid;align-content:center;gap:5px;overflow-wrap:anywhere}
.shot-guide-steps>strong{color:#2b4935;font-size:13px;line-height:1.4}
.shot-guide-steps>p{margin:0;color:#334e3c;font-size:13px;line-height:1.45}
.shot-guide-steps>small{margin:0;color:#59705c;font-size:12px;line-height:1.4}

/* Creation preferences and first script. */
.production-picker h2{margin:0 0 14px;font-size:23px}
.production-picker fieldset{display:flex;flex-wrap:wrap;gap:7px;border:0;padding:0;margin:0 0 15px;min-width:0}
.production-picker legend{font-size:13px;color:#4a694e;font-weight:700;margin-bottom:7px}
.production-picker label{position:relative;display:flex;flex:1 1 auto}
.production-picker label input{position:absolute;opacity:0}
.production-picker label span{display:grid;align-items:center;text-align:center;min-height:44px;padding:5px 8px;border:1px solid #dfe8dc;border-radius:10px;width:100%;background:#f5f8f3;color:#284736;font-size:13px;cursor:pointer}
.production-picker label input:checked+span{border-color:#8eb788;background:#e1f0db;font-weight:700}
.production-picker label input:focus-visible+span{outline:2px solid #547350;outline-offset:2px}
.production-options{display:grid;gap:10px;margin-top:20px}
.production-option{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:10px;min-height:57px;padding:8px 12px;width:100%;border:1px solid #dce8d8;border-radius:12px;text-align:left;background:white;color:#2f4a36}
.production-option.primary{background:#b8ec65;border-color:#b8ec65;color:#233322}
.production-option-number{display:grid;place-items:center;min-height:26px;border-radius:8px;background:#e8f1e5;color:#385f39;font-size:11px;font-weight:700;white-space:nowrap}
.production-option.primary .production-option-number{background:#d7f6aa}
.production-option strong,.production-option small{display:block}
.production-option strong{font-size:14px}
.production-option small{margin-top:3px;color:#526b57;font-size:11px;line-height:1.35}
.production-option small[hidden]{display:none}
.production-option:disabled{cursor:default;opacity:1;color:#68736a;background:#edf0eb;border-color:#e3e8df}
.production-option:disabled .production-option-number{background:#e0e5dd;color:#677167}
.production-option:disabled small{color:#657168}
.production-summary{display:flex;justify-content:space-between;gap:8px;align-items:center;color:#46644c;font-size:13px}
.production-summary .text-button{min-height:40px}
.voice-script-adjustment{display:block;margin:4px 0 5px;color:#4e7252;font-size:12px}

.voice-recommended{padding:5px 8px;border-radius:8px;background:#ebf4e9;color:#345742;font-size:12px;font-weight:650}
.voice-layout-options{margin-top:5px}
.voice-layout-options summary{width:max-content;min-height:38px;display:flex;align-items:center;gap:4px;color:#526b55;font-size:12px;cursor:pointer;list-style:none}
.voice-layout-options summary::-webkit-details-marker{display:none}
.voice-layout-options summary .icon{width:12px;height:12px}
.voice-layout-options[open] summary .icon{transform:rotate(90deg)}
.voice-layout-options .voice-segmented{width:max-content;max-width:100%}

.voice-mic-timer{font-size:clamp(42px,13vw,62px);font-variant-numeric:tabular-nums;font-weight:750;margin:16px 0 1px;letter-spacing:.04em;color:#dcf1d6}
.voice-mic .voice-secondary[hidden],.voice-mic-footer [hidden]{display:none}
.voice-mic-footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:8px}
.voice-mic-footer:has([data-action=mic-pause]:not([hidden])){grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.55fr)}
.voice-mic-footer .button{padding-inline:8px;white-space:nowrap}
.membership-page .provider-plan{
  grid-column:1/-1;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  border-color:#bfcfae;
  background:linear-gradient(130deg,#f3f8ea,#fdfcf5);
}
.membership-page .provider-plan strong{grid-column:2;grid-row:1/3;align-self:center;white-space:nowrap}
.membership-page .provider-plan>span,.membership-page .provider-plan>small{grid-column:1}
.membership-page .provider-plan.selected{border-color:#82b94e;background:#f3faec}
.copy-usage{display:flex;gap:8px;align-items:center;margin:0 0 6px}
.merchant-chat .copy-usage .field{margin:0;min-width:0;flex:1;font-size:12px;color:#43593d}
.copy-usage select{display:block;padding:4px 6px;width:100%;font:inherit;color:#30482f;background:#fff;border:1px solid #e0e8d8;border-radius:8px}
.copy-usage small{font-size:11px;color:#627458}
.invite-page{display:grid;gap:14px}.invite-hero{padding:22px 18px 19px;border-radius:20px;background:linear-gradient(135deg,#3f633b,#9bcf59);color:#fff;box-shadow:0 12px 26px #597d3a24}.invite-hero>span{font-size:12px;color:#e3f4c8}.invite-hero h1{margin:6px 0;font-size:23px}.invite-hero p{margin:0;color:#eef9df;font-size:13px}.invite-hero>strong{display:block;text-align:center;font-size:14px;margin-top:15px}.invite-avatars{display:flex;justify-content:space-between;margin:22px 0 0}.invite-avatar{display:grid;justify-items:center;gap:6px;color:#d8e3ce;font-size:10px;min-width:0}.invite-avatar>span{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#ffffff24;border:1px solid #ffffff42;font-size:20px}.invite-avatar .icon{width:25px;height:25px}.invite-avatar.active{color:#fff}.invite-avatar.active>span{background:linear-gradient(145deg,#fff,#eaf8da);color:#5c9439;box-shadow:0 5px 13px #213a2340}.invite-list,.invite-bottom{border:1px solid #e2ebdb;border-radius:16px;padding:14px;background:#fff}.invite-list h2{font-size:15px;margin:0 0 9px}.invite-list>div{display:flex;align-items:center;gap:9px;padding:8px 0;border-top:1px solid #eef2eb}.invite-list-avatar{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#dff0cc;color:#58823b;font-size:13px}.invite-list-avatar .icon{width:16px;height:16px}.invite-list b{font-size:13px;flex:1}.invite-list small{color:#65a542;font-size:12px}.invite-bottom{display:grid;gap:10px}.invite-bottom .field{display:grid;gap:6px}.invite-bottom .field>span{font-weight:700;font-size:14px}.invite-bottom .field small{font-size:11px;color:#89977f}.my-invite-code{display:flex;align-items:center;gap:9px;padding-top:9px;border-top:1px solid #eef2eb}.my-invite-code span{font-size:12px;color:#71816a}.my-invite-code strong{letter-spacing:1px;flex:1}.my-invite-code button{font-size:12px;color:#578438}
.trial-feedback{display:grid;gap:10px}.trial-feedback-build{display:grid;gap:2px;padding:10px 12px;border-radius:12px;background:#f0f5eb}.trial-feedback-build small,.trial-feedback>.muted{color:#687b61;font-size:12px}.trial-feedback .field,.trial-feedback>.muted{margin:0}.trial-feedback select,.trial-feedback [data-trial-feedback-copy]{width:100%;padding:10px 12px;border:1px solid #dce8d3;border-radius:12px;background:#fff;color:inherit;font:inherit}.trial-feedback select{min-height:44px}.trial-feedback textarea{resize:vertical}.trial-feedback .field textarea{min-height:80px}.app-updates-page>.account-link{background:#f5f8f1;border-radius:12px;padding:8px 12px}

.agent-portal{display:grid;gap:10px;align-content:start}
.agent-portal .trial-card{margin:0}
.agent-portal [data-agent-share]{width:100%;margin-top:10px}

.camera-recovery{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:5px 0}
.camera-recovery button{padding:6px 12px;border:1px solid #ffffff4a;border-radius:14px;background:#17241dcc;color:#f1faee;font-size:12px}
.project-overview,.library-preview{display:flex;flex-direction:column;gap:16px}
.library-tile[data-manage-video]{-webkit-touch-callout:none;user-select:none}
.library-tile[data-video-held]{opacity:.7}
.library-tile[data-video-drop]{outline:2px solid var(--ui-ink,#29583b);outline-offset:2px}
.library-tile[data-manage-video] :is(img,video){pointer-events:none}
.library-video-count{margin:0;font-size:var(--type-caption,13px)}
.project-overview .tab-heading{margin:0}
.project-overview h2,.library-preview h1{margin:0}
.project-overview>.muted,.library-media-status{margin:0}
.library-media-status:empty{display:none}
.project-progress{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}
.project-progress li{display:flex;justify-content:space-between;gap:12px;padding:13px 14px}
.project-progress li+li{border-top:1px solid var(--line)}
.project-progress li[aria-current=step]{background:#ecf5e4;color:#395a32}
.library-player{display:grid;place-items:center;min-height:130px;overflow:hidden;border-radius:16px;background:#eef1eb}
.library-player>:is(img,video,.scene-art){width:100%;max-height:52vh;object-fit:contain}
.library-review-playhead{display:none}
#app .library-preview:has([data-frame-review][open]) .library-player{position:sticky;top:56px;z-index:5;min-height:0;
 background:#17231d;color:#f8faf7;border-color:#17231d;box-shadow:0 5px 16px #15231b26}
.library-preview:has([data-frame-review][open]) .library-player>video{height:clamp(90px,24dvh,205px);max-height:none}
.library-preview:has([data-frame-review][open]) .library-review-playhead{display:block;padding:5px 10px;font-size:.78em}
.library-preview-actions{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:10px}
.library-preview-actions .button{min-width:0;margin:0;padding-inline:6px}
.library-analysis{text-align:start;display:grid;gap:10px}
.library-analysis-results{display:grid;gap:10px}
.library-analysis-settings{border-top:1px solid var(--line);padding-top:10px}
.library-overview{display:grid;gap:8px;padding:10px 0 4px}
.library-overview h3{font-size:1em;margin:0}
#app .library-preview .library-overview [data-overview-text]{color:#263b2e;font-size:calc(17px + var(--type-step,0px));line-height:1.55}
.library-overview textarea{width:100%;padding:8px 10px;resize:vertical;border:1px solid #cfd9cd;border-radius:9px;background:#f8faf7;color:#243529;font:inherit}
.library-review summary{font-weight:700;cursor:pointer;padding:4px 0 8px}
#app .library-preview .library-review .library-review-hint{font-size:calc(14px + var(--type-step,0px))}
.library-review-row{--frame-time-width:calc(84px + 4 * var(--type-step,0px));scroll-margin-top:calc(85px + clamp(90px,24dvh,205px))}
.library-review-row[data-active]{background:#f0f6ec;border-radius:10px;box-shadow:inset 3px 0 #649750}
.library-review-select{display:grid;grid-template-columns:var(--frame-time-width) minmax(0,1fr);gap:10px;
 align-items:start;width:100%;min-height:44px;border-radius:9px;padding:9px 10px;color:inherit;text-align:start;font:inherit}
#app .library-review-time{color:#365341;font-size:calc(14px + var(--type-step,0px));line-height:1.45}
.library-review-select .library-review-description{display:grid;min-width:0;overflow-wrap:anywhere;color:#263b2e}
#app .library-review-description b{font-size:calc(18px + var(--type-step,0px));line-height:1.35}
#app .library-review-description [data-frame-description]{color:#263b2e;font-size:calc(17px + var(--type-step,0px));line-height:1.5}
#app .library-review-description small{display:block;margin-top:4px;color:#3d5445;font-size:calc(15px + var(--type-step,0px))}
.library-review-row textarea{display:block;width:calc(100% - var(--frame-time-width) - 30px);
 margin:0 10px 8px calc(var(--frame-time-width) + 20px);padding:8px;border:1px solid #8aa487;
 border-radius:9px;color:#263b2e;background:#fff;resize:vertical}
.library-review-actions,.library-overview-actions{display:flex;gap:8px;flex-wrap:wrap}
.library-review-actions{margin:0 10px 6px calc(var(--frame-time-width) + 20px)}
.library-overview-actions[hidden]{display:none}
:is(.library-review-actions,.library-overview-actions) button{padding:6px 10px;min-height:36px;border:1px solid #dce7d7;border-radius:9px}
.library-overview-actions button[aria-pressed=true]{background:#e5f1da;color:#325728}
#app .library-preview .library-review-actions button{min-height:34px;padding:3px 8px;font-size:calc(13px + var(--type-step,0px))}
.library-review-actions button[aria-pressed=true][data-choice=correct]{background:#244f70;border-color:#244f70;color:white}
.library-review-actions button[aria-pressed=true][data-choice=wrong]{background:#9a3434;border-color:#9a3434;color:white;opacity:1}
.library-analysis h2,.library-analysis p{margin:0}
.library-analysis-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px}
.library-analysis-heading [role="status"]{color:var(--muted);font-size:.85em}
.library-analysis-timeline{list-style:none;padding:0;margin:0;display:grid}
.library-analysis-timeline li{border-top:1px solid #dce7d7;padding-block:2px}
.library-analysis-timeline .library-review-time{font-variant-numeric:tabular-nums}
.auto-film-page{display:grid;gap:14px}
.auto-film-page h1,.auto-film-page p{margin:0}
.auto-film-page .auto-film-library{padding:8px 12px;border-radius:12px;background:#e7f2df;color:#2d5235}
.auto-film-page textarea{min-width:0;width:100%;padding:12px;border-radius:13px;border:1px solid #cbdac6;background:#fff;color:#172b20;resize:vertical}
.auto-film-settings-dialog{display:grid;gap:12px;text-align:center}
#modal:has(.auto-film-settings-dialog){padding:0;width:min(430px,calc(100vw - 20px))}
body[data-preview-merchant] #modal:has(.auto-film-settings-dialog) #modal-content{position:relative;padding:18px}
#modal:has(.auto-film-settings-dialog) .modal-close{position:absolute;float:none;right:12px;top:12px}
.auto-film-settings-dialog h2{padding-inline:36px}
.auto-film-settings-dialog legend{margin-inline:auto}
.auto-film-settings-dialog h2,.auto-film-settings-dialog p,.auto-film-settings-dialog.production-picker .production-frames{margin:0}
.auto-film-settings-dialog.production-picker .production-frame-card{
 grid-template-rows:46px auto;gap:5px;min-height:80px;padding:7px 2px 6px
}
.auto-film-settings-dialog.production-picker .production-frame-card b{
 font-size:13px;line-height:1.2;text-align:center;overflow-wrap:normal
}
.auto-film-settings-dialog .production-frame-card b>em{display:block;font-style:normal}
.auto-film-settings-dialog .production-frame-card i{transform:scale(1.43);border-width:1px;color:#547064}
.auto-film-settings-dialog .production-frames input:checked+.production-frame-card i{border-width:2px;color:#234832}
@media(max-width:365px){
 .auto-film-settings-dialog.production-picker .production-frame-card{grid-template-rows:42px auto}
 .auto-film-settings-dialog.production-picker .production-frame-card b{font-size:12px}
 .auto-film-settings-dialog .production-frame-card i{transform:scale(1.3)}
}
body[data-preview-merchant] #modal .auto-film-settings-dialog .auto-duration-field{margin:0;gap:4px}
.auto-film-settings-dialog .auto-duration-field>span{display:block;width:auto;min-height:0;padding:0;border:0;text-align:center;background:none}
.auto-film-settings-dialog .auto-duration-field :is(input[type=number],select){position:static;opacity:1;width:100%;min-height:44px;padding-inline:28px;text-align:center;text-align-last:center}
.auto-film-settings-dialog [data-auto-duration-error]{color:#8a3527;font-size:13px;line-height:1.4}
.auto-film-settings-dialog [data-auto-duration-error]:empty{display:none}
.auto-voice-selected{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:5px;padding:4px 8px;border-radius:13px;background:#eef6e9}
.auto-voice-selected p{grid-column:2;font-size:13px;color:#34543c}
.auto-voice-selected button{justify-self:end}
.auto-voice-selected strong{display:block;font-size:16px;color:#234631}
.auto-voice-selected button,.auto-film-voices button{min-height:44px;padding-inline:8px;white-space:nowrap}
.auto-voice-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.auto-voice-modes button{min-height:44px;padding:5px;border:1px solid #dce7d7;border-radius:11px;color:#2d5135;font-size:14px}
.auto-voice-modes button[aria-pressed=true],.auto-film-voices button[aria-pressed=true]{background:#e0efda;color:#234832;font-weight:700}
.auto-film-settings-dialog [data-auto-voice-status]:empty{display:none}
.auto-film-voices{max-height:min(12rem,30dvh);overflow:auto;overscroll-behavior:contain}
.auto-film-voices>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr);align-items:center;gap:5px;padding:3px 0;border-bottom:1px solid #e1eadd}
.auto-film-voices .auto-voice-detail{grid-column:2;grid-row:1;display:grid;gap:2px;line-height:1.4}
.auto-film-voices [data-action=auto-film-audition]{grid-column:1;grid-row:1;justify-self:center}
.auto-film-voices [data-action=auto-film-voice-apply]{grid-column:3;grid-row:1;justify-self:center}
.auto-film-voices small{color:#4b654e}
.auto-film-voices button{border-radius:9px;font-size:13px}
.auto-film-settings-dialog .button{margin:0}
.auto-film-page .button{margin:0}
.auto-film-page .auto-film-stages{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.auto-film-stages li{padding:8px 12px;border-radius:10px;background:#f5f8f1}
.auto-film-stages li[aria-current=step]{background:#dfefcf;color:#214622;font-weight:700}
.auto-film-activity{display:flex;align-items:center;gap:12px;padding:12px;border-radius:14px;background:#e8f3df;color:#214622}
.auto-film-orbit{display:grid;place-items:center;position:relative;flex:none;width:38px;height:38px}
.auto-film-orbit::before,.automatic-render .render-focus-icon::after{content:"";position:absolute;inset:0;border:2px solid #cde0c7;border-top-color:#42763a;border-radius:50%;animation:auto-film-orbit 1.2s linear infinite}
.auto-film-orbit svg{width:18px;height:18px}
.automatic-render .render-focus-icon{position:relative}
.automatic-render .render-focus-icon::after{inset:-4px}
.auto-film-details{display:grid;gap:7px;margin:0;padding:0 0 0 22px;overflow-wrap:anywhere}
.auto-film-draft-lines{display:grid;gap:8px;padding:14px;border-radius:13px;background:#f5f8f1;line-height:1.6;overflow-wrap:anywhere}
.auto-film-review-section{display:grid;gap:8px;padding:12px;border:1px solid #dce7d7;border-radius:13px;background:#f5f8f1}
.auto-film-review-section h2{margin:0;font-size:1rem}
.auto-film-review-section .auto-film-details span{display:block;color:#486452;font-size:.875rem}
@keyframes auto-film-orbit{to{transform:rotate(1turn)}}
@media(prefers-reduced-motion:reduce){.auto-film-orbit::before,.automatic-render .render-focus-icon::after{animation:none}}

body[data-preview-merchant] .app-header [data-action=open-membership]{min-width:44px;min-height:44px}
body[data-preview-merchant] .shoot-top button{min-width:44px;min-height:44px}

[data-browse-pane]{display:contents}
.project-cover>[data-gallery-fallback],.recent-art>[data-gallery-fallback]{width:100%;height:100%}
.project-cover [data-gallery-fallback]>:is(img,video,.scene-art),.recent-art :is(img,video,.scene-art){
  display:block;width:100%;height:100%;object-fit:cover
}

body[data-preview-merchant] .record-bottom .camera-recovery .camera-open{
  position:static;min-height:44px;padding:6px 12px;display:inline-flex;align-items:center;gap:5px
}
body[data-preview-merchant] .record-bottom .camera-recovery .camera-open .icon{width:18px;height:18px}
@media(max-height:490px){
  body[data-preview-merchant] .record-bottom .camera-recovery{grid-column:1/-1;grid-row:5}
}

body[data-preview-merchant] :is(.publish-heading,.publish-format-actions,.publish-film-actions,.publish-field) button{
  min-width:44px;min-height:44px
}
@media(max-width:400px){
  body[data-preview-merchant] .publish-format-actions{grid-column:1/-1;justify-content:flex-start}
}

/* Keep the five invite slots within the narrow handset, including large text. */
body[data-preview-merchant] .invite-page{grid-template-columns:minmax(0,1fr)}
body[data-preview-merchant] .invite-avatars{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px
}
body[data-preview-merchant] .invite-avatar>span{width:min(100%,54px);height:auto;aspect-ratio:1}
body[data-preview-merchant] .invite-avatar>small{text-align:center;overflow-wrap:anywhere}
body[data-preview-merchant] .camera-quick-tools{display:flex;justify-content:center;gap:8px;align-items:flex-start}
body[data-preview-merchant] .camera-beauty-trigger{min-height:34px;border-radius:18px;background:#0008;color:white;padding:5px 12px;font-size:inherit}
body[data-preview-merchant] .camera-beauty-trigger[aria-pressed=true]{color:#c6f68d}
.camera-quick-tools .camera-settings{position:static}.camera-quick-tools .camera-settings-panel{bottom:calc(100% - 24px)}
.camera-beauty-panel{display:grid;gap:5px;min-width:0}
.beauty-status,.beauty-actions{display:flex;align-items:center;gap:6px}
.beauty-status>span{flex:1;color:var(--muted,#546a51);font-size:.8em}
.beauty-status>button{min-height:36px;border:1px solid #d7e6cd;border-radius:18px;padding:4px 10px}
.camera-beauty-panel [aria-pressed=true]{background:#e4f5d1;color:#263922;border-color:#aacf81;font-weight:700}
.beauty-presets,.beauty-adjust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.beauty-presets>button{display:grid;gap:4px;min-width:0;border:1px solid #d7e6cd;border-radius:12px;padding:3px 3px 5px;overflow:hidden;text-align:center}
.beauty-presets>button[aria-pressed=true]{border-color:#659a46;box-shadow:inset 0 0 0 1px #659a46}
.beauty-presets canvas{display:block;width:100%;height:clamp(60px,11dvh,85px);object-fit:contain;border-radius:8px;background:#25382f}
.beauty-presets canvas:not([data-has-frame]){background:linear-gradient(145deg,#749380,#dae6d1)}
.beauty-presets>button span{line-height:1.25}
.beauty-tuning>summary{min-height:34px;padding:6px 0;color:#384e34;cursor:pointer}
.beauty-tuning[open] .beauty-adjust{margin-bottom:3px}
.beauty-adjust>button{min-height:36px;border-radius:10px;padding:3px 4px}
.beauty-slider{display:grid;grid-template-columns:minmax(0,1fr) 2.4em;gap:8px;align-items:center;min-height:34px}
.beauty-slider input{margin:0;width:100%;min-width:0;accent-color:#6b9d3d}
.beauty-slider output{text-align:right;font-variant-numeric:tabular-nums}
.beauty-actions>*{flex:1}
body[data-preview-merchant] #modal:has(.camera-beauty-panel){
 position:fixed;inset:auto var(--layout-safe-right,0px) var(--layout-safe-bottom,0px) var(--layout-safe-left,0px);margin:0 auto;
 width:min(420px,100%);max-width:calc(100% - var(--layout-safe-left,0px) - var(--layout-safe-right,0px));max-height:53dvh;
 border-radius:20px 20px 0 0;padding:9px 14px max(10px,env(safe-area-inset-bottom));
}
body[data-preview-merchant] #modal:has(.camera-beauty-panel)::backdrop{background:transparent;backdrop-filter:none}
body[data-preview-merchant] #modal:has(.camera-beauty-panel) .modal-close{position:absolute;inset:5px 8px auto auto;width:40px;height:40px}
dialog .camera-beauty-panel h2{margin:0}
dialog .beauty-status{padding-right:37px}
dialog .beauty-actions .button{margin:0;min-height:40px;padding:6px 8px}

@media(orientation:landscape) and (max-height:500px){
 body[data-preview-merchant] #modal:has(.camera-beauty-panel){width:min(330px,48vw);margin-left:auto;margin-right:0;max-height:calc(100dvh - var(--layout-safe-top,0px) - var(--layout-safe-bottom,0px));border-radius:22px 0 0 0}
}

/* Creative input and copy editor use the same compact tool row. */
.merchant-composer .composer-box{align-items:flex-end;gap:2px;padding:4px 5px}
.merchant-composer .composer-box textarea{order:1;min-height:44px;max-height:104px;overflow:auto;padding:7px 2px;font-size:inherit;line-height:1.4}
.merchant-composer [data-action="speech-input"]{order:2}
.merchant-composer .send-button{order:3;flex:none}
.merchant-composer .composer-box .icon-button{flex:0 0 42px}
.merchant-composer .composer-box:focus-within{border-color:#84a163}
.merchant-composer .reference-tray{margin:0 0 6px;display:flex;align-items:center;gap:8px;padding:6px 8px;background:#eef4e5;border-radius:12px}
.reference-tray>div{max-width:94px;flex-shrink:0;margin:0;gap:4px}
.reference-tray>div>div{width:42px}
.reference-tray>div>div>div{height:42px}
.reference-tray input{width:100%;min-width:0;padding:8px 5px;border:0;background:transparent;font:inherit;color:#405037}
.copy-workspace-head{gap:8px}
.copy-workspace-head h1{color:#253128}
.copy-workspace-head span{white-space:nowrap}
.copy-workspace .copy-editor-tools,.copy-editor-tools>div{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.copy-workspace .copy-editor-tools{justify-content:space-between}
.copy-editor-tools .text-button{padding:0 8px;color:#405638}
.copy-editor-tools .text-button:disabled{opacity:.45}
@media(prefers-reduced-motion:reduce){.idea-wait-icon,.idea-wait-dots{animation:none}}
.merchant-composer .idea-wait{margin:0 0 6px;padding:5px 10px;min-height:34px}

/* Ratio cards and mobile storyboard. */
.production-picker .production-frames{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.production-picker .production-frames label{width:100%;min-width:0}
.production-picker .production-frame-card{position:relative;grid-template-rows:30px auto;justify-items:center;gap:4px;min-height:64px;padding:7px 2px 5px}
.production-frame-card i{display:block;border:1.5px solid currentColor;border-radius:3px;box-sizing:border-box}
.production-frame-card b{font-size:12px;font-variant-numeric:tabular-nums}
.production-frame-card .production-frame-check{display:none;position:absolute;right:3px;top:3px;width:12px;height:12px;color:#355d32}
.production-frames input:checked+.production-frame-card{border-color:#577b4a;background:#e4efdb;color:#234832}
.production-frames input:checked+.production-frame-card .production-frame-check{display:block}
.storyboard-page .production-summary{gap:8px;padding:7px 11px}
.storyboard-page .production-summary>span{min-width:0;overflow-wrap:anywhere}
.storyboard-page [data-action=production-edit]{flex:none;min-height:40px;color:#315336}
.storyboard-template{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;padding:4px 10px;border-radius:10px;background:#f0f6eb;color:#315336}
.storyboard-template p{margin:0;font-size:.88em;overflow-wrap:anywhere}
.storyboard-template button{min-height:40px}
.storyboard-order{display:grid;gap:6px;padding:10px 12px;border-radius:13px;background:#e8f3de;color:#2c4d35}
.storyboard-order>div{display:flex;align-items:center;gap:8px;line-height:1.45}
.storyboard-order span{display:grid;place-items:center;flex:0 0 21px;height:21px;border-radius:50%;background:#345834;color:#fff;font-size:11px;font-weight:700}
.storyboard-order strong{font-size:13px}
.storyboard-group .voice-script-head>div:first-child{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px}
.storyboard-group .voice-script-head h2{font-size:15px;color:#213e2d;margin:0;white-space:nowrap}
.storyboard-group .voice-segmented button{min-height:38px}
.storyboard-group .voice-segmented button[aria-pressed=true]{background:#315437;color:#fff}
.storyboard-group .voice-script-line{padding:9px 10px;margin:8px 0;background:#f1f7ed;border-radius:9px}
.storyboard-group .storyboard-shot{padding:8px 0}
.storyboard-shot-head{display:grid;grid-template-columns:23px minmax(0,1fr) auto;align-items:center;gap:7px;margin-bottom:6px}
.storyboard-shot .shot-guide{grid-template-columns:minmax(72px,33%) minmax(0,1fr);gap:10px}
.storyboard-shot .shot-guide-visual{min-height:102px;border-radius:9px}
.storyboard-shot .shot-guide-steps{gap:3px}
@media(max-width:345px){
 .production-picker .production-frames{gap:4px}
 .storyboard-group .voice-segmented button{padding-inline:6px}
 .storyboard-shot .shot-guide-visual{min-height:96px}
}

/* Keep capture controls beside, rather than over, the scrolling text. */
.camera-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:22px}
.camera-meta>span{flex:none}
.camera-mic{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-width:0}
.camera-mic .icon{width:13px;height:13px;flex:none;color:#d4efc5}
.camera-mic .camera-mic-track{width:clamp(27px,10vw,55px);height:5px;flex:none;border-radius:10px;background:#fff4;overflow:hidden}
.camera-mic-track i{display:block;width:var(--mic-level,0%);height:100%;border-radius:inherit;background:#b6ef72;transition:width 85ms linear}
.camera-mic[data-state=loud] .camera-mic-track i{background:#ffb97c}
.camera-mic [data-camera-mic-label]{font-size:11px;color:#eaf5e3;white-space:nowrap}
.camera-mic:is([data-state=denied],[data-state=permission],[data-state=unavailable],[data-state=noTrack]) [data-camera-mic-label]{color:#ffe3a4}
.guided-camera:has(.live-prompter:not([hidden])) .shot-direction{padding-block:5px}
.guided-camera .live-prompter:not([hidden]){top:111px;left:10px;right:10px;column-gap:4px;grid-template-rows:auto clamp(86px,22dvh,159px)}
.live-prompt-controls{grid-column:2;grid-row:1;display:flex;justify-content:flex-end;align-items:center;gap:5px}
.live-prompt-controls .live-prompt-speed,.live-prompt-size{height:40px;background:#192923bd}
.live-prompt-controls .live-prompt-speed{padding:0 6px}
.live-prompt-controls input{width:clamp(40px,11vw,83px)}
.live-prompt-size{display:flex;align-items:center;gap:2px;border-radius:23px;padding:0 5px 0 8px;font-size:11px;color:#ecf7e8;pointer-events:auto}
.live-prompt-size select{background:transparent;border:0;color:inherit;padding:0;font-weight:700;min-height:40px;font-size:12px}
.live-prompt-size option{background:#1a2d24;color:#fff}
.live-prompt-test{flex-wrap:wrap;gap:1px 5px}
.live-prompt-test button{padding:0 8px;min-height:40px;white-space:nowrap}
.live-prompt-test span:empty{display:none}
.live-prompt-test span{overflow-wrap:anywhere;line-height:1.2}
.full-camera .live-prompt-window #prompter{inset:39% 9px auto;font-size:var(--prompt-font,clamp(18px,5vw,22px))}
.guided-camera[data-mode=tripod] .live-prompter{--prompt-font:clamp(20px,5.4vw,24px)}
.guided-camera .live-prompter[data-prompt-size=small]{--prompt-font:clamp(14px,4vw,17px)}
.guided-camera .live-prompter[data-prompt-size=large]{--prompt-font:clamp(22px,6.3vw,30px)}
@media(max-height:490px){
 .guided-camera .live-prompter:not([hidden]){top:108px;grid-template-rows:auto min(21dvh,95px)}
 .guided-camera .live-prompter[data-prompt-size=medium]{--prompt-font:17px}
 .guided-camera .live-prompter[data-prompt-size=small]{--prompt-font:14px}
 .guided-camera .live-prompter[data-prompt-size=large]{--prompt-font:21px}
}
.camera-beauty-panel .beauty-presets{grid-template-columns:repeat(4,minmax(0,1fr))}
.beauty-presets>button{position:relative}
.beauty-presets>button>span{font-size:clamp(11px,3vw,14px)}
.beauty-presets .beauty-tile-check{display:none;position:absolute;top:5px;right:5px;width:16px;height:16px;padding:2px;border-radius:50%;background:#d8f2b9;color:#294630}
.beauty-presets [aria-pressed=true] .beauty-tile-check{display:block}

/* Narration review keeps the video above compact, persistent actions. */
.narration-review-tools{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:0 2px 5px}
.narration-review-tools .voice-segmented{flex:1;max-width:210px}
.narration-review-tools .voice-segmented button{flex:1}
.narration-review-tools .voice-segmented button[aria-pressed=true]{background:#315437;color:#fff}
.narration-review-tools>.text-button{min-height:42px;padding-inline:7px;color:#476344}
[data-narration-trim-status]:not([hidden]){margin:0 0 5px;color:#425d3e;font-size:.88em;line-height:1.35}
.narration-review-page .playback-meta{padding-block:5px}
.adopted-narration{padding:0 11px;background:#eaf3e4;border:1px solid #d5e5cc;border-radius:13px;margin:3px 0 7px;overflow:hidden}
.adopted-narration>summary{min-height:47px;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:6px;cursor:pointer;list-style:none;color:#2b4c33;font-size:.88em}
.adopted-narration>summary::-webkit-details-marker{display:none}
.adopted-narration>summary .icon{width:16px;height:16px}
.adopted-narration>summary span{font-size:.9em;color:#4a6549}
.adopted-narration[open]>summary .icon:last-child{transform:rotate(90deg)}
.adopted-narration-player{display:grid;place-items:center;max-height:min(42dvh,325px);border-radius:9px;overflow:hidden;background:#152219}
.adopted-narration-player video{display:block;max-width:100%;max-height:min(42dvh,325px);object-fit:contain}
.adopted-narration .text-button{min-height:40px;color:#426044}

/* Keep the picked shot, its brief and its controls together. */
.voice-task-card{grid-template-columns:64px minmax(0,1fr)}
.voice-task-unshot{grid-template-columns:minmax(0,1fr)}
.voice-task-card:focus-visible{outline:2px solid #6c9655;outline-offset:2px}
.voice-task-media{width:64px;height:64px}
.shot-cover{position:relative;display:block;width:100%;height:100%;min-width:0;overflow:hidden;border-radius:9px;background:#e5eee0}
.shot-cover-fallback{position:absolute;inset:0;display:grid;place-items:center;color:#5b7656}
.shot-cover-fallback .icon{width:20px;height:20px}
.shot-cover>img,.shot-cover>video,.shot-cover>.scene-art{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.shot-cover>video:not([data-cover-ready]),.shot-cover[data-missing]>:is(video,img){visibility:hidden}
.shot-cover[data-missing]{background:#ecefe6}
.voice-task-card .voice-task-line,.voice-task-card .voice-task-direction{grid-column:1/-1;margin:0;overflow-wrap:anywhere}
.voice-task-card .voice-task-line{padding:7px 8px;background:#f1f6ec;border-radius:8px;font-size:.82em;color:#304b37}
.voice-task-card .voice-task-direction{line-height:1.45;color:#49664e;font-size:.77em}
.voice-task-card .shot-guide{grid-column:1/-1}
.storyboard-material{display:grid;grid-template-columns:60px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;padding:5px;border:0;border-radius:9px;background:#eef5e9;color:#2e5037;text-align:left}
.storyboard-material .shot-cover{height:60px}
.storyboard-material>.icon{width:16px;height:16px}
.voice-script-card .storyboard-material small{margin-top:2px}
.voice-project-materials{font-size:.86em}
.segment-page .segment-shot-script{margin:2px 0 3px;color:#526c51;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

@media(max-width:360px){
 body[data-preview-merchant] #app .segment-page .page-title{margin-bottom:6px}
 body[data-preview-merchant] #app .segment-page .page-title h1{font-size:calc(17px + var(--type-step,0px));line-height:1.22}
 body[data-preview-merchant] #app .segment-page .segment-shot-script{font-size:var(--type-detail,14px);line-height:1.3}
 body[data-preview-merchant] #app .segment-card{padding:8px 10px;margin-top:7px}
 body[data-preview-merchant] #app .segment-track{height:46px;margin-top:6px}
 body[data-preview-merchant] #app .segment-times{margin-top:4px}
}

/* Keep the two listening actions and all channels reachable on a handset. */
.music-preview-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.32fr);gap:7px;margin:9px 0}
.music-preview-actions .button{min-height:44px;margin:0;padding:5px 7px;text-align:center;line-height:1.25}
.music-workspace .voice-repair{grid-template-columns:repeat(auto-fit,minmax(57px,1fr));gap:4px}
.music-workspace .voice-repair button{min-height:44px;padding:4px 2px;line-height:1.25;font-size:.76em}
.music-workspace .music-filters .music-none{margin-left:0}
.music-workspace .mix-scale{min-height:37px}
.music-workspace .mix-scale input{height:37px;touch-action:pan-y}
.music-workspace .mix-row:has(input:disabled) .mix-scale{opacity:.42}
.music-preview-actions .music-song[aria-pressed=true]{border-color:#639548;background:#e6f2db;color:#355234}
@media(max-width:360px){
 .music-workspace .voice-repair button{font-size:.72em}
 .music-preview-actions .button{font-size:.85em}
}
.connected-chat-route{display:flex;flex-direction:column;overflow:hidden!important}
.connected-chat-route>.app-header{flex:0 0 54px;justify-content:flex-start;border-bottom:1px solid #e3eade}
.connected-chat-route .chat-options{margin:0 0 0 auto}
body[data-preview-merchant][data-preview-route=brief] .chat-page.connected-chat{display:flex;flex:1 1 0;flex-direction:column;min-height:0;padding:0}
.connected-chat .chat-messages{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:10px 14px 14px;scrollbar-width:thin}
.connected-chat .chat-message,.connected-chat .chat-message.user{margin:0 0 9px}
.connected-chat .chat-message>div{max-width:94%;padding:9px 11px;border-radius:4px 15px 15px 15px;box-shadow:none}
.connected-chat .chat-message.assistant>div{background:#fff;border-color:#dfe9da}
.connected-chat .chat-message.user>div{border-radius:15px 4px 15px 15px}
.connected-chat .chat-message p,.connected-chat .candidate-card p{font-size:var(--type-body,16px);line-height:1.55;letter-spacing:0;color:#28362d}
.connected-chat .candidate-card h3{font-size:var(--type-section,17px);line-height:1.35;font-weight:720;margin:0 0 6px;color:#182c20}
.connected-chat .chat-message.user p{color:#25362a}
.connected-chat .chat-emphasis{font-weight:720;color:#17391e}
.connected-chat .chat-reply-content{
  min-width:0;
  color:#28362d;
  font-size:var(--type-body,16px);
  font-weight:400;
  line-height:1.6;
  letter-spacing:.02em;
  text-align:left;
  overflow-wrap:anywhere;
}
.connected-chat .chat-message .chat-reply-content p{
  margin:0;
  font:inherit;
  letter-spacing:inherit;
  color:inherit;
  white-space:pre-line;
}
.connected-chat .chat-message .chat-reply-content>*+*{margin-block-start:12px}
.connected-chat .chat-reply-content h2,.connected-chat .chat-reply-content h3{
  margin-block:0;
  color:#182c20;
  font-size:1em;
  font-weight:600;
  line-height:1.4;
}
.connected-chat .chat-reply-content h2{font-size:calc(1em + 1px)}
.connected-chat .chat-message .chat-reply-content>*+h2{margin-block-start:16px}
.connected-chat .chat-message .chat-reply-content h2+*{margin-block-start:8px}
.connected-chat .chat-message .chat-reply-content h3+*{margin-block-start:6px}
.connected-chat .chat-reply-content ol,.connected-chat .chat-reply-content ul{
  margin-inline:0;
  margin-block-end:0;
  padding-inline-start:24px;
}
.connected-chat .chat-reply-content ol{list-style:decimal outside}
.connected-chat .chat-reply-content ul{list-style:disc outside}
.connected-chat .chat-reply-content li{white-space:pre-line}
.connected-chat .chat-reply-content li+li{margin-top:4px}
.connected-chat .chat-reply-content li::marker{color:#50634f}
.connected-chat .chat-reply-content strong{font-weight:700}
.connected-chat .chat-reply-content :is(aside,blockquote,pre){
  margin-inline:0;
  margin-block-end:0;
  padding:8px 10px;
}
.connected-chat .chat-reply-reminder{
  border:1px solid #d6e5cd;
  border-radius:11px;
  background:#f0f6eb;
}
.connected-chat .chat-reply-reminder-title{display:block;color:#30492c}
.connected-chat .chat-reply-content blockquote{
  border-inline-start:2px solid #d6e1ce;
  border-radius:6px;
  background:var(--paper);
}
.connected-chat .chat-reply-content pre{
  max-width:100%;
  border-radius:6px;
  background:var(--bg);
  font-family:ui-monospace,Consolas,monospace;
  font-size:calc(1em - 2px);
  letter-spacing:0;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.connected-chat .chat-reply-content>:first-child{margin-block-start:0}
body[data-preview-merchant] .connected-chat .candidate-list{margin:0 0 10px}
.connected-chat .candidate-card{padding:10px 12px}
.connected-chat .chat-suggestions{margin:8px 0;gap:6px}
.connected-chat .chat-suggestions>button{min-height:44px;padding:6px 10px}
.connected-chat .chat-composer{position:relative;flex:none;bottom:auto;margin:0;padding:7px 10px max(7px,env(safe-area-inset-bottom));background:var(--paper);backdrop-filter:none}
.connected-chat .composer-box{align-items:center;gap:0;padding:2px 3px;min-height:48px}
.connected-chat .composer-box textarea{display:block;align-self:center;min-height:38px;padding:8px 3px;line-height:1.35;color:#203023}
.connected-chat .composer-box textarea::placeholder{color:#50604b}
.connected-chat .composer-box .icon-button{width:44px;height:44px;flex:0 0 44px}
.connected-chat .send-button{width:44px;height:44px;margin-left:2px}
.connected-chat .composer-box [hidden]{display:none}
.connected-chat .chat-mode-switch{order:2}
.connected-chat .chat-hold{order:1;min-width:0;flex:1;min-height:44px;padding:0 6px;border-radius:12px;background:#edf4e8;color:#294430;font-weight:650;touch-action:none;user-select:none;-webkit-touch-callout:none}
.connected-chat .chat-hold.listening{background:#d7edc6;color:#173e23}
.connected-chat .chat-hold.is-cancel{background:#f6e8e4;color:#813421}
dialog:has(.writing-skill-picker){overflow:hidden}
.writing-skill-picker{display:grid;grid-template-rows:auto minmax(0,1fr) auto;max-height:calc(85dvh - 50px)}
.writing-skill-picker h2{margin:0;padding-right:44px}
.writing-skill-options{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:0 2px}
.writing-skill-footer{padding-top:10px;border-top:1px solid #dce5d7}
.writing-skill-footer .button{width:100%;margin:0}
.writing-skill-picker .field{display:grid;gap:6px;margin:9px 0}
.writing-skill-picker select{min-height:44px;width:100%;padding:8px 10px;border:1px solid #d5e2ce;border-radius:11px;background:#fff;color:#243b2b;font:inherit}
.writing-picker-search input{width:100%;min-width:0;min-height:44px;padding:8px 10px;border:1px solid #d5e2ce;border-radius:11px;background:#fff;color:#243b2b;font:inherit}
.writing-picker-feedback{margin:0 0 8px}
.writing-picker-feedback:empty{display:none}
.writing-picker-note{padding:10px 12px;border:1px solid #d5e2ce;border-radius:11px;background:#f2f6ec;overflow-wrap:anywhere}
.writing-skill-picker fieldset{min-width:0;margin:14px 0;padding:0;border:0}
.writing-skill-picker fieldset>div{padding:0 2px}
.writing-skill-picker legend,.writing-skill-tag-group>strong{font-weight:650}
.writing-skill-tag-group{margin:8px 0}
.writing-skill-tag-group>div{display:flex;gap:7px;flex-wrap:wrap;margin-top:6px}
.writing-skill-tag-group label{display:inline-flex;gap:5px;align-items:center;min-height:36px;padding:5px 8px;border:1px solid #dce5d7;border-radius:9px;background:#fff;font-size:.9em;color:#314631}
.writing-skill-tag-group label:has(input:checked){border-color:#85a36f;background:#e5f2dc}
.writing-skill-tag-group input{accent-color:#456d38}
.writing-skill-tag-group small,#writing-skill-tag-count{font-size:.85em;color:#486046}
.writing-skill-tag-group label:has(input:disabled){opacity:.72}
.writing-skill-preview{background:#edf5e8;border:1px solid #d1e3c8;border-radius:14px;margin:10px 0 14px;padding:12px 14px;line-height:1.45;overflow-wrap:anywhere}
.writing-skill-preview>strong{font-size:.86em;color:#416339}
.writing-skill-preview p{margin:6px 0 2px;font-size:.9em}
.writing-skill-preview small{color:#416339}
.writing-paradigm-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:10px 0}
.writing-paradigm-tabs button{min-height:42px;border:1px solid #dce5d7;border-radius:10px;background:#fff;color:#314631;font:inherit}
.writing-paradigm-tabs button[aria-pressed=true]{background:#e5f2dc;border-color:#74965c;font-weight:680}
.writing-paradigm-items{display:grid;gap:8px;margin-bottom:10px}
.writing-paradigm-items button[data-id]{width:100%;display:grid;grid-template-columns:minmax(0,1fr) 20px;text-align:left;gap:5px 8px;padding:11px;border-radius:12px;border:1px solid #dce5d7;background:#fff;color:#314631;font:inherit;overflow-wrap:anywhere}
.writing-paradigm-items button[data-id][aria-pressed=true]{background:#edf5e8;border-color:#699052}
.writing-paradigm-card{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:start;gap:6px}
.writing-paradigm-card [data-like-for]{min-width:44px;min-height:44px;border:1px solid #dce5d7;border-radius:12px;padding:0 8px;background:#fff;color:#314631;font:inherit}
.writing-paradigm-card [data-like-for][aria-pressed=true]{background:#def0cf;border-color:#699052}
.writing-paradigm-items button span{grid-column:1/-1;font-size:.9em;color:#486046}
.writing-paradigm-items button svg{visibility:hidden;width:20px;height:20px}
.writing-paradigm-items button[aria-pressed=true] svg{visibility:visible}
.writing-paradigm-footer{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.writing-paradigm-footer .button{padding-inline:6px}
.writing-reference-actions .primary{grid-column:1/-1}
.writing-skill-footer .button{white-space:normal}
.result-export-trace{margin:12px 0;padding:10px 12px;border:1px solid #dce5d7;border-radius:10px}
.result-export-trace code{display:block;margin-top:6px;overflow-wrap:anywhere}
.writing-mode-picker{margin:14px 0}
.writing-mode-picker h3{font-size:1em;margin:0 0 8px}
.writing-mode-picker>div{display:grid;gap:7px}
.writing-mode-option{display:flex;width:100%;min-height:52px;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;border:1px solid #dce5d7;border-radius:12px;background:#fff;text-align:left;color:#253d2d}
.writing-mode-option span:first-child{display:grid;gap:3px;min-width:0}
.writing-mode-option small{display:block;color:#546753;line-height:1.4;font-size:.84em}
.writing-mode-option[aria-pressed=true]{border-color:#729b56;background:#edf6e6}
.writing-mode-option .writing-mode-check{visibility:hidden;display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:50%;background:#34583b;color:#fff}
.writing-mode-option[aria-pressed=true] .writing-mode-check{visibility:visible}
.writing-mode-picker>p{margin:8px 0 0}
.writing-mode-usage{margin:9px 0}
body[data-text-size=large] .writing-mode-option{font-size:17px}
body[data-text-size=extra] .writing-mode-option{font-size:19px}
.connected-chat .composer-hint:not([hidden]){
  max-height:6.5em;overflow:auto;overscroll-behavior:contain;padding:8px 10px;
  border-radius:12px;background:#f0f6eb;color:#263d2f;line-height:1.45;
  font-size:.95em;white-space:pre-wrap;overflow-wrap:anywhere
}
.connected-chat .chat-working{padding:5px 0;color:#53674b;font-size:.85em}
.connected-chat .copy-feedback{display:flex;align-items:center;justify-content:space-between;gap:4px;margin:0 0 5px;padding:2px 4px 2px 10px;font-size:.83em;line-height:1.3}
.connected-chat .chat-retry-copy{flex:none;min-height:36px;padding:4px 9px;border:0;border-radius:8px;background:#e0eed4;color:#284832;font:inherit;font-weight:650;cursor:pointer}
.connected-chat .chat-close,.connected-chat .chat-latest{width:44px;height:44px;display:grid;place-items:center;flex-shrink:0}
.connected-chat .chat-latest{position:absolute;right:12px;bottom:calc(100% + 7px);border:1px solid #dae6d0;border-radius:50%;background:#fff;color:#263b24;box-shadow:0 2px 8px #283c2322}
.connected-chat .chat-latest[hidden]{display:none}
.connected-chat .chat-next,.connected-chat .chat-choices{display:flex;align-items:center;flex-wrap:wrap;gap:5px 8px}
.connected-chat .chat-next{margin-top:4px}
.connected-chat .chat-next button{min-height:44px;padding:0 10px;border:1px solid #d6e4cc;border-radius:12px;background:#eef6e9;color:#294127;font-weight:600}
.connected-chat .chat-next [data-intent]{background:#b8ef68;border-color:#b8ef68;display:flex;align-items:center;gap:4px}
.connected-chat .chat-choices span{color:#3c5438;font-size:.86em}
.connected-chat .chat-next .icon{width:15px;height:15px}
.connected-chat .chat-next{display:grid;justify-items:start;gap:7px}
.connected-chat .chat-stage-label{display:block;font-size:.75em;line-height:1.35;font-weight:700;color:#46613b;margin-bottom:2px}
.connected-chat .chat-confirmed,.connected-chat .chat-choice-card{width:100%;padding:7px 9px;background:#eef5e9;border-radius:11px;border:1px solid #dce9d4}
.connected-chat .chat-confirmed summary{cursor:pointer;color:#30492c;font-size:.87em;font-weight:700}
.connected-chat .chat-confirmed p,.connected-chat .chat-choice-card p{margin:3px 0 5px;color:#203023;line-height:1.45;font-size:.93em;overflow-wrap:anywhere}
.connected-chat .chat-choice-card button{min-height:44px;background:white}
.connected-chat .chat-next-action{display:flex;align-items:center;gap:8px}
.connected-chat .chat-next-action .chat-stage-label{margin:0}
.connected-chat .chat-topic{margin:8px 0;padding:9px 11px;border:1px solid #d6e5cd;border-radius:12px;background:#f0f6eb;color:#243b25;font-size:.89em}
.connected-chat .chat-topic header{display:flex;gap:6px;align-items:center;justify-content:space-between}
.connected-chat .chat-topic header button{min-width:44px;min-height:44px;font-size:1.2em}
.connected-chat .chat-topic p{margin:4px 0;line-height:1.4;white-space:pre-wrap}
.connected-chat .chat-topic details{margin-top:5px}
.connected-chat .chat-topic-write{display:inline-block;min-height:44px;margin-top:6px;padding:0 10px;border-radius:10px;background:#b8ef68;font-weight:700}
.connected-chat .chat-read-actions{display:flex;align-items:center;justify-content:flex-end;gap:3px;color:#547050}
.connected-chat .chat-read-actions[hidden],.connected-chat .chat-read-actions>[hidden]{display:none}
.connected-chat .chat-read-button{display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:11px;background:#f0f6eb;color:#3c583b;flex:none}
.connected-chat .chat-read-button .icon{width:17px;height:17px}
.connected-chat .chat-read-button span{font-size:22px;line-height:1}
.connected-chat .chat-read-progress,.connected-chat .chat-adopted{margin-right:auto;font-size:.76em;line-height:1.4;color:#50634f}
.connected-chat .chat-adopted{display:block;margin-top:5px}
.connected-chat [data-read-part].reading-now{background:#e8f5df;border-radius:4px}
.chat-reader-menu{display:grid;gap:7px;margin-top:10px}
.chat-reader-menu .button{min-height:44px}
.chat-reader-menu .chat-reader-primary{display:flex;align-items:center;justify-content:center;gap:12px;min-height:62px;background:#c1ef85;color:#243b25;border-radius:15px}
.chat-reader-primary .icon{width:30px;height:30px;flex:none}
dialog:has(.chat-voice-picker) .modal-close{position:absolute;inset:9px 10px auto auto;float:none}
dialog:has(.chat-voice-picker) h2{padding-inline-end:44px;margin:0 0 12px}
.chat-voice-picker .field{display:grid;gap:5px;margin:0}
.chat-voice-picker select{width:100%;min-height:44px;padding-inline:10px;border:1px solid #d6e1ce;border-radius:11px;background:#fff;color:inherit}
dialog .chat-voice-picker .button{margin:0}
.chat-voice-picker #chat-voice-transport[hidden]{display:none}
.chat-voice-styles{display:grid;gap:6px}
.chat-voice-styles .button{display:flex;gap:8px;align-items:center;justify-content:flex-start;position:relative;padding-inline:12px 38px}
.chat-voice-styles [aria-pressed=true]{border-color:#608744;background:#edf6dc;color:#273d22}
.chat-voice-styles [aria-pressed=true]::after{content:'✓';position:absolute;inset-inline-end:12px}
.chat-voice-picker #chat-voice-status{margin:0}
.chat-voice-picker #chat-voice-status:empty{display:none}
.candidate-card .candidate-route-note{display:block;margin:.15rem 0 .45rem;color:#456333;font-weight:600;line-height:1.45}
.connected-chat .candidate-card .short-draft-actions{display:flex;flex-wrap:wrap;gap:6px}
.connected-chat .short-draft-actions .button{flex:1 1 130px;min-width:0;min-height:44px}
.connected-chat .chat-short-detail{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#36513d;font-size:var(--type-detail,13px)}
.connected-chat .chat-short-detail button{min-height:44px;flex:none}
.connected-chat .draft-copy-body{margin:9px 0 12px;padding:11px 12px;background:#f1f7e9;border:1px solid #dce9cf;border-radius:10px}
.connected-chat .draft-copy-label{display:block;color:#41602f;font-size:var(--type-caption,12px);font-weight:700;letter-spacing:.035em}
.connected-chat .draft-copy-body p{margin:5px 0 0;color:#182c20;line-height:1.65}
.voice-media-status{grid-column:1/-1;margin:0;padding:6px 9px;border-radius:8px;background:#f7eddf;color:#694b27;line-height:1.45}
.voice-media-status.is-reused{background:#e6f2dd;color:#315336}
.creation-entry-picker>div{display:grid;gap:8px}
.creation-entry-option{display:grid;grid-template-columns:24px minmax(0,1fr) 16px;align-items:center;gap:10px;width:100%;padding:12px;min-height:58px;border:1px solid #dce5d7;border-radius:14px;background:#fff;color:#24412e;text-align:left}
.creation-entry-option:hover,.creation-entry-option:focus-visible{background:#edf6e6;border-color:#729b56}
.creation-entry-option span{display:grid;gap:3px}
.creation-entry-option small{color:#546753;line-height:1.38}
.creation-entry-option>.icon:last-child{width:16px;height:16px}
.material-match-entry{margin:0 0 12px}
.material-match-rows{display:grid;gap:8px;padding:0;list-style:none;margin:14px 0}
.material-match-rows li{padding:11px 13px;border:1px solid #dce5d7;border-radius:14px;background:#f4f8ef}
.material-match-rows p{margin:4px 0 0;color:#3f5a47;overflow-wrap:anywhere}
.material-match-rows small{color:#546753}
.material-match-image{float:right;width:64px;height:50px;margin:4px 0 2px 8px;overflow:hidden;border-radius:8px;background:#e5eddd}
.material-match-image :is(video,img){width:100%;height:100%;object-fit:contain}
.material-match-tags{margin:12px 0 0}
.material-match-tags .field{overflow-wrap:anywhere}
.automatic-film-notice{margin:8px 0 14px;padding:13px 14px;border:1px solid #d4e2cd;border-radius:15px;background:#f1f8ea}
.automatic-film-notice p,.automatic-film-notice ul{margin:6px 0 10px}
.automatic-film-notice ul{padding-inline-start:22px}
.automatic-film-notice .button{margin-top:4px}
.automatic-film-options input[type=checkbox]{width:18px;height:18px;vertical-align:middle}
.automatic-film-options>.button{margin-top:14px}
.auto-film-setup{margin:0 12px 8px;padding:10px 12px;border:1px solid #d4e2cd;border-radius:15px;background:#f1f8ea}
.auto-film-settings{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0}
.auto-film-settings svg{width:15px;height:15px}
.auto-film-setup p{margin:0 0 4px;font-size:.875rem}
.connected-chat .auto-film-send{width:100%;min-height:44px;margin-top:7px}
.connected-chat .creation-entry-followup{width:auto;align-self:flex-start;padding-inline:14px}
.library-material-settings{text-align:start}
.library-material-settings summary{font-weight:700;cursor:pointer}
.library-material-settings .field{display:grid;gap:5px;margin:12px 0}
.library-material-settings .field span{color:var(--ink)}
.library-material-settings select{width:100%;min-height:44px;padding-inline:10px}
.library-material-reuse{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}
.library-material-reuse input{width:20px;height:20px;accent-color:#416a31}
.voice-catalog-filter{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;color:#496440;font-size:13px}
.voice-catalog-filter select{max-width:70%;min-height:36px;padding:6px 10px;border:1px solid #dae7d4;border-radius:10px;background:#f6faf4;color:#294a26}
.voice-sample-group{grid-column:1/-1;margin:12px 0 1px;color:#284523;font-size:14px}
.voice-catalog .voice-card-main>span:nth-child(2){display:grid;min-width:0}
.voice-catalog .voice-card-main b,.voice-catalog .voice-card-main small{white-space:normal;overflow-wrap:anywhere}
.voice-sample-label{color:#54774a;font-size:10px;margin-top:3px}
[data-long-chapter-player]:not([hidden]){display:block;width:100%;min-width:0;margin:8px 0}
[data-long-chapter-caption]:not([hidden]){margin:8px 0;overflow-wrap:anywhere}
