: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{position:relative;isolation:isolate;min-height:86px;display:grid;grid-template-columns:minmax(320px,1fr) minmax(280px,auto) minmax(320px,1fr);align-items:center;justify-content:space-between;gap:18px;padding-bottom:14px}.topbar-main{grid-column:1;min-width:0;position:relative;z-index:1}.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-slogan{--slogan-stop-a: rgba(112, 255, 197, .94);--slogan-stop-b: rgba(39, 211, 128, 1);--slogan-stop-c: rgba(197, 255, 154, .9);--slogan-small: rgba(167, 239, 226, .28);position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none;display:flex;align-items:center;justify-content:center;max-width:100%;min-width:0;padding:0 22px;text-align:center;opacity:1}.brand-slogan-watermark{width:min(60vw,860px);height:118px;display:block;overflow:visible;transform:skew(-10deg);transform-origin:center}.brand-slogan-speed-lines line{stroke:url(#brand-slogan-gradient);stroke-width:.75;stroke-linecap:round;vector-effect:non-scaling-stroke;opacity:.46}.brand-slogan-text{font-family:STXingkai,华文行楷,FZYaoti,YouYuan,KaiTi,楷体,cursive;font-size:86px;font-weight:900;letter-spacing:0;fill:none;stroke:url(#brand-slogan-gradient);stroke-width:.005;stroke-opacity:1;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;shape-rendering:geometricPrecision;paint-order:stroke fill;opacity:.7}.brand-slogan-subtext{fill:var(--slogan-small);font-family:Microsoft YaHei,PingFang SC,sans-serif;font-size:12px;font-weight:700;letter-spacing:0;opacity:.48}.brand-slogan-stop-a{stop-color:var(--slogan-stop-a)}.brand-slogan-stop-b{stop-color:var(--slogan-stop-b)}.brand-slogan-stop-c{stop-color:var(--slogan-stop-c)}.brand-creator{margin:6px 0 0;color:#a7efe2;font-size:.9rem;font-weight:800}.brand-mark{width:54px;height:54px;flex:0 0 auto;display:block;border:1px solid rgba(255,255,255,.18);border-radius:8px;background:#ffffffe6;box-shadow:0 18px 42px #f0a2472e;object-fit:cover;overflow:hidden}.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{grid-column:3;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;gap:10px;flex-wrap:wrap;min-width:0;position:relative;z-index:1}.account-chip-main{display:flex;align-items:center;justify-content:flex-end;gap:8px;width:100%}.theme-row{display:flex;align-items:center;justify-content:flex-end;gap:6px;width:fit-content;min-height:34px;padding:4px 8px;border:1px solid rgba(172,231,221,.22);border-radius:8px;background:#0d1f1d80;color:#b9cfc9;font-size:.78rem;font-weight:900}.theme-switcher{min-height:28px;display:inline-flex;align-items:center;gap:4px;padding:3px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#ffffff0f}.theme-switcher button{width:28px;height:24px;display:grid;place-items:center;border:0;border-radius:6px;padding:0;color:#d8d2c8;background:transparent;font-weight:800}.theme-switcher button.active{color:#10100f;background:linear-gradient(135deg,#a7efe2,#2bd384 52%,#cbff9a)}.account-chip{min-width:226px;flex-direction:row;align-items:flex-end;justify-content:center;gap:8px;padding:8px 10px;color:#fff1d8;border-color:#f0a24747;background:#311d0d9e}.account-chip em{color:#a7efe2;font-style:normal;font-weight:800}.account-chip .logout-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;overflow-anchor:none;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;will-change:grid-template-rows,opacity;transition:grid-template-rows .72s cubic-bezier(.22,1,.36,1),opacity .48s 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;transform:translateY(0);will-change:padding,gap,transform;transition:padding .72s cubic-bezier(.22,1,.36,1),gap .72s cubic-bezier(.22,1,.36,1),transform .72s cubic-bezier(.22,1,.36,1)}.pipeline-stage.collapsed .pipeline-stage-body{gap:0;padding-top:0;padding-bottom:0;transform:translateY(-8px)}.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}.prep-input-panel,.style-prep,.prep-confirm-panel{position:relative;display:grid;gap:12px;padding:12px;border:1px solid rgba(255,255,255,.09);border-radius:8px;background:#ffffff09}.style-prep{z-index:12;overflow:visible}.prep-confirm-panel{z-index:1}.prep-input-panel .mini-head,.style-prep .mini-head,.prep-confirm-panel .mini-head{justify-content:space-between;margin-bottom:0}.prep-input-panel .mini-head span,.style-prep .mini-head span,.prep-confirm-panel .mini-head span{margin-right:auto}.prep-input-grid{display:grid;gap:12px}.prep-input-field{margin-bottom:0}.requirement-preset-row{display:grid;grid-template-columns:minmax(180px,360px) auto auto;justify-content:start;gap:8px;align-items:center}.requirement-preset-row select{min-height:36px}.requirement-preset-menu{width:min(360px,100%);min-width:0}.requirement-preset-menu .style-library-trigger{min-height:36px}.requirement-preset-list-shell{width:min(360px,calc(100vw - 64px))}.requirement-preset-list{max-height:260px}.requirement-preset-item{min-height:32px;grid-template-columns:minmax(0,1fr) 24px;align-items:center;gap:6px;padding:6px 5px 6px 9px}.requirement-preset-select{min-width:0;min-height:24px;display:flex;align-items:center;padding:0;border:0;color:inherit;font:inherit;text-align:left;background:transparent;cursor:pointer}.requirement-preset-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;font-weight:800}.requirement-preset-delete{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:50%;color:#e9e2d6b8;background:transparent;cursor:pointer;transition:color .15s ease,background .15s ease}.requirement-preset-delete:not(:disabled):hover,.requirement-preset-delete:not(:disabled):focus-visible{color:#fff1d8;background:#ffffff14}.requirement-preset-menu.open .requirement-preset-item{animation:requirementPresetItemIn .24s cubic-bezier(.18,.9,.22,1) both}.requirement-preset-menu.open .requirement-preset-item:nth-child(2){animation-delay:28ms}.requirement-preset-menu.open .requirement-preset-item:nth-child(3){animation-delay:56ms}.requirement-preset-menu.open .requirement-preset-item:nth-child(n+4){animation-delay:84ms}.requirement-preset-hover-card{left:min(372px,calc(100vw - 52px));width:min(420px,calc(100vw - 96px));pointer-events:auto}.requirement-preset-hover-card p{max-height:260px;margin:0;overflow:auto;white-space:pre-wrap;color:#e9e2d6;line-height:1.62}.preset-action{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 10px;border:1px solid rgba(255,255,255,.12);border-radius:8px;color:#e8fff9;background:#ffffff0e;font-weight:800;white-space:nowrap;transition:background .16s ease,border-color .16s ease,transform .16s ease}.preset-action:not(:disabled):hover{border-color:#a7efe252;background:#a7efe21a;transform:translateY(-1px)}.preset-action:disabled{cursor:not-allowed;opacity:.45}.preset-create-anchor{position:relative;min-width:0}.preset-popover{position:absolute;z-index:42;top:calc(100% + 8px);right:0;width:min(360px,calc(100vw - 64px));display:grid;gap:10px;padding:12px;border:1px solid rgba(167,239,226,.22);border-radius:8px;background:#0c1823f5;box-shadow:0 18px 52px #00000057}.preset-popover-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.preset-popover-head strong{color:#fff1d8}.preset-popover input{min-height:38px}.preset-popover-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.preset-dialog-button{min-height:38px;border:0;border-radius:8px;font-weight:800}.preset-dialog-button.secondary{color:#e8fff9;background:#ffffff14}.preset-dialog-button.primary{color:#10100f;background:#f0a247}.preset-dialog-button:disabled{cursor:not-allowed;opacity:.45}.style-prep-actions,.subject-archive-actions{display:grid;gap:8px}.prep-confirm-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.style-run-action,.subject-archive-run,.prep-confirm-run{min-height:42px;width:100%;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;border:0;border-radius:8px;color:#10100f;background:#f0a247;font-weight:800;white-space:nowrap;transition:background .18s ease,transform .18s ease,opacity .18s ease}.style-run-action:not(:disabled):hover,.subject-archive-run:not(:disabled):hover,.prep-confirm-run:not(:disabled):hover{transform:translateY(-1px)}.style-run-action:disabled,.subject-archive-run:disabled,.prep-confirm-run:disabled{cursor:not-allowed;opacity:.52}.prep-confirm-run.primary{background:#48d0d7}.style-help,.prep-confirm-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}.style-focus-card{min-height:152px;display:grid;align-content:center;gap:9px;padding:16px;border:1px solid rgba(167,239,226,.26);border-radius:8px;background:linear-gradient(135deg,#a7efe221,#ffffff0b);box-shadow:inset 0 1px #ffffff14}.style-focus-kicker{color:#f7d7a8;font-size:.78rem;font-weight:900}.style-focus-card strong{color:#a7efe2;font-size:1.08rem}.style-focus-card span{color:#e6ded1;line-height:1.55}.style-focus-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.style-focus-meta span,.style-library-hover-card span{display:grid;gap:2px}.style-focus-meta em,.style-library-hover-card em{color:#f7d7a8;font-size:.74rem;font-style:normal;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-library-field,.style-extra-grid .secondary-action{margin-bottom:0}.style-library-field{display:grid;gap:6px;min-width:0}.field-label{color:#b8c2bf;font-size:.86rem;font-weight:800}.style-library-menu{position:relative;min-width:0;isolation:isolate}.style-library-menu.open{z-index:120}.style-library-menu.disabled{opacity:.56;pointer-events:none}.style-library-trigger{position:relative;width:100%;min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 32px 0 10px;border:1px solid rgba(255,255,255,.12);border-radius:8px;color:#eee6d8;background:#00000038;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.style-library-trigger:after{content:"";position:absolute;top:50%;right:13px;width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;color:#a7efe2;transform-origin:50% 50%;transform:translateY(-55%) rotate(45deg);transition:transform .26s cubic-bezier(.18,.9,.22,1)}.style-library-menu.open .style-library-trigger{border-color:#a7efe257;background:#a7efe214;box-shadow:inset 0 1px #ffffff0f}.style-library-menu.open .style-library-trigger:after{transform:translateY(-55%) rotate(225deg)}.style-library-list-shell{position:absolute;z-index:130;top:calc(100% + 6px);left:0;width:min(420px,calc(100vw - 64px));display:grid;grid-template-rows:0fr;opacity:0;overflow:hidden;transform:translateY(-6px);transform-origin:top center;pointer-events:none;will-change:grid-template-rows,opacity,transform;transition:grid-template-rows .58s cubic-bezier(.22,1,.36,1),opacity .34s ease,transform .46s cubic-bezier(.22,1,.36,1)}.style-library-menu.open .style-library-list-shell{grid-template-rows:1fr;opacity:1;transform:translateY(0);pointer-events:auto}.style-library-list{min-height:0;max-height:340px;overflow-y:auto;overscroll-behavior:contain;display:grid;grid-template-columns:1fr;gap:4px;padding:6px;border:1px solid rgba(167,239,226,.22);border-radius:8px;background:#0b131efa;box-shadow:0 20px 55px #0000005c}.style-library-list::-webkit-scrollbar{width:8px}.style-library-list::-webkit-scrollbar-thumb{border-radius:999px;background:#a7efe238}.style-library-item{position:relative;min-height:32px;display:grid;gap:0;padding:7px 9px;border:1px solid rgba(255,255,255,.08);border-left-color:#a7efe23d;border-radius:6px;color:#e9e2d6;font-size:.82rem;line-height:1.35;text-align:left;background:#ffffff08;cursor:pointer;transition:border-color .15s ease,background .15s ease,color .15s ease}.style-library-item>span:first-child{font-weight:800}.style-library-item:hover,.style-library-item:focus-visible,.style-library-item.selected{color:#eafffb;border-color:#a7efe27a;background:#a7efe21c}.style-library-item.requirement-preset-item{border:0;border-left:2px solid transparent;border-radius:5px;color:#e9e2d6c7;font-size:.76rem;background:transparent}.style-library-item.requirement-preset-item:hover,.style-library-item.requirement-preset-item:focus-within,.style-library-item.requirement-preset-item.selected{color:#eafffb;border-left-color:#a7efe280;background:#a7efe20e}.style-library-hover-card{position:absolute;z-index:131;top:calc(100% + 6px);left:min(432px,calc(100vw - 52px));width:min(360px,calc(100vw - 96px));display:grid;gap:7px;padding:12px;border:1px solid rgba(167,239,226,.24);border-radius:8px;color:#e9e2d6;background:#0c1823e0;font-size:.78rem;font-weight:500;box-shadow:0 18px 52px #00000057;pointer-events:none;-webkit-backdrop-filter:blur(14px) saturate(1.12);backdrop-filter:blur(14px) saturate(1.12);transform-origin:left center;will-change:opacity,transform,filter;animation:styleFloatIn .32s cubic-bezier(.18,.9,.22,1) both}.style-library-hover-card strong{color:#a7efe2;font-size:.86rem}.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-grid.compact .metric-card{min-height:82px}.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}.registration-card{display:grid;gap:12px;padding:14px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#0d0e10d6}.registration-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px}.registration-card .field{display:grid;gap:8px;margin:0;color:#f7d7a8;font-weight:850}.registration-card textarea{min-height:96px;resize:vertical;padding:10px 12px;line-height:1.55}.registration-card .two-actions{max-width:260px}.api-settings-card{display:grid;gap:12px;padding:14px}.api-settings-row{display:grid;grid-template-columns:minmax(180px,260px) minmax(220px,1fr) minmax(180px,220px);align-items:end;gap:12px}.api-settings-card .field{display:grid;gap:8px;margin:0;color:#f7d7a8;font-weight:850}.api-settings-meta{display:grid;gap:5px;color:#b9c6c2;font-size:.88rem;line-height:1.45}.admin-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.admin-bulk-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.admin-bulk-actions button{min-height:34px;display:inline-flex;align-items:center;gap:6px;border:0;border-radius:7px;padding:0 10px;color:#10100f;background:#d7e1b0;font-weight:850}.admin-bulk-actions button:nth-child(2),.admin-bulk-actions button:nth-child(4),.admin-bulk-actions .danger-button{color:#fff1f1;background:#c13a3a}.admin-sort-control{min-height:36px;display:inline-flex;align-items:center;gap:8px;color:#d8d2c8;font-weight:850}.admin-sort-control select{min-height:36px;border:1px solid rgba(255,255,255,.16);border-radius:7px;padding:0 10px;color:#f4f0e8;background:#111719;font-weight:800}@media (max-width: 860px){.api-settings-row{grid-template-columns:1fr}}.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.compact{min-width:920px}.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}.admin-table .select-cell{width:42px;min-width:42px;text-align:center}.admin-table .select-cell input{width:16px;height:16px;accent-color:#a7efe2}.admin-table tr.selected-row td{background:#a7efe212}.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 .danger-button{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}.script-material{min-height:220px}.requirement-material{min-height:190px}.image-notes{min-height:172px}.subject-archive-panel{display:grid;gap:12px;padding:14px;border:1px solid rgba(167,239,226,.16);border-radius:8px;background:#a7efe20a}.subject-archive-title{margin-bottom:0}.subject-archive-help{margin:-4px 0 0;color:var(--muted);font-size:.9rem;line-height:1.55}.subject-card-board{display:grid;gap:12px}.subject-card-board.empty{border:1px dashed rgba(255,255,255,.14);border-radius:8px;padding:14px;background:#ffffff0a}.subject-card-empty,.subject-board-head,.subject-card-head,.subject-card-row{display:flex;align-items:center}.subject-card-empty,.subject-board-head,.subject-card-head{justify-content:space-between;gap:10px}.subject-board-actions,.subject-card-head-actions,.subject-card-title-wrap{display:flex;align-items:center;gap:8px;min-width:0}.subject-board-actions{flex-wrap:wrap;justify-content:flex-end;padding-top:2px}.subject-card-head-actions .text-button{min-height:30px;padding:0 10px;font-size:.78rem}.subject-card-head-actions .icon-button{width:30px;height:30px}.subject-board-action{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;border:1px solid rgba(167,239,226,.28);border-radius:8px;color:#eafcf9;background:#a7efe21f;font-size:.82rem;font-weight:800;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease,opacity .18s ease}.subject-board-action:not(:disabled):hover{transform:translateY(-1px);border-color:#a7efe285;background:#a7efe233}.subject-board-action:disabled{cursor:not-allowed;opacity:.48}.subject-board-action.danger{color:#fff3f3;border-color:#ff6a6a57;background:#ff6a6a2e}.subject-board-action.danger:not(:disabled):hover{border-color:#ff6a6a94;background:#ff6a6a47}.subject-card-empty span,.subject-board-head span{color:#d8d2c8;font-weight:700}.subject-card-grid{display:grid;grid-template-columns:1fr;gap:14px}.subject-card-counts{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.subject-card-counts em{padding:3px 7px;border:1px solid rgba(167,239,226,.18);border-radius:999px;color:#a7efe2;background:#a7efe20f;font-size:.74rem;font-style:normal;font-weight:800}.subject-card-section{display:grid;gap:10px}.subject-card-section-title{color:var(--muted);font-size:.82rem;font-weight:800}.subject-card-section.minor .subject-card{border-style:dashed;opacity:.9}.subject-card{display:grid;grid-template-columns:148px minmax(0,1fr);grid-template-rows:30px auto;align-items:stretch;column-gap:12px;row-gap:7px;min-width:0;padding:9px 10px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#ffffff0d}.subject-card-main{grid-column:2;grid-row:2;display:grid;gap:6px;min-width:0}.subject-card-title-wrap strong{color:#f2eadf;font-size:.94rem;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.subject-card-head{grid-column:2;grid-row:1;justify-self:end;min-height:30px;justify-content:flex-end;z-index:1}.subject-card-title-wrap{grid-column:1 / -1;grid-row:1;min-height:30px;display:flex;align-items:center;gap:6px;min-width:0;padding-right:132px}.subject-card-badge{flex:0 0 auto;padding:3px 7px;border:1px solid rgba(255,255,255,.12);border-radius:999px;color:#f0ce86;background:#f0ce861f;font-size:.72rem;font-weight:800}.subject-card-image{grid-column:1;grid-row:2;position:relative;align-self:end;aspect-ratio:1 / 1;width:148px;height:auto;display:grid;place-items:center;overflow:visible;border:1px dashed rgba(167,239,226,.22);border-radius:8px;background:#a7efe20d;color:#a7efe2;text-align:center;font-size:.82rem;font-weight:700;padding:0}.subject-card-image span{padding:8px}.subject-card-image.drag-active{border-color:#a7efe2b8;background:#a7efe221}.subject-card-image>img{width:100%;height:100%;object-fit:cover;border-radius:7px}.subject-image-remove{position:absolute;top:6px;right:6px;z-index:35;width:24px;height:24px;display:grid;place-items:center;border:0;border-radius:999px;color:#ffffffd1;background:transparent;cursor:pointer;opacity:.78;transition:opacity .16s ease,background .16s ease,color .16s ease}.subject-image-remove:not(:disabled):hover{color:#fff;background:#00000047;opacity:1}.subject-image-remove:disabled{cursor:not-allowed;opacity:.35}.subject-image-preview{position:absolute;left:calc(100% + 12px);top:0;z-index:30;width:max-content;max-width:min(420px,52vw);max-height:min(520px,72vh);padding:8px;border:1px solid rgba(167,239,226,.28);border-radius:8px;background:#080c0ef5;box-shadow:0 18px 50px #0000006b;opacity:0;pointer-events:none;transform:translate(-6px) scale(.98);transition:opacity .14s ease,transform .14s ease}.subject-card-image.has-image:hover .subject-image-preview{opacity:1;transform:translate(0) scale(1)}.subject-image-preview img{display:block;width:auto;height:auto;max-width:min(404px,calc(52vw - 16px));max-height:min(504px,calc(72vh - 16px));object-fit:contain;border-radius:6px}.subject-card>label,.subject-card-row,.subject-card-description-field{min-width:0}.subject-card-row{display:grid;grid-template-columns:1.25fr .95fr .95fr;gap:8px;align-items:end}.subject-card-row label{min-width:0;display:grid;gap:3px;margin-bottom:0;color:#d9d3c8db;font-size:.76rem;font-weight:700}.subject-card input,.subject-card select{min-height:30px;padding:0 9px;border-radius:7px}.subject-card-description{min-height:52px;max-height:96px;padding:8px 10px;resize:vertical}.subject-card-description-field{display:grid;gap:4px}.subject-card-description-head{display:flex;align-items:center;justify-content:flex-start;gap:6px;min-height:24px;color:var(--muted);font-size:.78rem;font-weight:700}.subject-description-count{margin-left:4px;color:#d8d2c8bd;font-size:.74rem;font-style:normal;font-weight:800}.subject-description-count.warn{color:#f0ce86}.subject-refresh-icon{width:24px;height:24px;margin-left:0;color:#f0ce86}.subject-type-group{display:flex;flex-wrap:wrap;gap:8px}.subject-type-button{min-width:72px;min-height:38px;padding:0 14px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#ffffff0f;color:#dcd4c8;font-weight:700;cursor:pointer;transition:border-color .16s ease,background .16s ease,color .16s ease,transform .16s ease}.subject-type-button:not(:disabled):hover{transform:translateY(-1px);border-color:#a7efe26b;background:#a7efe21a;color:#fff}.subject-type-button.active{border-color:#a7efe29e;background:linear-gradient(135deg,#a7efe2f2,#48d0d7eb);color:#10100f;box-shadow:0 12px 26px #48d0d72e}.subject-type-button.active:not(:disabled):hover{border-color:#a7efe29e;background:linear-gradient(135deg,#a7efe2f2,#48d0d7eb);color:#10100f}.subject-type-button:disabled{cursor:not-allowed;opacity:.62}.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}.status-dock{position:fixed;left:14px;bottom:14px;z-index:80;width:min(300px,calc(100vw - 28px));display:grid;gap:8px;padding:9px;border:1px solid rgba(167,239,226,.22);border-radius:8px;color:#efe8d9;background:#0c1212eb;box-shadow:0 18px 48px #0000005c;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);animation:softAppear .22s ease both}.status-dock.active{border-color:#a7efe26b}.status-dock.has-error{border-color:#ff79796b}.status-dock-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.status-dock-head div{min-width:0;display:grid;gap:2px}.status-dock-head strong{font-size:.84rem;color:#fff3d8}.status-dock-head span{color:#aebbb8;font-size:.7rem}.status-dock-refresh{width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border:1px solid rgba(255,255,255,.12);border-radius:8px;color:#dff9f5;background:#ffffff0d;cursor:pointer}.status-dock-refresh:hover:not(:disabled){border-color:#a7efe273;background:#a7efe21f}.status-dock-refresh:disabled{cursor:not-allowed;opacity:.48}.status-dock-list{max-height:30vh;overflow:auto;display:grid;gap:5px}.status-dock-item{display:grid;grid-template-columns:16px minmax(0,1fr);gap:6px;align-items:start;padding:7px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#ffffff0b}.status-dock-item svg{margin-top:2px;color:#9ce7dc}.status-dock-item.waiting svg{color:#f5c86a}.status-dock-item.error svg{color:#ff8585}.status-dock-item.idle svg,.status-dock-item.info svg{color:#b9c4c0}.status-dock-item div{min-width:0;display:grid;gap:2px}.status-dock-item span{color:#aebbb8;font-size:.68rem;font-weight:800}.status-dock-item strong{color:#f4efe4;font-size:.8rem}.status-dock-item p{margin:0;color:#c9d2cf;font-size:.72rem;line-height:1.35;overflow-wrap:anywhere}.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}.revision-history{margin:0;padding:10px 12px;border-top:1px solid rgba(255,255,255,.08);background:#ffffff06}.revision-history-trigger{width:100%;min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0;border:0;color:#f7d7a8;background:transparent;font-weight:900;cursor:pointer;text-align:left}.revision-history-trigger:hover:not(:disabled){transform:none}.revision-history-trigger-meta{display:flex;align-items:center;gap:8px}.revision-history-trigger em{min-width:26px;height:24px;display:grid;place-items:center;padding:0 8px;border-radius:999px;color:#10100f;background:#a7efe2;font-style:normal;font-size:.78rem;font-weight:900;font-variant-numeric:tabular-nums}.revision-history-chevron{color:#a7efe2;transition:transform .24s ease,color .24s ease}.revision-history.open .revision-history-chevron{transform:rotate(180deg)}.revision-history-panel{display:grid;grid-template-rows:0fr;opacity:0;visibility:hidden;pointer-events:none;transition:grid-template-rows .26s ease,opacity .2s ease,visibility 0s linear .26s}.revision-history.open .revision-history-panel{grid-template-rows:1fr;opacity:1;visibility:visible;pointer-events:auto;transition:grid-template-rows .26s ease,opacity .22s ease .04s,visibility 0s linear}.revision-history-list{display:grid;gap:8px;min-height:0;overflow:hidden;margin-top:0;padding-top:0;transform:translateY(-4px);transition:transform .24s ease,padding-top .24s ease}.revision-history.open .revision-history-list{padding-top:8px;transform:translateY(0)}.revision-history-item{padding:10px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#080c0e57}.revision-history-item.active{border-color:#a7efe285;background:#a7efe214}.revision-history-item.running{border-color:#f0a24773;background:#f0a24714}.revision-history-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}.revision-history-head strong{color:#fff1d8;font-size:.9rem}.revision-history-head span{color:var(--muted);font-size:.78rem;font-weight:800;white-space:nowrap}.revision-history-item p{margin:0;color:#d9e5e2;line-height:1.5;font-size:.86rem;white-space:pre-wrap;word-break:break-word}.revision-history-item .revision-history-note{margin-top:6px;color:#aeb8b6;font-size:.8rem}.revision-history-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:8px}.text-button.subtle{width:auto;min-height:30px;padding:0 10px;color:#e8f6f2;border:1px solid rgba(255,255,255,.1);background:#ffffff0e}.text-button.subtle:hover:not(:disabled){color:#e8f6f2;border-color:#a7efe259;background:#a7efe21f}.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-history{border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#ffffff06}.revision-plan-card{display:grid;gap:10px;padding:12px;border:1px solid rgba(240,162,71,.32);border-radius:8px;background:#f0a24714}.revision-plan-head,.revision-plan-range{display:flex;align-items:center;justify-content:space-between;gap:12px}.revision-plan-head strong{color:#fff1d8;font-size:.94rem}.revision-plan-head span,.revision-plan-range span{color:var(--muted);font-size:.8rem;font-weight:800}.revision-plan-card p{margin:0;color:#d9e5e2;line-height:1.55;font-size:.88rem}.revision-plan-range{min-height:34px;padding:0 10px;border-radius:8px;background:#ffffff0e}.revision-plan-range strong{color:#a7efe2;font-size:.9rem}.revision-plan-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.revision-plan-actions .text-button{width:100%;min-height:36px}.revision-plan-actions .text-button:not(.subtle):hover:not(:disabled){color:#10100f;background:#ffc06a;box-shadow:0 0 0 1px #ffc06a57,0 12px 24px #f0a2472e}.text-button.danger-lite{color:#ffd2d2;border-color:#ff78783d;background:#ff78781a}.text-button.danger-lite:hover:not(:disabled){color:#ffe4e4;border-color:#ff787861;background:#ff787829}.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;align-items:center;justify-content:space-between;gap:12px}.stage2-character-count{color:#b8a98f;font-size:.82rem;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}.drawer-actions:has(.revise-button){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}.stage2-revision-status{margin-top:8px;color:#b9c7c4;font-size:12px}.stage2-revision-status.pending,.stage2-revision-status.running{color:#8ff5e4}.stage2-revision-status.failed{color:#ff9a9a}.stage2-revision-status.completed{color:#9dffbd}.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,#dbddeafa,#d2d3e5fc 48%,#e1d8ecfc),radial-gradient(circle at 76% 0%,rgba(120,84,218,.18),transparent 34rem),radial-gradient(circle at 16% 16%,rgba(78,82,168,.12),transparent 30rem);color:#111827}body[data-theme=day] .brand-mark{border-color:#6b55ff47;box-shadow:0 18px 42px #745cff2e}body[data-theme=day] .brand-creator{color:#4b3fd3}body[data-theme=day] .brand-slogan{--slogan-stop-a: rgba(147, 118, 255, .94);--slogan-stop-b: rgba(100, 75, 232, 1);--slogan-stop-c: rgba(217, 161, 255, .9);--slogan-small: rgba(75, 63, 211, .26)}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] .api-settings-card .field,body[data-theme=day] .api-settings-meta{color:#4f4b6d}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] .workspace{background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}body[data-theme=day] .auth-card,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] .prep-input-panel,body[data-theme=day] .style-prep,body[data-theme=day] .prep-confirm-panel,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] .style-focus-card,body[data-theme=day] .style-library-trigger,body[data-theme=day] .style-library-list,body[data-theme=day] .style-library-item,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:#ebecf6b8;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] .style-focus-card{background:linear-gradient(135deg,#5c50da21,#e8e8f4c2)}body[data-theme=day] .style-focus-card strong,body[data-theme=day] .style-library-hover-card strong,body[data-theme=day] .style-library-trigger:after{color:#4d43d8}body[data-theme=day] .style-focus-card span,body[data-theme=day] .style-library-hover-card,body[data-theme=day] .style-library-hover-card span{color:#1f2937}body[data-theme=day] .field-label{color:#4b426f}body[data-theme=day] .style-library-trigger{color:#21175f}body[data-theme=day] .style-library-list{border-color:#5c50da2e}body[data-theme=day] .style-library-item{color:#263047;border-color:#5c50da1f;border-left-color:#5c50da47;background:#ffffff80}body[data-theme=day] .style-library-item>span:first-child{color:#21175f}body[data-theme=day] .requirement-preset-hover-card p{color:#1f2937}body[data-theme=day] .preset-action{color:#312a8c;border-color:#5c50da2e;background:#ffffff8c}body[data-theme=day] .preset-action:not(:disabled):hover{border-color:#5c50da57;background:#5c50da1a}body[data-theme=day] .preset-popover{border-color:#584ec42e;background:#f8f9fffa;box-shadow:0 18px 48px #4543852e}body[data-theme=day] .preset-popover-head strong{color:#111827}body[data-theme=day] .preset-dialog-button.secondary{color:#312a8c;background:#5c50da1a}body[data-theme=day] .style-library-list,body[data-theme=day] .style-library-hover-card{background:#ebecf7fa;box-shadow:0 14px 36px #45438524}body[data-theme=day] .style-selected-bar.active{color:#251f68;border-color:#5c50da47;background:linear-gradient(135deg,#7e66ff33,#e8e2f7eb)}body[data-theme=day] .style-library-menu.open .style-library-trigger{border-color:#5c50da52;background:#5c50da17}body[data-theme=day] .style-library-item:hover,body[data-theme=day] .style-library-item:focus-visible,body[data-theme=day] .style-library-item.selected{color:#251f68;border-color:#5c50da57;background:#5c50da1a}body[data-theme=day] .requirement-preset-list{border-color:#5c50da1f;background:#f7f8fdf5}body[data-theme=day] .style-library-item.requirement-preset-item{color:#111827b8;border:0;border-left:2px solid transparent;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}body[data-theme=day] .style-library-item.requirement-preset-item:hover,body[data-theme=day] .style-library-item.requirement-preset-item:focus-within,body[data-theme=day] .style-library-item.requirement-preset-item.selected{color:#251f68;border-left-color:#5c50da7a;background:#5c50da0f}body[data-theme=day] .style-library-list::-webkit-scrollbar-thumb{background:#5c50da38}body[data-theme=day] .pipeline-stage-head,body[data-theme=day] .mode-tabs,body[data-theme=day] .theme-switcher,body[data-theme=day] .theme-row,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:#e5e6f3a3;color:#111827;-webkit-backdrop-filter:blur(14px) saturate(1.08);backdrop-filter:blur(14px) saturate(1.08)}body[data-theme=day] .theme-row{color:#554a9f}body[data-theme=day] .theme-switcher button{color:#51459f}body[data-theme=day] .theme-switcher button.active{color:#fff;background:linear-gradient(135deg,#6b5cff,#9b62ff)}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:#efeff8e0;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] .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 .logout-button,body[data-theme=day] .stage-number,body[data-theme=day] .step-head span.done,body[data-theme=day] .text-button,body[data-theme=day] .selected-action,body[data-theme=day] .unlock-action{color:#fff;background:linear-gradient(135deg,#8b66ff,#b74dff)}body[data-theme=day] .text-button.danger{color:#fff3f3;background:#d63e3ed1}body[data-theme=day] .revision-history{border-color:#584ec424;background:#5c50da0b}body[data-theme=day] .revision-history-trigger{color:#4d428f}body[data-theme=day] .revision-history-chevron{color:#6f61c8}body[data-theme=day] .revision-history-item{border-color:#584ec424;background:#f7f8fdb8}body[data-theme=day] .revision-history-item.active{border-color:#5c50da52;background:#5c50da17}body[data-theme=day] .revision-history-item.running{border-color:#d28f325c;background:#f0a2471f}body[data-theme=day] .revision-history-head strong,body[data-theme=day] .revision-history-item p{color:#263047}body[data-theme=day] .revision-history-item .revision-history-note{color:#625b7a}body[data-theme=day] .text-button.subtle{color:#343048;border-color:#584ec429;background:#5c50da14;box-shadow:none}body[data-theme=day] .text-button.subtle:hover:not(:disabled){color:#251f68;border-color:#584ec44d;background:#5c50da21}body[data-theme=day] .revision-plan-card{border-color:#d28f3247;background:#f0a2471a}body[data-theme=day] .revision-plan-head strong,body[data-theme=day] .revision-plan-card p{color:#263047}body[data-theme=day] .revision-plan-range{background:#ffffff94}body[data-theme=day] .revision-plan-range strong{color:#554a9f}body[data-theme=day] .revision-plan-actions .text-button:not(.subtle):hover:not(:disabled){color:#fff;background:linear-gradient(135deg,#705fff,#c15cff);box-shadow:0 16px 32px #5c50da42}body[data-theme=day] .version-badge,body[data-theme=day] .drawer-head span{color:#21175f;border:1px solid rgba(91,77,255,.2);background:#5b4dff1f;box-shadow:none}body[data-theme=day] .version-chip{color:#4b426f;border:1px solid rgba(91,77,255,.16);background:#ffffff94;box-shadow:none}body[data-theme=day] .version-chip.active{color:#fff;border-color:transparent;background:linear-gradient(135deg,#6f67b8,#8e82c6);box-shadow:0 10px 24px #5b4dff29}body[data-theme=day] .stage2-version-row>span,body[data-theme=day] .style-focus-kicker,body[data-theme=day] .style-focus-meta em,body[data-theme=day] .style-library-hover-card em,body[data-theme=day] .source-warning,body[data-theme=day] .revision-plan-range span{color:#554a9f}body[data-theme=day] .subject-board-action{color:#293047;border-color:#625b9133;background:#f4f5fbd6}body[data-theme=day] .subject-board-action:not(:disabled):hover{border-color:#625b9161;background:#ebecf6fa}body[data-theme=day] .subject-board-action.danger{color:#fff;border-color:#be37377a;background:#be3737e6}body[data-theme=day] .subject-card-badge{color:#8a5a00;border-color:#c9903d52;background:#f0ce8657}body[data-theme=day] .style-detail{border-color:#5c50da2e;background:#5c50da0f}body[data-theme=day] .style-detail strong,body[data-theme=day] .style-detail-line em,body[data-theme=day] .style-focus-kicker,body[data-theme=day] .style-focus-meta em,body[data-theme=day] .style-library-hover-card em{color:#4d43d8}body[data-theme=day] .subject-type-button.active{color:#fff;border-color:transparent;background:linear-gradient(135deg,#6f67b8,#8e82c6);box-shadow:0 14px 30px #5c50da29}body[data-theme=day] .subject-type-button.active:not(:disabled):hover{color:#fff;border-color:transparent;background:linear-gradient(135deg,#6f67b8,#8e82c6)}body[data-theme=day] .subject-card,body[data-theme=day] .subject-card-board.empty{border-color:#625b912e;background:#ebecf6b8}body[data-theme=day] .subject-archive-panel{border-color:#625b912e;background:#ebecf6ad}body[data-theme=day] .subject-archive-help,body[data-theme=day] .subject-card-section-title{color:#4338ca}body[data-theme=day] .subject-type-button{color:#263047;border-color:#625b913d;background:#f4f5fbd1}body[data-theme=day] .subject-type-button:not(:disabled):hover{color:#251f68;border-color:#5c50da57;background:#5c50da1a}body[data-theme=day] .style-run-action,body[data-theme=day] .prep-confirm-run{color:#fff;background:linear-gradient(135deg,#8b66ff,#b74dff)}body[data-theme=day] .subject-archive-run{color:#fff;background:linear-gradient(135deg,#6f67b8,#8e82c6)}body[data-theme=day] .prep-confirm-run.primary{color:#fff;background:linear-gradient(135deg,#4e63ff,#24b8c4)}body[data-theme=day] .subject-card-title-wrap strong,body[data-theme=day] .subject-card-empty span,body[data-theme=day] .subject-board-head span{color:#263047}body[data-theme=day] .subject-card-row label,body[data-theme=day] .subject-card-description-head{color:#4b426f}body[data-theme=day] .subject-card input,body[data-theme=day] .subject-card select,body[data-theme=day] .subject-card textarea{border-color:#625b912e;background:#f4f5fbe0;color:#1f2937}body[data-theme=day] .subject-card input:focus,body[data-theme=day] .subject-card select:focus,body[data-theme=day] .subject-card textarea:focus{border-color:#625b9185;box-shadow:0 0 0 3px #625b911f}body[data-theme=day] .subject-description-count{color:#6254b8}body[data-theme=day] .subject-card-counts em{color:#4338ca;border-color:#625b9129;background:#625b910f}body[data-theme=day] .subject-card-image{border-color:#625b913d;background:#625b9112;color:#4338ca}body[data-theme=day] .subject-image-preview{border-color:#5c50da38;background:#fffffffa;box-shadow:0 18px 42px #4850733d}body[data-theme=day] .subject-image-remove{color:#1f2937c2}body[data-theme=day] .subject-image-remove:not(:disabled):hover{color:#111827;background:#ffffffb8}body[data-theme=day] .style-detail span{color:#263047}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] .status-dock{border-color:#5b4dff38;color:#21175f;background:#f6f5fcf0;box-shadow:0 18px 48px #4939ac2e}body[data-theme=day] .status-dock.active{border-color:#5b4dff5c}body[data-theme=day] .status-dock.has-error{border-color:#b3384857}body[data-theme=day] .status-dock-head strong,body[data-theme=day] .status-dock-item strong{color:#21175f}body[data-theme=day] .status-dock-head span,body[data-theme=day] .status-dock-item span{color:#6254b8}body[data-theme=day] .status-dock-item{border-color:#5b4dff24;background:#e9e9f4b3}body[data-theme=day] .status-dock-item p{color:#4338ca}body[data-theme=day] .status-dock-refresh{border-color:#5b4dff33;color:#4338ca;background:#5b4dff14}body[data-theme=day] .status-dock-refresh:hover:not(:disabled){border-color:#5b4dff57;background:#5b4dff21}body[data-theme=day] .stage2-trash-summary li{background:#e9e9f49e}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] .stage2-character-count{color:#5b4d8a}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;box-shadow:0 18px 42px #5291ff2e}body[data-theme=night] .brand-creator{color:#f0ce86}body[data-theme=night] .brand-slogan{--slogan-stop-a: rgba(92, 164, 255, .94);--slogan-stop-b: rgba(82, 219, 255, 1);--slogan-stop-c: rgba(139, 118, 255, .9);--slogan-small: rgba(121, 179, 255, .26)}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] .api-settings-card .field{color:#ffdca7}body[data-theme=night] .api-settings-meta{color:#aebbd0}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] .prep-input-panel,body[data-theme=night] .style-prep,body[data-theme=night] .prep-confirm-panel,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] .style-focus-card,body[data-theme=night] .style-library-trigger,body[data-theme=night] .style-library-list,body[data-theme=night] .style-library-item,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] .requirement-preset-list{border-color:#689fff1f;background:#060d18f5}body[data-theme=night] .style-library-item.requirement-preset-item{color:#eaf2ffb8;border:0;border-left:2px solid transparent;background:transparent;box-shadow:none}body[data-theme=night] .style-library-item.requirement-preset-item:hover,body[data-theme=night] .style-library-item.requirement-preset-item:focus-within,body[data-theme=night] .style-library-item.requirement-preset-item.selected{color:#f2f6ff;border-left-color:#79b3ff80;background:#79b3ff0f}body[data-theme=night] .style-focus-card{background:linear-gradient(135deg,#5291ff29,#ffffff09)}body[data-theme=night] .style-focus-card strong,body[data-theme=night] .style-library-hover-card strong,body[data-theme=night] .style-library-trigger:after{color:#79b3ff}body[data-theme=night] .pipeline-stage-head,body[data-theme=night] .mode-tabs,body[data-theme=night] .theme-switcher,body[data-theme=night] .theme-row,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] .theme-row{color:#b8c5d9}body[data-theme=night] .theme-switcher button{color:#c9d8f0}body[data-theme=night] .theme-switcher button.active{color:#fff;background:linear-gradient(135deg,#66adff,#1e4eaf)}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] .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 .logout-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] .text-button.danger{color:#fff3f3;background:#d63e3ed1}body[data-theme=night] .subject-board-action{color:#f7fbff;border-color:#f0ce8657;background:#f0ce8621}body[data-theme=night] .subject-board-action:not(:disabled):hover{border-color:#f0ce8694;background:#f0ce8638}body[data-theme=night] .subject-board-action.danger{color:#fff3f3;border-color:#ff6a6a6b;background:#ff6a6a38}body[data-theme=night] .subject-type-button.active{color:#10131b;border-color:#f0ce867a;background:linear-gradient(135deg,#f0ce86,#c9903d);box-shadow:0 14px 34px #c9903d38}body[data-theme=night] .subject-type-button.active:not(:disabled):hover{color:#10131b;border-color:#f0ce867a;background:linear-gradient(135deg,#f0ce86,#c9903d)}body[data-theme=night] .subject-card,body[data-theme=night] .subject-card-board.empty{border-color:#71b0ff2e;background:#5291ff14}body[data-theme=night] .subject-archive-panel{border-color:#71b0ff2e;background:#5291ff0f}body[data-theme=night] .subject-archive-run,body[data-theme=night] .style-run-action,body[data-theme=night] .prep-confirm-run{color:#10131b;background:linear-gradient(135deg,#f0ce86,#c9903d)}body[data-theme=night] .prep-confirm-run.primary{color:#10131b;background:linear-gradient(135deg,#48d0d7,#83e6ec)}body[data-theme=night] .subject-card-image{border-color:#f0ce8647;background:#f0ce8612;color:#f0ce86}body[data-theme=night] .subject-image-preview{border-color:#f0ce8647;background:#070a10f5}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] .stage2-character-count{color:#9fafc5}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] .status-dock{color:#eaf2ff;border-color:#689fff3d;background:#08111ff0;box-shadow:0 18px 48px #0000006b}body[data-theme=night] .status-dock.active{border-color:#79b3ff6b}body[data-theme=night] .status-dock.has-error{border-color:#ff82966b}body[data-theme=night] .status-dock-head strong,body[data-theme=night] .status-dock-item strong{color:#f2f6ff}body[data-theme=night] .status-dock-head span,body[data-theme=night] .status-dock-item span{color:#9fb4d2}body[data-theme=night] .status-dock-item{border-color:#689fff21;background:#121f34bd}body[data-theme=night] .status-dock-item p{color:#c8d7ed}body[data-theme=night] .status-dock-refresh{color:#dcebff;border-color:#689fff38;background:#5291ff1a}body[data-theme=night] .status-dock-refresh:hover:not(:disabled){border-color:#79b3ff6b;background:#5291ff2e}body[data-theme=night] .status-dock-item svg{color:#79b3ff}body[data-theme=night] .status-dock-item.waiting svg{color:#f0ce86}body[data-theme=night] .status-dock-item.error svg{color:#ff8fa3}body[data-theme=night] .status-dock-item.idle svg,body[data-theme=night] .status-dock-item.info svg{color:#9fb4d2}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 styleFloatIn{0%{opacity:0;filter:blur(3px);transform:translate(-18px) translateY(6px) scaleX(.96) scaleY(.985)}to{opacity:1;filter:blur(0);transform:translate(0) translateY(0) scaleX(1) scaleY(1)}}@keyframes requirementPresetItemIn{0%{opacity:0;filter:blur(2px);transform:translateY(-5px) scaleY(.98)}to{opacity:1;filter:blur(0);transform:translateY(0) scaleY(1)}}@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,.style-focus-meta,.style-library-list{grid-template-columns:1fr}.style-library-list{width:min(420px,calc(100vw - 48px))}.control-panel{position:static}.stage2-word-control{grid-template-columns:1fr}}@media (max-width: 760px){.shell{padding:16px}.topbar{align-items:flex-start;grid-template-columns:1fr;justify-content:stretch}.topbar-main,.topbar-actions{grid-column:1}h1{font-size:1.55rem}.brand-lockup{align-items:flex-start;gap:10px}.brand-mark{width:44px;height:44px}.brand-slogan{align-items:center;justify-content:center;padding:0 8px}.brand-slogan-watermark{width:min(112vw,560px);height:92px}.brand-slogan-text{stroke-width:.005}.brand-slogan-subtext{font-size:10px}.style-library-list-shell{position:static;width:100%;margin-top:6px}.style-library-list{width:100%}.style-library-hover-card{position:static;width:100%;margin-top:8px;box-shadow:none;pointer-events:auto}.status-dock{left:10px;right:10px;bottom:10px;width:auto;max-height:34vh}.status-dock-list{max-height:22vh}.mode-tabs,.two-actions,.pipeline-actions,.prep-confirm-actions,.requirement-preset-row,.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,.theme-row{width:100%}.topbar-actions{align-items:stretch;justify-content:stretch}.subject-card{grid-template-columns:1fr;grid-template-rows:auto}.subject-board-head,.subject-card-head{align-items:flex-start;flex-direction:column}.subject-board-actions,.subject-card-counts,.subject-card-head-actions{width:100%;justify-content:flex-start}.subject-board-action{flex:1 1 136px}.subject-card-head,.subject-card-title-wrap,.subject-card-image,.subject-card-main,.subject-card>label,.subject-card-row,.subject-card-description-field{grid-column:1;grid-row:auto}.subject-card-title-wrap{padding-right:0}.subject-card-row{grid-template-columns:1fr}.subject-card-image{aspect-ratio:1 / 1;height:auto;max-width:168px}.subject-image-preview{display:none}.account-chip{justify-content:space-between}.theme-row{justify-content:flex-end}}
