:root{color-scheme:dark;font-family:Inter,Microsoft YaHei,PingFang SC,Arial,sans-serif;background:#090a0c;color:#f4f0e8;font-size:16px}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 18% 0%,rgba(72,208,215,.12),transparent 28rem),radial-gradient(circle at 88% 12%,rgba(240,162,71,.1),transparent 24rem),linear-gradient(135deg,#07090b,#101416 46%,#0d1014)}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}.shell{min-height:100vh;padding:24px}.boot-screen,.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.boot-screen{color:#d8d2c8}.app-crash section{width:min(520px,100%);display:grid;gap:12px;padding:22px;border:1px solid rgba(255,115,115,.38);border-radius:8px;background:#0d0e10eb}.app-crash p{margin:0;line-height:1.6}.app-crash button{min-height:40px;border:0;border-radius:8px;color:#10100f;background:#a7efe2;font-weight:900}.auth-panel{width:min(520px,100%);padding:22px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#0d0e10e6;box-shadow:0 22px 72px #00000052}.auth-panel h1,.auth-panel .brand-lockup{margin-bottom:18px}.auth-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:4px;padding:4px;margin-bottom:18px;border-radius:8px;background:#ffffff12}.auth-tabs button{min-height:38px;border:0;border-radius:6px;color:#d8d2c8;background:transparent;font-weight:800}.auth-tabs button.active{color:#11100e;background:#f0a247}.auth-form{display:grid;gap:12px}.auth-form input{min-height:42px;padding:0 12px}.code-row{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:10px;align-items:end}.code-row label,.code-row .secondary-action{margin-bottom:0}.dev-code{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 12px;border-radius:8px;color:#10100f;background:#a7efe2;font-weight:800}.workspace{max-width:1540px;margin:0 auto}.topbar{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:14px}.eyebrow{margin:0 0 8px;color:#f2a84d;font-size:.78rem;text-transform:uppercase;letter-spacing:0}h1{margin:0;font-size:2rem;line-height:1.16;letter-spacing:0}.brand-lockup{display:flex;align-items:center;gap:14px}.brand-lockup.compact{align-items:flex-start}.brand-lockup.compact h1{font-size:1.8rem}.brand-creator{margin:6px 0 0;color:#a7efe2;font-size:.9rem;font-weight:800}.brand-mark{position:relative;width:54px;height:54px;flex:0 0 auto;display:grid;place-items:center;border:1px solid rgba(240,162,71,.42);border-radius:8px;background:linear-gradient(135deg,#f0a2473d,#a7efe229),#0c0e12e0;box-shadow:0 18px 48px #f0a24729,inset 0 0 22px #a7efe21f;overflow:hidden}.brand-mark:before,.brand-mark:after{content:"";position:absolute;top:11px;right:11px;bottom:11px;left:11px;border:2px solid rgba(167,239,226,.72);transform:rotate(45deg)}.brand-mark:after{top:17px;right:17px;bottom:17px;left:17px;border-color:#f0a247c7;transform:rotate(0)}.brand-mark-core{position:relative;z-index:1;width:12px;height:12px;border-radius:50%;background:#f0a247;box-shadow:0 0 0 6px #f0a24721,0 0 24px #a7efe2b8}.privacy,.status-strip,.account-chip{display:flex;align-items:center;gap:8px;min-height:36px;color:#ace7dd;border:1px solid rgba(172,231,221,.28);padding:0 12px;border-radius:8px;background:#0d1f1d9e}.topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.theme-switcher{min-height:36px;display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#ffffff0f}.theme-switcher button{min-height:28px;border:0;border-radius:6px;padding:0 10px;color:#d8d2c8;background:transparent;font-weight:800}.theme-switcher button.active{color:#10100f;background:#a7efe2}.account-chip{color:#fff1d8;border-color:#f0a24747;background:#311d0d9e}.account-chip em{color:#a7efe2;font-style:normal;font-weight:800}.account-chip button{width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:6px;color:#10100f;background:#f0a247}.project-title{margin:8px 0 0;color:#a7efe2;font-size:.92rem}.project-title-row{display:flex;align-items:center;gap:8px}.inline-icon-button{width:28px;height:28px;display:grid;place-items:center;margin-top:8px;border:0;border-radius:6px;color:#10100f;background:#a7efe2}.ghost-icon-button{color:#a7efe2;background:transparent}.ghost-icon-button:hover{background:#ffffff14}.mode-tabs{width:fit-content;display:flex;gap:4px;padding:4px;margin-bottom:16px;border-radius:8px;background:#ffffff12;border:1px solid rgba(255,255,255,.1)}.mode-tabs button{min-width:132px;min-height:38px;display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:6px;color:#d8d2c8;background:transparent}.mode-tabs button.active{color:#11100e;background:#f0a247;font-weight:800}.save-pill{min-height:30px;display:inline-flex;align-items:center;padding:0 10px;border-radius:999px;color:#10100f;background:#a7efe2;font-size:.84rem;font-weight:900}.save-pill.saving{background:#f0a247}.save-pill.failed{color:#fff1f1;background:#c13a3a}.grid{display:grid;grid-template-columns:minmax(360px,520px) minmax(0,1fr);gap:18px;align-items:start}.app-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:16px;align-items:start}.pipeline{display:grid;gap:16px;max-width:1080px}.pipeline-stage{overflow:hidden;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#0c0f12e6;box-shadow:0 20px 70px #00000047;transition:border-color .2s ease,background .2s ease,box-shadow .2s ease,opacity .2s ease}.pipeline-stage.locked{border-color:#a7efe247}.pipeline-stage.disabled{opacity:.66}.pipeline-stage-head{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px;border-bottom:1px solid rgba(255,255,255,.09);background:#ffffff09}.pipeline-stage-head>div{display:flex;align-items:center;gap:10px;min-width:0}.stage-collapse-button{width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:6px;color:#f7d7a8;background:transparent;transition:background .18s ease,transform .18s ease}.stage-collapse-button:hover{background:#ffffff14;transform:translateY(-1px)}.stage-number{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;color:#0a0d0e;background:#d7bd86;font-weight:900}.pipeline-stage-head strong{color:#fff7e8;font-size:1.05rem}.pipeline-stage-head em{min-height:24px;display:inline-flex;align-items:center;padding:0 9px;border-radius:999px;color:#a7efe2;background:#a7efe21a;font-size:.82rem;font-style:normal;font-weight:800}.pipeline-stage-body-shell{display:grid;grid-template-rows:1fr;opacity:1;overflow:hidden;transition:grid-template-rows .26s ease,opacity .22s ease}.pipeline-stage.collapsed .pipeline-stage-body-shell{grid-template-rows:0fr;opacity:0}.pipeline-stage-body{min-height:0;overflow:hidden;display:grid;gap:14px;padding:16px}.pipeline-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:center}.pipeline-actions .primary-action,.pipeline-actions .secondary-action{margin-bottom:0}.pipeline-run{margin-top:0;min-height:42px;justify-content:center}.prep-draft{min-height:240px}.prep-column-block{display:grid;gap:10px;padding:12px;border:1px solid rgba(255,255,255,.09);border-radius:8px;background:#ffffff09}.prep-column-block .mini-head{margin-bottom:0}.style-prep{display:grid;gap:12px;padding:12px;border:1px solid rgba(255,255,255,.09);border-radius:8px;background:#ffffff09}.style-prep .mini-head{justify-content:space-between;margin-bottom:0}.style-prep .mini-head span{margin-right:auto}.style-help{margin:0;color:#b8c2bf;line-height:1.65;font-size:.9rem}.style-selected-bar{min-height:38px;display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#aeb5b1;background:#ffffff09;line-height:1.45}.style-selected-bar.active{color:#10100f;border-color:#a7efe299;background:#a7efe2;font-weight:900}.compact-style-options{grid-template-columns:repeat(3,minmax(0,1fr));padding:0}.style-extra-grid{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) 180px;gap:10px;align-items:end}.style-extra-grid label,.style-extra-grid .secondary-action{margin-bottom:0}.style-extra-grid input,.style-extra-grid select{min-height:42px;padding:0 10px}.selected-action{background:#a7efe2}.style-detail{display:grid;gap:5px;padding:10px 12px;border:1px solid rgba(167,239,226,.18);border-radius:8px;background:#a7efe20f}.style-detail strong{color:#a7efe2}.style-detail span{color:#d8d2c8;line-height:1.55}.style-detail-line{display:grid;gap:3px}.style-detail-line em{color:#f7d7a8;font-size:.78rem;font-style:normal;font-weight:900}.unlock-action{background:#d7bd86}.project-sidebar{position:sticky;top:18px;display:grid;gap:12px;padding:12px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#0d0e10d6}.project-sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.project-sidebar-head h2{margin:0;font-size:1.15rem}.project-create-mini{display:grid;grid-template-columns:minmax(0,1fr) 86px;gap:8px}.project-create-mini input{min-height:38px;padding:0 10px}.project-create-mini .primary-action{min-height:38px}.project-nav-list{display:grid;gap:8px;max-height:calc(100vh - 260px);overflow:auto;padding-right:2px}.project-nav-card{min-height:88px;display:grid;grid-template-columns:minmax(0,1fr) 32px 32px;gap:8px;align-items:start;border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:10px;text-align:left;color:#eee7db;background:#ffffff0a;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease}.project-nav-card:hover{transform:translateY(-1px)}.project-nav-card.active{color:#10100f;border-color:#48d0d7e6;background:#48d0d7}.project-open-button{min-width:0;display:grid;gap:6px;border:0;padding:0;text-align:left;color:inherit;background:transparent;cursor:pointer}.project-nav-main{min-width:0;display:grid;gap:4px}.project-nav-card strong{overflow:hidden;color:inherit;text-overflow:ellipsis;white-space:nowrap}.project-nav-card span,.project-nav-card em{color:inherit;opacity:.82;font-size:.84rem;font-style:normal}.project-rename-button,.project-delete-button{width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:6px;color:inherit;background:transparent;opacity:.62;transition:background .18s ease,opacity .18s ease,transform .18s ease}.project-rename-button:hover,.project-delete-button:hover{opacity:1;background:#ffffff14;transform:translateY(-1px)}.project-nav-empty,.project-empty-panel{display:grid;place-items:center;text-align:center;color:#aeb5b1}.project-nav-empty{min-height:110px;padding:14px;border:1px dashed rgba(255,255,255,.12);border-radius:8px}.project-empty-panel{min-height:420px;align-content:center;gap:10px;padding:22px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#0d0e10d6}.project-empty-panel h2,.project-empty-panel p{margin:0}.project-empty-panel h2{color:#fff1d8;font-size:1.35rem}.project-empty-panel p{max-width:520px;line-height:1.6}.admin-panel{display:grid;gap:14px}.admin-head{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:14px}.admin-head h2{margin:0;font-size:1.45rem}.admin-head .secondary-action{width:auto;min-width:132px;margin-bottom:0;padding:0 14px}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.metric-card{min-height:92px;display:grid;align-content:center;gap:8px;padding:16px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#0d0e10d6}.metric-card span{color:#aeb5b1}.metric-card strong{color:#a7efe2;font-size:1.7rem}.system-panel{min-height:48px;display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;padding:12px 14px;border:1px solid rgba(172,231,221,.24);border-radius:8px;background:#0d1f1d8f;color:#dcebe8}.system-panel div{display:inline-flex;align-items:center;gap:8px;color:#a7efe2}.system-panel span{color:#d8d2c8;font-size:.9rem}.admin-table-wrap{overflow:auto;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#0d0e10d6}.admin-table{width:100%;min-width:1120px;border-collapse:collapse}.admin-table th,.admin-table td{min-height:46px;padding:12px;border-bottom:1px solid rgba(255,255,255,.08);text-align:left;white-space:nowrap}.admin-table th{color:#f7d7a8;background:#ffffff0a}.admin-table td{color:#eee7db}.admin-table strong{color:#a7efe2}.status-badge{display:inline-flex;align-items:center;justify-content:center;min-height:24px;min-width:62px;border-radius:999px;padding:0 9px;color:#10100f;font-size:.82rem;font-weight:900}.status-badge.pending{background:#f0a247}.status-badge.approved{background:#a7efe2}.status-badge.rejected{color:#fff1f1;background:#c13a3a}.permission-toggle{display:inline-flex;align-items:center;gap:7px;min-width:70px;color:#eee7db;font-size:.82rem;font-weight:800;white-space:nowrap}.permission-toggle input{width:16px;height:16px;accent-color:#a7efe2}.audit-actions{display:flex;align-items:center;gap:6px}.audit-actions button{min-height:30px;display:inline-flex;align-items:center;gap:5px;border:0;border-radius:6px;padding:0 8px;color:#10100f;background:#d7e1b0;font-weight:800}.audit-actions button:last-child{color:#fff1f1;background:#c13a3a}.muted{color:#aeb5b1}.project-panel{display:grid;gap:14px}.project-create{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,420px);gap:18px;align-items:end;padding:18px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#0d0e10d6}.project-create h2,.project-list-head h3{margin:0}.project-create p:last-child{margin:8px 0 0;color:#aeb5b1;line-height:1.6}.project-create-form{display:grid;gap:10px}.project-create-form input{min-height:42px;padding:0 12px}.project-list-head{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px}.project-list-head .secondary-action{width:auto;min-width:112px;margin-bottom:0;padding:0 12px}.project-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}.project-card{min-height:116px;display:grid;align-content:start;gap:10px;border:1px solid rgba(255,255,255,.11);border-radius:8px;padding:14px;text-align:left;color:#eee7db;background:#0d0e10d6}.project-card strong{color:#fff1d8;font-size:1.05rem}.project-card span{color:#a7efe2}.project-card em{color:#aeb5b1;font-style:normal}.panel,.output-block{border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#0d0e10d6;box-shadow:0 22px 72px #00000052}.control-panel{padding:16px;position:sticky;top:18px}.results{display:grid;gap:12px}label{display:grid;gap:8px;margin-bottom:14px;color:#d9d3c8;font-size:.9rem}textarea,input,select{width:100%;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#050708db;color:#fffaf0;outline:none}textarea:focus,input:focus,select:focus{border-color:#3cc1cfc7;box-shadow:0 0 0 3px #3cc1cf1f}textarea{resize:vertical;line-height:1.55;padding:12px}.material{min-height:300px}.image-notes{min-height:92px}.chat-stream{min-height:320px;max-height:520px;overflow:auto;display:grid;gap:10px;margin-bottom:12px;padding-right:4px}.bubble{width:fit-content;max-width:94%;padding:10px 12px;border-radius:8px;line-height:1.55;color:#efe8dc}.bubble.assistant{background:#ffffff12;border:1px solid rgba(255,255,255,.08)}.bubble.user{margin-left:auto;color:#10100f;background:#48d0d7}.dropzone{position:relative;min-height:116px;display:grid;place-items:center;gap:6px;margin-bottom:14px;padding:14px;border:1px dashed rgba(72,208,215,.55);border-radius:8px;color:#dcebe8;background:#48d0d712;text-align:center;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease}.dropzone>:not(.dropzone-file-input){pointer-events:none}.dropzone-file-input{position:relative;z-index:2;width:min(420px,100%);min-height:38px;padding:7px;border:1px solid rgba(167,239,226,.36);border-radius:8px;color:#dcebe8;background:#050708b8;opacity:1;cursor:pointer}.dropzone-file-input:disabled{cursor:not-allowed}.dropzone-file-input::file-selector-button{min-height:30px;margin-right:10px;border:0;border-radius:6px;padding:0 12px;color:#071011;background:#a7efe2;font-weight:900;cursor:pointer}.dropzone-file-input:disabled::file-selector-button{cursor:not-allowed}.dropzone.disabled{opacity:.62}.dropzone.drag-active{border-color:#a7efe2;background:#a7efe22b;box-shadow:0 0 0 3px #a7efe224,0 18px 36px #48d0d724;transform:translateY(-1px)}.dropzone.drag-active svg,.dropzone.drag-active span{color:#a7efe2}.dropzone.compact{min-height:96px}.dropzone small{color:#9ea9a8}.upload-pick-button{min-height:34px;display:inline-flex;align-items:center;gap:6px;border:0;border-radius:8px;padding:0 12px;color:#071011;background:#a7efe2;font-weight:900}.thumbs{width:100%;display:grid;grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:8px;margin-top:8px}.image-table-empty{min-height:54px;display:grid;place-items:center;margin-top:10px;border:1px dashed rgba(255,255,255,.12);border-radius:8px;color:#aeb5b1;background:#ffffff09}.image-reference-table{display:grid;gap:8px;margin-top:10px}.image-reference-row{display:grid;grid-template-columns:48px 58px minmax(180px,1fr) minmax(120px,.8fr) 34px;gap:10px;align-items:center;min-height:74px;padding:8px;border:1px solid rgba(255,255,255,.09);border-radius:8px;background:#ffffff0b}.image-reference-row img{width:58px;height:58px;border-radius:6px;object-fit:cover;border:1px solid rgba(255,255,255,.14)}.image-index{color:#a7efe2;font-weight:900}.image-reference-row label{margin-bottom:0}.image-reference-row input{min-height:36px;padding:0 10px}.image-reference-row code{font-size:.78rem;opacity:.82}.image-remove-button{width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:6px;color:#fff1f1;background:#c13a3adb}.thumbs img{width:100%;aspect-ratio:1 / 1;object-fit:cover;border-radius:6px;border:1px solid rgba(255,255,255,.12)}.image-archive-panel{margin-bottom:14px;padding:12px;border:1px solid rgba(240,162,71,.42);border-radius:8px;background:#f0a24714}.mini-head{display:flex;align-items:center;gap:8px;margin-bottom:8px;color:#f7d7a8;font-weight:800}.image-archive-panel .secondary-action{margin-bottom:0}.source-warning{margin-bottom:12px;padding:10px 12px;border:1px solid rgba(240,162,71,.48);border-radius:8px;color:#fff1d8;background:#f0a24724;line-height:1.5;font-weight:800}.stage-notice{padding:10px 12px;border:1px solid rgba(167,239,226,.36);border-radius:8px;color:#dff9f5;background:#a7efe21a;line-height:1.5;font-weight:800;animation:softAppear .22s ease both}.stage-live-status{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;border:1px solid rgba(255,255,255,.12);border-radius:8px;color:#d7d1c4;background:#ffffff0d}.stage-live-status.active{border-color:#a7efe252;background:#a7efe214}.stage-live-status div{min-width:0;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.stage-live-status strong{color:#f4efe4;font-size:.9rem}.stage-live-status span{color:#bfb6a5;font-size:.86rem;line-height:1.4}.stage-live-status .text-button{min-height:32px;white-space:nowrap}.stage2-trash-summary{display:grid;gap:8px;padding:10px 12px;border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#d7d1c4;background:#ffffff0b}.stage2-trash-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.stage2-trash-head strong{color:#f4efe4;font-size:.9rem}.stage2-trash-head span{color:#bfb6a5;font-size:.86rem}.stage2-trash-summary ul{display:grid;gap:6px;margin:0;padding:0;list-style:none}.stage2-trash-summary li{display:grid;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:28px;padding:5px 8px;border-radius:8px;background:#ffffff0e;font-size:.86rem}.stage2-trash-summary li span{color:#bfb6a5}.stage2-trash-summary li em{min-width:0;overflow:hidden;color:#fff1d8;font-style:normal;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.stage2-trash-summary li strong{color:#a7efe2;font-size:.84rem}.image-name-list{display:grid;gap:8px;margin-bottom:12px}.image-name-list label{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:8px;margin:0;color:#f7d7a8}.image-name-list input{min-height:38px}.step-head{display:flex;align-items:center;gap:10px;min-height:38px;margin:10px 0 8px;color:#f7d7a8}.step-head:first-child{margin-top:0}.step-head span{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;color:#12110e;background:#f0a247;font-weight:800}.step-head span.done{background:#48d0d7}.primary-action,.secondary-action,.text-button{min-height:42px;display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:8px;font-weight:800;transition:background .18s ease,box-shadow .18s ease,transform .18s ease,opacity .18s ease}.primary-action:not(:disabled):hover,.secondary-action:not(:disabled):hover,.text-button:not(:disabled):hover{transform:translateY(-1px)}.primary-action{width:100%;color:#10100f;background:#48d0d7}.secondary-action{width:100%;margin-bottom:10px;color:#10100f;background:#f0a247}.two-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.two-actions .secondary-action{margin-bottom:0}.error{margin-bottom:12px;padding:10px 12px;border-radius:8px;background:#c13a3a29;border:1px solid rgba(255,115,115,.38);color:#ffd0d0}.notice{margin-top:12px;padding:10px 12px;border-radius:8px;color:#10100f;background:#a7efe2;font-weight:800}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;padding:18px;background:#0000009e}.rename-dialog{width:min(440px,100%);display:grid;gap:14px;padding:16px;border:1px solid rgba(255,255,255,.13);border-radius:8px;background:#0d0e10;box-shadow:0 24px 80px #0000007a}.rename-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.rename-dialog-head h2{margin:0;color:#fff1d8;font-size:1.1rem}.rename-dialog label{margin-bottom:0}.rename-dialog input{min-height:42px;padding:0 12px}.rename-dialog .error{margin-bottom:0}.rename-dialog-actions{display:grid;grid-template-columns:1fr 1.4fr;gap:10px}.rename-dialog-actions .primary-action,.rename-dialog-actions .text-button{width:100%;margin-bottom:0}.status-strip{margin-top:14px}.output-block{overflow:hidden;box-shadow:none}.block-head{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 12px;border-bottom:1px solid rgba(255,255,255,.1);color:#f7d7a8;font-weight:700}.block-head>div,.head-actions{display:flex;align-items:center;gap:8px}.icon-button,.file-item button{width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#ffffff0f;color:#f7f1e5}.text-button{min-height:34px;padding:0 10px;color:#10100f;background:#d7e1b0}.stage-confirm{background:#48d0d7}.save-button{background:#f0a247;box-shadow:0 0 0 1px #f0a24759,0 0 22px #f0a2472e}.revise-button{background:#ff6f61;box-shadow:0 0 0 1px #ff6f6161,0 0 24px #ff6f6133}.version-badge,.version-chip,.drawer-head span{display:inline-flex;align-items:center;justify-content:center;min-height:24px;border-radius:999px;padding:0 9px;color:#10100f;background:#a7efe2;font-size:.82rem;font-weight:900;box-shadow:0 0 0 1px #a7efe273,0 0 18px #a7efe22e}.stage1-toolbar{display:grid;grid-template-columns:minmax(180px,260px) 1fr;gap:12px;align-items:end;padding:12px;border-bottom:1px solid rgba(255,255,255,.08)}.stage1-toolbar label{margin-bottom:0}.stage1-toolbar select{min-height:38px;padding:0 10px}.version-list{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:38px}.version-chip{border:0;color:#e8f6f2;background:#ffffff1a;box-shadow:none}.version-chip.active{color:#10100f;background:#a7efe2;box-shadow:0 0 0 1px #a7efe273,0 0 18px #a7efe233}.stage1-feedback{padding:12px;border-top:1px solid rgba(255,255,255,.08);background:#ffffff09}.stage1-feedback label{margin-bottom:0}.stage1-feedback textarea{min-height:116px}.stage2-word-control{display:grid;grid-template-columns:minmax(180px,260px) 1fr;gap:12px;align-items:center;margin-bottom:12px;padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#ffffff09}.stage2-word-control strong,.stage2-word-control span{display:block}.stage2-word-control span{margin-top:4px;color:var(--muted);font-size:.86rem}.segmented-control{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.segmented-control button{min-height:38px;border:1px solid rgba(255,255,255,.1);border-radius:8px;color:var(--text);background:#ffffff0e;font-weight:800;cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}.segmented-control button:hover:not(:disabled){transform:none}.segmented-control button.active{color:#10100f;border-color:#a7efe2bf;background:#a7efe2;box-shadow:0 0 0 1px #a7efe24d,0 0 22px #a7efe229}.segmented-control button.active:hover:not(:disabled){color:#10100f;border-color:#a7efe2bf;background:#a7efe2;box-shadow:0 0 0 1px #a7efe24d,0 0 22px #a7efe229;transform:none}.segmented-control button:disabled{cursor:not-allowed;opacity:.65}.stage1-feedback-actions{display:flex;justify-content:flex-end;margin-top:10px}.stage1-feedback-actions .stage-confirm{min-width:172px;min-height:38px}.style-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:12px}.confirm-strip{padding:0 12px 12px}.style-card{min-height:152px;display:grid;grid-template-rows:auto auto 1fr auto;gap:8px;text-align:left;border:1px solid rgba(255,255,255,.12);border-radius:8px;padding:10px;color:#eee6d8;background:#ffffff0d}.style-card.selected{color:#11100e;background:#48d0d7}.style-card strong{color:inherit}.style-card span{overflow:hidden;line-height:1.35;font-size:.88rem}.style-card small{color:inherit;opacity:.76;line-height:1.45}.style-card em{font-style:normal;font-size:.82rem;font-weight:800;color:inherit}.style-full-text{min-height:120px;max-height:320px;border-top:1px solid rgba(255,255,255,.08)}pre{margin:0;min-height:204px;max-height:460px;overflow:auto;white-space:pre-wrap;word-break:break-word;padding:14px;color:#eee7db;line-height:1.6;font-size:.92rem}.empty-state{min-height:132px;display:grid;place-items:center;padding:18px;color:#aeb5b1;text-align:center}.file-list,.stage2-drawers{display:grid;gap:10px;padding:12px}.stage2-drawer{border:1px solid rgba(255,255,255,.11);border-radius:8px;overflow:hidden;background:#ffffff0a}.drawer-head{width:100%;min-height:48px;display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:8px;align-items:center;border:0;padding:0 12px;text-align:left;color:#fff1d8;background:#ffffff0d}.drawer-head strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.drawer-body{display:grid;gap:12px;padding:12px}.stage2-version-row{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:center;padding:8px 10px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#ffffff09}.stage2-version-row>span{color:#f7d7a8;font-size:.86rem;font-weight:900}.stage2-editor{min-height:430px;font-family:Microsoft YaHei,PingFang SC,Arial,sans-serif;font-size:.92rem}.revision-input{min-height:108px}.drawer-actions{display:flex;justify-content:flex-end}.drawer-actions .secondary-action{width:auto;min-width:132px;margin-bottom:0;padding:0 12px}.stage2-bottom-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:4px}.stage2-bottom-actions .text-button{min-width:132px;min-height:40px}.file-item{display:grid;grid-template-columns:150px minmax(0,1fr) 38px;gap:10px;align-items:center;min-height:48px;padding:8px;border-radius:8px;background:#ffffff0d}.file-item span{color:#fff1d8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}code{color:#a7efe2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.manifest{margin:2px 0 0;color:#aeb5b1;font-size:.86rem;word-break:break-all}body[data-theme=day]{background:linear-gradient(135deg,#f1f3fff5,#ebeefffa 46%,#f4ecfcfa),radial-gradient(circle at 76% 0%,rgba(132,91,255,.2),transparent 34rem),radial-gradient(circle at 16% 16%,rgba(80,102,226,.13),transparent 30rem);color:#111827}body[data-theme=day] .brand-mark{border-color:#6b55ff47;background:linear-gradient(135deg,#665bff33,#b06fff1f),#ffffffb8;box-shadow:0 18px 48px #745cff2e,inset 0 0 18px #ffffff9e}body[data-theme=day] .brand-mark:before{border-color:#5e4effb8}body[data-theme=day] .brand-mark:after{border-color:#af56ffa3}body[data-theme=day] .brand-mark-core{background:#6a50ff;box-shadow:0 0 0 6px #6a50ff1f,0 0 24px #af56ff7a}body[data-theme=day] .brand-creator{color:#4b3fd3}body[data-theme=day] h1,body[data-theme=day] h2,body[data-theme=day] h3,body[data-theme=day] .pipeline-stage-head strong,body[data-theme=day] .block-head,body[data-theme=day] .project-card strong,body[data-theme=day] .rename-dialog-head h2{color:#0f172a}body[data-theme=day] .eyebrow,body[data-theme=day] .project-title,body[data-theme=day] .pipeline-stage-head em,body[data-theme=day] .style-help,body[data-theme=day] .mini-head,body[data-theme=day] .block-head svg,body[data-theme=day] code,body[data-theme=day] .image-index,body[data-theme=day] .step-head,body[data-theme=day] .stage-collapse-button,body[data-theme=day] .ghost-icon-button,body[data-theme=day] .dropzone.drag-active svg,body[data-theme=day] .dropzone.drag-active span,body[data-theme=day] .account-chip em,body[data-theme=day] .project-card span,body[data-theme=day] .style-current strong,body[data-theme=day] .file-item span,body[data-theme=day] .version-pill,body[data-theme=day] .manifest{color:#4d43d8}body[data-theme=day] .auth-card,body[data-theme=day] .workspace,body[data-theme=day] .panel,body[data-theme=day] .output-block,body[data-theme=day] .pipeline-stage,body[data-theme=day] .project-sidebar,body[data-theme=day] .project-card,body[data-theme=day] .prep-column-block,body[data-theme=day] .style-prep,body[data-theme=day] .bubble.assistant,body[data-theme=day] .project-nav-card,body[data-theme=day] .dropzone,body[data-theme=day] .image-reference-item,body[data-theme=day] .image-name-list label,body[data-theme=day] .style-option,body[data-theme=day] .compact-style-options button,body[data-theme=day] .style-library-card,body[data-theme=day] .file-item,body[data-theme=day] .stage2-card,body[data-theme=day] .admin-card,body[data-theme=day] .rename-dialog{border-color:#584ec42e;background:#fafaffb3;color:#111827;box-shadow:0 20px 72px #4543851f;-webkit-backdrop-filter:blur(18px) saturate(1.12);backdrop-filter:blur(18px) saturate(1.12)}body[data-theme=day] .pipeline-stage-head,body[data-theme=day] .mode-tabs,body[data-theme=day] .theme-switcher,body[data-theme=day] .status-strip,body[data-theme=day] .privacy,body[data-theme=day] .account-chip,body[data-theme=day] .block-head,body[data-theme=day] .stage2-bottom-actions,body[data-theme=day] .stage2-card-head,body[data-theme=day] .drawer-head{border-color:#584ec429;background:#fafaff8f;color:#111827;-webkit-backdrop-filter:blur(14px) saturate(1.08);backdrop-filter:blur(14px) saturate(1.08)}body[data-theme=day] textarea,body[data-theme=day] input,body[data-theme=day] select,body[data-theme=day] .dropzone-file-input{border-color:#5c50da2e;background:#ffffffdb;color:#111827}body[data-theme=day] textarea:focus,body[data-theme=day] input:focus,body[data-theme=day] select:focus{border-color:#6153ffb8;box-shadow:0 0 0 3px #6153ff24}body[data-theme=day] label,body[data-theme=day] .bubble,body[data-theme=day] .style-help,body[data-theme=day] .project-nav-card span,body[data-theme=day] .project-nav-card em,body[data-theme=day] .project-card em,body[data-theme=day] .dropzone small,body[data-theme=day] .project-nav-empty,body[data-theme=day] .project-empty-panel{color:#263047}body[data-theme=day] p,body[data-theme=day] li,body[data-theme=day] pre,body[data-theme=day] .stage1-content,body[data-theme=day] .stage2-content,body[data-theme=day] .style-preview,body[data-theme=day] .archive-text,body[data-theme=day] .output-content{color:#111827}body[data-theme=day] .primary-action,body[data-theme=day] .stage-confirm,body[data-theme=day] .project-nav-card.active,body[data-theme=day] .bubble.user,body[data-theme=day] .mode-tabs button.active,body[data-theme=day] .theme-switcher button.active,body[data-theme=day] .dropzone-file-input::file-selector-button,body[data-theme=day] .upload-pick-button,body[data-theme=day] .inline-icon-button,body[data-theme=day] .dev-code{color:#fff;border-color:transparent;background:linear-gradient(135deg,#4e63ff,#8f4dff);box-shadow:0 14px 30px #5c50da38}body[data-theme=day] .secondary-action,body[data-theme=day] .account-chip button,body[data-theme=day] .stage-number,body[data-theme=day] .step-head span.done,body[data-theme=day] .text-button{color:#fff;background:linear-gradient(135deg,#8b66ff,#b74dff)}body[data-theme=day] .step-head span{color:#fff;background:linear-gradient(135deg,#5b6dff,#8f4dff)}body[data-theme=day] .style-option.selected,body[data-theme=day] .compact-style-options button.active{border-color:#5b4dff7a;background:#5b4dff1f;box-shadow:0 14px 32px #5b4dff24}body[data-theme=day] .save-pill,body[data-theme=day] .pipeline-stage.locked,body[data-theme=day] .pipeline-stage-head em{border-color:#5b4dff38;background:#5b4dff1a}body[data-theme=day] .dropzone.drag-active{border-color:#5b4dff;background:#5b4dff1a;box-shadow:0 0 0 3px #5b4dff1f,0 18px 38px #5b4dff1f}body[data-theme=day] .image-archive-panel,body[data-theme=day] .source-warning,body[data-theme=day] .stage-notice,body[data-theme=day] .stage-live-status,body[data-theme=day] .stage2-trash-summary,body[data-theme=day] .stage2-word-control{border-color:#5b4dff38;background:#5b4dff17;color:#21175f}body[data-theme=day] .stage-live-status strong,body[data-theme=day] .stage2-trash-head strong{color:#21175f}body[data-theme=day] .stage-live-status span,body[data-theme=day] .stage2-trash-head span,body[data-theme=day] .stage2-trash-summary li span{color:#4338ca}body[data-theme=day] .stage2-trash-summary li{background:#ffffff85}body[data-theme=day] .stage2-trash-summary li em{color:#21175f}body[data-theme=day] .stage2-word-control span{color:#4338ca}body[data-theme=day] .segmented-control button{color:#2c2b44;border-color:#5c50da2e;background:#ffffffb8}body[data-theme=day] .segmented-control button:hover:not(:disabled){border-color:#5c50da2e;background:#ffffffb8}body[data-theme=day] .segmented-control button.active{color:#fff;border-color:transparent;background:linear-gradient(135deg,#4e63ff,#8f4dff);box-shadow:0 14px 30px #5c50da38}body[data-theme=day] .segmented-control button.active:hover:not(:disabled){color:#fff;border-color:transparent;background:linear-gradient(135deg,#4e63ff,#8f4dff);box-shadow:0 14px 30px #5c50da38;transform:none}body[data-theme=day] .dropzone{border-color:#5b4dff47;background:#5b4dff0f;color:#1f2937}body[data-theme=day] .image-table-empty{border-color:#5b4dff29;background:#ffffff73;color:#263047}body[data-theme=day] .image-remove-button{color:#fff;background:#c43b6a}body[data-theme=day] .error{border-color:#dc40783d;background:#ffe8f1d9;color:#9f2349}body[data-theme=day] .notice{color:#fff;background:linear-gradient(135deg,#4e63ff,#8f4dff)}body[data-theme=day] .modal-backdrop{background:#1f1f3d5c}body[data-theme=night]{background:linear-gradient(135deg,#07111f,#111c31 46%,#07101d),radial-gradient(circle at 76% 0%,rgba(89,146,255,.22),transparent 36rem),radial-gradient(circle at 18% 18%,rgba(230,184,106,.1),transparent 30rem);color:#eaf2ff}body[data-theme=night] .brand-mark{border-color:#f0ce8657;background:linear-gradient(135deg,#66adff33,#f0ce861f),#080e1ad1;box-shadow:0 18px 48px #5291ff2e,inset 0 0 22px #f0ce861a}body[data-theme=night] .brand-mark:before{border-color:#76b3ffcc}body[data-theme=night] .brand-mark:after{border-color:#f0ce86c7}body[data-theme=night] .brand-mark-core{background:#f0ce86;box-shadow:0 0 0 6px #f0ce861f,0 0 24px #76b3ffa3}body[data-theme=night] .brand-creator{color:#f0ce86}body[data-theme=night] h1,body[data-theme=night] h2,body[data-theme=night] h3,body[data-theme=night] .pipeline-stage-head strong,body[data-theme=night] .project-card strong,body[data-theme=night] .rename-dialog-head h2{color:#f2f6ff}body[data-theme=night] .eyebrow,body[data-theme=night] .block-head,body[data-theme=night] .stage-collapse-button,body[data-theme=night] .mini-head,body[data-theme=night] .stage2-card-head strong{color:#e8bd72}body[data-theme=night] .project-title,body[data-theme=night] .pipeline-stage-head em,body[data-theme=night] .ghost-icon-button,body[data-theme=night] .account-chip em,body[data-theme=night] .project-card span,body[data-theme=night] .style-current strong,body[data-theme=night] .version-pill,body[data-theme=night] .manifest{color:#79b3ff}body[data-theme=night] .auth-card,body[data-theme=night] .panel,body[data-theme=night] .output-block,body[data-theme=night] .pipeline-stage,body[data-theme=night] .project-sidebar,body[data-theme=night] .project-card,body[data-theme=night] .prep-column-block,body[data-theme=night] .style-prep,body[data-theme=night] .bubble.assistant,body[data-theme=night] .project-nav-card,body[data-theme=night] .dropzone,body[data-theme=night] .image-reference-item,body[data-theme=night] .image-name-list label,body[data-theme=night] .style-option,body[data-theme=night] .compact-style-options button,body[data-theme=night] .style-library-card,body[data-theme=night] .file-item,body[data-theme=night] .stage2-card,body[data-theme=night] .admin-card,body[data-theme=night] .rename-dialog{border-color:#689fff2e;background:#0d182ad1;color:#eaf2ff;box-shadow:0 22px 78px #00000057}body[data-theme=night] .pipeline-stage-head,body[data-theme=night] .mode-tabs,body[data-theme=night] .theme-switcher,body[data-theme=night] .status-strip,body[data-theme=night] .privacy,body[data-theme=night] .account-chip,body[data-theme=night] .block-head,body[data-theme=night] .stage2-bottom-actions,body[data-theme=night] .stage2-card-head,body[data-theme=night] .drawer-head{border-color:#689fff29;background:#121f34b3;color:#eaf2ff}body[data-theme=night] textarea,body[data-theme=night] input,body[data-theme=night] select,body[data-theme=night] .dropzone-file-input{border-color:#689fff38;background:#060c16c7;color:#f2f6ff}body[data-theme=night] textarea:focus,body[data-theme=night] input:focus,body[data-theme=night] select:focus{border-color:#6ea9ffd1;box-shadow:0 0 0 3px #6ea9ff24}body[data-theme=night] label,body[data-theme=night] .bubble,body[data-theme=night] .style-help,body[data-theme=night] .project-nav-card span,body[data-theme=night] .project-nav-card em,body[data-theme=night] .project-card em,body[data-theme=night] .dropzone small,body[data-theme=night] .project-nav-empty,body[data-theme=night] .project-empty-panel{color:#b8c5d9}body[data-theme=night] .project-nav-card strong{color:#f6f9ff}body[data-theme=night] .project-nav-card span,body[data-theme=night] .project-nav-card em{color:#d9e6fb;opacity:.94}body[data-theme=night] .project-nav-card.active strong,body[data-theme=night] .project-nav-card.active span,body[data-theme=night] .project-nav-card.active em{color:#fff;opacity:1}body[data-theme=night] .primary-action,body[data-theme=night] .stage-confirm,body[data-theme=night] .project-nav-card.active,body[data-theme=night] .bubble.user,body[data-theme=night] .mode-tabs button.active,body[data-theme=night] .theme-switcher button.active,body[data-theme=night] .dropzone-file-input::file-selector-button,body[data-theme=night] .upload-pick-button,body[data-theme=night] .inline-icon-button,body[data-theme=night] .dev-code{color:#fff;border-color:#75b4ff5c;background:linear-gradient(135deg,#66adff,#1e4eaf);box-shadow:0 14px 34px #4989ff38}body[data-theme=night] .secondary-action,body[data-theme=night] .account-chip button,body[data-theme=night] .stage-number,body[data-theme=night] .text-button{color:#10131b;background:linear-gradient(135deg,#f0ce86,#c9903d)}body[data-theme=night] .pipeline-stage.locked,body[data-theme=night] .pipeline-stage-head em{border-color:#71b0ff47;background:#5291ff1f}body[data-theme=night] .stage2-trash-summary,body[data-theme=night] .stage2-word-control{border-color:#689fff2e;background:#121f34b3;color:#eaf2ff}body[data-theme=night] .stage2-trash-head span,body[data-theme=night] .stage2-trash-summary li span,body[data-theme=night] .stage2-word-control span{color:#b8c5d9}body[data-theme=night] .segmented-control button{color:#eaf2ff;border-color:#689fff38;background:#060c169e}body[data-theme=night] .segmented-control button:hover:not(:disabled){border-color:#689fff38;background:#060c169e}body[data-theme=night] .segmented-control button.active{color:#fff;border-color:#75b4ff5c;background:linear-gradient(135deg,#66adff,#1e4eaf);box-shadow:0 14px 34px #4989ff38}body[data-theme=night] .segmented-control button.active:hover:not(:disabled){color:#fff;border-color:#75b4ff5c;background:linear-gradient(135deg,#66adff,#1e4eaf);box-shadow:0 14px 34px #4989ff38;transform:none}body[data-theme=night] .save-pill{color:#07111f;border:1px solid rgba(141,190,255,.52);background:linear-gradient(135deg,#7fc2ff,#f0ce86);box-shadow:0 10px 28px #5291ff2e}body[data-theme=night] .save-pill.saving{color:#16100a;border-color:#f0ce86ad;background:linear-gradient(135deg,#ffd98a,#d49335)}body[data-theme=night] .save-pill.failed{color:#fff6f8;border-color:#ff82968c;background:linear-gradient(135deg,#d84f6a,#8e2538)}body[data-theme=night] .dropzone.drag-active{border-color:#76b3ff;background:#5291ff24;box-shadow:0 0 0 3px #5291ff1f,0 18px 38px #5291ff24}body[data-theme=night] .error{border-color:#ff737357;background:#66202e73;color:#ffd4dc}body[data-theme=night] .notice{color:#10131b;background:linear-gradient(135deg,#f0ce86,#c9903d)}body[data-theme=night] .modal-backdrop{background:#00050cb3}.spin{animation:spin 1s linear infinite}@keyframes softAppear{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}@media (max-width: 1120px){.app-layout{grid-template-columns:1fr}.project-sidebar{position:static}.project-nav-list{max-height:none;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.grid{grid-template-columns:1fr}.pipeline{max-width:none}.style-extra-grid,.compact-style-options{grid-template-columns:1fr}.control-panel{position:static}.stage2-word-control{grid-template-columns:1fr}}@media (max-width: 760px){.shell{padding:16px}.topbar{align-items:flex-start;flex-direction:column}h1{font-size:1.55rem}.brand-lockup{align-items:flex-start;gap:10px}.brand-mark{width:44px;height:44px}.brand-mark:before{top:9px;right:9px;bottom:9px;left:9px}.brand-mark:after{top:14px;right:14px;bottom:14px;left:14px}.mode-tabs,.two-actions,.pipeline-actions,.style-options,.image-reference-row,.stage1-toolbar,.project-create,.metric-grid,.code-row,.drawer-head,.stage2-trash-summary li,.file-item{width:100%;grid-template-columns:1fr}.mode-tabs{display:grid}.topbar-actions,.account-chip{width:100%}.topbar-actions{justify-content:stretch}.theme-switcher,.theme-switcher button{flex:1}.account-chip{justify-content:space-between}}
