:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:#203047;background:#f5f7fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:1100px}button,input,select{font:inherit}button{cursor:pointer}.admin-shell{display:flex;min-height:100vh}.sidebar{width:246px;flex:0 0 246px;padding:28px 16px 22px;background:#12233d;color:#dbe7f6;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;padding:0 12px 38px}.brand-mark{width:38px;height:38px;border-radius:10px;background:#2f7bf3;color:#fff;display:grid;place-items:center;font-weight:800;font-size:20px}.brand strong,.brand span{display:block}.brand strong{font-size:17px;color:#fff}.brand span{margin-top:4px;color:#91a5c0;font-size:12px}nav{display:grid;gap:8px}.side-nav{max-height:calc(100vh - 160px);overflow-y:auto;padding-right:2px}.side-nav::-webkit-scrollbar{width:4px}.side-nav::-webkit-scrollbar-thumb{background:#2b4565;border-radius:4px}nav button{min-height:42px;padding:0 16px;border:0;background:transparent;color:#9db0c9;text-align:left;border-radius:8px;font-size:13px}nav button.active{background:#2e73dd;color:#fff;font-weight:700}nav button:hover{background:#203a61;color:#fff}.nav-icon{display:inline-block;width:28px;color:inherit;font-size:16px}.sidebar-note{margin-top:auto;padding:16px;border:1px solid #294361;border-radius:9px;color:#abc0da;font-size:12px}.sidebar-note small{display:block;margin-top:8px;color:#7890ae}.status-dot{display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:#42c18b}.main{flex:1;min-width:0}.topbar{height:90px;padding:22px 38px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #e6ebf3}.eyebrow{color:#7990aa;font-size:10px;letter-spacing:1.8px}.topbar h1{margin:5px 0 0;font-size:24px;color:#1c2d43}.top-actions{display:flex;align-items:center;gap:24px;color:#8999ad;font-size:13px}.user-menu{border:0;background:none;color:#42566f;display:flex;gap:8px;align-items:center}.user-avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#e8f0ff;color:#2e73dd;font-weight:800}.page-content{height:calc(100vh - 90px);overflow-y:auto;padding:34px 38px 48px;max-width:1500px}.welcome-row,.page-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:24px}.welcome-row h2,.page-heading h2{margin:0;color:#1d3048;font-size:25px}.welcome-row p,.page-heading p{margin:8px 0 0;color:#8191a6;font-size:13px}.primary-btn,.plain-btn,.text-btn{border:0;border-radius:6px}.primary-btn{padding:11px 18px;background:#2e73dd;color:#fff;box-shadow:0 5px 12px #2e73dd2b}.plain-btn{padding:10px 16px;background:#eef3f9;color:#536a85}.text-btn{padding:0;background:none;color:#2e73dd;font-size:13px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:22px}.stat-card{display:flex;align-items:center;gap:15px;padding:20px;background:#fff;border:1px solid #e4eaf2;border-radius:9px}.stat-icon{width:44px;height:44px;border-radius:10px;display:grid;place-items:center;font-size:20px}.stat-icon.blue{background:#eaf1ff;color:#2e73dd}.stat-icon.green{background:#e5f8ef;color:#1c9b68}.stat-icon.orange{background:#fff2df;color:#dd851d}.stat-icon.purple{background:#f0eaff;color:#7654db}.stat-card span,.stat-card small{display:block;color:#8090a3;font-size:12px}.stat-card strong{display:block;margin:5px 0 3px;color:#1d3048;font-size:27px}.dashboard-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:22px}.panel{padding:24px;background:#fff;border:1px solid #e4eaf2;border-radius:9px}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:22px}.panel-head h3{margin:0;color:#253952;font-size:17px}.panel-head p{margin:7px 0 0;color:#91a0b1;font-size:12px}.progress-item{padding:15px 0;border-top:1px solid #eef2f7}.project-line{display:flex;justify-content:space-between;gap:20px;font-size:13px}.project-line strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-line span{color:#2e73dd;font-weight:700}.progress-track{height:7px;margin:12px 0 8px;background:#edf1f6;border-radius:5px;overflow:hidden}.progress-track i,.table-progress i{display:block;height:100%;background:#3a83ec;border-radius:inherit}.progress-item small{color:#94a1b0;font-size:11px}.activity-item{display:flex;align-items:center;gap:11px;padding:13px 0;border-bottom:1px solid #eef2f7}.activity-item:last-child{border-bottom:0}.activity-dot{width:9px;height:9px;border-radius:50%;background:#4d8cf0}.activity-dot.inspection{background:#e89a2a}.activity-item div{flex:1;min-width:0}.activity-item strong,.activity-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-item strong{font-size:13px}.activity-item small{margin-top:5px;color:#96a3b1;font-size:11px}.activity-item em{color:#3c9b70;font-style:normal;font-size:11px}.toolbar{display:flex;gap:12px;margin-bottom:20px}.toolbar input,.toolbar select{height:38px;padding:0 12px;border:1px solid #dce4ee;border-radius:6px;color:#40546d;background:#fbfcfe}.toolbar input{width:310px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th{padding:13px 12px;text-align:left;color:#8292a7;background:#f7f9fc;font-weight:600}td{padding:16px 12px;border-bottom:1px solid #edf1f5;color:#556981;white-space:nowrap}td strong,td small{display:block}td strong{color:#263a53;font-weight:600}td small{margin-top:5px;color:#9aa7b6;font-size:11px}.table-progress{display:inline-block;width:90px;height:6px;margin-right:8px;vertical-align:middle;background:#e8edf4;border-radius:4px;overflow:hidden}.table-progress i{background:#3a83ec}.status-tag{display:inline-block;padding:5px 9px;border-radius:5px;font-size:11px}.status-tag.green{color:#23885c;background:#e5f7ee}.status-tag.orange{color:#c7791c;background:#fff2df}.table-btn{padding:4px 8px;border:0;background:none;color:#2e73dd;font-size:12px}.table-btn.danger{color:#d75a5a}.empty{padding:45px;text-align:center;color:#9aa7b6;font-size:13px}.file-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.file-card{display:flex;gap:12px;padding:16px;border:1px solid #e6ecf3;border-radius:8px}.file-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:8px;background:#edf4ff;color:#397fe0;font-size:13px}.file-card strong,.file-card small{display:block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-card strong{font-size:13px}.file-card small{margin-top:6px;color:#97a3b1;font-size:11px}.archive-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px;padding-top:22px;border-top:1px solid #edf1f5}.download-btn{padding:10px 13px;border-radius:6px;background:#eef4ff;color:#2e73dd;text-decoration:none;font-size:12px}.dialog-mask{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#0b1e3680;z-index:10}.dialog{width:560px;padding:26px;background:#fff;border-radius:10px;box-shadow:0 20px 50px #0b1e3633}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.dialog-head h3{margin:0}.dialog-head button{border:0;background:none;color:#8493a5;font-size:26px}.dialog label{display:block;margin-bottom:16px;color:#556981;font-size:12px}.dialog input,.dialog select{display:block;width:100%;height:40px;margin-top:7px;padding:0 11px;border:1px solid #dce4ee;border-radius:6px;color:#263a53;background:#fbfcfe}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.primary-btn:disabled{cursor:wait;opacity:.65;box-shadow:none}.login-page{min-height:100vh;display:grid;place-items:center;padding:42px;background:#eef3f9}.login-panel{width:min(100%,430px);padding:38px 40px 30px;background:#fff;border:1px solid #e1e8f1;border-radius:12px;box-shadow:0 20px 55px #243b5c1a}.login-brand{display:flex;align-items:center;gap:12px}.login-brand .brand-mark{flex:0 0 auto}.login-brand strong,.login-brand span{display:block}.login-brand strong{font-size:17px;color:#203047}.login-brand span{margin-top:4px;color:#91a0b2;font-size:12px}.login-heading{margin-top:42px}.login-heading .eyebrow{display:block}.login-heading h1{margin:8px 0 0;color:#1c2d43;font-size:28px}.login-heading p{margin:10px 0 0;color:#8191a6;font-size:13px;line-height:1.7}.login-form{margin-top:28px}.login-form label{display:block;margin-bottom:17px;color:#536981;font-size:13px;font-weight:600}.login-form input{display:block;width:100%;height:44px;margin-top:8px;padding:0 13px;border:1px solid #dce4ee;border-radius:6px;outline:0;color:#263a53;background:#fbfcfe;font-size:14px;transition:border-color .2s,box-shadow .2s}.login-form input:focus{border-color:#3d83e8;box-shadow:0 0 0 3px #3d83e81a;background:#fff}.login-form input::placeholder{color:#a8b4c1}.login-btn{width:100%;height:44px;margin-top:5px;font-weight:700}.login-error{margin:2px 0 14px;padding:10px 12px;border:1px solid #f2caca;border-radius:6px;color:#c55757;background:#fff4f4;font-size:12px;line-height:1.5}.login-footnote{display:block;margin-top:28px;text-align:center;color:#a2adba;font-size:11px}@media (max-width:600px){body{min-width:0}.login-page{padding:22px}.login-panel{padding:30px 24px 25px}.login-heading{margin-top:32px}}@media (max-width:1200px){.dashboard-grid{grid-template-columns:1fr}.stats,.file-grid{grid-template-columns:repeat(2,1fr)}}.head-actions{display:flex;gap:10px}.config-panel{margin-bottom:20px}.config-panel td input,.config-panel td select{height:34px;padding:0 10px;border:1px solid #dce4ee;border-radius:6px;color:#40546d;background:#fbfcfe;font-size:12px}.config-panel td input{width:190px}.config-panel td input.mini-input{width:60px;text-align:center}.config-panel .parts-cell{white-space:normal}.check-inline{display:inline-flex;align-items:center;gap:5px;margin-right:12px;color:#556981;font-size:12px}.check-inline input{width:auto;height:auto}.status-tag.blue{color:#2e73dd;background:#eaf1ff}.risk-panel{margin-top:20px}.record-dialog{width:760px;max-height:calc(100vh - 64px);overflow-y:auto}.record-summary{display:grid;gap:6px;margin-bottom:18px}.record-summary span{color:#8b98a9;font-size:12px}.record-details{border:1px solid #e5ebf3;border-radius:6px;overflow:hidden;background:#fbfcfe}.record-detail-row{display:grid;grid-template-columns:170px minmax(0,1fr);gap:18px;padding:11px 14px;border-bottom:1px solid #edf1f5;font-size:12px;line-height:1.6}.record-detail-row:last-child{border-bottom:0}.record-detail-row span{color:#8493a5}.record-detail-row strong{color:#344a63;font-weight:500;white-space:pre-wrap;word-break:break-word}.record-details-empty{padding:28px;text-align:center;color:#9aa7b6;background:#f7f9fc;border:1px solid #e5ebf3;border-radius:6px;font-size:12px}.record-images{margin-top:18px}.detail-section-title{display:block;margin-bottom:10px;color:#536981;font-size:12px;font-weight:600}.record-image-grid{display:flex;flex-wrap:wrap;gap:10px}.record-image-grid a{display:block;width:86px;height:70px;overflow:hidden;border-radius:6px;background:#eef2f7}.record-image-grid img{width:100%;height:100%;object-fit:cover}.login-help{margin:16px 0 0;color:#8291a5;text-align:center;font-size:12px;line-height:1.6}.toast-stack{position:fixed;top:22px;right:24px;z-index:100;display:grid;gap:10px;width:min(360px,calc(100vw - 32px));pointer-events:none}.toast{display:flex;align-items:center;gap:10px;min-height:48px;padding:12px 13px 12px 12px;border:1px solid #dce5f0;border-radius:9px;background:#fff;box-shadow:0 14px 34px #152a451f;color:#31465f;font-size:13px;pointer-events:auto}.toast-icon{display:grid;place-items:center;width:22px;height:22px;flex:0 0 22px;border-radius:50%;font-size:13px;font-weight:800}.toast-message{flex:1;line-height:1.5}.toast-close{width:24px;height:24px;padding:0;border:0;background:transparent;color:#92a0b0;font-size:19px;line-height:1}.toast-close:hover{color:#31465f}.toast-success{border-color:#cbead9}.toast-success .toast-icon{background:#e2f7eb;color:#168451}.toast-error{border-color:#f1d0d0}.toast-error .toast-icon{background:#fff0f0;color:#ce5050}.toast-warning{border-color:#f0dfbd}.toast-warning .toast-icon{background:#fff5dd;color:#b87b19}.toast-info .toast-icon{background:#eaf2ff;color:#2e73dd}.toast-enter-active,.toast-leave-active{transition:opacity .2s,transform .2s}.toast-enter-from,.toast-leave-to{opacity:0;transform:translateY(-8px)}.confirm-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;display:grid;place-items:center;padding:24px;background:#10243d66;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.confirm-dialog{display:flex;align-items:flex-start;gap:15px;width:min(430px,100%);padding:24px;border:1px solid #e1e8f1;border-radius:12px;background:#fff;box-shadow:0 24px 70px #0b1e3638}.confirm-icon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:50%;font-size:20px;font-weight:800}.confirm-danger{background:#fff0f0;color:#d35353}.confirm-info{background:#eaf2ff;color:#2e73dd}.confirm-copy{min-width:0;flex:1}.confirm-copy h2{margin:2px 0 7px;color:#203047;font-size:16px}.confirm-copy p{margin:0;color:#7c8da2;font-size:13px;line-height:1.65}.confirm-actions{display:flex;grid-column:1/-1;justify-content:flex-end;gap:10px;margin-top:16px}.confirm-dialog{flex-wrap:wrap}.confirm-copy{flex-basis:calc(100% - 53px)}.confirm-actions{width:100%}.danger-btn{background:#d95757;box-shadow:0 5px 12px #d957572b}@media (max-width:600px){.toast-stack{top:12px;right:16px}.confirm-dialog{padding:20px}}
