.sd-workspace,.sd-selector,.sd-preview,.public-page-manager{--sd-ink: #193c49;--sd-muted: #647c88;--sd-line: #d9e5e9;--sd-bg: #fff;--sd-soft: #f0f6f7;--sd-accent: #0b6c79;color:var(--sd-ink)}:root[data-theme=dark] .sd-workspace,:root[data-theme=dark] .sd-selector,:root[data-theme=dark] .sd-preview,:root[data-theme=dark] .public-page-manager{--sd-ink: #e0f0f3;--sd-muted: #afc5ce;--sd-line: #354b58;--sd-bg: #172933;--sd-soft: #203945;--sd-accent: #91dce2}.sd-selector{padding:14px 0}.sd-selector-heading,.sd-preview>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.sd-selector-heading h2{margin:0;font-size:22px;letter-spacing:-.5px}.sd-selector-heading p{margin:4px 0 12px;color:var(--sd-muted);font-size:13px}.sd-selector-heading>button{flex-shrink:0;font-size:11px}.sd-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:14px}.sd-categories>div{position:relative}.sd-card{display:flex!important;flex-direction:column;gap:0!important;padding:0!important;text-align:left!important;width:100%;min-width:0;overflow:hidden;border:1px solid var(--sd-line)!important;border-radius:13px!important;background:var(--sd-bg)!important;color:var(--sd-ink)!important;transition:transform .18s,box-shadow .18s}.sd-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #1233481a}.sd-card-image{position:relative;display:block;width:100%;aspect-ratio:16/8;overflow:hidden;background:#193e53}.sd-card-image>img,.sd-card-image .hover-media,.sd-card-image .hover-media>img,.sd-card-image video{position:absolute;width:100%;height:100%;object-fit:cover;inset:0}.sd-card-shade{position:absolute;inset:0;background:linear-gradient(transparent 60%,#071d2926)}.sd-card-caption{display:flex;flex-direction:column;padding:10px 12px;gap:3px;min-width:0;width:100%}.sd-card-caption strong{font-size:14px;overflow-wrap:anywhere}.sd-card-caption>span{font-size:12px;color:var(--sd-muted);white-space:normal;overflow-wrap:anywhere;line-height:1.45}.sd-categories .sd-card-caption{padding:7px 5px;text-align:center}.sd-categories .sd-card-caption strong{font-size:12px}.sd-categories .sd-card-caption>span{display:none}.sd-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sd-breadcrumb{display:flex;align-items:center;gap:12px;margin:8px 0 12px}.sd-breadcrumb button{font-size:12px}.sd-free-note,.sd-empty{padding:12px;background:var(--sd-soft);border-radius:10px}.sd-check,.sd-play,.sd-grip{position:absolute;top:9px;right:9px;background:#102b4cc9;color:#fff;border-radius:50%;padding:3px;box-sizing:content-box}.sd-grip{left:8px;right:auto}.sd-off{opacity:.5}.sd-preview{display:flex;flex-direction:column;height:100%;min-height:0}.sd-preview>header{flex-shrink:0}.sd-eyebrow{font-size:10px;letter-spacing:3px;color:var(--sd-muted)}.sd-preview h2{font-size:20px;margin:4px 0 12px}.sd-preview-main{flex:1;min-height:180px;background:var(--sd-soft);border-radius:16px;overflow:hidden;display:grid;place-items:center}.sd-preview-main video,.sd-preview-main img{width:100%;height:100%;max-height:100%;object-fit:contain}.sd-preview-main .showcase-media{height:100%;width:100%}.sd-preview-empty{display:flex;align-items:center;flex-direction:column;gap:12px;padding:25px}.sd-preview-empty img{width:min(360px,90%);border-radius:20px}.sd-preview-empty strong{font-size:20px}.sd-preview-empty span{font-size:12px;color:var(--sd-muted)}.sd-preview-caption{padding:12px 0}.sd-preview-caption p{margin:3px 0;color:var(--sd-muted)}.sd-preview-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;flex-shrink:0;max-height:180px;overflow-y:auto;margin-top:12px}.sd-preview-list .sd-card-caption>span{display:none}.sd-preview-list .sd-card-caption strong{font-size:12px}.sd-mini-edit{position:absolute;top:5px;right:5px}.sd-editor-card-actions{display:flex;gap:5px;justify-content:end;margin:4px 0}.sd-editor-card-actions button{font-size:11px;padding:3px 8px}.sd-editable{cursor:pointer}.sd-workspace .local-studio-columns{grid-template-columns:minmax(380px,.9fr) minmax(380px,1.1fr)!important}.sd-workspace .local-studio-editor{overflow:hidden}.sd-workspace .local-director-scroll{overflow-y:auto;overscroll-behavior:contain}.sd-workspace .local-director .director-welcome{display:none}.sd-workspace .local-history{max-height:65vh;overflow-y:auto}.sd-workspace .local-header h1{font-size:21px}.sd-workspace .local-editor-heading{padding:0 0 8px}.sd-workspace .local-complete-script>textarea{font-size:14px}.sd-workspace .local-studio-preview{min-height:0;overflow:hidden}.sd-workspace .local-director-materials button{width:64px;min-width:64px}.sd-workspace .director-composer>textarea{min-height:72px!important}.sd-workspace .director-composer-wrap{padding-top:8px}.public-page-manager{display:flex;flex-direction:column;gap:16px}.ppm-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ppm-toolbar h2{margin:0 auto 0 0}.ppm-surface{background:var(--sd-soft);border:1px solid var(--sd-line);border-radius:18px;padding:18px;min-width:0}.ppm-edit-modal{width:min(800px,94vw)!important}.ppm-edit-stage{background:var(--sd-soft);padding:22px;border-radius:16px}.ppm-edit-media{position:relative;max-height:300px;overflow:hidden;border-radius:12px;background:#193e53;display:block;width:100%;padding:0!important}.ppm-edit-media img,.ppm-edit-media video{width:100%;height:260px;object-fit:cover}.ppm-edit-media>span{position:absolute;bottom:12px;right:12px;background:#143140;color:#fff;padding:7px 14px;border-radius:8px}.ppm-inline-title,.ppm-inline-description{display:block;min-height:32px;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0 4px;padding:6px;border:1px dashed var(--sd-line);border-radius:6px}.ppm-inline-title:focus,.ppm-inline-description:focus{outline:2px solid var(--sd-accent)}.ppm-edit-tools{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0}.ppm-edit-tools label{display:flex;align-items:center;gap:5px;font-size:12px}.ppm-edit-tools input[type=number]{width:65px}.ppm-edit-tools input[type=color]{width:36px}.ppm-config{display:grid;gap:12px;margin:12px 0}.ppm-config label{display:grid;gap:6px}.ppm-config textarea{min-height:130px}.ppm-actions{display:flex;justify-content:end;gap:10px;margin-top:18px}.ppm-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-height:55vh;overflow:auto}.ppm-media-grid button{display:flex;flex-direction:column;padding:5px;min-width:0}.ppm-media-grid img{width:100%;aspect-ratio:4/3;object-fit:cover}.ppm-media-grid span{font-size:12px;word-break:break-all}.ppm-empty{padding:50px;text-align:center}.ppm-sort-handle{cursor:grab}.ppm-surface .purpose-card{min-width:180px}.ppm-surface .showcase-row{overflow:auto}.ppm-edit-stage .showcase-card,.ppm-edit-stage .purpose-card{width:100%;max-width:100%}@media(max-width:1050px){.sd-workspace .local-studio-columns{grid-template-columns:minmax(330px,1fr) minmax(300px,1fr)!important}.sd-categories{gap:5px}}@media(max-width:760px){.sd-workspace .local-studio-columns{display:flex;flex-direction:column;overflow-y:auto}.sd-workspace .local-studio-editor{min-height:650px;flex-shrink:0}.sd-workspace .local-studio-preview{min-height:400px;flex-shrink:0}.ppm-surface{padding:10px}.ppm-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sd-selector-heading{flex-wrap:wrap}}.sidebar nav a[href="/toolbox/super-director"] span{font-size:12px;white-space:nowrap}.ppm-edit-stage{--sd-soft: #f0f6f7;--sd-line: #d9e5e9;--sd-accent: #0b6c79}:root[data-theme=dark] .ppm-edit-stage{--sd-soft: #203945;--sd-line: #354b58;--sd-accent: #91dce2}.ppm-edit-modal[open]{display:flex;flex-direction:column;overflow:hidden;max-height:92vh}.ppm-edit-modal>header,.ppm-edit-modal>.ppm-actions{flex-shrink:0}.ppm-edit-body{overflow-y:auto;min-height:0;overscroll-behavior:contain;padding-right:6px}.ppm-edit-modal>.ppm-actions{border-top:1px solid #45616b33;padding-top:12px;margin-top:12px}@media(min-width:761px){.sidebar .brand,.sidebar-bottom{flex-shrink:0}.sidebar nav{min-height:0;overflow-y:auto;overscroll-behavior:contain;flex-shrink:1}}.ppm-edit-media img,.ppm-edit-media video{object-fit:contain}.sd-guidance{margin:16px 0;padding:22px;border:1px solid var(--sd-line, #d9e5e9);border-radius:18px;background:linear-gradient(135deg,var(--sd-soft, #edf6f7),transparent)}.sd-guidance-heading{color:var(--sd-accent, #08767d)}.sd-guidance-heading[role=button]{cursor:pointer}.sd-guidance h3{margin:10px 0 6px}.sd-guidance p{margin:0 0 14px;line-height:1.7}.sd-guidance-prompts{display:grid;gap:8px}.sd-guidance-prompts>button{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:12px;padding:11px 14px;border:1px solid var(--sd-line, #d9e5e9);border-radius:12px;background:var(--sd-bg, #fff);color:inherit;line-height:1.5}.sd-guidance-prompts svg{flex-shrink:0}.sd-workspace .local-media-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.sd-workspace .local-media-actions button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;height:42px;border:1px solid var(--sd-line);border-radius:10px;background:var(--sd-soft);color:var(--sd-accent);font-weight:650;white-space:nowrap}.sd-workspace .local-selected-voice{font-size:12px;line-height:1.6;margin:7px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--sd-muted)}.tencent-billing{display:grid;gap:12px;min-width:0}.tencent-billing p{margin:0;line-height:1.6;color:var(--muted, #53696b)}.billing-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.billing-fields label{display:grid;gap:6px;min-width:0}.billing-fields input{width:100%;min-width:0;box-sizing:border-box}.billing-actions{display:flex;flex-wrap:wrap;gap:8px}.billing-state,.billing-rows article{display:grid;gap:7px;padding:12px;border:1px solid #bbd2d1;border-radius:10px;overflow-wrap:anywhere}.billing-state span,.billing-rows span,.billing-rows small{font-size:13px}.billing-rows{display:grid;gap:10px}.billing-amounts{display:flex;flex-wrap:wrap;gap:12px}.tencent-billing .billing-error{color:#a03414}@media(max-width:600px){.billing-fields{grid-template-columns:minmax(0,1fr)}.billing-fields input,.billing-actions button{min-height:44px}}.customer-service{position:relative;display:inline-flex;flex-shrink:0;z-index:30}.customer-service-trigger{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border-radius:8px;border:1px solid #399b9a;background:var(--theme-panel,#e5f4f1);color:var(--theme-text,#075b60);cursor:pointer}.customer-service-trigger:hover,.customer-service-trigger[aria-expanded=true]{border-color:#08a7a6;box-shadow:0 0 0 2px #08a7a62b}.customer-service-trigger:focus-visible{outline:2px solid #08a7a6;outline-offset:2px}.customer-service-popover{position:absolute;top:calc(100% + 8px);right:0;padding:12px 14px;border:1px solid #399b9a;border-radius:10px;background:var(--theme-panel,#e5f4f1);color:var(--theme-text,#075b60);box-shadow:0 8px 24px #0003}.customer-service-popover a{display:flex;align-items:center;gap:8px;color:inherit;font-size:14px;line-height:1.5;white-space:nowrap;text-decoration:none}.customer-service-popover a:hover{text-decoration:underline}.customer-service-floating{position:fixed;top:6px;right:16px;z-index:30}.customer-service-login{top:22px;right:76px}.account-service-item{display:flex;justify-content:flex-end;padding:0 24px 10px}.account-service-item .customer-service-trigger{width:36px;height:36px}.account-popover .customer-service-popover{top:auto;bottom:calc(100% + 8px);right:0}.app-main :is(.page-heading,.talking-heading),.canvas-root .editor-header{padding-right:70px}.admin-header-actions{flex-wrap:wrap;justify-content:flex-end}@media(max-width:700px){.customer-service-floating{right:10px}.customer-service-login{right:65px;top:23px}.app-main :is(.page-heading,.talking-heading),.canvas-root .editor-header{padding-right:0;padding-top:40px}.app-main .talking-heading{padding-top:0}}.phone-login{gap:16px}.phone-login-logo{width:58px;height:58px;border-radius:16px}.phone-login label{margin:0;font-size:14px}.phone-login-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.phone-login-tabs button{min-height:42px;border:1px solid var(--theme-line, #bad8d6);border-radius:10px}.phone-login-tabs button[aria-pressed=true]{background:#087d80;border-color:#087d80;color:#fff;font-weight:700}.phone-code-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.phone-code-row button{white-space:nowrap;border:1px solid #16868a;color:var(--theme-text, #075b60);padding:0 12px;border-radius:9px}.phone-login-links{display:flex;justify-content:space-between;gap:12px}.phone-login-links button{background:transparent;border:0;color:var(--theme-text, #086f73);padding:5px 0}.phone-login [role=alert],.sms-admin [role=alert]{color:#df514b}.phone-login input[aria-invalid=true]{border-color:#df514b;box-shadow:0 0 0 2px #df514b24}.phone-login input[aria-invalid=true]::placeholder{color:#df514b}.login-form-error{color:#df514b;margin:0}.login-input-shell{min-width:0;border:1px solid var(--theme-line, #bad8d6);border-radius:9px;overflow:hidden;background:var(--theme-inset, #fff)}.phone-login .login-input-shell input{width:100%;min-width:0;margin:0;border:0;box-shadow:none;border-radius:0;background:transparent}.login-input-shell:focus-within{outline:2px solid #087d80;outline-offset:1px}.login-input-shell.invalid{border-color:#df514b}.login-input-error{display:block;padding:0 10px 8px;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.sms-admin{max-width:980px}.sms-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.sms-config-grid label{display:grid;gap:8px}.sms-config-grid input{width:100%;min-width:0;padding:10px}.sms-admin form>p{margin:16px 0;line-height:1.7}.password-settings{display:grid;gap:16px}.password-settings label{display:grid;gap:8px}.password-settings input{min-width:0;width:100%;padding:10px}.password-settings [role=alert]{color:#df514b}@media(max-width:540px){.login-page{padding:20px 14px}.phone-login{padding:24px}.sms-config-grid{grid-template-columns:1fr}}.commerce-layer{border:0;border-radius:14px;background:var(--theme-base, #f6f6f7);color:var(--theme-text, #222);box-shadow:0 20px 80px #10182730;padding:28px 26px;width:min(460px,calc(100vw - 32px));max-height:90dvh;overflow:auto;box-sizing:border-box}.new-user-guide{display:grid;gap:6px;margin:0 0 16px;padding:12px 14px;border:1px solid color-mix(in srgb,var(--theme-accent, #087d80) 35%,transparent);border-radius:10px;background:color-mix(in srgb,var(--theme-accent, #087d80) 8%,var(--theme-base, #fff));font-size:13px}.new-user-guide strong{color:var(--theme-text, #222)}.new-user-guide ol{margin:0 0 0 18px;padding:0;line-height:1.6}.new-user-guide button{justify-self:end;padding:4px 10px}.commerce-layer::backdrop{background:#18202c62;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.commerce-layer h2{margin:0 30px 25px 0;font-size:20px}.commerce-layer .layer-close{position:absolute;right:17px;top:12px;background:transparent;border:0;font-size:26px;color:var(--theme-muted, #777);padding:0 5px}.commerce-layer label{display:block;font-size:13px;margin:14px 0}.commerce-layer input:not([type=checkbox]):not([type=radio]),.commerce-layer textarea,.commerce-layer select{width:100%;margin-top:8px;box-sizing:border-box;padding:11px 12px;border:1px solid var(--theme-line, #dedfe4);border-radius:9px;background:var(--theme-inset, #f9f9fb)}.commerce-layer footer{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:16px;border-top:1px solid var(--theme-line, #e6e6e9)}.commerce-layer footer button{min-width:76px}.commerce-layer button:not(.layer-close),.commerce-admin button,.credit-account button{border-radius:9px;padding:9px 15px}.commerce-layer button.primary,.credit-account button.primary,.commerce-admin button.primary{background:var(--theme-action, #242528);color:var(--theme-bright, #fff);border:1px solid var(--theme-line, #242528)}.commerce-layer button:disabled,.commerce-admin button:disabled{opacity:.45;cursor:not-allowed}.commerce-layer.plans{width:min(1280px,calc(100vw - 48px));padding:40px 64px}.commerce-layer.plans h2,.commerce-layer.topup h2{text-align:center;font-size:27px;margin:0 0 16px}.layer-subtitle{text-align:center;margin:0 0 36px;font-size:14px}.layer-subtitle button{background:none;border:0!important;padding:0!important;color:var(--theme-link, #008dcc);font-weight:600}.plan-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.plan-card{background:var(--theme-panel, #fff);border:1px solid transparent;box-shadow:0 3px 12px #00000007;border-radius:15px;padding:22px 20px;min-height:525px;display:flex;flex-direction:column;min-width:0}.plan-card.recommended{border-color:var(--theme-focus, #57bdea);box-shadow:0 0 0 1px #a5daef}.plan-card header{display:flex;gap:8px;align-items:center;justify-content:space-between}.plan-card h3{font-size:17px;margin:0}.plan-card header small{border:1px solid var(--theme-focus, #afd2e5);border-radius:12px;padding:3px 8px;font-size:11px;color:var(--theme-link, #008dcc);white-space:nowrap}.plan-price{font-size:34px;font-weight:750;margin:28px 0 8px;letter-spacing:-1px}.plan-price small{font-size:14px;color:var(--theme-muted, #777);margin-right:5px}.plan-card>.muted{font-size:12px;min-height:32px}.plan-credits{font-size:19px;font-weight:700;margin:26px 0 70px;line-height:1.8}.plan-credits small{font-size:11px;background:var(--theme-base, #edf7fb);color:var(--theme-link, #168dc0);padding:5px;white-space:nowrap}.commerce-rate-note{margin:0 0 12px;color:var(--theme-link, #0b6f73);font-size:.86rem;font-weight:600}.plan-card ul{border-top:1px solid var(--theme-line, #eee);padding:20px 0 10px;list-style:none;font-size:12px;line-height:2.7;margin:0 0 22px;flex:1}.plan-card>button{width:100%;margin-top:auto;background:var(--theme-action, #222);color:var(--theme-bright, white)}.plan-card.recommended>button{background:var(--theme-action, #008dcc);border-color:var(--theme-focus, #008dcc)}.contact-title{font-size:25px;font-weight:700;margin:32px 0 8px}.plan-spacer{flex:1;min-height:90px}.plan-card.contact>button{background:var(--theme-panel, #fff);color:var(--theme-text, #222);border:1px solid var(--theme-line, #d9dce0)}.commerce-layer.topup{width:704px;padding:40px 82px}.topup-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:36px 0 24px}.topup-grid button{display:flex;flex-direction:column;align-items:start;gap:18px;background:var(--theme-panel, #fff);min-height:96px;border:1px solid transparent;padding:16px!important;box-shadow:0 1px 5px #00000004}.topup-grid button.chosen{border-color:var(--theme-focus, #8ccfea);box-shadow:0 0 0 2px var(--theme-focus, #d5eef8)}.topup-grid strong{font-size:22px}.topup-grid span{font-size:13px;color:var(--theme-muted, #777)}.topup-submit{display:block;width:320px;max-width:100%;margin:0 auto}.commerce-note{font-size:12px;color:var(--theme-muted, #85858d);line-height:1.8;overflow-wrap:anywhere}.topup>.commerce-note{text-align:center;margin-top:20px}.commerce-error{color:var(--theme-error, #b82b30);overflow-wrap:anywhere}.commerce-success{color:var(--theme-success, #168369)}.commerce-toast{position:fixed;bottom:32px;left:50%;transform:translate(-50%);z-index:150;background:var(--theme-action, #222);color:var(--theme-bright, white);padding:14px 22px;border-radius:12px;box-shadow:0 5px 20px #0002}.commerce-toast button{margin-left:20px;color:var(--theme-bright, white);background:transparent;border:0}.commerce-layer.payment{width:768px;padding:28px 0 0;background:var(--theme-panel, white)}.commerce-layer.payment h2{padding-left:28px;font-size:20px}.payment-methods{position:absolute;right:72px;top:16px;display:flex;gap:10px}.payment-methods button{border:1px solid var(--theme-line, #eee)!important;border-radius:30px!important;width:140px;height:48px;background:var(--theme-panel, white);font-weight:600}.payment-methods button[aria-pressed=true]{background:var(--theme-action, #1384f5);color:var(--theme-bright, white)}.payment-columns{display:grid;grid-template-columns:1.05fr .95fr;border-top:1px solid var(--theme-line, #eee);margin-top:30px}.payment-columns>section{text-align:center;padding:35px 25px}.payment-columns section p{font-size:12px;line-height:1.8;color:var(--theme-muted, #777)}.payment-columns>aside{border-left:1px solid var(--theme-line, #eee);padding:30px;display:flex;flex-direction:column;justify-content:space-between;min-height:280px}.payment-columns aside h3{font-weight:500;font-size:22px}.payment-columns aside strong{font-size:44px}.payment-columns aside small{font-size:11px;color:var(--theme-muted, #888);overflow-wrap:anywhere}.payment-placeholder,.payment-qr{width:200px;height:200px;object-fit:contain;margin:0 auto;display:grid;place-content:center;font-size:14px;color:var(--theme-muted, #888)}.paid-mark{color:var(--theme-success, #15856b);font-size:36px;min-height:200px;padding-top:30px}.paid-mark h3{font-size:20px}.mobile-payment-link{display:none}.account-dock{display:flex;flex-direction:column;align-items:center;gap:14px}.account-dock .credits{display:flex;flex-direction:column;padding:5px 0}.account-dock .credits button{border:0;background:transparent;font-size:10px;padding:5px 3px}.account-dock .credits button:last-child{color:var(--theme-link, #008dcc)}.account-popover{position:fixed;bottom:42px;left:80px;width:220px;background:var(--theme-panel, #fff);box-shadow:0 10px 45px #0002;border:1px solid var(--theme-line, #eee);border-radius:14px;z-index:80;padding-top:14px;overflow:visible}.account-popover header{display:flex;align-items:center;gap:10px;padding:0 14px 10px}.account-popover header .avatar{flex-shrink:0}.account-popover strong{font-size:13px}.account-popover small{font-size:9px;background:var(--theme-base, #eee);border-radius:8px;padding:1px 5px}.account-popover p{font-size:11px;color:var(--theme-muted, #777);margin:4px 0}.account-popover>button{display:flex;width:100%;justify-content:space-between;border:0;background:var(--theme-panel, white);padding:18px 24px;font-size:13px}.account-popover button:hover{background:var(--theme-hover, #f5f5f7)}.account-popover footer{border-top:1px solid var(--theme-line, #eee);margin:10px 0 0;padding:7px}.account-popover footer button{width:100%;border:0;background:var(--theme-panel, white)}.profile-grid{display:grid;grid-template-columns:90px 1fr;gap:22px 15px;font-size:13px}.profile-grid dt{color:var(--theme-muted, #777)}.profile-grid dd{margin:0;overflow-wrap:anywhere}.profile-grid button{border:0;color:var(--theme-link, #008dcc);background:none;padding:0!important}.account-dock .avatar:has(.account-avatar-image){padding:0;overflow:hidden}.account-avatar-image{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}.mobile-avatar .account-avatar-image{width:23px;height:23px}.account-popover header>div{min-width:0;overflow-wrap:anywhere}.profile-form fieldset{border:0;margin:0;padding:0;min-width:0}.profile-avatar-row{display:flex;gap:18px;align-items:center;padding:10px 0 24px;border-bottom:1px solid var(--theme-line, #eee);margin-bottom:24px}.profile-form .profile-avatar-picker{position:relative;display:flex;align-items:center;justify-content:center;width:80px;height:80px;flex:0 0 80px;border-radius:50%;background:var(--theme-base, #eef5f7);overflow:hidden;cursor:pointer;font-size:30px;margin:0}.profile-avatar-picker img{width:100%;height:100%;object-fit:cover}.profile-avatar-picker input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.profile-avatar-picker:focus-within{outline:3px solid var(--theme-focus, #00a7bd);outline-offset:3px}.profile-avatar-overlay{position:absolute;bottom:0;width:100%;font-size:10px;text-align:center;color:var(--theme-bright, white);background:#0008;padding:4px 0 7px}.profile-avatar-help{min-width:0;font-size:13px}.profile-avatar-help p{color:var(--theme-muted, #777);font-size:12px;margin:7px 0}.profile-avatar-help small{color:var(--theme-muted, #777);font-size:11px}.profile-form .profile-reset{display:block;color:var(--theme-link, #008da0);background:transparent;padding:0;margin-top:9px;border:0;font-size:12px}.profile-form .profile-grid{align-items:center;grid-template-columns:65px minmax(0,1fr)}.profile-form .profile-grid label{margin:0;font-size:inherit}.profile-form .profile-grid input{width:100%;min-width:0}.profile-form footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.profile-form footer button{white-space:nowrap;margin-left:auto}.profile-error{color:var(--theme-error, #ba3434);font-size:13px}.profile-success{color:var(--theme-success, #217944);font-size:13px}.inline-form{display:flex;gap:8px}.inline-form button{flex-shrink:0}.credit-account{max-width:1400px;margin:auto;padding:30px 40px 60px}.credit-account h1{font-size:25px;margin:0 0 28px}.credit-summary{background:var(--theme-panel, white);border:1px solid var(--theme-line, #eee);border-radius:12px;padding:25px}.credit-summary>p{font-size:12px;color:var(--theme-muted, #888);margin:0 0 10px}.credit-total{font-size:34px;margin-right:10px}.credit-summary>.muted{font-size:12px}.credit-bottom{display:flex;align-items:center;gap:12px;margin-top:25px}.credit-bottom>div{display:flex;flex-direction:column;gap:10px;min-width:110px}.credit-bottom small{font-size:11px;color:var(--theme-muted, #888)}.credit-bottom strong{font-size:19px}.credit-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:26px 0}.credit-heading h2{font-size:17px}.credit-heading>div{display:flex;gap:9px}.credit-record-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.credit-record-tabs button{flex:0 1 150px;min-height:44px}.credit-record-tabs button.active{background:var(--theme-selected, #e5e5e7);border-color:var(--theme-accent, #0b686b);font-weight:600}.account-record-table td{vertical-align:middle}@media(max-width:600px){.credit-record-tabs{gap:6px}.credit-record-tabs button{flex:1 1 0;min-width:0;padding:10px 6px}.account-record-table{overflow:visible}.account-record-table table,.account-record-table tbody{display:block}.account-record-table thead{display:none}.account-record-table tr{display:block;padding:10px 14px;margin-bottom:12px;border:1px solid var(--theme-line, #e5e5e8);border-radius:12px}.account-record-table td{display:grid;grid-template-columns:78px minmax(0,1fr);gap:8px;max-width:none;padding:9px 0;border:0;overflow-wrap:anywhere}.account-record-table td:before{content:attr(data-label);color:var(--theme-muted, #888)}.account-record-table td small{grid-column:2;margin:0}.account-record-table td button{min-height:44px}}.button-link{border:1px solid var(--theme-line, #dedee1);background:var(--theme-panel, #fff);padding:9px 15px;border-radius:9px;font-size:13px}.credit-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:16px 0;font-size:12px}.credit-filters span{margin-right:8px;color:var(--theme-muted, #777)}.credit-filters button{border:0;background:none;border-radius:22px;padding:8px 12px}.credit-filters button.active{background:var(--theme-selected, #e5e5e7);font-weight:600}.credit-ledger{padding:0;margin:28px 0;list-style:none;border:1px solid var(--theme-line, #e5e5e8);border-radius:12px;overflow:hidden}.credit-ledger li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 30px;border-bottom:1px solid var(--theme-line, #e5e5e8);font-size:13px}.credit-ledger li:last-child{border-bottom:0}.credit-ledger p{color:var(--theme-muted, #888);margin:5px 0;font-size:12px}.credit-ledger em{font-style:normal;color:var(--theme-success, #239987);font-size:11px}.credit-ledger time{font-size:11px}.credit-ledger strong{white-space:nowrap;font-size:17px}.credit-ledger strong small{font-weight:400;color:var(--theme-muted, #888);font-size:10px}.empty-commerce{padding:35px!important;text-align:center;color:var(--theme-muted, #888);display:block!important}.commerce-table{overflow:auto;max-width:100%;margin-top:20px}.commerce-table table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.commerce-table th,.commerce-table td{padding:14px;border-bottom:1px solid var(--theme-line, #e9e9ec);max-width:280px;overflow-wrap:anywhere}.commerce-table th{background:var(--theme-base, #f2f3f5);white-space:nowrap}.commerce-table td small{display:block;font-size:11px;margin-top:5px}.commerce-table td button{margin:3px;padding:7px 10px}.order-status{display:inline-block;padding:5px 9px;border-radius:6px;background:var(--theme-base, #eee);color:var(--theme-muted, #666);white-space:nowrap;font-size:12px}.order-status.pending,.order-status.creating{color:var(--theme-error, #a56509);background:var(--theme-selected, #fff3d9)}.order-status.paid,.order-status.redeemed{color:var(--theme-success, #168568);background:var(--theme-base, #e6f7ef)}.order-status.disabled{color:var(--theme-error, #b54a4a);background:var(--theme-base, #fbeeee)}.commerce-admin{padding:6px 0 30px}.commerce-admin .credit-heading{margin:10px 0 20px}.commerce-toolbar{display:flex;gap:12px;margin:15px 0}.commerce-toolbar input{min-width:260px}.commerce-admin input:not([type=checkbox]),.commerce-admin select,.commerce-admin textarea{border:1px solid var(--theme-line, #dddfe5);border-radius:8px;padding:10px;background:var(--theme-inset, white);max-width:100%;box-sizing:border-box}.commerce-form{max-width:850px}.commerce-form>label,.commerce-form fieldset label{display:block;margin:14px 0}.commerce-form label input:not([type=checkbox]),.commerce-form label select{display:block;width:100%;margin-top:8px}.commerce-form fieldset{border:1px solid var(--theme-line, #e1e2e8);border-radius:10px;margin:22px 0;padding:18px}.commerce-form>p{font-size:13px;line-height:1.8;color:var(--theme-muted, #666)}.commerce-admin .pill-switch{width:42px;height:24px;border-radius:15px;padding:3px;background:var(--theme-hover, #ccc);border:0;display:inline-flex;align-items:center}.pill-switch span{width:18px;height:18px;background:var(--theme-panel, white);border-radius:50%;transition:transform .15s}.pill-switch[aria-checked=true]{background:var(--theme-action, #008dcc)}.pill-switch[aria-checked=true] span{transform:translate(18px)}.support-editor{display:block;max-width:650px;margin:28px 0 12px}.support-editor textarea{display:block;width:100%;margin-top:10px}.inline-label{display:inline-flex!important;align-items:center;gap:7px;margin-right:15px!important}.invoice-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:25px 0}.invoice-stats section{background:var(--theme-panel, #fff);border:1px solid var(--theme-line, #eee);border-radius:10px;padding:24px}.invoice-stats p{font-size:13px;color:var(--theme-muted, #888)}.invoice-stats strong{font-size:25px}.invoice-row{display:flex;align-items:center;gap:18px;padding:20px;background:var(--theme-panel, white);border-bottom:1px solid var(--theme-line, #eee);font-size:13px}.invoice-row span{flex:1}.commerce-layer.invoice-apply{width:850px}.invoice-apply h3{font-size:16px;margin:30px 0 15px}.commerce-layer fieldset{border:0;margin:16px 0;padding:0}.commerce-layer fieldset legend{font-size:13px}.commerce-layer input:focus-visible,.commerce-layer button:focus-visible{outline:2px solid var(--theme-focus, #008dcc);outline-offset:2px}@media(max-width:1100px){.commerce-layer.plans{padding:35px 25px}.plan-grid{gap:12px}.plan-card{padding:18px 14px}.plan-price{font-size:29px}.plan-credits{font-size:16px}.credit-account{padding:25px}.admin-page>.tabs{flex-wrap:wrap}}@media(max-width:650px){.commerce-layer.plans{padding:32px 20px}.plan-grid{grid-template-columns:1fr}.plan-card{min-height:420px}.plan-credits{margin-bottom:30px}.commerce-layer.topup{padding:35px 22px}.topup-grid{gap:8px}.topup-grid button{padding:12px!important;min-height:85px}.topup-grid strong{font-size:18px}.topup-grid span{font-size:11px}.layer-subtitle{font-size:12px;line-height:2}.commerce-layer.payment{padding-top:22px}.commerce-layer.payment h2{padding-left:20px}.payment-methods{position:static;padding:0 20px;margin-bottom:15px}.payment-methods button{height:40px;width:120px}.payment-columns{grid-template-columns:1fr;margin-top:15px}.payment-columns>section{padding:20px}.payment-columns>aside{min-height:120px;border-top:1px solid var(--theme-line, #eee);border-left:0;padding:18px;gap:12px}.payment-columns aside strong{font-size:28px}.payment-columns aside h3{margin:0;font-size:17px}.mobile-payment-link{display:inline}.credit-account{padding:20px 15px 80px}.credit-account h1{font-size:22px}.credit-summary{padding:20px}.credit-summary>.muted{display:block;font-size:11px;margin-top:8px}.credit-bottom{flex-wrap:wrap}.credit-bottom>div{flex:1;min-width:100px}.credit-bottom button{margin-top:10px}.credit-heading{flex-wrap:wrap}.credit-ledger li{padding:15px}.commerce-toolbar{flex-wrap:wrap}.commerce-toolbar input{min-width:0;width:100%}.invoice-stats{gap:8px}.invoice-stats section{padding:12px}.invoice-stats strong{font-size:18px}.invoice-row{flex-wrap:wrap;gap:10px}.account-popover{left:auto;right:12px;bottom:70px}.commerce-toast{width:80%;bottom:80px}.commerce-form{padding:18px}.commerce-layer .profile-grid{grid-template-columns:70px 1fr}}.mobile-dock{display:none}.consumption-filters{display:grid;grid-template-columns:minmax(230px,1.4fr) minmax(125px,.8fr) minmax(260px,1.3fr) minmax(190px,1fr) minmax(160px,1fr) auto;gap:12px;align-items:end;padding:18px;border:1px solid var(--theme-line);border-radius:14px;background:var(--theme-inset)}.consumption-filters label,.consumption-filters fieldset{display:flex;flex-direction:column;gap:7px;margin:0;min-width:0;font-size:13px;font-weight:600}.consumption-filters fieldset{padding:0;border:0}.consumption-filters legend{margin-bottom:7px}.consumption-filters input,.consumption-filters select{min-width:0;width:100%;height:40px;padding:8px;border:1px solid var(--theme-line);border-radius:8px;background:var(--theme-panel);color:var(--theme-text)}.consumption-date,.consumption-actions{display:flex;gap:6px}.consumption-date select{width:76px;flex-shrink:0}.consumption-actions button{height:40px;white-space:nowrap}.consumption-user{position:relative;min-width:0}.consumption-user>label{margin-bottom:7px}.consumption-options{position:absolute;top:100%;left:0;right:0;z-index:20;max-height:260px;overflow:auto;padding:6px;background:var(--theme-panel,#fff);border:1px solid var(--theme-line);border-radius:8px;box-shadow:0 6px 20px #0003}.consumption-options button{display:block;text-align:left;width:100%;margin:2px 0;white-space:normal}.consumption-options [aria-selected=true]{background:#087c80;color:#fff}.consumption-summary{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;margin:16px 0;font-size:13px}.consumption-page{display:flex;flex-direction:column;height:100%;min-height:0}.consumption-page>:not(.commerce-table){flex-shrink:0}.consumption-page .commerce-table{flex:1;min-height:150px;overflow:auto}.consumption-page td{max-width:330px;overflow-wrap:anywhere}.consumption-pending{color:var(--theme-text);background:var(--theme-inset);padding:3px 7px;border-radius:6px}.consumption-pagination{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:12px}@media(max-width:1500px){.consumption-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.consumption-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:10px}}@media(max-width:540px){.consumption-filters{grid-template-columns:1fr}}@media(max-width:1023px){.mobile-dock{display:flex}.mobile-avatar{display:flex;flex-direction:column;align-items:center;gap:3px;border:0;background:none;font-size:11px;padding:15px 7px}.account-popover{left:auto;right:12px;bottom:70px}}.depth-controls{display:grid;gap:6px;min-width:0;margin-top:16px;flex:none}.depth-intro{margin:0 0 2px;font-size:12px;font-weight:600}.depth-intro span{margin-left:6px;color:var(--theme-muted);font-size:11px;font-weight:400}.depth-options-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px}.studio-depth .depth-options-grid label{display:grid;grid-template-columns:78px minmax(0,1fr);gap:4px;align-items:center;margin:0;font-size:12px}.studio-depth .depth-options-grid label>span{white-space:nowrap;font-size:12px;font-weight:500}.studio-depth .depth-controls select,.depth-plan select,.depth-extra-settings select{width:100%;min-width:0;min-height:36px;padding:6px;font-size:12px;color:var(--theme-text)}.depth-extra-settings{margin:10px 0;font-size:12px}.depth-extra-settings summary{cursor:pointer;padding:8px 0}.depth-extra-settings label{display:grid;grid-template-columns:78px minmax(0,1fr);gap:8px;align-items:center;margin:6px 0}.depth-dialogue{margin-top:12px;border:1px solid var(--line);background:var(--theme-inset, #fff);border-radius:14px;padding:12px;display:flex;flex-direction:column;flex:1 0 auto;min-width:0}.depth-text-label,.depth-extra-field{display:block;font-size:12px;font-weight:600;margin-top:12px}.depth-dialogue .depth-extra-field textarea{min-height:68px}.depth-material-header{display:grid;grid-template-columns:minmax(0,274px) minmax(64px,1fr);align-items:start;gap:8px}.depth-material-list{grid-area:1 / 1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));min-width:0;gap:6px;list-style:none;margin:0;padding:0}.depth-material-meta{grid-area:1 / 2;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:4px 10px;color:var(--theme-muted);font-size:10px}.depth-material-meta span{white-space:nowrap}.depth-material-list li{position:relative;min-width:0}.depth-material-pick{width:100%;min-width:0;min-height:44px;padding:4px 3px;display:grid;gap:2px;border:1px dashed var(--line);border-radius:9px;background:var(--theme-panel);text-align:center}.has-material .depth-material-pick{border-style:solid}.depth-material-images{display:flex;position:relative;height:24px;min-width:0;gap:2px;align-items:center;justify-content:center;overflow:hidden;color:var(--theme-muted)}.depth-material-images>svg:not(.depth-material-plus){width:18px;height:18px}.depth-material-images img{height:100%;width:100%;min-width:0;flex:1 1 0;object-fit:cover;border-radius:5px}.depth-material-plus{position:absolute;right:4px;bottom:3px}.depth-material-pick strong{font-size:11px;font-weight:550}.depth-material-remove{position:absolute;top:-6px;right:-4px;display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--line);border-radius:50%;padding:0;background:var(--theme-panel)}.depth-dialogue textarea{display:block;width:100%;min-height:84px;resize:vertical;border:0;box-shadow:none;background:transparent;padding:6px 0 4px;font-size:13px;line-height:1.7}.depth-dialogue>textarea[aria-label=画面修改要求]{min-height:116px;flex:1 0 116px}.depth-dialogue textarea:focus{outline:none;box-shadow:none}.depth-dialogue:focus-within{border-color:var(--theme-primary, #087e82)}.depth-dialogue footer{display:flex;align-items:center;justify-content:flex-end}.depth-dialogue footer button{min-width:36px;min-height:36px;display:grid;place-items:center;border:0;background:transparent}.depth-source-actions{display:flex;align-items:center;justify-content:space-between;gap:6px;color:var(--theme-muted);font-size:11px}.depth-source-actions button{min-height:36px;border:0;background:transparent;font-size:11px}.depth-plan{display:grid;gap:6px;margin-top:auto;padding:8px 0 0;font-size:11px;overflow-wrap:anywhere}.depth-plan ol{margin:0;padding-left:24px;display:grid;gap:6px}.depth-plan p{margin:0}.depth-plan-details summary{cursor:pointer;font-size:12px;padding:6px 0}.depth-plan-details ol{margin:8px 0}.studio-depth .composer{flex:none}.studio-depth .depth-reference-upload{flex:none;min-height:clamp(320px,46dvh,560px);height:auto;margin:0}.depth-submit-row{--depth-submit-height: 31px;display:grid;grid-template-columns:minmax(0,1fr) minmax(124px,.95fr);gap:8px;align-items:center}.depth-submit-row label{display:block;min-width:0;margin:0}.depth-submit-row label>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.depth-submit-row select,.depth-submit-row .generate{min-height:var(--depth-submit-height);height:var(--depth-submit-height);width:100%;margin:0;padding:2px 8px;font-size:12px}.app-main .studio-depth .depth-dialogue .depth-submit-row button.generate{min-height:var(--depth-submit-height);padding:2px 8px;font-size:12px;white-space:nowrap}.studio-depth .depth-reference-upload small{max-width:100%;overflow-wrap:anywhere}.depth-source-preview{flex:1;min-height:280px;min-width:0;display:grid;place-items:center;padding:16px;background:transparent}.depth-preview-frame{min-width:0;max-width:100%;border-radius:12px;overflow:hidden;background:#171b21}.depth-preview-frame.is-empty{border:1px dashed var(--line);background:var(--theme-inset, #f5f6f8)}.depth-preview-frame video{display:block;width:100%;height:100%;max-width:100%;object-fit:contain}.depth-preview-empty{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:16px;color:var(--theme-muted);text-align:center}.depth-preview-empty strong{color:var(--theme-text);font-size:15px}.depth-preview-empty span{font-size:12px}.depth-preview-empty small{margin-top:8px;font-size:11px}@media(max-width:600px){.studio-depth .prompt-box{padding:10px 8px}.studio-depth .depth-reference-upload{min-height:clamp(300px,42dvh,420px)}.depth-options-grid{gap:4px 8px}.studio-depth .depth-options-grid label{grid-template-columns:60px minmax(0,1fr);gap:3px;font-size:10px}.studio-depth .depth-options-grid label>span{font-size:10px}.studio-depth .depth-controls select{font-size:11px;padding:4px 2px}.studio-depth .depth-controls select,.depth-plan select,.depth-extra-settings select,.depth-source-actions button,.depth-dialogue footer button,.depth-submit-row .generate{min-height:44px}.depth-dialogue{padding:10px}.depth-submit-row{--depth-submit-height: 44px}.depth-material-list{gap:2px}.depth-material-pick{padding:4px 1px}.depth-material-pick strong{font-size:10px;white-space:nowrap}.depth-dialogue>textarea[aria-label=画面修改要求]{min-height:148px}.depth-material-list li.has-material{padding-bottom:44px}.depth-material-remove{top:auto;right:0;bottom:0;width:44px;height:44px;border:0;border-radius:8px;background:transparent}}.depth-audio-controls{flex:0 0 auto;min-width:0;border-top:1px solid #dce9e8;padding:8px 0;font-size:12px}.depth-audio-controls summary{cursor:pointer;font-weight:600;padding:5px 0}.depth-audio-controls p{margin:6px 0;line-height:1.5;color:var(--theme-muted, #577778)}.depth-audio-controls details{margin:6px 0}.depth-audio-field{display:flex;flex-direction:row;align-items:center;gap:8px;margin:7px 0}.depth-audio-field>span{flex:0 0 84px}.depth-audio-field select{flex:1;min-width:0;width:0}.depth-audio-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:7px 0}.depth-audio-actions label{display:flex;flex-direction:row;align-items:center;gap:5px}.depth-audio-controls button,.depth-audio-controls select{min-height:32px;padding:5px 8px;max-width:100%}.depth-audio-check{display:flex;flex-direction:row;align-items:center;gap:6px;margin:8px 0}.studio-depth .depth-dialogue .depth-audio-controls label{font-size:12px;font-weight:400}.depth-audio-check input{width:auto;flex:0 0 auto}.depth-audio-controls audio{width:100%;height:36px;margin:6px 0}@media(max-width:700px){.depth-audio-controls button,.depth-audio-controls select{min-height:44px}.depth-audio-actions>*{flex:1 1 130px}.depth-audio-field>span{flex-basis:76px}}.studio-layout .title-button.skill-picker-trigger{flex-wrap:nowrap;text-align:left;gap:10px;min-width:0}.studio-layout:has(.skill-picker-trigger) .editor-header{height:auto;min-height:60px}.skill-picker-trigger>span:nth-child(2){min-width:0}.skill-picker-trigger strong{display:block;font-size:24px;line-height:1.35}.studio-layout .skill-picker-trigger small{display:block;color:var(--work-muted);font-size:12px;letter-spacing:0;line-height:1.5;font-weight:400}.skill-picker-trigger .tool-emblem{width:52px;height:52px;flex-shrink:0}.skill-picker-trigger>svg{flex-shrink:0;transition:transform .2s}.skill-picker-trigger[aria-expanded=true]>svg{transform:rotate(90deg)}.studio-skill-picker{position:fixed;z-index:420;display:flex;flex-direction:column;padding:16px;box-sizing:border-box;border:1px solid var(--work-line);border-radius:12px;background:var(--work-field);color:var(--work-ink);box-shadow:none;outline:none;animation:skill-picker-in .22s ease-out;transform-origin:top left}.skill-picker-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-shrink:0;margin-bottom:12px}.skill-picker-heading>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.skill-picker-heading strong{font-size:17px}.skill-picker-heading p{margin:0;font-size:12px;color:var(--work-muted)}.skill-picker-heading button{border:0;background:transparent;color:var(--work-muted);font-size:12px;padding:4px 0;cursor:pointer;white-space:nowrap}.skill-picker-toolbar{display:flex;align-items:center;gap:8px;flex-shrink:0;margin-bottom:12px;border-bottom:1px solid var(--work-line)}.skill-picker-tabs{display:flex;gap:16px;overflow-x:auto;min-width:0;flex:1}.skill-picker-tabs button{flex-shrink:0;white-space:nowrap;padding:8px 0;background:transparent;border:0;border-bottom:2px solid transparent;color:var(--work-muted);font-size:12px;cursor:pointer}.skill-picker-tabs button[aria-pressed=true]{border-bottom-color:var(--work-accent);color:var(--work-ink);font-weight:700}.skill-picker-search{display:flex;flex-direction:row;margin:0;align-items:center;gap:4px;width:80px;flex-shrink:0;color:var(--work-muted);transition:width .2s}.skill-picker-search:focus-within{width:144px}.skill-picker-search input{min-width:0;width:100%;padding:5px 0;font-size:12px;border:0;background:transparent;color:var(--work-ink)}.skill-picker-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain}.skill-picker-grid{display:grid;gap:8px}.skill-picker-card{position:relative;display:flex;align-items:center;gap:10px;padding:12px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--work-ink);text-align:left;cursor:pointer;min-width:0;justify-content:flex-start;min-height:78px;border-color:var(--line)}.skill-picker-card:hover{background:var(--work-soft)}.skill-picker-card[aria-pressed=true]{background:var(--work-soft);border-color:var(--work-line)}.skill-picker-icon{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:8px;background:var(--work-soft);color:var(--work-accent)}.skill-picker-card strong{display:block;font-size:14px;padding-right:10px}.skill-picker-card small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:4px;line-height:1.5;font-size:12px;color:var(--work-muted)}.skill-picker-check{position:absolute;right:7px;top:7px;color:var(--work-accent)}.skill-picker-scroll footer,.skill-picker-empty{text-align:center;color:var(--work-muted);font-size:12px;padding:12px 0 0}.studio-skill-picker button:focus-visible,.studio-skill-picker input:focus-visible{outline:2px solid var(--work-accent);outline-offset:2px}@keyframes skill-picker-in{0%{opacity:0;transform:translateY(-5px) scale(.98)}to{opacity:1;transform:none}}@media(max-width:460px){.skill-picker-heading p{display:none}.skill-picker-heading{margin-bottom:10px}.skill-picker-search:focus-within{width:100px}.skill-picker-trigger strong{font-size:22px}}@media(prefers-reduced-motion:reduce){.studio-skill-picker{animation:none}.skill-picker-trigger>svg,.skill-picker-search{transition:none}}.image-workspace{--border: var(--theme-line, #e1e4e9);--image-editor-track: minmax(464px, .51fr);--image-queue-track: clamp(160px, 11vw, 196px);--image-queue-compact: 72px;display:grid;grid-template-columns:var(--image-editor-track) minmax(0,1fr) var( --image-queue-track );grid-template-rows:minmax(0,1fr);width:100%;max-width:min(1920px,calc(100% - clamp(24px,4vw,56px)));margin-inline:auto;gap:12px;padding:24px 8px;height:100dvh;box-sizing:border-box;color:var(--text);align-items:stretch}.image-workspace.image-queue-collapsed{grid-template-columns:var(--image-editor-track) minmax(0,1fr) var( --image-queue-compact )}@media(min-width:1536px){.image-workspace{max-width:min(2112px,calc(100% - clamp(20px,3vw,48px)))}}@media(min-width:1800px){.image-workspace{--image-editor-track: minmax(480px, .54fr);--image-queue-track: clamp(168px, 10.5vw, 204px);--image-queue-compact: 76px}}@media(min-width:2200px){.image-workspace{--image-editor-track: minmax(512px, .57fr);--image-queue-track: 200px}}.image-workspace .panel{min-width:0;padding:16px;border-radius:16px;min-height:0;overflow:auto}.image-workspace header{display:flex;gap:8px;align-items:center}.image-workspace h2{font-size:13px;margin:16px 0 10px}.image-workspace small{font-weight:400}.image-workspace .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.image-workspace button,.image-workspace a.button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border-radius:9px}.image-workspace button:hover:not(:disabled){background:var(--theme-hover, #f0f1f3);color:var(--theme-bright, #22252a)}.image-workspace button[aria-pressed=true]{background:var(--theme-selected, #e9e9ea);color:var(--theme-bright, #22252a);border-color:var(--theme-line, #d8dce1)}.image-workspace .primary:hover:not(:disabled){background:var(--theme-action-hover, #333);color:var(--theme-bright, #fff)}.image-workspace .image-operation{display:flex;flex-direction:column;padding:10px;overflow:hidden}.image-operation .editor-header{flex-wrap:nowrap;height:52px;flex-shrink:0;margin-bottom:8px}.image-operation .image-skill-trigger{flex:1;justify-content:flex-start;text-align:left;border:0;background:transparent;padding:0;min-width:0;height:52px;gap:8px;overflow:hidden}.image-skill-trigger span{min-width:0}.image-skill-trigger strong{font-size:14px;display:block;line-height:17px}.image-skill-trigger small{font-size:10px;color:var(--muted);display:block;line-height:12px;margin-top:4px}.image-skill-caption{overflow:hidden}.image-skill-caption strong,.image-skill-caption small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.image-skill-emblem{width:52px;height:52px;flex-shrink:0;border-radius:8px;background:var(--theme-hover);display:grid;place-items:center}.image-skill-trigger>svg{flex-shrink:0}.image-workspace .image-new-draft{height:32px;min-height:32px;padding:0 8px;font-size:12px;background:transparent;border:0}.image-operation .editor-header>button:not(.image-skill-trigger){flex-shrink:0}.image-composer{border:1px solid var(--border);border-radius:12px;display:flex;flex-direction:column;flex:1;min-height:0;overflow:auto;padding:8px 16px}.image-prompt-label{display:flex;flex:1;min-height:80px;margin:0;padding-top:12px}.image-workspace textarea{width:100%;min-width:0;min-height:80px;resize:none;box-sizing:border-box;font-size:15px;line-height:1.7;color:var(--text);background:transparent;border:0;padding:0}.image-prompt-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:0 0 8px;flex-shrink:0}.image-prompt-actions small{margin-right:auto;color:var(--muted);font-size:10px}.image-workspace .image-prompt-actions button{font-size:10px;padding:4px;min-height:28px;height:28px;min-width:28px;border:0;background:transparent}.image-prompt-count{text-align:right;font-size:10px;color:var(--muted);line-height:20px;flex-shrink:0}.image-reference-fields{flex-shrink:0}.image-reference-slots{display:flex;gap:8px;flex-wrap:wrap}.image-reference-slot{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap;min-width:0;max-width:100%}.image-reference-slot>button{flex-direction:column;width:60px;font-size:10px;background:transparent;border:0;padding:0}.image-reference-add{width:60px;height:60px;border:1px solid var(--border);border-radius:12px;display:grid;place-items:center}.image-reference-slot>button small{font-size:10px;line-height:16px}.image-reference-slot>div{display:flex;gap:5px;flex-wrap:wrap}.image-reference{position:relative;margin-top:0;max-width:100%}.image-reference>button:first-child{padding:0;overflow:hidden}.image-reference img{width:60px;height:60px;object-fit:cover}.image-workspace .image-remove{position:absolute;right:-2px;top:-4px;min-height:24px;width:24px;padding:0;background:#162932;color:#fff}.image-editor-bottom{padding-top:8px;flex-shrink:0}.image-control-triggers{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-bottom:8px}.image-control-triggers>button{min-width:0;justify-content:space-between;padding:8px;height:52px;border-radius:12px}.image-control-triggers span{min-width:0;text-align:left;flex:1}.image-control-triggers small{display:block;color:var(--muted);font-size:10px;line-height:13px}.image-control-triggers strong{display:block;font-size:10px;line-height:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-control-triggers svg{flex-shrink:0}.image-workspace .image-generate{width:100%;min-height:32px;flex-wrap:wrap;padding:6px 8px;font-size:12px;line-height:16px;border-radius:6px;column-gap:20px}.image-generate small{white-space:nowrap;font-size:10px}.image-preview-tabs{border-bottom:0;padding-bottom:0;flex-wrap:wrap}.image-workspace .image-preview-tabs>button{font-size:12px;padding:0 0 8px;min-height:24px;border:0;border-radius:0;background:transparent;position:relative}.image-preview-tabs>button[aria-pressed=true]:after{content:"";position:absolute;inset:auto 28% 0;height:2px;border-radius:2px;background:currentColor}.image-preview-tabs>button[aria-pressed]+button[aria-pressed]{margin-left:16px}.image-preview-tabs>button[aria-pressed]+button[aria-pressed]:before{content:"";position:absolute;left:-12px;top:1px;height:16px;border-left:1px solid var(--border)}.image-preview-tabs>button:last-child{margin-left:auto}.image-job-status{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:16px 0}.image-job-status p{width:100%;overflow-wrap:anywhere}.image-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:280px;color:var(--muted)}.image-result-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:14px;margin:16px 0}.image-result-grid article{min-width:0;border:1px solid var(--border);border-radius:12px;padding:10px}.image-workspace .image-result-photo{width:100%;background:transparent;padding:0;border:0;min-height:0}.image-result-photo img{display:block;max-width:100%;max-height:68vh;width:auto;height:auto;object-fit:contain;border-radius:8px}.image-result-title{display:flex;gap:8px;justify-content:space-between;margin:10px 0;font-size:13px;overflow-wrap:anywhere}.image-result-grid footer{display:flex;flex-wrap:wrap;gap:6px}.image-workspace .image-history{padding:12px}.image-history header{justify-content:space-between;margin-bottom:12px}.image-workspace .image-queue-toggle{background:transparent;border:0;padding:0;min-width:0;font-size:12px}.image-history input{width:100%;box-sizing:border-box;min-width:0;padding:8px}.image-history article{border:1px solid var(--border);border-radius:10px;padding:8px;margin-top:10px;display:flex;flex-direction:column;gap:8px}.image-history article.selected{border-color:#518f93}.image-history article>button:first-child{flex-direction:column;align-items:flex-start;background:transparent;border:0;min-width:0;text-align:left;padding:0}.image-history article img{width:100%;height:110px;object-fit:cover;border-radius:6px}.image-history span,.image-draft-list small{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.image-draft-list>button{width:100%;flex-direction:column;align-items:flex-start;margin:4px 0;text-align:left;min-width:0}.image-draft-list small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.image-draft-list [aria-current=true]{border-color:#518f93}.image-queue-collapsed .image-queue-toggle strong{display:none}.image-saved-prompts{display:flex;flex-direction:column;gap:8px}.image-model-options{display:flex;flex-direction:column;gap:8px;padding:4px}.image-model-options button{min-height:44px;overflow-wrap:anywhere}.image-settings fieldset{border:0;padding:0;margin:0 0 16px}.image-settings legend{font-size:13px;margin-bottom:8px}.image-settings [role=radiogroup]{display:flex;flex-wrap:wrap;gap:8px}.image-settings button{flex:1;min-width:72px;min-height:40px;font-size:12px}.image-settings button[aria-checked=true],.image-model-options button[aria-pressed=true]{background:#07555a;color:#fff;border-color:#619d9f}.image-settings button:hover,.image-model-options button:hover,.image-confirm .primary:hover{background:#16454b;color:#fff}.image-confirm label{display:block}.image-quantity{display:flex;gap:16px;align-items:center;margin:12px 0}.image-quantity button{min-width:44px;min-height:44px}.image-confirm .primary{width:100%;min-height:44px}.image-busy{animation:image-spin 1s linear infinite;flex-shrink:0}@keyframes image-spin{to{transform:rotate(360deg)}}.image-nav-wrap{position:relative}.image-nav-wrap>a{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 4px}.image-nav-flyout{position:fixed;z-index:120;overflow-y:auto;overscroll-behavior:contain;border-radius:14px;box-shadow:0 12px 32px #0004}.image-skill-links{background:var(--panel);border:1px solid var(--border);box-shadow:0 12px 32px #0004;border-radius:14px;padding:16px}.image-skill-links h3{font-size:11px;color:var(--muted);margin:2px 0 4px}.image-skill-links section+section{border-top:1px solid var(--border);padding-top:8px;margin-top:8px}.image-skill-links section>div{display:grid;grid-template-columns:1fr 1fr;gap:6px}.image-skill-links button{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-width:0;min-height:30px;padding:4px 3px;border:0;background:transparent;font-size:12px;text-align:left;white-space:nowrap}.image-skill-links button svg{flex-shrink:0;color:var(--muted)}.image-skill-links button:hover{background:#16454b;color:#fff}@media(max-width:1023px){.image-workspace,.image-workspace.image-queue-collapsed{grid-template-columns:minmax(0,1fr);grid-template-rows:none;max-width:none;height:auto;min-height:100dvh;padding:10px;gap:12px}.image-workspace .panel{padding:12px;overflow:visible}.image-workspace .image-operation{padding:8px}.image-workspace button,.image-workspace a.button{min-height:42px}.image-composer{min-height:352px;height:clamp(352px,calc(66dvh - 96px),418px);flex:none;overflow:visible}.image-workspace textarea{font-size:16px}.image-workspace .image-prompt-actions button,.image-workspace .image-new-draft{min-height:42px;height:42px;min-width:42px}.image-operation .editor-header{height:52px}.image-workspace .image-generate{min-height:44px}.image-workspace .image-preview-tabs>button{min-height:42px}.image-result-photo img{max-height:65dvh}.image-workspace .image-remove{min-height:26px;width:26px}.image-queue-collapsed .image-queue-toggle strong{display:inline}.image-history article img{width:100%;height:150px;object-fit:contain}}@media(max-width:1023px){.image-nav-wrap{width:100%;min-width:0}.image-nav-flyout button{min-height:44px;width:100%}}.image-prompt-modal textarea{width:100%;min-height:min(50dvh,420px);resize:vertical;padding:14px;font-size:16px;line-height:1.75;box-sizing:border-box}.image-prompt-modal .modal-footer small{margin-right:auto;color:var(--muted)}.image-workspace .modal.image-prompt-modal[open]{display:flex;flex-direction:column;height:min(760px,calc(100dvh - 24px));gap:16px}.image-workspace .image-prompt-modal>textarea{flex:1;min-height:120px;resize:none}.image-prompt-modal>header,.image-prompt-modal>.modal-footer{flex-shrink:0}.image-reference-label{display:block;max-width:84px;overflow-wrap:anywhere;text-align:center;margin-top:4px}.image-favorite-tasks article{display:flex;gap:8px;margin-bottom:10px;padding:10px;border:1px solid var(--border);border-radius:10px}.image-favorite-tasks article>button:first-child{flex:1;min-width:0;flex-direction:column;align-items:flex-start;text-align:left}.image-favorite-tasks small{font-size:11px;color:var(--muted)}.image-skill-emblem img{width:100%;height:100%;object-fit:contain;border-radius:8px}.image-skill-picker .skill-picker-icon{width:52px;height:52px;overflow:hidden;background:var(--theme-hover, #e9e9ea)}.image-skill-picker .skill-picker-icon img{width:100%;height:100%;object-fit:contain}.image-skill-picker .skill-picker-card{padding:12px;min-height:78px;gap:10px;border-color:var(--theme-line, #e7e7e7);background:var(--theme-panel, #fafafa)}.image-skill-picker .skill-picker-card strong{font-size:12px;line-height:17px}.image-skill-picker .skill-picker-card small{font-size:10px;line-height:15px;margin-top:2px}.image-skill-picker .skill-picker-card[aria-pressed=true]{border-color:var(--theme-bright, #202020);background:var(--theme-selected, #fff)}.image-skill-picker .skill-picker-check{border-radius:50%;background:var(--theme-bright, #202020);color:var(--theme-inset, #fff);padding:2px}.image-skill-picker .skill-picker-heading strong{font-size:14px}.image-skill-picker .skill-picker-heading p,.image-skill-picker .skill-picker-tabs button{font-size:11px}.image-skill-picker .skill-picker-tabs button[aria-pressed=true]{color:var(--theme-link, #3286ff);border-color:var(--theme-link, #3286ff)}.image-skill-picker .skill-picker-heading button{color:var(--theme-link, #3286ff)}.image-workspace .image-preview{display:flex;flex-direction:column}.image-workspace .image-preview .image-preview-tabs{flex-shrink:0}.image-workspace .image-preview .image-preview-tabs>button[aria-pressed]{background:transparent;color:var(--theme-muted, #60636b);font-size:13px;font-weight:500;opacity:1;box-shadow:none}.image-workspace .image-preview .image-preview-tabs>button[aria-pressed=true]{color:var(--theme-bright, #22252a);font-weight:700}.image-workspace .image-preview .image-preview-tabs>button[aria-pressed]:hover{background:transparent;color:var(--theme-bright, #22252a)}.image-skill-examples{min-height:0;flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:24px}.image-example-stage{width:min(100%,1024px);text-align:center;margin-block:auto}.image-workspace .image-example-stage h2{font-size:18px;margin:0 0 8px;line-height:1.4}.image-example-stage>p{color:var(--theme-muted, #707078);font-size:12px;margin:0 0 16px}.image-workspace .image-example-photo{display:block;width:100%;min-height:0;border:0;background:transparent;padding:0;overflow:hidden;border-radius:10px}.image-example-photo img{display:block;width:100%;max-height:calc(100dvh - 190px);object-fit:contain;border-radius:10px}.image-example-stage nav{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:12px}.image-example-zoom{display:block;width:100%;max-height:75dvh;object-fit:contain}.image-control-triggers>button[aria-expanded=true]>svg:last-child{transform:rotate(180deg)}.image-control-triggers strong .image-ratio-icon{display:inline-block;vertical-align:-1px;margin-right:3px;border-radius:1px}.image-model-popover,.image-settings-popover{padding:10px;background:var(--theme-panel, #fff);border-color:var(--theme-line, #dedfe2)}.image-model-options{gap:4px;padding:0}.image-model-options button{width:100%;display:flex;justify-content:flex-start;align-items:center;gap:8px;padding:8px;min-height:52px;border:0;border-radius:10px;text-align:left;background:transparent;color:var(--theme-text, #686b76)}.image-model-options button>span:last-child{min-width:0}.image-model-options button strong{display:block;font-size:12px;overflow-wrap:anywhere}.image-model-options button small{display:block;font-size:10px;line-height:15px;margin-top:3px;color:var(--theme-muted, #72727c)}.image-model-icon{width:28px;height:28px;border-radius:6px;display:grid;place-items:center;background:var(--theme-hover, #f5f5f6);flex-shrink:0}.image-model-popover .image-model-options button[aria-pressed=true],.image-model-popover .image-model-options button:hover{background:var(--theme-selected, #e9e9ea);color:var(--theme-bright, #202025)}.image-settings fieldset{margin:0 0 8px;padding:0 0 8px;border-bottom:1px solid var(--theme-line, #e1e4e9)}.image-settings fieldset:first-child{padding-top:0}.image-settings fieldset:last-of-type{border-bottom:0}.image-settings legend{font-size:10px;padding:0;margin:0 0 8px;color:var(--theme-muted, #71717c);font-weight:600}.image-settings [role=radiogroup]{display:flex;gap:6px;flex-wrap:nowrap}.image-settings-popover .image-settings button{flex:1;min-width:0;padding:6px 4px;min-height:32px;font-size:11px;border:0;border-radius:8px;background:var(--theme-hover, #f6f6f7);color:var(--theme-muted, #71717c);font-weight:600}.image-settings-popover .image-settings button[aria-checked=true],.image-settings-popover .image-settings button:hover{background:var(--theme-selected, #e8e8e9);color:var(--theme-bright, #202025)}.image-settings-popover .image-setting-ratio button{display:flex;flex-direction:column;align-items:center;gap:5px;min-height:70px;font-size:10px}.image-ratio-shape{height:40px;width:40px;display:grid;place-items:center}.image-ratio-icon{display:block;border:1px solid currentColor;border-radius:7px}.image-ratio-icon.auto{border-style:dashed}.image-output-details{font-size:10px;color:var(--theme-muted, #71717c);margin-top:6px}.image-output-details summary{cursor:pointer}.image-output-details p{line-height:1.6}@media(max-width:1023px){.image-skill-examples{min-height:340px;padding:24px 4px}.image-example-photo img{max-height:60dvh}.image-example-stage h2{font-size:16px}.image-settings-popover .image-settings button{min-height:44px}.image-settings-popover .image-setting-ratio button{min-height:70px}.image-skill-picker .skill-picker-tabs button{min-height:42px}}.image-skill-picker{--work-ink: var(--theme-text, #22252a);--work-muted: var(--theme-muted, #686b76);--work-line: var(--theme-line, #dee1e7);--work-field: var(--theme-panel, #fafafa);--work-soft: var(--theme-hover, #f4f4f6)}.image-skill-picker .skill-picker-tabs button{border-radius:0}.image-skill-picker .skill-picker-tabs button:hover{background:transparent}.product-workspace .product-title{display:flex;align-items:center;gap:12px;flex:1;font-size:13px}.product-title strong{border-left:1px solid var(--border);padding-left:12px}.product-workspace .product-title button{border:0;background:transparent;width:30px;padding:0}.product-detail-editor{display:flex;flex-direction:column;gap:16px;flex:1;min-height:0;overflow:auto;padding:0 1px}.product-references{display:flex;gap:26px;flex:none;padding:6px 0 0}.product-reference{position:relative;text-align:center;width:68px;flex:none}.product-reference-item{position:relative;margin-bottom:4px}.product-reference small[role=alert]{display:block;font-size:11px;color:var(--theme-error, #ae3737)}.product-workspace .product-reference-photo{width:64px;height:64px;position:relative;border:1px solid var(--border);color:var(--muted);background:var(--theme-panel, #f5f5f5);padding:0}.product-reference-photo img{width:100%;height:100%;object-fit:cover;border-radius:8px}.product-upload-mark{position:absolute;bottom:5px;right:5px;border-radius:50%;background:var(--muted);color:var(--theme-panel, #fff);padding:3px;width:17px;height:17px}.product-workspace .product-reference-caption{border:0;background:transparent;padding:4px 0;font-size:10px;color:var(--muted);min-height:24px;white-space:nowrap}.product-workspace .product-remove-reference{position:absolute;top:-4px;right:-2px;min-height:22px;height:22px;width:22px;padding:0;border-radius:50%}.product-module-heading{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:10px}.product-module-heading span{color:var(--muted);font-size:11px}.product-modules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px}.product-module{position:relative;min-width:0;height:58px;border:1px solid var(--border);border-radius:6px;background:var(--theme-hover, #eee);color:var(--muted);overflow:hidden}.product-module.selected{background:var(--theme-inset, #fff);color:var(--text)}.product-workspace .product-module-toggle{width:100%;height:100%;min-height:0;border:0;background:transparent;border-radius:0;justify-content:flex-start;align-items:flex-start;padding:8px;gap:8px;color:inherit;text-align:left}.product-workspace .product-module-toggle[aria-pressed=true]{background:transparent;color:var(--text)}.product-module-toggle img,.product-module-placeholder{width:40px;height:40px;object-fit:cover;border-radius:4px;flex:none}.product-module-placeholder{display:grid;place-items:center}.product-module:not(.selected) img{opacity:.6}.product-module-toggle strong{font-size:11px;font-weight:600;padding-top:1px;white-space:nowrap}.product-module-number{position:absolute;left:56px;bottom:8px;display:flex;flex-direction:row;margin:0;align-items:center;font-size:10px;gap:3px;white-space:nowrap}.product-workspace .product-module-number input{appearance:textfield;border:0;background:transparent;box-shadow:none;min-height:0;width:24px;padding:0;font-size:12px;font-weight:600;color:var(--text)}.product-module-number input::-webkit-inner-spin-button{appearance:none}.product-steppers{position:absolute;inset:0 0 0 auto;width:27px;display:flex;flex-direction:column;opacity:0;background:var(--theme-panel, #fff);border-left:1px solid var(--border)}.product-module:hover .product-steppers,.product-module:focus-within .product-steppers{opacity:1}.product-workspace .product-steppers button{flex:1;border:0;border-radius:0;min-height:0;height:28px;padding:0;background:transparent;color:var(--muted)}.product-steppers button+button{border-top:1px solid var(--border)}.product-selects{display:grid;grid-template-columns:1fr 1fr;gap:8px}.product-workspace .product-selects>button{min-width:0;min-height:34px;justify-content:flex-start;padding:5px 8px;border:1px solid var(--border);background:var(--theme-panel, #f5f5f5);font-size:12px;gap:8px}.product-selects>button>span{color:var(--muted);white-space:nowrap}.product-selects strong{font-weight:400;color:var(--text)}.product-selects svg{margin-left:auto}.product-ratio-shape{display:inline-block;border:1px solid currentColor;border-radius:1px;flex:none}.product-select-popover{padding:6px;background:var(--theme-panel, #f5f5f5);color:var(--text);border-radius:8px}.product-select-popover button{justify-content:flex-start;display:flex;align-items:center;gap:12px;width:100%;min-height:31px;border:0;border-radius:5px;padding:5px 10px;background:transparent;color:var(--text);font-size:12px}.product-select-popover button[aria-checked=true]{background:var(--theme-selected, #dedede);font-weight:600}.product-select-popover button:hover{background:var(--theme-hover, #e8e8e8);color:var(--text)}.product-select-popover svg{margin-left:auto;color:var(--muted)}.product-prompt{flex:1;min-height:160px;display:flex;flex-direction:column;border:1px solid var(--border);border-radius:6px;background:var(--theme-inset, #fff);overflow:hidden}.product-workspace .product-prompt textarea{flex:1;min-height:120px;width:100%;resize:none;border:0;outline:0;box-shadow:none;padding:12px;background:transparent;font-size:12px;color:var(--text)}.product-prompt textarea::placeholder{color:var(--muted);opacity:1}.product-prompt>div{display:flex;align-items:center;justify-content:space-between;padding:0 8px 4px}.product-prompt small{font-size:10px;color:var(--muted)}.product-workspace .product-prompt button{width:30px;min-height:30px;border:0;background:transparent;padding:3px;color:var(--muted)}.product-workspace .set-example-carousel{flex:1;min-height:0;width:100%;padding:20px;box-sizing:border-box}.product-workspace .set-example-slide{width:min(78%,510px);height:auto;aspect-ratio:1}.product-workspace .set-example-slide>img{width:100%;height:100%;object-fit:contain}.product-workspace .set-example-dots button{min-height:5px;height:5px;width:5px;min-width:0;padding:0;border:0;border-radius:50%;background:var(--border)}.product-workspace .set-example-dots button[aria-pressed=true]{width:16px;background:var(--text);border-radius:4px}@media(max-width:1200px)and (min-width:1024px){.product-modules{gap:8px}.product-module-toggle img,.product-module-placeholder{width:30px;height:38px}.product-module-number{left:45px}}@media(max-width:1023px){.product-detail-editor{flex:none;overflow:visible}.product-workspace .image-operation{overflow:visible}.product-modules{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.product-module{height:88px}.product-workspace .product-module-toggle{padding-top:15px;padding-right:32px}.product-module-number{bottom:18px}.product-steppers{opacity:1;width:32px}.product-workspace .product-steppers button{min-height:43px}.product-workspace .product-selects>button{min-height:44px;gap:5px;padding-inline:6px}.product-select-popover button{min-height:44px}.product-prompt{min-height:280px}.product-workspace .product-prompt textarea{font-size:16px}.product-workspace .product-reference-caption{min-height:40px}.product-workspace .product-prompt button{min-height:44px;width:44px}.product-workspace .set-example-carousel{min-height:400px;padding:12px}.product-workspace .set-example-slide{width:min(90%,510px)}.product-workspace .set-example-dots button{min-height:24px;height:24px;min-width:24px;background:transparent;position:relative}.product-workspace .set-example-dots button:after{content:"";height:5px;width:5px;border-radius:4px;background:var(--muted);position:absolute}.product-workspace .set-example-dots button[aria-pressed=true]:after{width:16px;background:var(--text)}.product-workspace .set-example-dots button[aria-pressed=true]{background:transparent}}.generation-model-select{display:flex;align-items:center;gap:5px;min-width:0;max-width:100%;margin:0;flex:1 1 120px}.generation-model-select>span{flex:none;font-size:12px;font-weight:600}.generation-model-select select{min-width:0;width:100%;max-width:100%;min-height:36px;text-overflow:ellipsis;font-size:12px}.generation-model-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}.generation-action{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}.generation-action>button{flex:1 1 auto}.sd-workspace .director-composer>footer .generation-model-select{flex:1 1 0;min-width:0}.sd-workspace .director-composer>footer .generation-model-select>span{display:none}@media(max-width:800px){.generation-model-select select{min-height:44px}}.asset-library-page{width:calc(100% - 48px);max-width:1280px;margin-inline:auto;height:calc(100dvh - 24px);min-height:420px;display:flex;flex-direction:column;gap:12px;color:#124b50;overflow:hidden}.asset-library-heading{display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.asset-library-heading h1{margin:0;font-size:24px}.asset-library-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:14px;flex:1;min-height:0}.asset-library-nav{display:flex;flex-direction:column;gap:9px;background:#e7f2ef;border:1px solid #bad8d1;border-radius:12px;padding:12px;min-height:0;overflow:auto}.asset-library-nav button{justify-content:flex-start;white-space:nowrap;min-height:44px;background:#f7faf9;border:1px solid #c4dbd5;font-size:14px;gap:8px}.asset-library-nav button.active,.person-cards button.active{background:#096b70;color:#fff;border-color:#096b70}.asset-library-main{border:1px solid #c8ded9;background:#fff;border-radius:12px;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:12px;gap:10px}.exclusive-tabs{display:flex;gap:5px;flex-shrink:0;overflow-x:auto;padding-bottom:5px;border-bottom:2px solid #b8d8ce}.exclusive-tabs button{flex:1;white-space:nowrap;padding:8px 9px;background:#edf5f2;font-size:13px;min-width:max-content}.exclusive-tabs button[aria-selected=true]{background:#096b70;color:#fff}.asset-library-toolbar,.asset-library-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;flex-shrink:0}.asset-library-toolbar strong{margin-right:auto}.asset-library-toolbar strong small{font-weight:500;color:#50756e;margin-left:8px}.asset-library-toolbar>input{width:190px;min-width:80px}.asset-library-toolbar button,.asset-library-actions button{min-height:32px;padding:6px 10px}.asset-library-page .asset-library-toolbar>:is(input,button){background:var(--theme-inset, #0a1d2d);border-color:var(--theme-line, #2c6470);color:var(--theme-text, #d9eef0)}.asset-library-actions{border:1px solid #c9ded7;border-radius:8px;background:#f0f6f4;padding:6px 9px;font-size:13px}.asset-library-actions .check-label{display:flex;align-items:center;gap:6px;margin:0}.asset-library-actions>span{margin-right:auto}.asset-library-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding-right:4px}.asset-media-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-height:100%}.asset-media-section{min-width:0;background:#f5f9f7;border:1px solid #dbe8e3;border-radius:9px;padding:10px}.asset-media-section h3{display:flex;justify-content:space-between;margin:0 0 10px;font-size:15px;border-bottom:2px solid #a8cfc2;padding-bottom:7px}.asset-media-section h3 span{font-size:12px;font-weight:400}.library-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:10px}.library-asset-card{border:1px solid #c9ddd5;background:#fff;border-radius:9px;padding:7px;min-width:0;overflow:hidden}.library-asset-card.selected{border:2px solid #087c78;padding:6px;background:#eaf6ef}.library-asset-preview{display:block;width:100%;height:130px;overflow:hidden;padding:0;border:0;background:#e8efec}.library-asset-preview img,.library-asset-preview video{width:100%;height:100%;object-fit:contain}.library-card-name{display:flex;align-items:center;gap:7px;margin-top:8px;min-width:0}.library-card-name b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.library-card-name input{flex-shrink:0}.library-card-meta{display:flex;justify-content:space-between;gap:4px;font-size:11px;color:#5c7974;margin:6px 0}.library-asset-card footer{display:flex;gap:5px}.library-asset-card footer button,.library-asset-card footer a{font-size:12px;padding:4px 7px;min-height:28px}.library-empty{padding:35px 10px;text-align:center;color:#728980;font-size:13px}.person-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(95px,1fr));gap:8px;margin-bottom:14px}.person-cards button{display:flex;flex-direction:column;padding:6px;background:#edf5f1;min-width:0}.person-cards img,.person-cards .media-placeholder{width:100%;height:65px;object-fit:contain}.person-cards b{font-size:13px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%}.portrait-angles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}.portrait-angles article{border:1px solid #bed8cf;border-radius:9px;padding:9px;background:#f1f7f4;min-width:0}.portrait-angles header{display:flex;justify-content:space-between;align-items:center}.portrait-angles header span{font-size:11px;color:#557c70}.portrait-photo{height:140px;width:100%;padding:0;border:0;margin:8px 0;background:#e6f1ed;display:block}.portrait-photo img,.portrait-photo svg{height:100%;width:100%;object-fit:contain}.portrait-photo:disabled{opacity:1;cursor:default}.portrait-angles .button{display:flex;width:100%;margin:0;padding:6px;min-height:30px;background:#fff;cursor:pointer}.asset-library-page .talking-asset-voices{height:auto;overflow:visible}.voice-maker{display:flex;flex-direction:column;gap:12px}.voice-maker .check-label{display:flex;align-items:center;gap:6px}.voice-maker p{margin:0}.asset-library-page button.danger{color:#a0252b;border-color:#d4a6a7;background:#fff0f0}@media(max-width:1000px){.asset-library-layout{grid-template-columns:160px minmax(0,1fr)}.asset-media-sections{grid-template-columns:1fr}.portrait-angles{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.asset-library-layout{grid-template-columns:minmax(0,1fr)}.asset-library-nav{flex-direction:row;padding:6px;max-height:60px}.asset-library-nav button{font-size:12px;min-width:max-content}.asset-library-page{height:calc(100dvh - 90px)}.asset-library-toolbar>input{width:130px}}.library-asset-preview{position:relative}.library-video-play{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#054647e6;color:#fff;border:1px solid #b5d9d6;pointer-events:none}.library-video-play svg{margin-left:3px}.library-asset-preview:hover .library-video-play,.library-asset-preview:focus-visible .library-video-play{background:#125e60}.asset-library-page .primary,.voice-maker .primary{background:#087579;color:#fff;border-color:#087579}.asset-library-page .primary:disabled,.voice-maker .primary:disabled{opacity:.45}.portrait-angles article>button:last-child{width:100%;margin-top:6px;font-size:12px}.asset-media-sections{height:100%;min-height:0;grid-template-rows:minmax(0,1fr)}.asset-media-sections .asset-media-section{display:flex;flex-direction:column;min-height:0;overflow:hidden}.asset-media-sections .asset-media-section h3{flex-shrink:0}.asset-media-sections .library-card-grid{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;align-content:start;grid-auto-rows:max-content;scrollbar-gutter:stable;padding-right:4px}.asset-media-sections .library-card-grid:empty{display:none}.asset-media-sections .library-card-grid{scrollbar-width:thin;scrollbar-color:#74a89b #e5efeb}.asset-media-sections .library-card-grid::-webkit-scrollbar{width:8px}.asset-media-sections .library-card-grid::-webkit-scrollbar-track{background:#e5efeb;border-radius:6px}.asset-media-sections .library-card-grid::-webkit-scrollbar-thumb{background:#74a89b;border-radius:6px}@media(max-width:1000px){.asset-media-sections{height:auto;grid-template-rows:none;grid-auto-rows:320px}}.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #555;--xy-background-pattern-lines-color-default: #333;--xy-background-pattern-cross-color-default: #333;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke, var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}.local-page{max-width:1720px;margin:0 auto;padding:20px 24px;height:calc(100dvh - 12px);display:flex;flex-direction:column;gap:12px;min-width:0;color:var(--text, #123f47)}.local-page button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;white-space:nowrap}.local-page input,.local-page select,.local-page textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit}.local-page label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;min-width:0}.local-header{display:flex;align-items:center;gap:12px}.local-header>div{flex:1}.local-header h1{font-size:23px;margin:0}.local-header span{font-size:12px;opacity:.7}.local-scenes,.local-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.local-scenes button{align-items:flex-start;flex-direction:column;padding:12px 14px;white-space:normal;background:var(--panel, #f0f6f4);border:1px solid #97b9b855}.local-scenes strong{font-size:16px}.local-scenes span{font-size:12px;opacity:.75}.local-page button.selected{background:#086e71;color:#fff;border-color:#086e71}.local-steps button{justify-content:flex-start;padding:8px 12px;font-size:14px}.local-steps b{opacity:.65}.local-columns{display:grid;grid-template-columns:minmax(240px,290px) minmax(0,1fr) minmax(210px,260px);gap:12px;flex:1;min-height:0}.local-panel{background:var(--panel, #fff);border:1px solid #9bb9b64d;border-radius:14px;padding:16px;overflow:auto;overscroll-behavior:contain;min-height:0;min-width:0}.local-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #9bb9b64d;margin-bottom:14px;padding-bottom:10px}.local-section-title h2{font-size:16px;margin:0;white-space:nowrap}.local-section-title>span{font-size:12px;opacity:.65;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.local-settings{display:flex;flex-direction:column;gap:12px}.local-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.local-row>label{flex:1}.local-row>strong{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.local-page .local-primary{background:#087a7b;color:#fff;border:1px solid #087a7b;padding:9px 13px;font-weight:650}.local-page button:disabled{opacity:.45;cursor:not-allowed}.local-fact{display:flex;flex-direction:column;gap:6px;padding:11px;background:#12888212;border-left:3px solid #168c87;border-radius:5px;font-size:13px}.local-fact span{line-height:1.6;opacity:.8}.local-settings details{font-size:12px}.local-settings audio{width:100%;height:36px}.local-coverage{display:flex;justify-content:space-between;gap:12px;padding:12px;border-radius:9px;background:#b8791715;margin:14px 0;font-size:13px}.local-coverage.ready{background:#058c7215}.local-materials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}.local-materials article{border:1px solid #9bb9b64d;border-radius:10px;padding:10px;display:flex;flex-direction:column;gap:9px}.local-materials img,.local-materials video{width:100%;height:135px;object-fit:contain;background:#13252b;border-radius:7px}.local-tags{display:flex;gap:5px;flex-wrap:wrap}.local-tags button{min-height:28px;font-size:12px;padding:3px 8px}.local-empty,.local-welcome{padding:40px 16px;text-align:center;line-height:1.8;opacity:.7}.local-welcome{margin:auto}.local-content{display:flex;flex-direction:column;gap:12px}.local-content>.local-section-title{margin-bottom:0}.local-metrics{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;opacity:.8}.local-shot{display:flex;gap:12px;border:1px solid #9bb9b64d;border-radius:10px;padding:12px}.local-shot-thumb{width:100px;flex-shrink:0;display:flex;flex-direction:column;gap:8px;font-size:12px}.local-shot-thumb img,.local-shot-thumb video{width:100%;height:120px;object-fit:contain;background:#13252b;border-radius:7px}.local-shot-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}.local-shot-body .local-row>span{font-size:12px;opacity:.7}.local-shot-body input[type=number]{max-width:90px}.local-page .local-check{display:flex;flex-direction:row;align-items:center;font-weight:400;font-size:12px;gap:7px}.local-page .local-check input{width:16px;height:16px;margin:0;flex:none}.local-warning{padding:14px;background:#c2821920;border:1px solid #bc86245c;border-radius:9px;font-size:13px;line-height:1.8}.local-warning label{margin-top:9px}.local-audio{padding:12px;background:#0e9d9610;border:1px solid #0e9d9630;border-radius:9px}.local-audio audio{width:100%;height:38px;margin-bottom:8px}.local-history article{padding:14px 0;border-bottom:1px solid #9bb9b64d;display:flex;flex-direction:column;gap:7px;font-size:12px}.local-history article strong{font-size:13px}.local-history article small{opacity:.7}.local-history p{margin:0;line-height:1.5}.local-status{color:#158c81}.local-status.failed,.local-status.uncertain{color:#cb7f39}.local-page .local-draft{width:100%;white-space:normal;flex-direction:column;align-items:flex-start;padding:12px;margin-top:8px}.local-draft strong{text-align:left;font-size:13px}.local-draft span{font-size:11px;opacity:.7}.local-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.local-results>div{display:flex;flex-direction:column;gap:10px;min-width:0}.local-results h3{margin:0;font-size:14px}.local-results video,.local-results img{width:100%;height:390px;object-fit:contain;background:#13252b;border-radius:10px}.local-results .local-empty{height:390px;box-sizing:border-box;border:1px dashed #9bb9b680;display:grid;place-items:center}.local-publish{padding:15px;border:1px solid #087a7b66;border-radius:12px;background:#087a7b0c;display:flex;flex-direction:column;gap:12px}.local-profile-modal{width:min(850px,94vw)}.local-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:18px}.local-profile-grid label{display:flex;flex-direction:column;gap:6px;font-size:13px}.local-profile-grid .wide{grid-column:1/-1}.local-quote>div{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid #9bb9b644;font-size:13px}@media(max-width:1100px){.local-columns{grid-template-columns:230px minmax(0,1fr)}.local-history{grid-column:1/-1;max-height:230px}.local-page{height:auto;min-height:100dvh}.local-panel{max-height:80dvh}.local-results video,.local-results img,.local-results .local-empty{height:320px}}@media(max-width:700px){.local-page{padding:12px 8px}.local-scenes{grid-template-columns:1fr 1fr}.local-scenes span{display:none}.local-steps{gap:4px}.local-steps button{font-size:11px;flex-direction:column;gap:2px;padding:7px 3px}.local-header h1{font-size:19px}.local-header>button{font-size:12px}.local-columns{display:flex;flex-direction:column}.local-panel{max-height:none;padding:12px}.local-settings{max-height:45dvh}.local-history{max-height:280px}.local-materials{grid-template-columns:1fr}.local-shot{gap:8px}.local-shot-thumb{width:65px}.local-shot-thumb img,.local-shot-thumb video{height:85px}.local-results,.local-profile-grid{grid-template-columns:1fr}.local-results video,.local-results img{height:auto;max-height:70dvh}.local-coverage{flex-direction:column;gap:4px}}.local-page label{margin:0}.local-settings>*{flex-shrink:0}.local-settings .local-section-title{margin-bottom:0}.local-studio-page{max-width:2000px;height:100dvh;min-height:0;--work-ink: #15494c;--work-line: #a8ccca;--work-muted: #557b7c;--work-field: #fff;--work-soft: #edf7f5}.local-studio-columns{display:grid;grid-template-columns:minmax(390px,.95fr) minmax(330px,1.25fr) 220px;gap:12px;flex:1;min-height:0}.local-studio-columns>.local-panel{max-height:none}.local-studio-editor,.local-studio-preview{display:flex;flex-direction:column;overflow:hidden}.local-editor-heading{display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid #dbe9e7}.local-editor-heading select{width:125px}.local-editor-heading strong{flex:1}.local-director{padding-top:10px}.local-director-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding-right:5px}.local-director .director-welcome{height:100%;min-height:230px;box-sizing:border-box}.local-director .director-welcome h2{text-align:center}.local-director .director-suggestions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.local-director .director-suggestions button{white-space:normal}.local-director .director-mode-actions button{color:#17585b;background:#e4f1ee;font-size:12px;border:1px solid #b7d5cf}.local-director .director-mode-actions button:last-child{background:#0b6b70;color:#fff}.local-director .director-composer{background:#f7fbfa;border-color:#aacbc6}.local-director .director-composer>textarea{min-height:65px;max-height:120px}.local-director-materials{display:flex;gap:6px;overflow-x:auto;padding-bottom:7px}.local-director-materials button{flex:0 0 auto;flex-direction:column;padding:5px;font-size:11px;background:#e8f3f0;border-color:#b9d3ce}.local-director-materials button img{width:40px;height:36px;object-fit:cover;border-radius:4px}.local-director-materials small{font-size:10px}.local-user-message{margin:10px 0 14px 32px;padding:12px;border-radius:12px 12px 0;background:#e0f1eb;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.local-complete-script{border:1px solid #d5e4df;border-radius:12px;padding:12px;background:#fcfefd}.local-complete-script>header{position:sticky;top:0;z-index:1;background:#fcfefd;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.local-complete-script pre,.local-script-history pre{font-size:14px;line-height:1.85;font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 16px}.local-complete-script textarea{min-height:240px;resize:none;overflow:hidden;line-height:1.85;font-size:14px}.local-complete-script>.local-primary{position:sticky;bottom:0;width:100%;white-space:normal}.local-script-history{padding:8px;font-size:13px}.local-script-history summary{cursor:pointer;color:#0a7074}.local-director-pending{padding:12px;background:#e7f3f0;border-radius:9px}.local-studio-preview>.local-section-title{flex-shrink:0}.local-preview-stage{flex:1;min-height:0;display:flex;justify-content:center;background:#f2f7f5;border-radius:12px;overflow:hidden}.local-preview-stage video{width:100%;height:100%;object-fit:contain;background:#101b1c}.local-preview-stage .local-empty{align-self:center;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:25px}.local-preview-stage p{margin:0}.local-preview-stage span,.local-preview-note{font-size:12px;color:#638380}.local-studio-preview>button{margin-top:10px}.local-video-editor{display:flex;flex-direction:column;gap:12px;flex:1;min-height:0;overflow:auto;padding-top:14px}.local-video-editor>textarea{flex:1;min-height:200px;resize:none;line-height:1.75;font-size:13px}.local-video-editor>:not(textarea){flex-shrink:0}.local-generation-actions{display:flex;flex-wrap:wrap;gap:8px}.local-generation-actions>.generation-action{flex:1 1 160px}.local-audio audio{width:100%}.local-cover-workspace{overflow:auto;min-height:0}.local-cover-image{display:flex;align-items:center;justify-content:center;height:38dvh;margin-bottom:12px;background:#f2f7f5;border-radius:12px}.local-cover-image img{width:100%;height:100%;object-fit:contain}.local-welcome{margin:auto;text-align:center;max-width:1000px}.modal.local-materials-modal{width:min(980px,94vw)}.local-materials-modal label{display:flex;flex-direction:column;gap:6px;min-width:0}.local-materials-modal input,.local-materials-modal textarea{width:100%;min-width:0;box-sizing:border-box}.local-materials-modal .local-check{flex-direction:row;align-items:center}.local-check input[type=checkbox]{width:auto;flex:0 0 auto}@media(max-width:1150px){.local-studio-page{padding:12px}.local-studio-columns{grid-template-columns:minmax(340px,1fr) minmax(290px,1fr) 175px;gap:8px}.local-studio-columns .local-panel{padding:10px}.local-history .local-row,.local-studio-preview .local-section-title{flex-wrap:wrap}}@media(max-width:900px){.local-studio-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr) 150px}.local-studio-columns .local-history{grid-column:1 / -1}}@media(max-width:650px){.local-studio-page{height:auto;min-height:100dvh}.local-studio-columns{display:flex;flex-direction:column}.local-studio-editor{height:85dvh;min-height:600px}.local-studio-preview{height:65dvh;min-height:400px}.local-studio-columns .local-history{max-height:240px}}.local-video-settings{display:grid;gap:10px;min-width:0;margin:12px 0}.local-video-settings .local-row{flex-wrap:wrap}.local-video-settings label{min-width:0;flex:1}.local-video-settings select{width:100%;min-height:40px}.local-video-settings p{margin:0;font-size:13px;line-height:1.6}.local-studio-page{--studio-ink: #202b42;--studio-muted: #77849b;--studio-line: #e5eaf2;--studio-blue: #376cec;--studio-surface: #fff;--work-ink: var(--studio-ink);--work-line: #bed0f6;--work-muted: var(--studio-muted);--work-soft: #f0f5ff;color:var(--studio-ink);padding:18px 24px 20px;background:radial-gradient(ellipse at 32% 0%,#e4edff90,transparent 45%),radial-gradient(ellipse at 88% 90%,#e5f5f790,transparent 45%),#f4f6fa;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif}.local-studio-page button{border-radius:9px;transition:background .18s,border-color .18s,box-shadow .18s;font-weight:500}.local-studio-page button:focus-visible,.local-studio-page input:focus-visible,.local-studio-page textarea:focus-visible,.local-studio-page select:focus-visible{outline:2px solid #5f8ef3;outline-offset:3px}.local-studio-page button:disabled{opacity:.45;cursor:not-allowed}.local-studio-page button:not(:disabled):hover{border-color:#a4b9eb}.local-studio-page .local-header{gap:12px;padding:0 2px 4px}.local-studio-page .local-header h1{font-size:22px;letter-spacing:-.6px;display:flex;align-items:center;gap:12px;line-height:1.5}.local-studio-page .local-header>div>span{font-size:11px;color:#7a869a;opacity:1}.local-studio-page .local-studio-badge{display:inline-flex;gap:4px;align-items:center;background:#e8efff;color:#4474d7;padding:3px 7px;font-size:10px;border-radius:5px;font-weight:500;opacity:1;letter-spacing:.2px}.local-studio-page .local-header>button{background:#ffffffb8;border:1px solid #dee5f0;color:#59677e;font-size:12px}.local-studio-page .local-header>button:last-child{background:#263952;color:#fff;border-color:#263952;padding-inline:16px}.local-studio-page .local-panel{background:#ffffffd9;border-color:#e1e7f0;border-radius:18px;padding:16px;box-shadow:0 5px 24px #233f7006,0 1px 2px #233f7003}.local-studio-page .local-studio-editor{position:relative;border-top:2px solid #aac1f3}.local-studio-page .local-editor-heading{gap:8px;padding-bottom:12px;border-color:var(--studio-line);flex:0 0 auto;position:relative;z-index:4}.local-studio-page .local-mode-label{margin-left:auto;font-size:10px;font-weight:500;color:#7e8ba2;text-align:right}.local-studio-page .local-exit-director{flex:0 0 auto;font-size:11px;padding:5px 8px;min-height:30px}.local-studio-page .director-mode-actions{flex-wrap:wrap}@media(max-width:640px){.local-studio-page .local-director-preset-grid{grid-template-columns:minmax(0,1fr)}.local-studio-page .local-editor-heading{flex-wrap:wrap}}.local-studio-page .local-settings-icon{background:transparent;border-color:transparent;width:32px;min-height:32px;padding:4px;color:#728098}.local-studio-page .local-director{padding-top:12px}.local-studio-page .local-director-scroll{padding-right:3px;scrollbar-width:thin;scrollbar-color:#c4cfe1 transparent}.local-studio-page .director-welcome-mark{opacity:1;width:66px;height:66px;display:grid;place-items:center;border-radius:20px;color:#7196e8;background:linear-gradient(145deg,#eaf1ff,#eef9fa);border:1px solid #dce7f8;box-shadow:0 10px 25px #4279dc0a;margin-bottom:22px}.local-studio-page .director-welcome-mark>svg:first-child{width:30px}.local-studio-page .director-welcome-mark>svg:last-child{right:-6px;top:-6px;color:#52b6c7}.local-studio-page .director-welcome h2{font-weight:650;font-size:17px;letter-spacing:-.4px}.local-studio-page .director-suggestions{gap:8px}.local-studio-page .director-suggestions button{justify-content:space-between;padding:10px;background:#f8faff;border:1px solid #e7edf7;font-size:11px;color:#63738f;line-height:1.5;text-align:left}.local-studio-page .director-suggestions button svg{flex-shrink:0;color:#9daecc}.local-studio-page .director-mode-actions{margin:10px 0 8px}.local-studio-page .director-mode-actions button{min-height:28px;border:0;background:transparent;color:#6d7e97;font-size:11px;padding:4px 7px}.local-studio-page .director-mode-actions button:last-child{background:#eef3fc;color:#4f72ad}.local-studio-page .director-composer{background:#fff;border:1px solid #cddbf3;border-radius:15px;padding:12px;box-shadow:0 4px 18px #3a65ad0a;transition:border-color .2s,box-shadow .2s}.local-studio-page .director-composer:focus-within{border-color:#81a4f1;box-shadow:0 0 0 3px #4a7def0a}.local-studio-page .local-director-preset{grid-column:1 / -1;margin:2px 0 4px;padding:14px;border:1px solid rgba(45,166,183,.28);border-radius:16px;background:linear-gradient(135deg,#eafafaeb,#f7fbfff5)}.local-studio-page .local-director-preset>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:10px}.local-studio-page .local-director-preset>header>div{display:grid;gap:4px}.local-studio-page .local-director-preset>header span:not(.local-preset-badge){color:#5d747d;font-size:12px;line-height:1.5}.local-studio-page .local-preset-badge{flex:0 0 auto;padding:4px 8px;border-radius:999px;color:#087c85;background:#50c6c629;font-size:11px;font-weight:700}.local-studio-page .local-director-preset-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.local-studio-page .local-director-preset-item{display:grid;gap:5px;color:#17414a;font-size:12px;line-height:1.55}.local-studio-page .local-director-preset-item strong{font-weight:700}.local-studio-page .local-director-preset-item span{color:#486870}.local-studio-page .local-preset-hint{align-self:center;color:#6d8288;font-size:11px;white-space:nowrap}.local-studio-page .director-composer>textarea{font-size:12px;line-height:1.75;color:#354661;padding:6px 0}.local-studio-page textarea::placeholder{color:#95a1b5}.local-studio-page .local-director-materials{gap:8px}.local-studio-page .local-director-materials button{padding:5px;border:1px solid #e1e9f6;background:#f5f8fd;color:#7a8aa5;border-radius:9px;min-width:47px}.local-studio-page .local-director-materials button:first-child{border-style:dashed;min-width:64px;background:linear-gradient(140deg,#f0f5ff,#f2fbfc);color:#5486cb;font-size:10px}.local-studio-page .local-director-materials img{border-radius:5px}.local-studio-page .local-director-materials small{font-weight:500;color:#8592a8;font-size:9px}.local-studio-page .director-send{background:linear-gradient(135deg,#4481f0,#4261da);color:#fff;box-shadow:0 3px 9px #436fe532;border:0;border-radius:10px;min-width:34px;min-height:34px}.local-studio-page .local-primary{background:linear-gradient(110deg,#3879ed,#5865dd);color:#fff;border:1px solid #4674e4;font-weight:600;box-shadow:0 3px 9px #3c70dc17}.local-studio-page .local-complete-script{background:#fff;border-color:#e2e9f5;border-radius:12px;padding:10px}.local-studio-page .local-complete-script>header{background:#fff;padding:4px 0 9px;border-bottom:1px solid #edf0f7;font-size:12px;color:#405473}.local-studio-page .local-complete-script>header button{min-height:28px;padding:4px 9px;background:#eff4fe;border:1px solid #e1eafa;color:#547cc1;font-size:11px}.local-studio-page .local-complete-script textarea{border-color:#eef2f8;font-size:13px;color:#5c6c85;padding:12px;background:#fbfcff}.local-studio-page .local-complete-script pre{color:#5c6c85;font-size:13px}.local-studio-page .local-user-message{background:#edf3ff;color:#4d668c;border:1px solid #dde8fc}.local-studio-page .local-section-title{border-color:var(--studio-line);padding-bottom:13px}.local-studio-page .local-section-title h2{display:flex;align-items:center;gap:7px;color:#4b5e7c;font-size:13px}.local-studio-page .local-section-title h2 svg{color:#7894c4}.local-studio-page .local-section-title .local-row,.local-studio-page .local-history>.local-row{gap:3px;background:#f0f3f9;padding:3px;border-radius:9px}.local-studio-page .local-section-title button,.local-studio-page .local-history>.local-row button{min-height:28px;padding:4px 9px;border:0;color:#7c8aa1;background:transparent;font-size:11px;box-shadow:none}.local-studio-page .local-section-title button.selected,.local-studio-page .local-history>.local-row button.selected{background:#fff;color:#4673bd;box-shadow:0 1px 5px #29446a0f}.local-studio-page .local-preview-stage{position:relative;background:radial-gradient(ellipse at 65% 35%,#e1edff80,transparent 60%),radial-gradient(ellipse at 20% 80%,#e2f4f580,transparent 50%),#f8faff;border:1px solid #edf1f7;border-radius:14px}.local-studio-page .local-history{background:#f9fbffcc}.local-history-empty{text-align:center;padding:44px 8px;color:#8b9bb3}.local-history-empty>span{display:grid;place-items:center;height:54px;width:54px;margin:0 auto 18px;border:1px solid #e4ebf6;border-radius:16px;background:linear-gradient(145deg,#f5f8fe,#ecf2fc);color:#90a9d0}.local-history-empty strong{font-size:12px;font-weight:500;color:#7184a2}.local-history-empty p{margin-top:8px;font-size:10px;color:#a3aec0}.local-history-empty>div{display:flex;flex-direction:column;gap:11px;margin:28px 15px 0}.local-history-empty i{display:block;height:5px;background:#eaf0f8;border-radius:4px}.local-history-empty i:nth-child(2){width:75%}.local-history-empty i:nth-child(3){width:50%}.local-studio-page .local-history article{border:1px solid #e3eaf6;background:#fff;padding:12px;border-radius:12px;margin-top:10px;color:#79879e}.local-studio-page .local-history article strong{color:#425675;font-size:12px}.local-studio-page .local-draft{background:#fff;border:1px solid #e1e8f3;color:#6b7c96;padding:12px;border-radius:11px}.local-studio-page .local-draft.selected{background:#edf3ff;border-color:#a6c0f1;color:#406caf}.local-studio-page .local-video-editor>textarea{background:#fafcff;border-color:#e2eaf6;color:#556886}.local-studio-page .local-video-editor>.local-row button{font-size:11px;border-color:#e2e9f4;background:#f7faff;color:#6881a6}.local-studio-page .local-cover-image{background:#f3f6fc;color:#899bb6}.local-studio-page .modal{color:#314766;background:#fbfcff;border-color:#dce6f6;box-shadow:0 28px 100px #122d5733}.local-studio-page .modal input,.local-studio-page .modal select,.local-studio-page .modal textarea{background-color:#fff;color:#405573;border-color:#dfe7f2}.local-studio-page .modal>header h2{color:#2e466b}.local-studio-page .modal .local-primary{color:#fff}@media(max-width:1150px){.local-studio-page{padding:14px 12px}.local-studio-page .local-panel{padding:12px}.local-studio-page .local-mode-label{display:none}.local-studio-page .local-history>.local-row button{padding:4px 6px}}@media(max-width:900px){.local-history-empty{padding:15px;display:flex;align-items:center;justify-content:center;gap:12px}.local-history-empty>span{margin:0;width:35px;height:35px}.local-history-empty>div{display:none}}@media(max-width:650px){.local-studio-page .local-header h1{font-size:18px;gap:5px}.local-studio-page .local-studio-badge{display:none}}@media(prefers-reduced-motion:reduce){.local-studio-page button,.local-studio-page .director-composer{transition:none}}.local-studio-page .director-composer>textarea{font-size:13px}.local-studio-page .local-history-empty p{color:#8191aa;font-size:11px}:root[data-theme=dark] .local-studio-page{--studio-ink: #dae5fb;--studio-muted: #92a6c7;--studio-line: #29364f;--studio-surface: #172239;--work-ink: #dae5fb;--work-muted: #92a6c7;--work-field: #172239;--work-soft: #202f4d;background:radial-gradient(ellipse at 30% 0%,#23407140,transparent 55%),#101827}:root[data-theme=dark] .local-studio-page .local-panel{background:#162035ed;border-color:#2b3953;box-shadow:0 6px 30px #00000012}:root[data-theme=dark] .local-studio-page .local-studio-editor{border-top-color:#4a6caf}:root[data-theme=dark] .local-studio-page .local-header h1,:root[data-theme=dark] .local-studio-page .director-welcome h2{color:#dce8ff}:root[data-theme=dark] .local-studio-page .local-studio-badge{background:#233657;color:#8caeee}:root[data-theme=dark] .local-studio-page .local-header>button{background:#1d2a43;color:#a3b7da;border-color:#2e405d}:root[data-theme=dark] .local-studio-page .local-header>button:last-child{background:#426cbd;color:#fff}:root[data-theme=dark] .local-studio-page .director-welcome-mark{background:linear-gradient(140deg,#253955,#1b3548);border-color:#344c6d;color:#8bb8f3}:root[data-theme=dark] .local-studio-page .director-suggestions button,:root[data-theme=dark] .local-studio-page .local-director-materials button,:root[data-theme=dark] .local-studio-page .director-mode-actions button:last-child{background:#1d2c46;color:#a0b6d8;border-color:#304465}:root[data-theme=dark] .local-studio-page .director-composer{background:#17243c;border-color:#3a527e}:root[data-theme=dark] .local-studio-page .director-composer>textarea{color:#c4d4ef}:root[data-theme=dark] .local-studio-page .local-director-preset{border-color:#66dddd4d;background:linear-gradient(135deg,#12363eeb,#152030f5)}:root[data-theme=dark] .local-studio-page .local-director-preset>header span:not(.local-preset-badge),:root[data-theme=dark] .local-studio-page .local-preset-hint{color:#a5bec5}:root[data-theme=dark] .local-studio-page .local-director-preset-item{color:#d4eff0}:root[data-theme=dark] .local-studio-page .local-director-preset-item span{color:#b2d0d5}:root[data-theme=dark] .local-studio-page .local-complete-script,:root[data-theme=dark] .local-studio-page .local-complete-script>header{background:#19253b;border-color:#2b3b58;color:#c6d9f6}:root[data-theme=dark] .local-studio-page .local-complete-script pre,:root[data-theme=dark] .local-studio-page .local-complete-script textarea,:root[data-theme=dark] .local-studio-page .local-video-editor>textarea{background:#19253b;border-color:#2b3b58;color:#a9bcda}:root[data-theme=dark] .local-studio-page .local-complete-script>header button,:root[data-theme=dark] .local-studio-page .local-user-message{background:#243a5b;border-color:#35527a;color:#9fbfe9}:root[data-theme=dark] .local-studio-page .local-section-title h2{color:#aec3e5}:root[data-theme=dark] .local-studio-page .local-section-title .local-row,:root[data-theme=dark] .local-studio-page .local-history>.local-row{background:#101d32}:root[data-theme=dark] .local-studio-page .local-section-title button.selected,:root[data-theme=dark] .local-studio-page .local-history>.local-row button.selected{background:#2b4165;color:#b6d1ff}:root[data-theme=dark] .local-studio-page .local-preview-stage{background:radial-gradient(ellipse at 65% 30%,#263a663a,transparent 65%),#131e32;border-color:#23334e}:root[data-theme=dark] .local-studio-page .local-history-empty>span{background:#1c2d49;border-color:#2e4567}:root[data-theme=dark] .local-studio-page .local-history-empty i{background:#22324d}:root[data-theme=dark] .local-studio-page .local-history article,:root[data-theme=dark] .local-studio-page .local-draft{background:#1b2a42;border-color:#2c3e5a;color:#90a6c8}:root[data-theme=dark] .local-studio-page .local-history article strong{color:#b4c8e7}:root[data-theme=dark] .local-studio-page .local-draft.selected{background:#263e62;border-color:#4c6b9c;color:#b7d0f6}:root[data-theme=dark] .local-studio-page .local-video-editor>.local-row button{background:#223653;border-color:#324b6d;color:#a3bbdf}:root[data-theme=dark] .local-studio-page .local-cover-image{background:#1a2a43;color:#90a6c8}:root[data-theme=dark] .local-studio-page .modal{background:#19263b;border-color:#3b5477;color:#b8cce9}:root[data-theme=dark] .local-studio-page .modal>header h2{color:#d0e1ff}:root[data-theme=dark] .local-studio-page .modal input,:root[data-theme=dark] .local-studio-page .modal select,:root[data-theme=dark] .local-studio-page .modal textarea{background-color:#142139;border-color:#354f71;color:#bbd0ed}@media(min-width:651px)and (max-width:980px){.local-studio-page .local-studio-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr) 150px}.local-studio-page .local-history{grid-column:1 / -1}.local-studio-page .local-history-empty{padding:15px;display:flex;align-items:center;justify-content:center;gap:12px}.local-studio-page .local-history-empty>span{margin:0;width:35px;height:35px}.local-studio-page .local-history-empty>div{display:none}}.remix-page{width:calc(100% - clamp(24px,4vw,56px));max-width:1920px;height:100dvh;margin:0 auto;padding:24px 8px;color:var(--theme-text);display:flex;flex-direction:column;overflow:hidden;--editor-track:minmax(464px, .51fr);--queue-track:clamp(160px, 11vw, 196px)}.remix-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.remix-heading h1{font-size:23px;margin:0;display:flex;align-items:center;gap:12px}.remix-heading h1 span{font-size:11px;font-weight:500;border:1px solid var(--line);border-radius:20px;padding:5px 9px}.remix-heading p{margin:7px 0 0;color:var(--muted);font-size:13px}.remix-heading>small{color:var(--muted)}.remix-layout{flex:1;min-height:0;display:grid;grid-template-columns:var(--editor-track) minmax(0,1fr) var(--queue-track);gap:12px;align-items:stretch}.remix-controls,.remix-preview-panel,.remix-records{min-width:0;background:var(--theme-panel,white);border:1px solid var(--line);border-radius:16px}.remix-controls{height:100%;overflow-y:auto;display:flex;flex-direction:column}.remix-section{padding:14px;border-bottom:1px solid var(--line);flex-shrink:0}.remix-material-section{flex:1 0 auto;min-height:310px;display:flex;flex-direction:column}.remix-page h2{font-size:15px;display:flex;align-items:center;gap:8px;margin:0 0 15px}.remix-section h2>span{display:grid;place-items:center;background:var(--theme-hover,#eff4f2);width:24px;height:24px;border-radius:50%;font-size:12px}.remix-page h2 small{margin-left:auto;color:var(--muted);font-size:12px;font-weight:400}.remix-add-area{flex:1;min-height:240px;padding:20px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;border:1px dashed var(--theme-line,#baccc5);border-radius:12px;background:var(--theme-inset,#f7faf9)}.remix-add-area p{margin:0 0 5px;text-align:center;font-size:12px;color:var(--muted)}.remix-button-row{display:flex;flex-wrap:wrap;gap:7px}.remix-page button[aria-pressed=true]{border-color:var(--theme-focus,#257c70);background:var(--theme-hover,#eaf5ef)}.remix-count-row{display:grid;grid-template-columns:max-content 64px minmax(0,1fr);align-items:center;gap:8px;font-size:13px}.remix-count-row label{display:block;margin:0;font-weight:600;white-space:nowrap}.remix-count-row select{width:100%;min-height:42px;padding:8px 5px}.remix-hint{color:var(--muted);font-size:12px;line-height:1.7;margin:10px 0 0}.remix-materials{margin-top:16px}.remix-materials summary{cursor:pointer;font-weight:600;font-size:13px}.remix-group-counts{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.remix-group-counts span{font-size:11px;padding:5px;border-radius:5px;background:var(--theme-inset,#f3f6f4)}.remix-material{display:grid;grid-template-columns:42px minmax(0,1fr) 100px 32px;gap:8px;align-items:center;padding:7px 0;border-top:1px solid var(--line)}.remix-thumb{width:42px;height:46px;border-radius:5px;overflow:hidden}.remix-thumb :is(img,video){width:100%;height:100%;object-fit:cover}.remix-material-name{min-width:0}.remix-material-name b{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.remix-material-name small{color:var(--muted);font-size:11px}.remix-material select{width:100%;font-size:12px;padding:7px 4px}.remix-material .icon{width:32px;height:34px;padding:0}.remix-section textarea{display:block;width:100%;resize:vertical;min-height:90px;margin-top:10px;line-height:1.6}.remix-copy-section{display:grid;gap:6px;padding-top:10px;padding-bottom:10px}.remix-copy-section textarea{margin:0}.remix-sound-buttons{display:grid;grid-template-columns:minmax(0,1fr)}.remix-sound-buttons button{min-height:36px;padding:7px 10px}.remix-selected-sound{display:flex;align-items:center;gap:6px;min-width:0}.remix-selected-sound>:first-child{flex:1;min-width:0}.remix-selected-sound .icon{flex-shrink:0}.remix-sound-workspace .talking-layout{grid-template-columns:minmax(260px,.8fr) minmax(360px,1.2fr) 180px}.remix-sound-copy{display:flex;flex-direction:column;gap:8px;min-width:0;padding:16px}.remix-sound-copy>label{margin:0;font-weight:600}.remix-sound-copy textarea{width:100%;min-height:180px;flex:1;resize:vertical;line-height:1.6}.remix-sound-models{display:grid;gap:8px}.remix-sound-workspace .talking-sound-section{gap:8px}.remix-sound-workspace .talking-sound-section>header{margin-bottom:0}@media(min-width:761px)and (max-width:1100px){.remix-sound-workspace .talking-layout{grid-template-columns:minmax(240px,.8fr) minmax(300px,1.2fr)}.remix-sound-workspace .talking-queue{grid-column:1/-1}}.remix-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 12px}.remix-fields label{display:flex;flex-direction:row;align-items:center;min-width:0;gap:7px;font-size:12px;margin:0}.remix-fields label>span{flex-shrink:0}.remix-fields select{flex:1;min-width:0;width:100%;padding:8px 4px;height:36px}.remix-audio{min-width:0;margin-top:10px}.remix-audio small{overflow-wrap:anywhere}.remix-fields .remix-check{justify-content:space-between;padding-right:8px;min-height:36px}.remix-submit{padding:12px 14px;display:grid;gap:9px;flex-shrink:0}.remix-submit>button{min-height:42px;width:100%}.remix-count-row button{min-height:42px;min-width:0;padding:8px 6px;white-space:nowrap}.remix-preview-panel{padding:18px;min-height:0;max-height:none;overflow-y:auto;display:flex;flex-direction:column}.remix-preview-stage{flex:0 0 auto;min-height:clamp(560px,68vh,680px);background:var(--theme-inset,#f1f4f3);border-radius:10px;display:flex;align-items:center;justify-content:center;padding:10px;overflow:visible}.remix-preview-grid{width:100%;display:flex;flex-direction:column;align-items:center;gap:6px}.remix-preview-row{width:100%;min-width:0;display:flex;justify-content:center;align-items:flex-start;gap:6px}.remix-preview-card{width:115px;flex:0 1 115px;max-width:115px;min-width:0;aspect-ratio:9 / 16;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--theme-panel,white);display:flex;flex-direction:column}.remix-preview-grid[data-count="1"] .remix-preview-card{width:180px;flex-basis:180px;max-width:180px}.remix-preview-grid[data-count="5"] .remix-preview-card{width:130px;flex-basis:130px;max-width:130px}.remix-preview-card-media{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--muted)}.remix-preview-card-media :is(img,video){width:100%;height:100%;object-fit:cover}.remix-preview-card-empty{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:8px;text-align:center}.remix-preview-card-empty span{font-size:10px;line-height:1.35}.remix-preview-download{position:absolute;left:50%;bottom:8px;transform:translate(-50%);min-height:26px;padding:4px 7px;gap:3px;border-color:var(--line);background:color-mix(in srgb,var(--theme-panel, white) 92%,transparent);font-size:10px;line-height:1;white-space:nowrap}.remix-preview-download:disabled{opacity:.72;cursor:default}.remix-preview-card-label{flex:none;display:flex;align-items:center;gap:4px;min-width:0;padding:4px 5px;border-top:1px solid var(--line);background:var(--theme-panel,white);font-size:10px;line-height:1.3}.remix-preview-card-label b{flex:none;color:var(--theme-focus,#257c70);font-variant-numeric:tabular-nums}.remix-preview-card-label span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.remix-plan-summary{display:flex;flex-direction:column;gap:6px;margin-top:20px}.remix-plan-summary span{color:var(--muted);font-size:12px}.remix-variants{display:flex;flex-wrap:wrap;gap:6px;margin:15px 0}.remix-variants button{font-size:12px}.remix-shots{list-style:none;margin:0;padding:0;display:grid;gap:7px}.remix-shots button{width:100%;justify-content:flex-start;text-align:left}.remix-shots button>span{flex:1;min-width:0}.remix-shots small{font-size:11px;color:var(--muted)}.remix-shots span small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.remix-warnings{font-size:12px;color:var(--muted);padding-left:18px;line-height:1.8}.remix-records{padding:14px;overflow-y:auto}.remix-records>div{padding:28px 0;color:var(--muted);display:flex;align-items:center;text-align:center;flex-direction:column;gap:12px}.remix-records strong{font-size:13px}.remix-records p{font-size:12px;line-height:1.8;margin:0}.remix-generate-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.remix-generate-actions button{min-width:0;min-height:42px;padding:8px 5px}.remix-task{display:grid;gap:8px;padding:12px 0;border-bottom:1px solid var(--line)}.remix-task-open{display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;gap:6px;padding:8px}.remix-task-open span,.remix-task-open small{font-size:11px;color:var(--muted)}.remix-task p{overflow-wrap:anywhere}.remix-task-error{color:var(--danger,#a43838)}.remix-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:44px;height:44px;border-radius:50%;padding:0;background:var(--theme-panel,white)}.remix-preview-card-media video{object-fit:contain}@media(max-width:1200px)and (min-width:761px){.remix-layout{grid-template-columns:minmax(330px,.85fr) minmax(280px,1fr)}.remix-records{grid-column:1/-1}.remix-records>div{padding:12px}}@media(max-width:760px){.remix-sound-workspace .talking-layout{display:flex;flex-direction:column}.remix-sound-workspace .talking-layout>.panel{width:100%;height:auto;max-height:none;overflow:visible}.remix-sound-workspace .remix-sound-copy textarea{min-height:120px}.remix-page{width:100%;height:auto;min-height:100dvh;padding:16px 12px 30px;overflow:visible}.remix-heading{align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:14px}.remix-heading h1{font-size:21px}.remix-layout{display:flex;flex-direction:column;gap:14px}.remix-controls,.remix-preview-panel,.remix-records{width:100%;height:auto;max-height:none;overflow:visible}.remix-section,.remix-preview-panel,.remix-records{padding:14px}.remix-copy-section{padding-top:10px;padding-bottom:10px}.remix-material-section{min-height:280px}.remix-add-area{min-height:220px}.remix-page button,.remix-page select,.remix-page input[type=number]{min-height:44px}.remix-material{grid-template-columns:36px minmax(0,1fr) 90px 44px;gap:5px}.remix-material .icon{width:44px;height:44px}.remix-thumb{width:36px}.remix-submit{padding:14px}.remix-preview-stage{min-height:520px}.remix-preview-row{flex-wrap:wrap}.remix-preview-grid[data-count="10"] .remix-preview-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.remix-preview-grid[data-count="10"] .remix-preview-card{width:100%;flex-basis:auto;max-width:115px}.remix-preview-grid[data-count="5"] .remix-preview-card{width:calc((100% - 12px) / 3);flex-basis:auto;max-width:130px}.remix-preview-grid[data-count="1"] .remix-preview-card{width:180px;flex-basis:180px;max-width:180px}}.xhs-page{width:calc(100% - clamp(24px,4vw,56px));max-width:1920px;height:100dvh;box-sizing:border-box;margin:0 auto;padding:24px 8px;color:var(--theme-text, #18363a);display:flex;flex-direction:column}.xhs-heading{flex:none;display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:20px}.xhs-heading h1{margin:2px 0 6px;font-size:28px}.xhs-heading p{margin:0;color:var(--theme-muted, #6d8082)}.xhs-heading .eyebrow{font-size:12px;color:#2b8b91;margin-bottom:4px}.xhs-layout{display:grid;flex:1;min-height:0;grid-template-columns:minmax(300px,360px) minmax(0,1fr) clamp(160px,11vw,196px);gap:12px;align-items:stretch}.xhs-panel{min-width:0;min-height:0;box-sizing:border-box;background:var(--theme-panel, #fff);border:1px solid var(--theme-line, #dbe7e6);border-radius:16px;padding:18px;box-shadow:0 8px 24px #2346480d}.xhs-panel h2{font-size:16px;margin:0 0 16px}.xhs-panel label{display:block;font-size:13px;font-weight:600;margin:12px 0;color:var(--theme-text, #31575a)}.xhs-panel input,.xhs-panel textarea,.xhs-panel select{box-sizing:border-box;width:100%;margin-top:6px;border:1px solid var(--theme-line, #d7e3e2);border-radius:9px;background:var(--theme-inset, #fbfdfd);padding:10px 11px;color:var(--theme-text, #234447);font:inherit;font-weight:400;resize:vertical}.xhs-panel textarea{min-height:72px}.xhs-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.xhs-refs{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0}.xhs-refs strong,.xhs-refs small{display:block}.xhs-refs small{font-size:11px;color:var(--theme-muted, #849496);margin-top:3px}.xhs-page .primary,.xhs-page .secondary,.xhs-page .link-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:9px;border:1px solid var(--theme-line, #bed8d8);padding:9px 12px;background:var(--theme-panel, #fff);color:var(--theme-text, #245356);cursor:pointer;font:inherit}.xhs-page .primary{width:100%;background:#2b8b91;color:#fff;border-color:#2b8b91;font-weight:700}.xhs-page .primary:disabled,.xhs-page .secondary:disabled{opacity:.5;cursor:not-allowed}.xhs-page .secondary{white-space:nowrap}.xhs-page .link-button{border:0;background:transparent;padding:4px;color:#2b8b91;font-size:12px}.xhs-section-title{flex:none;display:flex;justify-content:space-between;align-items:center;margin:14px 0 8px}.xhs-section-title span{font-size:12px;color:var(--theme-muted, #809294);font-weight:400}.xhs-title-list{display:grid;gap:7px}.xhs-title-list>button{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:7px;border:1px solid var(--theme-line, #dbe7e6);border-radius:9px;padding:7px;background:var(--theme-panel, #fff);text-align:left;color:var(--theme-text, #33585b);cursor:pointer}.xhs-title-list>button.selected{border-color:#2b8b91;background:var(--theme-hover, #f0fbfa)}.xhs-title-list>button span{color:#2b8b91;text-align:center;font-size:12px}.xhs-title-list input{margin:0;padding:3px;border:0;background:transparent}.xhs-page .empty{color:var(--theme-muted, #8a9b9d);font-size:13px;padding:22px;text-align:center;background:var(--theme-inset, #f7fafa);border-radius:9px}.xhs-title-list>.empty{box-sizing:border-box;height:150px;min-height:150px;margin:0;padding:16px;display:flex;align-items:center;justify-content:center}.xhs-content-panel .selected-title{flex:none;margin:0 0 8px}.xhs-content-panel textarea.xhs-body{flex:1 1 0;height:0;min-height:80px;max-height:none;margin-top:0;resize:none;overflow-y:auto}.xhs-actions{display:flex;flex:none;gap:8px;margin:0}.xhs-page .xhs-actions .primary{width:auto;flex:1}.xhs-page .xhs-actions .secondary{flex:0 0 auto}.xhs-page .history-row{display:block;width:100%;text-align:left;border:0;background:var(--theme-inset, #f7fafa);border-radius:7px;margin-top:6px;padding:8px;color:var(--theme-text, #5a7173);cursor:pointer}.xhs-image-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin-inline:auto;gap:8px}.xhs-image-slot{min-width:0;width:min(100%,135px);justify-self:center;display:flex;flex-direction:column;align-items:stretch;gap:8px}.xhs-body-tools{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:10px}.xhs-body-tools button{min-height:36px}.xhs-image-actions{display:grid;grid-template-columns:minmax(0,1fr) 36px;align-items:stretch;gap:6px;margin-top:auto}.xhs-image-actions>.xhs-image-configure{width:100%;min-height:34px;padding:4px;min-width:0;font-size:12px}.xhs-image-card{min-width:0;width:100%;overflow:hidden;border:1px solid var(--theme-line, #dbe7e6);border-radius:10px;background:var(--theme-inset, #f7fafa)}.xhs-image-card img,.xhs-image-card .image-placeholder{display:block;width:100%;aspect-ratio:3/4;object-fit:contain;background:var(--theme-inset, #eef5f4)}.xhs-page .image-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--theme-muted, #8ca0a0);font-size:12px}.xhs-image-actions .xhs-image-download{display:flex;min-width:0;min-height:34px;align-items:center;justify-content:center;padding:0;box-sizing:border-box;border:1px solid #465b72;border-radius:6px;background:#465b72;color:#fff;text-decoration:none}.xhs-content-panel>.xhs-grid{flex:none}.xhs-image-actions .xhs-image-download:hover:not(:disabled){background:#34465b;border-color:#34465b}.xhs-image-actions .xhs-image-download:disabled{background:#718195;border-color:#718195;color:#fff;opacity:1}.xhs-image-actions .xhs-image-download:focus-visible{outline:2px solid #465b72;outline-offset:2px}@media(min-width:601px){.xhs-image-card{display:grid;place-items:center;height:180px;box-sizing:border-box}.xhs-image-card :is(img,.image-placeholder){width:min(100%,calc(178px * var(--xhs-preview-ratio, .75)));height:auto;max-height:178px}}.xhs-image-settings{width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow-y:auto}.customer-app .xhs-page dialog.xhs-image-settings{height:fit-content;min-height:0}.xhs-image-settings fieldset{border:0;padding:12px 0;margin:0;border-bottom:1px solid var(--theme-line, #e5e7eb)}.xhs-image-settings legend{padding:0;font-size:12px}.xhs-image-settings [role=radiogroup]{display:flex;flex-wrap:wrap;gap:6px}.xhs-image-settings [role=radio]{flex:1 0 28%;min-height:40px;padding:8px;font-size:12px}.xhs-image-settings [aria-checked=true]{border-color:#2b8b91;background:var(--theme-hover, #eaf5f4)}.xhs-image-settings .xhs-settings-note{color:var(--theme-muted, #6d8082);font-size:12px;line-height:1.6}.xhs-image-settings footer{display:flex;gap:8px}.xhs-image-settings footer button{flex:1;min-height:44px}.xhs-page .muted{font-size:12px;color:var(--theme-muted, #7d8e90);line-height:1.6}.xhs-input-panel{overflow-y:auto}.xhs-panel :is(input,textarea,select){min-width:0}.xhs-candidates{margin-top:16px;border-top:1px solid var(--theme-line, #dbe7e6)}.xhs-center{min-width:0;min-height:0;display:grid;grid-template-rows:minmax(280px,1fr) auto;gap:12px;overflow-y:auto}.xhs-content-panel{display:flex;flex-direction:column;overflow-y:auto}.xhs-body-history{flex:none;margin-top:8px;font-size:12px}.xhs-body-history>div{max-height:120px;overflow-y:auto}.xhs-image-panel .muted{margin:0 0 10px}.xhs-records{display:flex;flex-direction:column;padding:14px 10px}.xhs-records>header{display:flex;flex:none;justify-content:space-between;align-items:center;gap:6px;margin-bottom:12px}.xhs-records h2{margin:0}.xhs-records small{color:var(--theme-muted, #7d8e90)}.xhs-record-list{min-height:0;overflow-y:auto}.xhs-record-list>.muted{text-align:center}.xhs-record{margin-bottom:8px;padding:10px;background:var(--theme-inset, #f7fafa);border-radius:9px;font-size:12px;overflow-wrap:anywhere}.xhs-record summary{cursor:pointer}.xhs-record summary strong{display:block;margin-bottom:6px}.xhs-record time{display:block;margin-top:4px;color:var(--theme-muted, #7d8e90);font-size:11px}.xhs-record p{white-space:pre-wrap}.xhs-record a{display:inline-flex;align-items:center;gap:3px;color:#2b8b91;text-decoration:none}@media(max-height:800px)and (min-width:1001px){.xhs-page{padding-block:16px}.xhs-image-panel{padding:12px}}@media(max-width:1000px){.xhs-page{width:100%;height:auto;min-height:100dvh;padding:16px 12px 30px}.xhs-heading{flex-wrap:wrap;gap:12px}.xhs-heading h1{font-size:24px}.xhs-layout{display:flex;flex-direction:column;flex:none}.xhs-input-panel,.xhs-center,.xhs-record-list{overflow:visible}.xhs-center{display:flex;flex-direction:column}.xhs-content-panel textarea.xhs-body{flex:none;height:360px;min-height:360px}.xhs-grid{grid-template-columns:minmax(0,1fr);gap:0}.xhs-page :is(button,input,select){min-height:44px}.xhs-image-actions{grid-template-columns:minmax(0,1fr) 44px}.xhs-image-actions .xhs-image-download{min-height:44px}}@media(max-width:600px){.xhs-image-list{grid-template-columns:minmax(0,1fr);width:100%;max-width:none;gap:24px}.xhs-image-slot{width:min(100%,360px,calc((100svh - 220px) * var(--xhs-preview-ratio, .75)));justify-self:center}.xhs-image-actions{margin-top:0}}:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;color:var(--theme-text, #262626);background:var(--theme-base, #f5f5f5);font-size:14px;font-synthesis:none;--line: #e7e7e7;--muted: #858585;--blue: #1682e9}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button,.button{border:1px solid var(--line);border-radius:9px;background:var(--theme-panel, #fafafa);cursor:pointer;padding:9px 12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;transition:background .15s,border-color .15s}button:hover,.button:hover{background:var(--theme-hover, #eee);border-color:var(--theme-line, #d1d1d1)}button:disabled{cursor:not-allowed;opacity:.42}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--theme-focus, #1682e9);outline-offset:3px}button.primary,.button.primary{background:var(--theme-action, #272727);border-color:var(--theme-line, #272727);color:var(--theme-bright, #fff);font-weight:600}button.primary:hover:not(:disabled),.button.primary:hover:not([aria-disabled=true]){background:var(--theme-action-hover, #111)}input,textarea,select{background:var(--theme-inset, #fff);border:1px solid var(--line);border-radius:8px;padding:10px;min-width:0}input[type=checkbox]{accent-color:var(--theme-focus, #222);width:15px;height:15px}input[type=range]{width:100%;padding:0;accent-color:var(--theme-focus, #292929)}textarea{resize:vertical;line-height:1.75}label{display:flex;flex-direction:column;gap:8px;margin:12px 0}label.check-label{flex-direction:row;align-items:center}h1,h2,h3,p{margin-top:0}h1{font-size:25px;letter-spacing:-.7px}h2{font-size:18px}h3{font-size:16px}small,.muted{font-size:12px;color:var(--muted)}svg{flex-shrink:0}a{color:inherit}pre{white-space:pre-wrap;word-break:break-word;line-height:1.7;font:inherit}.panel{background:var(--theme-panel, #fafafa);border:1px solid var(--line);border-radius:17px}.icon{border:0;background:transparent;padding:7px}.text-button{border:0;background:transparent;padding:6px}.blue{color:var(--blue)}.error-text{color:var(--theme-error, #b34b43)!important}.subtle-badge{border:1px solid var(--line);background:var(--theme-panel, #fff);border-radius:20px;padding:7px 13px;font-size:12px;color:var(--theme-muted, #888)}.sidebar{position:fixed;inset:0 auto 0 0;width:73px;border-right:1px solid var(--line);display:flex;align-items:center;flex-direction:column;z-index:20;background:var(--theme-base, #f6f6f6)}.brand{margin:20px 0 33px;width:34px;height:34px;display:grid;place-items:center;text-decoration:none}.brand img{display:block;width:100%;height:100%;object-fit:contain}.sidebar nav{display:flex;flex-direction:column;gap:16px;width:100%;align-items:center}.sidebar nav a{width:58px;text-decoration:none;display:flex;align-items:center;flex-direction:column;gap:8px;font-size:12px;color:var(--theme-muted, #777);padding:6px;border-radius:11px}.sidebar nav a.active{color:var(--theme-text, #111);background:var(--theme-selected, #eaeaea)}.sidebar-bottom{margin-top:auto;display:flex;align-items:center;flex-direction:column;gap:14px;padding:16px 0}.credits{border:1px solid var(--line);border-radius:9px;display:flex;flex-direction:column;gap:10px;text-decoration:none;padding:10px 6px;font-size:11px}.credits small{font-size:10px;color:var(--blue)}.avatar{border-radius:50%;background:var(--theme-warning-bg, #ffeab5);border:3px solid var(--theme-line, white);width:34px;height:34px;padding:0}.app-main{margin-left:73px;min-height:100vh}.loading{height:100vh;display:flex;justify-content:center;align-items:center;gap:14px;color:var(--theme-muted, #777)}.spinner{height:22px;width:22px;border:2px solid var(--theme-line, #ddd);border-top-color:var(--theme-line, #333);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%);background:var(--theme-action, #222);color:var(--theme-bright, #fff);border-radius:12px;padding:14px 22px;box-shadow:0 8px 40px #0002;z-index:2000;max-width:80vw;line-height:1.5}.connection-error{position:fixed;top:0;left:74px;right:0;background:var(--theme-selected, #ffe1d6);padding:10px;text-align:center;z-index:2001}.modal{border:1px solid var(--line);border-radius:18px;padding:24px;width:500px;max-width:92vw;max-height:87vh;box-shadow:0 25px 100px #0002;overflow:auto;background:var(--theme-panel, #fafafa);color:var(--theme-text, #262626)}.modal.wide{width:840px}.modal::backdrop{background:#0005;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.modal header h2{margin:0;font-size:18px}.modal p{line-height:1.8}.modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:18px;margin-top:20px}.modal-footer>span:first-child{margin-right:auto}.modal input:not([type=checkbox]):not([type=range]),.modal select{max-width:100%}.modal form>label input{width:100%}.modal .expanded-prompt{width:100%;min-height:340px}.menu-links{display:flex;flex-direction:column;gap:18px}.menu-links a{display:flex;gap:10px;text-decoration:none}.empty{height:100%;min-height:300px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:28px;gap:6px}.empty-mark{width:80px;height:80px;background:linear-gradient(130deg,var(--theme-panel, #fafafa),var(--theme-base, #e8edf0));border-radius:24px;display:grid;place-items:center;color:var(--theme-muted, #acb2b6);margin-bottom:15px;transform:rotate(-5deg)}.empty h3{margin:0 0 5px}.empty p{font-size:13px;color:var(--theme-muted, #999);max-width:350px;line-height:1.8}.tabs{display:flex;gap:15px;padding:14px 16px;align-items:center}.tabs button{border:0;background:none;border-radius:0;padding:5px 0;color:var(--theme-muted, #888);position:relative;white-space:nowrap}.tabs button.active{color:var(--theme-text, #222);font-weight:600}.tabs button.active:after{content:"";position:absolute;left:4px;bottom:-5px;height:2px;width:14px;background:var(--theme-selected, #333)}.home-composer{max-width:834px;min-height:146px;border-radius:22px;background:var(--theme-panel, #fff);margin:auto;box-shadow:0 12px 35px #00000006;padding:20px 22px}.composer-line{display:flex;gap:24px}.add-reference{width:58px;height:63px;border:0;background:linear-gradient(145deg,var(--theme-panel, #fafcff),var(--theme-hover, #ddf8fa));transform:rotate(-8deg);border-radius:13px;flex-shrink:0}.home-composer textarea{border:0;resize:none;min-height:70px;flex:1;outline:none;padding:3px 10px}.home-composer textarea::placeholder{color:var(--theme-muted, #c3c3c3)}.home-composer footer{display:flex;justify-content:space-between;align-items:center}.home-composer select{border:0;font-size:13px;font-weight:600;background:none;padding:5px}.send{border-radius:50%;height:34px;width:34px;padding:6px;background:var(--theme-action, #222);color:var(--theme-bright, #fff)}.send:disabled{background:var(--theme-hover, #ddd)}.scene-section header{display:flex;align-items:center;gap:18px;margin-bottom:20px}.scene-section h2{margin:0;font-size:21px}.scene-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.scene{display:block;border:0;padding:0;text-align:left;overflow:hidden;border-radius:13px;background:var(--theme-panel, #fff)}.scene-art{height:155px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:flex-end;padding:28px;color:#fff;background:#b7beb5}.scene-art>svg{z-index:1;opacity:.65}.scene-1 .scene-art{background:#bbac92}.scene-2 .scene-art{background:#839a95}.scene-3 .scene-art{background:#9c927e}.scene-4 .scene-art{background:#607d8c}.scene-5 .scene-art{background:#9c8991}.art-shape{position:absolute;left:-15px;top:30px;width:180px;height:180px;background:#ffffff30;border-radius:30% 65% 28% 55%;transform:rotate(25deg);box-shadow:70px -20px #ffffff14}.art-text{position:absolute;left:23px;bottom:28px;font-size:25px;letter-spacing:3px;font-weight:600}.scene-caption{padding:15px;display:flex;align-items:center;gap:14px}.scene-caption strong{white-space:nowrap;font-size:15px;font-weight:500}.scene-caption small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.home-recent{margin-top:44px}.recent-actions{display:flex;gap:12px}.studio-layout{padding:24px 28px 24px 34px;height:100vh;display:grid;grid-template-columns:minmax(350px,465px) minmax(320px,1fr) 160px;gap:12px}.editor-panel{padding:10px;display:flex;flex-direction:column;min-height:0}.editor-header{display:flex;justify-content:space-between;align-items:center;height:50px;flex-shrink:0}.title-button{border:0;background:none;font-weight:650;font-size:13px;padding:0;gap:9px}.title-button>small{max-width:80px;overflow:hidden;white-space:nowrap}.tool-emblem{height:40px;width:44px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(140deg,var(--theme-base, #ebebeb),var(--theme-base, #edf7fa))}.prompt-box{border:1px solid var(--line);border-radius:11px;background:var(--theme-panel, #f9f9f9);flex:1;min-height:0;display:flex;flex-direction:column;padding:12px 16px;overflow:auto}.prompt-toolbar{display:flex;align-items:center;justify-content:space-between;color:var(--theme-muted, #939393)}.prompt-toolbar small{font-size:10px}.prompt-toolbar>div{display:flex}.material-slots{display:flex;gap:14px;flex-wrap:wrap;margin:10px 0 12px}.material-slots>button{display:flex;flex-direction:column;border:0;padding:0;background:none;gap:7px}.material-slots>button>span{position:relative;width:65px;height:62px;background:var(--theme-base, #f2f2f2);border:1px solid var(--theme-line, #eaeaea);border-radius:11px;display:grid;place-items:center;color:var(--theme-muted, #b5b5b5)}.material-slots i{position:absolute;bottom:3px;right:5px;border-radius:50%;background:var(--theme-base, #e4e4e4);padding:3px;display:grid;place-items:center;color:var(--theme-muted, #666)}.material-slots small{font-size:10px}.prompt-input{flex:1;min-height:250px;border:0;background:transparent;resize:none;outline:none;font-size:14px;line-height:1.85;padding:5px 0}.prompt-input::placeholder{color:var(--theme-muted, #bbb)}.prompt-box>footer{display:flex;align-items:center;justify-content:space-between;font-size:11px;margin-top:auto}.prompt-box footer small{font-size:10px}.prompt-box footer button{font-size:12px;font-weight:600}.config-row{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:7px 0}.config-row button{border-radius:12px;min-width:0;justify-content:flex-start;padding:11px 9px;background:var(--theme-panel, #f8f8f8)}.config-row button>span{flex:1;min-width:0;text-align:left;display:flex;flex-direction:column;gap:3px}.config-row small{font-size:9px}.config-row strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.generate{width:100%;min-height:40px;gap:20px}.generate small{color:inherit;font-size:10px;opacity:.7;font-weight:400}.save-status{text-align:center;font-size:10px;color:var(--theme-muted, #aaa);margin-top:5px}.preview-panel{position:relative;overflow:auto;display:flex;flex-direction:column;min-width:0}.preview-panel>.empty{flex:1}.queue-panel{padding:12px 10px;overflow-y:auto}.queue-panel>header{display:flex;align-items:center;gap:8px;font-size:12px;padding-bottom:10px}.queue-card{border:1px solid var(--theme-line, #ebebeb);border-radius:13px;background:var(--theme-base, #f6f6f6);margin-bottom:8px;overflow:hidden}.queue-card.active{background:var(--theme-selected, #fff);border-color:var(--theme-line, #d1d1d1);box-shadow:0 2px 4px #00000005}.queue-main{width:100%;background:none;border:0;padding:8px;gap:8px;justify-content:flex-start;text-align:left}.queue-main>span:last-child{min-width:0}.queue-main strong{font-size:11px;display:block}.queue-main small{display:block;font-size:9px;margin-top:5px}.queue-thumb{width:42px;height:48px;display:grid;place-items:center;color:var(--theme-muted, #bbb);background:var(--theme-base, #eaeaea);border-radius:7px;overflow:hidden;flex-shrink:0}.queue-thumb img,.queue-thumb video{height:100%;width:100%;object-fit:cover}.queue-actions{display:flex;justify-content:flex-end;padding:0 6px 5px}.queue-actions button{border:0;background:none;padding:4px;color:var(--theme-muted, #888)}.queue-empty{text-align:center;margin-top:30px}.job-detail{margin:auto;padding:35px;text-align:center;max-width:540px}.job-detail h2{font-size:21px;margin:22px 0 12px}.job-detail p{font-size:13px;color:var(--theme-muted, #888);line-height:1.9}.job-symbol{height:80px;width:80px;background:var(--theme-base, #edf0f1);display:grid;place-items:center;border-radius:24px;margin:auto;color:var(--theme-muted, #99a0a5)}.job-symbol.failed{background:var(--theme-base, #f9e9e7);color:var(--theme-error, #b46d65)}.snapshot-info{display:grid;grid-template-columns:1fr 1fr;text-align:left;gap:14px;padding:20px;background:var(--theme-base, #f2f2f2);border-radius:10px;font-size:12px;margin:25px 0;color:var(--theme-muted, #666)}.job-detail details{text-align:left;margin:20px 0;font-size:12px}.result-view{margin:auto;padding:15px;width:100%;text-align:center}.result-actions{display:flex;justify-content:center;gap:5px;margin-bottom:18px}.result-actions button,.result-actions a{font-size:12px}.result-media{height:65vh;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:10px;background:var(--theme-base, #ededed)}.result-media img,.result-media video{max-width:100%;max-height:100%;object-fit:contain}.result-view p{margin:18px 0}.ref-chips{display:flex;gap:8px;flex-wrap:wrap}.ref-chip{display:flex;align-items:center;border:1px solid var(--theme-line, #e2e2e2);border-radius:9px;background:var(--theme-panel, #fff);padding:4px;gap:6px;max-width:100%;font-size:11px}.ref-chip img,.ref-chip video,.ref-chip .media-placeholder{width:30px;height:32px;object-fit:cover;border-radius:5px}.ref-chip>span{max-width:110px;overflow:hidden;text-overflow:ellipsis}.ref-chip small{font-size:9px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ref-chip button{border:0;padding:3px}.parameter-form fieldset{border:0;padding:0;margin:22px 0}.parameter-form legend{font-size:13px;margin-bottom:11px}.parameter-form label>strong{float:right}.segmented{display:flex;flex-wrap:wrap;gap:8px}.segmented button.active{background:var(--theme-selected, #e8e8e8);border-color:var(--theme-line, #888)}.skill-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;padding:16px 0}.skill-grid button{flex-direction:column;align-items:flex-start;gap:10px;padding:20px}.skill-grid small{font-size:10px}.list-items{margin-top:20px}.list-items>div{display:flex;border-bottom:1px solid var(--line);padding:6px}.list-items button{border:0;background:none;justify-content:flex-start;text-align:left}.list-items>div>button:first-child{flex:1}.list-items span small{display:block;margin-top:5px;max-width:320px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inline-notice{font-size:12px;line-height:1.7;background:var(--theme-base, #eff3f4);border:1px solid var(--theme-line, #e5ebed);border-radius:9px;padding:12px;color:var(--theme-muted, #6a7377);margin:12px 0}.inline-notice p{margin:4px 0}.module-counts{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px}.module-counts label{display:flex;flex-direction:row;align-items:center;justify-content:space-between;font-size:11px;margin:3px 0}.module-counts input{width:48px;padding:5px}.plan-list{max-height:50vh;overflow:auto}.plan-list textarea{min-height:85px}.steps{line-height:2.6;color:var(--theme-muted, #666)}.picker-tools{display:flex;gap:10px;flex-wrap:wrap}.search{margin:0;display:flex;flex-direction:row;align-items:center;padding:0 10px;background:var(--theme-panel, #fff);border:1px solid var(--line);border-radius:9px;gap:3px;flex:1}.search input{border:0;width:100%;background:none}.asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:20px;padding:20px 0}.picker-grid{max-height:43vh;overflow:auto;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.asset-tile{border:1px solid var(--line);background:var(--theme-panel, #fff);border-radius:12px;overflow:hidden;padding:0;display:block;text-align:left;min-width:0}.asset-tile.selected{border:2px solid var(--theme-line, #333)}.asset-tile .thumb{width:100%;height:175px;overflow:hidden;display:block;position:relative;border:0;border-radius:0;background:var(--theme-base, #eee);padding:0}.asset-tile img,.asset-tile video{width:100%;height:100%;object-fit:cover}.asset-tile>strong,.asset-tile>small{display:block;padding:7px 10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.asset-tile>small{padding-top:0;color:var(--theme-muted, #aaa)}.thumb .check{position:absolute;right:9px;top:9px;display:grid;place-items:center;width:21px;height:21px;background:var(--theme-panel, #fff);border:1px solid var(--theme-line, #ddd);border-radius:50%}.media-type{position:absolute;bottom:8px;right:8px;background:#0006;color:var(--theme-bright, #fff);border-radius:5px;padding:3px 6px;font-size:10px}.media-placeholder{height:100%;min-height:100px;display:grid;place-items:center;background:var(--theme-base, #eee);color:var(--theme-muted, #bbb)}.large-media{display:flex;align-items:center;justify-content:center;max-height:60vh;min-height:220px;background:var(--theme-base, #eee);border-radius:12px;overflow:hidden}.large-media img,.large-media video{max-width:100%;max-height:60vh;object-fit:contain}.large-media audio{width:90%;margin:60px 0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}.page-heading h1{margin-bottom:9px}.page-heading p{color:var(--theme-muted, #999);font-size:13px;margin:0}.page-heading>div:last-child{display:flex;gap:10px}.page-heading>div:first-child{display:block}.assets-page,.canvas-list-page,.media-page{padding:40px 45px;max-width:1700px;margin:auto}.assets-workspace{display:flex;gap:30px}.library-nav{width:160px;flex-shrink:0;display:flex;flex-direction:column;gap:8px}.library-nav button{background:none;border:0;justify-content:flex-start}.library-nav button.active{background:var(--theme-selected, #e8e8e8)}.library-nav span{overflow:hidden;text-align:left}.library-nav small{display:block;font-size:10px;margin-top:5px}.asset-main{flex:1;min-width:0}.asset-main>.tabs{padding:0 0 25px}.asset-filters{display:flex;gap:10px;align-items:center}.asset-filters select{font-size:12px;padding:10px 8px}.asset-title{display:flex;align-items:center;padding:7px 8px 0}.asset-title strong{font-size:12px;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.favorited{color:var(--theme-error, #cb9b37)}.asset-actions{display:flex;padding:5px;gap:2px;border-top:1px solid var(--theme-line, #f3f3f3)}.asset-actions button{border:0;background:none;font-size:10px;padding:5px}.batch-bar{display:flex;align-items:center;gap:8px;margin-top:16px;padding:8px;background:var(--theme-base, #ededed);border-radius:9px}table{width:100%;border-collapse:collapse;margin-top:18px;font-size:12px;text-align:left}th,td{padding:14px 10px;border-bottom:1px solid var(--line)}th{color:var(--theme-muted, #999);font-weight:500}.director{display:flex;flex-direction:column;overflow:auto;min-height:0;flex:1;padding:8px}.director>header{display:flex;justify-content:space-between;align-items:center}.director header strong{display:flex;gap:6px;color:var(--theme-link, #1682e9)}.director-options{display:flex;align-items:center;gap:12px}.director-options label{flex-direction:row;align-items:center}.director-options input{width:60px}.script-editor{min-height:220px;width:100%;font-size:13px}.chat-input{display:flex;border:1px solid var(--line);border-radius:12px;padding:7px;margin:16px 0;background:var(--theme-inset, #fff);align-items:flex-end}.chat-input textarea{flex:1;border:0;min-height:85px;resize:none}.chat-input button{height:33px;width:33px;padding:8px}.chat-page{display:flex;min-height:100vh}.conversation-list{width:210px;padding:25px 17px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:12px;background:var(--theme-base, #f7f7f7)}.conversation-list>button{justify-content:flex-start;text-align:left}.conversation-list>button:not(.primary){border:0;background:none}.conversation-list>button.active{background:var(--theme-selected, #e8e8e8)}.agent-session{flex:1;max-width:1000px;margin:auto;padding:25px 45px;height:100vh;display:flex;flex-direction:column}.agent-session>header{display:flex;justify-content:space-between;padding-bottom:20px}.agent-session>.empty{flex:1}.agent-session>.messages{flex:1;overflow:auto}.suggestions{display:flex;flex-wrap:wrap;gap:10px}.suggestions button{font-size:12px}.message{margin:15px 0 15px auto;max-width:85%;padding:17px;background:var(--theme-base, #eceff0);border-radius:15px}.message p{white-space:pre-wrap;line-height:1.8;margin:0 0 10px}.message small{display:block;font-size:10px}.message button{margin-top:12px;font-size:11px}.agent-composer{padding:15px;background:var(--theme-panel, #fff);border:1px solid var(--line);border-radius:18px}.agent-composer>textarea{width:100%;border:0;min-height:95px;resize:none}.agent-composer>footer{display:flex;justify-content:space-between}.media-editor-layout{display:grid;grid-template-columns:1fr 300px;gap:20px}.media-stage{padding:24px;min-width:0}.media-player{position:relative;max-height:55vh;margin:auto;max-width:100%;background:var(--theme-base, #e9e9e9);overflow:hidden;display:flex;align-items:center;justify-content:center}.media-player>img,.media-player>video{width:100%;height:100%;object-fit:contain}.region-overlay{position:absolute;border:2px dashed var(--theme-focus, #249cf8);background:var(--theme-action, #3399ff20);pointer-events:none}.region-overlay span{position:absolute;top:0;left:0;background:var(--theme-action, #1682e9);color:var(--theme-bright, #fff);font-size:10px;padding:2px 4px}.region-overlay.saved{border-color:var(--theme-error, #ffbc44);background:var(--theme-error-bg, #ffcc0020)}.region-overlay.saved span{background:var(--theme-error, #c89326)}.timeline{display:flex;align-items:center;gap:12px;margin:30px 0;font-size:10px;color:var(--theme-muted, #999)}.timeline-track{flex:1;background:var(--theme-base, #e8e8e8);display:flex;gap:3px;padding:4px;border-radius:8px}.timeline-track>div{background:var(--theme-hover, #cddde3);min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-radius:5px;padding:12px 7px;color:var(--theme-muted, #516069);border:1px solid var(--theme-focus, #a8c1cc)}.timeline-track small{display:block;font-size:9px}.clip-list>div{display:flex;align-items:center;border-bottom:1px solid var(--theme-line, #eee);padding:7px;font-size:12px;gap:7px}.clip-list span{flex:1}.clip-list button{padding:5px}.media-options{padding:20px}.tabs.vertical{flex-direction:column;align-items:stretch;padding:0 0 15px;gap:6px}.tabs.vertical button{text-align:left;justify-content:flex-start;padding:9px 12px;border-radius:7px}.tabs.vertical button.active{background:var(--theme-selected, #eaeaea)}.tabs.vertical button.active:after{display:none}.region-inputs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.region-inputs label{font-size:12px;margin:3px 0}.region-inputs input{width:100%}.region-inputs>button{grid-column:span 2}.region-row{font-size:11px;display:flex;align-items:center;justify-content:space-between;margin:8px 0}.canvas-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:22px;margin:25px 0}.canvas-card{background:var(--theme-panel, #fff);border:1px solid var(--line);border-radius:14px;overflow:hidden}.canvas-thumbnail{height:180px;width:100%;border:0;border-radius:0;padding:0;background-color:var(--theme-base, #f2f3f4);background-image:radial-gradient(var(--theme-hover, #d7d9dc) 1px,transparent 1px);background-size:12px 12px;overflow:hidden}.canvas-thumbnail img,.canvas-thumbnail video{width:100%;height:100%;object-fit:cover}.mini-nodes{display:flex;align-items:center;justify-content:center}.mini-nodes span{background:var(--theme-panel, #fff);width:48px;height:55px;border:1px solid var(--theme-line, #d6d6d6);border-radius:7px}.mini-nodes i{width:25px;height:1px;background:var(--theme-muted, #aaa)}.canvas-card>div{padding:15px;position:relative}.canvas-card strong{font-size:14px}.canvas-card small{display:block;margin:7px 0;color:var(--theme-muted, #aaa)}.canvas-card>div>button:last-child{position:absolute;right:10px;top:15px;border:0;background:none}.template-grid{display:flex;gap:14px;flex-wrap:wrap}.template-grid button{padding:25px;gap:13px}.canvas-editor{position:relative;width:100vw;height:100vh}.canvas-root{height:100vh}.canvas-topbar{position:absolute;inset:16px 18px auto;display:flex;justify-content:space-between;pointer-events:none;gap:15px;z-index:5}.canvas-topbar>div{pointer-events:auto;display:flex;align-items:center;gap:10px;background:var(--theme-panel, #fafafaf0);border:1px solid var(--line);padding:6px 10px;border-radius:12px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.canvas-topbar input{width:210px;border:0;background:none;padding:6px}.canvas-topbar button{border:0;background:none;font-size:12px}.canvas-tools{position:absolute;left:18px;top:25%;background:var(--theme-panel, #fff);border:1px solid var(--line);padding:6px;border-radius:14px;display:flex;flex-direction:column;gap:5px;box-shadow:0 8px 25px #00000008;z-index:5}.canvas-tools button{border:0;background:none;padding:10px;flex-direction:column;gap:5px}.canvas-tools button small{font-size:10px}.canvas-add-menu{position:absolute;left:80px;top:25%;padding:10px;display:flex;flex-direction:column;gap:3px;z-index:10;box-shadow:0 10px 25px #0001}.canvas-add-menu button{border:0;justify-content:flex-start}.canvas-empty{position:absolute;top:38%;left:50%;transform:translate(-50%);text-align:center;max-width:500px;pointer-events:none}.canvas-empty p{color:var(--theme-muted, #999);line-height:1.8}.canvas-empty button{pointer-events:auto}.flow-card{width:260px;min-height:175px;border:1px solid var(--theme-line, #dcdcdc);border-radius:10px;background:var(--theme-panel, #fff);box-shadow:0 3px 10px #00000005}.flow-card.selected{outline:2px solid var(--theme-line, #838383);outline-offset:3px}.flow-card header{display:flex;align-items:center;gap:7px;font-size:11px;height:32px;padding:0 10px;border-bottom:1px solid var(--theme-line, #f0f0f0)}.flow-card header span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.node-content{min-height:135px;max-height:210px;overflow:hidden}.node-content img,.node-content video{width:100%;height:175px;object-fit:contain;background:var(--theme-base, #f5f5f5)}.node-content p{padding:15px;font-size:12px;line-height:1.7;white-space:pre-wrap;max-height:200px;overflow:hidden}.node-placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;min-height:150px;color:var(--theme-muted, #bbb);font-size:11px}.flow-card footer{font-size:10px;padding:7px 12px;color:var(--theme-muted, #888);border-top:1px solid var(--theme-line, #eee)}.react-flow__handle{width:9px!important;height:9px!important;background:var(--theme-muted, #a6a6a6)!important;border:2px solid var(--theme-line, #fff)!important}.node-inspector{position:absolute;right:20px;top:84px;bottom:25px;width:330px;overflow:hidden;z-index:5;display:flex;flex-direction:column;box-shadow:0 12px 40px #00000009;background:var(--theme-panel, #fcfcfc)}.node-inspector>header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:12px 16px;flex-shrink:0}.node-inspector-body{padding:15px;overflow:auto;font-size:12px;display:flex;flex-direction:column;gap:6px}.node-inspector label{margin:5px 0}.node-inspector input,.node-inspector textarea{font-size:12px}.node-inspector textarea{min-height:90px}.node-inspector textarea.node-text{min-height:125px}.node-asset>img,.node-asset>video{width:100%;height:160px;object-fit:contain;background:var(--theme-base, #f0f0f0);border-radius:8px}.node-asset>.media-placeholder{height:100px}.node-asset>button{width:100%;margin-top:8px}.node-operations{display:flex;flex-wrap:wrap;gap:5px}.node-operations button,.node-operations a{font-size:10px;padding:6px 9px}.upstream{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0;margin:8px 0}.upstream>div{display:flex;align-items:center;justify-content:space-between;margin:6px 0;background:var(--theme-base, #eee);border-radius:7px;padding:3px 7px;font-size:11px}.upstream button{border:0;background:none;padding:4px}.upstream p{margin:8px 0 0;font-size:10px}.arrange-confirm{position:absolute;bottom:25px;left:50%;transform:translate(-50%);padding:10px 14px;display:flex;align-items:center;gap:12px;z-index:6;font-size:12px}@media(min-width:1650px){.scene-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.scene-caption{display:block}.scene-caption small{display:block;margin-top:7px}.studio-layout{grid-template-columns:470px 1fr 175px}}@media(max-width:1200px){.studio-layout{grid-template-columns:370px minmax(250px,1fr) 140px;padding:18px}.scene-caption{display:block}.scene-caption small{display:block;margin-top:7px}.assets-page,.canvas-list-page,.media-page{padding:30px}.library-nav{width:125px}.asset-filters{flex-wrap:wrap}}@media(max-width:1000px){.studio-layout{height:auto;min-height:100vh;grid-template-columns:minmax(300px,1fr) minmax(280px,1fr)}.editor-panel{min-height:720px}.queue-panel{grid-column:span 2;display:flex;gap:10px;flex-wrap:wrap;min-height:130px}.queue-panel header{width:100%}.queue-card{width:155px}.preview-panel{min-height:650px}.media-editor-layout{grid-template-columns:1fr 260px}.assets-workspace{gap:15px}.agent-session{padding:25px}.scene-grid{gap:15px}}@media(max-width:760px){.sidebar{inset:auto 0 0;width:100%;height:67px;border-top:1px solid var(--line);border-right:0;background:var(--theme-panel, #fafafafa)}.brand,.sidebar-bottom{display:none}.sidebar nav{height:100%;flex-direction:row;justify-content:space-around;gap:0}.sidebar nav a{font-size:10px;gap:4px;width:auto;min-width:45px;padding:7px}.sidebar nav a.active{background:none;color:var(--theme-text, #111)}.sidebar nav>a:nth-child(2){display:none}.app-main{margin-left:0;padding-bottom:67px}.home-composer{padding:15px}.composer-line{gap:9px}.home-composer textarea{font-size:12px}.add-reference{width:44px;height:51px}.scene-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.scene-art{height:120px;padding:15px}.art-text{font-size:20px;left:15px;bottom:25px}.scene-caption{padding:10px}.scene-caption strong{font-size:13px}.scene-section header{gap:12px}.scene-section h2{font-size:18px}.scene-section .muted{font-size:10px}.recent-actions{flex-wrap:wrap}.studio-layout{display:flex;flex-direction:column;padding:20px;gap:14px}.editor-panel{min-height:630px}.prompt-input{min-height:270px}.preview-panel{min-height:480px}.queue-panel{display:flex}.result-media{height:55vh}.asset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.asset-tile .thumb{height:150px}.picker-tools{gap:7px}.picker-tools select{max-width:150px}.picker-tools .search{flex-basis:100%}.modal{padding:18px}.skill-grid{grid-template-columns:1fr 1fr}.skill-grid button{padding:14px}.assets-page,.canvas-list-page,.media-page{padding:25px 18px}.page-heading{align-items:flex-start;gap:15px;flex-direction:column}.page-heading>div:last-child{flex-wrap:wrap}.assets-workspace{display:block}.library-nav{width:100%;flex-direction:row;overflow:auto;margin-bottom:20px}.library-nav>button{white-space:nowrap}.asset-main>.tabs{overflow:auto;gap:18px}.asset-filters input{width:100%}.asset-filters select{font-size:11px}.asset-actions button{font-size:9px}.media-editor-layout{display:flex;flex-direction:column}.media-stage{padding:14px}.media-player{max-height:50vh}.chat-page{display:block}.conversation-list{width:100%;border-right:0;border-bottom:1px solid var(--line);flex-direction:row;overflow:auto;padding:15px}.conversation-list button{white-space:nowrap}.agent-session{height:calc(100vh - 145px);padding:20px}.agent-session header h2{font-size:15px}.suggestions{justify-content:center}.canvas-topbar{left:10px;right:10px;gap:5px}.canvas-topbar>div{padding:5px;gap:3px}.canvas-topbar input{width:125px;font-size:12px}.canvas-topbar small,.canvas-topbar .muted{display:none}.canvas-topbar button{font-size:10px;padding:6px}.node-inspector{width:280px;right:10px;top:70px;bottom:60px}.canvas-tools{left:10px;top:20%}.canvas-tools button{padding:7px}.canvas-add-menu{left:62px;top:20%;max-width:230px}.canvas-empty{width:75%}.canvas-empty h2{font-size:18px}.canvas-empty p{font-size:12px}.arrange-confirm{bottom:15px;white-space:nowrap}.canvas-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.canvas-thumbnail{height:135px}.mini-nodes span{width:30px;height:45px}.mini-nodes i{width:12px}.canvas-card>div{padding:10px}.canvas-card strong{font-size:12px}.canvas-card small{font-size:9px}.toast{bottom:80px;width:max-content;max-width:88vw;font-size:12px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(min-width:761px){.scene-grid{display:flex;overflow-x:auto;padding-bottom:8px}.scene{flex:0 0 250px}.scene-caption{display:flex}.scene-caption small{margin:0}.scene-art{height:145px}.scene-section{margin-top:-10px}}.region-overlay.editable{pointer-events:auto;cursor:move;touch-action:none;z-index:3}.region-resize{position:absolute;right:-5px;bottom:-5px;width:12px;height:12px;background:var(--theme-panel, #fff);border:2px solid var(--theme-focus, #1682e9);cursor:nwse-resize;pointer-events:auto}.share-options{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.shared-canvas{height:100vh;padding:22px}.shared-canvas>header{display:flex;justify-content:space-between;align-items:center;height:70px}.shared-canvas h2{margin:0 0 6px}.shared-flow{height:calc(100vh - 120px);border:1px solid var(--theme-line, #e7e7e7);border-radius:16px;overflow:hidden}.home-recent .template-grid{margin:20px 0 35px}.template-grid span{text-align:left}.template-grid small{display:block;margin-top:5px}.row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.row button{display:inline-flex;gap:6px;align-items:center}.login-page{min-height:100vh;display:grid;place-items:center;padding:30px;background:var(--theme-base, #f5f5f5)}.login-card{width:min(480px,100%);background:var(--theme-panel, #fff);border:1px solid var(--theme-line, #e7e7e7);border-radius:22px;padding:32px;display:grid;gap:16px}.login-card h1{font-size:23px;margin:0}.login-card p{color:var(--theme-muted, #777);line-height:1.7;margin:0}.login-brand{font-size:23px;background:var(--theme-base, #e6f0ef);border-radius:12px;padding:9px;width:48px;text-align:center}.login-card fieldset,.talking-page fieldset{border:1px solid var(--theme-line, #e6e6e6);border-radius:12px;padding:15px;min-width:0}.login-card label,.talking-page label{display:flex;flex-direction:column;gap:7px;margin:12px 0;font-size:13px}.login-card input,.talking-page input:not([type=checkbox]):not([type=range]):not([type=color]),.talking-page select,.talking-page textarea{border:1px solid var(--theme-line, #e5e5e5);background:var(--theme-inset, #fafafa);border-radius:9px;padding:10px;min-width:0;width:100%;color:var(--theme-text, #262626);font:inherit}.talking-page textarea{resize:vertical;line-height:1.8}.talking-page label.check-label,.admin-page label.check-label{flex-direction:row;align-items:center;gap:8px}.login-card .primary{padding:12px}.admin-page{max-width:1100px;margin:auto;padding:35px}.admin-page>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.admin-page h1{margin:0}.admin-users{display:grid;gap:16px}.admin-users section{padding:20px}.permission-grid{display:flex;gap:14px;flex-wrap:wrap}.talking-page{padding:24px 24px 35px;max-width:1800px;margin:auto}.talking-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.talking-heading h1{font-size:20px;margin:0 0 6px}.talking-heading small{font-size:11px;color:var(--theme-muted, #909090)}.talking-heading button{padding:9px 12px}.talking-steps{display:flex;border-bottom:1px solid var(--theme-line, #e5e5e5);margin-bottom:18px;gap:20px;overflow:auto}.talking-steps button{white-space:nowrap;background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;padding:15px 5px;color:var(--theme-muted, #888);font-size:14px}.talking-steps span{font-size:11px;margin-right:9px;color:var(--theme-muted, #a4a4a4)}.talking-steps .active{color:var(--theme-text, #222);border-bottom-color:var(--theme-line, #222)}.talking-layout{display:grid;grid-template-columns:minmax(320px,420px) minmax(280px,1fr) 180px;gap:16px;align-items:start}.talking-editor{padding:20px;display:flex;flex-direction:column;gap:10px}.talking-editor>button{padding:11px}.talking-help{border:1px solid var(--theme-line, #e3e9e7);border-radius:11px;background:var(--theme-base, #f1f6f4);padding:13px;margin-bottom:6px}.talking-help summary{cursor:pointer;font-size:13px;font-weight:600}.talking-help p{font-size:12px;line-height:1.8;color:var(--theme-muted, #72817a);margin:10px 0 0}.talking-editor .tabs{overflow:auto;flex-shrink:0}.talking-editor .tabs button{white-space:nowrap}.talking-slot{display:flex;align-items:center;flex-wrap:wrap;gap:10px;border:1px dashed var(--theme-line, #ddd);background:var(--theme-panel, #f9fafa);border-radius:12px;min-height:80px;padding:15px!important;text-align:left}.talking-slot svg{width:25px;height:25px;color:var(--theme-muted, #7f9189)}.talking-slot small{width:100%;font-size:11px;color:var(--theme-muted, #999);margin-left:35px}.parameter-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.talking-audio{padding:12px;background:var(--theme-base, #f7f7f7);border-radius:10px;display:grid;gap:8px}.talking-audio audio{width:100%;height:38px}.talking-audio small{overflow-wrap:anywhere;color:var(--theme-muted, #888)}.talking-preview{padding:18px;min-height:560px;position:sticky;top:20px}.talking-preview>header,.talking-queue>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;font-size:13px}.talking-preview>header button{font-size:12px;padding:6px 8px}.talking-script-preview{max-width:620px;padding:28px;margin:auto}.talking-script-preview>span{color:var(--theme-muted, #9ca7a1);font-size:11px;letter-spacing:3px}.talking-script-preview p{font-size:16px;line-height:2.1;white-space:pre-wrap;overflow-wrap:anywhere}.talking-player{position:relative;max-height:65vh;max-width:100%;margin:0 auto;overflow:hidden;background:#161616;border-radius:12px}.talking-player video{height:100%;width:100%;display:block;object-fit:contain}.talking-player .caption-preview{position:absolute;bottom:12%;left:5%;right:5%;text-align:center;white-space:pre-wrap;pointer-events:none;text-shadow:1px 1px 2px #000,-1px -1px 2px #000;font-weight:700;z-index:2}.talking-player .smart-transition-preview{position:absolute;top:0;bottom:0;pointer-events:none;z-index:3;transition:opacity .05s linear,left .05s linear}.pip-preview{position:absolute;object-fit:fill;pointer-events:none}.talking-queue{padding:15px;position:sticky;top:20px;max-height:78vh;overflow:auto}.talking-final-step .talking-layout{grid-template-columns:minmax(320px,420px) minmax(420px,1fr) minmax(300px,360px)}.talking-final-step .talking-preview,.talking-final-step .talking-queue{min-height:620px}.talking-final-step .talking-queue{max-height:none}.talking-final-preview-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.talking-final-preview-card{display:grid;gap:8px;min-width:0}.talking-final-preview-card>header{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px}.talking-final-preview-card>header small{color:var(--theme-muted, #76867e);font-size:10px}.talking-final-portrait{width:100%;aspect-ratio:9 / 16;overflow:hidden;border-radius:10px;background:#101d1d;display:grid;place-items:center}.talking-final-portrait video,.talking-final-portrait img{width:100%;height:100%;display:block;object-fit:cover}.talking-final-cover{background:var(--theme-base, #edf4f1)}.talking-final-preview-empty{width:100%;aspect-ratio:9 / 16;border:1px dashed var(--theme-line, #cbdcd5);border-radius:10px;display:grid;place-items:center;align-content:center;gap:6px;padding:16px;box-sizing:border-box;text-align:center;color:var(--theme-muted, #76867e);font-size:11px}.talking-final-preview-action{width:100%;min-height:34px;display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;font-size:12px}.talking-final-settings{display:grid;gap:10px;padding:12px;border:1px solid var(--theme-line, #dbe7e2);border-radius:10px;background:var(--theme-base, #f2f7f5)}.talking-final-settings-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-bottom:8px;border-bottom:1px solid var(--theme-line, #dbe7e2)}.talking-final-settings-heading>div{display:grid;gap:3px}.talking-final-settings-heading small,.talking-final-settings-note,.talking-provider-pending{color:var(--theme-muted, #76867e);font-size:10px}.talking-provider-ready{color:var(--theme-accent, #0b7475);font-size:10px}.talking-final-status{color:var(--theme-accent, #0b7475);font-size:11px;font-weight:700}.talking-final-ratio-button{border:1px solid var(--theme-line, #cbdcd5);border-radius:6px;background:transparent;padding:4px 7px;cursor:pointer}.talking-final-ratio-button:hover,.talking-final-ratio-button:focus-visible{background:var(--theme-surface, #f1f7f5)}.talking-final-setting-row{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:7px;min-width:0;font-size:11px}.talking-final-setting-row select{width:100%;min-height:28px;padding:4px 7px;font-size:11px}.talking-subtitle-syncing{display:block;color:var(--theme-accent, #0b7475);font-size:10px}.talking-final-setting-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--theme-text, #234)}.talking-final-setting-actions{display:flex;justify-content:space-between;align-items:center;gap:7px;flex-wrap:wrap}.talking-final-setting-actions button{min-height:28px;padding:4px 10px;font-size:11px}.talking-final-cover-top-row,.talking-final-cover-source-row{display:flex;align-items:center;gap:7px;width:100%;min-width:0}.talking-final-cover-top-row{min-height:30px}.talking-final-cover-label{flex:0 0 auto;font-size:11px;font-weight:700;color:var(--theme-text, #234)}.talking-final-cover-top-row button,.talking-final-cover-source-row button{min-height:28px;padding:4px 10px;font-size:11px;white-space:nowrap}.talking-final-cover-style-button{flex:0 0 auto}.talking-final-cover-style-name{min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:var(--theme-muted, #65766f)}.talking-final-cover-preset-button{flex:0 0 auto}.talking-final-cover-source-row{margin-top:7px}.talking-final-cover-source-row button{flex:1 1 0;color:var(--theme-text, #234);background:var(--theme-surface, #f1f7f5);border:1px solid var(--theme-border, #c2d9d1)}.talking-final-cover-source-row button.is-active{color:#fff;background:var(--theme-accent, #0b7475);border-color:var(--theme-accent, #0b7475)}.talking-final-cover-generate-row{display:flex;width:100%;flex-direction:column;gap:4px}.talking-final-cover-generate-row button{width:100%;min-height:34px}.talking-credit-estimate{display:inline-flex;align-items:center;justify-content:center;min-height:18px;color:var(--theme-link, #0b6f73);font-size:11px;font-weight:700;line-height:1.2;white-space:nowrap}.talking-final-settings-note{margin:0;line-height:1.5}.talking-final-publish-settings{margin-top:12px}.talking-cover-preset-section{display:grid;gap:7px;margin-bottom:14px}.talking-cover-preset-section>strong{font-size:12px;color:var(--theme-text, #234)}.talking-cover-preset-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.talking-cover-preset-options button{position:relative;min-height:48px;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px 10px;border:1px solid var(--theme-border, #c2d9d1);border-radius:8px;background:var(--theme-surface, #f7faf9);color:var(--theme-text, #234);cursor:pointer}.talking-cover-preset-options button.is-selected{border-color:var(--theme-accent, #0b7475);box-shadow:0 0 0 1px var(--theme-accent, #0b7475);background:color-mix(in srgb,var(--theme-accent, #0b7475) 9%,white)}.talking-cover-preset-options button span{font-weight:700}.talking-cover-preset-options button small{color:var(--theme-muted, #65766f)}.talking-cover-preset-options button b{position:absolute;top:4px;right:6px;color:var(--theme-accent, #0b7475)}.talking-cover-format-options,.talking-cover-size-options{grid-template-columns:repeat(2,minmax(0,1fr))}.talking-cover-size-options button{flex-direction:column;min-height:72px}.talking-cover-preset-options button{background:var(--theme-inset, #0a1d2d);color:var(--theme-text, #e0eeeb)}.talking-cover-preset-options button.is-selected{background:var(--theme-action, #054647);color:var(--theme-bright, #e0eeeb)}.talking-cover-preset-options button:hover{background:var(--theme-action-hover, #125e60);color:var(--theme-bright, #e0eeeb)}.talking-cover-ratio-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.talking-cover-ratio-options button{position:relative;display:grid;justify-items:center;align-content:center;gap:7px;min-height:104px;padding:10px 7px;border:1px solid var(--theme-border, #c2d9d1);border-radius:8px;background:var(--theme-surface, #f7faf9);color:var(--theme-text, #234);cursor:pointer}.talking-cover-ratio-options button.is-selected{border-color:var(--theme-accent, #0b7475);box-shadow:0 0 0 1px var(--theme-accent, #0b7475);background:color-mix(in srgb,var(--theme-accent, #0b7475) 9%,white)}.talking-cover-ratio-options button>b{position:absolute;top:5px;right:7px;color:var(--theme-accent, #0b7475)}.talking-cover-ratio-preview{width:40px;max-height:52px;border:2px solid var(--theme-accent, #0b7475);border-radius:3px;background:var(--theme-base, #e8f2ee)}.cover-style-gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;max-height:62vh;overflow:auto;padding:2px}.cover-style-card{position:relative;min-height:150px;display:grid;align-content:center;justify-items:center;gap:7px;padding:14px 9px;border:2px solid;border-radius:10px;box-shadow:inset 0 0 0 999px #ffffff12;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}.cover-style-card:hover,.cover-style-card.is-selected{transform:translateY(-2px);box-shadow:0 0 0 2px var(--theme-accent, #0b7475),0 6px 16px #163d3822}.cover-style-card-mark{font-size:25px;line-height:1}.cover-style-card strong{font-size:13px}.cover-style-card small{font-size:10px;opacity:.75}.cover-style-card em{position:absolute;right:7px;top:7px;padding:3px 5px;border-radius:4px;background:var(--theme-accent, #0b7475);color:#fff;font-size:9px;font-style:normal}.talking-platform-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding-top:4px}.talking-platform-list>strong,.talking-platform-list>small{grid-column:1/-1}.talking-platform-list>strong{font-size:12px}.talking-platform-list>small{color:var(--theme-muted, #76867e);font-size:10px}.talking-platform-placeholder{display:flex;justify-content:space-between;align-items:center;gap:6px;width:100%;min-height:30px;padding:5px 8px;border:1px solid #d5dcd9;background:#edf0ef;color:#8b9691;cursor:not-allowed;font-size:11px}.talking-platform-placeholder small{color:#a1aaa6;font-size:9px}.talking-publish-disabled{width:100%;min-height:32px;border-color:#d5dcd9;background:#e9edeb;color:#89938e;cursor:not-allowed;font-size:11px}.talking-cover-publish-panel{display:grid;gap:12px}.talking-cover-publish-heading{display:flex;justify-content:space-between;align-items:start;border-bottom:1px solid var(--theme-line, #e3e9e7);padding-bottom:10px}.talking-cover-publish-heading div{display:grid;gap:4px}.talking-cover-publish-heading small,.talking-cover-hint{color:var(--theme-muted, #76867e);font-size:11px}.talking-cover-one-click{width:100%;padding:10px 12px}.talking-cover-saved{display:grid;gap:8px;justify-items:start;border:1px solid var(--theme-line, #dbe7e2);border-radius:10px;padding:10px;background:var(--theme-base, #f2f7f5)}.talking-cover-saved img{display:block;width:min(100%,220px);max-height:300px;object-fit:contain;border-radius:7px;background:#0e2525}.talking-cover-saved span{font-size:11px;color:var(--theme-muted, #76867e)}.talking-cover-empty{display:grid;place-items:center;min-height:120px;border:1px dashed var(--theme-line, #ccdcd6);border-radius:10px;color:var(--theme-muted, #76867e);font-size:11px;text-align:center}.talking-cover-publish-panel textarea{min-height:58px}.talking-queue article{padding:12px 0;border-top:1px solid var(--theme-line, #eee);display:grid;gap:7px}.talking-queue b{font-size:12px;overflow-wrap:anywhere}.talking-queue small{color:var(--theme-muted, #9a9a9a);font-size:11px}.talking-queue p{font-size:11px;color:var(--theme-muted, #888);line-height:1.7}.talking-queue button{padding:5px 8px;font-size:11px}.talking-editor .inline-notice video,.talking-editor img{max-width:100%;max-height:280px;object-fit:contain}.guide-list{display:grid;gap:15px}.guide-list article{display:flex;gap:15px;border:1px solid var(--theme-line, #eee);border-radius:12px;padding:15px}.guide-list article>span{color:var(--theme-muted, #85a093)}.guide-list h3{margin:0 0 8px;font-size:14px}.guide-list p{margin:0;font-size:13px;line-height:1.8;color:var(--theme-muted, #888)}.profile-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.voice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-height:55vh;overflow:auto;padding:10px 0}.voice-grid article{padding:15px;border:1px solid var(--theme-line, #e7e7e7);border-radius:13px}.voice-grid p{font-size:12px;line-height:1.7;color:var(--theme-muted, #888);min-height:42px}.recorder{display:grid;gap:18px;margin:20px 0}.recorder audio{width:100%}.subtitle-lines{max-height:280px;overflow:auto;margin:12px 0}.subtitle-lines>div{display:grid;grid-template-columns:65px 65px minmax(100px,1fr) 46px;gap:7px;margin-bottom:9px}.subtitle-lines button{font-size:11px}.pip-form{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.pip-form img{width:90px;height:70px;object-fit:cover;grid-column:1/-1}.history-row{display:flex;flex-wrap:wrap;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--theme-line, #eee);gap:12px;font-size:13px}.scene-3 .scene-art{background:#dce5e0}.scene-6 .scene-art{background:#dbd1df}@media(max-width:1250px){.talking-layout{grid-template-columns:minmax(280px,380px) minmax(260px,1fr)}.talking-final-step .talking-layout{grid-template-columns:minmax(280px,380px) minmax(320px,1fr) minmax(260px,320px)}.talking-queue{grid-column:1/-1;position:static;max-height:260px;display:flex;gap:16px;overflow:auto}.talking-queue article{min-width:150px;max-width:200px}.talking-queue>header{min-width:80px;align-items:flex-start}.talking-final-step .talking-queue{grid-column:auto;display:block;max-height:none;overflow:auto}.talking-heading{flex-wrap:wrap}}@media(max-width:760px){.talking-page{padding:16px 12px 85px}.talking-layout{grid-template-columns:1fr}.talking-preview{position:static;min-height:250px}.talking-steps{gap:14px}.talking-steps button{font-size:12px}.talking-heading h1{font-size:18px}.talking-heading button{font-size:12px}.talking-player{max-height:450px}.cover-style-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.talking-queue{grid-column:auto}.talking-editor{padding:16px}.voice-grid{grid-template-columns:1fr 1fr}.profile-fields{grid-template-columns:1fr}.admin-page{padding:20px}.scene-grid{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px}.scene{flex:0 0 78%;scroll-snap-align:start}.scene-caption{display:flex}.scene-section{overflow:hidden}.scene-caption small{white-space:normal}}.mobile-account{display:none}@media(max-width:760px){.sidebar nav .mobile-account{display:flex;flex-direction:column;align-items:center;gap:4px;padding:7px;border:0;background:transparent;font-size:10px;min-width:45px}}.public-showcase{margin:30px 0}.public-showcase h2{font-size:19px}.showcase-row{display:flex;gap:16px;overflow-x:auto;padding:8px 0 16px;scroll-snap-type:x proximity}.showcase-card{flex:0 0 228px;border:1px solid var(--theme-line, #e6e7eb);border-radius:16px;overflow:hidden;background:var(--theme-panel, white);scroll-snap-align:start;min-width:0}.showcase-cover{height:155px;background:var(--theme-base, #f3f4f7);overflow:hidden}.showcase-cover>img,.showcase-cover>video{height:100%;width:100%;object-fit:cover}.showcase-cover .scene-art{height:100%;width:100%;position:relative}.showcase-caption{padding:14px}.showcase-caption>strong{font-size:15px}.showcase-caption>p{font-size:12px;line-height:1.6;color:var(--theme-muted, #737884);min-height:38px;white-space:pre-wrap;overflow-wrap:anywhere}.showcase-caption button{font-size:12px;padding:7px 9px}.showcase-detail{display:grid;gap:20px}.showcase-detail.comparison{grid-template-columns:1fr 1fr}.showcase-detail img,.showcase-detail video{width:100%;max-height:65vh;object-fit:contain;border-radius:12px;background:var(--theme-base, #f4f5f7)}.preview-panel .public-showcase{border-top:1px solid var(--theme-line, #e6e7eb);padding-top:12px}@media(max-width:650px){.showcase-detail.comparison{grid-template-columns:1fr}.showcase-card{flex-basis:210px}}.purpose-section{margin:0 0 38px}.purpose-section>header{display:flex;align-items:center;gap:18px;margin:0 0 18px}.purpose-section h2{font-size:20px;margin:0}.purpose-section header p{font-size:12px;color:var(--theme-muted, #858585);margin:0}.purpose-carousel{position:relative}.purpose-strip{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0 0 6px}.purpose-strip::-webkit-scrollbar{display:none}.purpose-card{flex:0 0 250px;display:block;padding:0;border:0;border-radius:12px;background:var(--theme-panel, #ffffffb3);overflow:hidden;text-align:left;scroll-snap-align:start;cursor:pointer;transition:box-shadow .18s}.purpose-card:hover{box-shadow:0 5px 16px #0000000d}.purpose-card:focus-visible{outline:2px solid var(--accent, #0085f2);outline-offset:-2px}.purpose-cover{display:block;height:140px;position:relative;border-top-left-radius:inherit;border-top-right-radius:inherit}.hover-media{display:block;position:relative;width:100%;height:100%;overflow:hidden}.hover-media>img,.hover-media>video{width:100%;height:100%;object-fit:cover;display:block}.hover-media>video{position:absolute;inset:0;pointer-events:none;transition:opacity .15s}.purpose-play{position:absolute;right:8px;top:8px;width:22px;height:22px;background:#0006;color:var(--theme-bright, #fff);border-radius:50%;display:grid;place-items:center;pointer-events:none}.purpose-caption{display:flex;align-items:center;gap:8px;padding:10px 14px;white-space:nowrap;height:40px;position:relative}.purpose-caption>svg,.purpose-caption>strong{flex-shrink:0}.purpose-caption strong{font-size:15px;font-weight:500}.purpose-caption small{font-size:10px;color:var(--theme-muted, #777);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.purpose-enter{position:absolute;right:10px;opacity:0;background:var(--theme-panel, #fff);box-shadow:-10px 0 10px var(--theme-panel, #fff);transition:opacity .15s}.purpose-card:hover .purpose-enter,.purpose-card:focus-visible .purpose-enter{opacity:1}.purpose-scroll{position:absolute;top:60px;padding:0;width:32px;height:32px;border-radius:50%;box-shadow:0 2px 10px #0002;opacity:0;z-index:2}.purpose-carousel:hover .purpose-scroll,.purpose-scroll:focus-visible{opacity:1}.purpose-scroll.previous{left:-15px}.purpose-scroll.next{right:-15px}.discovery{margin:0 0 30px}.discovery-tabs{display:flex;gap:8px;margin:0 0 24px}.discovery-tabs button{border:0;background:transparent;color:var(--theme-muted, #999);font-size:14px;padding:4px 14px;border-radius:20px}.discovery-tabs button[aria-selected=true]{background:var(--theme-inset, #eaeaea);color:var(--theme-text, #222)}.discovery-grid{column-count:5;column-gap:10px}.discovery-card{break-inside:avoid;display:inline-block;width:100%;margin:0 0 16px;vertical-align:top}.discovery-cover{display:block;width:100%;padding:0;border:0;border-radius:12px;overflow:hidden;position:relative;background:var(--theme-base, #e9eaec);max-height:520px}.discovery-cover:focus-visible{outline:2px solid var(--theme-focus, #08bace)}.discovery-kind{position:absolute;bottom:9px;left:10px;border-radius:5px;background:#0007;color:var(--theme-bright, #fff);padding:4px;display:flex;pointer-events:none}.discovery-caption{display:flex;gap:5px;align-items:start;padding:9px 2px 0}.discovery-title{display:block;padding:0;text-align:left;border:0;background:none;font-size:12px;line-height:1.7;overflow:hidden;flex:1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.discovery-title small{font-size:inherit;color:var(--theme-muted, #777)}.discovery-like{padding:3px;border:0;background:none;color:var(--theme-muted, #999)}.discovery-like.liked{color:var(--theme-error, #e46683)}.discovery-empty{color:var(--theme-muted, #999);padding:60px 0;text-align:center}.discovery.compact{padding:18px 10px}.discovery.compact .discovery-grid{column-count:3}.example-dialog{padding:0;border:1px solid var(--theme-line, #ffffff99);border-radius:12px;width:min(1024px,calc(100vw - 64px));height:min(620px,calc(100dvh - 100px));max-width:none;max-height:none;overflow:hidden;background:var(--theme-panel, #fafafa);color:var(--theme-text, #171717)}.example-dialog[open]{display:grid;grid-template-columns:60% 40%}.example-dialog::backdrop{background:#52596677;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.example-media{display:flex;justify-content:center;align-items:center;background:#131616;height:100%;min-height:0;padding:10px}.example-media>img,.example-media>video{width:100%;height:100%;object-fit:contain}.example-info{padding:14px 16px 16px;display:flex;flex-direction:column;min-height:0;overflow:hidden}.example-info>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.example-remix{background:var(--theme-action, #232427);color:var(--theme-bright, white);font-size:12px;border:0;border-radius:18px;padding:7px 12px}.example-close{border:0;background:none;margin-left:auto}.example-info h3{font-size:15px;margin:0 0 6px}.example-description{font-size:13px;color:var(--theme-muted, #909090);margin:0 0 8px}.example-parameters{display:flex;gap:8px;color:var(--theme-muted, #8b8b8b);font-size:12px}.example-parameters span+span{border-left:1px solid var(--theme-line, #ddd);padding-left:8px}.example-info h4{font-size:14px;margin:18px 0 10px;display:flex;align-items:center;justify-content:space-between}.example-info h4 small{font-size:12px;color:var(--theme-muted, #888);font-weight:400}.example-info h4 button{background:none;border:0;font-size:12px;color:var(--theme-muted, #888);padding:0}.example-refs{display:flex;gap:8px;overflow-x:auto;flex-shrink:0;padding-bottom:4px}.example-refs>button{width:88px;height:88px;flex-shrink:0;padding:0;position:relative;border:0;border-radius:8px;overflow:hidden}.example-refs img{width:100%;height:100%;object-fit:cover}.example-refs span{position:absolute;left:3px;top:4px;padding:2px 3px;background:#0008;color:var(--theme-bright, white);font-size:10px;border-radius:3px}.example-prompt{overflow:auto;background:var(--theme-base, #f1f2f3);flex:1;border-radius:10px;font-size:13px;line-height:1.9;padding:14px;white-space:pre-wrap;overflow-wrap:anywhere;min-height:70px}.example-dialog.canvas-example[open]{display:flex;flex-direction:column;width:calc(100vw - 80px);height:calc(100dvh - 80px)}.example-canvas-header{display:flex;gap:16px;align-items:center;padding:14px 20px;border-bottom:1px solid var(--theme-line, #e8e8e8)}.example-canvas-header h2{font-size:16px;margin:0;flex:1}.example-canvas-header>span{color:var(--theme-muted, #999);font-size:12px}.example-canvas-flow{flex:1;min-height:0;background:var(--theme-base, #f2f3f5)}.example-canvas-poster{height:100%;display:flex;flex-direction:column;align-items:center;padding:20px}.example-canvas-poster>img,.example-canvas-poster>video{height:calc(100% - 55px);max-width:100%;object-fit:contain}.example-canvas-poster p{font-size:13px;color:var(--theme-muted, #999)}.example-node{width:320px;background:var(--theme-panel, #fff);border:1px solid var(--theme-line, #ddd);border-radius:12px;overflow:hidden}.example-node header{display:flex;align-items:center;gap:8px;padding:10px;font-size:13px}.example-node img,.example-node video{width:100%;display:block;max-height:540px;object-fit:contain}.example-node p{white-space:pre-wrap;font-size:12px;padding:15px;max-height:260px;overflow:auto}.depth-example-stage{display:flex;flex-direction:column;justify-content:center;min-height:75vh;text-align:center;padding:30px}.depth-example-stage .showcase-row{justify-content:center;flex-wrap:wrap}.depth-example-stage .showcase-card{flex:1;border:0;background:transparent;max-width:600px}.depth-example-stage .showcase-cover{height:auto;aspect-ratio:5/3}.depth-example-stage .showcase-caption{display:none}.depth-example-stage>p{font-size:13px;color:var(--theme-muted, #888)}.set-example-carousel{padding:40px 30px;text-align:center}.set-example-carousel h2{font-size:20px}.set-example-carousel p{font-size:13px;color:var(--theme-muted, #888)}.set-example-slide{position:relative;max-width:520px;height:65vh;margin:20px auto}.set-example-slide>img{height:100%;width:100%;object-fit:contain;border-radius:12px}.set-example-slide>button{position:absolute;top:50%;border-radius:50%;width:34px;height:34px;padding:5px}.set-example-slide>button:nth-of-type(1){left:0}.set-example-slide>button:nth-of-type(2){right:0}.set-example-dots{display:flex;justify-content:center;gap:6px}.set-example-dots button{width:7px;height:7px;padding:0;border:0;border-radius:50%;background:var(--theme-hover, #d4d4d4)}.set-example-dots button[aria-pressed=true]{background:var(--theme-action, #222)}@media(max-width:1200px){.discovery-grid{column-count:4}.discovery.compact .discovery-grid{column-count:2}}@media(max-width:900px){.discovery-grid{column-count:3}.purpose-card{flex-basis:230px}.purpose-cover{height:130px}.example-dialog{width:calc(100vw - 32px);grid-template-columns:55% 45%}}@media(max-width:600px){.purpose-section>header{gap:10px;align-items:baseline}.purpose-section h2{font-size:18px}.purpose-section header p{font-size:10px}.purpose-strip{gap:12px}.purpose-card{flex-basis:205px}.purpose-cover{height:116px}.purpose-caption{padding:9px;gap:6px}.purpose-caption strong{font-size:13px}.purpose-caption small{display:none}.purpose-enter{position:static;opacity:1;margin-left:auto;background:none;box-shadow:none}.purpose-scroll{opacity:1;top:50px}.discovery-grid{column-count:2}.discovery-tabs{margin-bottom:16px}.discovery-tabs button{font-size:13px;padding:5px 12px}.example-dialog[open]{display:flex;flex-direction:column;width:calc(100vw - 20px);height:calc(100dvh - 40px)}.example-media{height:45%;flex-shrink:0}.example-info{flex:1}.example-dialog.canvas-example[open]{width:calc(100vw - 20px);height:calc(100dvh - 30px)}.example-canvas-header{gap:8px;padding:10px}.example-canvas-header h2{font-size:13px}.example-canvas-header>span{display:none}.example-close{position:absolute;right:8px;top:8px;background:var(--theme-panel, #fffd);z-index:3}.example-canvas-header .example-close{position:static}.example-canvas-header .example-remix{font-size:11px;white-space:nowrap}.depth-example-stage{padding:12px}.discovery-title{font-size:11px}}.discovery-grid{--gallery-columns: 5;display:grid;grid-template-columns:repeat(var(--gallery-columns),minmax(0,1fr));gap:10px;column-count:unset}.discovery-column{min-width:0}.discovery.compact .discovery-grid{--gallery-columns: 3;column-count:unset}@media(max-width:1200px){.discovery-grid{--gallery-columns: 4}.discovery.compact .discovery-grid{--gallery-columns: 2}}@media(max-width:900px){.discovery-grid{--gallery-columns: 3}}@media(max-width:600px){.discovery-grid{--gallery-columns: 2}}.depth-example-stage>h2{font-size:20px;margin:0}.depth-example-stage>p{margin:10px 0 24px}.depth-example-stage>img{width:100%;max-width:530px;max-height:380px;object-fit:contain;align-self:center;border-radius:10px}.set-example-carousel{min-height:80vh;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:25px}.set-example-carousel h2{margin:0}.set-example-carousel p{margin:10px 0 18px}.set-example-slide{height:310px;width:min(310px,100%);margin:0 auto 12px}.set-example-slide>button{opacity:0;transition:opacity .15s}.set-example-slide:hover>button,.set-example-slide>button:focus-visible{opacity:1}.set-example-dots button[aria-pressed=true]{width:20px;border-radius:5px}.set-module-heading{display:flex;justify-content:space-between;font-size:12px;margin:12px 0 8px}.set-module-heading span{color:var(--theme-muted, #888)}.set-modules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}.set-module{position:relative;background:var(--theme-base, #eee);border:1px solid var(--theme-line, #e5e5e5);border-radius:7px;min-height:58px;padding-left:49px}.set-module.selected{background:var(--theme-inset, white)}.set-module>button{display:block;padding:9px 4px 0 0;border:0;background:none;font-size:11px;white-space:nowrap;width:100%;text-align:left}.set-module img{position:absolute;width:39px;height:39px;left:7px;top:9px;border-radius:4px;object-fit:cover}.set-module:not(.selected) img{opacity:.5}.set-module label{display:flex!important;align-items:center;gap:0!important;font-size:10px!important;color:var(--theme-muted, #888);line-height:20px;margin:2px 0 5px!important}.set-module input{padding:0!important;width:30px!important;border:0!important;background:transparent!important;font-size:11px;color:var(--theme-text, #222)}.set-module strong{font-weight:500}@media(max-width:600px){.set-example-carousel{min-height:60vh}.set-example-slide>button{opacity:1}}.example-node{width:100%;height:100%;display:flex;flex-direction:column}.example-node>header{flex-shrink:0}.example-node>img,.example-node>video{flex:1;min-height:0;max-height:none;object-fit:contain}.example-node>p{flex:1;min-height:0;max-height:none;overflow:auto;margin:0}.example-prompt{white-space:pre-wrap}.studio-location{display:flex;align-items:center;gap:9px}.studio-location>.text-button{font-size:13px;font-weight:600}.studio-depth .editor-header,.studio-set .editor-header{height:40px}.depth-reference-upload{flex:1;min-height:180px;display:flex;flex-direction:column;justify-content:center;gap:10px;border:1px solid var(--theme-line, #eeeeee);border-radius:8px;background:transparent;color:var(--theme-text, #555);margin:5px 0 14px;padding:20px}.depth-reference-upload strong{font-size:12px}.depth-reference-upload small{font-size:10px;color:var(--theme-muted, #888)}.studio-depth .save-status,.studio-set .prompt-toolbar{display:none}.studio-set .prompt-box{border:0;background:transparent;padding:0}.studio-set .prompt-input{margin-top:12px;padding:10px;border:1px solid var(--theme-line, #eee);border-radius:9px;background:var(--theme-inset, #fff)}.studio-set .save-status{display:none}.depth-example-stage{min-height:84vh}.studio-depth .prompt-box{padding:12px 16px}.studio-set .material-slots{margin-top:10px}.set-module label{flex-direction:row!important;justify-content:flex-start!important}.set-module input{height:20px!important;min-height:0!important}.set-inline-options{display:grid;grid-template-columns:1fr 1fr;gap:7px}.set-inline-options>label{display:flex!important;flex-direction:row!important;align-items:center;font-size:11px!important;color:var(--theme-muted, #888);white-space:nowrap;gap:5px!important;border:1px solid var(--theme-line, #e8e8e8);border-radius:8px;padding:0 8px;margin:0!important;height:35px}.set-inline-options select{background:transparent;border:0;font-size:11px;padding:3px;min-width:0;flex:1;height:30px}.queue-toggle{background:transparent;border:0;padding:0;gap:5px;font-size:12px;white-space:nowrap}.studio-layout.queue-collapsed{grid-template-columns:minmax(350px,465px) minmax(320px,1fr) 42px}.queue-collapsed .queue-panel{padding:10px 5px}.queue-collapsed .queue-toggle{writing-mode:vertical-rl;gap:10px}.queue-collapsed .queue-toggle svg{transform:rotate(180deg)}@media(max-width:900px){.studio-layout.queue-collapsed{grid-template-columns:1fr}.queue-collapsed .queue-toggle{writing-mode:horizontal-tb}.queue-collapsed .queue-panel{min-height:44px}}.app-main{min-width:0}.home-composer{width:100%;max-width:840px;min-height:146px}.purpose-section{min-width:0;width:100%;margin-bottom:38px}.purpose-section>header{min-height:28px;margin-bottom:12px}.purpose-section h2{line-height:28px}.purpose-card{flex-basis:250px}.purpose-cover{height:140px}.studio-layout,.processing-layout{--editor-track: minmax(464px, .51fr);--queue-track: clamp(160px, 11vw, 196px);width:calc(100% - clamp(24px,4vw,56px));max-width:1920px;margin-inline:auto;padding:24px 8px;height:100dvh;display:grid;grid-template-columns:var(--editor-track) minmax(0,1fr) var(--queue-track);grid-template-rows:minmax(0,1fr);gap:12px}.studio-layout.queue-collapsed,.processing-layout.queue-collapsed{grid-template-columns:var(--editor-track) minmax(0,1fr) 42px}.studio-layout>*,.processing-layout>*{min-width:0;min-height:0}.editor-panel,.preview-panel,.queue-panel{min-width:0}.studio-layout .editor-panel{min-height:0}.studio-layout .preview-panel{min-height:0;overflow:auto}.studio-layout .queue-panel{display:block;grid-column:auto;min-height:0;overflow:auto}.studio-layout .queue-card{width:100%}.depth-example-stage,.set-example-carousel{min-height:0;height:calc(100% - 44px);justify-content:center}.depth-example-stage>img{max-width:100%;max-height:52vh}.assets-page,.canvas-list-page,.credit-account{width:100%;max-width:min(1520px,calc(100% - 56px));padding:24px 40px;margin-inline:auto;min-width:0}.page-heading{margin:0 0 24px;align-items:center;flex-wrap:wrap;gap:12px}.assets-page .page-heading h1,.canvas-list-page .page-heading h1{font-size:18px;line-height:28px;margin:0}.assets-page .page-heading p,.canvas-list-page .page-heading p{display:none}.assets-workspace{flex-direction:column;gap:24px}.library-nav{width:100%;display:flex;flex-direction:row;overflow-x:auto;gap:12px;padding-bottom:8px;min-height:180px}.library-nav>button{flex:0 0 210px;min-height:170px;border:1px solid var(--line);border-radius:16px;background:var(--theme-panel, #fafafa);flex-direction:column;justify-content:center}.library-nav>button>svg{width:32px;height:32px}.library-nav>button span{text-align:center}.asset-main{display:flex;flex-wrap:wrap;gap:20px 12px}.asset-main>.tabs{flex:1 1 auto;padding:0;flex-wrap:wrap;gap:4px}.asset-main>.asset-filters{flex:0 1 auto;flex-wrap:wrap;gap:8px}.asset-main .asset-filters .search{order:1;width:180px}.asset-main .asset-filters select[aria-label=来源筛选]{order:0}.asset-main .asset-filters>button{order:2}.asset-main .asset-filters select[aria-label=资产排序]{order:3;max-width:128px}.asset-main>.asset-grid,.asset-main>.batch-bar,.asset-main>.empty{flex:0 0 100%;width:100%;margin:0}.asset-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.asset-upload-tile{min-height:180px;display:flex}.asset-upload-tile>button{width:100%;min-height:180px;flex-direction:column;border-radius:14px;background:var(--theme-base, #eee)}.asset-upload-tile svg{width:28px;height:28px}.canvas-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:0}.canvas-new-card{min-height:240px;flex-direction:column;background:var(--theme-base, #eee);border-radius:16px}.canvas-new-card svg{width:30px;height:30px}.canvas-new-card small{color:var(--muted)}.canvas-list-page{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px}.canvas-list-page>.canvas-tutorials{grid-column:1 / -1;margin-bottom:16px}.canvas-list-page>.page-heading{margin-bottom:0}.canvas-list-page>.asset-filters{margin:0}.canvas-list-page>.asset-filters input{width:150px}.canvas-list-page>.asset-filters input,.canvas-list-page>.asset-filters button,.canvas-list-page>.page-heading button{height:28px;padding:4px 8px;font-size:12px}.canvas-list-page>.canvas-grid,.canvas-list-page>h2,.canvas-list-page>.template-grid{grid-column:1 / -1}.canvas-tutorials{margin-bottom:32px}.canvas-tutorials>header{display:flex;align-items:center;gap:8px;height:28px;margin-bottom:16px}.canvas-tutorials h2{font-size:18px;margin:0}.canvas-tutorial-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.canvas-tutorial-grid>button{position:relative;aspect-ratio:2;padding:0;overflow:hidden;border:0;border-radius:16px}.canvas-tutorial-grid img{width:100%;height:100%;object-fit:cover}.canvas-tutorial-grid span{position:absolute;inset:auto 12px 12px auto;border-radius:50%;padding:6px;color:var(--theme-bright, white);background:#0006}.modal:has(.canvas-tutorial-player){width:min(1100px,calc(100vw - 48px));padding:12px}.canvas-tutorial-player video{display:block;width:100%;max-height:75dvh;background:#000}.chat-page{height:100dvh;min-width:0}.conversation-list{width:256px;padding:30px 20px;flex-shrink:0;background:var(--theme-panel, white)}.conversation-heading{display:flex;justify-content:space-between;align-items:center}.chat-page.history-collapsed .conversation-list{width:56px;padding:22px 8px}.chat-page.history-collapsed .conversation-heading>strong,.chat-page.history-collapsed .conversation-list>button{display:none}.agent-session{width:0;min-width:0;max-width:none;margin:0;padding:24px 16px 36px;height:100dvh}.agent-session>header,.agent-session>.messages,.agent-composer{width:100%;max-width:840px;margin-inline:auto}.agent-composer{flex-shrink:0}.processing-page{max-width:none;padding:0;margin:0}.editing-page{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;margin:0;padding:0;z-index:40;background:var(--theme-base, #f4f4f5);overflow:hidden}.editing-page .media-shell,.editing-page .media-editing-content{height:100%}.editing-page .page-heading{height:56px;margin:0;padding:0 16px;border-bottom:1px solid var(--line);background:var(--theme-panel, #fff);flex-wrap:nowrap}.editing-page .page-heading p{display:none}.editing-page .page-heading button{font-size:12px;padding:7px 10px}.editing-page .media-editor-layout{display:grid;grid-template-columns:320px minmax(0,1fr) 360px;gap:8px;padding:8px;height:calc(100% - 56px - min(334px,35dvh))}.editing-page .media-stage{padding:8px;display:flex;flex-direction:column;justify-content:center;overflow:hidden}.editing-page .media-player{max-height:100%;min-height:0}.editing-page .media-player>video{max-height:100%;width:100%}.editing-page .media-options{overflow-y:auto}.editing-page .media-options>.generate{display:none}.editing-assets{padding:16px;overflow-y:auto}.editing-assets h2{margin:0 0 12px;font-size:14px}.editing-assets>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.editing-assets article{min-width:0;background:var(--theme-base, #f5f5f5);border-radius:10px;padding:8px}.editing-assets video,.editing-assets img{width:100%;height:84px;object-fit:contain}.editing-assets strong{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editing-assets article button{width:100%;padding:4px;font-size:11px;margin-top:6px}.editing-page .timeline{position:absolute;left:8px;right:8px;bottom:48px;height:calc(min(334px,35dvh) - 56px);margin:0;padding:24px;border:1px solid var(--line);border-radius:8px;background:var(--theme-panel, #fff);overflow-x:auto}.editing-page .timeline-track{min-height:60px}.editing-page .clip-list{position:absolute;left:8px;right:8px;bottom:8px;height:32px;display:flex;gap:8px;margin:0;overflow-x:auto}.editing-page .clip-list>div{flex:0 0 auto;font-size:11px}.editing-empty-timeline{display:flex;flex-direction:column;justify-content:center;color:var(--muted)}.editing-options-toggle{display:none}@media(max-width:1023px){.editing-page .media-editor-layout{grid-template-columns:minmax(0,1fr)}.editing-assets,.editing-page .media-options{display:none}.editing-page .editing-options-toggle{display:inline-flex}.editing-page.options-open .media-options{display:block;position:absolute;right:8px;top:64px;bottom:min(334px,35dvh);width:min(360px,calc(100% - 16px));z-index:3;box-shadow:0 6px 24px #0002}.editing-page .page-heading{padding-inline:8px;gap:6px}.editing-page .page-heading>div{gap:4px}.editing-page .page-heading button{padding:6px;font-size:11px}}.processing-editor{display:flex;flex-direction:column;overflow-y:auto;padding:10px;border:1px solid var(--line);border-radius:16px}.processing-editor>.page-heading{margin-bottom:12px;flex-wrap:nowrap}.processing-editor .page-heading h1{font-size:14px;margin:0}.processing-editor .page-heading p{display:none}.processing-editor .page-heading button{font-size:12px;padding:6px 8px}.processing-editor .media-stage{flex:1;padding:12px;border:0;background:transparent;display:flex;flex-direction:column}.processing-editor .media-stage>.empty{flex:1;min-height:280px}.processing-editor .media-options{padding:12px;border:0;background:transparent}.processing-preview,.processing-queue{padding:12px;border:1px solid var(--line);border-radius:16px;overflow-y:auto}.processing-preview{display:flex;flex-direction:column}.processing-preview h2,.processing-queue h2{font-size:12px;margin:0 0 12px}.processing-preview>.empty{flex:1}.processing-preview video,.processing-preview img{width:100%;max-height:75dvh;object-fit:contain;margin-block:auto}.processing-queue>button{width:100%;margin-bottom:10px;flex-direction:column}.processing-queue>button[aria-pressed=true]{border-color:var(--theme-line, #777)}.processing-queue small{font-size:10px}.processing-guide{border-top:1px solid var(--line);padding:12px 4px;color:var(--theme-muted, #888);font-size:12px}.processing-guide h3{font-size:12px;margin:0}.processing-guide ol{padding-left:20px;line-height:1.9}.processing-queue>.queue-toggle{flex-direction:row;padding:0;font-size:12px;border:0;background:transparent}.queue-collapsed .processing-queue{padding:10px 5px}.queue-collapsed .processing-queue .queue-toggle strong{display:none}.canvas-editor,.canvas-root{height:100dvh}.canvas-topbar{inset:12px 16px auto}.canvas-topbar>div{height:42px;padding:4px 6px;gap:6px;border-radius:14px}.canvas-topbar>div:first-child{background:transparent;border-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.canvas-editor .react-flow__controls{display:flex;flex-direction:row;left:16px;bottom:12px;margin:0;padding:4px;gap:2px;border-radius:14px;border:1px solid var(--line);overflow:hidden;background:var(--theme-base, #f5f5f5e0)}.canvas-editor .react-flow__controls>button{width:32px;height:32px;min-height:32px;padding:7px;margin:0;border:0;border-radius:8px;background:transparent}.canvas-editor .canvas-map-control{order:-2}.canvas-editor .canvas-arrange-control{order:-1}.commerce-layer[aria-label=兑换积分]{max-width:min(448px,calc(100vw - 32px));padding-block:22px}.modal:has(.picker-tools){width:min(768px,calc(100vw - 32px));height:min(88dvh,672px);display:flex;flex-direction:column}.modal:has(.picker-tools) .picker-grid{flex:1;min-height:0;overflow-y:auto;max-height:none;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start}.processing-editor .media-editor-layout{display:flex;flex-direction:column;gap:12px;flex:1;min-height:0}.talking-page{width:calc(100% - 56px);max-width:1920px;margin-inline:auto;padding:24px 8px}.talking-layout{min-width:0}@media(min-width:1536px){.studio-layout,.processing-layout{max-width:2112px;width:calc(100% - clamp(20px,3vw,48px))}}@media(min-width:1800px){.studio-layout,.processing-layout{--editor-track: minmax(480px, .54fr);--queue-track: clamp(168px, 10.5vw, 204px)}}@media(min-width:2200px){.studio-layout,.processing-layout{--editor-track: minmax(512px, .57fr);--queue-track: 200px;max-width:2112px;width:calc(100% - clamp(20px,3vw,48px))}}@media(max-width:1279px){.asset-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.asset-main>.asset-filters{flex:1 1 100%}}@media(max-width:1023px){.sidebar{inset:auto 0 0;width:100%;height:calc(60px + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px);border-top:1px solid var(--line);border-right:0;background:var(--theme-panel, #fafafaf2)}.sidebar .brand,.sidebar-bottom{display:none}.sidebar nav{height:100%;flex-direction:row;justify-content:space-around;gap:0}.sidebar nav a{width:auto;min-width:45px;padding:7px;font-size:10px;gap:4px}.sidebar nav a.active{background:none;color:var(--theme-text, #111)}.sidebar nav>a:nth-child(2),.sidebar nav>a[href="/canvas"]{display:none}.sidebar nav .mobile-account{display:inline-flex;flex-direction:column;background:none;border:0;font-size:10px;gap:4px}.app-main{margin-left:0;padding-bottom:calc(60px + env(safe-area-inset-bottom,0px))}.studio-layout,.studio-layout.queue-collapsed,.processing-layout{display:flex;flex-direction:column;height:auto;min-height:0;width:calc(100% - clamp(24px,4vw,56px));padding:20px 24px;gap:12px}.studio-layout .editor-panel{min-height:560px}.studio-depth .editor-panel{min-height:calc((100vw - 104px)*.5625 + 434px)}.studio-set .editor-panel{min-height:683px}.studio-set .prompt-input{min-height:100px;flex:1}.studio-layout .preview-panel{min-height:420px}.studio-layout .queue-panel{min-height:160px;flex-wrap:wrap}.studio-layout.queue-collapsed .queue-panel{min-height:44px}.depth-example-stage,.set-example-carousel{height:auto;min-height:480px}.depth-example-stage>img{max-height:500px}.assets-page,.canvas-list-page,.credit-account{max-width:calc(100% - 40px);padding:20px 24px}.asset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.canvas-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.conversation-list{display:none}.chat-page,.agent-session{height:calc(100dvh - 60px)}.agent-session{padding:20px 16px}.processing-editor{min-height:620px}.processing-preview{min-height:420px}.processing-queue{min-height:160px}.processing-layout.queue-collapsed{display:flex;flex-direction:column}.processing-layout.queue-collapsed .processing-queue{min-height:44px}.talking-page{width:calc(100% - 40px);padding:20px 24px}.talking-layout{grid-template-columns:1fr}}@media(max-width:767px){.canvas-list-page{grid-template-columns:minmax(0,1fr)}.canvas-list-page>.asset-filters{flex-wrap:wrap}.canvas-tutorial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-composer{padding:16px;min-height:146px;margin-bottom:32px}.purpose-section h2{font-size:14px;line-height:20px}.purpose-section>header{min-height:20px}.purpose-section header p{display:none}.purpose-card{flex-basis:clamp(240px,82%,320px);border:1px solid var(--line);border-radius:18px}.purpose-cover{height:auto;aspect-ratio:5 / 2}.purpose-caption{display:grid;grid-template-columns:16px minmax(0,1fr) 17px;grid-template-rows:20px 16px;gap:0 8px;height:56px;padding:10px 16px}.purpose-caption>svg:first-child{grid-column:1;grid-row:1 / 3}.purpose-caption strong{grid-column:2;grid-row:1;font-size:14px}.purpose-caption small{display:block;grid-column:2;grid-row:2;font-size:10px}.purpose-caption .purpose-enter{grid-column:3;grid-row:1 / 3}.purpose-strip{gap:12px}.assets-page,.canvas-list-page,.credit-account{max-width:calc(100% - 24px);padding:16px}.studio-layout,.studio-layout.queue-collapsed,.processing-layout{padding:16px;width:calc(100% - 24px)}.studio-layout .editor-panel{min-height:598px}.studio-layout .preview-panel{min-height:320px}.depth-example-stage,.set-example-carousel{min-height:320px;padding:18px}.depth-example-stage>img{max-height:340px}.asset-grid,.canvas-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.canvas-new-card{min-height:160px}.library-nav{min-height:130px}.library-nav>button{flex-basis:160px;min-height:120px}.talking-page{width:calc(100% - 24px);padding:16px}.page-heading>div:last-child{flex-wrap:wrap}.processing-editor{min-height:560px}}:root{color-scheme:light;--panel: #fafafa;--text: #262626;--accent: #1682e9}:root[data-theme=dark]{color-scheme:dark;--theme-base: #101f30;--theme-panel: #172536;--theme-inset: #09192a;--theme-hover: #23394a;--theme-action: #054647;--theme-action-hover: #125e60;--theme-selected: #123b42;--theme-text: #adc3c0;--theme-bright: #e0eeeb;--theme-muted: #9bb2b1;--theme-link: #a4ceca;--theme-line: #344d5c;--theme-focus: #83b8b4;--theme-success: #91d3b3;--theme-success-bg: #193c35;--theme-error: #f0aaa5;--theme-error-bg: #432e38;--theme-warning: #e6c88e;--theme-warning-bg: #403b2b;--theme-overlay: #020c19b3;--line: var(--theme-line);--muted: var(--theme-muted);--blue: var(--theme-link);--panel: var(--theme-panel);--text: var(--theme-text);--accent: var(--theme-focus);--border: var(--theme-line);background:var(--theme-base);color:var(--theme-text);scrollbar-color:#45616b #101f30}[data-theme=dark] :is(input,textarea,select){color:var(--theme-bright);caret-color:var(--theme-bright)}[data-theme=dark] :is(input,textarea)::placeholder{color:var(--theme-muted);opacity:1}[data-theme=dark] :is(input[type=checkbox],input[type=radio],input[type=range]){accent-color:var(--theme-focus)}[data-theme=dark] :is(button,a,input,textarea,select):focus-visible{outline-color:var(--theme-focus)}[data-theme=dark] :is(h1,h2,h3,h4,strong){color:var(--theme-bright)}[data-theme=dark] :is(.sidebar,.login-page,.canvas-root){background:var(--theme-base)}[data-theme=dark] :is(button.primary,.button.primary,.plan-card>button:not(.enterprise-contact)){background:var(--theme-action);border-color:var(--theme-action-hover);color:var(--theme-bright)}[data-theme=dark] :is(button.primary,.button.primary):hover:not(:disabled){background:var(--theme-action-hover)}[data-theme=dark] :is(.tabs button.active,.segmented button.active,.sidebar nav a.active,.discovery-tabs button.active){background:var(--theme-selected);color:var(--theme-bright)}[data-theme=dark] dialog::backdrop{background:var(--theme-overlay)}[data-theme=dark] .react-flow{--xy-background-color: var(--theme-inset);--xy-background-pattern-dots-color: #415869;--xy-node-background-color: var(--theme-panel);--xy-node-color: var(--theme-text);--xy-edge-stroke: #8eadaa;--xy-edge-stroke-selected: #adc3c0;--xy-connectionline-stroke: #adc3c0;--xy-controls-button-background-color: var(--theme-panel);--xy-controls-button-background-color-hover: var(--theme-hover);--xy-controls-button-color: var(--theme-text);--xy-controls-button-color-hover: var(--theme-bright);--xy-controls-button-border-color: var(--theme-line);--xy-minimap-background-color: var(--theme-inset);--xy-minimap-mask-background-color: #101f3099;--xy-minimap-node-background-color: #50827f;--xy-attribution-background-color: var(--theme-panel);--xy-selection-background-color: #05464766;--xy-selection-border: 1px dotted #adc3c0}.theme-toggle{flex-shrink:0;min-width:34px;min-height:34px;padding:7px;color:var(--theme-text, #343f42);background:var(--theme-panel, #fafafa)}.theme-toggle svg{pointer-events:none}.theme-toggle:hover{background:var(--theme-hover, #eee)}.login-theme-toggle{position:absolute;top:20px;right:20px}.admin-header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.admin-page>header{gap:12px}.portal-login-link{text-align:center;color:var(--theme-link, #167b95);font-size:13px}.account-popover footer .portal-menu-link{display:block;width:100%;text-align:center;text-decoration:none;padding:10px;font-size:13px;border-radius:9px}.portal-menu-link:hover{background:var(--theme-hover, #eee)}.account-popover footer .theme-toggle{justify-content:flex-start;gap:10px;padding:10px 16px}.canvas-topbar .theme-toggle{width:30px;min-width:30px;min-height:28px;padding:4px}@media(max-width:600px){.admin-header-actions{gap:6px}.admin-header-actions>button{font-size:12px}}.talking-page .talking-preview:has(.talking-sound-section){position:static}.talking-page .talking-sound-section{display:grid;gap:16px;padding:24px 4px 4px;margin-top:20px;border-top:1px solid var(--talk-line)}.talking-page .talking-sound-section h2{font-size:22px;margin:0 0 8px}.talking-page .talking-sound-section header p{color:var(--talk-muted);line-height:1.7;margin:0}.talking-page .talking-sound-section .tabs{display:flex;flex-wrap:wrap;gap:8px}.talking-page .talking-sound-section .tabs button{flex:1 1 150px;min-height:48px;white-space:normal}.talking-page .talking-sound-section .tabs .active{background:var(--talk-selected);color:var(--talk-ink);border-color:var(--talk-line);font-weight:700}.talking-page .talking-sound-section .tabs button.active:after{display:none}.talking-page .talking-sound-section .primary{background:var(--talk-button);color:var(--talk-button-text);border-color:var(--talk-button)}.talking-page .talking-sound-section button,.talking-page .talking-audio-summary button{min-height:42px;font-size:15px}.talking-page .talking-sound-section .talking-next{min-height:50px;width:100%;font-weight:700}.talking-page .talking-voice-inline-settings{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:end}.talking-page .talking-voice-inline-settings .talking-slot{min-height:58px;padding:10px 12px!important;border:1px solid var(--talk-accent);background:var(--talk-soft);color:var(--talk-ink)}.talking-page .talking-voice-inline-settings .talking-slot span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:750}.talking-page .talking-voice-inline-settings .talking-slot small{margin-left:35px}.talking-page .talking-voice-inline-settings label{margin:0}.talking-page .talking-audio-summary{padding:18px;border:1px solid var(--talk-line);border-radius:12px;background:var(--talk-soft);display:grid;gap:12px}.talking-page .talking-audio-summary h3{margin:0;font-size:18px}.audio-preview{display:grid;gap:10px;width:100%;min-width:0}.audio-preview .row{justify-content:space-between}.audio-preview .audio-time{font-variant-numeric:tabular-nums;white-space:nowrap}.audio-preview input[type=range]{width:100%;accent-color:var(--talk-accent, #08696b);cursor:pointer}.talking-page{--talk-ink: #163e42;--talk-muted: #536d71;--talk-accent: #08696b;--talk-soft: #e8f3f0;--talk-line: #a7c9c3;--talk-button: #086466;--talk-button-text: #fff;--talk-button-hover: #074f51;--talk-field: #fff;--talk-panel: #fff;--talk-step: #f9fbfa;--talk-selected: #dcefeb;color:var(--talk-ink);font-size:15px}[data-theme=dark] .talking-page{--talk-ink: #e0eeeb;--talk-muted: #adc3c0;--talk-accent: #b5dcd5;--talk-soft: #13383f;--talk-line: #467f7d;--talk-button: var(--theme-action);--talk-button-text: var(--theme-bright);--talk-button-hover: var(--theme-action-hover);--talk-field: #0b1b2b;--talk-panel: #172536;--talk-step: #172536;--talk-selected: #054647}.talking-page .talking-heading h1{font-size:28px;font-weight:750;letter-spacing:-.6px}.talking-page .talking-heading small{color:var(--talk-muted);font-size:13px;line-height:1.6}.talking-page .talking-heading button{font-size:14px;min-height:40px}.talking-page .talking-guide-button{background:var(--talk-soft);color:var(--talk-accent);border-color:var(--talk-line);font-weight:650}.talking-page .talking-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding-bottom:0;border:0;overflow:visible;margin-bottom:24px}.talking-page .talking-steps button{justify-content:flex-start;gap:12px;min-width:0;padding:16px 14px;border:1px solid var(--line);border-radius:12px;background:var(--talk-step);text-align:left;white-space:normal}.talking-page .talking-steps .talking-step-number{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;margin:0;font-size:14px;font-weight:750;color:var(--talk-muted);background:var(--talk-soft)}.talking-page .talking-steps .talking-step-copy{display:grid;gap:5px;margin:0;min-width:0}.talking-page .talking-step-copy strong{font-size:16px;color:var(--talk-ink);font-weight:650}.talking-page .talking-step-copy small{font-size:12px;line-height:1.4;color:var(--talk-muted)}.talking-page .talking-steps button:hover{border-color:var(--talk-line);background:var(--talk-soft)}.talking-page .talking-steps .active{background:var(--talk-selected);border-color:var(--talk-line);box-shadow:inset 0 -3px 0 var(--talk-accent)}.talking-page .talking-steps .active .talking-step-number{background:var(--talk-button);color:var(--talk-button-text)}.talking-page .talking-steps .active strong{color:var(--talk-ink);font-weight:750}.talking-page :is(.talking-editor,.talking-preview,.talking-queue){background:var(--talk-panel)}.talking-page .talking-editor{gap:14px}.talking-page .talking-editor>:is(label,.row,.tabs,p){margin-block:4px}.talking-page .talking-help{background:var(--talk-soft);border-color:var(--talk-line);border-left:4px solid var(--talk-accent);padding:16px}.talking-page .talking-help summary{font-size:16px;line-height:1.6;font-weight:700;color:var(--talk-ink)}.talking-page .talking-help p{color:var(--talk-muted);font-size:14px;line-height:1.8}.talking-page .talking-editor label{font-size:15px;font-weight:650;color:var(--talk-ink)}.talking-page .talking-editor label:has(>small){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.talking-page .talking-editor label:has(>small)>:is(textarea,input,select){grid-column:1/-1}.talking-page .talking-editor label>small{font-size:12px;font-weight:400;color:var(--talk-muted)}.talking-page .talking-editor :is(input,textarea,select){font-size:15px;font-weight:400;color:var(--talk-ink);background:var(--talk-field)}.talking-page .talking-main-field textarea{border-color:var(--talk-line);border-width:2px;font-size:16px}.talking-page .talking-editor :is(input,textarea)::placeholder{color:var(--talk-muted);opacity:1}.talking-page .talking-editor button{font-size:14px;min-height:40px}.talking-page .talking-source-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border:0;padding:0}.talking-page .talking-source-actions button{border:1px solid var(--talk-line);border-radius:8px;background:var(--talk-soft);color:var(--talk-accent);padding:10px 5px;font-weight:650}.talking-page :is(.talking-secondary-action,.talking-slot){background:var(--talk-soft);border-color:var(--talk-line);color:var(--talk-accent);font-weight:650}.talking-page .talking-editor .talking-slot{border-width:2px;font-size:16px;padding:18px!important}.talking-page .talking-slot svg{color:var(--talk-accent);width:28px;height:28px}.talking-page .talking-slot small{font-size:13px;color:var(--talk-muted);font-weight:400}.talking-page .talking-editor button.primary,.talking-page .modal button.primary{background:var(--talk-button);border-color:var(--talk-button);color:var(--talk-button-text);font-size:16px;min-height:46px;font-weight:750;padding:12px 18px}.talking-page .talking-editor button.primary:hover:not(:disabled),.talking-page .modal button.primary:hover:not(:disabled){background:var(--talk-button-hover);border-color:var(--talk-button-hover)}.talking-page button:disabled{opacity:.5}.talking-page .talking-copy-action{flex:1}.talking-page .talking-start-action{width:100%}.talking-page :is(.talking-editor,.talking-preview) .muted{color:var(--talk-muted);font-size:13px;line-height:1.8}.talking-page .inline-notice{font-size:13px;line-height:1.8}.talking-page :is(.talking-preview,.talking-queue)>header{border-bottom:1px solid var(--line);padding-bottom:14px}.talking-page :is(.talking-preview,.talking-queue)>header strong{font-size:17px;color:var(--talk-ink)}.talking-page .talking-preview>header button{font-size:13px;min-height:34px}.talking-page .talking-script-preview{margin:20px auto;border-radius:12px;background:var(--talk-field);border:1px solid var(--line)}.talking-page .talking-script-preview>span{color:var(--talk-accent);font-size:12px;font-weight:650;letter-spacing:2px}.talking-page .talking-script-preview p{margin-top:18px;font-size:18px;line-height:1.95;color:var(--talk-ink)}.talking-page .talking-preview .empty h2{font-size:22px}.talking-page .talking-preview .empty p{font-size:14px;line-height:1.8}.talking-page .talking-preview .empty>svg{color:var(--talk-accent)}.talking-page .talking-queue b{font-size:14px}.talking-page .talking-queue :is(small,p,button){font-size:12px;line-height:1.7}.talking-page .talking-queue>header>small{background:var(--talk-soft);color:var(--talk-accent);min-width:26px;padding:2px 7px;border-radius:20px;text-align:center}.talking-page .modal>header h2{font-size:22px}.talking-page .modal :is(label,.muted){font-size:14px}.talking-page .guide-list h3{font-size:17px}.talking-page .guide-list p{font-size:14px;color:var(--talk-muted)}.talking-page .guide-list article>span{display:grid;place-items:center;flex:0 0 34px;height:34px;background:var(--talk-soft);color:var(--talk-accent);font-size:14px;border-radius:50%;font-weight:700}.talking-page .voice-grid article{border-color:var(--talk-line)}.talking-page .voice-grid article:has([aria-pressed=true]),.talking-page .voice-grid article:has(.primary){background:var(--talk-soft)}@media(max-width:1100px){.talking-page .talking-step-copy small{display:none}.talking-page .talking-steps button{gap:9px;padding:13px 10px}}@media(max-width:600px){.talking-page .talking-heading h1{font-size:25px}.talking-page .talking-heading small{font-size:12px}.talking-page .talking-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:18px}.talking-page .talking-step-copy strong{font-size:14px}.talking-page .talking-steps .talking-step-number{flex-basis:28px;width:28px;height:28px;font-size:12px}.talking-page .talking-editor :is(input,textarea,select){font-size:16px}.talking-page .talking-script-preview{padding:18px}.talking-page .talking-editor>.tabs:not(.talking-source-actions){display:flex;flex-wrap:wrap;gap:6px}.talking-page .talking-editor>.tabs:not(.talking-source-actions) button{flex:1 1 130px;white-space:normal}}.talking-page .talking-generation-placeholder{min-height:430px;border:1px dashed var(--talk-line);border-radius:14px;background:var(--talk-field);color:var(--talk-muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:28px}.talking-page .talking-generation-placeholder strong{color:var(--talk-ink);font-size:19px}.talking-page .talking-generation-placeholder span{max-width:260px;line-height:1.7;font-size:13px}.talking-page .talking-generation-placeholder progress{width:min(260px,100%);accent-color:var(--talk-accent)}.talking-page .talking-avatar-result-player{max-height:62vh}.talking-page .talking-preview-generate,.talking-page .talking-enter-editor{width:100%;margin-top:12px}.talking-page .talking-card-action{height:var(--talking-action-height);min-height:var(--talking-action-height);font-size:var(--talking-action-font);font-weight:700;width:92%;margin:12px auto 0;white-space:normal;display:flex;justify-content:center;text-align:center}.talking-page .talking-enter-editor{border-color:var(--talk-line);color:var(--talk-accent);background:var(--talk-soft);font-weight:700}.talking-page .talking-generation-side{border:1px solid var(--talk-line);border-radius:12px;background:var(--talk-soft);padding:13px;margin-bottom:14px}.talking-page .talking-final-publish-settings{gap:12px;padding:14px;border:1px solid var(--talk-line);border-radius:12px;background:var(--talk-soft);box-shadow:0 3px 12px #08646612}.talking-page .talking-final-preview-action{min-height:40px;padding:9px 12px;border-color:var(--talk-button);background:var(--talk-button);color:var(--talk-button-text);font-size:14px;font-weight:750;box-shadow:0 3px 7px #08646626}.talking-page .talking-final-preview-action:hover{background:var(--talk-button-hover);border-color:var(--talk-button-hover)}.talking-page .talking-final-publish-settings>.talking-cover-publish-heading{margin:-14px -14px 0;padding:12px 14px;border:0;border-radius:11px 11px 0 0;background:var(--talk-button);color:var(--talk-button-text)}.talking-page .talking-final-publish-settings>.talking-cover-publish-heading>div{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%}.talking-page .talking-final-publish-settings .talking-cover-publish-heading strong{font-size:16px;font-weight:750}.talking-page .talking-final-publish-settings .talking-cover-publish-heading small{color:inherit;opacity:.9;font-size:11px}.talking-page .talking-final-publish-settings>label{margin:0;gap:7px;font-size:14px;font-weight:750;color:var(--talk-ink)}.talking-page .talking-publish-field-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.talking-page .talking-publish-field-heading small{color:var(--talk-muted);font-size:11px;font-weight:400}.talking-page .talking-final-publish-settings textarea{width:100%;min-height:72px;padding:10px 12px;border:1px solid var(--talk-line);border-radius:8px;background:var(--talk-field);color:var(--talk-ink);font-size:14px;line-height:1.65;box-shadow:0 1px 3px #0864660d}.talking-page .talking-final-publish-settings textarea:hover{border-color:var(--talk-accent)}.talking-page .talking-final-publish-settings textarea:focus{border-color:var(--talk-accent);outline:2px solid color-mix(in srgb,var(--talk-accent) 20%,transparent);outline-offset:1px}.talking-page .talking-final-publish-settings>.talking-metadata-generate{width:100%;min-height:40px;padding:9px 12px;border-color:var(--talk-button);border-radius:8px;background:var(--talk-button);color:var(--talk-button-text);font-size:14px;font-weight:750;box-shadow:0 3px 7px #08646626}.talking-page .talking-final-publish-settings>.talking-metadata-generate:hover:not(:disabled){background:var(--talk-button-hover);border-color:var(--talk-button-hover)}.talking-page .talking-final-publish-settings>.talking-platform-list{margin-top:2px;padding-top:12px;border-top:1px solid var(--talk-line)}.talking-page .talking-generation-side header{display:flex;justify-content:space-between;align-items:center;padding-bottom:9px;border-bottom:1px solid var(--talk-line)}.talking-page .talking-generation-side header strong{color:var(--talk-ink)}.talking-page .talking-generation-side header small{color:var(--talk-accent)}.talking-page .talking-generation-side p{line-height:1.7}.talking-page .talking-generation-side button{width:100%}.talking-page .talking-inline-tools{display:grid;gap:10px;margin-bottom:16px}.talking-page .talking-inline-tool{border:1px solid var(--talk-line);border-radius:10px;padding:11px;background:var(--talk-soft);display:grid;gap:8px}.talking-page .talking-inline-tool>header{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding-bottom:7px;border-bottom:1px solid var(--talk-line)}.talking-page .talking-inline-tool>header strong{color:var(--talk-ink);font-size:14px;font-weight:800}.talking-page .talking-inline-tool>header small{color:var(--talk-muted);font-size:11px;overflow-wrap:anywhere;text-align:right}.talking-page .talking-smart-switches{display:flex;gap:10px;flex-wrap:nowrap}.talking-page .talking-smart-head{display:flex;flex-wrap:nowrap;align-items:center;gap:10px;overflow-x:auto;font-size:11px}.talking-page .talking-smart-options{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;white-space:nowrap}.talking-page .talking-smart-options label{display:inline-flex;flex-direction:row;align-items:center;gap:4px;margin:0;font-size:11px;font-weight:650}.talking-page .talking-smart-options select{min-height:26px;height:26px;padding:3px 6px;font-size:11px}.talking-page .talking-smart-switches .check-label{margin:0;display:flex;flex-direction:row;align-items:center;gap:6px;font-size:12px;font-weight:750}.talking-page .talking-smart-switches input{width:auto}.talking-page .talking-smart-list{display:grid;gap:5px}.talking-page .talking-smart-tool{gap:5px}.talking-page .talking-smart-tool>.row{display:flex;flex-wrap:nowrap;gap:5px;overflow-x:auto}.talking-page .talking-smart-tool>.row button{flex:0 0 auto;min-height:26px;height:26px;padding:3px 7px;font-size:11px}.talking-page .talking-smart-tool>.check-label{display:inline-flex;width:fit-content;font-size:11px}.talking-page .talking-smart-row{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:5px;align-items:center;padding:6px;border:1px solid var(--talk-line);border-radius:7px;background:var(--talk-field);font-size:11px}.talking-page .talking-smart-row strong{color:var(--talk-ink)}.talking-page .talking-smart-row span{color:var(--talk-muted);white-space:nowrap}.talking-page .talking-smart-row :is(strong,span,select,button){flex:0 0 auto}.talking-page .talking-smart-row select{min-height:28px;padding:4px;font-size:11px}.talking-page .talking-smart-row>button:not(.talking-smart-link){min-height:28px;padding:4px 8px;font-size:11px}.talking-page .talking-smart-link{min-width:0;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:0;padding:3px 6px;border-radius:4px;background:var(--talk-selected);color:var(--talk-accent);font-size:10px;text-align:left;cursor:pointer}.talking-page .talking-smart-row button{min-height:28px;padding:4px 6px;font-size:11px}.talking-page .talking-smart-top-row{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;min-width:0;overflow:hidden}.talking-page .talking-smart-control{display:inline-flex;flex:0 1 auto;align-items:center;gap:5px;min-width:0;min-height:28px;padding:3px 7px;border:1px solid var(--talk-line);border-radius:6px;background:var(--talk-field);color:var(--talk-ink);font-size:11px;white-space:nowrap}.talking-page .talking-smart-control input[type=checkbox]{width:auto}.talking-page .talking-smart-control select{min-width:94px;height:24px;min-height:24px;padding:2px 5px;border:0;background:transparent;color:inherit;font-size:11px}.talking-page .talking-smart-list{overflow:hidden}.talking-page .talking-smart-row{display:grid;grid-template-columns:auto 82px minmax(0,1fr) auto;gap:6px;min-width:0;overflow:hidden;align-items:center;padding:4px 6px}.talking-page .talking-smart-row .talking-smart-link{width:100%;max-width:none;min-width:0}.talking-page .talking-smart-delete{min-height:24px;padding:3px 7px;font-size:10px}.talking-page .talking-smart-empty{margin:0;color:var(--talk-muted);font-size:11px}.talking-page .talking-smart-launch{align-self:flex-start;min-height:30px;padding:5px 18px}.talking-page .talking-inline-tool .row{gap:6px}.talking-page .talking-processing-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.talking-page .talking-processing-actions button{justify-content:center;text-align:center;min-height:42px}.talking-page .talking-preview-export{width:100%;margin:8px 0;min-height:40px}.talking-page .talking-inline-tool .row button,.talking-page .talking-inline-tool>button{min-height:32px;padding:6px 9px;font-size:12px}.talking-page .talking-inline-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 8px}.talking-page .talking-inline-fields label{margin:0;gap:4px;font-size:11px;font-weight:650}.talking-page .talking-inline-fields :is(input,select){min-height:30px;padding:5px 7px;font-size:12px}.talking-page .talking-inline-fields input[type=range]{padding:0}.talking-page .talking-inline-tool .check-label{margin:0;display:flex;flex-direction:row;align-items:center;gap:6px;font-size:12px}.talking-page .talking-inline-tool .check-label input{width:auto}.talking-page .talking-subtitle-toolbar{display:flex;flex-wrap:wrap;gap:4px 6px;align-items:center;overflow:visible;padding-bottom:1px}.talking-page .talking-subtitle-compact{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;overflow:visible;min-height:26px;font-size:11px}.talking-page .talking-subtitle-compact>*{min-width:0}.talking-page .talking-subtitle-compact :is(button,input,select){min-height:26px;height:26px;padding:3px 6px;font-size:11px}.talking-page .talking-subtitle-compact .talking-subtitle-toolbar,.talking-page .talking-subtitle-compact .talking-subtitle-actions,.talking-page .talking-subtitle-compact .talking-highlight-fields,.talking-page .talking-subtitle-compact .talking-highlight-list,.talking-page .talking-subtitle-compact .talking-caption-position{min-height:26px}.talking-page .talking-subtitle-toolbar label{margin:0;display:inline-flex;flex-direction:row;align-items:center;gap:4px;font-size:11px;font-weight:650;white-space:nowrap}.talking-page .talking-subtitle-toolbar .check-label{flex-direction:row;align-items:center;padding-bottom:0}.talking-page .talking-subtitle-toolbar input,.talking-page .talking-subtitle-toolbar select{min-height:26px;height:26px;padding:3px 5px;font-size:11px}.talking-page .talking-subtitle-toolbar input[type=color]{width:30px;padding:2px}.talking-page .talking-subtitle-toolbar select{width:70px}.talking-page .talking-subtitle-toolbar input[type=number]{width:42px}.talking-page .talking-highlight-fields{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;overflow:visible}.talking-page .talking-highlight-fields>button,.talking-page .talking-highlight-fields>input,.talking-page .talking-highlight-fields>.color-swatch{flex:0 0 auto}.talking-page .talking-highlight-fields>button{min-height:30px;padding:5px 9px;font-size:12px;white-space:nowrap}.talking-page .talking-highlight-fields>input{min-width:120px;width:min(240px,100%);min-height:26px;height:26px;padding:3px 6px;font-size:11px}.talking-page .talking-highlight-label{margin-left:3px;font-size:11px;font-weight:650;white-space:nowrap}.talking-page .talking-highlight-fields .color-swatch{width:28px;min-height:26px;height:26px;border:1px solid var(--talk-line);border-radius:7px;cursor:pointer}.talking-page .talking-subtitle-actions{display:flex;flex-wrap:wrap;gap:4px 6px;overflow:visible}.talking-page .talking-subtitle-actions button{min-height:26px;height:26px;padding:3px 7px;font-size:11px}.talking-page .talking-subtitle-dropdown{position:relative;margin:0;font-size:11px}.talking-page .talking-subtitle-dropdown summary{min-height:26px;height:26px;padding:5px 8px;border:1px solid var(--talk-line);border-radius:6px;background:var(--talk-field);color:var(--talk-ink);cursor:pointer;list-style:none;white-space:nowrap}.talking-page .talking-subtitle-dropdown summary::-webkit-details-marker{display:none}.talking-page .talking-subtitle-dropdown-panel{position:absolute;z-index:12;top:calc(100% + 3px);left:0;padding:4px;border:1px solid var(--talk-line);border-radius:6px;background:var(--talk-panel);box-shadow:0 5px 14px #0000001f}.talking-page .talking-subtitle-dropdown-panel select{width:68px;min-height:25px;height:25px;padding:2px 4px;font-size:11px}.talking-page .talking-smart-error{margin:0;color:var(--talk-danger, #b42318);font-size:11px}.talking-page .talking-color-picker{display:grid;gap:9px;padding:10px;border:1px solid var(--talk-line);border-radius:10px;background:var(--talk-panel)}.talking-page .talking-color-picker-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--talk-ink);font-size:11px}.talking-page .talking-color-picker-current{display:inline-block;width:36px;height:12px;margin-left:auto;border:1px solid var(--talk-line);border-radius:2px;box-shadow:inset 0 0 0 1px #ffffff47}.talking-page .talking-color-picker-head button{min-height:24px;height:24px;padding:2px 8px;border:1px solid var(--talk-line);border-radius:5px;background:var(--talk-field);color:var(--talk-ink);font-size:11px;cursor:pointer}.talking-page .talking-color-palette{display:flex;flex-wrap:wrap;gap:6px}.talking-page .talking-color-palette button{width:22px;height:22px;min-height:22px;border:1px solid var(--talk-line);border-radius:50%;padding:0}.talking-page .talking-color-wheel{width:220px;height:220px;border-radius:5px;margin:auto;display:grid;place-items:center;background:linear-gradient(180deg,#fff0,#000000eb),linear-gradient(90deg,#fff,#a0f);cursor:crosshair;touch-action:none}.talking-page .talking-color-wheel input{width:46px;height:24px;padding:0;border:2px solid white;border-radius:4px}.talking-page .talking-color-hue-strip{width:220px;height:16px;border:1px solid var(--talk-line);border-radius:4px;background:linear-gradient(90deg,red,#ff0,#0f0,#0ff,#00f,#f0f,red);cursor:ew-resize;touch-action:none}.talking-page .talking-highlight-list{display:grid;gap:5px}.talking-page .talking-highlight-list>small,.talking-page .talking-subtitle-timeline>small{color:var(--talk-muted);font-size:11px}.talking-page .talking-highlight-list>div{display:flex;flex-wrap:wrap;gap:5px}.talking-page .talking-highlight-list span{padding:3px 7px;border-radius:999px;background:var(--talk-selected);color:var(--talk-accent);font-size:11px}.talking-page .talking-caption-position{grid-template-columns:1fr 1fr}.talking-page .talking-caption-position input{cursor:ns-resize}.talking-page .talking-subtitle-timeline{display:grid;gap:6px;min-height:260px;align-content:start}.talking-page .talking-timeline-row{display:grid;grid-template-columns:88px minmax(0,1fr);gap:6px;align-items:center}.talking-page .talking-timeline-row :is(input,textarea){min-height:27px;padding:3px 6px;font-size:11px}.talking-page .talking-timeline-row textarea{resize:vertical}.talking-page .talking-timeline-edit{display:block;min-width:0}.talking-page .talking-timeline-transition{display:block;width:fit-content;max-width:100%;padding:2px 6px;border-left:3px solid var(--talk-accent);border-radius:3px;background:var(--talk-selected);color:var(--talk-accent);font-size:10px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;cursor:pointer}.talking-page .talking-timeline-range{display:inline-flex;align-items:center;gap:3px;white-space:nowrap;color:var(--talk-muted);font-size:11px}.talking-page .talking-timeline-range input{width:48px;text-align:center}.talking-page .talking-timeline-range small{font-size:10px}.talking-page .talking-subtitle-tool .talking-timeline-row :is(input,textarea){min-height:26px;height:26px;padding:3px 5px;font-size:11px}.talking-page .talking-subtitle-actions{display:flex;flex-wrap:nowrap;gap:6px;overflow-x:auto}.talking-page .talking-subtitle-actions button{flex:0 0 auto}.talking-page .talking-caption-position{display:flex;flex-wrap:nowrap;gap:5px;align-items:center}.talking-page .talking-caption-position label{display:inline-flex;flex-direction:row;align-items:center;gap:3px;margin:0;font-size:11px;white-space:nowrap}.talking-page .talking-caption-position input{width:42px}.talking-page .talking-inline-tool>.talking-subtitle-header{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,.95fr) minmax(0,.95fr) minmax(0,1.3fr);align-items:center;gap:5px;flex-wrap:nowrap;overflow:visible;overflow-y:visible;white-space:nowrap}.talking-page .talking-subtitle-header>*{flex:0 0 auto}.talking-page .talking-subtitle-header>*,.talking-page .talking-subtitle-header button{min-width:0;width:100%}.talking-page .talking-subtitle-header button{padding-inline:3px}.talking-page .talking-subtitle-header>strong,.talking-page .talking-subtitle-header>label{flex:0 0 auto}.talking-page .talking-smart-header-button{flex:0 0 auto;min-height:28px;height:28px;padding:3px 8px;border:1px solid var(--talk-accent);border-radius:6px;background:var(--talk-button);color:var(--talk-button-text);font-size:11px;font-weight:750;white-space:nowrap;cursor:pointer}.talking-page .talking-smart-header-button:disabled{opacity:.72;cursor:wait}.talking-page .talking-template-control{position:relative;flex:0 0 auto}.talking-page .talking-template-button{min-height:28px;height:28px;padding:3px 8px;border:1px solid var(--talk-line);border-radius:6px;background:var(--talk-soft);color:var(--talk-ink);font-size:11px;font-weight:750;white-space:nowrap;cursor:pointer}.talking-page .talking-template-button.is-selected{border-color:var(--talk-accent);color:var(--talk-accent);background:color-mix(in srgb,var(--talk-selected) 65%,var(--talk-soft))}.talking-page .talking-template-menu{position:absolute;z-index:30;top:calc(100% + 6px);left:0;display:grid;grid-template-columns:repeat(2,minmax(150px,1fr));gap:4px;width:min(320px,calc(100vw - 32px));max-height:264px;overflow-y:auto;padding:6px;border:1px solid var(--talk-line);border-radius:8px;background:color-mix(in srgb,var(--talk-field) 96%,transparent);box-shadow:0 10px 26px #0000002e}.talking-page .talking-template-option{display:flex;align-items:center;gap:6px;min-width:0;padding:6px;border:1px solid transparent;border-radius:5px;background:transparent;color:var(--talk-ink);text-align:left;cursor:pointer}.talking-page .talking-template-option:hover,.talking-page .talking-template-option.is-selected{border-color:var(--talk-accent);background:color-mix(in srgb,var(--talk-selected) 62%,transparent)}.talking-page .talking-template-swatch{flex:0 0 auto;width:17px;height:17px;border:1px solid color-mix(in srgb,var(--talk-ink) 30%,transparent);border-radius:50%}.talking-page .talking-template-copy{display:grid;min-width:0;gap:1px}.talking-page .talking-template-copy strong,.talking-page .talking-template-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.talking-page .talking-template-copy strong{font-size:11px}.talking-page .talking-template-copy small{color:var(--talk-muted);font-size:9px}.talking-page .talking-template-dialog-hint{margin:0 0 10px;color:var(--talk-muted);font-size:12px}.talking-page .talking-template-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-height:min(58vh,460px);overflow-y:auto;padding:2px}.talking-page .talking-template-card{display:grid;align-content:start;gap:5px;min-width:0;padding:7px;border:2px solid var(--talk-line);border-radius:8px;background:var(--talk-panel);color:var(--talk-ink);text-align:left;cursor:pointer}.talking-page .talking-template-card:hover,.talking-page .talking-template-card.is-selected{border-color:var(--talk-accent);background:var(--talk-selected);box-shadow:0 0 0 1px var(--talk-accent)}.talking-page .talking-template-card-preview{position:relative;display:grid;place-items:center;aspect-ratio:4 / 5;overflow:hidden;padding:6px;border:2px solid;border-radius:5px;background:linear-gradient(135deg,#102d35,#275b60);text-align:center;white-space:nowrap}.talking-page .talking-template-card-preview>img{display:block;width:100%;height:100%;object-fit:cover}.talking-page .talking-template-card-preview>.talking-template-card-sample{position:absolute;left:5px;right:5px;bottom:13px;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 3px #000;font-weight:800;font-size:17px}.talking-page .talking-template-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.talking-page .talking-template-card small,.talking-page .talking-template-card em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--talk-muted);font-size:10px;font-style:normal}.talking-page .talking-template-dialog-actions{justify-content:flex-end;margin-top:12px}@media(max-width:700px){.talking-page .talking-template-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}.talking-page .talking-video-subtitle-check{display:inline-flex;align-items:center;gap:3px;margin:0;font-size:11px;font-weight:750;white-space:nowrap}.talking-page .talking-video-subtitle-check input{width:auto}.talking-page .talking-video-subtitle-button,.talking-page .talking-transition-button{flex:0 0 auto;min-height:28px;height:28px;padding:3px 8px;border:1px solid var(--talk-line);border-radius:6px;background:var(--talk-soft);color:var(--talk-ink);font-size:11px;font-weight:750;white-space:nowrap;cursor:pointer}.talking-page .talking-transition-button[aria-pressed=true]{border-color:var(--talk-accent);background:var(--talk-button);color:var(--talk-button-text)}.talking-page .talking-smart-check{display:inline-flex;align-items:center;gap:4px;margin:0;font-size:12px;font-weight:750;white-space:nowrap}.talking-page .talking-smart-check input{width:auto}.talking-page .talking-subtitle-toggle{display:inline-flex;align-items:center;gap:4px;margin:0;font-size:12px;font-weight:700;white-space:nowrap}.talking-page .talking-subtitle-toggle input{width:auto}.talking-page .talking-smart-inline-button{flex:0 0 auto;min-height:28px;height:28px;padding:3px 10px;font-size:11px}.talking-page .talking-one-click-smart{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:42px;padding:6px 10px;border:1px solid var(--talk-accent);border-radius:7px;background:color-mix(in srgb,var(--talk-selected) 82%,transparent);color:var(--talk-accent);font-weight:750;white-space:nowrap;cursor:pointer}.talking-page .talking-subtitle-settings{display:grid;grid-template-columns:.9fr 1.8fr 1fr;align-items:center;gap:5px;width:100%;min-height:28px;min-width:0;overflow:visible;white-space:nowrap}.talking-page .talking-subtitle-settings label{display:inline-flex;flex-direction:row;align-items:center;gap:2px;margin:0;font-size:11px;font-weight:700;white-space:nowrap;justify-content:flex-start;min-width:0}.talking-page .talking-subtitle-settings label:nth-child(2){justify-content:flex-start}.talking-page .talking-subtitle-settings input[type=color]{width:36px;height:12px;padding:0;border:1px solid var(--talk-line);border-radius:2px;background:transparent}.talking-page .talking-subtitle-settings input[type=number]{width:40px;min-height:25px;height:25px;padding:2px 4px}.talking-page .talking-subtitle-settings .color-swatch{width:36px;min-width:36px;height:12px;min-height:12px;padding:0;border:1px solid var(--talk-line);border-radius:2px}.talking-page .talking-caption-position{display:flex;flex-wrap:nowrap;gap:8px;width:100%;align-items:center;justify-content:space-between}.talking-page .talking-caption-position label{display:inline-flex;align-items:center;gap:4px;margin:0;font-size:11px;white-space:nowrap}.talking-page .talking-caption-position input[type=number]{width:44px;min-width:44px;min-height:26px;height:26px;padding:3px 4px;text-align:center}.talking-page .talking-caption-position span{color:var(--talk-muted);font-size:11px}.talking-page .talking-timeline-head{display:grid;grid-template-columns:88px minmax(0,1fr);gap:6px;align-items:baseline;min-height:27px;padding:4px 5px 5px;border-bottom:2px solid var(--talk-accent);background:var(--talk-selected);color:var(--talk-ink);font-size:12px;font-weight:750}.talking-page .talking-timeline-head>span:first-child,.talking-page .talking-timeline-head>span:nth-child(2){text-align:center}.talking-page .talking-timeline-range{justify-content:center}.talking-page .talking-subtitle-tool .talking-highlight-list{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.talking-page .talking-subtitle-tool .talking-highlight-list>small{font-size:10px}.talking-page .talking-subtitle-tool .talking-highlight-list>div{flex-wrap:nowrap}@font-face{font-family:Fengling Subtitle;src:url(/fonts/subtitles/NotoSansSC-Bold.otf) format("opentype");font-style:normal;font-weight:700;font-display:block}.talking-page .caption-preview{font-family:Fengling Subtitle,sans-serif;cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none;pointer-events:auto;z-index:5;min-height:28px;width:max-content;min-width:180px;max-width:min(96%,760px);padding:2px 4px;border:0;border-radius:0;background:transparent}.talking-page .caption-preview:active{cursor:grabbing}.talking-page .caption-move-handle{position:absolute;left:50%;top:calc(100% + 5px);transform:translate(-50%);width:32px;min-height:32px;padding:0;z-index:12;font-size:20px;border:1px solid var(--talk-accent);border-radius:6px;background:var(--talk-panel);color:var(--talk-accent);cursor:move;touch-action:none;opacity:0}.talking-page .caption-preview:hover .caption-move-handle,.talking-page .caption-preview:focus-within .caption-move-handle,.talking-page .caption-preview-editing .caption-move-handle{opacity:1}.talking-page .caption-preview:hover,.talking-page .caption-preview:focus-within{outline:1px dashed var(--talk-accent);outline-offset:1px}.talking-page .caption-resize-handle{position:absolute;z-index:12;width:24px;height:24px;min-height:24px;padding:0;border:0;border-radius:0;background:transparent;opacity:0;touch-action:none}.talking-page .caption-resize-handle:after{content:"";position:absolute;inset:8px;background:var(--talk-panel);border:1px solid var(--talk-accent);border-radius:2px}.talking-page .caption-preview:hover .caption-resize-handle,.talking-page .caption-preview:focus-within .caption-resize-handle,.talking-page .caption-preview-editing .caption-resize-handle{opacity:1}.talking-page .caption-resize-nw{left:-12px;top:-12px;cursor:nwse-resize}.talking-page .caption-resize-ne{right:-12px;top:-12px;cursor:nesw-resize}.talking-page .caption-resize-sw{left:-12px;bottom:-12px;cursor:nesw-resize}.talking-page .caption-resize-se{right:-12px;bottom:-12px;cursor:nwse-resize}.talking-page .talking-subtitle-size-control{display:grid;gap:6px;width:100%;margin:8px 0}.talking-page .talking-subtitle-size-control>label{display:flex;gap:8px;align-items:center;font-size:13px;font-weight:600}.talking-page .talking-subtitle-size-control small{font-size:11px;font-weight:400;color:var(--talk-muted)}.talking-page .talking-subtitle-size-control>div{display:flex;align-items:center;gap:6px;min-width:0}.talking-page .talking-subtitle-size-control button{flex:0 0 34px;min-height:34px;padding:3px}.talking-page .talking-subtitle-size-control input[type=number]{flex:0 0 60px;width:60px;min-height:34px;text-align:center}.talking-page .talking-subtitle-size-control input[type=range]{flex:1 1 60px;width:60px;min-width:0;padding:0;accent-color:var(--talk-accent)}@media(max-width:600px){.talking-page .talking-subtitle-size-control button,.talking-page .talking-subtitle-size-control input{min-height:44px}.talking-page .caption-resize-handle{opacity:1}.talking-page .caption-move-handle{opacity:1;width:44px;min-height:44px}}.talking-page .caption-preview-editing:active{cursor:grabbing}.talking-page .caption-preview-editing{min-height:28px;padding:2px 4px;border:1px dashed var(--talk-accent);background:transparent}.talking-page .caption-editable-text{-webkit-user-select:text;user-select:text;min-width:32px;min-height:20px;outline:none;width:max-content;max-width:none;white-space:pre!important;word-break:keep-all;overflow-wrap:normal;overflow-x:auto;overflow-y:hidden;cursor:text}.talking-page .caption-preview-editing textarea{width:100%;min-width:150px;min-height:42px;padding:4px;border:1px solid var(--talk-line);border-radius:5px;background:var(--talk-field);color:inherit;font:inherit;resize:both}.talking-page .caption-floating-tools{position:absolute;left:50%;bottom:calc(100% + 8px);transform:translate(-50%);display:flex;flex-wrap:nowrap;align-items:center;gap:4px;width:max-content;min-width:230px;max-width:none;max-width:min(96vw,760px);min-height:27px;height:27px;max-height:27px;padding:0 2px;border:1px solid color-mix(in srgb,var(--talk-accent) 45%,transparent);border-radius:6px;background:color-mix(in srgb,var(--talk-selected) 94%,transparent);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);color:var(--talk-ink);box-shadow:none;white-space:nowrap;z-index:10;font-size:12px;font-weight:700;text-shadow:0 1px 1px color-mix(in srgb,var(--talk-panel) 65%,transparent);overflow-x:visible;overflow-y:hidden}.talking-page .caption-floating-tools>*{flex:0 0 auto}.talking-page .caption-floating-tools button,.talking-page .caption-floating-tools input,.talking-page .caption-floating-tools label input{min-height:23px;height:23px;padding:2px 6px;border-radius:4px;font-size:12px}.talking-page .caption-floating-tools button{border:0;background:transparent;color:inherit;font-weight:700;cursor:pointer}.talking-page .caption-floating-tools button:hover{color:var(--talk-accent);background:transparent}.talking-page .caption-floating-tools input[type=color]{width:31px;padding:1px;cursor:pointer}.talking-page .caption-floating-tools label{display:inline-flex;align-items:center;flex-direction:row;gap:4px;margin:0;color:var(--talk-ink);font-weight:750;white-space:nowrap}.talking-page .caption-floating-tools label input[type=number]{width:32px;min-width:32px;padding:0;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;color:inherit;text-align:center;appearance:textfield;font-weight:750}.talking-page .caption-floating-tools label input[type=number]::-webkit-inner-spin-button,.talking-page .caption-floating-tools label input[type=number]::-webkit-outer-spin-button{margin:0;opacity:.65}.talking-page .caption-floating-tools input[type=color]{width:22px;height:20px;padding:0;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important}.talking-page .talking-inline-tool audio{width:100%;height:32px}.talking-page .talking-music-tool{gap:8px}.talking-page .talking-music-actions{display:flex;align-items:center;justify-content:stretch;gap:8px;min-height:32px}.talking-page .talking-music-actions>button{min-height:30px;height:30px;padding:5px 10px;font-size:12px}.talking-page .talking-music-actions>button:first-child,.talking-page .talking-music-actions>.talking-music-duck-button{flex:1 1 0;min-width:0}.talking-page .talking-music-duration-button{flex:0 0 auto;min-width:82px;padding-inline:7px!important;border:1px solid var(--talk-line);border-radius:6px;background:var(--talk-field);color:var(--talk-muted);font-size:11px!important;font-weight:650;opacity:1!important;cursor:default}.talking-page .talking-music-duck-button{min-height:30px;height:30px;padding:5px 10px;border:1px solid var(--talk-line);border-radius:6px;background:var(--talk-soft);color:var(--talk-ink);font-size:11px;font-weight:650;white-space:nowrap;cursor:pointer}.talking-page .talking-music-duck-button.active{border-color:var(--talk-accent);background:var(--talk-selected);color:var(--talk-accent)}.talking-page .talking-music-duration-box{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:32px;padding:5px 9px;border:1px solid var(--talk-line);border-radius:6px;background:var(--talk-field);color:var(--talk-muted);font-size:11px}.talking-page .talking-music-duration-box strong{color:var(--talk-ink);font-size:12px}.talking-page .talking-music-duration-box small{color:var(--talk-accent);font-size:10px}.talking-page .talking-music-analysis{color:var(--talk-muted);font-size:10px;line-height:1.3}.talking-page .talking-music-audio{display:none}.talking-page .talking-music-track{position:relative;width:100%;height:42px;overflow:visible;touch-action:none;cursor:ew-resize}.talking-page .talking-music-track-base,.talking-page .talking-music-selection{position:absolute;top:12px;height:18px;border-radius:5px}.talking-page .talking-music-track-base{left:0;right:0;background:repeating-linear-gradient(90deg,var(--talk-line) 0 3px,transparent 3px 7px);opacity:.75}.talking-page .talking-music-selection{min-width:12px;background:color-mix(in srgb,var(--talk-accent) 65%,transparent);border:1px solid var(--talk-accent);cursor:grab}.talking-page .talking-music-selection:active{cursor:grabbing}.talking-page .talking-music-handle{position:absolute;top:-4px;width:8px;height:26px;min-height:26px;padding:0;border:1px solid var(--talk-button);border-radius:3px;background:var(--talk-button);cursor:ew-resize}.talking-page .talking-music-handle-start{left:-4px}.talking-page .talking-music-handle-end{right:-4px}.talking-page .talking-music-segment-time{display:flex;justify-content:space-between;color:var(--talk-muted);font-size:10px}.talking-page .talking-music-controls{display:flex;align-items:center;gap:7px;width:100%;min-height:30px;color:var(--talk-muted);font-size:11px}.talking-page .talking-music-controls button{min-width:48px;min-height:28px;height:28px;padding:3px 8px}.talking-page .talking-music-controls input[type=range]{flex:1;min-width:0;height:22px;padding:0;cursor:ew-resize}.talking-page .talking-music-empty{margin:0;color:var(--talk-muted);font-size:11px}.talking-page .talking-inline-tool .talking-inline-visual{margin:0;padding:7px;border:1px solid var(--talk-line);border-radius:8px}.talking-page .talking-inline-visual legend{font-size:11px;color:var(--talk-muted)}.talking-page .talking-inline-visual img{max-height:74px}.talking-page .talking-inline-export{width:100%;justify-content:center;background:var(--talk-button);border-color:var(--talk-button);color:var(--talk-button-text)}.talking-page .talking-editor-hint{margin-top:0}@media(max-width:760px){.talking-page .talking-generation-placeholder{min-height:280px}.talking-page .talking-inline-fields{grid-template-columns:1fr 1fr}}.compact-talking-assets .assets-workspace{gap:14px}.compact-talking-assets .library-nav{min-height:0;gap:6px;padding-bottom:2px}.compact-talking-assets .library-nav>button{flex:0 0 auto;min-height:38px;padding:8px 12px;border-radius:8px;flex-direction:row;gap:7px}.compact-talking-assets .library-nav>button>svg{width:18px;height:18px}.compact-talking-assets .library-nav small{display:none}.compact-talking-assets .page-heading{margin-bottom:12px}.compact-talking-assets .talking-assets-main{gap:10px;align-content:start}.talking-assets-main>h2,.talking-assets-main>p,.talking-assets-main>.talking-asset-categories,.talking-assets-main>.talking-asset-voices{flex:0 0 100%;width:100%;margin:0}.talking-assets-main>h2{font-size:20px}.talking-assets-main>p{font-size:12px;line-height:1.6}.talking-asset-categories{display:flex;gap:6px;flex-wrap:wrap}.talking-asset-categories button{display:flex;flex-direction:row;align-items:center;gap:7px;padding:9px 14px;min-height:38px;border:1px solid var(--theme-line, #dce5e4);border-radius:8px}.talking-asset-categories button svg{width:18px;height:18px}.talking-asset-categories button strong{font-size:14px}.talking-asset-categories button small{display:none}.talking-asset-categories button.active{border-color:var(--theme-focus, #087d7d);background:var(--theme-selected, #e3f1ee)}.talking-other-assets{padding:5px 9px;min-height:30px;font-size:12px;margin:0}.talking-other-assets[aria-pressed=true]{color:var(--accent)}.talking-asset-voices header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:10px 0 8px}.talking-asset-voices header h3{margin:0;font-size:15px}.talking-asset-voices header input{max-width:210px;min-width:0}.talking-asset-voices button{min-height:32px;padding:6px 10px}.voice-empty-note{padding:9px 12px;background:var(--theme-panel, #fafafa);border-radius:8px;color:var(--theme-muted, #758380);font-size:12px;margin:0}.voice-strip-list{display:grid;gap:6px}.voice-strip{display:grid;grid-template-columns:20px minmax(100px,180px) minmax(180px,1fr) auto;align-items:center;gap:12px;border:1px solid var(--theme-line, #e0e7e5);border-radius:9px;padding:9px 12px;background:var(--theme-panel, #fafafa);min-height:62px}.voice-strip-name{min-width:0;display:flex;flex-direction:column;gap:4px}.voice-strip-name b{font-size:14px}.voice-strip-name small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--theme-muted, #788480);font-size:11px}.voice-strip-name input{width:100%;min-width:0;padding:4px 6px}.voice-audition{min-width:0}.voice-preview-empty{display:flex;align-items:center;gap:8px}.voice-preview-empty input{flex:1;width:40px;min-width:25px}.voice-preview-empty small{font-size:11px;color:var(--theme-muted, #788480)}.voice-preview-empty button{white-space:nowrap}.compact-talking-assets .audio-preview{display:grid;grid-template-columns:auto minmax(40px,1fr);gap:8px;align-items:center;width:100%;min-width:0;padding:0}.compact-talking-assets .audio-preview>.row{display:flex;flex-wrap:nowrap;gap:6px}.compact-talking-assets .audio-preview button{min-height:30px;padding:4px 8px}.compact-talking-assets .audio-preview .audio-time{font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}.compact-talking-assets .audio-preview input{width:100%;min-width:0;accent-color:var(--theme-focus, #087d7d);cursor:pointer}.compact-talking-assets .audio-preview>p{grid-column:1 / -1;margin:0;font-size:12px}.compact-talking-assets .avatar-portrait-grid{grid-template-columns:repeat(auto-fill,minmax(130px,170px));justify-content:start;gap:10px}.compact-talking-assets .avatar-portrait-grid .asset-tile{padding:8px;min-width:0;border-radius:10px}.compact-talking-assets .avatar-portrait-grid .thumb{aspect-ratio:9 / 16;width:100%;height:auto;min-height:0;padding:0;background:var(--theme-inset, #e7eeec)}.compact-talking-assets .avatar-portrait-grid .thumb video{width:100%;height:100%;object-fit:contain}.compact-talking-assets .avatar-portrait-grid .asset-title{margin-top:6px;font-size:13px}.compact-talking-assets .asset-actions{gap:5px;flex-wrap:wrap}.compact-talking-assets .asset-actions button{min-height:28px;padding:4px 7px;font-size:12px}.compact-talking-assets .bgm-audio-list{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.compact-talking-assets .bgm-audio-list .asset-tile{display:grid;grid-template-columns:minmax(100px,180px) minmax(180px,1fr) auto;align-items:center;gap:4px 14px;padding:10px 12px;border:1px solid var(--theme-line, #e0e7e5);border-radius:9px;min-height:66px}.bgm-audio-list .asset-title{grid-column:1;grid-row:1;min-width:0;margin:0}.bgm-audio-list .asset-title strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bgm-audio-list .asset-tile>small{grid-column:1;grid-row:2;margin:0;font-size:11px}.bgm-track-player{grid-column:2;grid-row:1 / 3;display:flex;align-items:center;gap:8px;min-width:0}.bgm-track-player>svg{flex-shrink:0}.bgm-audio-list .asset-actions{grid-column:3;grid-row:1 / 3;margin:0}@media(max-width:650px){.voice-strip{grid-template-columns:18px minmax(0,1fr) auto;gap:7px}.voice-strip>button{grid-column:3;grid-row:1}.voice-audition{grid-column:2 / 4}.compact-talking-assets .bgm-audio-list .asset-tile{grid-template-columns:minmax(0,1fr) auto}.bgm-audio-list .asset-actions{grid-column:2;grid-row:1 / 3}.bgm-track-player{grid-column:1 / -1;grid-row:3}.compact-talking-assets .avatar-portrait-grid{grid-template-columns:repeat(auto-fill,minmax(125px,1fr))}}.compact-talking-assets .page-heading{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:12px;text-align:left}.compact-talking-assets .page-heading h1{font-size:24px;margin:0}.compact-talking-assets .page-heading button{min-height:34px;padding:7px 11px}.compact-talking-assets .talking-assets-main>.tabs{overflow:visible;min-height:32px}.compact-talking-assets .talking-assets-main>.empty{min-height:160px;padding:28px 12px}.compact-talking-assets .talking-asset-voices button{width:auto;flex:0 0 auto;min-height:28px;height:28px;padding:4px 8px;font-size:12px;line-height:18px;border-radius:6px;white-space:nowrap}.compact-talking-assets .voice-strip{min-height:54px;padding:7px 9px;gap:8px}.compact-talking-assets .voice-strip.is-selected{border-color:var(--theme-focus, #087d7d);background:var(--theme-selected, #e3f1ee);box-shadow:inset 3px 0 var(--theme-focus, #087d7d)}.compact-talking-assets .voice-select-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:65px}.voice-choice-mark{width:14px;height:14px;border:1px solid var(--theme-line, #a8bfba);border-radius:50%;display:inline-flex;align-items:center;justify-content:center}.voice-select-button.selected .voice-choice-mark{border-color:var(--theme-focus, #087d7d);background:var(--theme-action, #087d7d);color:var(--theme-bright, white)}.compact-talking-assets .talking-asset-voices>header{margin:9px 0 6px;gap:8px}.compact-talking-assets .talking-asset-voices>header>button{width:auto;min-width:0;padding:4px 8px;height:28px;min-height:28px;font-size:12px}.compact-talking-assets .talking-asset-voices>header input{height:28px;padding:4px 8px;font-size:12px;max-width:175px}.voice-choice-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--theme-line, #dce5e4);border-radius:8px;padding:9px 10px;background:var(--theme-panel, #fafafa);position:sticky;top:8px;z-index:3;box-shadow:0 2px 8px #00000008}.voice-choice-summary>div{display:flex;flex-direction:column;gap:3px;min-width:0}.voice-choice-summary strong{font-size:13px}.voice-choice-summary small{font-size:11px;color:var(--theme-muted, #687c76);line-height:1.5}.voice-arrival-notice{display:flex;align-items:flex-start;flex-direction:column;gap:7px;padding:12px;margin-bottom:12px;border:1px solid var(--theme-focus, #087d7d);border-radius:9px;background:var(--theme-selected, #e3f1ee)}.voice-arrival-notice strong{font-size:16px}.voice-arrival-notice span{font-size:13px;line-height:1.6}.talking-page .talking-sound-section .voice-arrival-notice button{min-height:28px;padding:4px 8px;font-size:12px;width:auto}@media(max-width:650px){.compact-talking-assets .voice-strip{grid-template-columns:16px minmax(0,1fr) auto}.compact-talking-assets .voice-strip>.voice-select-button{grid-row:1;grid-column:3}.compact-talking-assets .voice-preview-empty small{display:none}.voice-choice-summary{align-items:flex-start}}.compact-talking-assets .talking-asset-voices .voice-choice-summary>button.primary{min-height:30px;height:30px;padding:5px 9px;font-size:12px;line-height:18px;font-weight:650}.talking-page .talking-sound-section .talking-slot{min-height:48px;padding:9px 12px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;font-size:15px}.talking-page .talking-sound-section .talking-slot svg{width:20px;height:20px}.talking-page .talking-sound-section .talking-slot small{margin-left:auto;font-size:12px}.talking-page .pip-preview{position:absolute;display:block;padding:0;border:0;overflow:visible;pointer-events:auto;touch-action:none;transform-origin:center;cursor:grab;z-index:4}.talking-page .pip-preview.pip-below{z-index:1}.talking-page .pip-preview.is-active{outline:1px solid var(--theme-focus, #087d7d);outline-offset:1px;cursor:move}.talking-page .pip-preview>img{width:100%;height:100%;display:block;object-fit:fill;pointer-events:none;-webkit-user-select:none;user-select:none}.talking-page .pip-resize-handle,.talking-page .pip-rotate-handle{position:absolute;width:11px;height:11px;min-width:0;min-height:0;padding:0;border:1px solid #fff;border-radius:3px;background:var(--theme-focus, #087d7d);box-shadow:0 1px 4px #0006;z-index:2}.talking-page .pip-resize-nw{left:-6px;top:-6px;cursor:nwse-resize}.talking-page .pip-resize-ne{right:-6px;top:-6px;cursor:nesw-resize}.talking-page .pip-resize-sw{left:-6px;bottom:-6px;cursor:nesw-resize}.talking-page .pip-resize-se{right:-6px;bottom:-6px;cursor:nwse-resize}.talking-page .pip-rotate-handle{left:50%;top:-28px;transform:translate(-50%);width:18px;height:18px;border-radius:50%;color:#fff;font-size:12px;line-height:16px;cursor:grab}.talking-page .pip-timeline{display:grid;gap:6px;padding:8px 0 2px}.talking-page .pip-style-controls{display:flex;align-items:center;gap:4px;min-height:27px;padding:3px 5px;border:1px solid var(--theme-line, #aac5c0);border-radius:6px;background:var(--theme-selected, #e3f1ee);font-size:11px;white-space:nowrap}.talking-page .pip-style-title{font-weight:750;color:var(--theme-ink, #18302e)}.talking-page .pip-stroke-toggle,.talking-page .pip-style-toggle,.talking-page .pip-nudge,.talking-page .pip-style-confirm{min-width:25px;width:auto;min-height:22px;height:22px;padding:2px 6px;border:1px solid var(--theme-line, #aac5c0);border-radius:4px;background:var(--theme-panel, #fff);color:var(--theme-ink, #18302e);font-size:11px;line-height:16px;cursor:pointer}.talking-page .pip-stroke-toggle{font-weight:750}.talking-page .pip-nudge{padding-inline:4px;font-size:15px;line-height:14px}.talking-page .pip-style-confirm{border-color:var(--theme-focus, #087d7d);background:var(--theme-focus, #087d7d);color:#fff;font-weight:750}.talking-page .pip-style-controls output{min-width:28px;text-align:center;color:var(--theme-muted, #60726f)}.talking-page .pip-style-controls .pip-border-color{width:36px;min-width:36px;height:12px;min-height:12px;padding:0;border:1px solid var(--theme-line, #aac5c0);border-radius:2px;cursor:pointer}.talking-page .pip-timeline-head,.talking-page .pip-timeline-scale{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;color:var(--theme-muted, #60726f)}.talking-page .pip-track-row{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:center;gap:7px;min-height:28px;padding:2px 0;border-radius:6px}.talking-page .pip-track-row.is-active{background:var(--theme-selected, #e3f1ee)}.talking-page .pip-track-row>span{font-size:11px;text-align:right;color:var(--theme-muted, #60726f);white-space:nowrap}.talking-page .pip-track-line{position:relative;height:25px;border:1px solid var(--theme-line, #aac5c0);border-radius:6px;background:repeating-linear-gradient(90deg,#eef5f3 0 9px,#e1ece9 10px);overflow:visible}.talking-page .pip-video-duration-block{position:absolute;inset:2px;display:flex;align-items:center;justify-content:center;border-radius:4px;background:#8aa9a455;color:var(--theme-muted, #60726f);font-size:10px}.talking-page .pip-time-block{position:absolute;top:2px;height:19px;min-width:14px;display:flex;align-items:center;justify-content:space-between;gap:2px;border:1px solid var(--theme-focus, #087d7d);border-radius:4px;background:var(--theme-action, #087d7d);color:#fff;touch-action:none;cursor:grab}.talking-page .pip-time-block.is-selected{background:#0b9b96;box-shadow:0 0 0 1px #0b9b9655}.talking-page .pip-time-block>strong{flex:1;min-width:0;overflow:hidden;text-align:center;font-size:10px;line-height:17px}.talking-page .pip-time-block>button{width:7px;min-width:7px;height:17px;min-height:17px;padding:0;border:0;border-radius:2px;background:#fff6;cursor:ew-resize}.talking-page .pip-asset-strip{display:flex;gap:6px;flex-wrap:wrap;padding-top:3px}.talking-page .pip-asset-strip>div{display:grid;grid-template-columns:32px auto auto;align-items:center;gap:5px;padding:3px 5px;border:1px solid var(--theme-line, #c7d8d5);border-radius:6px;font-size:11px}.talking-page .pip-asset-strip>div.is-selected{border-color:var(--theme-focus, #087d7d);background:var(--theme-selected, #e3f1ee)}.talking-page .pip-asset-strip img{width:32px;height:25px;object-fit:cover;border-radius:3px}.talking-page .pip-asset-strip button{min-height:22px;height:22px;padding:2px 5px;font-size:11px}.talking-page .pip-assets-row{display:flex;align-items:stretch;gap:4px;min-height:34px;height:34px;overflow-x:auto;padding:2px}.talking-page .pip-assets-action{flex:0 0 30px;width:30px;min-width:30px;height:30px;min-height:30px;padding:0;border:1px solid var(--theme-line, #aac5c0);border-radius:5px;background:var(--theme-field, #fff);color:var(--theme-action, #087d7d);font-size:20px;font-weight:500;line-height:27px;cursor:pointer}.talking-page .pip-assets-action:disabled{opacity:.38;cursor:default}.talking-page .pip-asset-chip{flex:0 0 42px;width:42px;min-width:42px;height:30px;min-height:30px;padding:2px;border:1px solid var(--theme-line, #aac5c0);border-radius:5px;background:var(--theme-field, #fff);overflow:hidden;cursor:pointer}.talking-page .pip-asset-chip.is-selected{border-color:var(--theme-action, #087d7d);box-shadow:0 0 0 2px #087d7d38;background:var(--theme-selected, #e3f1ee)}.talking-page .pip-asset-chip :is(img,video){width:100%;height:100%;display:block;object-fit:cover;border-radius:3px}.talking-page .talking-editor:has(.talking-inline-tools){gap:6px}.talking-page .talking-editor:has(.talking-inline-tools)>.talking-help,.talking-page .talking-editor:has(.talking-inline-tools)>.talking-processing-actions{margin-block:0}.talking-page .talking-editor:has(.talking-inline-tools) .talking-processing-actions{gap:5px}.talking-page .talking-editor:has(.talking-inline-tools) .talking-processing-actions button{min-height:32px;height:32px;padding:4px 7px;font-size:11px}.talking-page .talking-editor:has(.talking-inline-tools) .talking-inline-tools{gap:5px;margin-bottom:7px}.talking-page .talking-editor:has(.talking-inline-tools) .talking-inline-tool{padding:7px;gap:5px;border-radius:8px}.talking-page .talking-editor:has(.talking-inline-tools) .talking-inline-tool>header{padding-bottom:4px}.talking-page .talking-editor:has(.talking-inline-tools) .talking-inline-tool>header strong{font-size:13px}.talking-page .talking-editor:has(.talking-inline-tools) .talking-inline-tool>header small{font-size:10px}.talking-page .talking-editor:has(.talking-inline-tools) .talking-inline-tool button{min-height:27px;height:27px;padding:3px 7px;font-size:11px}.talking-page .talking-editor:has(.talking-inline-tools) .talking-subtitle-header button{padding-inline:3px}.talking-page .talking-editor:has(.talking-inline-tools) .talking-subtitle-tool{gap:4px}.talking-page .talking-editor:has(.talking-inline-tools) .talking-subtitle-timeline{gap:3px}.talking-page .talking-editor:has(.talking-inline-tools) .talking-timeline-row{min-height:26px}.talking-page .talking-editor:has(.talking-inline-tools) .talking-timeline-row :is(input,textarea){min-height:25px;height:25px}.talking-page .talking-subtitle-actions{flex-wrap:nowrap;gap:4px;overflow:hidden}.talking-page .talking-subtitle-actions button{flex:1 1 0;min-width:0;min-height:26px;height:26px;padding:3px 5px;font-size:11px;white-space:nowrap}.talking-page .talking-editor:has(.talking-inline-tools) .talking-subtitle-settings input[type=color],.talking-page .talking-editor:has(.talking-inline-tools) .talking-subtitle-settings .color-swatch{width:36px!important;min-width:36px!important;height:12px!important;min-height:12px!important;padding:0!important;line-height:12px!important}.talking-page .talking-voice-picker{width:min(860px,92vw);color:var(--theme-text,#164e52)}.talking-page .talking-voice-picker .talking-voice-tabs{display:flex;gap:10px;margin:14px 0}.talking-page .talking-voice-picker .talking-voice-tabs button{flex:1;min-height:40px;border:1px solid #75aaa2;background:var(--theme-selected,#e0efea);color:var(--theme-bright,#155557);font-size:15px;font-weight:700}.talking-page .talking-voice-picker .talking-voice-tabs button[aria-selected=true]{background:#076b70;border-color:#076b70;color:#fff;box-shadow:0 2px 4px #07545922}.talking-page .talking-voice-picker .system-voice-list{margin-top:12px;max-height:52dvh;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#74a89b #e5efeb}.talking-page .talking-voice-picker .system-voice-strip{display:grid;grid-template-columns:120px minmax(0,1fr) 70px;align-items:center;gap:14px;padding:11px 5px;border-bottom:1px solid var(--theme-line,#bcd6cf);background:transparent;border-radius:0}.talking-page .talking-voice-picker .system-voice-name{display:flex;flex-direction:column;gap:4px;min-width:0}.talking-page .talking-voice-picker .system-voice-name b{font-size:15px;color:var(--theme-bright,#164e52)}.talking-page .talking-voice-picker .system-voice-name small{font-size:12px;color:var(--theme-muted,#55776e);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.talking-page .talking-voice-picker .audio-preview{display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-width:0;padding:0;border:0;background:transparent;margin:0}.talking-page .talking-voice-picker .audio-preview>.row{display:contents}.talking-page .talking-voice-picker .audio-preview button{order:0;width:52px;min-height:32px;padding:4px 8px;border:1px solid #75aaa2;background:var(--theme-selected,#e0efea);color:var(--theme-bright,#155557);font-weight:600}.talking-page .talking-voice-picker .audio-preview input[type=range]{order:1;flex:1;min-width:50px;width:auto;accent-color:#087579;margin:0;cursor:pointer}.talking-page .talking-voice-picker .audio-time{order:2;font-size:12px;color:var(--theme-muted,#55776e);font-variant-numeric:tabular-nums}.talking-page .talking-voice-picker .audio-preview>p{order:3;flex-basis:100%;font-size:12px;margin:0;color:#b03535}.talking-page .talking-voice-picker .system-voice-select{min-height:32px;background:#e0efea;border:1px solid #75aaa2;color:#155557;font-weight:600}.talking-page .talking-voice-picker .system-voice-select[aria-pressed=true]{background:#076b70;color:#fff;border-color:#076b70}@media(max-width:650px){.talking-page .talking-voice-picker .system-voice-strip{grid-template-columns:80px minmax(0,1fr) 54px;gap:8px}.talking-page .talking-voice-picker .audio-time{flex-basis:100%;text-align:right}}:root{--work-ink: #163e42;--work-muted: #536d71;--work-accent: #08696b;--work-soft: #e8f3f0;--work-line: #a7c9c3;--work-button: #086466;--work-button-text: #fff;--work-hover: #074f51;--work-field: #fff}[data-theme=dark]{--work-ink: #e0eeeb;--work-muted: #adc3c0;--work-accent: #b5dcd5;--work-soft: #13383f;--work-line: #467f7d;--work-button: var(--theme-action);--work-button-text: var(--theme-bright);--work-hover: var(--theme-action-hover);--work-field: #0b1b2b}:is(.studio-layout,.media-page,.chat-page,.assets-page,.canvas-list-page,.canvas-editor,.admin-page){color:var(--work-ink);font-size:15px}:is(.studio-layout,.media-page,.assets-page,.canvas-list-page) :is(h1,.title-button),.studio-layout .studio-location>.text-button{font-size:28px;line-height:1.35;font-weight:750;letter-spacing:-.6px;color:var(--work-ink)}.studio-layout .title-button{flex-wrap:wrap;gap:8px}.studio-layout .title-button small{font-size:14px;font-weight:500}.studio-layout .editor-header{gap:12px;align-items:flex-start}:is(.media-page,.assets-page,.canvas-list-page) .page-heading h1{font-size:28px;line-height:1.35;font-weight:750;color:var(--work-ink)}.media-page .processing-guide h3{font-size:16px;color:var(--work-ink)}.media-page .processing-guide ol{font-size:14px;color:var(--work-muted)}.studio-layout .editor-header>.text-button{flex-shrink:0;font-size:14px;min-height:40px}.workflow-help{padding:16px;margin:0 0 18px;background:var(--work-soft);border:1px solid var(--work-line);border-left:4px solid var(--work-accent);border-radius:12px;color:var(--work-ink)}.workflow-help :is(summary,strong){font-size:16px;font-weight:700;line-height:1.6;color:var(--work-ink)}.workflow-help summary{cursor:pointer}.workflow-help p{font-size:14px;line-height:1.8;color:var(--work-muted);margin:8px 0}.workflow-help button.text-button{color:var(--work-accent);font-size:14px;font-weight:650}:is(.studio-layout,.media-page,.chat-page,.assets-page,.canvas-list-page,.admin-page) label:not(.check-label){font-size:15px;font-weight:650}:is(.studio-layout,.media-page,.chat-page,.assets-page,.canvas-list-page,.admin-page) :is(input,textarea,select){font-size:15px;color:var(--work-ink);background-color:var(--work-field);font-weight:400}.studio-layout .prompt-input{font-size:16px;line-height:1.8}:is(.studio-layout,.media-page,.chat-page,.assets-page,.canvas-list-page,.admin-page) :is(input,textarea)::placeholder{color:var(--work-muted);opacity:1}.studio-layout .prompt-box{border:2px solid var(--work-line)}.studio-layout .material-slot,.studio-layout .depth-reference-upload{border-color:var(--work-line);background:var(--work-soft);color:var(--work-accent);font-size:14px;font-weight:650}.studio-layout .material-slot svg{color:var(--work-accent)}.studio-layout .material-slots>button>span{background:var(--work-soft);border-color:var(--work-line);color:var(--work-accent)}.studio-layout .material-slots small{font-size:12px;color:var(--work-muted)}.studio-layout .depth-reference-upload strong{font-size:16px;color:var(--work-ink)}.studio-layout .depth-reference-upload small{font-size:12px;color:var(--work-muted)}.studio-layout .preview-panel>:is(.depth-example-stage,.set-example-carousel) p{font-size:14px;line-height:1.8}.studio-layout .set-module-heading strong{font-size:15px}.studio-layout .set-module button strong{font-size:14px;color:var(--work-ink)}.studio-layout .set-module.selected{border-color:var(--work-line);background:var(--work-soft);box-shadow:inset 0 -2px var(--work-accent)}.studio-layout .set-module.selected button{background:transparent}.studio-layout .set-module label{font-size:12px}.studio-layout .config-row{gap:10px}.studio-layout .config-row>button{min-width:0;padding:12px 10px;border-color:var(--work-line);background:var(--work-soft)}.studio-layout .config-row strong{font-size:14px;color:var(--work-ink);white-space:normal}.studio-layout :is(.config-row small,.save-status,.prompt-toolbar small,.prompt-box footer small){font-size:12px;color:var(--work-muted)}.studio-layout .set-inline-options{font-size:14px}[data-theme] :is(.studio-layout,.media-page,.chat-page,.assets-page,.canvas-list-page,.canvas-editor,.admin-page) button.primary{background:var(--work-button);border-color:var(--work-button);color:var(--work-button-text);font-weight:750;font-size:16px;min-height:46px;padding:12px 18px}[data-theme] :is(.studio-layout,.media-page,.chat-page,.assets-page,.canvas-list-page,.canvas-editor,.admin-page) button.primary:hover:not(:disabled){background:var(--work-hover);border-color:var(--work-hover)}.app-main .studio-layout .editor-panel button.primary,.app-main .media-page .media-options button.primary,.admin-page .integration-manager button.primary{background:var(--work-button);color:var(--work-button-text)}.studio-layout button.generate small{color:inherit;font-size:12px;font-weight:450;opacity:.85}:is(.studio-layout,.media-page,.chat-page,.assets-page,.canvas-list-page,.admin-page) button:disabled{opacity:.5}:is(.studio-layout,.media-page,.chat-page,.assets-page,.canvas-list-page,.admin-page) :is(.tabs,.parameter-tabs)>button{font-size:15px;min-height:40px}:is(.studio-layout,.media-page,.chat-page,.assets-page,.canvas-list-page,.admin-page) .tabs>button.active{color:var(--work-accent);background:var(--work-soft);border-color:var(--work-line);font-weight:700}:is(.studio-layout,.media-page) :is(.inline-notice,.processing-guide){background:var(--work-soft);border-color:var(--work-line);color:var(--work-ink);font-size:14px;line-height:1.8;padding:14px;border-radius:10px}:is(.studio-layout,.media-page) :is(.empty h2,.empty h3){color:var(--work-ink);font-size:22px}:is(.studio-layout,.media-page) .empty p{font-size:14px;line-height:1.8}:is(.studio-layout,.media-page) :is(.queue-toggle,.processing-preview h2){font-size:17px;color:var(--work-ink)}:is(.studio-layout,.media-page) :is(.queue-card small,.queue-empty){font-size:12px;line-height:1.7}:is(.studio-layout,.media-page,.chat-page,.assets-page,.canvas-list-page,.canvas-editor,.admin-page) .modal>header h2{font-size:22px;color:var(--work-ink)}:is(.studio-layout,.media-page,.chat-page,.assets-page,.canvas-list-page,.admin-page) .modal :is(p,label){font-size:14px;line-height:1.7}:is(.studio-layout,.media-page) .modal :is(.slot,.skill-grid button){font-size:15px}.chat-page .agent-session h2{font-size:24px;color:var(--work-ink)}.chat-page :is(.message,.script-editor,.chat-input textarea){font-size:16px;line-height:1.8}.media-page .media-options h3{font-size:17px}.assets-page .library-nav button{font-size:15px}.canvas-list-page .canvas-new-card{color:var(--work-accent);border-color:var(--work-line);background:var(--work-soft);font-size:17px}.canvas-editor .node-inspector{font-size:14px}.canvas-editor .node-inspector :is(input,textarea,select){font-size:15px}@media(max-width:767px){:is(.media-page,.assets-page,.canvas-list-page) .page-heading h1{font-size:25px}:is(.studio-layout,.media-page,.assets-page,.canvas-list-page) :is(h1,.title-button),.studio-layout .studio-location>.text-button{font-size:25px}:is(.studio-layout,.media-page,.chat-page,.assets-page,.canvas-list-page,.admin-page) :is(input,textarea,select){font-size:16px}.studio-layout .config-row{flex-wrap:wrap}.studio-layout .config-row>button{flex:1 1 145px}.workflow-help{padding:13px}}.integration-manager{min-width:0}.integration-heading,.integration-toolbar,.integration-actions,.integration-tool-tabs,.integration-flags,.integration-card>header{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.integration-heading,.integration-card>header{justify-content:space-between}.integration-heading{margin-bottom:22px}.integration-heading h2{display:flex;align-items:center;gap:10px;font-size:24px}.integration-heading p{color:var(--work-muted);font-size:14px}.integration-required-badge{display:inline-block;margin-left:5px;padding:2px 6px;border-radius:999px;color:var(--theme-success, #075b60);background:var(--theme-success-bg, #d7f1ee);font-size:11px;vertical-align:middle}.integration-supplier{align-self:flex-start;width:fit-content;max-width:100%;padding:4px 10px;border-radius:7px;background:#075f66;color:#fff;font-size:14px;font-weight:700;overflow-wrap:anywhere}.integration-model-summary{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}.integration-model-summary>span{color:var(--work-muted);font-size:12px}.integration-model-summary>strong{font-size:15px}.integration-purpose,.integration-edit-purpose>p{white-space:pre-line;overflow-wrap:anywhere}.integration-slot-purpose{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px}.integration-slot-purpose>span{min-width:0;overflow-wrap:anywhere;font-size:13px}.integration-slot-purpose .integration-required-badge{margin-left:0;flex-shrink:0}.integration-slot-role{font-size:12px;line-height:1.5;font-weight:400}.integration-edit-supplier{margin-bottom:8px}.integration-edit-purpose{padding:8px 10px;border:1px solid var(--work-line);border-radius:8px;background:var(--work-soft);min-width:0}.integration-edit-purpose>strong{font-size:13px}.integration-edit-purpose>p{margin:4px 0 0;font-size:13px;line-height:1.6}.integration-contract-warning{display:grid;gap:5px;margin:10px 0 16px;padding:10px 12px;border:1px solid #e2b45d;border-radius:10px;background:var(--theme-warning-bg, #fff8e8);color:var(--theme-warning, #704f12);font-size:13px}.integration-contract-warning span{font-weight:700}.integration-contract-warning small{line-height:1.5}.api-pricing-fields{display:grid;gap:10px;min-width:0;padding:12px;border:1px solid var(--theme-line, #b9d6d3);border-radius:10px;background:var(--theme-base, #f1f8f6)}.api-pricing-fields p{margin:0;font-size:13px;line-height:1.5}.api-pricing-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px}.api-pricing-controls label{min-width:0;display:grid;gap:6px}.api-price-table{overflow-x:auto}.api-price-table table{width:100%;border-collapse:collapse;font-size:13px}.api-price-table th,.api-price-table td{padding:7px;text-align:left;border-bottom:1px solid var(--theme-line, #c8dcd9)}.api-price-table small{display:block}.api-price-pending{color:var(--theme-warning, #84600e)}.billing-admin .integration-heading{margin-bottom:16px}.billing-provider-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border:1px solid var(--work-line);border-radius:10px;background:var(--work-soft)}.billing-provider-entry p{margin:4px 0 0;color:var(--work-muted);font-size:13px}.api-marketplace{display:grid;gap:18px}.api-marketplace-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;flex-wrap:wrap}.api-marketplace-heading h3,.api-marketplace-heading p{margin:0}.api-marketplace-heading p{margin-top:5px;color:var(--work-muted);font-size:13px}.api-marketplace-filter{display:flex;align-items:center;gap:8px;min-width:min(280px,100%);font-size:13px;font-weight:600}.api-marketplace-filter select{flex:1;min-width:0}.api-marketplace-category{display:grid;gap:10px}.api-marketplace-category>header{display:flex;align-items:baseline;justify-content:space-between;gap:10px;border-top:1px solid var(--work-line);padding-top:14px}.api-marketplace-category h4,.api-marketplace-category>header span{margin:0}.api-marketplace-category>header span{color:var(--work-muted);font-size:12px}.api-marketplace-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:12px}.api-marketplace-card{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;min-width:0;padding:14px;text-align:left;border:1px solid var(--work-line);border-radius:12px;background:var(--panel);color:var(--work-ink)}.api-marketplace-card:hover,.api-marketplace-card:focus-visible{border-color:var(--work-accent);background:var(--work-soft)}.api-marketplace-provider{color:var(--work-accent);font-size:13px;font-weight:700;overflow-wrap:anywhere}.api-marketplace-card-heading,.api-function-health{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0}.api-marketplace-card-heading .api-marketplace-provider,.api-function-health>span:first-child{min-width:0}.api-health{display:inline-flex;flex:0 0 auto;align-items:center;padding:3px 7px;border:1px solid;border-radius:6px;font-size:11px;font-weight:600;line-height:1.4;white-space:nowrap}.api-health-normal{color:#166534;background:#dcfce7;border-color:#86c69d}.api-health-partial{color:#9a3412;background:#ffedd5;border-color:#f6b578}.api-health-error{color:#991b1b;background:#fee2e2;border-color:#f5a0a0}.api-health-pending{color:#854d0e;background:#fef9c3;border-color:#dac45e}.api-health-disabled{color:#475569;background:#e2e8f0;border-color:#b5bfcc}.api-marketplace-health-summary{font-size:13px;line-height:1.7}.api-function-health-reason{display:block;margin:3px 0 8px}.api-marketplace-card strong{overflow-wrap:anywhere}.api-marketplace-card small{color:var(--work-muted)}.api-marketplace-endpoint{color:var(--work-muted);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.api-marketplace-modal{width:min(720px,94vw);overflow-wrap:anywhere}.api-marketplace-detail-list{display:grid;gap:10px}.api-marketplace-detail-list article{display:grid;gap:7px;padding:12px;border:1px solid var(--work-line);border-radius:10px;background:var(--work-soft)}.api-marketplace-detail-list article header{display:flex;justify-content:space-between;gap:10px}.api-marketplace-detail-list article header span{color:var(--work-muted);font-size:12px}.api-marketplace-detail-list ul{margin:0;padding-left:18px;color:var(--work-muted);font-size:13px;line-height:1.6}.api-marketplace-detail-list button{justify-self:start;min-height:34px}@media(max-width:540px){.api-pricing-controls{grid-template-columns:1fr}}.integration-toolbar{margin:20px 0}.integration-toolbar input{flex:1 1 180px;min-width:0}.integration-toolbar .tabs{margin:0;flex-wrap:wrap}.integration-tool-tabs{margin:14px 0}.integration-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));gap:16px}.integration-card{background:var(--panel);border:1px solid var(--work-line);border-radius:14px;padding:18px;min-width:0}.integration-card h3{color:var(--work-ink);font-size:17px;overflow-wrap:anywhere}.integration-endpoint{color:var(--work-muted);font-size:12px;overflow-wrap:anywhere;line-height:1.8}.integration-flags{font-size:12px}.integration-flags span{padding:4px 8px;background:var(--work-soft);border-radius:20px}.integration-flags .integration-on{border:1px solid var(--work-line);color:var(--work-accent)}.integration-off{opacity:.75}.integration-card p{line-height:1.8}.integration-runtime{font-size:13px;color:var(--work-muted)}.integration-verification-reason{padding:10px;border:1px solid #e5b785;border-radius:8px;background:#fff5e8;color:#713d14;min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.6}.integration-card .integration-verification-reason>strong{color:#713d14}.integration-verification-reason p{margin:4px 0;line-height:1.6}.integration-assigned{border-top:1px solid var(--line);padding-top:12px;margin-top:12px;font-size:13px}.integration-assigned>strong{color:var(--work-accent)}.integration-assigned ul{list-style:none;padding:0 0 0 9px;margin:10px 0 0}.integration-assigned li{border-left:2px solid var(--work-line);padding:2px 0 7px 12px}.integration-assigned li>span{font-size:11px;color:var(--work-muted)}.integration-assigned li p{margin:3px 0 0;line-height:1.7;overflow-wrap:anywhere}.integration-function-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:20px;padding:18px;margin:12px 0;border:1px solid var(--work-line);border-radius:12px;background:var(--panel)}.integration-function-row h3{margin:7px 0 10px;font-size:17px}.integration-function-row small,.integration-function-row details{color:var(--work-muted);font-size:12px}.integration-function-row details p{overflow-wrap:anywhere}.integration-function-row>div:last-child{display:flex;align-items:flex-start;flex-direction:column;gap:10px}.integration-binding{display:flex;flex-direction:column;align-items:flex-start;gap:6px;width:100%;text-align:left}.integration-binding span{font-size:12px;font-weight:400;color:var(--work-muted)}.integration-unassigned{color:var(--work-muted);padding:6px 0;font-size:13px}.integration-function-picker{min-width:0}.integration-function-picker section{padding:12px;border:1px solid var(--line);border-radius:10px;margin-top:12px}.integration-function-picker section>strong{color:var(--work-accent);font-size:14px}.integration-function-picker .check-label{margin:12px 0 0;font-size:13px;line-height:1.7;align-items:flex-start}.integration-function-picker input{margin-top:4px;flex-shrink:0}@media(max-width:760px){.integration-function-row{grid-template-columns:1fr;gap:12px}}.integration-failed{color:#a62424;background:#ffeded;border:1px solid #efb4b4}.integration-verification{display:grid;gap:12px;min-width:0;overflow-wrap:anywhere}.integration-verification label{display:grid;gap:6px;min-width:0}.integration-verification input:not([type=checkbox]){width:100%;min-width:0;min-height:42px;box-sizing:border-box}.integration-verification .integration-actions{display:flex;flex-wrap:wrap;gap:8px}.integration-verification .integration-actions button{min-height:44px;flex:1 1 160px}.integration-actions{margin-top:12px}.integration-actions>button{min-height:38px;font-size:14px}.integration-switch{border-radius:24px;padding:7px 12px;gap:8px}.integration-switch span{display:block;background:var(--work-muted);width:14px;height:14px;border-radius:50%}.integration-switch.on{background:var(--work-soft);border-color:var(--work-line);color:var(--work-accent)}.integration-switch.on span{background:var(--work-accent)}.integration-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 10px}.integration-form-grid>label{display:grid;gap:2px;min-width:0}.integration-form-grid .check-label{display:flex;align-items:center}.integration-form-grid :is(input,select,textarea){width:100%;min-width:0}.integration-form-grid input[type=checkbox]{width:auto}.integration-form-grid small{color:var(--work-muted);font-size:11px;font-weight:400;line-height:1.4}.integration-form-grid .full{grid-column:1/-1}.integration-form-grid fieldset{border:1px solid var(--work-line);border-radius:10px;padding:6px 9px;min-width:0}.modal.integration-edit-modal{width:min(800px,94vw);padding:12px 16px;max-height:calc(100dvh - 24px)}.integration-edit-modal>header{margin-bottom:6px}.integration-edit-modal .integration-form-grid{gap:5px 12px}.integration-edit-modal .integration-form-grid>label:not(.check-label){grid-template-columns:106px minmax(0,1fr);align-items:center;gap:6px;margin:0;font-size:13px;line-height:1.25}.integration-edit-modal .integration-form-grid :is(input:not([type=checkbox]),select,textarea){height:32px;min-height:32px;padding:5px 8px;margin:0;font-size:13px;line-height:20px}.integration-edit-modal .integration-form-grid textarea[rows]{height:96px;min-height:96px;resize:vertical}.integration-edit-modal .integration-form-grid fieldset{margin:0;padding:3px 8px 5px}.integration-edit-modal .integration-form-grid legend{font-size:13px}.integration-edit-modal .integration-tool-tabs{margin:0;gap:4px 12px}.integration-edit-modal .check-label{margin:0;font-size:13px}.integration-edit-modal .integration-function-picker section{display:flex;flex-wrap:wrap;align-items:center;gap:3px 12px}.integration-edit-modal .integration-function-picker section>strong{margin:0;font-size:12px}.integration-edit-modal .muted{margin:0 0 10px;line-height:1.5;font-size:12px}.integration-edit-modal .integration-function-picker>.muted{margin:3px 0 6px}.integration-edit-modal .integration-function-picker section{margin-top:2px;padding:3px 6px}.integration-edit-modal .integration-function-picker .check-label{margin:0;line-height:1.3}.integration-edit-modal .integration-provider-cost{display:flex;align-items:center;gap:8px;padding:4px 8px;font-size:12px}.integration-edit-modal .integration-provider-cost small{line-height:1.4}.integration-edit-modal .modal-footer{margin-top:6px;padding-top:6px}.integration-edit-modal .modal-footer button{min-height:32px;padding:6px 12px;font-size:13px}.integration-checks,.integration-audit{list-style:none;padding:0}.integration-checks li{display:flex;justify-content:space-between;padding:12px;border-bottom:1px solid var(--line)}.integration-audit li{display:grid;gap:8px;padding:14px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.integration-audit small{color:var(--work-muted)}.integration-provider-cost{display:grid;gap:5px;padding:9px 11px;border:1px solid var(--work-line);border-radius:8px;background:var(--work-soft);overflow-wrap:anywhere}.integration-provider-cost strong{font-size:14px}.integration-edit-modal .api-cost-reference{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:6px;padding:10px}.integration-provider-cost button{justify-self:start;padding:4px 9px;font-size:13px}.integration-usage-history{max-height:55vh;overflow-y:auto}.integration-protocol-hint{color:var(--work-muted);font-size:12px;line-height:1.5;overflow-wrap:anywhere}@media(max-width:600px){.integration-form-grid,.integration-edit-modal .integration-form-grid{grid-template-columns:1fr}.integration-edit-modal{max-width:calc(100vw - 24px)}.integration-edit-modal .integration-form-grid>label:not(.check-label){grid-template-columns:86px minmax(0,1fr)}.integration-edit-modal .integration-form-grid :is(input:not([type=checkbox]),select,textarea){min-width:0;width:100%;min-height:40px;font-size:16px}.integration-edit-modal .modal-footer{flex-wrap:wrap}.billing-provider-entry{align-items:stretch;flex-direction:column}.integration-heading{align-items:flex-start}.integration-toolbar>.tabs{width:100%}}@media(min-width:601px)and (max-width:900px){.integration-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.integration-toolbar .api-marketplace-filter{flex:1 1 290px;max-width:420px;min-width:0}.integration-toolbar .api-marketplace-filter select{width:100%}.integration-edit-modal .integration-card{overflow-wrap:anywhere}@media(max-width:600px){.integration-toolbar .api-marketplace-filter{flex-basis:100%;max-width:none}.integration-toolbar button,.integration-toolbar select,.integration-function-row button,.api-marketplace-detail-list button{min-height:44px}}.studio-layout .workflow-help{display:none}.studio-layout .studio-location>.text-button{font-size:17px;letter-spacing:0}.studio-image .skill-picker-trigger strong{font-size:17px;letter-spacing:0}.studio-layout .prompt-box{border-color:var(--line)}.studio-set .prompt-box{border:0}.studio-layout .config-row>button{background:transparent;border-color:var(--line)}.studio-layout .depth-example-stage>img{max-width:min(100%,1024px);max-height:none}.studio-layout .set-example-slide{width:min(512px,100%);height:min(512px,58vh);max-width:100%;max-height:none;margin-top:22px}.studio-layout .set-example-slide>img{width:100%;height:100%;object-fit:contain}.studio-layout .set-example-dots{margin-top:28px}.image-ratio-options{flex-wrap:wrap}.studio-layout .save-status,.studio-video .workflow-help{display:none}.studio-video .editor-header{min-height:60px;height:60px;align-items:center;padding-bottom:8px}.studio-video .skill-picker-trigger strong{font-size:17px;letter-spacing:0}.studio-video .skill-picker-trigger small{font-size:12px}.studio-video .skill-picker-trigger .tool-emblem{width:48px;height:48px}.studio-video .preview-panel{display:flex;flex-direction:column}.studio-video .preview-panel>.tabs{flex-shrink:0}.studio-video .prompt-box{background:transparent;border-color:var(--line)}.studio-video .prompt-input{background:transparent}.studio-video .video-config-row>button{background:transparent;border-color:var(--line);min-height:52px}.studio-video .save-status{display:none}.director-workbench{display:flex;flex:1;flex-direction:column;min-height:0;position:relative;color:var(--work-ink)}.director-welcome{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px 12px;min-height:200px}.director-welcome-mark{position:relative;color:var(--work-line);opacity:.5;margin-bottom:16px}.director-welcome-mark>svg:last-child{position:absolute;right:-12px;top:-9px}.director-welcome h2{font-size:17px;font-weight:500;margin:0 0 22px}.director-suggestions{display:grid;grid-template-columns:repeat(3,max-content);gap:10px;justify-content:center}.director-suggestions button{padding:9px 8px;border-radius:9px;border:1px solid var(--line);color:var(--work-ink);background:transparent;font-size:12px;cursor:pointer}.director-suggestions button:hover{background:var(--work-soft);border-color:var(--work-line)}.director-composer-wrap{flex-shrink:0}.director-mode-actions{display:flex;justify-content:flex-end;gap:8px;margin:6px 0 10px}.director-mode-actions button{font-size:11px;border:0;border-radius:6px;padding:4px 8px;color:var(--work-muted);background:transparent;cursor:pointer}.director-mode-actions button:last-child{background:var(--work-ink);color:var(--work-field)}.director-composer{padding:10px;border:1px solid var(--line);border-radius:14px;box-shadow:0 2px 8px #00000004}.director-materials{display:flex;gap:16px;margin-bottom:8px}.director-materials>button{display:flex;flex-direction:column;align-items:center;gap:5px;padding:0;border:0;background:transparent;cursor:pointer;color:var(--work-muted)}.director-materials>button>span{position:relative;width:48px;height:48px;display:grid;place-items:center;border-radius:10px;background:var(--work-soft);border:1px solid var(--work-line)}.director-materials i{position:absolute;bottom:2px;right:2px;font-size:11px;width:14px;height:14px;line-height:14px;border-radius:100%;background:var(--work-ink);color:var(--work-field);font-style:normal}.director-materials small{font-size:11px}.director-composer>textarea{display:block;min-height:64px;height:64px;width:100%;resize:none;border:0;background:transparent;padding:4px 0;font-size:14px;color:var(--work-ink)}.director-composer>footer{display:flex;align-items:center;gap:8px;min-height:34px;margin-top:6px}.director-settings-trigger{border:0;background:transparent;color:var(--work-ink);padding:4px 0;font-size:12px;display:flex;align-items:center;gap:5px;cursor:pointer}.director-submit-status{margin-left:auto;font-size:10px;color:var(--work-muted)}.director-send{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--work-button);color:var(--work-button-text);border:0;padding:0;cursor:pointer}.director-composer .ref-chips{max-height:120px;overflow:auto}.director-message-list{flex:1;min-height:0;overflow:auto;padding:12px 0}.director-message-list article{max-width:85%;margin:12px 0 12px auto;padding:12px;border-radius:14px;background:var(--work-soft)}.director-message-list p{margin:0 0 8px;white-space:pre-wrap;overflow-wrap:anywhere}.director-message-list small{color:var(--work-muted)}.director-script{flex:1;min-height:0;display:flex;flex-direction:column;gap:12px;padding-top:12px}.director-script>header{display:flex;align-items:center;justify-content:space-between}.director-script textarea{flex:1;min-height:100px}.workbench-popover{position:fixed;z-index:430;padding:10px;box-sizing:border-box;overflow:auto;background:var(--work-field);color:var(--work-ink);border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 24px #00000012;outline:none}.video-model-options{display:flex;flex-direction:column;gap:3px}.video-model-options>button{display:flex;align-items:center;gap:9px;border:0;border-radius:9px;padding:12px 8px;background:transparent;color:var(--work-ink);text-align:left;cursor:pointer}.video-model-options>button>span{flex:1}.video-model-options strong{display:block;font-size:13px}.video-model-options small{display:block;margin-top:5px;font-size:11px;color:var(--work-muted)}.video-model-options>button[aria-pressed=true],.video-model-options>button:hover{background:var(--work-soft)}.video-setting-sections{display:flex;flex-direction:column;gap:12px}.video-setting-sections fieldset{border:0;border-bottom:1px solid var(--line);padding:0 0 10px;margin:0;min-width:0}.video-setting-sections fieldset:last-child{border-bottom:0;padding-bottom:0}.video-setting-sections legend{font-size:11px;color:var(--work-muted);margin-bottom:8px}.ratio-options{display:grid;grid-template-columns:repeat(6,1fr);gap:4px}.ratio-options button{display:flex;align-items:center;justify-content:flex-end;flex-direction:column;gap:6px;height:66px;font-size:10px}.ratio-options i{display:block;border:1px solid currentColor;border-radius:6px}.segment-options{display:flex;gap:6px}.segment-options button{flex:1;font-size:12px}.video-setting-sections button{background:transparent;border:1px solid transparent;border-radius:8px;padding:7px 4px;color:var(--work-ink);cursor:pointer}.video-setting-sections button[aria-checked=true]{background:var(--work-soft);border-color:var(--work-line)}.duration-control input{width:100%;padding:0;accent-color:var(--work-accent)}.duration-control>div{display:flex;justify-content:space-between}.duration-control button{font-size:11px}.director-language-options{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;font-size:12px}.video-example-stage{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:center;overflow:hidden;padding:24px 6%}.video-example-stage h2{font-size:22px;margin:0 0 8px;color:var(--work-ink)}.video-example-stage>p{font-size:14px;color:var(--work-muted);margin:0 0 24px}.video-example-deck{width:100%;aspect-ratio:1.78;max-height:65vh;position:relative;border-radius:16px;background:radial-gradient(ellipse,var(--work-soft),transparent 70%);isolation:isolate}.video-example-leaf{position:absolute;top:9%;bottom:9%;left:30%;width:40%;border:2px solid var(--work-field);border-radius:24px;overflow:hidden;background:var(--work-soft);box-shadow:0 16px 28px #0002}.video-example-leaf img{width:100%;height:100%;object-fit:cover;animation:video-example-fade .8s ease}.video-example-leaf.leaf-0{transform:translate(-74%) scale(.58);z-index:1;opacity:.35}.video-example-leaf.leaf-1{transform:translate(-46%) scale(.78);z-index:2;opacity:.7}.video-example-leaf.leaf-2{z-index:3}.video-example-leaf.leaf-3{transform:translate(46%) scale(.78);z-index:2;opacity:.7}.video-example-leaf.leaf-4{transform:translate(74%) scale(.58);z-index:1;opacity:.35}@keyframes video-example-fade{0%{opacity:.35}to{opacity:1}}@media(max-width:700px){.director-suggestions{grid-template-columns:repeat(2,max-content)}.director-workbench{min-height:500px}.video-example-stage{min-height:380px}.video-example-leaf{border-radius:12px}}@media(prefers-reduced-motion:reduce){.video-example-leaf img{animation:none}}.asset-picker-modal{width:min(768px,calc(100vw - 32px));max-width:768px;padding:18px;border-radius:14px;color:var(--work-ink)}.asset-picker-modal::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#11182766}.asset-picker-modal>header{margin-bottom:5px;padding-right:2px}.asset-picker-modal>header h2{font-size:18px}.asset-picker-count{position:absolute;right:56px;top:18px;background:var(--work-soft);color:var(--work-muted);padding:4px 9px;border-radius:12px;font-size:11px}.asset-picker-description{font-size:12px;color:var(--work-muted);margin:0 0 14px}.asset-picker-body{border:1px solid var(--line);border-radius:12px;padding:12px}.asset-collection-tabs{display:flex;gap:20px;margin-bottom:10px}.asset-collection-tabs button{padding:6px 4px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--work-muted);border-radius:0;font-size:13px}.asset-collection-tabs button[aria-selected=true]{color:var(--work-ink);border-bottom-color:var(--work-accent);font-weight:650}.asset-picker-search-row{display:flex;gap:8px;margin-bottom:10px}.asset-picker-search-row>select{width:136px;padding:7px 8px;font-size:12px}.asset-picker-search-row .search{display:flex;flex-direction:row;flex:1;margin:0;padding:0 10px;min-width:0;border:1px solid var(--line);border-radius:8px;align-items:center}.asset-picker-search-row input{flex:1;min-width:0;border:0;background:transparent;font-size:12px;padding:7px 0}.asset-picker-filter-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.asset-kind-tabs,.asset-source-tabs{display:flex;gap:4px}.asset-picker-filter-row button{border:0;padding:7px 8px;border-radius:16px;background:transparent;color:var(--work-muted);font-size:11px}.asset-picker-filter-row button[aria-pressed=true]{background:var(--work-soft);color:var(--work-ink)}.asset-picker-scroll{height:min(396px,46vh);overflow:auto}.asset-audio-list{display:grid;gap:12px;min-width:0}.asset-audio-list .asset-picker-upload{min-height:64px;padding:10px;flex-direction:row;flex-wrap:wrap}.asset-audio-list .asset-picker-upload>button{width:auto;border:1px solid var(--line);border-radius:8px;margin:0;padding:8px 14px;min-height:44px}.asset-audio-row{min-width:0;padding:12px;border:1px solid var(--line);border-radius:10px}.asset-audio-row.selected{border-color:var(--accent, #20a9a0)}.asset-audio-heading{display:flex;align-items:center;gap:8px;min-width:0}.asset-audio-heading strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.asset-audio-heading button,.asset-audio-row .audio-preview button{min-width:60px;min-height:44px}.asset-audio-row .audio-preview{display:grid;grid-template-columns:60px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-width:0;margin-top:8px;padding:0;border:0}.asset-audio-row .audio-preview>.row{display:contents}.asset-audio-row .audio-preview button{grid-column:1;grid-row:1}.asset-audio-row .audio-preview input[type=range]{grid-column:2;grid-row:1;width:100%;min-width:0;min-height:44px;margin:0;padding:0}.asset-audio-row .audio-preview .audio-time{grid-column:3;grid-row:1;white-space:nowrap;font-size:12px}.asset-audio-row .audio-preview>p{grid-column:1 / -1;margin:0}.asset-picker-modal .picker-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;max-height:none;overflow:visible;margin:0}.asset-picker-upload{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed var(--line);border-radius:10px;min-height:170px;gap:6px;text-align:center}.asset-picker-upload strong{font-size:12px;margin-top:7px}.asset-picker-upload small{font-size:10px;color:var(--work-muted)}.asset-picker-upload>button{background:transparent;border:0;border-top:1px solid var(--line);margin-top:8px;width:100%;padding:10px 4px;border-radius:0;font-size:11px}.asset-picker-upload>button svg{display:none}.asset-picker-empty{text-align:center;font-size:12px;color:var(--work-muted)}.asset-picker-select-all{display:flex;flex-direction:row;align-items:center;gap:7px;margin:0 auto 0 0;font-size:12px}.asset-picker-select-all input{width:16px;height:16px}.asset-picker-modal .modal-footer{margin-top:10px;padding-top:0}@media(max-width:600px){.asset-picker-modal .picker-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.asset-picker-filter-row{flex-wrap:wrap}.asset-picker-description{max-width:90%}}.app-main:has(>.talking-page){height:100dvh;min-height:0;overflow:hidden}.talking-page{display:flex;flex-direction:column;gap:10px;height:100%;min-height:0;width:calc(100% - 56px);max-width:1920px;padding:12px 8px;overflow:hidden}.talking-page>.talking-heading{flex:0 0 auto;margin:0;gap:10px;flex-wrap:nowrap}.talking-page .talking-heading h1{margin:0;font-size:21px}.talking-page .talking-heading small{font-size:11px}.talking-page .talking-heading button{min-height:32px;padding:5px 10px;font-size:12px}.talking-page>.talking-steps{flex:0 0 auto;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0}.talking-page .talking-steps button{padding:8px 10px;min-height:46px;border-radius:9px;gap:8px}.talking-page .talking-step-copy strong{font-size:14px}.talking-page .talking-steps .talking-step-number{width:26px;height:26px;flex-basis:26px;font-size:12px}.talking-page>.inline-notice{flex:0 0 auto;margin:0;padding:6px 10px}.talking-page .talking-layout{flex:1;min-height:0;display:grid;grid-template-columns:minmax(320px,420px) minmax(280px,1fr) 180px;grid-template-rows:minmax(0,1fr);align-items:stretch;gap:16px;overflow:auto}.talking-page.talking-final-step .talking-layout{grid-template-columns:minmax(320px,420px) minmax(280px,1fr) 180px}.talking-page .talking-layout>:is(.talking-editor,.talking-preview,.talking-queue){position:relative;top:auto;grid-column:auto;height:100%;min-height:0;max-height:none;min-width:0;padding:12px;border:1px solid var(--talk-line);border-radius:12px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--talk-line) transparent}.talking-page .talking-layout>.talking-editor{display:flex;flex-direction:column;gap:9px;padding-inline:20px}.talking-page .talking-editor>*{flex-shrink:0}.talking-page .talking-editor>label{margin:0;gap:5px;font-size:13px}.talking-page .talking-editor>label>:is(textarea,input,select){padding:7px 9px;font-size:13px;line-height:1.6}.talking-page .talking-editor>button,.talking-page .talking-editor>.row>button,.talking-page .talking-source-actions>button{min-height:34px;padding:6px 10px;font-size:13px;border-color:var(--talk-line);background:var(--talk-soft);color:var(--talk-ink)}.talking-page .talking-editor>.row>.primary{background:var(--talk-button);color:var(--talk-button-text);border-color:var(--talk-button)}.talking-page .talking-editor>.row{flex-wrap:nowrap;gap:7px}.talking-page .talking-editor>.row>button{flex:1;min-width:0}.talking-page[data-step="0"] .talking-editor>:is(.talking-original-field,.talking-main-field){flex:1 1 0;min-height:100px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto minmax(0,1fr);align-items:stretch}.talking-page[data-step="0"] .talking-editor>:is(.talking-original-field,.talking-main-field)>textarea{height:100%;min-height:0;resize:none;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;font-size:14px;line-height:1.7}.talking-page[data-step="0"] .talking-editor>.row:last-child{margin-bottom:0}.talking-page .talking-audio-summary{padding:12px;gap:8px}.talking-page .talking-audio-summary h3{font-size:14px;margin:0}.talking-page .talking-audio-summary button{min-height:32px;font-size:13px;background:var(--talk-field);border-color:var(--talk-line)}.talking-page .talking-editor>.talking-slot{display:flex;align-items:center;min-height:42px;padding:10px!important;font-size:14px}.talking-page .talking-layout>.talking-preview{display:flex;flex-direction:column;gap:10px;container-type:size;padding-inline:18px}.talking-page .talking-preview>header{flex:0 0 auto;margin:0;padding:0 0 8px;align-items:center}.talking-page .talking-preview>header strong{font-size:15px}.talking-page .talking-preview>header button{min-height:30px;padding:5px 9px;font-size:12px;background:var(--talk-soft);border-color:var(--talk-line)}.talking-page .talking-script-preview{flex:0 1 auto;max-height:25%;overflow:auto;width:100%;max-width:none;margin:0;padding:10px 12px}.talking-page .talking-script-preview p{font-size:14px;line-height:1.75;margin:4px 0 0}.talking-page .talking-sound-section{flex:0 0 auto;margin:0;padding:10px 0 0;gap:9px}.talking-page .talking-sound-section h2{font-size:15px;margin:0}.talking-page .talking-sound-section .tabs{gap:6px}.talking-page .talking-sound-section .tabs button{flex:1;min-height:34px;font-size:13px;padding:6px 8px}.talking-page .talking-sound-section button{min-height:34px;font-size:13px;padding:6px 10px}.talking-page .talking-sound-section .talking-next{min-height:36px}.talking-page .talking-voice-inline-settings{gap:7px;align-items:center}.talking-page .talking-voice-inline-settings .talking-slot{min-height:34px;padding:6px 8px!important;display:flex;align-items:center}.talking-page .talking-voice-inline-settings label{flex-direction:row;align-items:center;gap:4px;font-size:12px;white-space:nowrap}.talking-page .talking-voice-inline-settings select{padding:5px;font-size:12px}.talking-page .talking-audio{padding:9px;margin:0;gap:6px}.talking-page .talking-audio small{max-width:100%;overflow-wrap:anywhere}.talking-page .talking-final-preview-pair{flex:1 0 auto;min-height:0;gap:14px}.talking-page :is(.talking-final-preview-card){display:flex;flex-direction:column;gap:8px;min-width:0}.talking-page :is(.talking-final-preview-card)>header{flex:0 0 auto;margin:0}.talking-page :is(.talking-final-portrait,.talking-final-preview-empty){flex:0 0 auto;align-self:center;height:min(calc(100cqh - 136px),calc((100cqw - 14px) * 8 / 9));width:100%;max-width:100%;max-height:none;min-height:0;aspect-ratio:9 / 16}.talking-page .talking-final-portrait img{min-height:0}.talking-page .recording-trim{display:grid;gap:6px}.talking-page .recording-trim-fields{display:flex;align-items:flex-end;flex-wrap:wrap;gap:8px}.talking-page .recording-trim-fields label{display:grid;gap:4px;margin:0;font-size:12px}.talking-page .recording-trim-fields input{width:115px;min-width:0;padding:6px 8px}.talking-page .recording-trim small{font-size:12px;color:var(--talk-muted)}.talking-page .talking-player{height:calc(100cqh - 96px);max-height:none;width:auto;max-width:100%;flex:0 1 auto;min-height:0;align-self:center;margin:0 auto}.talking-page .talking-preview-export{flex:0 0 auto;min-height:36px;margin:0}.talking-page .talking-preview .primary{background:var(--talk-button);border-color:var(--talk-button);color:var(--talk-button-text);font-weight:700}.talking-page .talking-preview .primary:hover:not(:disabled){background:var(--talk-button-hover);border-color:var(--talk-button-hover)}.talking-page .talking-sound-section .tabs button{border:1px solid var(--talk-line);border-radius:7px;background:var(--talk-field);color:var(--talk-ink)}.talking-page .talking-sound-section .tabs button.active{background:var(--talk-selected);border-color:var(--talk-accent)}.talking-page .talking-preview>.inline-notice{flex-shrink:0;margin:0;padding:7px}.talking-page .talking-layout>.talking-queue{display:block;padding-inline:15px}.talking-page .talking-queue>header{position:sticky;z-index:2;top:-12px;margin:-12px -15px 10px;padding:12px 15px;background:var(--talk-panel);border-bottom:1px solid var(--talk-line);align-items:center}.talking-page .talking-queue article{min-width:0;max-width:none;margin:0 0 8px;padding:10px;border:1px solid var(--talk-line);border-radius:8px;background:var(--talk-soft)}.talking-page .talking-queue article[data-status=running]{border-left:3px solid var(--talk-accent)}.talking-page .talking-queue article[data-status=failed]{border-left:3px solid var(--theme-error, #b34b43)}.talking-page .talking-queue article b{font-size:13px;line-height:1.5}.talking-page .talking-queue article>small{display:block;margin:4px 0;color:var(--talk-muted);font-size:11px}.talking-page .talking-queue article button{min-height:28px;padding:4px 7px;background:var(--talk-field);border-color:var(--talk-line);color:var(--talk-accent);font-size:11px}.talking-page .talking-final-settings{padding:10px;gap:8px}.talking-page .talking-final-publish-settings{padding:10px;gap:9px;margin-top:0}.talking-page .talking-final-publish-settings>.talking-cover-publish-heading{margin:-10px -10px 0;padding:9px 10px;background:var(--talk-selected);color:var(--talk-ink)}.talking-page .talking-final-publish-settings textarea{min-height:62px;padding:8px;font-size:13px}.talking-page .talking-final-publish-settings>.talking-metadata-generate{min-height:34px;padding:6px 8px;font-size:13px}.talking-page .talking-final-settings button{min-height:30px;padding:5px 8px;font-size:12px}.talking-page .talking-final-settings .talking-final-cover-generate-row button{min-height:36px;font-size:14px}.talking-page .talking-editor .talking-subtitle-timeline{min-height:0;max-height:clamp(140px,27dvh,300px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--talk-line) transparent}.talking-page .talking-timeline-head{position:sticky;top:0;z-index:1}.talking-page :is(.talking-timeline-head,.talking-timeline-row){grid-template-columns:176px minmax(0,1fr)}.talking-page .talking-editor .talking-timeline-range input{width:45px;min-width:45px;padding:2px;text-align:center;font-variant-numeric:tabular-nums;appearance:textfield}.talking-page .subtitle-time-control{display:grid;grid-template-columns:14px 45px 14px;align-items:center;gap:1px}.talking-page .talking-editor:has(.talking-inline-tools) .subtitle-time-control button{min-width:0;width:14px;min-height:25px;height:25px;padding:0;font-size:17px;line-height:1;border-radius:4px;border:1px solid var(--talk-line);color:var(--talk-accent);background:var(--talk-selected)}.talking-page .subtitle-time-control button:disabled{opacity:.35;cursor:default}.talking-page .talking-editor .talking-timeline-range input::-webkit-inner-spin-button,.talking-page .talking-editor .talking-timeline-range input::-webkit-outer-spin-button,.talking-page .talking-editor .talking-subtitle-settings input[type=number]::-webkit-inner-spin-button,.talking-page .talking-editor .talking-subtitle-settings input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}.talking-page .talking-editor .talking-subtitle-settings input[type=number]{min-width:42px;padding:2px 4px;text-align:center}.talking-page .talking-editor .talking-music-actions{gap:4px}.talking-page .talking-editor .talking-music-actions>button{padding:4px;font-size:11px;white-space:nowrap}.talking-page .talking-final-cover-source-row button{background:var(--talk-field);color:var(--talk-ink);border-color:var(--talk-line)}.talking-page .talking-final-cover-source-row button.is-active{background:var(--talk-selected);color:var(--talk-accent);border-color:var(--talk-accent)}@media(max-width:1250px){.talking-page .talking-layout{grid-template-columns:minmax(280px,380px) minmax(380px,1fr) 180px}.talking-page.talking-final-step .talking-layout{grid-template-columns:minmax(280px,380px) minmax(320px,1fr) minmax(260px,320px)}}@media(max-width:767px){.app-main:has(>.talking-page){height:calc(100dvh - 60px - env(safe-area-inset-bottom,0px));padding-bottom:0}.talking-page{padding:0 8px 8px;gap:7px}.talking-page .talking-heading h1{font-size:17px}.talking-page .talking-heading>.row{gap:4px;flex-wrap:nowrap}.talking-page .talking-heading button{font-size:11px;padding:4px 6px}.talking-page .talking-guide-button{font-size:0!important;gap:0}.talking-page .talking-steps button{padding:6px 3px;gap:3px;min-height:38px}.talking-page .talking-step-copy strong{font-size:11px}.talking-page .talking-steps .talking-step-number{display:none}}.talking-page .talking-generate-speech{width:100%;min-height:38px;font-weight:700}.talking-page .talking-speech-spinner{display:inline-block;flex:0 0 14px;width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:talking-speech-spin .8s linear infinite}@keyframes talking-speech-spin{to{transform:rotate(360deg)}}.talking-page .talking-generate-speech:hover{background:#0b777a!important;border-color:#2a9996!important;color:#fff!important}.talking-page .talking-speech-history{min-width:0;display:grid;gap:7px}.talking-page .talking-speech-history>header{display:flex;justify-content:space-between;gap:8px;align-items:center}.talking-page .talking-speech-history>header small{color:var(--talk-muted);font-size:11px}.talking-page .talking-speech-records{display:grid;align-content:start;grid-auto-rows:max-content;gap:8px;max-height:min(430px,42vh);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:3px}.talking-page .talking-speech-record{padding:9px 10px;border:1px solid var(--talk-line);border-radius:9px;background:var(--talk-soft);min-width:0}.talking-page .talking-speech-record.selected{border-color:var(--talk-accent);background:var(--talk-selected)}.talking-page .talking-speech-record>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px}.talking-page .speech-record-number{display:inline-grid;place-items:center;width:21px;height:21px;border-radius:6px;background:var(--talk-button);color:var(--talk-button-text)}.talking-page .talking-speech-record time{color:var(--talk-muted);font-size:11px;white-space:nowrap}.talking-page .speech-record-settings{margin:3px 0;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.talking-page .talking-speech-record .audio-preview{margin:6px 0;padding:0;background:transparent;border:0}.talking-page .talking-speech-record .audio-preview .row{justify-content:flex-start;gap:5px;flex-wrap:wrap}.talking-page .talking-speech-record .audio-preview button{padding:3px 8px;min-height:29px;background:var(--talk-field);border-color:var(--talk-line);color:var(--talk-ink)}.talking-page .talking-speech-record .audio-time{margin-left:auto}.talking-page .audio-speed{font-size:12px;font-variant-numeric:tabular-nums}.talking-page .speech-record-actions{display:flex;gap:8px;align-items:flex-start;justify-content:space-between}.talking-page .speech-record-actions details{flex:1;min-width:0;font-size:12px}.talking-page .speech-record-actions summary{cursor:pointer;padding:7px 0;color:var(--talk-ink)}.talking-page .speech-record-actions details p{max-height:120px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.talking-page .speech-record-actions button{flex-shrink:0;min-height:30px;white-space:nowrap;font-weight:700}.talking-page .speech-record-actions .speech-select-toggle{background:#087579;border-color:#087579;color:#fff}.talking-page .speech-record-actions .speech-select-toggle[aria-pressed=true]{background:#065e61;border-color:#065e61}.talking-page .speech-record-actions .speech-select-toggle:hover:not(:disabled),.talking-page .speech-record-actions .speech-select-toggle:active:not(:disabled){background:#076a6e;border-color:#076a6e;color:#fff}@media(max-width:800px){.talking-page .speech-record-actions .speech-select-toggle{min-height:44px}}.talking-page .speech-record-issue{display:block;color:var(--talk-muted);margin-top:5px}.talking-page[data-step="0"] .talking-script-preview{flex:0 0 auto;min-height:88px;max-height:22%}.talking-page[data-step="0"] .talking-sound-section{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;gap:7px}.talking-page[data-step="0"] .talking-sound-section>*{flex-shrink:0}.talking-page[data-step="0"] .talking-speech-history{display:flex;flex-direction:column;flex:1 1 auto;min-height:130px}.talking-page[data-step="0"] .talking-speech-records{flex:1 1 auto;min-height:0;max-height:none}@media(max-width:1000px){.talking-page{width:100%;margin:0;padding:12px}.talking-page .talking-layout,.talking-page.talking-final-step .talking-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-rows:max-content;overflow-x:hidden;align-content:start}.talking-page .talking-layout>:is(.talking-editor,.talking-preview,.talking-queue){height:auto;overflow-x:hidden;padding:12px}.talking-page .talking-layout>.talking-preview{container-type:inline-size}.talking-page[data-step="0"] .talking-editor>:is(.talking-original-field,.talking-main-field){min-height:180px}.talking-page[data-step="0"] .talking-script-preview{max-height:240px}.talking-page[data-step="0"] .talking-speech-records{max-height:430px}.talking-page .talking-final-preview-pair{min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))}.talking-page :is(.talking-final-portrait,.talking-final-preview-empty){height:auto;width:100%;max-height:70dvh}.talking-page .talking-player{height:auto;width:100%;max-height:70dvh}.talking-page .talking-layout>.talking-queue{max-height:320px}}@media(max-width:600px){.talking-page .talking-final-preview-pair,.talking-page .talking-voice-inline-settings{grid-template-columns:minmax(0,1fr)}.talking-page .talking-heading{flex-wrap:wrap}.talking-page .talking-layout{gap:10px}}@media(max-width:767px){.talking-page{padding:0 8px 8px}}@media(min-width:1001px){.talking-page .talking-player{width:min(100%,calc((100cqh - 96px) * var(--talking-video-ratio, .5625)));height:auto;flex:0 0 auto}.talking-page .talking-final-preview-pair{grid-template-columns:minmax(0,min(calc((100cqh - 96px) * var(--talking-video-ratio, .5625)),calc(100cqw - 134px))) minmax(120px,1fr)}.talking-page .talking-final-preview-card:first-child .talking-final-portrait{height:auto;aspect-ratio:var(--talking-video-ratio, .5625)}.talking-page .talking-final-preview-card:nth-child(2) .talking-final-portrait{height:auto}@container (max-width: 490px){.talking-page .talking-final-preview-pair{grid-template-columns:minmax(0,1fr)}.talking-page .talking-final-preview-card:first-child{width:min(100%,calc((100cqh - 96px) * var(--talking-video-ratio, .5625)));justify-self:center}.talking-page .talking-final-preview-card:nth-child(2){width:min(100%,180px);justify-self:center}}}.talking-page .talking-final-portrait video{object-fit:contain}.admin-page{width:calc(100% - 32px);max-width:1833.33px;height:100dvh;margin:0 auto;padding:22px 0;display:flex;flex-direction:column;min-height:0}.admin-page>header{flex:0 0 auto;margin:0 0 18px;gap:16px}.admin-page>header p{margin:6px 0 0}.admin-workspace{display:grid;grid-template-columns:168px minmax(0,1fr);gap:20px;min-height:0;flex:1}.admin-sidebar{display:flex;flex-direction:column;gap:7px;padding:12px 9px;overflow-y:auto;background:var(--panel);border:1px solid var(--work-line);border-radius:12px;scrollbar-width:thin}.admin-sidebar>button{flex:0 0 auto;justify-content:flex-start;width:100%;padding:12px 10px;min-height:43px;text-align:left;font-size:15px;font-weight:600;color:var(--work-ink);background:transparent;border:1px solid transparent;border-radius:8px}.admin-sidebar>button:hover{background:var(--work-soft)}.admin-sidebar>button.active{background:var(--work-button);color:var(--work-button-text);border-color:var(--work-button)}.admin-content{min-width:0;min-height:0;overflow:auto;padding:0 4px 12px 0;scrollbar-width:thin;scrollbar-gutter:stable}.admin-customer-export{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 14px;padding:16px 18px}.admin-customer-export h2{margin:0 0 6px;font-size:17px}.admin-customer-export p{margin:0 0 4px;color:var(--work-muted)}.admin-customer-export small{color:var(--work-muted)}.admin-customer-export button{flex:0 0 auto;white-space:nowrap}.admin-customer-table{overflow:auto;max-width:100%;border:1px solid var(--work-line);border-radius:12px;background:var(--panel)}.admin-customer-table table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}.admin-customer-table th,.admin-customer-table td{padding:8px;text-align:left;vertical-align:middle;border-bottom:1px solid var(--work-line)}.admin-customer-table th:not(:nth-child(6)){width:1%}.admin-customer-table td>button{padding:6px 10px;min-height:32px;font-size:13px;white-space:nowrap}.admin-customer-table th{background:var(--work-soft);color:var(--work-ink);font-weight:600}.admin-customer-table tr:last-child td{border-bottom:0}.admin-customer-table tbody tr:hover{background:var(--work-soft)}.admin-customer-name{display:block;max-width:110px;overflow:hidden;text-overflow:ellipsis}.admin-customer-phone{font-variant-numeric:tabular-nums}.admin-user-filters{display:flex;flex-wrap:wrap;align-items:end;gap:14px;padding:16px;margin-bottom:14px}.admin-page .admin-user-filters label{display:flex;flex-direction:column;gap:6px;min-width:170px;margin:0}.admin-user-filters input,.admin-user-filters select{width:100%;height:42px;min-height:42px;margin:0;box-sizing:border-box}.admin-user-filters>button{height:42px;min-height:42px;margin:0;box-sizing:border-box}.admin-user-filters>span{display:flex;align-items:center;height:42px;color:var(--work-muted)}.admin-user-held{display:inline;margin-left:6px;color:var(--work-muted)}.admin-customer-permissions{display:flex;flex-wrap:nowrap;width:max-content;gap:8px;align-items:center;font-size:12px}.admin-page .admin-customer-table .check-label{margin:0;flex-shrink:0;gap:4px}.admin-customer-table input[type=checkbox]{width:13px;height:13px;margin:0}.admin-content .integration-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.admin-content .integration-actions{flex-wrap:wrap}@media(max-width:1200px){.admin-workspace{grid-template-columns:154px minmax(0,1fr);gap:14px}.admin-content .integration-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.admin-content .integration-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.admin-page{width:calc(100% - 16px);padding:12px 0;height:auto;min-height:100dvh}.admin-page>header{align-items:flex-start;flex-wrap:wrap;margin-bottom:12px}.admin-workspace{grid-template-columns:minmax(0,1fr);gap:8px}.admin-sidebar{padding:8px 5px;flex-direction:row;flex-wrap:wrap;overflow:visible}.admin-sidebar>button{padding:10px 5px;font-size:13px;width:auto;flex:1 1 28%}.admin-content{overflow:visible;padding:0 0 12px}.admin-content .integration-grid{grid-template-columns:minmax(0,1fr)}.admin-customer-export{align-items:stretch;flex-direction:column}.admin-customer-export button{width:100%}.admin-page .admin-user-filters label{width:100%;min-width:0}.admin-customer-table{overflow:visible}.admin-customer-table table,.admin-customer-table tbody{display:block;white-space:normal}.admin-customer-table table{font-size:14px}.admin-customer-table thead{display:none}.admin-customer-table tr{display:block;padding:10px;border-bottom:1px solid var(--work-line)}.admin-customer-table td{display:grid;grid-template-columns:70px minmax(0,1fr);gap:8px;padding:10px 0;border:0;overflow-wrap:anywhere}.admin-customer-table td:before{content:attr(data-label);color:var(--work-muted)}.admin-customer-table td[colspan]{display:block}.admin-customer-table td small{grid-column:2;margin-left:0}.admin-customer-table td>button{min-height:44px}.admin-customer-permissions{width:auto;flex-wrap:wrap;gap:10px;font-size:14px}.admin-customer-table input[type=checkbox]{width:16px;height:16px}.admin-customer-table .check-label{min-height:32px}.admin-customer-table .check-label{flex-shrink:1}}.app-main:has(>.assets-page){height:100dvh;overflow:hidden}.assets-page{height:100%;min-height:0;display:flex;flex-direction:column;padding:18px 16px}.assets-page>.page-heading{flex:0 0 auto;margin-bottom:12px}.assets-page .assets-workspace{flex:1;min-height:0;gap:12px}.assets-page .library-nav{flex:0 0 auto;min-height:0;gap:7px;padding:0 0 3px}.assets-page .library-nav>button{flex:0 0 auto;flex-direction:row;min-height:38px;padding:8px 12px;border-radius:8px;font-size:14px}.assets-page .library-nav>button>svg{width:18px;height:18px}.assets-page .library-nav small{display:none}.assets-page .asset-main{display:flex;flex-flow:column nowrap;flex:1;min-height:0;min-width:0;gap:10px}.assets-page .asset-main>:is(.tabs,.asset-filters,.batch-bar,h2,.talking-asset-categories,.talking-other-assets){flex:0 0 auto;margin:0}.assets-page .asset-main>.tabs{min-height:35px}.assets-page .asset-main>.tabs>button{padding:6px 10px;font-size:14px}.assets-page .asset-main>.asset-filters{width:100%;gap:8px}.assets-page .asset-filters .search{flex:1;width:auto}.assets-page .asset-filters :is(input,select,button){min-height:34px;padding-top:6px;padding-bottom:6px;font-size:13px}.assets-page .asset-content-scroll{flex:1;min-height:0;overflow:auto;scrollbar-width:thin}.assets-page .asset-content-scroll.is-grouped{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;overflow:hidden}.assets-page .asset-kind-section{min-width:0;min-height:0}.assets-page .is-grouped>.asset-kind-section{display:flex;flex-direction:column;border:1px solid var(--work-line);border-radius:12px;background:var(--panel);padding:11px;overflow:hidden}.assets-page .asset-kind-section>h3{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px;padding:0 0 9px;border-bottom:2px solid var(--work-line);font-size:17px;color:var(--work-ink)}.assets-page .asset-kind-section>h3 span,.assets-page .asset-capacity{font-size:13px;font-variant-numeric:tabular-nums;color:var(--work-accent)}.assets-page .asset-grid{gap:10px;align-content:start;grid-auto-rows:max-content;padding:0}.assets-page .is-grouped .asset-grid{overflow:auto;min-height:0;grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),1fr));scrollbar-width:thin}.assets-page .asset-tile{min-width:0;border:1px solid var(--work-line);border-radius:10px;padding:9px;background:var(--panel)}.assets-page .asset-tile .thumb{height:140px;min-height:0;width:100%}.assets-page .asset-tile .thumb :is(video,img){width:100%;height:100%;object-fit:contain}.assets-page .asset-title{min-width:0;margin-top:5px}.assets-page .asset-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.assets-page .asset-file-meta{display:block;font-size:12px;color:var(--work-muted)}.assets-page .asset-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.assets-page .asset-actions button{min-height:28px;padding:4px 7px;font-size:12px}.assets-page .asset-group-empty{color:var(--work-muted);text-align:center}.asset-delete-button{color:#a32d25;background:#fff1ee;border-color:#e8b0a9}.asset-delete-button:hover:not(:disabled){color:#fff;background:#a32d25;border-color:#a32d25}[data-theme=dark] .asset-delete-button{color:#ffc5bc;background:#462622;border-color:#92564d}.assets-page .talking-asset-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.assets-page .talking-asset-categories button{justify-content:flex-start;min-height:45px}.assets-page .talking-asset-categories .asset-capacity{margin-left:auto}.assets-page .talking-other-assets{align-self:flex-end;width:auto}.assets-page .avatar-portrait-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.assets-page .avatar-portrait-grid .asset-tile .thumb{height:180px;aspect-ratio:auto}.assets-page .bgm-audio-list{grid-template-columns:repeat(3,minmax(0,1fr))}.assets-page .bgm-audio-list .asset-tile{display:flex;flex-direction:column;align-items:stretch;gap:6px}.assets-page .bgm-audio-list .asset-title{order:-1}.assets-page .bgm-audio-list .asset-actions{grid-column:auto}.assets-page .bgm-track-player{min-width:0;width:100%}.assets-page .bgm-track-player>svg{display:none}.assets-page .bgm-track-player .audio-preview{width:100%}.assets-page .talking-asset-voices{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;padding-right:4px}.assets-page .voice-strip-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.assets-page .voice-strip{grid-template-columns:20px minmax(0,1fr) auto;gap:8px;padding:10px;min-width:0}.assets-page .voice-strip .voice-audition{grid-column:1/-1;grid-row:2}.assets-page .voice-strip>.voice-select-button{grid-column:3;grid-row:1}.assets-page .voice-strip-actions{grid-column:3;grid-row:1;display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0}.assets-page .voice-strip-actions>button{min-width:0;white-space:nowrap}.assets-page .voice-strip-name small,.assets-page .voice-preview-empty small{display:none}.assets-page .voice-choice-summary{padding:9px 12px}.assets-page .voice-choice-summary strong{font-size:14px}.assets-page .voice-choice-summary button{min-height:34px;font-size:13px;padding:6px 10px}@media(max-width:1200px){.assets-page .voice-strip-list,.assets-page .bgm-audio-list{grid-template-columns:repeat(2,minmax(0,1fr))}.assets-page .avatar-portrait-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.assets-page .asset-content-scroll.is-grouped{overflow-x:auto;grid-template-columns:repeat(3,minmax(220px,1fr))}.assets-page .voice-strip-list,.assets-page .bgm-audio-list{grid-template-columns:minmax(0,1fr)}.assets-page .talking-asset-categories button{padding:8px 5px;gap:4px}.assets-page .talking-asset-categories button svg{display:none}}.voice-clone-modal{width:min(620px,92vw)}.voice-clone-reference{padding:14px 16px;border:1px solid #a9cfc4;border-radius:9px;background:var(--theme-selected,#e8f3ee);color:var(--theme-bright,#164e52)}.voice-clone-reference strong{display:block;margin-bottom:8px}.voice-maker .voice-clone-reference p{font-size:15px;line-height:1.85;margin:0 0 8px}.voice-clone-reference small{color:var(--theme-muted,#55776e)}.voice-clone-methods{display:flex;gap:8px}.voice-clone-methods button{flex:1;border-color:#75aaa2;color:var(--theme-bright,#155557);background:var(--theme-selected,#e0efea);font-weight:600}.voice-clone-methods button[aria-selected=true]{color:#fff;background:#087579;border-color:#087579}.voice-clone-modal .voice-maker>label{margin:0}.clone-recorder{display:grid;gap:8px}.clone-recording-controls{display:flex;align-items:center;gap:12px}.clone-recording-controls button{min-width:110px;white-space:nowrap}.clone-recording-controls meter{flex:1;min-width:40px;height:16px;accent-color:#087579}.clone-recording-controls span{font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}.clone-recorder small,.clone-confirm-row small{color:var(--theme-muted,#55776e);font-size:12px}.clone-recording-preview,.clone-result{display:grid;gap:12px;padding:12px;border:1px solid #a9cfc4;border-radius:9px;background:var(--theme-selected,#e8f3ee);min-width:0}.clone-confirm-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.clone-confirm-row button{flex-shrink:0;white-space:nowrap}.clone-error{color:#b03535;overflow-wrap:anywhere}.clone-result strong{color:var(--theme-bright,#164e52)}:is(.asset-library-page,.talking-voice-picker) .voice-audition{min-width:0;width:100%}:is(.asset-library-page,.talking-voice-picker) .voice-preview-empty{display:flex;align-items:center;gap:10px;min-width:0}:is(.asset-library-page,.talking-voice-picker) .voice-preview-empty input{flex:1;min-width:40px;width:auto}:is(.asset-library-page,.talking-voice-picker) .voice-preview-empty small{white-space:nowrap;font-size:12px;color:var(--theme-muted,#55776e)}.asset-library-page .audio-preview{display:flex;align-items:center;flex-wrap:wrap;gap:9px;min-width:0;width:100%;padding:0;border:0;background:transparent;margin:0}.asset-library-page .audio-preview>.row{display:contents}.asset-library-page .audio-preview button{order:0;min-width:50px;min-height:32px;padding:4px 8px;background:#e0efea;border:1px solid #75aaa2;color:#155557;font-weight:600}.asset-library-page .audio-preview input[type=range]{order:1;flex:1;min-width:40px;width:auto;accent-color:#087579;margin:0;cursor:pointer}.asset-library-page .audio-time{order:2;font-size:12px;color:#55776e;font-variant-numeric:tabular-nums}.asset-library-page .audio-preview>p{order:3;flex-basis:100%;font-size:12px;margin:0;color:#b03535}.asset-library-page .asset-media-section{container-type:inline-size}.asset-library-page .library-card-grid.audio-strip-list{display:grid;grid-template-columns:minmax(0,1fr);gap:0;align-content:start;grid-auto-rows:max-content}.asset-library-page .library-audio-strip{display:grid;grid-template-columns:minmax(160px,.8fr) minmax(190px,1.5fr) auto;align-items:center;gap:14px;padding:12px 5px;border-bottom:1px solid #bad7cc;min-width:0}.asset-library-page .library-audio-strip.selected{background:#deeee8}.asset-library-page .library-audio-title{display:flex;gap:8px;align-items:center;min-width:0}.asset-library-page .library-audio-title b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.asset-library-page .library-audio-title input{flex-shrink:0}.asset-library-page .library-audio-title>span{font-size:11px;color:#55776e;white-space:nowrap}.asset-library-page .library-audio-strip footer{display:flex;gap:5px;justify-content:flex-end}.asset-library-page .library-audio-strip footer :is(button,a){padding:4px 7px;min-height:28px;font-size:12px}.asset-library-page .talking-asset-voices .voice-strip{border:0;border-bottom:1px solid #bad7cc;border-radius:0;background:transparent;padding:12px 5px;box-shadow:none}.asset-library-page .talking-asset-voices .voice-strip.is-selected{background:#deeee8}.asset-library-page .talking-asset-voices .voice-strip-list{gap:0}.asset-library-page .talking-asset-voices .voice-strip-name small{font-size:12px}.asset-library-page .voice-strip-name .voice-name-text{display:block;width:100%;min-height:28px;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;color:inherit;text-align:left;cursor:text}.asset-library-page .voice-strip-name .voice-name-text b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.asset-library-page .voice-strip-name .voice-name-text:hover{background:transparent;color:inherit}.asset-library-page .voice-strip-name .voice-name-editor{font-weight:700}.talking-page .talking-voice-picker .system-voice-select:disabled{opacity:.5;cursor:default}.talking-page .talking-voice-picker .system-voice-strip{grid-template-columns:120px minmax(0,1fr) 84px}.talking-page .talking-voice-picker .system-voice-select{width:84px;min-width:84px;padding:5px 10px;white-space:nowrap;word-break:keep-all}.asset-library-page .voice-select-button{min-width:84px;white-space:nowrap;word-break:keep-all;padding:5px 10px}@media(max-width:650px){.talking-page .talking-voice-picker .system-voice-strip{grid-template-columns:80px minmax(0,1fr) 74px}.talking-page .talking-voice-picker .system-voice-select{width:74px;min-width:74px}}@container (max-width:650px){.asset-library-page .library-audio-strip{grid-template-columns:minmax(0,1fr);gap:9px}.asset-library-page .library-audio-title>span{margin-left:auto}}.voice-library-page{color:var(--theme-text,#124b50)}.voice-library-page .asset-library-main{background:var(--theme-panel,#fff);border-color:var(--theme-line,#c8ded9)}.voice-library-page .asset-library-nav{background:var(--theme-panel,#e7f2ef);border-color:var(--theme-line,#bad8d1)}.voice-library-page .asset-library-nav button,.voice-library-page .exclusive-tabs button{background:var(--theme-inset,#f7faf9);color:var(--theme-text,#124b50);border-color:var(--theme-line,#c4dbd5)}.voice-library-page .asset-library-nav button.active,.voice-library-page .exclusive-tabs button[aria-selected=true]{background:var(--theme-action,#096b70);color:var(--theme-bright,#fff)}.voice-library-page .talking-asset-voices .voice-strip{border-color:var(--theme-line,#bad7cc);color:var(--theme-text,#124b50)}.voice-library-page .voice-strip-name b{color:var(--theme-bright,#124b50)}.voice-library-page .talking-asset-voices .voice-strip.is-selected{background:var(--theme-selected,#deeee8)}.voice-library-page .voice-select-button{color:var(--theme-text,#155557);background:var(--theme-inset,#fff);border-color:var(--theme-line,#75aaa2)}.voice-library-page .voice-select-button.selected{color:var(--theme-bright,#fff);background:var(--theme-action,#087579)}.voice-library-page .audio-preview button{color:var(--theme-bright,#155557);background:var(--theme-selected,#e0efea);border-color:var(--theme-line,#75aaa2)}.voice-library-page .audio-time{color:var(--theme-muted,#55776e);white-space:nowrap}.voice-library-page .voice-choice-summary{color:var(--theme-text,#124b50)}.voice-audition input[type=range]:disabled{cursor:wait;opacity:.5}@media(max-width:800px){.voice-library-page .talking-asset-voices>header{gap:10px;flex-wrap:wrap}.voice-library-page .talking-asset-voices>header h3{font-size:16px;line-height:24px;flex-shrink:0}.voice-library-page .talking-asset-voices>header input{flex:1 1 160px;max-width:100%;min-height:44px}.voice-library-page .talking-asset-voices>header button{min-height:44px;font-size:14px}.voice-library-page .talking-asset-voices .voice-strip{padding:14px 0;gap:10px 8px}.voice-library-page .voice-strip-name b{font-size:16px;line-height:22px}.voice-library-page .voice-strip-name small{line-height:18px}.voice-library-page .voice-strip>.voice-select-button{min-width:72px;min-height:44px;font-size:14px;padding:6px 8px}.voice-library-page .voice-audition .audio-preview{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:8px;align-items:center}.voice-library-page .voice-audition .audio-preview>.row{display:contents}.voice-library-page .voice-audition .audio-preview button{grid-column:1;grid-row:1;min-width:0;min-height:44px;font-size:14px;padding:6px 8px}.voice-library-page .voice-audition .audio-preview input[type=range]{grid-column:2;grid-row:1;width:100%;min-width:0;height:44px;padding:0}.voice-library-page .voice-audition .audio-time{grid-column:3;grid-row:1;font-size:12px}.voice-library-page .voice-audition .audio-preview>p{grid-column:1/-1;margin:0}}@media(max-width:800px){body:has(.customer-app .editing-page){overflow-y:auto!important}.customer-app{min-width:0;width:100%}.customer-app .app-main{width:100%;margin-left:0;height:auto!important;min-height:100dvh;overflow:visible!important;padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}.customer-app :is(.app-main,.canvas-root)>*{min-width:0;max-width:100%}.customer-app :is(.page-heading,.local-header,.talking-heading,.editor-header,.credit-heading){flex-wrap:wrap;gap:8px;height:auto;min-width:0}.customer-app :is(.local-header,.talking-heading,.page-heading){padding-right:40px}.customer-app :is(.row,.local-row,.result-actions,.asset-filters,.modal-footer,.credit-bottom){flex-wrap:wrap}.customer-app :is(.row,.local-row,.asset-filters,.result-actions)>*{min-width:0;max-width:100%}.customer-app :is(input,select,textarea){max-width:100%}.customer-app :is(input:not([type=checkbox]):not([type=range]),textarea){font-size:16px}.customer-app :is(button,.button){touch-action:manipulation;overflow-wrap:anywhere}.customer-app :is(.studio-layout,.studio-layout.queue-collapsed,.processing-layout,.processing-layout.queue-collapsed,.talking-page .talking-layout,.talking-page.talking-final-step .talking-layout,.sd-workspace .local-studio-columns){display:flex!important;flex-direction:column!important;grid-template-columns:minmax(0,1fr)!important;width:100%;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;gap:14px;flex:none;align-items:stretch}.customer-app :is(.studio-layout,.processing-layout){padding:12px;margin:0}.customer-app :is(.talking-page,.sd-workspace.local-studio-page,.processing-page,.assets-page,.asset-library-page,.canvas-list-page,.credit-account){width:100%;max-width:100%;margin:0;padding:12px;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}.customer-app :is(.editor-panel,.preview-panel,.queue-panel,.processing-editor,.processing-preview,.processing-queue,.talking-layout>.panel,.talking-layout>.talking-queue,.local-studio-editor,.local-studio-preview,.sd-task-queue){width:100%;min-width:0;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;position:static;flex:none;grid-column:auto}.customer-app :is(.editor-panel,.processing-editor,.talking-editor,.local-studio-editor){order:0}.customer-app :is(.preview-panel,.processing-preview,.talking-preview,.local-studio-preview){order:1}.customer-app :is(.queue-panel,.processing-queue,.talking-queue,.sd-task-queue){order:2}.customer-app :is(.editor-panel,.preview-panel,.queue-panel,.processing-editor,.processing-preview,.processing-queue,.talking-layout>.panel){padding:12px}.customer-app :is(.queue-panel,.processing-queue){display:block}.customer-app :is(.queue-card,.sd-task-card){width:100%;min-height:52px}.customer-app :is(.sd-task-scroll,.talking-speech-records,.talking-script-preview){height:auto!important;max-height:none!important;overflow:visible!important;overscroll-behavior:auto}.customer-app :is(.result-media,.depth-example-stage,.set-example-carousel,.processing-preview,.preview-panel>.empty){height:auto;min-height:220px;max-width:100%}.customer-app :is(.result-media,.preview-panel,.processing-preview) :is(img,video){max-width:100%;max-height:65dvh;object-fit:contain}.customer-app .prompt-input{min-height:150px;flex:none}.customer-app :is(.config-grid,.set-inline-options,.snapshot-info,.model-grid,.video-settings-grid){grid-template-columns:minmax(0,1fr)}.customer-app :is(.video-material-grid,.material-slots){flex-wrap:wrap}.customer-app .sd-workspace :is(.local-director,.local-director-scroll,.local-video-editor,.sd-task-scroll){height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;flex:none}.customer-app .sd-workspace .director-composer-wrap{position:static;margin-top:12px}.customer-app .sd-workspace .director-composer>textarea{min-height:100px!important;font-size:16px}.customer-app .sd-workspace .sd-card-grid,.customer-app .sd-workspace .sd-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-app .sd-workspace .sd-categories .sd-card-image{display:block}.customer-app .sd-workspace .sd-categories .sd-card-caption strong{font-size:12px}.customer-app .sd-workspace .sd-guidance-prompts{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-app .sd-workspace .sd-guidance-prompts>button{font-size:12px;min-height:36px}.customer-app .sd-workspace .local-media-actions>button{flex:1;height:48px;font-size:12px}.customer-app .sd-workspace .director-mode-actions{flex-wrap:wrap}.customer-app .sd-workspace .director-mode-actions button{font-size:12px;min-height:34px}.customer-app .sd-workspace .director-send{width:36px;height:36px}.customer-app .sd-workspace .sd-preview{height:auto;min-height:300px}.customer-app .sd-workspace .sd-preview-main{min-height:280px;flex:none}.customer-app .sd-workspace .sd-preview-illustration{height:190px;margin-top:20px}.customer-app .sd-workspace .sd-preview-list{max-height:none;overflow:visible;grid-template-columns:repeat(2,minmax(0,1fr))}.customer-app .talking-page>.talking-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;position:static}.customer-app .talking-page .talking-steps button{min-height:48px;padding:8px}.customer-app .talking-page .talking-step-copy{min-width:0}.customer-app .talking-page .talking-step-copy strong{font-size:13px;white-space:normal}.customer-app .talking-page .talking-layout>.talking-preview{container-type:normal}.customer-app .talking-page[data-step="0"] .talking-editor>:is(.talking-original-field,.talking-main-field){flex:none;height:auto;min-height:200px;grid-template-rows:auto minmax(160px,auto)}.customer-app .talking-page[data-step="0"] .talking-editor>label>textarea{height:190px;font-size:16px}.customer-app .talking-page :is(.talking-final-preview-pair,.talking-voice-inline-settings){grid-template-columns:minmax(0,1fr)}.customer-app .talking-page :is(.talking-player,.talking-final-portrait,.talking-final-preview-empty){width:100%;height:auto!important;min-height:0;max-height:70dvh;object-fit:contain}.customer-app .talking-page :is(.talking-final-preview-empty){min-height:220px}.customer-app .talking-page .talking-editor>.row{flex-wrap:wrap}.customer-app .talking-page .talking-editor>.row>button{flex:1 1 42%;min-height:40px}.customer-app .talking-page :is(.talking-source-actions,.speech-record-actions){flex-wrap:wrap}.customer-app .talking-page .talking-editor .talking-subtitle-timeline{max-height:none;overflow:visible}.customer-app .talking-page :is(.talking-timeline-head,.talking-timeline-row){grid-template-columns:minmax(0,1fr);gap:6px}.customer-app .talking-page .talking-timeline-head{display:none}.customer-app .talking-page .talking-timeline-row{padding:8px;border-bottom:1px solid var(--talk-line)}.customer-app .talking-page .talking-timeline-row textarea{width:100%;height:auto!important;min-height:48px!important;font-size:16px}.customer-app :is(.asset-library-layout,.asset-media-sections,.asset-content-scroll.is-grouped){display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:none;grid-auto-rows:auto;height:auto!important;overflow:visible!important}.customer-app :is(.asset-library-main,.asset-library-scroll,.asset-media-section,.asset-media-sections .library-card-grid,.assets-workspace,.asset-main,.asset-content-scroll,.asset-kind-section,.asset-kind-section .asset-grid,.talking-asset-voices){height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;flex:none}.customer-app :is(.asset-library-nav,.exclusive-tabs,.library-nav,.asset-collection-tabs,.asset-filters,.talking-asset-categories){display:flex;flex-wrap:wrap;width:100%;min-height:0;max-height:none;overflow:visible;gap:6px}.customer-app :is(.asset-library-nav,.exclusive-tabs,.library-nav)>button{min-width:0;flex:1 1 42%;white-space:normal;min-height:40px;padding:8px}.customer-app :is(.library-card-grid,.asset-grid,.portrait-angles,.avatar-portrait-grid,.canvas-grid,.template-grid){grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.customer-app :is(.audio-strip-list,.voice-strip-list,.bgm-audio-list){grid-template-columns:minmax(0,1fr)}.customer-app :is(.library-asset-card,.asset-tile) footer{flex-wrap:wrap;gap:4px}.customer-app :is(.asset-library-toolbar,.asset-library-actions){flex-wrap:wrap}.customer-app .asset-library-toolbar>input{width:100%;flex:1 1 100%}.customer-app .home-composer{padding:12px}.customer-app .home-composer footer{flex-wrap:wrap;gap:8px}.customer-app .purpose-strip{flex-wrap:wrap;height:auto;overflow:visible}.customer-app .purpose-card{flex:1 1 45%;min-width:0}.customer-app :is(.discovery-grid,.showcase-grid,.canvas-tutorial-grid){grid-template-columns:repeat(2,minmax(0,1fr))}.customer-app :is(.chat-page,.agent-session,.conversation-list){height:auto;width:100%;min-height:0;max-height:none;overflow:visible}.customer-app .chat-page{display:flex;flex-direction:column}.customer-app .agent-session{order:0;padding:48px 12px 16px;min-height:60dvh}.customer-app .conversation-list{display:flex;flex-direction:column;order:1;padding:14px;gap:8px}.customer-app .chat-page.history-collapsed .conversation-list{width:100%;padding:12px}.customer-app .agent-session>.messages{height:auto;max-height:none;overflow:visible}.customer-app .agent-composer{position:static;margin-top:16px}.customer-app :is(.credit-heading,.invoice-row,.credit-ledger li,.credit-bottom){flex-wrap:wrap;gap:10px}.customer-app :is(.credit-filters,.tabs){flex-wrap:wrap;max-width:100%}.customer-app .commerce-table{max-width:100%;overflow-x:auto}.customer-app .canvas-root{height:auto;min-width:0}.customer-app .canvas-editor{position:relative;display:flex;flex-direction:column;height:auto;min-height:100dvh}.customer-app .canvas-topbar{position:relative;inset:auto;order:0;flex-wrap:wrap;padding:12px 48px 12px 12px;gap:8px}.customer-app .canvas-topbar>div{flex-wrap:wrap;min-width:0;max-width:100%}.customer-app .canvas-topbar input{width:160px;max-width:100%}.customer-app .canvas-tools{position:relative;inset:auto;order:1;flex-direction:row;flex-wrap:wrap;padding:8px;max-width:100%}.customer-app .node-inspector{position:relative;inset:auto;order:2;width:100%;max-width:100%;height:auto;max-height:none}.customer-app .node-inspector-body{max-height:none;overflow:visible}.customer-app .canvas-editor>.react-flow{order:3;height:65dvh;min-height:360px;flex:none}.customer-app :is(.canvas-add-menu,.arrange-confirm){position:relative;inset:auto;order:2;width:100%}.customer-app .canvas-empty{position:absolute;top:55%;left:50%;width:min(85%,320px)}.customer-app .editing-page{position:relative;inset:auto;height:auto;overflow:visible;z-index:auto}.customer-app .editing-page :is(.media-shell,.media-editing-content,.media-editor-layout){height:auto;overflow:visible}.customer-app .editing-page .media-editor-layout{display:flex;flex-direction:column;padding:8px}.customer-app .editing-page .media-options{order:0;overflow:visible}.customer-app .editing-page.options-open .media-options{position:static;width:100%;max-height:none}.customer-app .editing-page .editing-assets{display:block;order:1;overflow:visible}.customer-app .editing-page .media-stage{order:2;overflow:visible}.customer-app .editing-page .media-options>.generate{display:inline-flex}.customer-app .editing-page :is(.timeline,.clip-list){position:static;height:auto;min-width:0;width:100%;margin:12px 0}.customer-app .editing-page .clip-list{flex-wrap:wrap}.customer-app .editing-page .media-player{max-height:65dvh}.customer-app .shared-canvas{padding:12px;height:auto}.customer-app .shared-canvas>header{flex-wrap:wrap;padding-right:40px}.customer-app .shared-flow{height:65dvh;min-height:360px}body:has(.customer-app) :is(dialog.modal,dialog.commerce-layer){width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;height:auto;min-height:0;max-height:calc(100dvh - 24px);margin:auto;padding:14px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}body:has(.customer-app) :is(.modal,.commerce-layer) :is(input:not([type=range]):not([type=checkbox]),textarea,select){min-width:0;max-width:100%;font-size:16px}body:has(.customer-app) :is(.modal,.commerce-layer)>header{flex-wrap:wrap;gap:8px}body:has(.customer-app) :is(.modal,.commerce-layer) :is(.modal-footer,.clone-confirm-row,.inline-form){flex-wrap:wrap;gap:8px}body:has(.customer-app) .asset-picker-modal :is(.asset-picker-body,.asset-picker-scroll){height:auto;max-height:none;overflow:visible}body:has(.customer-app) .asset-picker-body{grid-template-columns:minmax(0,1fr)}body:has(.customer-app) .asset-collection-tabs{flex-wrap:wrap;overflow:visible}body:has(.customer-app) .picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;overflow:visible}body:has(.customer-app) .asset-picker-modal .asset-tile{display:block}body:has(.customer-app) :is(.asset-picker-filter-row,.asset-source-tabs,.asset-kind-tabs){flex-wrap:wrap}body:has(.customer-app) :is(.plan-grid,.topup-grid,.payment-columns,.local-profile-grid,.record-script-layout){grid-template-columns:minmax(0,1fr)}body:has(.customer-app) .system-voice-strip{display:grid;min-width:0;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px 0;border-bottom:1px solid var(--theme-line,#c2d8d4)}body:has(.customer-app) .voice-strip{min-width:0;grid-template-columns:20px minmax(0,1fr) auto}body:has(.customer-app) .voice-strip>svg{grid-column:1;grid-row:1;align-self:center}body:has(.customer-app) .voice-strip>.voice-strip-name{grid-column:2;grid-row:1}body:has(.customer-app) .voice-strip>.voice-audition{grid-column:1/-1;grid-row:2}body:has(.customer-app) .voice-strip>button{grid-column:3;grid-row:1}body:has(.customer-app) .system-voice-strip .voice-audition{grid-column:1/-1;grid-row:2;width:100%;min-width:0}body:has(.customer-app) .system-voice-strip .system-voice-select{grid-column:2;grid-row:1}.customer-app .account-popover{position:fixed;right:10px;left:auto;bottom:calc(68px + env(safe-area-inset-bottom,0px));width:min(320px,calc(100vw - 20px));max-height:75dvh;overflow:auto}.customer-app .sidebar nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}.customer-app .sidebar nav>:is(a,.account-dock){width:100%;min-width:0}.customer-app .sidebar nav a{padding:7px 2px;font-size:10px}}.sd-workspace,.sd-selector,.sd-preview,.public-page-manager{--sd-ink: #283238;--sd-muted: #788187;--sd-line: #e5e8e9;--sd-bg: #fff;--sd-soft: #f5f6f6;--sd-accent: #117d80}:root[data-theme=dark] :is(.sd-workspace,.sd-selector,.sd-preview,.public-page-manager){--sd-ink: #e5ebed;--sd-muted: #98a8ad;--sd-line: #304046;--sd-bg: #18252b;--sd-soft: #1d2d34;--sd-accent: #8bd8d5}.sd-workspace.local-studio-page{--studio-ink: var(--sd-ink);--studio-muted: var(--sd-muted);--studio-line: var(--sd-line);--work-ink: var(--sd-ink);--work-muted: var(--sd-muted);--work-line: var(--sd-line);--work-field: var(--sd-bg);--work-soft: var(--sd-soft);width:100%;max-width:1920px;height:100dvh;padding:16px 20px 20px;margin-inline:auto;gap:16px;background:var(--sd-soft);color:var(--sd-ink);font-size:14px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif}.sd-workspace.local-studio-page .local-header{min-height:40px;gap:12px;padding:0}.sd-workspace.local-studio-page .local-header h1{font-size:20px;font-weight:650;color:var(--sd-ink);letter-spacing:-.5px}.sd-workspace.local-studio-page .local-header>div>span{color:var(--sd-muted);font-size:12px}.sd-workspace.local-studio-page .local-header>button{min-height:36px;background:var(--sd-bg);border-color:var(--sd-line);color:var(--sd-ink)}.sd-workspace.local-studio-page .local-header>button:last-child{background:#233d40;color:#fff;border-color:#233d40}.sd-workspace .local-studio-badge{display:none}.sd-workspace.local-studio-page .local-studio-columns{grid-template-columns:minmax(380px,420px) minmax(0,1fr) 164px!important;grid-template-rows:minmax(0,1fr);gap:14px}.sd-workspace.local-studio-page .local-panel,.sd-task-queue{border:1px solid var(--sd-line);border-radius:16px;background:var(--sd-bg);box-shadow:0 2px 6px #162c3403;padding:16px;min-width:0}.sd-workspace.local-studio-page .local-editor-heading{min-height:32px;padding:0 0 12px;gap:8px;border-color:var(--sd-line)}.sd-workspace .local-editor-heading strong{font-size:13px;font-weight:600;color:var(--sd-muted)}.sd-workspace.local-studio-page .local-editor-heading button{min-height:30px;padding:4px 8px;font-size:12px;border-color:transparent;color:var(--sd-muted);background:transparent}.sd-workspace.local-studio-page .local-director{padding-top:0}.sd-workspace.local-studio-page .local-director-scroll{padding:0 3px 0 0;scrollbar-width:thin;scrollbar-color:var(--sd-line) transparent}.sd-workspace .local-director-idle{display:flex;flex-direction:column}.sd-workspace .local-director-idle>.sd-selector{flex:0 0 auto}.sd-selector,.sd-workspace .sd-selector{padding:16px 0}.sd-selector-heading{gap:10px;align-items:start}.sd-selector-heading h2,.sd-workspace .sd-selector-heading h2{font-size:16px;letter-spacing:-.3px;font-weight:600}.sd-selector-heading p{margin:6px 0 16px;font-size:12px;line-height:1.6}.sd-selector-heading>button{border:0;background:var(--sd-soft);color:var(--sd-muted);font-size:11px;padding:6px 8px;min-height:30px}.sd-selection-bar{display:flex;align-items:center;gap:8px;margin-bottom:4px}.sd-selection-trigger{display:flex;flex:1;min-width:0;align-items:center;gap:10px!important;padding:0!important;border:0;background:transparent;color:var(--sd-ink);text-align:left}.sd-selection-trigger:disabled{opacity:1!important;cursor:default}.sd-selection-trigger>span:nth-child(2){display:grid;gap:5px;min-width:0;flex:1}.sd-selection-trigger strong{font-size:14px;font-weight:600;white-space:normal;text-align:left}.sd-selection-trigger small{font-size:12px;color:var(--sd-muted);text-align:left}.sd-selection-image{display:block;width:44px;height:44px;flex:0 0 44px;overflow:hidden;border-radius:10px}.sd-selection-image .hover-media,.sd-selection-image img,.sd-selection-image video{width:100%;height:100%;object-fit:cover}.sd-switch-label{font-size:11px;color:var(--sd-muted)}.sd-free-toggle{border:0;background:transparent;color:var(--sd-muted);padding:4px!important;font-size:11px}.sd-selection-bar+.sd-selector-heading{border-top:1px solid var(--sd-line);margin-top:14px;padding-top:16px}.sd-categories,.sd-workspace .sd-categories{gap:6px;margin:0 0 12px}.sd-categories .sd-card{flex-direction:row;align-items:center;gap:5px!important;padding:7px 5px!important;border-radius:8px!important;background:var(--sd-soft)!important;border-color:transparent!important;min-height:38px}.sd-categories .sd-card-caption{padding:0;width:auto;text-align:left}.sd-categories .sd-card-caption strong{font-size:11px;white-space:nowrap;font-weight:500}.sd-categories .sd-card-caption>span,.sd-categories .sd-check{display:none}.sd-categories .sd-card-image{display:block;width:22px;height:22px;flex:0 0 22px;border-radius:5px}.sd-card-image{background:var(--sd-soft)}.sd-artwork{display:grid;place-items:center;position:relative;width:100%;height:100%;color:#387c7b;background:linear-gradient(145deg,#dfefea,#c0d9d6);overflow:hidden}.sd-artwork:before{content:"";position:absolute;width:80%;height:100%;border:1px solid #fff9;border-radius:50%;transform:translate(35%,35%)}.sd-artwork svg{width:52%;height:52%;position:relative}.sd-artwork-brand,.sd-artwork-beauty{background:linear-gradient(145deg,#ede7f1,#d8cbe2);color:#81698e}.sd-artwork-local,.sd-artwork-food{background:linear-gradient(145deg,#f3e8d9,#e2cbb2);color:#9d764e}.sd-artwork-story,.sd-artwork-fashion{background:linear-gradient(145deg,#e5e9f3,#c5cee1);color:#5d7196}.sd-artwork-variant-1{filter:hue-rotate(12deg)}.sd-artwork-variant-2{filter:hue-rotate(-16deg)}.sd-artwork-variant-3{filter:saturate(.65)}.sd-card-shade{display:none}.sd-card-grid{gap:8px}.sd-card-grid .sd-card,.sd-workspace .sd-card-grid .sd-card{flex-direction:row;align-items:center;min-height:76px;padding:10px!important;gap:10px!important;border-radius:11px!important}.sd-card-grid .sd-card-image,.sd-workspace .sd-card-grid .sd-card-image{width:42px;height:46px;flex:0 0 42px;border-radius:8px}.sd-card-grid .sd-card-caption{padding:0;gap:5px}.sd-card-grid .sd-card-caption strong{font-size:13px;line-height:1.5;font-weight:600}.sd-card-grid .sd-card-caption>span{font-size:11px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.sd-card:hover{transform:translateY(-1px);box-shadow:0 3px 12px #102d3610}.sd-card[aria-pressed=true]{border-color:var(--sd-accent)!important;box-shadow:0 0 0 1px var(--sd-accent)}.sd-card-grid .sd-check,.sd-card-grid .sd-grip{width:11px;height:11px;padding:2px;top:2px;right:2px}.sd-breadcrumb{font-size:13px;gap:8px;margin:12px 0;flex-wrap:wrap}.sd-breadcrumb button{font-size:11px;min-height:30px;padding:5px 7px;border-color:var(--sd-line)}.sd-use-mode{margin-left:auto;color:var(--sd-accent)}.sd-guidance,.sd-workspace .sd-guidance{margin:auto;padding:30px 0;width:100%;max-width:370px;background:none;border:0;text-align:center}.sd-guidance-heading{color:var(--sd-ink)}.sd-guidance-heading>svg,.sd-workspace .sd-guidance-heading>svg{width:38px;height:38px;color:var(--sd-accent);opacity:.35}.sd-guidance h3,.sd-workspace .sd-guidance h3{font-size:15px;font-weight:500;margin:14px 0 20px}.sd-guidance p{font-size:12px;color:var(--sd-muted)}.sd-guidance p:empty{display:none}.sd-guidance-prompts,.sd-workspace .sd-guidance-prompts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sd-guidance-prompts>button,.sd-workspace .sd-guidance-prompts>button{justify-content:center;min-height:36px;padding:8px 6px;font-size:12px;font-weight:400;background:var(--sd-soft);border:1px solid transparent;border-radius:8px;color:var(--sd-muted);white-space:normal}.sd-guidance-prompts>button svg{display:none}.sd-workspace.local-studio-page .director-composer-wrap{padding-top:14px;background:var(--sd-bg)}.sd-workspace.local-studio-page .director-mode-actions{gap:6px;justify-content:flex-start;flex-wrap:wrap;margin:0 0 10px}.sd-workspace.local-studio-page .director-mode-actions button{font-size:11px;min-height:30px;padding:5px 7px;background:transparent;border:0;color:var(--sd-muted)}.sd-workspace.local-studio-page .director-composer{padding:12px;border:1px solid var(--sd-line);border-radius:14px;background:var(--sd-soft);box-shadow:none}.sd-workspace.local-studio-page .director-composer:focus-within{border-color:var(--sd-accent);box-shadow:0 0 0 3px #117d8009}.sd-workspace.local-studio-page .local-media-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.sd-workspace.local-studio-page .local-media-actions>button{display:flex;flex-direction:column;gap:3px;font-size:12px;font-weight:500;height:48px;min-height:48px;width:100%;padding:4px 2px;border:1px dashed var(--sd-line);border-radius:8px;background:var(--sd-bg);color:var(--sd-ink);white-space:normal;line-height:1.3}.sd-workspace .local-media-actions svg{width:16px;height:16px;color:var(--sd-accent)}.sd-workspace .local-media-actions small{display:flex;align-items:center;justify-content:center;gap:3px;font-size:10px;color:var(--sd-muted)}.sd-workspace .local-media-actions small svg{width:12px;height:12px}.sd-workspace.local-studio-page .director-composer>textarea{margin:10px 0 0;padding:4px 0;height:86px;min-height:86px!important;max-height:180px;font-size:14px;line-height:1.8;border:0;background:transparent;box-shadow:none;border-radius:0;outline:none;color:var(--sd-ink)}.sd-workspace.local-studio-page .director-mode-guidance{display:grid;gap:3px;margin:8px 0 0;padding:7px 9px;border:1px solid var(--sd-line);border-radius:8px;background:var(--sd-bg);color:var(--sd-muted);font-size:11px;line-height:1.45}.sd-workspace.local-studio-page .director-mode-guidance strong{color:var(--sd-ink);font-size:12px}.sd-workspace.local-studio-page .director-mode-guidance span{overflow-wrap:anywhere}.sd-workspace.local-studio-page .director-composer>textarea::placeholder{color:var(--sd-muted)}.sd-workspace.local-studio-page .director-composer>footer{border-top:1px solid var(--sd-line);margin-top:8px;padding-top:10px}.sd-workspace.local-studio-page .director-send{width:36px;height:36px;min-height:36px;min-width:36px;border-radius:10px;padding:8px;background:#167d80;color:#fff;box-shadow:none}.sd-workspace .local-selected-voice{margin:8px 0;font-size:12px}.sd-workspace .local-director-materials:not(:empty){padding-top:10px}.sd-workspace .local-director-materials:empty{display:none}.sd-preview>header{min-height:32px;margin-bottom:12px}.sd-preview h2{font-size:13px;font-weight:600;margin:0}.sd-preview-main{border-radius:12px;background:var(--sd-soft)}.sd-preview-empty{width:100%;max-width:720px;gap:10px;padding:30px 20px;text-align:center}.sd-preview-empty strong{font-size:24px;font-weight:600;letter-spacing:-.6px}.sd-preview-empty>span{font-size:13px;line-height:1.8;color:var(--sd-muted)}.sd-preview-art{display:flex;justify-content:center;align-items:center;position:relative;width:min(100%,540px);height:clamp(220px,30vw,350px);margin-top:40px;isolation:isolate}.sd-film-frame{position:relative;width:31%;height:70%;overflow:hidden;border:3px solid var(--sd-bg);border-radius:18px;box-shadow:0 20px 36px #203b3b14}.sd-film-left{background:linear-gradient(135deg,#c5ccc2,#e3d8c8);transform:perspective(800px) rotateY(12deg) rotate(-5deg)}.sd-scene-arch{position:absolute;width:76%;height:110%;top:18%;left:20%;border:18px solid #eee6d7;border-radius:90px 90px 0 0;background:linear-gradient(135deg,#799588,#d7e4d0 65%,#b1bca4);box-shadow:-10px 8px 20px #3f4e491a,inset 12px 2px 20px #4e5f4825}.sd-film-center{z-index:1;width:43%;height:96%;margin-inline:-5%;transform:translateY(-8px);background:radial-gradient(ellipse at 20% 10%,#8bb1a7,transparent 65%),linear-gradient(145deg,#315e60,#18363d);display:grid;place-items:center}.sd-film-center>svg{width:27%;height:27%;color:#e0ece6;position:relative;filter:drop-shadow(0 4px 10px #001a1930)}.sd-scene-orbit{position:absolute;width:150%;aspect-ratio:1;border:1px solid #d1e3d840;border-radius:50%;top:32%;left:-56%;box-shadow:0 0 0 26px #d1e3d80b,0 0 0 54px #d1e3d809}.sd-film-timeline{position:absolute;left:12%;right:12%;bottom:10%;height:24px;display:flex;gap:4px}.sd-film-timeline i{flex:1;background:#a8c7ba35;border-radius:3px}.sd-film-timeline i:nth-child(2n){background:#a8c7ba65}.sd-film-right{background:linear-gradient(145deg,#c8c6d1,#e6e2e4);transform:perspective(800px) rotateY(-12deg) rotate(5deg)}.sd-scene-pedestal{position:absolute;width:68%;height:34%;background:linear-gradient(90deg,#dddce0,#f4f0ef);bottom:0;left:9%;border-radius:50% 50% 0 0/18% 18% 0 0;box-shadow:20px 0 30px #5f5a6620}.sd-scene-pedestal:before{content:"";position:absolute;width:50%;aspect-ratio:.6;bottom:98%;left:27%;border-radius:25px 25px 8px 8px;background:linear-gradient(100deg,#b9ab9b,#eee2ce 50%,#c4b5a2);box-shadow:12px 10px 18px #5b4f4025}.sd-preview-list:empty{display:none}.sd-preview-list{grid-template-columns:repeat(3,minmax(0,1fr));max-height:150px}.sd-preview-list .sd-card-image{aspect-ratio:16/9}.sd-task-queue{padding:12px}.sd-task-queue>header{font-size:13px;min-height:32px;margin-bottom:12px;display:flex;justify-content:space-between;align-items:center}.sd-task-queue>header button{font-size:11px;border:0;background:transparent;color:var(--sd-muted);padding:4px}.sd-task-scroll{display:flex;flex-direction:column;gap:8px;overflow-y:auto;min-height:0;scrollbar-width:thin}.sd-task-scroll>p{color:var(--sd-muted);font-size:12px;text-align:center;margin-top:30px}.sd-task-card{flex-shrink:0;display:flex;align-items:center;gap:8px;min-width:0;min-height:64px;text-align:left;padding:10px 8px;border:1px solid transparent;background:var(--sd-soft);color:var(--sd-ink);border-radius:10px!important}.sd-task-icon{display:grid;place-items:center;width:30px;height:36px;flex:0 0 30px;background:#7a919111;border-radius:7px}.sd-task-icon svg{display:block;color:var(--sd-muted);width:17px;height:17px}.sd-task-card>span:not(.sd-task-icon){display:grid;min-width:0;gap:6px}.sd-task-card strong{font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sd-task-card small{font-size:10px;color:var(--sd-muted)}.sd-task-card.selected{background:var(--sd-bg);border-color:var(--sd-accent)}.ppm-director{grid-template-columns:minmax(360px,420px) minmax(0,1fr);gap:14px}.ppm-director-operation{background:var(--sd-bg);border-radius:16px}.ppm-director-operation .sd-selector{padding:16px}@media(min-width:801px)and (max-width:1150px){.sd-workspace.local-studio-page{padding:12px}.sd-workspace.local-studio-page .local-studio-columns{grid-template-columns:minmax(320px,360px) minmax(0,1fr) 132px!important;gap:10px}.sd-workspace.local-studio-page .local-panel{padding:12px}.sd-categories .sd-card{flex-direction:column}.sd-categories .sd-card-caption strong{font-size:11px}.sd-task-queue{padding:8px}.sd-task-icon{display:none}.sd-preview-art{height:250px}}@media(max-width:800px){.sd-workspace.local-studio-page .local-header{padding-right:36px}.sd-workspace.local-studio-page .local-header h1{font-size:18px}.sd-workspace.local-studio-page .local-panel{padding:14px}.sd-workspace .local-director-idle{display:block}.sd-guidance,.sd-workspace .sd-guidance{padding:28px 4px}.sd-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.sd-categories .sd-card{padding:8px!important;min-height:44px;gap:8px!important}.sd-card-grid .sd-card,.sd-workspace .sd-card-grid .sd-card{flex-direction:column;align-items:flex-start;min-height:116px;gap:8px!important}.sd-workspace .sd-card-grid .sd-card-image{width:38px;height:38px;flex-basis:38px}.sd-selection-bar{flex-wrap:wrap}.sd-selection-trigger{min-height:44px}.sd-free-toggle{min-height:44px!important}.sd-workspace.local-studio-page .director-composer{padding:10px}.sd-workspace.local-studio-page .director-composer>textarea{font-size:16px;min-height:100px!important}.sd-workspace.local-studio-page .director-mode-actions button{min-height:44px;font-size:12px}.sd-workspace.local-studio-page .director-send{width:44px;min-width:44px;height:44px}.sd-preview-empty{padding:30px 12px}.sd-preview-empty strong{font-size:21px}.sd-preview-empty>span{font-size:12px}.sd-preview-art{margin-top:28px;height:230px}.sd-film-frame{border-width:2px;border-radius:12px}.sd-scene-arch{border-width:12px}.sd-task-queue{max-height:none}.sd-task-card{min-height:64px}.sd-task-icon{display:grid}.ppm-director{grid-template-columns:minmax(0,1fr)}}@media(prefers-reduced-motion:reduce){.sd-card{transition:none}.sd-card:hover{transform:none}}.sd-workspace .sd-task-card.selected{background:var(--sd-bg);color:var(--sd-ink);border-color:var(--sd-accent);box-shadow:0 2px 6px #102d3608}.ppm-guide-prompts{display:flex;flex-direction:column}.sd-task-queue{display:flex;flex-direction:column;min-height:0}.sd-task-queue>header{flex-shrink:0}@media(max-width:800px){.sd-workspace.local-studio-page .local-header{display:grid;grid-template-columns:36px minmax(0,1fr) auto;column-gap:10px;row-gap:12px}.sd-workspace .local-header>.icon{grid-column:1;grid-row:1}.sd-workspace .local-header>div{grid-column:2 / 4;grid-row:1;min-width:0}.sd-workspace .local-header>button:nth-last-child(2){grid-column:2;grid-row:2;justify-self:start}.sd-workspace .local-header>button:last-child{grid-column:3;grid-row:2}.sd-workspace.local-studio-page .local-header h1{white-space:nowrap}.sd-workspace.local-studio-page .local-header>button{min-height:40px}}.ppm-artwork-preview{height:260px;width:100%}.ppm-artwork-preview .sd-artwork svg{width:90px;height:90px}.image-tools-page{min-height:100%}.image-tools-layout{align-items:stretch}.image-tools-editor{gap:12px}.image-tools-editor .page-heading h1{display:flex;align-items:center;gap:8px;margin:8px 0 4px}.image-tools-editor .page-heading p{margin:0;color:var(--theme-muted, #888)}.image-tools-editor .page-heading-actions{display:flex;align-items:center;gap:8px}.image-tools-stage{flex:1;min-height:360px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--theme-inset, #f7f8f8)}.image-tools-stage img{max-width:100%;max-height:58dvh;object-fit:contain;border-radius:12px}.image-tools-settings{display:flex;flex-direction:column;gap:12px}.image-tools-mode-tabs{display:flex;flex-wrap:wrap;gap:7px}.image-tools-mode-tabs button{border:1px solid var(--line);background:transparent;border-radius:999px;padding:8px 12px;color:var(--theme-text, #262626);cursor:pointer}.image-tools-mode-tabs button.active{background:#262626;color:#fff;border-color:#262626}.image-tools-settings textarea{min-height:72px;resize:vertical}.image-tools-submit{width:100%}.image-tools-preview img{width:100%;max-height:72dvh;object-fit:contain;margin:auto;border-radius:12px}.image-tools-queue h2{margin:0 0 12px}.image-tools-queue>button{width:100%;align-items:flex-start;margin-bottom:8px}.image-tools-queue>button small{display:block;color:var(--theme-muted, #888);margin-top:4px}@media(max-width:800px){.image-tools-page button{min-height:44px}.image-tools-layout{gap:12px}.image-tools-editor .page-heading{align-items:flex-start}.image-tools-stage{min-height:260px}.image-tools-editor .page-heading-actions{width:100%;justify-content:flex-end}.image-tools-stage img,.image-tools-preview img{max-height:52dvh}}.canvas-editor .canvas-add-menu{width:196px;max-width:calc(100vw - 16px);padding:8px;gap:2px;border:1px solid var(--theme-line, #e1e4e8);border-radius:12px;background:var(--theme-panel, #fff);box-shadow:0 12px 32px #18223420}.canvas-editor .canvas-add-menu small{padding:2px 4px;font-size:11px;color:var(--theme-muted, #84909c)}.canvas-editor .canvas-add-menu button{min-height:36px;padding:8px 12px;gap:12px;border-radius:6px;font-size:13px;font-weight:400;background:transparent;color:var(--theme-text, #273342)}.canvas-editor .canvas-add-menu button:hover,.canvas-editor .canvas-add-menu button:focus-visible{background:var(--theme-hover, #edf1f5)}.canvas-editor .canvas-add-menu button svg{flex:none;color:var(--theme-muted, #7b8999)}.canvas-editor .canvas-add-menu .canvas-add-resources{border-top:1px solid var(--theme-line, #e1e4e8);margin-top:5px;padding-top:8px}.customer-app .canvas-editor .canvas-add-menu-anchored{position:fixed;z-index:40;width:196px;max-height:calc(100dvh - 16px);overflow-y:auto}@media(max-width:700px){.canvas-editor .canvas-add-menu button{min-height:44px}}.canvas-editor{background:var(--theme-base, #f0f1f3)}.canvas-editor .flow-card{width:320px;min-height:220px;border-radius:12px;border-color:#c6cbd2;box-shadow:0 3px 16px #25304406}.canvas-editor .flow-card.selected{outline:1.5px solid #687c91;outline-offset:0}.canvas-editor .flow-card header{height:42px;font-size:15px;font-weight:650;color:var(--theme-text,#283647)}.canvas-editor .node-content{min-height:184px;max-height:240px}.canvas-editor .node-content :is(img,video){height:184px}.canvas-editor .node-content p{font-size:14px;line-height:1.8}.canvas-editor .node-placeholder{min-height:184px;font-size:12px}.canvas-editor .react-flow__handle{width:18px!important;height:18px!important;background:var(--theme-panel,#fff)!important;border:1px solid #64748b!important}.canvas-editor .react-flow__handle:before{content:"";position:absolute;inset:calc(9px - 23px / var(--canvas-zoom,1));border-radius:50%;pointer-events:auto}.canvas-editor .react-flow__handle:after{content:"+";color:#526174;position:absolute;inset:0;font:15px/15px sans-serif;text-align:center;pointer-events:none}.canvas-editor .canvas-edge-line{stroke:#7a8798;stroke-width:3;vector-effect:non-scaling-stroke;transition:stroke .15s}.canvas-editor .canvas-edge-active{stroke:#408caf;stroke-width:4}.canvas-edge-motion{fill:none;stroke:#d0f4ff;stroke-width:2;stroke-dasharray:7 19;animation:canvas-edge-flow .85s linear infinite;pointer-events:none;vector-effect:non-scaling-stroke}.canvas-edge-hitarea{pointer-events:stroke;cursor:crosshair;vector-effect:non-scaling-stroke}.canvas-editor .canvas-edge-cut{position:absolute;left:0;top:0;z-index:6;width:32px;height:32px;min-height:0;padding:0;display:flex;align-items:center;justify-content:center;border:1px solid #c8d4df;border-radius:50%;color:#385367;background:var(--theme-panel,#fff);box-shadow:0 3px 12px #24394422;opacity:0;pointer-events:none}.canvas-editor .canvas-edge-cut.visible,.canvas-editor .canvas-edge-cut:focus-visible{opacity:1;pointer-events:all}@keyframes canvas-edge-flow{to{stroke-dashoffset:-26}}.canvas-editor .canvas-node-composer{position:absolute;z-index:6;width:700px;max-width:calc(100% - 28px);max-height:calc(100dvh - 110px);overflow:auto;padding:12px 14px;border:1px solid var(--theme-line,#dce1e7);border-radius:14px;background:var(--theme-panel,#fff);box-shadow:0 10px 35px #24304012;color:var(--theme-text,#283647)}.canvas-composer-heading,.canvas-composer-heading>span,.canvas-composer-heading>div,.canvas-node-actions,.canvas-composer-footer{display:flex;align-items:center;gap:8px}.canvas-composer-heading{justify-content:space-between;font-size:15px;color:var(--theme-text,#283647)}.canvas-composer-heading>span{min-width:0}.canvas-composer-heading strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650}.canvas-composer-heading small{font-size:12px;font-weight:500;white-space:nowrap;color:var(--theme-muted,#64748b)}.canvas-composer-heading>div{flex-shrink:0;gap:6px}.canvas-composer-heading button{width:34px;height:34px;min-height:0;padding:7px;color:var(--theme-text,#334155);background:var(--theme-base,#f3f5f7);border:1px solid var(--theme-line,#dce1e7);border-radius:8px}.canvas-composer-heading button:hover{background:var(--theme-hover,#e5edf4);border-color:#91a7ba}.canvas-composer-heading button[aria-label=删除节点]:hover{color:#b42318;background:#fff0ee}.canvas-node-actions:empty{display:none}.canvas-node-actions{margin:8px 0 4px;flex-wrap:wrap}.canvas-node-actions :is(button,a,select){font-size:12px;padding:5px 8px;min-height:30px;width:auto;border-radius:7px;background:var(--theme-base,#f6f7f9)}.canvas-node-composer textarea.canvas-node-prompt{margin:8px 0;padding:8px 0;width:100%;height:144px;min-height:144px;max-height:280px;font-size:14px;line-height:1.8;resize:vertical;border:0;border-radius:0;box-shadow:none;background:transparent}.canvas-node-prompt::placeholder{color:#86909d}.canvas-model-controls{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;padding-top:10px;border-top:1px solid var(--theme-line,#edf0f2)}.canvas-model-controls label{margin:0;display:flex;flex-direction:column;gap:4px;font-size:11px;color:var(--theme-muted,#818b99);flex:1 1 92px;min-width:0}.canvas-model-controls label:first-child{flex:2 1 150px}.canvas-model-controls select{width:100%;min-width:0;padding:6px 22px 6px 7px;height:32px;font-size:12px;border:1px solid var(--theme-line,#e7eaf0);border-radius:7px;color:var(--theme-text,#3b4759);background:var(--theme-panel,#fff)}.canvas-model-note{font-size:11px;color:var(--theme-muted,#8b96a3);padding:5px 0}.canvas-composer-footer{padding-top:10px;border-top:1px solid var(--theme-line,#edf0f2);justify-content:flex-end;gap:6px}.canvas-model-controls.compact{display:contents}.canvas-model-controls.compact label{flex:0 1 96px}.canvas-model-controls.compact label:first-child{flex:1 1 140px;max-width:175px}.canvas-model-controls.compact label>span{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.canvas-model-controls.compact select{padding:5px 14px 5px 5px;font-size:12px;border-color:transparent;background:var(--theme-base,#f5f7f9)}.canvas-composer-footer .canvas-body-toggle{width:auto;height:32px;flex-shrink:0;display:flex;align-items:center;gap:4px;white-space:nowrap;padding:5px 6px;font-size:12px;border-radius:7px}.canvas-composer-footer>span{margin-right:auto;font-size:11px;color:var(--theme-muted,#80909b);max-width:130px;min-width:62px;overflow-wrap:anywhere}.canvas-composer-footer button{flex-shrink:0;width:32px;height:32px;min-height:0;padding:6px;border-radius:50%}.canvas-editor .canvas-node-composer .canvas-composer-footer button.canvas-submit{display:grid;place-items:center;box-sizing:border-box;flex:0 0 44px;width:44px;height:34px;min-height:34px;padding:0;border-radius:8px;color:#fff;background:#367b91;border-color:#367b91}.canvas-editor .canvas-node-composer .canvas-composer-footer button.canvas-submit:disabled{background:#e4e8ec;border-color:#e4e8ec;color:#a9b0ba;opacity:1}@media(prefers-reduced-motion:reduce){.canvas-edge-motion{animation:none}}@media(max-width:700px){.customer-app .canvas-editor{width:100%;min-height:100dvh;height:auto;display:flex;flex-direction:column}.customer-app .canvas-editor .canvas-node-composer{position:relative;inset:auto;order:2;width:calc(100% - 20px);max-width:none;max-height:none;overflow:visible;margin:10px;padding:12px}.customer-app .canvas-editor>.react-flow{order:3;height:65dvh;min-height:380px}.canvas-composer-footer{flex-wrap:wrap}.canvas-model-controls.compact label{flex:1 1 80px}.canvas-model-controls.compact label:first-child{max-width:none}.canvas-composer-footer .canvas-body-toggle{min-height:44px}.canvas-composer-heading{flex-wrap:wrap;gap:10px}.canvas-composer-heading>span{flex:1 1 150px}.canvas-composer-heading small{display:none}.canvas-node-actions :is(button,a,select),.canvas-model-controls select{min-height:44px}.canvas-composer-heading button,.canvas-composer-footer button{flex-shrink:0;width:40px;height:40px}.canvas-editor .canvas-node-composer .canvas-composer-footer button.canvas-submit{flex-basis:48px;width:48px;height:44px;min-height:44px}.canvas-editor .canvas-edge-cut{width:40px;height:40px}}.canvas-resource-row{position:relative;display:flex;align-items:center;gap:8px;margin:8px 0 4px;min-width:0}.canvas-reference-strip{display:flex;flex:1 1 0;min-width:0;gap:6px;flex-wrap:nowrap;overflow:hidden}.canvas-reference-chip{display:flex;flex:1 1 136px;min-width:0;max-width:210px;gap:5px;align-items:center;padding:6px;border:1px solid var(--theme-line,#e3e7eb);border-radius:7px;background:var(--theme-base,#f5f6f8);font-size:12px}.canvas-reference-chip>span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.canvas-reference-chip>svg,.canvas-reference-chip>b{flex-shrink:0}.canvas-reference-chip>b{font-size:11px;color:var(--theme-muted,#718096)}.canvas-resource-row .canvas-node-actions{margin:0 0 0 auto;flex:0 0 auto;justify-content:flex-end}.canvas-reference-toggle{display:flex;align-items:center;justify-content:center;gap:3px;flex-shrink:0;padding:5px;min-width:40px;min-height:32px;border-radius:7px;font-size:11px;background:var(--theme-base,#f5f6f8)}.canvas-reference-toggle[aria-expanded=true]>svg:last-child{transform:rotate(180deg)}.canvas-reference-popover{position:absolute;left:0;top:calc(100% + 6px);z-index:12;width:360px;max-width:100%;padding:10px;border:1px solid var(--theme-line,#dce1e7);border-radius:10px;background:var(--theme-panel,#fff);box-shadow:0 8px 28px #172b4530}.canvas-reference-popover header{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:600;padding:3px 4px 8px}.canvas-reference-popover ol{list-style:none;padding:0;margin:0;max-height:170px;overflow-y:auto;overscroll-behavior:contain}.canvas-reference-popover li{display:flex;align-items:center;gap:8px;padding:5px 4px;border-top:1px solid var(--theme-line,#edf0f2);font-size:12px}.canvas-reference-popover li>b{min-width:18px;color:var(--theme-muted,#718096)}.canvas-reference-popover li>svg,.canvas-reference-popover li>button{flex-shrink:0}.canvas-reference-popover li>span{flex:1;overflow-wrap:anywhere;min-width:0}.canvas-reference-popover li>button{display:grid;place-items:center;width:30px;height:30px;min-height:0;padding:5px;background:transparent;border:0;border-radius:6px}@media(max-width:700px){.canvas-resource-row{gap:4px}.canvas-resource-row .canvas-node-actions{gap:4px;max-width:180px}.canvas-resource-row .canvas-node-actions :is(button,a,select){padding-left:5px;padding-right:5px}.canvas-reference-toggle{min-width:44px;min-height:44px}.canvas-reference-chip{padding:6px 4px;gap:3px;min-height:38px}.canvas-reference-popover li>button{width:44px;height:44px}}.processing-page .processing-layout{width:100%;max-width:none;padding:16px 12px;gap:12px}.processing-page :is(.processing-editor,.processing-preview,.processing-queue){border-radius:14px;background:var(--theme-panel,#fff);padding:10px}.processing-page .processing-editor{gap:8px}.processing-page .processing-editor>.page-heading{flex:none;min-height:32px;margin:0;padding:0;gap:8px;align-items:center}.processing-page .page-heading>div{display:flex;align-items:center;gap:8px;min-width:0}.processing-page .page-heading h1{display:flex;align-items:center;gap:6px;font-size:12px;line-height:18px;margin:0}.processing-page .page-heading button{height:32px;min-height:32px;border-radius:8px;padding:0 12px;font-size:12px}.processing-page .page-heading button[aria-label=返回首页]{width:32px;padding:0;border:0;background:transparent}.processing-page .media-editor-layout{display:flex;flex-direction:column;gap:8px;min-height:0;flex:1}.processing-page :is(.media-stage,.image-tools-stage){flex:1;display:flex;flex-direction:column;min-height:220px;padding:0;border:0;border-radius:10px;overflow:hidden;background:transparent}.processing-page .processing-upload{flex:1;width:100%;min-height:220px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;border:1px dashed var(--line);border-radius:10px;padding:24px 16px;background:transparent;color:var(--theme-muted,#777);box-shadow:none}.processing-page .processing-upload:hover{border-color:var(--theme-text,#555);background:var(--theme-inset,#f8f8fa)}.processing-upload strong{font-size:14px;font-weight:500}.processing-upload small{font-size:11px;line-height:18px;font-weight:400;text-align:center}.processing-page .processing-replace{margin:6px auto;min-height:28px;font-size:11px;padding:4px 10px}.processing-page .media-player{width:100%;margin:auto;flex:none;max-height:48dvh}.processing-page .media-player>video{height:100%;max-height:48dvh;object-fit:contain}.processing-page .processing-instructions{flex:none;padding:12px;border:1px solid var(--line);border-radius:10px}.processing-instructions h3{display:flex;align-items:center;gap:6px;margin:0 0 12px;font-size:12px;font-weight:600;line-height:16px}.processing-instructions ol{list-style:none;margin:0;padding:0;display:grid;gap:10px}.processing-instructions li{display:flex;align-items:flex-start;gap:8px}.processing-instructions li>span{flex:none;display:grid;place-items:center;width:18px;height:18px;border:1px solid var(--line);border-radius:50%;font-size:10px}.processing-instructions li strong{display:block;font-size:11px;line-height:16px;font-weight:500}.processing-instructions li p{margin:2px 0 0;font-size:10px;line-height:15px;color:var(--theme-muted,#777)}.processing-page :is(.media-options,.image-tools-settings){flex:none;border:0;border-radius:0;padding:0;display:flex;flex-direction:column;gap:8px;background:transparent}.processing-parameters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.processing-page button.processing-setting{display:flex;width:100%;height:52px;min-height:52px;padding:8px;border-radius:10px;align-items:center;gap:8px;text-align:left;background:transparent}.processing-setting>i{width:28px;height:28px;display:grid;place-items:center;flex:none;border:1px solid var(--line);border-radius:8px}.processing-setting>span{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.processing-setting :is(small,strong){display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:14px}.processing-setting small{color:var(--theme-muted,#777);font-weight:600}.processing-setting strong{font-weight:500}.processing-setting-content{display:flex;flex-direction:column;gap:12px;font-size:12px}.processing-choices{border:0;padding:0;margin:0;min-width:0}.processing-choices legend{font-size:11px;margin-bottom:8px}.processing-choices>div{display:flex;flex-wrap:wrap;gap:8px}.processing-choices button{flex:1;min-width:60px;min-height:30px;padding:4px 6px;font-size:11px;border-radius:6px}.processing-choices button[aria-checked=true],.processing-models button[aria-pressed=true]{border-color:var(--theme-text,#555);background:var(--theme-inset,#eee)}.processing-models{display:flex;flex-direction:column;gap:6px}.processing-models button{min-height:38px;justify-content:flex-start}.processing-page .media-options button.generate,.processing-page .image-tools-settings button.image-tools-submit{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:40px;height:40px;margin:0;padding:0 12px;font-size:12px;border-radius:10px}.processing-page :is(.generate,.image-tools-submit) small{font-size:10px;font-weight:400}.processing-page .processing-preview h2{font-size:12px;line-height:24px;margin:0;align-self:flex-start;border-bottom:2px solid currentColor}.processing-empty{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:240px;gap:12px;padding:20px;text-align:center;color:var(--theme-muted,#999)}.processing-empty p{font-size:12px;line-height:20px;margin:0}.processing-page .processing-queue>.queue-toggle{justify-content:flex-start;height:26px;min-height:26px;font-size:12px;gap:6px;margin:0 0 10px}.processing-page .processing-queue>button:not(.queue-toggle){font-size:11px;min-height:64px;padding:10px;align-items:flex-start;gap:5px;border-radius:10px}.processing-prompt{display:flex;flex-direction:column;gap:8px;font-size:11px}.processing-prompt textarea{min-height:144px;resize:vertical;font-size:12px;line-height:1.8;padding:10px}.processing-prompt>small{text-align:right;color:var(--theme-muted,#777);font-size:10px}.editing-page .editing-assets{padding:10px}.editing-page .editing-assets>div{gap:8px}.editing-page .editing-assets article{padding:0;border-radius:6px;background:transparent}.editing-page .editing-assets article video{object-fit:cover;border-radius:6px}.editing-page .media-options{padding:12px}.image-retouch-page .image-tools-stage{border:1px solid var(--line);padding:12px;gap:12px;overflow:visible}.processing-prompt-tools{display:flex;justify-content:space-between;align-items:center}.processing-prompt-tools small{font-size:10px;color:var(--theme-muted,#777)}.processing-prompt-tools>div{display:flex;gap:4px}.processing-prompt-tools button{width:28px;min-height:28px;padding:0;border:0;background:transparent}.image-retouch-page button.processing-image-slot{align-self:flex-start;display:flex;flex-direction:column;width:72px;height:92px;padding:6px;border:0;gap:8px;background:transparent;font-size:10px}.image-retouch-page .processing-image-slot>svg{border:1px solid var(--line);border-radius:8px;width:60px;height:60px;padding:12px}.image-retouch-page .processing-image-slot>img{width:60px;height:60px;object-fit:cover;border-radius:8px}.image-retouch-page .image-tools-stage .processing-prompt{flex:1;min-height:144px}.image-retouch-page .processing-prompt>span{display:flex;gap:4px;align-items:center}.image-retouch-page .processing-prompt textarea{flex:1;min-height:144px;background:transparent;border:0;border-radius:0;padding:0;resize:none;box-shadow:none}.processing-regions{display:flex;flex-wrap:wrap;gap:6px}.processing-regions button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;height:44px;padding:4px 8px;font-size:10px;border-radius:8px}.processing-regions button[aria-pressed=true]{opacity:1;border-color:var(--theme-text,#555)}.processing-regions button small{font-size:9px}.media-page .region-resize{width:12px;height:12px}.media-page .region-resize-nw{inset:-5px auto auto -5px;cursor:nwse-resize}.media-page .region-resize-ne{right:-5px;top:-5px;bottom:auto;cursor:nesw-resize}.media-page .region-resize-sw{left:-5px;bottom:-5px;right:auto;cursor:nesw-resize}.media-page .region-resize-se{right:-5px;bottom:-5px;cursor:nwse-resize}@media(min-width:1024px){.editing-page .media-editor-layout{grid-template-columns:clamp(220px,15vw,320px) minmax(0,1fr) clamp(260px,17vw,360px)}}@media(max-width:800px){.customer-app .processing-page .processing-layout{height:auto;min-height:100dvh;width:100%;padding:12px;display:flex;flex-direction:column;overflow:visible}.customer-app .processing-page :is(.processing-editor,.processing-preview,.processing-queue){overflow:visible;padding:12px}.processing-page .processing-editor{min-height:0}.processing-page :is(.media-stage,.image-tools-stage,.processing-upload){min-height:240px}.processing-page .page-heading button,.processing-page .media-options button.generate,.processing-page .image-tools-settings button.image-tools-submit{min-height:44px;height:44px}.processing-page .processing-queue>.queue-toggle{min-height:44px}.processing-instructions li strong{font-size:13px}.processing-instructions li p{font-size:12px;line-height:18px}.processing-choices button{min-height:44px}.processing-page .image-tools-editor .page-heading{align-items:center}.processing-prompt-tools button{width:44px;min-height:44px}.image-retouch-page .image-tools-stage{min-height:380px}}.video-enhance-page{--work-ink: var(--theme-bright, #202124);--work-muted: var(--theme-muted, #7d7e89);--work-line: var(--theme-line, #e2e3e8);--work-button: var(--theme-action, #222);--work-hover: var(--theme-action-hover, #333);--line: var(--theme-line, #e2e3e8)}.video-enhance-page :is(.processing-editor,.processing-preview,.processing-queue){background:var(--theme-panel, #f5f5f7)}.video-enhance-page button.processing-setting,.video-enhance-page .processing-upload{border-color:var(--line)}.video-enhance-page .processing-layout{width:calc(100% - clamp(24px,4vw,56px));max-width:2112px;padding:24px 8px;margin-inline:auto}.video-enhance-page .page-heading>div:last-child>button{border-color:transparent;background:transparent}.video-enhance-page .page-heading h1{padding-left:8px;border-left:1px solid var(--line)}.video-enhance-page .processing-instructions h3>svg{display:none}.video-enhance-page .processing-instructions li>span{border:0;border-radius:0}.video-enhance-page .processing-instructions li strong{display:flex;align-items:center;gap:6px}.video-enhance-page .processing-setting>i{border:0;background:transparent}.video-enhance-page .media-options button.generate{justify-content:center;gap:18px}.video-enhance-page button.generate>span{display:inline-flex;align-items:center;gap:6px}@media(min-width:2200px){.video-enhance-page .processing-layout{--editor-track: minmax(512px, .57fr);--queue-track: 200px}}@media(max-width:1023px){.customer-app .media-page.video-enhance-page{padding:0}.customer-app .video-enhance-page .page-heading{flex-direction:row;flex-wrap:nowrap;padding:0;align-items:center}.customer-app .video-enhance-page .page-heading>div{flex-direction:row;width:auto}.customer-app .video-enhance-page .processing-layout,.customer-app .video-enhance-page .processing-layout.queue-collapsed{display:flex;flex-direction:column;width:100%;max-width:100%;height:auto;min-height:0;padding:12px;gap:14px;margin:0}.customer-app .video-enhance-page :is(.processing-editor,.processing-preview,.processing-queue){width:100%;min-width:0;overflow:visible}.video-enhance-page .processing-editor{min-height:0}.video-enhance-page .processing-upload{min-height:280px}}.asset-library-page .library-asset-preview.avatar-card-preview,.asset-library-page .portrait-photo{height:auto;aspect-ratio:9 / 16}.asset-library-page .avatar-card-preview{position:relative}.asset-library-page .avatar-card-preview video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}body:has(.customer-app) dialog.modal.avatar-preview-modal{box-sizing:border-box;width:min(460px,calc(100% - 24px))!important;max-width:calc(100% - 24px)!important;height:fit-content;max-height:calc(100svh - 24px);min-height:0;margin:auto;padding:16px;overflow:auto}.avatar-preview-modal>header{gap:12px;margin-bottom:12px}.avatar-preview-modal>header h2{flex:1;min-width:0;font-size:16px;overflow-wrap:anywhere}.avatar-preview-modal>header .icon{flex:none;width:40px;height:40px}.avatar-preview-stage{display:flex;justify-content:center}.avatar-preview-frame{position:relative;width:min(100%,calc((100svh - 220px)*.5625));aspect-ratio:9 / 16;flex:none;overflow:hidden;border-radius:10px;background:#101b26}.avatar-preview-frame>:is(video,img){position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0}.avatar-preview-frame>.is-ready{opacity:1}.avatar-preview-status{position:absolute;inset:0;display:grid;place-items:center;padding:16px;color:#e9f2f4;font-size:14px;text-align:center;pointer-events:none}.avatar-preview-modal .modal-footer{flex-wrap:wrap;gap:8px;margin-top:12px}.avatar-preview-modal .modal-footer>.muted{flex-basis:100%;font-size:12px}.avatar-preview-modal .modal-footer :is(button,.button){min-height:40px}@media(max-width:800px){body:has(.customer-app) dialog.modal.avatar-preview-modal{padding:12px}body:has(.customer-app) dialog.avatar-preview-modal>header{flex-wrap:nowrap}}.talking-page .talking-avatar-selection-name{margin:0;overflow-wrap:anywhere}.talking-page .talking-avatar-selection-actions{display:flex;flex-wrap:wrap;gap:8px}.talking-page .talking-avatar-selection-actions button{min-height:44px;flex:1 1 120px;white-space:normal}.talking-page .talking-avatar-preview-pair{--talking-avatar-matte: #0d302f;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start;min-width:0;min-height:0;flex:1 0 auto}.talking-page .talking-avatar-preview-card{--talking-avatar-frame-width: 100%;display:flex;flex-direction:column;gap:8px;min-width:0}.talking-page .talking-avatar-preview-card>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;flex:none;min-height:36px}.talking-page .talking-avatar-preview-card>header strong{font-size:15px}.talking-page .talking-avatar-preview-card>header small{font-size:11px}.talking-page .talking-avatar-preview-card .talking-avatar-pick{min-height:36px;padding:5px 8px;flex:none;font-size:12px;background:var(--talk-button);color:var(--talk-button-text);border-color:var(--talk-button)}.talking-page .talking-avatar-preview-card>:is(.talking-portrait-player,.talking-portrait-placeholder){position:relative;width:var(--talking-avatar-frame-width);aspect-ratio:9 / 16;height:auto;min-height:0;max-height:none;flex:none;align-self:center;border-radius:12px;overflow:hidden;background:var(--talking-avatar-matte)}.talking-page .talking-portrait-player>video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.talking-page .talking-avatar-preview-pair .talking-portrait-player>:is(video,img){background:var(--talking-avatar-matte);object-position:center}.talking-page .talking-avatar-preview-pair .talking-portrait-placeholder,.talking-page .talking-avatar-preview-pair .talking-portrait-placeholder:hover,.talking-page .talking-avatar-preview-pair .talking-portrait-placeholder strong,.talking-page .talking-avatar-preview-pair .talking-video-status{color:#e0eeeb}.talking-page .talking-avatar-preview-pair .talking-video-status{background:var(--talking-avatar-matte)}.talking-page .talking-portrait-placeholder{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:18px;border:1px dashed var(--talk-line);color:var(--talk-muted);text-align:center;cursor:pointer;font:inherit}.talking-page .talking-portrait-placeholder:hover{border-color:var(--talk-accent);color:var(--talk-ink)}.talking-page .talking-portrait-placeholder strong{font-size:15px;color:var(--talk-ink)}.talking-page .talking-portrait-placeholder span{font-size:12px}.talking-page .talking-portrait-placeholder progress{width:80%;accent-color:var(--talk-accent)}.talking-page .talking-portrait-placeholder.talking-avatar-input-placeholder{gap:20px;padding:24px 16px}.talking-page .talking-avatar-input-placeholder .talking-avatar-empty-icon{display:grid;place-items:center;width:64px;height:64px;flex:none;border:1px solid #b5dcd52e;border-radius:18px;background:#b5dcd50d;color:#c5dfd9}.talking-page .talking-avatar-input-placeholder .talking-avatar-empty-copy{display:flex;flex-direction:column;align-items:center;gap:8px}.talking-page .talking-portrait-placeholder.talking-avatar-input-placeholder strong{font-size:18px;line-height:1.5;font-weight:500;letter-spacing:.5px}.talking-page .talking-avatar-input-placeholder .talking-avatar-empty-limit{font-size:14px;line-height:1.5;font-weight:400;color:#adc6c0}.talking-page .talking-video-status{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:16px;color:var(--talk-ink);background:var(--talk-field);font-size:13px}.talking-page .talking-video-status button{min-height:44px}.talking-page .talking-lipsync-settings{display:grid;grid-template-columns:minmax(0,52fr) minmax(0,44fr) minmax(0,175fr);gap:3px;flex:none;width:100%;min-width:0;margin:0}.talking-page .talking-lipsync-settings>label{display:flex;align-items:center;flex-direction:row;gap:0;margin:0;border:1px solid var(--talk-line);border-radius:9px;background:var(--talk-soft);color:var(--talk-ink);width:100%;min-width:0;height:auto;min-height:44px;padding:0}.talking-page .talking-lipsync-settings>label>span{display:none}.talking-page .talking-lipsync-settings>label select,.talking-page .talking-lipsync-settings>label:nth-child(2) select{flex:1 1 auto;width:100%;min-width:0;padding-inline:8px;font-size:13px;text-align:center;text-align-last:center;appearance:none;border:0;background:transparent;color:inherit;font-weight:700;height:100%}.talking-page .talking-lipsync-settings select option{background:var(--talk-field);color:var(--talk-ink)}.talking-page .talking-lipsync-settings>.talking-card-action{width:100%;min-width:0;min-height:44px;height:auto;padding:4px;white-space:nowrap;font-size:14px;margin:0}.talking-page .talking-lipsync-settings>.talking-card-action.talking-lipsync-generate{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-items:center;gap:4px;border-radius:9px;background:#087579;border-color:#087579;color:#fff;opacity:1}.talking-page .talking-lipsync-settings>.talking-card-action.talking-lipsync-generate:disabled{background:#354e58;border-color:#58717a;color:#edf5f7;opacity:1;cursor:not-allowed}.talking-page .talking-lipsync-generate>strong{font-size:14px;line-height:1.25;color:inherit}.talking-page .talking-lipsync-generate>small{font-size:11px;line-height:1.3;font-weight:600;color:inherit}.talking-page .talking-lipsync-settings>.talking-card-action.talking-lipsync-generate:hover:not(:disabled){background:#065e61;border-color:#065e61}.talking-page .talking-avatar-preview-pair .talking-avatar-preview-card>:is(header,.talking-lipsync-settings,.talking-card-action,.talking-lipsync-quote-note){width:var(--talking-avatar-frame-width);max-width:100%;align-self:center;margin-inline:0}.talking-page .talking-avatar-preview-pair .talking-avatar-preview-card>.talking-enter-editor{min-height:48px;margin-top:0;font-size:14px;height:auto;background:#087579;color:#fff;border-color:#087579;opacity:1}.talking-page .talking-avatar-preview-pair .talking-avatar-preview-card>.talking-enter-editor:disabled{background:#354e58;border-color:#58717a;color:#edf5f7;opacity:1}.talking-page .talking-lipsync-quote-note{margin:4px 0 0;font-size:12px;line-height:1.5}.talking-page .talking-quote-retry{min-height:36px;padding:4px 8px;margin-left:6px}@container (max-width: 600px){.talking-page .talking-avatar-preview-pair{grid-template-columns:minmax(0,1fr)}}@media(max-width:800px){.talking-page .talking-avatar-preview-pair{grid-template-columns:minmax(0,1fr)}.talking-page .talking-avatar-preview-card{--talking-avatar-frame-width: min(100%, max(280px, 39.375dvh ))}}@media(min-width:801px){.talking-page{padding-block:clamp(6px,1dvh,12px);gap:clamp(6px,1dvh,10px)}.talking-page .talking-layout>.talking-editor{overflow-y:auto;scrollbar-width:auto;scrollbar-gutter:stable;direction:rtl}.talking-page .talking-layout>.talking-editor>*{direction:ltr}.talking-page .talking-layout>.talking-preview{scrollbar-gutter:stable}.talking-page .talking-avatar-preview-pair{min-width:0;flex:1 1 auto}.talking-page .talking-avatar-preview-card{--talking-avatar-frame-width: min(100%, max(280px, calc((100cqh - 230px)*.5625) ))}.talking-page .talking-avatar-preview-card>:is(.talking-portrait-player,.talking-portrait-placeholder,.talking-generation-waiting){width:var(--talking-avatar-frame-width);height:auto;aspect-ratio:9 / 16;max-height:none;flex:none;align-self:center}.talking-page .talking-avatar-preview-card .talking-portrait-player video{width:100%;height:100%;object-fit:contain}}.talking-page .talking-copy-actions{display:grid;grid-template-columns:110px repeat(2,minmax(0,1fr));gap:8px;width:100%}.talking-page .talking-copy-actions>button{width:100%;min-width:0;min-height:44px;padding:10px 8px;white-space:nowrap;writing-mode:horizontal-tb}.talking-page .talking-voice-picker .talking-voice-language-filter{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;margin:10px 0;min-width:0}.talking-page .talking-voice-picker .talking-voice-language-filter select{flex:1;min-width:0;min-height:44px}.talking-page .talking-voice-picker .system-voice-name .system-voice-languages{white-space:normal;overflow-wrap:anywhere;line-height:1.5}@media(max-width:650px){.talking-page .talking-voice-picker .system-voice-strip{grid-template-columns:minmax(0,1fr) 74px}.talking-page .talking-voice-picker .system-voice-select{min-height:44px}}.talking-page .talking-sound-toolbar{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1.4fr) minmax(0,1fr) minmax(0,.9fr);gap:8px;align-items:stretch;width:100%;min-width:0;margin:10px 0}.talking-page .talking-sound-toolbar>button,.talking-page .talking-sound-toolbar>label{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:44px;margin:0;padding:6px 8px;border:1px solid var(--talk-line);border-radius:7px;background:var(--talk-field);color:var(--talk-ink);font-size:13px;white-space:nowrap}.talking-page .talking-sound-toolbar>button.active{background:var(--talk-selected);border-color:var(--talk-accent)}.talking-page .talking-sound-toolbar>label>span{flex:0 0 auto;color:var(--talk-muted)}.talking-page .talking-sound-toolbar select{flex:1;width:0;min-width:0;max-width:none;margin:0;padding:0;min-height:30px;border:0;border-radius:0;background:var(--talk-field);color:var(--talk-ink);color-scheme:dark;font-size:inherit}.talking-page .talking-sound-toolbar select option{background:var(--talk-field);color:var(--talk-ink)}.talking-page .talking-sound-toolbar .talking-voice-picker-trigger span{overflow:hidden;text-overflow:ellipsis}.talking-page .talking-sound-toolbar .talking-voice-picker-trigger svg{flex:0 0 16px}@media(max-width:650px){.talking-page .talking-sound-toolbar{gap:4px;grid-template-columns:minmax(0,1.35fr) minmax(0,1.25fr) minmax(0,1fr) minmax(0,1fr)}.talking-page .talking-sound-toolbar>button,.talking-page .talking-sound-toolbar>label{padding:5px 4px;gap:2px;font-size:12px}.talking-page .talking-sound-toolbar .talking-voice-picker-trigger svg{display:none}.talking-page .talking-sound-toolbar>label>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}}.talking-page .talking-sound-toolbar .talking-reference-toggle{background:var(--talk-field);border-color:var(--talk-line);color:var(--talk-ink);font-weight:600}.talking-page .talking-sound-toolbar .talking-reference-toggle.active{background:var(--talk-selected);border-color:var(--talk-accent);color:var(--talk-ink)}.talking-page .talking-sound-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;width:100%;min-width:0;margin:0 0 10px}.talking-page .talking-sound-actions>button{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-width:0;min-height:44px;white-space:nowrap}.talking-page .talking-sound-actions>button.active{background:var(--talk-selected);border-color:var(--talk-accent);color:var(--talk-ink)}.talking-page .talking-sound-actions>.talking-generate-speech{white-space:normal;overflow-wrap:anywhere;padding:8px}.talking-page .talking-queue>.talking-task-row{display:flex;align-items:center;justify-content:flex-start;width:100%;min-width:0;min-height:29px;margin:0 0 1px;padding:0;border:0;border-radius:0;background:transparent;color:var(--talk-ink);text-align:left;font-size:12px}.talking-page .talking-task-row .talking-task-pill{display:inline-grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px;width:100%;max-width:100%;padding:3px 8px;line-height:1.5;border:1px solid var(--talk-line);border-radius:6px;background:var(--talk-soft)}.talking-page .talking-task-row:hover .talking-task-pill,.talking-page .talking-task-row:focus-visible .talking-task-pill{border-color:var(--talk-accent);background:var(--talk-selected)}.talking-page .talking-task-row .talking-task-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.talking-page .talking-task-pill>small{display:inline;margin:0;white-space:nowrap;color:var(--talk-muted);font-size:11px}.talking-page .talking-task-row[data-status=running] .talking-task-pill{border-left:3px solid var(--talk-accent)}.talking-page .talking-task-row[data-status=failed] .talking-task-pill{border-left:3px solid var(--theme-error, #b34b43)}@media(max-width:650px){.talking-page .talking-queue>.talking-task-row{min-height:35px}}.customer-app .talking-page dialog.talking-task-details{width:min(520px,calc(100vw - 32px));height:auto;min-height:0;max-height:80dvh;overflow-y:auto;font-size:13px}.customer-app .talking-page dialog.talking-task-details>header h2{font-size:16px}.customer-app .talking-page dialog.talking-task-details .talking-task-summary{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:12px;color:var(--talk-muted)}.customer-app .talking-page dialog.talking-task-details :is(video,img){max-height:40dvh;object-fit:contain}.customer-app .talking-page dialog.talking-task-details .talking-result-text{font-size:13px;overflow-wrap:anywhere}.talking-page .talking-copy-actions>.talking-word-count{display:flex;flex-direction:row;align-items:center;gap:4px;min-width:0;margin:0;padding:4px 6px;border:1px solid var(--talk-line);border-radius:7px;background:var(--talk-field);color:var(--talk-ink);font-size:12px}.talking-page .talking-word-count>span{flex:none}.talking-page .talking-copy-actions .talking-word-count input{width:0;flex:1;min-width:0;min-height:32px;max-width:none;padding:0;margin:0;border:0;background:transparent;color:inherit;text-align:center}.talking-page .talking-word-count input::-webkit-inner-spin-button{opacity:1}.talking-page .talking-final-cover-generate-row>button{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:44px;white-space:nowrap}.talking-page .talking-cover-inline-credit{display:inline-flex;align-items:center;gap:4px;color:inherit;font-size:12px;white-space:nowrap}.talking-page .talking-lipsync-settings>label{position:relative}.talking-page .talking-lipsync-settings>label:after{content:"";position:absolute;right:4px;top:50%;width:5px;height:5px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-70%) rotate(45deg);pointer-events:none}.talking-page .photo-avatar-tabs{display:flex;gap:8px;margin:8px 0}.talking-page .photo-avatar-tabs button{display:flex;align-items:center;justify-content:center;gap:6px;flex:1;min-height:44px;padding:8px}.talking-page .photo-avatar-tabs button[aria-pressed=true]{border-color:var(--talk-accent,#078184);background:var(--talk-accent,#078184);color:var(--talk-panel,#fff);font-weight:700}.talking-page .photo-avatar-tabs button[aria-pressed=false] .photo-avatar-mode-check{visibility:hidden}.talking-page .photo-avatar-tabs button:focus-visible{outline:2px solid var(--talk-accent);outline-offset:3px}.talking-page .photo-avatar-image{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.talking-page .talking-avatar-preview-card>.generation-model-select{flex:none;margin:8px 0;width:var(--talking-avatar-frame-width);align-self:center;min-width:0}.talking-page .talking-lipsync-settings.is-photo{grid-template-columns:70px minmax(0,1fr);gap:8px}.smart-edit-settings{display:grid;gap:14px;padding:16px;border:1px solid var(--border);border-radius:14px}.smart-edit-settings h3{margin:0;font-size:15px}.smart-edit-templates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.smart-edit-templates button{display:grid;gap:7px;padding:9px;text-align:left;min-width:0;border:1px solid var(--border);border-radius:12px}.smart-edit-templates button[aria-pressed=true]{border-color:#19a89d;box-shadow:0 0 0 1px #19a89d}.smart-edit-templates small{white-space:normal;font-size:11px;line-height:1.5}.smart-template-sample{display:grid;place-items:center;height:72px;border-radius:8px;color:#fff;background:#123b3c;font-size:13px;text-align:center}.smart-template-business{background:linear-gradient(140deg,#142b3b,#285567)}.smart-template-knowledge{background:linear-gradient(140deg,#384132,#14261f)}.smart-template-product{background:linear-gradient(140deg,#533d2e,#203b3d)}.smart-setting-row{display:flex;gap:12px;flex-wrap:wrap}.smart-setting-row>label{flex:1;min-width:110px}.smart-edit-settings label{font-size:13px}.smart-edit-settings select{margin-top:6px;width:100%;min-height:40px}.smart-edit-settings input[type=checkbox],.talking-music-actions input[type=checkbox]{width:auto}.smart-music-setting{display:grid;grid-template-columns:78px minmax(0,1fr) minmax(0,1fr);align-items:center;gap:8px;font-size:13px}.smart-music-setting>button{min-width:0;min-height:40px;padding:6px 8px;white-space:nowrap}.smart-music-setting>button[aria-pressed=true]{background:var(--talk-selected);border-color:var(--talk-accent)}.smart-music-setting>button[aria-pressed=false]{background:var(--talk-field);border-color:var(--talk-line)}.smart-selected-music{grid-column:2 / -1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--talk-muted)}.smart-editor-controls{display:grid;gap:12px}.talking-page .talking-processing-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.talking-page .talking-edit-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.talking-page .talking-edit-tabs button{min-height:40px;padding:6px 10px;border:1px solid var(--talk-line);border-radius:8px;white-space:nowrap}.talking-page .talking-edit-tabs button[aria-selected=true]{background:var(--talk-button);color:var(--talk-button-text);border-color:var(--talk-accent);font-weight:700}.talking-page .talking-edit-tabs button[aria-selected=false]{background:var(--talk-field);color:var(--talk-ink)}.talking-edit-panel:not([hidden]){display:grid;gap:8px}.talking-edit-panel[hidden]{display:none}.smart-run-bar{display:grid;gap:10px;padding:14px;border:1px solid var(--border);border-radius:12px}.smart-run-bar p{margin:0;font-size:12px;line-height:1.6}.smart-run-bar button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-width:0;min-height:44px;white-space:nowrap}.smart-run-bar .smart-button-credit{font-size:12px;font-weight:400}.smart-transition-editor header{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:10px}.smart-transition-editor header strong{flex-basis:100%}.smart-transition-row{display:grid;grid-template-columns:1fr 1.3fr 1fr auto;gap:6px;align-items:end;margin-bottom:8px}.smart-transition-row label{font-size:11px;min-width:0}.smart-transition-row input,.smart-transition-row select{width:100%;min-width:0;padding:6px;min-height:36px}.smart-card-editor textarea{min-height:70px;width:100%}.smart-card-editor>div{margin-top:10px}.smart-card-editor span{margin-right:10px;font-size:12px}.smart-preview-card{position:absolute;left:10%;top:14%;width:80%;padding:4%;border-radius:8px;background:#102030;color:#fff;font-size:clamp(12px,2vw,24px);text-align:center;pointer-events:none;z-index:3;overflow-wrap:anywhere}.smart-mobile-entry,.smart-editor-heading{display:none}@media(max-width:700px){.smart-mobile-entry{display:grid;gap:8px}.smart-mobile-entry button{min-height:46px}.smart-mobile-entry p{font-size:12px;line-height:1.6;margin:0}.talking-page:not(.smart-editor-open) .smart-editor-controls,.talking-page:not(.smart-editor-open) .talking-inline-tools>.talking-inline-tool{display:none}.smart-editor-open .smart-editor-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 0}.smart-editor-open .smart-editor-heading button{min-height:44px}.smart-editor-open .talking-heading,.smart-editor-open .talking-steps,.smart-editor-open .smart-mobile-entry,.smart-editor-open .smart-run-bar,.talking-page.smart-editor-open .talking-layout>.talking-queue,.smart-editor-open .talking-preview-export,.smart-editor-open .talking-edit-credit-estimate{display:none}.smart-editor-open .talking-layout{display:flex;flex-direction:column}.smart-editor-open .talking-editor,.smart-editor-open .talking-preview{width:100%;max-height:none;overflow:visible}.smart-transition-row{grid-template-columns:1fr 1.3fr 1fr}.smart-transition-row>button{grid-column:3;min-height:40px}.smart-edit-templates button{min-height:130px}.smart-edit-settings{padding:12px}.smart-editor-open input:not([type=range]):not([type=checkbox]),.smart-editor-open select,.smart-editor-open textarea{font-size:16px}.smart-editor-open .talking-inline-tools button{min-height:40px}.smart-setting-row input[type=checkbox]{width:20px;height:20px}}.smart-filter-preview{width:100%;max-height:150px;object-fit:contain;border-radius:8px;margin:8px 0}@media(min-width:1024px){.talking-page .talking-layout>.talking-editor{gap:7px;padding:10px 14px}.talking-page .talking-editor>.row{gap:6px}.talking-page .talking-editor .talking-edit-tabs button{min-height:34px;padding:5px 8px;font-size:13px}.talking-page :is(.talking-copy-actions,.talking-sound-actions,.talking-sound-toolbar,.talking-avatar-selection-actions,.photo-avatar-tabs){gap:6px;margin-block:6px}.talking-page :is(.talking-heading,.talking-copy-actions,.talking-sound-actions,.talking-sound-toolbar,.talking-avatar-selection-actions,.photo-avatar-tabs,.talking-source-actions,.talking-final-cover-generate-row)>button,.talking-page .talking-editor>:is(button,.row>button),.talking-page .talking-sound-toolbar>label{min-height:32px;padding:5px 8px;font-size:13px;line-height:1.4;white-space:nowrap}.talking-page .talking-editor .generation-model-select{display:flex;flex-direction:row;align-items:center;gap:8px;min-width:0;margin:0;padding:0;font-size:12px}.talking-page .talking-editor .generation-model-select>span{flex:0 0 78px;white-space:nowrap}.talking-page .talking-editor .generation-model-select>select{flex:1;width:0;min-width:0;min-height:32px;margin:0;padding:5px 8px;font-size:13px}.talking-page .talking-editor .smart-editor-controls{gap:7px}.talking-page .talking-editor .smart-music-setting{font-size:12px}.talking-page .talking-editor .smart-music-setting>button{min-height:32px;padding:5px 8px;font-size:13px}.talking-page .talking-editor .smart-edit-settings{gap:8px;padding:10px;border-radius:9px}.talking-page .talking-editor .smart-edit-settings h3{font-size:13px}.talking-page .talking-editor .smart-edit-templates{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.talking-page .talking-editor .smart-edit-templates button{display:flex;align-items:center;justify-content:center;min-height:34px;padding:5px 3px;font-size:12px;border-radius:6px;white-space:nowrap}.talking-page .talking-editor .smart-edit-templates :is(.smart-template-sample,small){display:none}.talking-page .talking-editor .smart-edit-templates button[aria-pressed=true]{background:var(--talk-selected);border-color:var(--talk-accent)}.talking-page .talking-editor .smart-edit-templates button[aria-pressed=false]{background:var(--talk-field);border-color:var(--talk-line);box-shadow:none}.talking-page .talking-editor :is(.smart-edit-settings>label,.smart-export-settings>label){display:flex;flex-direction:row;align-items:center;gap:8px;margin:0;min-width:0;font-size:12px;white-space:nowrap}.talking-page .talking-editor :is(.smart-edit-settings,.smart-export-settings) select{flex:1;width:0;min-width:0;margin:0 0 0 auto;min-height:32px;padding:5px 8px;font-size:13px}.talking-page .talking-editor :is(.smart-edit-settings>label,.smart-export-settings>label):not(.generation-model-select)>select{max-width:calc(100% - 86px)}.talking-page .talking-editor .smart-setting-row{gap:8px;flex-wrap:nowrap}.talking-page .talking-editor .smart-setting-row>label{display:flex;flex-direction:row;align-items:center;gap:6px;margin:0;min-width:0;white-space:nowrap;font-size:12px}.talking-page .talking-editor .smart-setting-row input[type=checkbox]{flex:none;width:15px;height:15px;margin:0}.talking-page .talking-editor .smart-setting-row select{padding-inline:5px}.talking-page .talking-editor .smart-setting-row>label:only-child>select{max-width:calc(100% - 86px)}.talking-page .talking-editor .smart-export-settings{display:grid;gap:7px}.talking-page .talking-editor .smart-filter-preview{max-height:64px;margin:0}.talking-page .talking-editor .smart-run-bar{grid-template-columns:minmax(0,1fr);gap:6px;padding:9px 10px}.talking-page .talking-editor .smart-run-bar>p{grid-column:1 / -1;font-size:11px;line-height:1.5}.talking-page .talking-editor .smart-run-bar>button{min-height:34px;padding:5px 12px;white-space:nowrap}.talking-page .talking-editor .smart-transition-editor>header{gap:5px;margin-bottom:0}.talking-page .talking-editor .smart-transition-editor>header strong{flex:1 1 auto;font-size:12px}.talking-page .talking-editor .smart-transition-editor>header button{min-height:28px;padding:4px 6px;white-space:nowrap}.talking-page .talking-editor .smart-transition-row{margin-top:6px}.talking-page .talking-editor .talking-subtitle-size-control{display:grid;grid-template-columns:62px minmax(0,1fr);align-items:center;gap:6px;margin:6px 0}.talking-page .talking-editor .talking-subtitle-size-control>label{font-size:12px;white-space:nowrap}.talking-page .talking-editor .talking-subtitle-size-control>label small{display:none}.talking-page .talking-editor .talking-subtitle-size-control>div{gap:4px}.talking-page .talking-editor .talking-subtitle-size-control button{flex-basis:28px;min-height:30px}.talking-page .talking-editor .talking-subtitle-size-control input[type=number]{flex-basis:52px;width:52px;min-height:30px;padding:3px 2px}.talking-page .talking-editor .talking-output-tool .talking-inline-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:6px 10px}.talking-page .talking-editor .talking-output-tool .talking-inline-fields>label{display:flex;flex-direction:row;align-items:center;gap:5px;margin:0;min-width:0;white-space:nowrap}.talking-page .talking-editor .talking-output-tool .talking-inline-fields>label:last-child{grid-column:1 / -1}.talking-page .talking-editor .talking-output-tool .talking-inline-fields :is(select,input){flex:1;width:0;min-width:0;margin:0}.talking-page .talking-preview>header button{min-height:30px;padding:4px 8px}.talking-page .talking-editor .talking-copy-actions>.talking-word-count{min-height:32px;padding:0 6px}.talking-page .talking-editor .talking-copy-actions .talking-word-count input{min-height:28px;height:28px}.talking-page .talking-preview .talking-sound-toolbar>:is(button,label){min-height:34px;padding-block:3px}.talking-page .talking-preview .talking-sound-toolbar select{min-height:26px}.talking-page .talking-editor .talking-final-settings .talking-final-cover-generate-row>button{min-height:34px;height:34px;padding:5px 8px;font-size:13px}.talking-page .talking-avatar-preview-pair .talking-avatar-preview-card>.talking-enter-editor{min-height:36px;padding-block:6px}}.talking-page.talking-studio{--talk-line: #dce6e6;--talk-soft: #f2f7f7;--talk-accent: #287b7c;gap:14px;padding:18px 14px}.talking-studio>.talking-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.talking-studio .talking-steps button{min-height:56px;border-radius:14px}.talking-studio .talking-steps button.active{background:linear-gradient(115deg,#e3f2ee,#edf0fc);color:#245e63;border-color:#abd1ca}.talking-studio .talking-layout,.talking-studio.talking-final-step .talking-layout{grid-template-columns:minmax(340px,440px) minmax(280px,1fr) 180px;gap:16px}.talking-studio .talking-layout>:is(.talking-editor,.talking-preview,.talking-queue){padding:18px;border-radius:18px}.talking-studio .talking-layout>.talking-editor{gap:14px}.talking-studio .talking-source-actions{display:flex;flex-wrap:wrap;gap:8px}.talking-studio :is(button,select){min-height:40px}.talking-studio .talking-editor .talking-main-field{min-height:180px}.talking-studio .talking-editor .talking-main-field textarea{font-size:15px;line-height:1.85;padding:14px;border-radius:12px}.talking-source-detail p{white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto;font-size:14px}.talking-processing-region{position:relative}.talking-processing{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;min-width:0;padding:24px 12px;text-align:center;font-size:14px;line-height:1.5;color:var(--talk-ink, #245e63)}.talking-processing.is-overlay{position:absolute;inset:0;z-index:50;border-radius:12px;background:color-mix(in srgb,var(--talk-field, #fff) 94%,transparent)}.talking-processing-spinner{display:inline-block;flex:none;width:30px;height:30px;border:3px solid var(--talk-line, #dce6e6);border-top-color:var(--talk-accent, #287b7c);border-radius:50%;animation:spin .9s linear infinite}.talking-risk-action{display:inline-flex;align-items:center;gap:6px}.talking-risk-action>.talking-processing-spinner{width:16px;height:16px;border-width:2px}.talking-main-field>textarea,.talking-main-field>.talking-processing{grid-column:1 / -1;grid-row:2}.talking-main-field>.talking-processing.is-overlay{position:relative;margin:2px}.talking-studio .talking-final-publish-settings>.talking-processing-field{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.talking-processing-field>textarea,.talking-processing-field>.talking-processing{grid-column:1;grid-row:2}.talking-processing-field>.talking-processing.is-overlay{position:relative;padding:8px;flex-direction:row;margin:2px}@media(prefers-reduced-motion:reduce){.talking-processing-spinner{animation:none}}.talking-copy-preview{display:flex;flex-direction:column;min-height:100%;gap:24px}.talking-copy-preview header{display:flex;align-items:center;justify-content:space-between;gap:8px}.talking-copy-preview>p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;font-size:17px;margin:0;padding:0 12px 24px}.talking-preview-orbit{flex:none;align-self:center;display:grid;place-items:center;width:124px;height:124px;margin:30px 0 8px;color:#4e8d89;border:1px solid #c8e4df;border-radius:50%;background:radial-gradient(circle at 30% 20%,#fff,#e8eafb);box-shadow:0 0 0 14px #dbeee544,0 0 0 30px #e7e9f833;animation:talking-orbit 5s ease-in-out infinite alternate}@keyframes talking-orbit{to{box-shadow:0 0 0 20px #dbeee522,0 0 0 39px #e7e9f822}}.talking-studio .talking-sound-section{padding:0}.talking-studio .talking-sound-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.talking-studio .talking-sound-toolbar>:is(button,label){width:100%;min-width:0}.talking-studio .talking-sound-toolbar select{min-width:0}.talking-studio .talking-sound-actions{display:flex;flex-wrap:wrap;gap:8px}.talking-studio .talking-speech-history .speech-record-settings{font-size:12px}.talking-studio .talking-speech-record{padding:10px}.talking-studio .talking-avatar-selection{margin-top:12px}.talking-finish-tabs{display:flex;flex:none;gap:8px}.talking-finish-tabs button.active{background:var(--talk-soft);border-color:var(--talk-accent)}.talking-flow-footer{display:flex;flex:none;flex-wrap:wrap;align-items:center;gap:10px;padding:0 4px}.talking-flow-footer>span{margin-right:auto;font-size:12px;color:var(--talk-muted)}.talking-studio .talking-stage-next{display:none}[data-theme=dark] .talking-studio{--talk-line: #314b53;--talk-soft: #203840}[data-theme=dark] .talking-studio .talking-steps button.active{background:#23454a;color:#b4e2da}@media(max-width:1100px)and (min-width:761px){.talking-studio .talking-layout,.talking-studio.talking-final-step .talking-layout{grid-template-columns:minmax(300px,1fr) minmax(300px,1.2fr)}.talking-studio .talking-layout>.talking-queue{grid-column:1/-1;height:auto}}@media(max-width:760px){.app-main:has(>.talking-studio){height:auto;overflow:visible}.talking-page.talking-studio{width:100%;height:auto;overflow:visible;padding:14px 12px 30px}.talking-studio>.talking-steps{gap:5px}.talking-studio .talking-steps button{padding:9px 4px;gap:5px;min-height:60px;flex-direction:column}.talking-studio .talking-step-copy strong{font-size:12px}.talking-studio .talking-layout,.talking-studio.talking-final-step .talking-layout{display:flex;flex-direction:column;overflow:visible}.talking-studio .talking-layout>:is(.talking-editor,.talking-preview,.talking-queue){height:auto;max-height:none;overflow:visible;padding:14px;container-type:normal}.talking-studio :is(button,select){min-height:44px}.talking-studio .talking-main-field textarea{min-height:240px!important}.talking-studio .talking-stage-next{display:flex}.talking-studio .talking-flow-footer{padding-bottom:16px}.talking-studio .talking-copy-preview>p{font-size:15px}.talking-studio .talking-preview-orbit{width:90px;height:90px;margin:15px 0}}@media(prefers-reduced-motion:reduce){.talking-preview-orbit{animation:none}}.talking-page.talking-studio .talking-avatar-preview-pair{grid-template-columns:repeat(2,minmax(0,1fr))}.talking-page.talking-studio .talking-avatar-preview-pair.single-preview{grid-template-columns:minmax(0,1fr)}.talking-studio .talking-avatar-preview-pair.single-preview .talking-avatar-preview-card{--talking-avatar-frame-width: min(100%, 280px)}@media(max-width:760px){.customer-app .talking-page.talking-studio>.talking-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.talking-page.talking-studio .talking-avatar-preview-pair{grid-template-columns:minmax(0,1fr)}.talking-studio .talking-avatar-preview-pair.single-preview .talking-avatar-preview-card{--talking-avatar-frame-width: min(100%, 230px)}}.customer-app dialog.modal.preview-gallery-modal{width:min(1160px,calc(100vw - 32px));max-width:1160px;max-height:calc(100dvh - 32px);overflow:auto}dialog.modal.asset-picker-modal.preview-gallery-modal[open]{display:flex;flex-direction:column;overflow:hidden}.asset-picker-modal.preview-gallery-modal>:is(header,.asset-picker-description,.modal-footer){flex-shrink:0}.asset-picker-modal.preview-gallery-modal .asset-picker-body{display:flex;flex-direction:column;min-height:0;overflow:hidden}.asset-picker-modal.preview-gallery-modal .asset-picker-body>:not(.asset-picker-scroll){flex-shrink:0}.asset-picker-modal.preview-gallery-modal .asset-picker-scroll{min-height:0}.modal.preview-gallery-modal .preview-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:start;max-height:none;margin:0}.modal.preview-gallery-modal .preview-grid>*{min-width:0}.modal.preview-gallery-modal .preview-audio{grid-column:1 / -1}.modal .preview-card{position:relative;display:block;min-width:0;width:100%;padding:0;border:1px solid var(--border, #b7c9cd);border-radius:10px;overflow:hidden;background:var(--panel)}.modal .preview-card.selected{border-color:var(--theme-accent, #168a8c);box-shadow:0 0 0 1px var(--theme-accent, #168a8c)}.modal .preview-card .preview-frame{position:relative;display:block;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:9 / 16;padding:0;border:0;border-radius:0;overflow:hidden;background:var(--theme-base, #e2e8e9)}.customer-app .modal.preview-gallery-modal .preview-card .preview-frame>:is(img,video,.media-placeholder){display:block;position:absolute;inset:0;width:100%;height:100%;min-width:0;max-width:none;max-height:none;border-radius:0;object-fit:contain}.modal .preview-card .preview-frame>.media-placeholder{display:grid;place-items:center}.modal .preview-caption{display:block;width:100%;min-width:0;max-width:100%;height:44px;min-height:44px;padding:8px;margin:0;border:0;border-radius:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;font-size:13px;color:inherit;background:transparent}.modal .preview-badge{position:absolute;top:8px;right:8px;padding:4px 6px;border-radius:5px;color:#fff;background:#143942d9}.modal.preview-gallery-modal :is(.preview-scroll,.asset-picker-scroll){height:auto;max-height:min(60dvh,660px);overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;padding:2px 4px 4px;scrollbar-width:thin;scrollbar-color:#6c8c96 transparent}.modal.preview-gallery-modal :is(.preview-scroll,.asset-picker-scroll)::-webkit-scrollbar{width:8px}.modal.preview-gallery-modal :is(.preview-scroll,.asset-picker-scroll)::-webkit-scrollbar-thumb{background:#6c8c96;border-radius:8px}.modal.preview-gallery-modal :is(.local-preview-stage,.local-cover-image)>.preview-card{width:min(100%,calc((100dvh - 280px)*.5625));margin-inline:auto}.modal.preview-gallery-modal :is(.local-preview-stage,.local-cover-image){height:auto;min-height:0}.modal .preview-badge{width:auto}.avatar-preview-modal>.preview-caption{width:min(100%,calc((100svh - 220px)*.5625));margin-inline:auto}.asset-picker-modal.preview-gallery-modal .asset-picker-upload{display:flex;flex-direction:row;justify-content:flex-start;min-height:0;padding:0 0 12px;border:0;background:transparent}.asset-picker-modal.preview-gallery-modal .asset-picker-upload>:is(svg,strong,small){display:none}.asset-picker-modal.preview-gallery-modal .asset-picker-upload button{min-height:40px}@media(max-width:700px){body:has(.customer-app) dialog.modal.preview-gallery-modal{width:calc(100vw - 20px);padding:12px}.modal.preview-gallery-modal .preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body:has(.customer-app) .modal.preview-gallery-modal .asset-picker-scroll{height:auto;max-height:48dvh;overflow-y:auto;overflow-x:hidden}body:has(.customer-app) .asset-picker-modal.preview-gallery-modal .asset-picker-body{overflow:hidden;min-height:0}.modal.preview-gallery-modal .preview-caption{font-size:12px}}
