:root{--ink:#273548;--muted:#7d899b;--line:#e2e7ee;--blue:#3365d9;--nav:190px}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#fff;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;font-size:14px}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer;background:#fff;border:1px solid var(--line);border-radius:6px;padding:9px 12px;white-space:nowrap}button:hover{border-color:#a9bce7;background:#f5f8ff}button:disabled{cursor:default;opacity:.55}button.primary{background:var(--blue);border-color:var(--blue);color:#fff}button.danger{color:#b65757}a{color:#3864b4;text-decoration:none}a:hover{text-decoration:underline}input,select,textarea{border:1px solid #dbe2eb;border-radius:5px;background:#fff;padding:9px 10px;min-width:0}textarea{min-height:88px;resize:vertical}input[type=checkbox]{accent-color:var(--blue);width:16px;height:16px}select{max-width:100%}.muted{color:var(--muted)}.small{font-size:12px;line-height:1.7}.loading{padding:60px;color:var(--muted)}.login{min-height:100dvh;background:#f5f7fb;display:grid;place-items:center;padding:24px}.loginbox{background:#fff;border:1px solid var(--line);border-radius:12px;padding:36px;width:420px;max-width:100%;box-shadow:0 15px 60px #1e36600a}.brand{display:flex;gap:9px;align-items:center;font-weight:700;font-size:19px}.mark{display:grid;place-items:center;background:var(--blue);color:#fff;border-radius:7px;width:30px;height:30px;font-size:18px}.loginbox h1{font-size:25px;margin:30px 0 10px}.loginbox form{margin:23px 0 18px}.loginbox label{display:block;margin:16px 0 7px;color:#67748a}.loginbox input{width:100%;height:43px}.loginbox .primary{width:100%;margin-top:23px;height:44px}.error{color:#ba5757;line-height:1.7;margin-top:12px;white-space:pre-wrap}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--nav);background:#f7f8fa;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:26px 13px;z-index:5}.sidebar .brand{padding:0 5px;font-size:18px}.org{border:1px solid var(--line);background:#fff;border-radius:6px;padding:12px 9px;margin:28px 0 20px;font-size:12px;line-height:1.7}.navlabel{color:#929daa;font-size:12px;padding:12px 10px 6px}.navbutton{display:block;text-align:left;width:100%;margin:3px 0;background:transparent;border-color:transparent;color:#64738a;font-size:14px;padding:11px 10px}.navbutton.active{background:#eaf0fd;color:#315fc1;font-weight:600}.sidebar .user{margin-top:auto;border-top:1px solid var(--line);padding:17px 5px 0;line-height:1.8}.avatar{display:inline-flex;align-items:center;justify-content:center;background:#e9effc;color:#5270a8;border-radius:50%;width:25px;height:25px;font-size:12px;margin-right:7px}.main{margin-left:var(--nav);min-height:100dvh;display:flex;flex-direction:column}.topbar{height:51px;flex-shrink:0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 26px;gap:12px}.topbar button{font-size:12px;padding:6px 10px}.right{display:flex;align-items:center;gap:9px}.content{padding:24px 26px 0;flex:1;min-width:0}.projecthead{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px}h1{font-size:23px;margin:0 0 10px;font-weight:650;letter-spacing:.2px}.meta{font-size:12px;color:#8792a2;display:flex;flex-wrap:wrap;gap:8px 20px;line-height:1.8}.actions{display:flex;gap:8px}.actions button{font-size:13px}.projectselect{border:none;background:transparent;max-width:440px;font-size:14px;color:#415673;padding:4px 0;cursor:pointer}.deadline{border:1px solid #dae4f6;background:#f5f8fe;border-radius:7px;padding:13px 17px;display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:16px}.deadline strong{font-size:22px;letter-spacing:.5px}.deadline .small{color:#7d8ba2}.enddate{display:flex;align-items:center;gap:17px;margin-top:6px}.deadline button{padding:4px 9px;font-size:12px;background:transparent}.warn{color:#b77b2c!important}.good{color:#368469!important}.tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);overflow-x:auto}.tab{border:0;border-radius:0;background:transparent;padding:15px 0;color:#7d899a;font-size:14px;flex-shrink:0}.tab.active{color:var(--blue);border-bottom:2px solid var(--blue);font-weight:600}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 0;min-height:67px;flex-wrap:wrap}.filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.toolbar input,.toolbar select,.toolbar button{font-size:13px;padding:8px 10px}.search{width:195px}.tablebox{border:1px solid var(--line);border-radius:6px;overflow:auto;max-height:calc(100dvh - 355px);min-height:260px;position:relative}table{border-collapse:separate;border-spacing:0;width:100%;font-size:14px;min-width:1140px;text-align:left}th{position:sticky;top:0;background:#f1f4f8;color:#66768e;font-size:13px;font-weight:550;z-index:2;white-space:nowrap;padding:12px 13px;border-bottom:1px solid #dce3ec;border-right:1px solid #e4e9f0}td{padding:13px;border-bottom:1px solid #edf0f4;border-right:1px solid #edf0f4;vertical-align:middle;line-height:1.7}tbody tr:last-child td{border-bottom:0}tbody tr:not(.group):hover{background:#fafcff}.group td{background:#edf2f8;color:#425572;font-weight:600;padding:10px 15px;font-size:13px}.group small{font-weight:400;color:#8a98aa;margin-left:13px}td.sequence,th.sequence{width:45px;text-align:center;font-size:12px;color:#9aa6b7}td.taskname{min-width:260px;max-width:430px}td.productname{min-width:190px;max-width:310px}td.productname strong{font-weight:600}.sub{display:block;font-size:12px;color:#8a96a6;line-height:1.75;margin-top:4px;white-space:normal;max-width:280px}.tasklink{border:0;padding:0;text-align:left;background:none;color:#3a4c66;white-space:normal;line-height:1.8}.tasklink:hover{color:var(--blue);background:none}.cellselect{border:0;background:transparent;padding:5px 1px;max-width:100px;min-width:65px;font-size:13px}.status{padding:5px 8px;border-radius:4px;display:inline-block;background:#eff2f6;color:#8a95a4;white-space:nowrap;font-size:12px}.status.blue{background:#edf3ff;color:#4a73c5}.status.green{background:#eaf6ee;color:#3b8963}.status.amber{background:#fff4df;color:#af852f}.progress{height:4px;background:#e9edf3;border-radius:3px;width:95px;margin-top:9px;overflow:hidden}.progress i{display:block;background:#6588db;height:100%}.textbutton{border:0;background:none;padding:3px 0;font-size:12px;color:#5478b4}.shipmentitem{padding:7px 0;border-bottom:1px dashed #e3e8f1;min-width:190px}.shipmentitem:last-child{border:0}.shipmentitem strong{font-size:12px;font-weight:500;display:block}.shipmentitem .sub{margin-top:1px}.tablefoot{display:flex;justify-content:space-between;align-items:center;padding:13px 0;font-size:12px;color:#8a97a8;gap:15px}.empty{padding:65px 20px;text-align:center;line-height:2;color:#8b97a7}.empty strong{display:block;color:#596c87;font-size:16px;font-weight:500}.shortcuts{margin:25px 26px 0;padding:16px 0 21px;border-top:1px solid var(--line);display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:#8d99aa}.shortcuts a{background:#f6f8fb;padding:5px 9px;border-radius:4px;color:#6c7e99}.shortcuts a.current{color:var(--blue);background:#eef3ff}.focus .sidebar{display:none}.focus .main{margin-left:0}.panel{border:1px solid var(--line);border-radius:7px;padding:20px;margin:18px 0}.panel h2{font-size:16px;margin:0 0 14px}.panel p{line-height:1.9}.summaryline{display:flex;gap:30px;padding:18px 0;flex-wrap:wrap;font-size:13px}.summaryline strong{font-size:20px;color:#425876;margin:0 5px}.sectiontitle{font-size:16px;margin:23px 0 15px}.rule{border-left:3px solid #a9bde5;background:#f7f9fd;padding:12px 16px;line-height:1.9;font-size:13px;margin:15px 0;color:#70819a}.modalback{position:fixed;inset:0;background:#1b2b4644;z-index:30;display:flex;justify-content:flex-end}.modal{width:540px;max-width:100%;height:100%;background:#fff;box-shadow:-15px 0 60px #1e344327;display:flex;flex-direction:column}.modalhead{padding:21px 25px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.modalhead h2{font-size:18px;margin:0}.modalhead button{border:0;padding:3px 8px;color:#8c98a8}.modalbody{padding:5px 25px 25px;overflow-y:auto;flex:1}.modalbody label{display:block;font-size:13px;color:#6a7b93;margin:19px 0 8px}.modalbody input:not([type=checkbox]),.modalbody select,.modalbody textarea{width:100%}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.modalfooter{border-top:1px solid var(--line);padding:15px 25px;display:flex;justify-content:flex-end;gap:10px}.modalbody .rule{font-size:12px;margin-top:20px}.checkrow{display:flex;align-items:center;gap:8px;padding:8px 0;font-size:13px}.checkrow input{width:16px!important}.checklist{border:1px solid var(--line);border-radius:5px;padding:7px 10px}.credentials{font-size:15px;word-break:break-all;border:1px solid #d8e3f7;border-radius:6px;background:#f5f8ff;padding:16px;line-height:2.1;margin-top:18px}.trace{border-left:1px solid #dce5f4;padding:0 0 20px 19px;position:relative;margin-left:7px}.trace:before{content:'';position:absolute;width:7px;height:7px;background:#7291ce;border-radius:50%;left:-4px;top:7px}.trace time{font-size:12px;color:#98a3b2}.trace p{margin:4px 0;color:#5d6f89}.files td{max-width:300px}.flash{color:#b77e2a}.shareheader{padding:20px 25px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.sharemain{padding:25px;max-width:none}.sharemain .tablebox{max-height:calc(100dvh - 275px)}.errorpage{text-align:center;margin:15vh auto;max-width:500px;padding:20px}#toast{display:none;position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#2b3e5b;color:white;padding:12px 21px;border-radius:7px;font-size:13px;z-index:80;max-width:90%;box-shadow:0 7px 30px #25355022}.listtable{min-width:850px}.stockunknown{color:#a18b61}.loginbox a{font-size:12px}.disabledhint{font-size:12px;color:#8a97a8;margin:15px 0}.pill{display:inline-block;padding:3px 7px;font-size:12px;background:#f0f3f8;border-radius:4px;margin-right:5px}.break{word-break:break-all}.syncerror{background:#fff0ec;color:#b95f45;padding:12px 20px;font-size:13px}@media(min-width:1700px){td{padding-top:16px;padding-bottom:16px}}@media(max-width:1100px){:root{--nav:163px}.content{padding:20px 18px 0}.topbar{padding:0 18px}.tabs{gap:21px}.projecthead{align-items:flex-start;flex-direction:column;gap:12px}.tablebox{max-height:calc(100dvh - 410px)}.deadline{align-items:flex-start}.shortcuts{margin-left:18px;margin-right:18px}}@media(max-width:760px){.sidebar{display:none}.main{margin-left:0}.topbar{padding:0 12px;height:auto;min-height:52px;flex-wrap:wrap;padding-top:8px;padding-bottom:8px}.topbar .right{gap:5px}.content{padding:18px 12px 0}h1{font-size:20px}.actions{flex-wrap:wrap}.deadline{flex-direction:column;gap:8px;padding:12px}.enddate{flex-wrap:wrap;gap:10px}.deadline strong{font-size:20px}.tabs{gap:21px}.tab{font-size:13px}.tablebox{max-height:calc(100dvh - 435px);min-height:280px}.tablefoot{align-items:flex-start;line-height:1.8}.tablefoot span:last-child{max-width:170px}.search{width:160px}.shortcuts{margin:18px 12px 0;gap:7px}.formgrid{grid-template-columns:1fr}.modalhead,.modalbody,.modalfooter{padding-left:18px;padding-right:18px}.sharemain{padding:18px 12px}.shareheader{padding:15px 12px;font-size:12px}.sharemain .tablebox{max-height:calc(100dvh - 320px)}.projectselect{max-width:260px}.summaryline{gap:12px}.meta{gap:5px 12px}}

.producttable{table-layout:fixed;min-width:1080px}.producttable th:first-child,.producttable td:first-child{width:230px}.producttable td{overflow-wrap:anywhere}.producttable th:last-child{width:185px}.producttable th:nth-child(2){width:85px}.deadline>.small{max-width:50%;font-size:12px}.tablebox{scrollbar-width:thin;scrollbar-color:#bdc8da #f6f8fb}@media(max-width:760px){.deadline>.small{max-width:none}.producttable th:first-child,.producttable td:first-child{width:160px;position:sticky;left:0;background:#fff;z-index:1;box-shadow:2px 0 3px #23354b09}.producttable th:first-child{background:#f1f4f8;z-index:3}.sharemain .toolbar:after{content:"左右滑动表格，查看制作进度与运单";color:#8b99aa;font-size:12px}.sharemain .toolbar{min-height:42px;padding:12px 0}.sharemain .toolbar .filters:empty{display:none}}
