:root{color-scheme:light;--ink:#202c3a;--muted:#647181;--line:#dce1e6;--soft:#f5f6f8;--accent:#be500b;--bright:#de6712;--tint:#fff3e7;--paper:#fff;font-family:Inter,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",system-ui,sans-serif;font-synthesis:weight;color:var(--ink);background:#f5f6f8;font-size:16px}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:#a9470b}button{color:inherit}svg{flex:none;vertical-align:middle}a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #efaa70;outline-offset:2px}[hidden]{display:none!important}.skip{position:fixed;top:-60px;left:12px;z-index:100;background:white;padding:10px}.skip:focus{top:4px}
.mast{height:65px;display:flex;align-items:stretch;justify-content:space-between;background:white;padding:0 clamp(14px,2.2vw,40px);border-bottom:1px solid var(--line);position:relative;z-index:2;box-shadow:0 1px 3px #26364805}.nav-scroll,.topnav,.brand,.topnav a,.account-btn{display:flex;align-items:center}.nav-scroll{min-width:0}.brand{background:transparent;border:none;padding:0 21px 0 0;gap:10px;white-space:nowrap;font-size:19px;font-weight:740;letter-spacing:-.04em}.brand i,.account-btn i{display:flex;color:#7c8791}.brand i svg,.account-btn i svg{width:14px}.topnav{height:100%;gap:4px}.topnav a{text-decoration:none;color:#4b5868;height:100%;gap:8px;padding:0 clamp(9px,1.08vw,20px);font-size:15px;white-space:nowrap;font-weight:570;position:relative}.topnav a:hover{background:#fafafa;color:var(--ink)}.topnav a.current{color:var(--accent);background:#fff7ef}.topnav a.current::after{content:"";position:absolute;height:3px;background:var(--bright);bottom:0;left:12px;right:12px;border-radius:3px 3px 0 0}.account-btn{background:transparent;border:none;white-space:nowrap;font-size:14px;gap:8px;padding:0 0 0 14px}.avatar{width:31px;height:31px;border-radius:50%;background:#f7e7d4;color:#a34f16;display:grid;place-items:center}.popover{position:absolute;top:57px;background:white;border:1px solid var(--line);border-radius:10px;padding:6px;width:200px;box-shadow:0 12px 36px #17283a20}.tools-menu{left:clamp(14px,2.2vw,40px)}.account-menu{right:clamp(14px,2.2vw,40px)}.popover button{border:0;border-radius:6px;background:white;width:100%;text-align:left;padding:11px;display:flex;align-items:center;gap:10px;font-size:14px}.popover button:hover{background:var(--tint);color:var(--accent)}button:focus:not(:focus-visible),main:focus{outline:none}
#workspace{max-width:1840px;margin:auto;padding:22px clamp(16px,2.5vw,48px) 32px}.crumbs{display:flex;align-items:center;gap:9px;font-size:13px;color:#75808e;min-height:20px}.crumbs .crumb-current{color:#425062}.crumbs svg{width:14px;height:14px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:14px 0 24px}.page-head h1{margin:0 0 6px;font-size:clamp(26px,2.3vw,37px);letter-spacing:-.045em;line-height:1.3}.page-head p{margin:0;color:var(--muted);font-size:15px;line-height:1.65}
.btn-primary,.btn-outline,.icon-btn,.queue-action{border:1px solid var(--line);background:white;border-radius:7px;min-height:37px;padding:7px 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;font-size:14px;font-weight:570}.btn-primary{border-color:#c2550b;background:#c95a0c;color:white}.btn-primary:hover{background:#af4806}.page-head .btn-primary{min-height:42px;padding:9px 17px;box-shadow:0 1px 2px #b0511220}.btn-outline:hover,.icon-btn:hover{background:#f6f8fa}.icon-btn{width:34px;min-height:33px;padding:5px}
.flow-band{background:white;border:1px solid var(--line);border-radius:11px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:20px;overflow:hidden}.flow-step{position:relative;display:flex;align-items:center;text-align:left;gap:13px;padding:19px clamp(12px,1.55vw,26px);background:white;border:0;border-right:1px solid var(--line);min-width:0}.flow-step:last-child{border:0}.flow-step:hover{background:#fbfcfd}.flow-step.active{background:linear-gradient(105deg,#fff4e8,#fffaf3)}.step-icon{width:39px;height:39px;display:grid;place-items:center;flex:none;border:1px solid #e0e5e9;border-radius:9px;background:#f4f6f8;color:#627080}.active .step-icon{color:#be510d;border-color:#f2cfac;background:#ffead4}.step-words{min-width:0;display:grid;gap:4px}.step-title{font-weight:670;font-size:15px;display:flex;align-items:baseline;gap:7px}.step-title b{font-size:13px;color:#6f7985;letter-spacing:.025em;font-family:ui-monospace,monospace}.active .step-title b{color:var(--accent)}.step-desc{font-size:13px;color:var(--muted)}.flow-chev{margin-left:auto;color:#959fac}
.queue-layout{display:grid;grid-template-columns:clamp(200px,17.2vw,270px) minmax(0,1fr);gap:16px;align-items:stretch}.queue-layout.collapsed{grid-template-columns:59px minmax(0,1fr)}.queue-aside,.task-panel{background:white;border:1px solid var(--line);border-radius:10px;min-width:0}.queue-aside{display:flex;flex-direction:column;overflow:hidden}.aside-head,.panel-head{display:flex;align-items:center;justify-content:space-between}.aside-head{padding:16px 15px;border-bottom:1px solid var(--line)}.aside-head h2,.panel-head h2{margin:0;font-size:17px;line-height:1.5;letter-spacing:-.02em}.aside-head .icon-btn{border:none;color:#74808a;min-height:28px;width:28px}.queue-list{padding:10px 8px;display:grid;gap:5px}.queue-link{display:flex;align-items:center;gap:9px;min-height:42px;text-align:left;border:0;border-radius:6px;background:transparent;padding:8px 9px;width:100%;color:#455362;font-size:14px}.queue-link:hover{background:#f6f7f9}.queue-link.active{background:var(--tint);color:#aa490c;font-weight:650}.queue-link .k{color:#687887}.queue-link.active .k{color:#b44f10}.queue-count{margin-left:auto;min-width:23px;height:21px;display:grid;place-items:center;border-radius:5px;color:#687380;background:#f1f3f5;font:12px/1.2 ui-monospace,monospace}.active .queue-count{background:#ffe4c9;color:#aa480a}.aside-label{margin:12px 9px 0;font-size:12px;color:#7c8592}.aside-line{height:1px;background:#eceef1;margin:7px 6px}.aside-foot{margin:auto 0 0;padding:16px;color:#74808d;border-top:1px solid #e6e9ed;font-size:13px;line-height:1.6;display:flex;align-items:flex-start;gap:7px}.aside-foot svg{margin-top:2px}.collapsed .aside-head{padding:13px;justify-content:center}.collapsed .aside-head h2,.collapsed .queue-label,.collapsed .queue-count,.collapsed .aside-label,.collapsed .aside-foot{display:none}.collapsed .queue-link{justify-content:center}.collapsed .queue-list{padding:10px 5px}.collapsed .aside-line{margin:5px}
.task-panel{overflow:hidden}.panel-head{padding:18px 21px 11px;gap:12px}.title-count{display:flex;align-items:center;gap:9px}.count-tag{font:12px/1.5 ui-monospace,monospace;color:#66717d;background:#f0f2f5;padding:1px 7px;border-radius:5px}.refresh-btn{min-height:32px;font-size:13px;padding:6px 10px}.filters{padding:4px 21px 15px}.statuses{display:flex;align-items:center;gap:3px;flex-wrap:wrap;margin-bottom:13px}.status-filter{background:transparent;border:1px solid transparent;border-radius:5px;padding:5px 9px;font-size:13px;color:#576474}.status-filter.active{background:#fff1e2;color:#a9470a;border-color:#f5d6b8;font-weight:620}.status-filter:hover{color:var(--accent)}.fields{display:flex;align-items:center;gap:8px}.search-box,.site-box{height:36px;border:1px solid #cdd4dc;border-radius:6px;display:flex;align-items:center;background:white;min-width:0;gap:7px}.search-box{max-width:360px;flex:1;padding:0 10px;color:#778390}.search-box:focus-within,.site-box:focus-within{outline:2px solid #f0bb91;outline-offset:0}.search-box input{outline:0!important;border:0;background:transparent;width:100%;height:100%;min-width:0;font-size:14px;color:var(--ink)}.search-box input::placeholder{color:#828c97}.site-box{position:relative}.site-box select{height:100%;border:0;background:transparent;appearance:none;padding:0 33px 0 11px;font-size:14px;outline:0;color:var(--ink)}.site-box svg{pointer-events:none;position:absolute;right:8px}.filter-clear{font-size:13px;color:#6c7683;background:none;border:0;padding:8px}.filter-clear:hover{color:var(--accent)}
.table-wrap{overflow-x:auto}.queue-table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}.queue-table th{font-size:12px;font-weight:550;color:#677385;background:#f6f7f9;border-block:1px solid #e3e7eb;padding:10px 12px;white-space:nowrap}.queue-table th:first-child,.queue-table td:first-child{padding-left:21px}.queue-table td{padding:12px;border-bottom:1px solid #eef0f3;vertical-align:middle}.job-title{font-weight:620;max-width:210px;overflow-wrap:anywhere}.job-meta,.job-stage,.job-date{color:#697682;font-size:12px}.job-meta{margin-top:4px}.job-pill{font-size:12px;padding:3px 7px;color:#465361;background:#edf0f3;border-radius:5px;white-space:nowrap}.job-pill.review,.job-pill.needs_input{color:#9a5309;background:#fff1d4}.job-pill.approved{background:#e7f3eb;color:#326e4f}.job-pill.running{background:#e7f0fe;color:#36679e}.job-pill.failed{background:#fff0ea;color:#a03f31}.queue-action{min-height:30px;font-size:13px;color:var(--accent);padding:4px 8px}.empty-box{min-height:242px;padding:30px 15px 36px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.empty-art{position:relative;width:78px;height:64px;margin:0 0 12px;display:grid;place-items:center}.empty-art::before{content:'';position:absolute;bottom:1px;left:8px;right:3px;height:11px;border-radius:50%;background:#eee9e3}.empty-paper{position:absolute;left:17px;top:6px;width:38px;height:45px;background:#faf7f1;border:1.5px solid #d9c8b7;border-radius:5px;transform:rotate(-12deg)}.empty-paper.front{display:grid;align-content:center;padding:7px;gap:5px;left:25px;top:9px;transform:rotate(5deg);background:linear-gradient(140deg,white,#fff8ee);border-color:#ceaf8e}.empty-paper.front i{height:2px;background:#dbc4a9;border-radius:2px}.empty-paper.front i:last-child{width:70%}.empty-art>svg{position:absolute;right:7px;bottom:8px;color:#aa5b27;background:#ffecd5;padding:3px;width:27px;height:27px;border:1px solid #edcca9;border-radius:7px}.empty-box h3{font-size:16px;margin:0 0 6px}.empty-box p{max-width:440px;font-size:14px;color:#697483;margin:0 0 14px;line-height:1.65}.empty-box .btn-outline{color:#a8480d;background:#fffaf4;border-color:#edcfb2;font-size:13px;min-height:34px}.queue-footer{background:#fbfcfd;border-top:1px solid #e7eaf0;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 20px;color:#788390;font-size:12px}.queue-footer span{display:inline-flex;gap:6px;align-items:center}.app-toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);padding:12px 16px;background:#273544;color:white;border-radius:8px;font-size:14px;z-index:12;box-shadow:0 8px 18px #212d3926}
.auth-dialog{width:min(420px,calc(100% - 24px));color:var(--ink);border:1px solid var(--line);border-radius:14px;padding:26px;box-shadow:0 20px 80px #17233038}.auth-dialog::backdrop{background:#1d27365c}.auth-head{display:flex;justify-content:space-between}.auth-dialog h2{margin:16px 0 6px;font-size:24px}.auth-dialog p{font-size:14px;line-height:1.7;color:var(--muted);margin:0 0 20px}.auth-dialog label{display:grid;gap:6px;font-weight:600;font-size:14px;margin:14px 0}.auth-dialog input{height:40px;border:1px solid #cbd3dc;border-radius:6px;padding:0 10px;font-weight:400;width:100%}.auth-dialog .btn-primary{width:100%;margin-top:6px;min-height:40px}#auth-error{color:#b04525}
@media(min-width:1550px){.empty-box{min-height:320px}}
@media(max-width:1060px){.mast{padding:0 14px}.brand{font-size:17px;padding-right:12px}.brand img{width:30px;height:30px}.topnav a{font-size:14px;padding:0 8px;gap:5px}.topnav svg{width:16px}.queue-layout{grid-template-columns:184px minmax(0,1fr);gap:10px}.filters{padding-left:14px;padding-right:14px}.panel-head{padding-left:14px;padding-right:14px}.flow-step{gap:8px;padding:14px 12px}.flow-chev{display:none}}
@media(max-width:800px){.mast{height:auto;min-height:58px;align-items:flex-start;padding:0 12px}.nav-scroll{display:block;width:100%;min-width:0}.brand{height:52px}.topnav{height:44px;overflow-x:auto;scrollbar-width:none;border-top:1px solid #f0f1f3}.topnav a{padding:0 11px;flex-shrink:0}.account-btn{position:absolute;right:15px;top:10px}.popover{top:48px}.page-head{margin:10px 0 15px}.queue-layout,.queue-layout.collapsed{display:block}.queue-aside{margin-bottom:10px}.aside-head,.aside-label,.aside-line,.aside-foot,.collapsed .aside-head{display:none}.queue-list,.collapsed .queue-list{display:flex;overflow-x:auto;padding:5px;gap:2px;scrollbar-width:thin}.queue-link{width:auto;flex-shrink:0;min-height:35px;padding:5px 8px}.collapsed .queue-label,.collapsed .queue-count{display:block}.queue-link .k{display:none}.queue-count{background:transparent;min-width:12px;display:inline-flex;align-items:center}.flow-band{margin-bottom:12px}.flow-step{gap:7px;padding:12px 8px}.step-icon{width:29px;height:29px;border-radius:6px}.step-icon svg{width:16px;height:16px}.step-desc{display:none}.step-title{font-size:13px;gap:5px}.account-btn .account-label{display:inline}.tools-menu{left:10px}}
@media(max-width:560px){#workspace{padding:13px 10px 16px}.page-head{gap:8px}.page-head p{font-size:13px}.page-head .btn-primary{font-size:13px;min-height:44px;padding:8px}.brand{font-size:17px}.topnav a{font-size:14px;padding:0 10px}.flow-step{padding:11px 6px;justify-content:center}.step-icon{display:none}.step-title{display:grid;gap:1px}.step-title b{font-size:12px}.step-words{text-align:center}.flow-band,.task-panel,.queue-aside{border-radius:7px}.queue-list .queue-link{min-height:44px}.panel-head{padding:13px 12px 6px}.filters{padding:4px 12px 12px}.status-filter{min-height:36px;padding:4px 7px}.statuses{margin-bottom:7px}.fields{gap:6px}.search-box,.site-box{height:42px}.search-box{max-width:none}.site-box select{max-width:125px}.queue-table{min-width:590px}.queue-footer{padding:9px 12px}.refresh-btn,.account-btn{min-height:36px}.empty-box{min-height:228px}.aside-head .icon-btn,.auth-head .icon-btn,.btn-outline,.empty-box .btn-outline{min-height:44px}.topnav{height:46px}.filter-clear{padding:7px 2px}.app-toast{width:max-content;max-width:calc(100% - 25px)}}

.job-progress{font:12px/1.4 ui-monospace,monospace;color:#626e7c;display:inline-flex;flex-direction:column;gap:4px}
.progress-segments{display:flex;gap:2px}.progress-segments i{width:12px;height:3px;border-radius:2px;background:#e0e5e9}.progress-segments .working{background:#efbf92}.progress-segments .complete{background:#bb5a19}
@media(max-width:560px){.queue-table{min-width:0}.queue-table th:nth-child(2),.queue-table td:nth-child(2),.queue-table th:nth-child(4),.queue-table td:nth-child(4),.queue-table th:nth-child(5),.queue-table td:nth-child(5){display:none}.queue-table th,.queue-table td{padding:9px 5px}.queue-table th:first-child,.queue-table td:first-child{padding-left:12px}.queue-table th:last-child,.queue-table td:last-child{padding-right:10px}.site-box select{max-width:110px}.topnav a{scroll-margin-inline:16px}}
