*{box-sizing:border-box}
body{margin:0;background:#f7f8fa;color:#171717;font:15px system-ui,"Microsoft YaHei",sans-serif}
.auth-page{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(circle at 12% 12%,#dcecff 0,transparent 32%),radial-gradient(circle at 90% 15%,#d5fff1 0,transparent 30%),#f5f7fb}.auth-card{width:min(100%,460px);background:rgba(255,255,255,.94);border:1px solid rgba(216,226,239,.9);border-radius:24px;padding:34px;box-shadow:0 24px 70px rgba(38,67,105,.16)}.auth-brand{display:flex;align-items:center;gap:13px;margin-bottom:30px}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#0563d8,#6daeff);color:#fff;font-size:23px;font-weight:800;box-shadow:0 8px 18px rgba(6,95,212,.25)}.auth-brand h1{margin:0;font-size:22px}.auth-brand h1 small{font-size:14px;color:#7a8798;font-weight:600}.auth-brand p,.auth-subtitle{margin:4px 0 0;color:#667085}.auth-card>h2{margin:0 0 5px;font-size:25px}.auth-form{margin-top:22px}.auth-form label{margin-top:16px}.auth-form input{padding:12px}.auth-form button{width:100%;padding:12px;margin-top:22px;font-size:15px}.auth-footer{text-align:center;color:#667085;margin-top:22px}.auth-footer a{color:#065fd4;font-weight:650;text-decoration:none}
.app-shell{display:flex;min-height:100vh}.page-shell{display:flex;flex:1;min-width:0;flex-direction:column}
.sidebar{width:218px;flex:0 0 218px;background:#fff;border-right:1px solid #e5e7eb;padding:24px 12px;position:sticky;top:0;height:100vh}
.sidebar-user{padding:10px 12px 20px;border-bottom:1px solid #eaecf0;margin-bottom:12px}.sidebar-user b,.sidebar-user small{display:block}.sidebar-user small{margin-top:5px;color:#667085;font-size:13px}
.sidebar a{display:block;text-decoration:none;color:#344054;border-radius:8px;padding:11px 12px;margin:4px 0;font-weight:650}.sidebar a:hover{background:#f2f4f7}.sidebar a.active{color:#fff;background:#065fd4}
.sidebar-action{margin:16px 8px 0}.sidebar-action button{width:100%}
header{height:60px;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between;padding:0 24px;position:sticky;top:0;z-index:2}header b{font-size:21px;color:#065fd4}header span,small,.hint{color:#667085}
main{flex:1;min-width:0;max-width:1420px;margin:0 auto;padding:0 30px 30px}main>.intro{margin-top:30px}
.intro{margin-bottom:18px}.intro h1{margin:0 0 5px}.intro p{margin:0;color:#667085}
.channel-switcher{background:#fff;border:1px solid #dbe6f4;border-radius:12px;padding:12px 16px;display:flex;flex-wrap:wrap;align-items:end;gap:16px;margin:0 0 18px}.channel-switcher>label{margin:0;min-width:280px}.channel-switcher select{margin-top:5px}.channel-switcher>span{color:#667085;padding-bottom:9px}.preset-tools{margin-left:auto;display:flex;align-items:end;gap:9px;flex-wrap:wrap}.preset-tools label{margin:0;min-width:170px}.preset-tools input,.preset-tools select{margin-top:5px}.preset-tools button{padding:9px 12px;white-space:nowrap}.studio-page .grid{grid-template-columns:1fr}.studio-page .grid>.card:first-child{display:none}.studio-page .task-channel{display:none}
button{background:#065fd4;color:#fff;border:0;border-radius:8px;padding:9px 15px;font-weight:650;cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}.quiet{background:#fff;color:#344054;border:1px solid #d0d5dd}.danger{color:#b42318;background:#fff;border:1px solid #fecdca}
.grid{display:grid;grid-template-columns:1fr 1.4fr;gap:18px}.card{background:#fff;border:1px solid #eaecf0;border-radius:12px;padding:20px;margin:18px 0}.grid .card{margin:0}.card h2{font-size:18px;margin:0 0 14px}
label{display:block;font-weight:600;margin:12px 0 5px}input,textarea,select{display:block;width:100%;font:inherit;padding:9px;border:1px solid #d0d5dd;border-radius:7px;margin-top:5px}.channels{padding:0;list-style:none}.channels li{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #f0f1f3}.channels span{font-size:13px;color:#667085}
.msg{border-radius:8px;padding:10px 13px;margin:12px 0}.msg.success{background:#ecfdf3;color:#027a48}.msg.error{background:#fef3f2;color:#b42318}.msg.info{background:#eff8ff;color:#175cd3}.error{color:#b42318}
.system-log{padding:0;overflow:hidden;background:linear-gradient(135deg,#fff 45%,#f2fff9)}.system-log-head{padding:20px 24px;border-bottom:1px solid #edf0f3;display:flex;align-items:center;justify-content:space-between}.system-log-head h2{margin:0}.system-log-head .quiet{border-color:#d9e6f2;border-radius:999px;padding:10px 17px}.log-console{margin:28px 30px 30px;border-radius:22px;background:#081222;color:#d8e9ff;padding:20px;min-height:310px;max-height:430px;overflow:auto;box-shadow:inset 0 0 0 1px rgba(148,190,255,.12);font:14px ui-monospace,SFMono-Regular,Consolas,"Microsoft YaHei",monospace}.log-console ul{list-style:none;padding:0;margin:0}.log-console li{display:grid;grid-template-columns:164px 62px minmax(0,1fr) auto;gap:10px;align-items:start;padding:10px 0;border-top:1px solid rgba(148,190,255,.12)}.log-console li:first-child{border-top:0}.log-console time{color:#8cb4dc;font-size:13px}.log-console p{margin:0;color:#a8c4e8}.log-level{font-size:12px;font-weight:650;text-align:center;border-radius:999px;padding:2px 6px;background:#173a65;color:#b7d6fa}.log-level.success{background:#104b3b;color:#a1f2c8}.log-level.error{background:#5b2830;color:#ffc2c9}.log-console small{color:#93b3d7}
table{border-collapse:collapse;width:100%}th,td{text-align:left;padding:12px;border-top:1px solid #eaecf0;vertical-align:top}td small{display:block;margin-top:4px}td form{display:inline-block;margin:0 5px 5px 0}.progress-wrap{margin:12px 0}.progress{height:8px;border-radius:999px;background:#e8edf3;overflow:hidden;min-width:150px;margin:6px 0}.progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#0b73e0,#4aa3ff);transition:width .25s ease}.job-progress{min-width:180px}
.employee-new{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end}.employee-new label{margin:0}.employee-new button{align-self:end}.employee-list{margin-top:18px}.employee-entry{padding:14px 0;border-top:1px solid #eaecf0}.employee-row{display:grid;grid-template-columns:1fr 1.45fr auto;gap:14px;align-items:end}.employee-row label{margin:0}.employee-row small{display:block;margin-top:4px}.employee-entry>form:last-child{margin-top:8px}.studio-page .admin-panel{display:none}
.password-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end;margin-top:16px}.password-form label{margin:0}.password-form button{align-self:end}
.assignment-card{padding:26px}.assignment-user{padding:24px 0;border-top:1px solid #e4e7ec}.assignment-user:first-of-type{border-top:0}.assignment-user-head{display:flex;justify-content:space-between;gap:16px;align-items:start}.assignment-user h3{margin:0;font-size:19px}.assignment-user h3 span{font-size:14px;font-weight:500;color:#667085}.assignment-user-head p,.assignment-form p{margin:6px 0;color:#667085}.assignment-form{margin-top:14px}.channel-options{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.channel-option{display:flex;align-items:center;gap:11px;width:auto;margin:0;padding:14px 20px;border:1px solid #dfe4eb;border-radius:999px;background:#fff;font-weight:500;cursor:pointer}.channel-option:has(input:checked){border-color:#8dbcf2;background:#eff7ff}.channel-option input{display:inline-block;width:20px;height:20px;margin:0;accent-color:#065fd4}.assignment-form>.quiet{border-radius:999px;background:#f2f4f7;border:0;color:#171717}
.approval-form{display:flex;align-items:end;gap:12px;margin-top:14px}.approval-form label{margin:0;min-width:230px}
.account-fold{margin-top:16px;border:1px solid #e4e7ec;border-radius:12px;background:#fff}.account-fold summary{cursor:pointer;list-style:none;padding:16px 18px;font-size:18px;font-weight:750;display:flex;align-items:center;justify-content:space-between}.account-fold summary::-webkit-details-marker{display:none}.account-fold summary::after{content:'⌄';color:#667085;order:2}.account-fold[open] summary::after{transform:rotate(180deg)}.account-fold summary span{margin-left:auto;margin-right:12px;border-radius:999px;padding:2px 9px;background:#eef4ff;color:#175cd3;font-size:13px}.account-fold-body{padding:0 18px 8px}
.upload-queue{position:fixed;left:28px;bottom:28px;z-index:20;width:min(390px,calc(100vw - 32px));background:#fff;border:1px solid #dbe6f4;border-radius:18px;box-shadow:0 18px 42px rgba(16,40,80,.2);overflow:hidden}.queue-head{height:58px;padding:0 14px 0 18px;display:flex;align-items:center;gap:12px;cursor:move;border-bottom:1px solid #edf1f6}.queue-head strong{font-size:18px}.queue-head>span{margin-left:auto;color:#667085}.queue-head div{display:flex;gap:7px}.queue-head button{width:32px;height:32px;padding:0;border-radius:50%;font-size:20px;line-height:1}.queue-head button:first-child{background:#eff6ff;color:#065fd4}.queue-body{max-height:390px;overflow:auto}.queue-task{padding:13px 18px;border-top:1px solid #eef1f5}.queue-task:first-child{border-top:0}.queue-task-title{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.queue-task-meta{display:flex;gap:7px;justify-content:space-between;color:#667085;font-size:13px;margin-top:6px}.queue-task .progress{min-width:0;margin:8px 0 6px}.queue-task .error{font-size:12px;display:block;margin-top:5px}.queue-task button{margin-top:7px;padding:5px 10px;font-size:12px}.queue-empty{padding:24px 18px;margin:0;color:#667085}.upload-queue.minimized{width:72px;height:72px;border-radius:50%;overflow:visible;cursor:pointer;background:linear-gradient(135deg,#065fd4,#59a7ff);color:#fff;display:grid;place-items:center;border:0}.upload-queue.minimized .queue-head{padding:0;border:0;height:auto;cursor:pointer}.upload-queue.minimized .queue-head strong,.upload-queue.minimized .queue-head div,.upload-queue.minimized .queue-body{display:none}.upload-queue.minimized .queue-head>span{margin:0;color:#fff;font-weight:800;font-size:13px}.upload-queue.minimized::before{content:'队列';position:absolute;top:-18px;font-size:11px;color:#065fd4;background:#fff;border-radius:999px;padding:2px 6px;box-shadow:0 2px 8px rgba(20,50,90,.12)}
.upload-queue{z-index:9999}.queue-v2{display:flex;flex-direction:column;width:min(420px,calc(100vw - 44px));height:min(470px,calc(100vh - 44px));left:22px;top:auto;bottom:22px;border:1px solid rgba(205,220,240,.9);border-radius:24px;background:rgba(255,255,255,.96);box-shadow:0 24px 70px rgba(25,53,94,.2),0 2px 10px rgba(31,72,125,.08);backdrop-filter:blur(20px);overflow:hidden;transform-origin:46px calc(100% - 46px);will-change:left,top,width,height,border-radius,transform,opacity}.queue-v2.queue-transitioning{transition:left .34s cubic-bezier(.2,.78,.2,1),top .34s cubic-bezier(.2,.78,.2,1),width .34s cubic-bezier(.2,.78,.2,1),height .34s cubic-bezier(.2,.78,.2,1),border-radius .34s ease,box-shadow .34s ease}.queue-v2 .queue-head{flex:0 0 76px;height:76px;padding:0 18px 0 22px;cursor:grab;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,251,255,.94));border-bottom:1px solid #edf2f7;display:flex;align-items:center;gap:10px}.queue-v2 .queue-head:active{cursor:grabbing}.queue-heading{min-width:0;margin-right:auto}.queue-heading strong{display:block;font-size:20px;letter-spacing:-.3px}.queue-subtitle{display:block;margin-top:3px;color:#8a98ab;font-size:12px;font-weight:500}.queue-v2 .queue-count{margin:0;color:#607089;font-size:14px;font-weight:700}.queue-refresh,.queue-orb-toggle{display:grid;place-items:center;width:42px;height:42px;padding:0;border-radius:50%;flex:0 0 42px}.queue-refresh{background:#f0f6ff;color:#1766c2;border:1px solid #deebfa;font-size:20px}.queue-refresh.is-spinning{animation:queue-spin .55s ease}.queue-orb-toggle{position:relative;background:linear-gradient(145deg,#1567d8,#0a56bd);box-shadow:0 8px 18px rgba(12,91,197,.25);font-size:22px}.queue-orb-toggle::before{content:'';position:absolute;inset:7px;border:1px solid rgba(255,255,255,.28);border-radius:50%}.queue-orb-toggle span{position:relative;line-height:1;transform:translateY(-1px)}@keyframes queue-spin{to{transform:rotate(360deg)}}.queue-v2 .queue-body{flex:1;min-height:0;max-height:none;overflow:auto;padding:6px 0 12px;scrollbar-width:thin;scrollbar-color:#c7d4e5 transparent}.queue-v2 .queue-task{padding:15px 22px;border-top:1px solid #edf1f6}.queue-v2 .queue-task:first-child{border-top:0}.queue-task-top{display:flex;align-items:start;gap:12px}.queue-v2 .queue-task-title{flex:1;font-size:15px}.queue-percent{color:#4c5d75;font-size:14px}.queue-v2 .queue-task-meta{margin-top:6px}.queue-v2 .queue-task-meta em{font-style:normal;max-width:50%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.queue-v2 .progress{height:7px;margin:10px 0 4px}.queue-v2 .queue-cancel{margin-top:10px}.queue-v2 .queue-empty{display:grid;place-items:center;height:100%;min-height:180px;color:#8996a8}.queue-orb-face{display:none}.queue-v2.is-orb{display:block;width:82px;height:82px;border-radius:50%;overflow:hidden;cursor:grab;isolation:isolate;background:radial-gradient(circle at 30% 22%,rgba(255,255,255,.9) 0 5%,rgba(158,202,255,.35) 7%,transparent 28%),linear-gradient(145deg,#2779e6,#0c5fcf 68%,#084ba9);border:1px solid rgba(255,255,255,.85);box-shadow:0 18px 42px rgba(15,79,168,.32),inset 0 1px 1px rgba(255,255,255,.72),inset 0 -14px 26px rgba(3,52,126,.2);touch-action:none}.queue-v2.is-orb:active{cursor:grabbing}.queue-v2.is-orb .queue-head,.queue-v2.is-orb .queue-body{display:none}.queue-v2.is-orb .queue-orb-face{position:absolute;inset:0;z-index:3;display:grid;place-items:center;color:#fff;text-align:center}.orb-label{position:absolute;top:19px;font-size:10px;letter-spacing:1px;opacity:.78}.orb-count{margin-top:17px;font-size:15px;text-shadow:0 1px 5px rgba(0,40,100,.3)}.queue-orb-face i{position:absolute;inset:8px;border-radius:50%;border:1px solid rgba(255,255,255,.22);box-shadow:inset 0 0 14px rgba(255,255,255,.08)}.queue-v2.is-orb:hover{box-shadow:0 22px 48px rgba(15,79,168,.38),inset 0 1px 1px rgba(255,255,255,.72),inset 0 -14px 26px rgba(3,52,126,.2)}.queue-v2.is-orb::after{content:'';position:absolute;z-index:1;left:0;right:0;bottom:0;height:0;opacity:0;pointer-events:none}.queue-v2.is-orb.orb-success::after{background:linear-gradient(180deg,#78efaf,#12a05d);animation:queue-v2-liquid 3.1s cubic-bezier(.22,.75,.22,1) both}.queue-v2.is-orb.orb-error::after{background:linear-gradient(180deg,#ff9b9b,#db304a);animation:queue-v2-liquid 3.1s cubic-bezier(.22,.75,.22,1) both}@keyframes queue-v2-liquid{0%{height:0;opacity:0}12%{opacity:.96}60%{height:100%;opacity:.96}80%{height:100%;opacity:.7}100%{height:100%;opacity:0}}@media(prefers-reduced-motion:reduce){.queue-v2.queue-transitioning,.queue-v2.is-orb::after{transition:none;animation:none}}
.queue-v2.is-orb{width:62px;height:62px;-webkit-user-select:none;user-select:none;background:linear-gradient(145deg,#1d6ed9,#0b55b7);border:1px solid rgba(255,255,255,.82);box-shadow:0 12px 28px rgba(20,75,150,.26),inset 0 1px 1px rgba(255,255,255,.5),inset 0 -8px 15px rgba(4,48,111,.14)}.queue-v2.is-orb::before{content:'';position:absolute;inset:4px;z-index:2;border-radius:50%;background:conic-gradient(#b9dcff 0 var(--queue-angle,0deg),rgba(255,255,255,.2) var(--queue-angle,0deg) 360deg);-webkit-mask:radial-gradient(circle,transparent 63%,#000 65%);mask:radial-gradient(circle,transparent 63%,#000 65%);pointer-events:none}.queue-v2.is-orb .queue-orb-face{inset:0}.queue-v2.is-orb .orb-label{display:none}.queue-v2.is-orb .orb-count{margin:0;font-size:13px;font-weight:750;letter-spacing:.1px}.queue-v2.is-orb .queue-orb-face i{inset:8px;border-color:rgba(255,255,255,.16);box-shadow:inset 0 0 10px rgba(255,255,255,.06)}.queue-v2.is-orb:hover{box-shadow:0 15px 32px rgba(20,75,150,.31),inset 0 1px 1px rgba(255,255,255,.5),inset 0 -8px 15px rgba(4,48,111,.14)}.queue-v2.is-dragging{cursor:grabbing!important}@media(max-width:900px){.sidebar{width:176px;flex-basis:176px}main{padding:0 18px 24px}.employee-new,.password-form{grid-template-columns:1fr 1fr}.employee-row{grid-template-columns:1fr 1fr}}
.queue-v2 .queue-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto}.queue-v2 .queue-heading{margin-right:0;margin-left:auto;text-align:right}.queue-v2 .queue-refresh,.queue-v2 .queue-orb-toggle{width:36px;height:36px;flex-basis:36px;border-radius:50%;box-shadow:none}.queue-v2 .queue-refresh{font-size:17px;background:#f3f7fc;border:1px solid #e1e9f3;color:#2869b8}.queue-v2 .queue-orb-toggle{font-size:19px;background:#1264cf;border:1px solid #1264cf;box-shadow:0 5px 12px rgba(18,100,207,.2)}.queue-v2 .queue-orb-toggle::before{display:none}.queue-v2 .queue-orb-toggle span{transform:translateY(-1px)}@media(max-width:700px){.app-shell{display:block}.sidebar{position:static;width:auto;height:auto;display:flex;align-items:center;gap:4px;padding:10px;border-bottom:1px solid #e5e7eb}.sidebar-user{display:none}.sidebar a{margin:0;padding:8px 10px}.grid{grid-template-columns:1fr}.employee-new,.employee-row,.password-form{grid-template-columns:1fr}.log-console{margin:16px;min-height:240px;padding:15px}.log-console li{grid-template-columns:1fr}.log-console time{display:block}table{font-size:13px}.history{overflow:auto}main{padding:0 14px 22px}header{padding:0 14px}}
.queue-v2:not(.is-orb) .queue-head{order:2;border-top:1px solid #edf2f7;border-bottom:0;background:linear-gradient(0deg,rgba(255,255,255,.98),rgba(248,251,255,.94))}
.queue-v2:not(.is-orb) .queue-body{order:1;flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain}
.workspace-panel-frame{position:fixed;z-index:7000;top:0;right:0;bottom:0;left:218px;width:calc(100vw - 218px);height:100vh;border:0;background:#f7f8fa}
html.embedded-workspace .sidebar{display:none!important}
html.embedded-workspace .app-shell{display:block!important}
html.embedded-workspace .page-shell{width:100%!important;min-height:100vh}
@media(max-width:900px){.workspace-panel-frame{left:176px;width:calc(100vw - 176px)}}
@media(max-width:700px){.workspace-panel-frame{left:0;top:61px;width:100vw;height:calc(100vh - 61px)}}
.upload-submit-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.queue-v2 .queue-task-speed{display:block;margin-left:auto;color:#1766c2;font-size:12px;font-weight:650;line-height:28px;text-align:right}.queue-v2 .queue-task-speed[hidden]{display:none}.queue-v2.is-orb .orb-count{position:absolute;top:19px;margin:0;line-height:18px}.queue-v2.is-orb .orb-speed{position:absolute;top:37px;max-width:50px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(255,255,255,.9);font-size:8px;font-weight:650;line-height:11px;text-shadow:0 1px 4px rgba(0,40,100,.28)}
.queue-v2 .queue-task-actions{display:flex;align-items:center;gap:8px;margin-top:10px}.queue-v2 .queue-task-actions button{margin-top:0}.queue-v2 .queue-retry{padding:5px 10px;font-size:12px;background:#1766c2;color:#fff;border-color:#1766c2}.queue-v2 .queue-retry[hidden]{display:none}
