:root{color-scheme:light;--ink:#1d263b;--muted:#788198;--line:#e6eaf2;--blue:#3859ea;--green:#168355;--red:#d35254;--surface:#fff;--bg:#f5f7fb;font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #9caeff;outline-offset:3px}input:focus,textarea:focus{outline:2px solid #b9c5ff;border-color:var(--blue)}button{border:0}h1,h2,h3,p{margin:0}.header{background:#fff;border-bottom:1px solid var(--line)}.header-inner{max-width:1328px;padding:22px 40px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:12px;font-size:1.05rem;font-weight:700;letter-spacing:.02em}.brand-mark{width:42px;height:42px;background:var(--blue);color:#fff;border-radius:13px;display:grid;place-items:center;font-size:1.2rem;box-shadow:0 4px 12px #3859ea22}.brand-sub{display:block;font-size:.75rem;font-weight:400;letter-spacing:.12em;color:var(--muted);margin-top:4px}.header-right{display:flex;align-items:center;gap:24px}.sync{font-size:.8125rem;color:var(--muted);display:flex;align-items:center;gap:7px}.sync:before{content:"";width:6px;height:6px;border-radius:50%;background:#8c96ad}.sync.connected:before{background:#168355}.sync.error{color:var(--red)}.sync.error:before{background:var(--red)}.button{min-height:44px;padding:11px 19px;border-radius:9px;font-weight:600;font-size:.875rem;display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;transition:background .15s}.button.primary{color:white;background:var(--blue);box-shadow:0 3px 9px #3859ea16}.button.primary:hover{background:#2947cb}.button.secondary{background:#fff;border:1px solid var(--line);color:#4b566c}.button.secondary:hover{background:#f5f7fb}.button.danger{background:#d35254;color:white}.button.success{background:var(--green);color:#fff}.text-button{background:transparent;color:var(--blue);font-size:.875rem;min-height:36px;padding:5px 8px}.text-button.danger-text{color:var(--red)}.workspace{max-width:1328px;padding:44px 40px 24px;margin:auto}.intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:30px}.eyebrow{font-size:.6875rem;letter-spacing:.16em;font-weight:700;color:var(--blue);margin-bottom:11px}h1{font-size:1.75rem;letter-spacing:-.025em;font-weight:650;line-height:1.4}.intro-note{font-size:.875rem;color:var(--muted);margin-top:9px;line-height:1.6}.date{text-align:right;font-size:.8125rem;color:var(--muted);line-height:1.8}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:32px}.stat{position:relative;text-align:left;padding:23px 25px 21px;background:#fff;border:1px solid var(--line);border-radius:13px;min-width:0;transition:border-color .15s,box-shadow .15s}.stat:hover,.stat.active{border-color:#c9d3ff;box-shadow:0 3px 15px #3859ea05}.stat.active:after{content:"";position:absolute;top:22px;right:23px;width:6px;height:6px;border-radius:50%;background:var(--blue)}.stat>span:first-child{font-size:.875rem;color:#657188}.stat strong{display:block;font-size:2.2rem;letter-spacing:-.04em;font-weight:650;margin:12px 0 13px;line-height:1}.stat-foot{color:#8a93a5;font-size:.75rem;display:flex;align-items:center;gap:7px}.complete-stat strong{color:var(--green)}.dot{width:6px;height:6px;border-radius:50%;display:inline-block;flex-shrink:0}.dot.blue{background:var(--blue)}.dot.red{background:var(--red)}.dot.green{background:var(--green)}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px}.tabs{display:flex;gap:5px;padding:4px;border:1px solid var(--line);border-radius:10px;background:#eef1f7;flex-shrink:0}.tabs button{padding:9px 20px;border-radius:7px;background:transparent;color:#707b91;font-size:.875rem;white-space:nowrap}.tabs button.active{color:var(--blue);background:#fff;box-shadow:0 1px 5px #1827490c}.search{height:44px;display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:#fff;border-radius:9px;padding:0 13px;max-width:360px;width:100%;color:#8b96a9}.search>span{font-size:1.6rem;line-height:1}.search input{width:100%;border:0;min-width:0;background:transparent;font-size:.875rem;height:38px;color:var(--ink)}.search input:focus{outline:none}.search:focus-within{outline:2px solid #bcc7fb}.search input::placeholder{color:#9aa2b2}.list-caption{display:flex;align-items:center;justify-content:space-between;color:#8590a4;font-size:.75rem;margin:18px 0 11px}.list-caption button{font-size:.75rem}.order-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.order-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden;display:flex;flex-direction:column;min-width:0;transition:box-shadow .18s,border-color .18s}.order-card:hover{border-color:#c8d0e2;box-shadow:0 6px 20px #1d263b06}.order-card.completed{background:#f0faf4;border-color:#b9dfca}.order-card.failed{border-color:#eed0d2}.card-main{padding:23px 23px 20px;background:none;color:inherit;text-align:left;flex:1;width:100%}.card-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:16px}.order-number{font-size:.6875rem;font-weight:600;color:#959eb0;letter-spacing:.05em}.badge{display:inline-flex;gap:5px;align-items:center;border-radius:5px;padding:4px 8px;font-size:.6875rem;font-weight:600;white-space:nowrap;background:#eef2ff;color:var(--blue)}.badge.failed{background:#fff0ef;color:#c95054}.badge.completed{background:#dff1e6;color:var(--green)}.card-main h3{font-size:1.0625rem;font-weight:650;line-height:1.55;overflow-wrap:anywhere;margin-bottom:6px}.subject{font-size:.8125rem;color:#8b94a6;overflow-wrap:anywhere;line-height:1.6}.card-stage{margin-top:23px;display:flex;align-items:center;justify-content:space-between;gap:8px}.stage-label{font-size:.8125rem;color:#5a677f;font-weight:500}.stage-count{font-size:.6875rem;color:#939bad}.progress-bars{display:flex;gap:4px;margin-top:11px}.progress-bars i{height:4px;border-radius:3px;flex:1;background:#edf0f6}.progress-bars i.passed{background:var(--blue)}.progress-bars i.current{background:#b9c5fa}.completed .progress-bars i.passed{background:#29a76d}.failed .progress-bars i.current{background:#df8789}.completed .stage-label{color:var(--green)}.card-bottom{border-top:1px solid #edf0f6;display:flex;justify-content:space-between;align-items:center;padding:12px 18px;gap:8px}.completed .card-bottom{border-color:#d7edde}.updated{font-size:.6875rem;color:#939bad}.card-bottom .text-button{font-size:.75rem;min-height:30px}.empty{grid-column:1/-1;border:1px dashed #d9dfeb;border-radius:13px;min-height:270px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;background:#ffffff80;padding:30px;text-align:center}.empty-symbol{font-size:1.5rem;color:#8294cf;background:#eaf0ff;border-radius:12px;width:48px;height:48px;display:grid;place-items:center}.empty h2{font-size:1rem;font-weight:600;color:#56627a}.empty p{font-size:.875rem;color:#919bb0;line-height:1.6}.empty .button{margin-top:5px}footer{padding:28px 0 10px;text-align:center;font-size:.75rem;color:#9aa3b4;line-height:1.7}footer span{padding:0 10px}dialog{border:1px solid var(--line);border-radius:16px;color:var(--ink);padding:0;background:white;box-shadow:0 20px 70px #172b5630;width:calc(100% - 32px);max-height:calc(100dvh - 40px);overscroll-behavior:contain}dialog::backdrop{background:#18244166;backdrop-filter:blur(3px)}.form-dialog{max-width:600px}.form-dialog form,.action-dialog form{padding:30px}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.dialog-heading h2{font-size:1.35rem;font-weight:650;overflow-wrap:anywhere}.dialog-heading .eyebrow{margin-bottom:8px}.icon-button{width:36px;height:36px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:#f3f5f9;border-radius:8px;font-size:1.5rem;color:#788499}.form-tip{color:#8993a5;font-size:.8125rem;margin-top:12px;line-height:1.6}.form-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:24px}label{font-size:.875rem;color:#667187;display:block}label.full{grid-column:1/-1}.required{color:var(--red)}.form-fields input,.form-fields textarea,#failure-reason{display:block;width:100%;margin-top:8px;border:1px solid #dde3ed;background:#fbfcfe;border-radius:8px;padding:11px 12px;min-height:44px;color:var(--ink);font-size:.875rem;resize:vertical;line-height:1.5}.form-fields input::placeholder,.form-fields textarea::placeholder,#failure-reason::placeholder{color:#a0a8b7}.password-input{display:flex;align-items:center;position:relative}.password-input input{padding-right:63px}.password-input button{position:absolute;right:6px;top:12px;font-size:.75rem}.form-error{font-size:.8125rem;color:var(--red);line-height:1.6;white-space:pre-wrap}.form-error:not(:empty){margin-top:16px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}.action-dialog{max-width:460px}.action-dialog .dialog-heading h2{font-size:1.15rem;line-height:1.5}.action-dialog #action-description{font-size:.875rem;color:#7b869b;line-height:1.8;margin:16px 0 20px}.action-dialog #reason-label[hidden]{display:none}.detail-dialog{max-width:1000px}.detail-header{padding:27px 30px;border-bottom:1px solid var(--line)}.detail-header.completed{background:#f0faf4}.detail-meta{display:flex;align-items:center;gap:10px;margin-bottom:12px}.detail-header h2{line-height:1.5}.detail-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}.progress-panel{padding:28px 30px;border-right:1px solid var(--line)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.section-heading h3{font-size:.9375rem;font-weight:650}.section-heading>span{font-size:.75rem;color:#8c96a9}.step-row{position:relative;display:flex;gap:14px;padding-bottom:24px}.step-row:not(:last-child):before{content:"";position:absolute;width:1px;left:15px;top:33px;bottom:1px;background:#e5eaf3}.step-circle{flex-shrink:0;position:relative;z-index:1;display:grid;place-items:center;height:32px;width:32px;border-radius:50%;border:1px solid #e6eaf2;background:#f8f9fc;font-size:.75rem;color:#9ca5b6}.step-row.passed .step-circle{background:#edf1ff;border-color:#dce4ff;color:var(--blue)}.step-row.current .step-circle{background:var(--blue);color:#fff;border-color:var(--blue);box-shadow:0 0 0 4px #f0f3ff}.step-row.failed .step-circle{background:#d35254;border-color:#d35254;box-shadow:0 0 0 4px #fff1f1}.detail-header.completed~.detail-layout .step-row.passed .step-circle{background:#e6f5ed;color:var(--green);border-color:#cce8d8}.step-content{flex:1;min-width:0;padding-top:4px}.step-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.step-top h4{font-size:.875rem;font-weight:550;margin:0;line-height:1.5}.step-row.pending:not(.current) h4{color:#969fb0}.step-status{font-size:.6875rem;color:#9ca4b4;white-space:nowrap}.step-row.passed .step-status{color:var(--blue)}.step-row.failed .step-status{color:var(--red)}.step-time{font-size:.6875rem;color:#9aa3b4;margin-top:5px}.step-hint{font-size:.8125rem;color:#8a94a7;line-height:1.6;margin-top:8px}.step-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.step-controls .button{min-height:36px;padding:8px 12px;font-size:.75rem}.reason-box{margin-top:10px;color:#bc565a;background:#fff3f2;border:1px solid #f5dcda;border-radius:7px;font-size:.8125rem;line-height:1.7;padding:10px 12px;overflow-wrap:anywhere;white-space:pre-wrap}.reopen-button{font-size:.6875rem;min-height:27px;padding:2px 0;color:#97a1b5;background:none}.client-panel{padding:28px 28px;background:#fcfdff}.client-panel .section-heading{margin-bottom:20px}.client-panel .section-heading .text-button{font-size:.75rem;min-height:30px}.info-item{margin-top:18px}.info-item>label{font-size:.75rem;color:#8f99ac}.info-value{display:flex;align-items:flex-start;gap:10px;justify-content:space-between;margin-top:6px}.info-text{font-size:.875rem;line-height:1.6;overflow-wrap:anywhere;min-width:0;white-space:pre-wrap}.info-controls{display:flex;gap:2px;flex-shrink:0}.info-controls .text-button{font-size:.6875rem;min-height:27px;padding:3px 5px}.notes-block{border-top:1px solid var(--line);margin-top:23px;padding-top:20px}.notes-block h4,.history-block h4{margin:0 0 10px;font-size:.8125rem;font-weight:550;color:#6c7890}.notes-block p{font-size:.8125rem;line-height:1.8;color:#838da1;white-space:pre-wrap;overflow-wrap:anywhere}.history-block{margin-top:26px;padding-top:20px;border-top:1px solid var(--line)}.history-list{max-height:200px;overflow:auto;padding-right:5px}.history-event{position:relative;padding-left:13px;margin-bottom:13px;line-height:1.7;overflow-wrap:anywhere}.history-event:before{content:"";position:absolute;left:0;top:9px;width:4px;height:4px;border-radius:50%;background:#bdc7d9}.history-event p{font-size:.75rem;color:#7c879b;white-space:pre-wrap}.history-event time{font-size:.6875rem;color:#a1a9b8}.detail-footer{padding:14px 27px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px}.detail-footer .text-button{font-size:.75rem}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);padding:13px 22px;background:#253149;color:#fff;font-size:.875rem;line-height:1.6;border-radius:10px;box-shadow:0 5px 24px #1d263b30;z-index:100;max-width:calc(100vw - 32px);width:max-content;overflow-wrap:anywhere}.toast[hidden]{display:none}.toast.error{background:#a94e55}[hidden]{display:none!important}body:has(dialog[open]){overflow:hidden}@media(min-width:1500px){.workspace,.header-inner{max-width:1450px}.order-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1050px){.order-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace{padding:35px 28px 20px}.header-inner{padding:18px 28px}.stats{gap:12px}.stat{padding:20px}.detail-dialog{max-width:850px}}@media(max-width:700px){.header-inner{padding:15px 18px;gap:9px}.brand{font-size:.9375rem;gap:9px}.brand-mark{width:36px;height:36px;border-radius:11px;font-size:1rem}.brand-sub{font-size:.625rem}.header-right{gap:8px}.header-right .sync{display:none}.header-right .button{font-size:.8125rem;padding:9px 12px;min-height:40px}.workspace{padding:28px 18px 16px}.intro{margin-bottom:22px}.intro h1{font-size:1.4rem}.intro-note{font-size:.8125rem}.intro .date{display:none}.eyebrow{margin-bottom:9px;font-size:.625rem}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:24px}.stat{padding:17px 18px}.stat>span:first-child{font-size:.8125rem}.stat strong{font-size:1.8rem;margin:11px 0 12px}.stat-foot{font-size:.6875rem}.stat.active:after{top:20px;right:17px}.toolbar{flex-direction:column;gap:14px;align-items:stretch}.tabs{justify-content:space-between}.tabs button{padding:9px 12px;flex:1;font-size:.8125rem}.search{max-width:none}.order-grid{grid-template-columns:1fr;gap:12px}.card-main{padding:20px}.card-stage{margin-top:18px}.card-meta{margin-bottom:12px}.card-main h3{font-size:1rem}.list-caption{margin:12px 0 8px}footer{font-size:.6875rem;padding-top:24px}.detail-dialog{max-width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:13px}.detail-header{padding:22px 20px}.detail-layout{grid-template-columns:1fr}.progress-panel{border-right:0;padding:23px 20px}.client-panel{border-top:1px solid var(--line);padding:23px 20px}.detail-footer{padding:12px 16px}.section-heading{margin-bottom:20px}.step-row{padding-bottom:23px}.step-top h4{font-size:.875rem}.form-dialog form,.action-dialog form{padding:23px 20px}.dialog-heading h2{font-size:1.2rem}.form-fields{grid-template-columns:1fr;gap:16px}.form-fields label{grid-column:1/-1}.dialog-actions .button{flex:1}.form-fields input,.form-fields textarea,#failure-reason{font-size:1rem}.toast{bottom:18px}.history-list{max-height:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}@media(min-width:701px) and (max-width:900px){.detail-layout{grid-template-columns:1fr}.progress-panel{border-right:0}.client-panel{border-top:1px solid var(--line)}}
