:root{font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:#1f2937;background:#f5f7fa}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #d2d9e2;background:white;border-radius:8px;padding:9px 13px;color:#1f2937}button:hover{border-color:#2563eb;color:#1d4ed8}button.primary{background:#1559a6;color:white;border-color:#1559a6}button.danger{color:#b42318}.app{display:flex;min-height:100vh}.sidebar{width:224px;background:#10243a;color:#dce8f5;flex-shrink:0;padding:22px 12px}.brand{font-weight:800;font-size:19px;padding:4px 10px 24px;color:white}.brand small{display:block;font-size:11px;letter-spacing:.1em;color:#8fb2d6;margin-top:4px}.nav{width:100%;text-align:left;background:transparent;color:#dce8f5;border:0;margin:2px 0;padding:11px 14px}.nav.active,.nav:hover{background:#1d4265;color:white}.main{flex:1;min-width:0}.top{background:white;border-bottom:1px solid #e4e9ef;padding:14px 26px;display:flex;justify-content:space-between;align-items:center;gap:12px}.content{max-width:1500px;margin:auto;padding:24px}.title{font-size:25px;margin:0 0 5px}.sub{color:#687587;font-size:13px;margin:0 0 22px}.badge{display:inline-block;border-radius:20px;background:#e8eef6;color:#37526d;padding:3px 8px;font-size:12px;white-space:nowrap}.badge.demo{background:#fff2ca;color:#895f00}.badge.bad{background:#fee4e2;color:#b42318}.badge.good{background:#dcfce7;color:#166534}.muted{color:#718096}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px;margin-bottom:20px}.card{background:white;border:1px solid #e3e8ef;border-radius:12px;padding:18px;text-align:left;box-shadow:0 2px 8px #0c243908}.card .number{font-size:28px;font-weight:750;display:block;margin-top:8px}.card.alert{border-left:4px solid #e59824}.panel{background:white;border:1px solid #e3e8ef;border-radius:12px;margin:0 0 18px;padding:18px;overflow:hidden}.panel h2{font-size:17px;margin:0 0 14px}.toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.toolbar input,.toolbar select{min-width:180px}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{padding:10px 9px;text-align:left;border-bottom:1px solid #e9edf2;vertical-align:top;white-space:nowrap}th{background:#f7f9fc;color:#59677a;font-weight:650;cursor:pointer}tr:hover td{background:#fafcff}.link{background:none;border:none;padding:0;color:#1559a6;text-decoration:underline}.empty{padding:32px;text-align:center;color:#718096}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.field{display:flex;flex-direction:column;gap:5px;font-size:13px;color:#526175}.field input,.field select,.field textarea,.toolbar input,.toolbar select{border:1px solid #cbd5e1;border-radius:7px;padding:9px;background:white;color:#1f2937;min-width:0}.field textarea{min-height:74px}.span2{grid-column:span 2}.modalback{position:fixed;inset:0;background:#0c1c31aa;display:flex;justify-content:flex-end;z-index:10}.modal{height:100%;width:min(720px,100%);background:white;overflow:auto;padding:24px;box-shadow:-8px 0 24px #0002}.modal h2{margin:0 0 12px}.modal .actions{position:sticky;bottom:-24px;background:white;padding:16px 0;display:flex;gap:8px;border-top:1px solid #e4e9ef}.linebox{border:1px solid #dce3eb;padding:12px;border-radius:9px;margin:10px 0}.statusline{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.notice{padding:11px 14px;border-radius:8px;background:#e8f3ff;color:#214d75;margin:10px 0}.error{background:#fff0ee;color:#a33025}.risk{display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px;border-bottom:1px solid #eef1f5}.risk strong{display:block}.risk small{color:#657489}.login{max-width:440px;margin:11vh auto;background:white;border-radius:16px;padding:34px;box-shadow:0 15px 50px #10243a1a}.login input{width:100%;margin:5px 0 14px}.login .primary{width:100%;margin-top:12px}.mobile-nav{display:none}@media(max-width:800px){.sidebar{display:none}.mobile-nav{display:flex;overflow:auto;background:#10243a;padding:6px;gap:4px}.mobile-nav .nav{width:auto;white-space:nowrap}.top{padding:12px}.content{padding:14px}.cards{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}.span2{grid-column:span 1}.modal{width:100%}th,td{white-space:normal;min-width:90px}}@media(max-width:450px){.cards{grid-template-columns:1fr 1fr}.card{padding:12px}.card .number{font-size:22px}}
/* ZEMING ERP surface: compact work tables, graphite navigation and titanium header. */
:root{--graphite:#20262d;--graphite2:#2b333c;--silver:#d6dce2;--line:#d7dde3;--blue:#1175bd;--ink:#27333e;--paper:#f2f4f6}*{box-sizing:border-box}body{background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:13px}.sidebar{width:220px;background:linear-gradient(180deg,#2e353d,#1c2229);border-right:1px solid #0d1116;padding:0 10px 20px;position:sticky;top:0;height:100vh}.sidebrand{display:flex;align-items:center;gap:10px;padding:21px 10px 22px;color:#f2f6fa;font-weight:700;font-size:15px;letter-spacing:.03em;border-bottom:1px solid #46515a}.sidebrand-mark{background:#1675bd;color:white;border:1px solid #68a9d5;padding:7px 6px;font-size:16px;font-weight:900;box-shadow:inset 0 1px #9fcbeb,0 1px 3px #111}.sidebrand small{display:block;font-size:11px;color:#aebdca;letter-spacing:0;margin-top:3px;font-weight:400}.navgroup{font-size:10px;letter-spacing:.16em;color:#8fa0ad;padding:19px 12px 8px}.nav{padding:9px 12px;margin:1px 0;border:1px solid transparent;border-radius:4px;color:#cbd4dd;font-size:13px}.nav:hover{background:#374756;color:white}.nav.active{background:linear-gradient(#167ec4,#0c659f);border-color:#4e9dd0;box-shadow:inset 0 1px #78b5dd;color:white}.sidefoot{color:#8798a7;font-size:11px;line-height:1.8;padding:20px 12px;border-top:1px solid #43505b;margin-top:25px}.top{min-height:84px;background:linear-gradient(180deg,#f9fafb 0%,#e9edf0 48%,#dbe1e5 100%);border-bottom:1px solid #b8c2ca;box-shadow:inset 0 1px white,0 2px 5px #1b283214;padding:11px 22px}.topbrand{display:flex;align-items:center;gap:15px;min-width:0}.topbrand img{width:77px;height:60px;object-fit:contain;background:#fff;border:1px solid #cad2d9;padding:3px;box-shadow:0 1px 2px #17212b1a}.topbrand strong{display:block;font-size:17px;color:#273540;white-space:nowrap}.topbrand span{display:block;color:#566879;margin-top:4px;font-size:12px;letter-spacing:.04em}.toptools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#53616e;font-size:12px}.globalbar{background:#e8ecef;border-bottom:1px solid #ccd4da;padding:8px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px}.globalbar input{width:min(460px,60vw);padding:7px 12px;background:#fff;border:1px solid #bcc9d2;border-radius:3px;box-shadow:inset 0 1px 2px #17212b14}.content{max-width:none;padding:18px 20px 50px}.title{font-size:21px;font-weight:700;margin:0 0 4px;color:#263948}.sub{margin:0 0 15px;font-size:12px}.panel{padding:13px 14px;border:1px solid var(--line);border-radius:5px;box-shadow:0 1px 2px #1422320a;margin-bottom:12px}.panel h2{font-size:14px;border-left:3px solid var(--blue);padding-left:8px;margin:0 0 11px}.toolbar{margin-bottom:10px;align-items:center}.toolbar label{display:flex;align-items:center;gap:5px;color:#5a6976}.toolbar input,.toolbar select{min-width:0;padding:7px 9px;border-radius:3px}.tablewrap{max-width:100%;overflow:auto;border:1px solid #dce2e7;max-height:540px}table{font-size:12px;min-width:max-content}th{position:sticky;top:0;z-index:1;background:linear-gradient(#f8f9fa,#e9eef2);color:#344654;border-bottom:1px solid #c8d3dc;text-shadow:0 1px white}th,td{padding:7px 9px;border-right:1px solid #e8edf1;border-bottom:1px solid #e5e9ed}tr:nth-child(even) td{background:#fafbfc}tr:hover td{background:#eff7fc}.cards{grid-template-columns:repeat(auto-fit,minmax(142px,1fr));gap:8px;margin-bottom:13px}.card{padding:11px 13px;border-radius:4px;border:1px solid #ccd6df;box-shadow:inset 0 1px white;background:linear-gradient(#fff,#f7f9fa);min-height:72px;font-size:12px}.card .number{font-size:22px;margin-top:4px;color:#24475f}.card.alert{border-left:3px solid #d58b31}.badge{border-radius:3px;border:1px solid #cbd9e4;background:#eff4f8;color:#355773;font-size:11px;padding:2px 6px}.badge.bad{border-color:#f0c8c4}.badge.good{border-color:#b9dec7}.deskstrip{display:flex;gap:20px;align-items:center;flex-wrap:wrap;border:1px solid #c6d5e0;background:linear-gradient(#fafdff,#e9f1f7);padding:10px 13px;margin:0 0 13px;border-left:3px solid var(--blue);font-size:12px}.deskstrip strong{color:#0d659f}.risk{padding:8px}.modal{width:min(760px,100%);padding:20px}.modalback{background:#111b25a8}.field input,.field select,.field textarea{border-radius:3px;padding:8px}.linebox{border-radius:4px}button{border-radius:3px;padding:7px 10px;font-size:12px}button.primary{background:linear-gradient(#2288cc,#0d6ba9);border-color:#0a619a;box-shadow:inset 0 1px #6ab4df;color:white}button:hover{border-color:#0d72af}.actionlink{display:inline-block;color:#0d70ae;padding:5px 7px;border:1px solid #c4d8e6;background:#f5fafe;border-radius:3px;text-decoration:none;margin:2px}.login{border-radius:5px;border-top:4px solid var(--blue)}.loginlogo{width:150px;height:auto;display:block;margin:0 auto 12px}.mobile-nav{display:none}@media(max-width:1100px){.toptools span:first-child{display:none}.topbrand strong{font-size:14px}.sidebar{width:190px}}@media(max-width:800px){.sidebar{display:none}.mobile-nav{display:flex;background:#252d35}.top{padding:8px 12px;min-height:66px}.topbrand img{width:55px;height:45px}.topbrand span{font-size:10px}.toptools{gap:5px}.toptools .badge{display:none}.globalbar{padding:7px 12px}.globalbar input{width:100%}.globalbar span{display:none}.content{padding:12px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.tablewrap{max-height:none}.deskstrip{gap:8px}.modal{padding:15px}}@media(max-width:460px){.toptools .primary{display:none}.topbrand strong{white-space:normal}.toptools{font-size:10px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
.sidebrand-logo{width:46px;height:40px;object-fit:contain;background:white;border:1px solid #7b8a98;padding:2px;box-shadow:0 1px 3px #0004}
.searchresults{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.searchresults h2{width:100%;margin-bottom:2px}.searchresults .link,.searchresults .badge{display:inline-block;padding:5px 8px;border:1px solid #d0dce6;background:#f6fbff;text-decoration:none}

/* The transparent artwork comes directly from the original PSD layers. */
.sidebrand-logo{width:50px;height:38px;object-fit:contain;flex:none;background:none;border:0;padding:0;box-shadow:none}
.topbrand img{width:78px;height:54px;object-fit:contain;flex:none;background:none;border:0;padding:0;box-shadow:none}
.loginlogo{background:none;border:0;box-shadow:none}
@media(max-width:800px){.topbrand img{width:61px;height:44px}}
/* 保持原始透明标志与钛银标题栏融合，同时让新增导航可滚动操作。 */
.sidebar{overflow-y:auto;overscroll-behavior:contain}
.topbrand img{background:transparent;border:0;padding:0;box-shadow:none;object-fit:contain}
.source-thumb{width:56px;height:48px;object-fit:contain;border:1px solid #d4dce3;background:#fff;margin-right:3px;vertical-align:middle}.source-thumb.large{width:92px;height:76px}.tablewrap td{vertical-align:middle}.tablewrap td input[data-source-reason]{width:170px;min-width:130px;margin:3px;padding:5px}.tablewrap td select[data-source-status]{min-width:92px;padding:5px}
.direct-actionbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;position:sticky;top:0;z-index:3;background:#e8edf2;border:1px solid #bfcbd5;padding:9px;margin:0 0 12px;box-shadow:0 2px 5px #1a2d3b1c}
.direct-actionbar span{font-size:12px;color:#415a70}.direct-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.direct-field{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#526577;min-width:0}.direct-field input,.direct-field select,.direct-field textarea,.direct-line input,.direct-line select,.direct-line textarea,.direct-req input,.direct-req select,.direct-req textarea,.direct-grid>.field input{border:1px solid #bdcbd6;background:#fff;border-radius:3px;padding:7px;min-width:0;width:100%;font:inherit;color:#1f2937}.direct-field textarea{min-height:56px}.direct-grid .wide{grid-column:span 4}.direct-line{border:1px solid #c6d2db;background:#f9fbfc;margin:9px 0;padding:10px}.direct-line-head{display:flex;align-items:center;gap:10px;margin-bottom:8px;border-bottom:1px solid #dbe3e9;padding-bottom:7px}.direct-line-head strong{margin-right:auto}.direct-thumb{width:62px;height:50px;object-fit:contain;background:#fff;border:1px solid #ced8df;border-radius:2px}.direct-calc{padding:8px;background:#edf4fa;border:1px solid #d5e1ea;color:#31536c}.direct-requirements{border-top:1px solid #d6e0e6;margin-top:10px;padding-top:9px}.direct-requirements h4{margin:0 0 7px}.direct-req{display:grid;grid-template-columns:125px minmax(220px,2fr) 130px 140px 1fr 150px auto;gap:5px;align-items:start;margin-bottom:6px}.direct-req textarea{min-height:38px}.direct-line .direct-grid input[type=file]{padding:4px}.direct-grid .field{min-width:0}.direct-grid .field input{width:100%}@media(max-width:1100px){.direct-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.direct-grid .wide{grid-column:span 2}.direct-req{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.direct-grid{grid-template-columns:1fr}.direct-grid .wide{grid-column:span 1}.direct-req{grid-template-columns:1fr}.direct-actionbar{position:static}}
