:root{color-scheme:light;--bg:#eeede9;--sidebar:#f6f5f1;--panel:#fbfaf7;--input:#f5f4f0;--line:#deded8;--text:#282a26;--muted:#81857d;--soft:#9b9f96;--accent:#5867dc;--accent-tint:#ecedf7;--accent-line:#b8bff2;--screen:#242523;--stage:#e6e6e0;--shadow:0 18px 45px rgb(40 42 38 / 7%);--error:#bd4545;--success:#278766;font-family:"PingFang SC",-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;font-size:16px}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);min-width:360px}
body[data-theme=dark]{color-scheme:dark;--bg:#171918;--sidebar:#1d201e;--panel:#222522;--input:#292c28;--line:#383d35;--text:#e8eae2;--muted:#9aA293;--soft:#8d9586;--accent:#8b96ff;--accent-tint:#30364d;--accent-line:#555f9e;--screen:#101210;--stage:#2e322b;--shadow:0 18px 45px rgb(0 0 0 / 14%);--error:#f08a88;--success:#68c6a1}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button{color:inherit;cursor:pointer}
button:disabled{cursor:wait;opacity:.58}
button,select,input,textarea{outline-offset:3px}
:focus-visible{outline:2px solid var(--accent)}
button{border:0;background:none}
a{color:var(--accent);text-underline-offset:3px}
::selection{background:var(--accent);color:#fff}
::-webkit-scrollbar{width:7px;height:7px}
::-webkit-scrollbar-thumb{background:var(--line);border-radius:7px}
[hidden]{display:none!important}
.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}
.icon{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.sidebar{position:fixed;inset:0 auto 0 0;z-index:2;display:flex;flex-direction:column;width:274px;padding:30px 20px 24px;background:var(--sidebar);border-right:1px solid rgb(100 104 94 / 7%)}
.brand{display:flex;align-items:center;gap:12px;margin:0 8px 28px}
.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--accent);color:#fff;font-size:14px;font-weight:600}
.brand strong,.brand div>span{display:block}
.brand strong{font-size:16px;font-weight:650;line-height:1.5}
.brand div>span{font-size:10px;color:var(--muted);margin-top:3px}
.nav-button{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:66px;padding:13px 11px;border:1px solid transparent;border-radius:12px;text-align:left;color:var(--muted);transition:background .15s,border-color .15s}
#mode-nav{display:flex;flex-direction:column;gap:5px}
.nav-button:hover{background:var(--input);color:var(--text)}
.nav-button.active{color:var(--text);background:color-mix(in srgb,var(--accent) 9%,var(--sidebar));border-color:var(--accent-line)}
.nav-button.active::after{content:"";position:absolute;right:0;top:17px;bottom:17px;width:2px;border-radius:2px;background:var(--accent)}
.nav-icon{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:10px;background:var(--input);color:var(--soft)}
.active .nav-icon{color:var(--accent);background:var(--panel)}
.nav-copy strong,.nav-copy small{display:block}
.nav-copy strong{font-size:14px;font-weight:600;line-height:1.45}
.nav-copy small{font-size:10px;white-space:nowrap;line-height:1.5;margin-top:2px;color:var(--muted)}
.archive-nav{margin-top:auto;border-top:1px solid var(--line);padding-top:18px}
.main{margin-left:274px;padding:34px 32px 50px}
.workspace{max-width:1480px;margin:0 auto}
.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:28px}
h1,h2,p{margin:0}
h1{font-size:44px;line-height:1.2;letter-spacing:-1.7px;font-weight:730;white-space:nowrap}
h1>span{color:var(--accent)}
h1>small{font-size:26px;letter-spacing:-.8px;color:#747b71;font-weight:650;margin-left:12px}
.byline{font-size:16px;line-height:1.5;margin-top:10px;color:var(--muted);font-weight:550}
.system-actions{display:flex;align-items:center;gap:10px;margin-top:10px;flex-shrink:0}
.system-pill{display:flex;align-items:center;gap:7px;border-radius:11px;background:var(--panel);padding:10px 12px;font-size:10px;color:var(--muted);min-height:36px;white-space:nowrap}
.system-pill .icon{width:16px;height:16px}
.status-dot{width:7px;height:7px;border-radius:100%;background:var(--success);box-shadow:0 0 0 4px rgb(39 135 102 / 9%)}
.status-dot.checking{background:var(--soft);box-shadow:none}
.status-dot.error{background:var(--error);box-shadow:none}
.icon-button{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border:1px solid var(--line);border-radius:9px;color:var(--muted);background:transparent}
.icon-button:hover{color:var(--accent);background:var(--accent-tint)}
.theme-button{width:36px;height:36px;background:var(--panel);border-color:transparent}
.editor-grid{display:grid;grid-template-columns:minmax(0,41fr) minmax(0,59fr);gap:24px;align-items:start}
.panel{background:var(--panel);border-radius:20px;box-shadow:var(--shadow);min-width:0}
.form-card{padding:32px}
.mode-heading{display:flex;align-items:center;gap:16px;padding:0 0 30px;border-bottom:1px solid var(--line);margin-bottom:22px}
.mode-badge{display:inline-flex;align-items:center;justify-content:center;padding:8px 10px;flex-shrink:0;background:var(--accent-tint);border-radius:8px;font-size:9px;font-weight:650;letter-spacing:1px;color:var(--accent)}
.mode-heading h2,.history-heading h2{font-size:20px;line-height:1.5;font-weight:650;letter-spacing:-.5px}
.mode-heading p{font-size:11px;line-height:1.5;color:var(--muted);margin-top:4px}
label{display:block;font-size:11px;line-height:1.5;margin-bottom:8px;color:var(--text)}
.textarea-wrap{position:relative}
textarea{display:block;width:100%;height:138px;min-height:110px;border:1px solid var(--line);border-radius:15px;background:var(--input);resize:vertical;padding:16px 16px 29px;color:var(--text);font-size:12px;line-height:1.65;caret-color:var(--accent)}
textarea::placeholder{color:var(--soft)}
.character-count{position:absolute;right:14px;bottom:5px;font-size:12px;color:var(--muted);pointer-events:none;background:var(--input)}
.character-count.over-limit{color:var(--error)}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.field{min-width:0}
.output-settings{margin-top:20px}
select,.seed-control,.duration-control{height:40px;border:1px solid var(--line);border-radius:11px;background:var(--input);color:var(--text);font-size:11px}
select{width:100%;padding:0 12px;cursor:pointer;color:var(--muted)}
.duration-control{display:flex;align-items:center;gap:13px;padding:0 14px}
input[type=range]{width:55%;min-width:55px;accent-color:var(--accent);height:20px;cursor:pointer;margin:0}
.duration-control output{font-size:10px;color:var(--accent);white-space:nowrap;font-variant-numeric:tabular-nums}
.advanced-section{margin-top:16px;border-top:1px solid var(--line)}
.advanced-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;padding:15px 0;color:var(--muted);font-size:11px;text-align:left}
.advanced-toggle>span{display:flex;align-items:center;gap:8px}
.advanced-toggle .icon{width:16px;height:16px}
.advanced-toggle .chevron{transform:rotate(180deg)}
.advanced-toggle[aria-expanded=false] .chevron{transform:none}
.seed-control{display:flex;overflow:hidden}
.seed-control input{border:0;width:100%;min-width:0;background:transparent;padding:0 12px;color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums;appearance:textfield}
.seed-control input::-webkit-inner-spin-button{appearance:none}
.seed-control .icon-button{height:100%;width:40px;border:0;border-left:1px solid var(--line);border-radius:0}
.seed-control .icon{width:16px;height:16px}
.generate-button{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:55px;margin-top:16px;padding:14px 20px;border-radius:13px;background:var(--accent);color:#fff;box-shadow:0 10px 20px rgb(88 103 220 / 12%);text-align:left;transition:filter .15s}
.generate-button:hover{filter:brightness(1.06)}
.generate-button:disabled{cursor:not-allowed;filter:none}
.generate-button>span{display:flex;align-items:center;gap:12px}
.generate-button .icon{width:18px;height:18px;fill:currentColor}
.generate-button strong{font-size:14px;font-weight:600}
.generate-button small{font-size:9px;white-space:nowrap}
.form-error{font-size:12px;color:var(--error);line-height:1.6;margin-top:13px;overflow-wrap:anywhere}
.reference-section{margin-top:18px}
.reference-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.role-switch{display:inline-flex;gap:3px;background:var(--input);padding:3px;border-radius:10px;margin-bottom:10px}
.role-switch button{padding:6px 22px;font-size:10px;color:var(--muted);border-radius:7px}
.role-switch button.active{background:var(--panel);color:var(--text);box-shadow:0 2px 4px rgb(20 22 18 / 5%)}
.upload-button{display:flex;align-items:center;gap:12px;width:100%;min-height:70px;border:1px dashed var(--line);border-radius:12px;background:var(--input);padding:14px 12px;text-align:left;overflow:hidden}
.upload-button:hover,.upload-button.drag-over{border-color:var(--accent);background:var(--accent-tint)}
.upload-icon{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border-radius:9px;background:var(--accent-tint);color:var(--accent)}
.upload-icon .icon{width:19px;height:19px}
.upload-button strong,.upload-button small{display:block}
.upload-button strong{font-size:11px;font-weight:550;line-height:1.6;color:var(--muted)}
.upload-button small{font-size:9px;color:var(--soft);margin-top:3px;line-height:1.5}
.selection-count{font-size:9px;color:var(--muted);text-align:right;margin-top:7px}
.selected-file{position:relative;display:flex;align-items:center;gap:10px;padding:9px;border:1px solid var(--line);border-radius:10px;background:var(--input);margin-top:8px;min-width:0}
.file-thumbnail{width:42px;height:42px;border-radius:5px;object-fit:cover;background:var(--stage);flex-shrink:0}
.file-description{min-width:0;flex:1}
.file-description strong{font-size:10px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}
.file-description small{display:block;font-size:9px;color:var(--muted);margin-top:4px}
.selected-file .icon-button{width:25px;height:25px;border:0;flex-shrink:0}
.selected-file .icon-button .icon{width:14px;height:14px}
.multi-files{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.multi-files .selected-file{margin-top:0;flex-wrap:wrap;gap:6px}
.multi-files .file-thumbnail{width:100%;height:100px;object-fit:contain}
.file-order{position:absolute;top:15px;left:15px;background:var(--panel);border-radius:5px;font-size:10px;padding:3px 6px}
.file-controls{display:flex;gap:1px;flex-shrink:0}
.multi-files .file-description{flex-basis:calc(100% - 82px)}
.preview-card{padding:22px 24px 30px}
.preview-heading{display:flex;align-items:center;justify-content:space-between;min-height:29px;margin-bottom:18px;padding:0 6px}
.preview-heading h2{font-size:12px;line-height:1.5;font-weight:600}
.preview-heading>div>span{display:block;font-size:9px;color:var(--muted);margin-top:4px}
.job-status{display:flex;align-items:center;gap:7px;font-size:9px;background:var(--input);border-radius:9px;color:var(--muted);padding:7px 10px}
.job-status i{display:block;width:5px;height:5px;border-radius:50%;background:var(--soft)}
.job-status[data-status=completed] i{background:var(--success)}
.job-status[data-status=error] i{background:var(--error)}
.job-status[data-status=running] i,.job-status[data-status=compiling] i{background:var(--accent)}
.preview-stage{display:flex;align-items:center;min-height:610px;aspect-ratio:1.355;background:var(--stage);border-radius:15px;overflow:hidden}
.preview-screen{display:grid;place-items:center;position:relative;background:#000;width:100%;aspect-ratio:960/512;overflow:hidden}
.empty-preview{position:relative;z-index:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#5f655c;background:radial-gradient(ellipse at 50% 44%,rgb(88 103 220 / 9%),transparent 48%);padding:20px}
.preview-icon{display:grid;place-items:center;width:62px;height:62px;border-radius:50%;background:#fbfaf7;color:#5867dc;border:1px solid #dfdfd9;margin-bottom:22px}
.preview-icon .icon{width:28px;height:28px}
.empty-preview strong,.history-empty strong{font-size:14px;line-height:1.6;font-weight:550}
.empty-preview p,.history-empty p{font-size:10px;line-height:1.6;color:#7d8577;margin-top:8px}
video{display:block;width:100%;height:100%;max-height:650px;object-fit:contain;background:#000}
.preview-screen:has(video:not([hidden])){aspect-ratio:auto;min-height:280px;height:100%;background:#000}
.preview-details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:14px;border:1px solid var(--line);border-radius:12px;overflow:hidden;min-height:58px}
.preview-details>div{padding:11px 13px;border-right:1px solid var(--line);min-width:0}
.preview-details>div:last-child{border-right:0}
.preview-details small{display:block;font-size:9px;color:var(--muted);line-height:1.5}
.preview-details span{display:block;font-size:10px;line-height:1.5;margin-top:4px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.preview-note{font-size:9px;color:var(--muted);line-height:1.7;margin:26px 6px 0}
.task-progress{margin-top:16px}
.task-progress>div{display:flex;justify-content:space-between;gap:15px;font-size:11px;line-height:1.6;color:var(--muted)}
#task-time{white-space:nowrap;font-variant-numeric:tabular-nums}
progress{display:block;width:100%;height:5px;border:0;background:var(--stage);border-radius:4px;overflow:hidden;margin-top:8px;accent-color:var(--accent)}
progress::-webkit-progress-bar{background:var(--stage)}
progress::-webkit-progress-value{background:var(--accent)}
progress::-moz-progress-bar{background:var(--accent)}
.output-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.download-link{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;font-size:11px;border:1px solid var(--line);border-radius:9px;text-decoration:none;color:var(--accent);background:var(--accent-tint)}
.download-link .icon{width:14px;height:14px}
.history-grid{display:grid;grid-template-columns:minmax(0,35fr) minmax(0,65fr);gap:20px;align-items:start}
.history-list-card{padding:28px 20px}
.history-heading{display:flex;gap:15px;justify-content:space-between;align-items:flex-start;padding:0 0 20px;border-bottom:1px solid var(--line)}
.archive-badge{background:none;padding:0;font-size:8px;letter-spacing:.8px;line-height:1.5;margin-bottom:5px}
.history-heading p{font-size:9px;color:var(--muted);margin-top:4px;line-height:1.6}
.history-actions{display:flex;gap:8px;margin-top:11px}
.history-actions .icon-button{width:32px;height:34px}
.history-actions .icon{width:17px;height:17px}
.empty-history{min-height:286px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:var(--muted);padding:20px}
.empty-history .icon{width:27px;height:27px;margin-bottom:14px;color:var(--soft)}
.empty-history strong{font-size:12px;font-weight:500;line-height:1.6}
.empty-history p{font-size:9px;margin-top:7px;color:var(--soft);line-height:1.6}
.history-preview-card{padding:18px 18px 30px}
.history-preview-card .preview-heading{padding:0 2px;margin-bottom:12px}
.history-stage{display:grid;place-items:center;min-height:650px;background:var(--screen);border-radius:13px;overflow:hidden}
.history-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;text-align:center;color:#747d6d}
.history-empty>.icon{width:30px;height:30px;margin-bottom:14px;color:#8e9987}
.history-stage video{max-height:650px}
.history-details{margin-top:13px;min-height:54px}
.history-details>div{padding:9px 12px}
.history-preview-card .preview-note{margin-top:26px}
.history-item{display:flex;gap:12px;width:100%;padding:14px 10px;margin-top:10px;text-align:left;border:1px solid transparent;border-radius:11px;background:var(--input)}
.history-item:hover,.history-item.selected{border-color:var(--accent-line);background:var(--accent-tint)}
.history-item-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:8px;background:var(--panel);color:var(--accent);flex-shrink:0}
.history-item-copy{min-width:0;flex:1}
.history-item-copy strong{display:block;font-size:12px;font-weight:550;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.history-item-copy p{font-size:10px;line-height:1.7;margin-top:3px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.history-item-copy small{display:block;margin-top:6px;font-size:9px;color:var(--soft)}
.service-notices{display:flex;align-items:flex-start;gap:8px 14px;flex-wrap:wrap;margin-top:16px}
.connection-notice{color:var(--muted);font-size:11px;line-height:1.7;overflow-wrap:anywhere}
.deployment-details{color:var(--muted);font-size:11px;line-height:1.7;overflow-wrap:anywhere;flex:1;min-width:0}
.deployment-details[open]{flex-basis:100%}
.deployment-details summary{cursor:pointer;width:max-content}
.deployment-details p{margin-top:8px}
dialog{width:min(440px,calc(100% - 40px));border:1px solid var(--line);border-radius:16px;background:var(--panel);color:var(--text);padding:28px;box-shadow:0 25px 80px rgb(0 0 0 / 20%)}
dialog::backdrop{background:rgb(0 0 0 / 40%)}
dialog h2{font-size:19px}
dialog p{font-size:13px;line-height:1.7;color:var(--muted);margin-top:14px}
.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}
.secondary-button,.danger-button{border-radius:9px;padding:10px 16px;font-size:12px}
.secondary-button{border:1px solid var(--line);background:var(--input)}
.danger-button{background:var(--error);color:#fff}
@media(min-width:1900px){.main{padding-top:34px}}
@media(max-width:1690px){h1{font-size:35px}h1>small{font-size:21px;margin-left:6px}.byline{font-size:13px}.sidebar{width:248px;padding-left:16px;padding-right:16px}.main{margin-left:248px}.form-card{padding:26px}.mode-heading{padding-bottom:24px}.system-actions{gap:7px}.system-pill{padding:9px}.preview-stage{min-height:520px}.history-stage{min-height:560px}}
@media(max-width:1370px){h1{font-size:29px}h1>small{font-size:17px}.page-header{gap:12px}.gpu-pill{display:none}.sidebar{width:230px;padding-left:12px;padding-right:12px}.main{margin-left:230px;padding:28px 24px 40px}.nav-button{gap:10px;padding-left:8px;padding-right:8px}.nav-copy small{font-size:9px}.form-card{padding:22px}.preview-card{padding:20px}.mode-heading{gap:11px}.mode-heading h2{font-size:18px}.field-row{gap:9px}.duration-control{gap:7px;padding:0 9px}select{padding:0 7px;font-size:10px}.preview-stage{min-height:460px}.history-grid{grid-template-columns:minmax(0,39fr) minmax(0,61fr)}.history-stage{min-height:520px}.history-heading{flex-wrap:wrap}.history-actions{margin-top:0}}
@media(max-width:1120px){.sidebar{width:80px;padding:24px 10px 15px}.brand{margin:0 auto 30px}.brand>div,.nav-copy{display:none}.nav-button{justify-content:center;padding:12px 5px}.nav-button.active::after{top:15px;bottom:15px}.archive-nav{padding-top:12px}.main{margin-left:80px;padding:25px 22px 40px}.page-header{margin-bottom:25px}.editor-grid{grid-template-columns:minmax(0,43fr) minmax(0,57fr);gap:18px}.history-grid{gap:18px}.form-card{padding:20px}.mode-heading{align-items:flex-start}.mode-badge{padding:7px}.mode-heading p{font-size:10px}.mode-heading h2{font-size:17px}.duration-control{padding:0 7px;gap:5px}.duration-control output{font-size:9px}input[type=range]{min-width:35px}.preview-stage{min-height:430px}.preview-details>div{padding:10px 8px}.generate-button{padding:13px}.generate-button small{font-size:8px}.generate-button strong{font-size:12px}.generate-button>span{gap:7px}.upload-button{gap:8px;padding:10px 8px}.upload-icon{width:30px;height:30px}.upload-button strong{font-size:10px}.history-stage{min-height:480px}}
@media(max-width:900px){h1{font-size:25px}h1>small{font-size:14px}.system-pill{display:none}.system-actions{margin-top:0}.editor-grid,.history-grid{grid-template-columns:1fr;gap:20px}.form-card{padding:26px}.field-row{gap:14px}select{font-size:11px;padding:0 12px}.mode-heading{align-items:center}.mode-heading h2{font-size:20px}.mode-heading p{font-size:11px}.mode-badge{padding:8px 10px}.duration-control{padding:0 14px;gap:13px}input[type=range]{width:60%}.duration-control output{font-size:10px}.preview-stage{min-height:430px;max-height:560px}.history-stage{min-height:440px}.history-heading{flex-wrap:nowrap}.history-actions{margin-top:10px}.generate-button{padding:15px 20px}.generate-button strong{font-size:14px}.generate-button small{font-size:10px}.upload-button{padding:14px 12px;gap:12px}.upload-button strong{font-size:11px}.upload-icon{width:36px;height:36px}.empty-history{min-height:220px}}
@media(max-width:560px){.sidebar{width:62px;padding:18px 7px 14px}.brand-mark{width:36px;height:36px;font-size:12px;border-radius:10px}.brand{margin-bottom:22px}.nav-icon{width:32px;height:32px;border-radius:8px}.nav-button{min-height:57px;border-radius:10px;padding:10px 3px}.nav-button.active::after{top:12px;bottom:12px}.nav-icon .icon{width:19px;height:19px}.main{margin-left:62px;padding:20px 13px 30px}.page-header{gap:6px;margin-bottom:20px}h1{font-size:22px;line-height:1.4;letter-spacing:-.9px;white-space:normal}h1>span{white-space:nowrap}h1>small{display:block;font-size:13px;letter-spacing:0;margin:0}.byline{font-size:10px;margin-top:6px}.theme-button{width:32px;height:32px;border-radius:9px}.form-card{padding:20px 16px;border-radius:16px}.mode-heading{gap:10px;margin-bottom:18px;padding-bottom:20px}.mode-heading h2{font-size:18px}.mode-heading p{font-size:10px}.mode-badge{font-size:8px;padding:7px}.field-row{gap:8px}select{font-size:9px;padding:0 5px}.duration-control{padding:0 7px;gap:5px}.duration-control output{font-size:9px}input[type=range]{width:50%;min-width:30px}textarea{font-size:11px;height:150px;padding:13px 12px 27px}.character-count{font-size:10px}.generate-button{padding:13px 12px}.generate-button strong{font-size:12px}.generate-button small{font-size:8px}.generate-button>span{gap:6px}.reference-row{gap:7px}.upload-button{min-height:75px;padding:9px 7px;gap:7px}.upload-icon{width:28px;height:28px}.upload-icon .icon{width:16px;height:16px}.upload-button strong{font-size:9px}.upload-button small{font-size:8px}.preview-card{border-radius:16px;padding:17px 13px 22px}.preview-stage{min-height:330px;aspect-ratio:1.2}.preview-heading{padding:0 3px}.preview-icon{width:48px;height:48px;margin-bottom:16px}.preview-icon .icon{width:24px;height:24px}.empty-preview{padding:16px 8px}.empty-preview strong{font-size:11px}.empty-preview p{font-size:8px}.preview-details>div{padding:9px 6px}.preview-details small{font-size:8px}.preview-details span{font-size:8px}.preview-note{font-size:8px;margin:19px 3px 0}.history-list-card{padding:20px 14px;border-radius:16px}.history-heading{gap:8px}.history-heading h2{font-size:18px}.history-heading p{font-size:8px}.history-actions{gap:5px}.history-actions .icon-button{width:27px;height:29px}.history-actions .icon{width:15px;height:15px}.history-preview-card{padding:17px 13px 22px;border-radius:16px}.history-stage{min-height:350px}.history-empty strong{font-size:12px}.history-empty p{font-size:9px}.multi-files .file-thumbnail{height:85px}.file-controls{gap:0}.selected-file .icon-button{width:23px}.multi-files .file-description{flex-basis:100%}.file-description strong{font-size:9px}.role-switch button{padding:6px 16px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
