/* GN_UI / KEYENCE-like industrial workbench skin. Data and API behavior stay unchanged. */
:root{--paper:#edf2f6;--panel:#fbfcfd;--ink:#202d3a;--muted:#708092;--line:#becbd6;--blue:#168fd0;--blue-soft:#e2f1fb;--navy:#f5f8fa}
body{background:var(--paper);font-family:"Segoe UI",Inter,system-ui,sans-serif}
.login-page{background:#edf2f6;place-items:center}
.login-card{width:min(460px,100%);border:1px solid #b7c5d0;border-top:3px solid #148fce;border-radius:2px;box-shadow:0 12px 28px #1f3b5018}
.login-card h1{font-size:27px;letter-spacing:.01em}.login-card .primary{border-radius:2px;background:#168fd0}
.topbar{min-height:46px;padding:0 20px;color:#5e6e7c;background:#f8fafb;border-bottom:1px solid #bac8d3;gap:16px}
.brand{color:#263746;font-size:17px}.brand em{color:#168fd0}.topbar .ghost{border:1px solid #aebdca;color:#435665;background:#fff;border-radius:2px}
.shell{grid-template-columns:214px 1fr;min-height:calc(100vh - 46px)}
.side-nav{padding:12px 10px;background:#f2f6f9;border-right:1px solid #c2ced8}
.side-nav::before{content:"生产管理";display:block;padding:5px 10px 10px;color:#526474;font-size:14px;font-weight:800;border-bottom:1px solid #d0dae2;margin-bottom:6px}
.side-nav button{margin:2px 0;padding:9px 10px;border-radius:2px;color:#425565;border:1px solid transparent;font-size:12px}
.side-nav button:hover,.side-nav button.active{color:#126a9a;background:#dceefa;border-color:#9bcce8}
.screen{padding:18px 20px}.page-title{margin-bottom:14px;padding:0 0 12px;border-bottom:1px solid #c4d0da}.page-title h1{font-size:25px;color:#1c2b39}.page-title p{color:#778898}
.grid{gap:10px}.card{padding:13px;border:1px solid #c3d0da;border-radius:2px;box-shadow:none;background:#fbfcfd}.metric{min-height:92px}.metric b{font-size:26px;color:#1d3345}.metric small{color:#6f7f8d}
.primary{border-radius:2px;background:#168fd0}.notice{border-left:3px solid #168fd0;border-radius:0;background:#e2f1fb}
th{padding:8px;color:#596c7b;background:#e8f0f5;border:1px solid #c5d1db;font-weight:700}td{padding:8px;border:1px solid #d0dbe3;background:#fbfcfd}.click-row:hover td{background:#e8f5fc}
.form-grid input,.form-grid select,.form-grid textarea,.spec-editor input{border-radius:2px;border-color:#afbfcc;background:#fff}.row-actions button{border-radius:2px}
.badge{border-radius:2px}.review{gap:12px}.review img{background:#1d2730}
@media(max-width:900px){.side-nav::before{display:none}}
