:root{color-scheme:light;font-family:Inter,Microsoft YaHei,PingFang SC,sans-serif;color:#19312f;background:#f3f7f6;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#f3f7f6}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}.auth-layout{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 20% 0%,#dff2ed,transparent 36%),#f3f7f6}.auth-card{width:min(100%,430px);padding:34px;border:1px solid #d6e4e0;border-radius:14px;background:#fff;box-shadow:0 22px 60px #174b4212}.brand-lockup{display:flex;align-items:center;gap:13px}.brand-lockup.compact{gap:10px}.brand-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;color:#fff;background:#0f766e;font-weight:800;font-size:22px}.compact .brand-icon{width:36px;height:36px;border-radius:9px;font-size:18px}.kicker{margin:0 0 4px;color:#6c8580;font-size:11px;font-weight:800;letter-spacing:0;text-transform:uppercase}h1,h2,h3,p{margin-top:0}h1{margin-bottom:0;font-size:22px;letter-spacing:0}h2{margin-bottom:0;font-size:19px}h3{margin-bottom:0;font-size:14px}.auth-tabs{display:flex;gap:20px;margin:30px 0 22px;border-bottom:1px solid #e1ebe8}.tab{padding:0 0 11px;border:0;border-bottom:2px solid transparent;color:#79908c;background:transparent;font-weight:700}.tab.active{border-color:#0f766e;color:#0f766e}.stack-form,.form-grid{display:grid;gap:15px}label{display:grid;gap:7px;color:#45615c;font-size:13px;font-weight:700}input,select,textarea{width:100%;border:1px solid #cbdcd8;border-radius:8px;outline:0;color:#203b37;background:#fff}input,select{min-height:40px;padding:8px 10px}textarea{resize:vertical;padding:10px;line-height:1.55}input:focus,select:focus,textarea:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e18}.primary,.ghost,.small,.close{border:1px solid transparent;border-radius:8px;font-weight:800}.primary{min-height:42px;padding:9px 17px;color:#fff;background:#0f766e}.primary:hover{background:#0b625c}.primary.wide{width:100%;margin-top:4px}.ghost{min-height:36px;padding:7px 11px;border-color:#cbdcd8;color:#37615a;background:#fff}.ghost:hover,.small:hover{border-color:#0f766e;color:#0f766e}.small{min-height:32px;padding:6px 9px;border-color:#cbdcd8;color:#49645f;background:#fff;font-size:12px}.danger-text{color:#a24435}.notice{min-height:20px;margin:14px 0 0;color:#718782;font-size:13px}.notice.error,.error-text,.job-error{color:#a24435}.notice.success{color:#167264}.notice.warning{color:#976529}.form-help{margin:16px 0 0;color:#79908c;font-size:12px;line-height:1.6}.shell{min-height:100vh}.topbar{position:sticky;z-index:4;top:0;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:68px;padding:12px clamp(16px,4vw,56px);border-bottom:1px solid #d9e7e3;background:#ffffffed;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.user-email{max-width:210px;overflow:hidden;color:#66807a;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.quota-chip,.mode-badge{padding:7px 10px;border:1px solid #b9ded5;border-radius:999px;color:#0f766e;background:#effaf7;font-size:12px;font-weight:800;white-space:nowrap}.notice-bar{padding:0 clamp(16px,4vw,56px)}.notice-bar .notice{margin:10px 0 0}.workbench-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr);align-items:start;gap:18px;max-width:1500px;margin:0 auto;padding:18px clamp(16px,4vw,56px) 48px}.panel{min-width:0;padding:22px;border:1px solid #d5e4df;border-radius:12px;background:#fff;box-shadow:0 8px 30px #174b4208}.panel-heading,.upload-title,.submit-row,.job-top,.job-meta,.dialog-heading,.admin-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-heading{margin-bottom:20px}.upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.upload-card{min-width:0;padding:13px;border:1px solid #dfebe8;border-radius:9px;background:#fbfdfc}.upload-title{margin-bottom:10px}.upload-title span{color:#8aa09c;font-size:11px}.dropzone{min-height:116px;place-items:center;align-content:center;padding:16px;border:1px dashed #a9c8c1;border-radius:8px;color:#31766c;background:#f5fbf9;text-align:center;transition:.15s ease}.dropzone:hover,.dropzone.dragging{border-color:#0f766e;background:#ecf8f5}.dropzone input{display:none}.dropzone strong{font-size:13px}.dropzone small{margin-top:3px;color:#8aa09c;font-size:11px;font-weight:500}.preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(54px,1fr));gap:6px;margin-top:9px}.preview-item{position:relative;aspect-ratio:1;overflow:hidden;border-radius:6px;background:#e6efed}.preview-item img{width:100%;height:100%;display:block;object-fit:cover}.preview-item span{position:absolute;left:3px;bottom:3px;padding:1px 4px;border-radius:4px;color:#fff;background:#153c38ba;font-size:10px}.preview-item button{position:absolute;top:2px;right:2px;width:18px;height:18px;padding:0;border:0;border-radius:50%;color:#fff;background:#153c38c7;line-height:17px}.switch-row{display:flex;grid-template-columns:auto 1fr;align-items:center;gap:10px;margin:16px 0;color:#294842}.switch-row input{position:absolute;opacity:0;width:1px;height:1px}.switch{position:relative;width:38px;height:22px;flex:0 0 auto;border-radius:999px;background:#c8d9d5;transition:.15s}.switch:after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:.15s}.switch-row input:checked+.switch{background:#0f766e}.switch-row input:checked+.switch:after{transform:translate(16px)}.switch-row small{display:block;margin-top:3px;color:#80958f;font-size:11px;font-weight:500}.secondary-card{margin-bottom:15px}.form-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:6px}.template-row{display:grid;grid-template-columns:minmax(0,1fr) 250px;align-items:end;gap:12px;margin-top:15px}.grow{min-width:0}.template-actions{display:grid;gap:8px}.template-actions>div{display:flex;gap:6px}.template-actions .small{flex:1}.submit-row{margin-top:18px;padding-top:16px;border-top:1px solid #e5eeeb}.submit-summary{color:#6f8782;font-size:12px}.active-panel{position:sticky;top:86px}.empty-state{display:grid;min-height:170px;place-items:center;padding:20px;color:#8aa09c;font-size:13px;text-align:center}.job-card{min-width:0}.job-top{align-items:flex-start}.job-top h3{margin:10px 0 4px}.job-top p{margin:0;color:#7b918d;font-size:12px}.job-count{color:#0f766e;font-size:25px;font-weight:800}.job-count small{color:#839893;font-size:13px;font-weight:600}.status{display:inline-block;padding:4px 7px;border-radius:5px;color:#fff;background:#718782;font-size:11px;font-weight:800}.status-completed{background:#17836e}.status-processing{background:#287da2}.status-failed{background:#ad4b3f}.status-queued{background:#9a702d}.progress{height:7px;margin:18px 0 9px;overflow:hidden;border-radius:999px;background:#e1ece9}.progress i{display:block;height:100%;border-radius:inherit;background:#0f766e;transition:width .25s ease}.job-meta{color:#829691;font-size:11px}.job-error{margin:15px 0 0;padding:10px;border-radius:7px;background:#fff4f1;font-size:12px;line-height:1.5}.result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px}.result-grid a{display:block;min-width:0;color:#416b63;text-decoration:none}.result-grid img{display:block;width:100%;aspect-ratio:3 / 4;border-radius:7px;object-fit:cover;background:#edf4f2}.result-grid span{display:block;overflow:hidden;padding-top:4px;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.download-link{display:inline-block;margin-top:16px;color:#0f766e;font-size:13px;font-weight:800}.dialog{width:min(620px,calc(100% - 28px));max-height:min(720px,calc(100vh - 28px));padding:22px;border:1px solid #d5e4df;border-radius:12px;background:#fff;box-shadow:0 24px 80px #174b4226}.wide-dialog{width:min(900px,calc(100% - 28px))}.dialog::backdrop{background:#19312f66;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.close{width:32px;height:32px;padding:0;border-color:#d4e3df;color:#4e6b64;background:#fff;font-size:22px;line-height:1}.history-list,.admin-list{display:grid;gap:8px;margin-top:18px}.history-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px;border:1px solid #dce9e6;border-radius:8px;color:#36574f;background:#fbfdfc;text-align:left}.history-row:hover{border-color:#0f766e}.history-row span:first-child{display:grid;gap:4px;min-width:0}.history-row b{width:max-content;padding:3px 6px;border-radius:4px;color:#0f766e;background:#eaf7f3;font-size:10px}.history-row strong,.history-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-row small{color:#849792;font-size:11px}.history-row>span:last-child{color:#0f766e;font-size:12px;font-weight:800}.admin-row{display:grid;grid-template-columns:minmax(0,1fr) 130px 110px 56px;gap:8px;padding:11px 0;border-bottom:1px solid #e7efed}.admin-identity{display:grid;gap:4px;min-width:0}.admin-identity b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.admin-identity small{color:#829691;font-size:11px}@media(max-width:980px){.workbench-grid{grid-template-columns:1fr}.active-panel{position:static}}@media(max-width:680px){.topbar{align-items:flex-start;flex-direction:column;gap:10px}.topbar-actions{justify-content:flex-start;width:100%}.user-email{max-width:150px}.workbench-grid{padding:12px 10px 32px}.panel{padding:15px;border-radius:10px}.upload-grid,.form-grid,.template-row{grid-template-columns:1fr}.upload-grid{gap:9px}.template-actions{grid-template-columns:1fr}.submit-row{align-items:flex-start;flex-direction:column}.submit-row .primary{width:100%}.auth-card{padding:24px}.admin-row{grid-template-columns:minmax(0,1fr) 90px 90px}.admin-row .small{grid-column:1 / -1}.dialog{padding:16px}}
