:root{--accent:#155cc0;--panel:#fff;--border:#dce6f3;color:#172640;background:#f3f7fd}
body.erp-shell{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}
.erp-drawer{min-width:0;position:sticky;top:0;height:100vh;overflow:auto;background:linear-gradient(160deg,#102846,#162f58 67%,#274972);padding:22px 14px;color:#edf5ff;display:flex;flex-direction:column;gap:23px}
.erp-brand{display:flex;gap:10px;align-items:center;color:#fff;text-decoration:none;font-size:.96rem;font-weight:750;overflow-wrap:anywhere}
.erp-brand small{display:block;color:#bbd0ef;font-size:.72rem;font-weight:550;margin-top:3px}
.erp-mark{display:grid;place-items:center;flex:none;width:41px;height:41px;border-radius:12px;background:#e2edff;color:#1d4c8a}
.erp-drawer nav{display:grid;align-content:start;gap:4px;flex:1}
.erp-drawer nav p{font-size:.7rem;font-weight:750;letter-spacing:.12em;text-transform:uppercase;margin:12px 10px 3px;color:#bdd1ec}
.erp-drawer nav a{display:flex;gap:10px;align-items:center;color:#eef5ff;text-decoration:none;padding:9px 11px;border-radius:8px;font-size:.9rem}
.erp-drawer nav a:hover,.erp-drawer nav a[aria-current=page]{background:#5e91d751;color:#fff}
.nav-dot{flex:none;width:6px;height:6px;border-radius:50%;background:#9cbce7}
[aria-current=page] .nav-dot{background:#ffb3a6}
.erp-drawer form button{width:100%;background:#ffffff16;border-color:#ffffff33}
.erp-workspace{min-width:0}
.erp-top{display:flex;align-items:center;gap:12px;min-height:61px;padding:11px 24px;background:#fff;border-bottom:1px solid var(--border)}
.erp-top span{margin-left:auto;color:#516781;font-size:.86rem}
#erp-toggle{display:none}
.erp-shell main{max-width:1450px}
.dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.dashboard-head h1{margin-bottom:4px}
.eyebrow{color:#245eaa;letter-spacing:.13em;font-size:.71rem;font-weight:800;margin:0 0 6px}
.subheading{color:#516781;margin:0 0 14px}
.dashboard-head .subheading{margin:0}
.metric{min-width:0;padding:17px;border:1px solid #cdddf5;border-radius:14px;background:linear-gradient(145deg,#fff,#e2eeff);text-decoration:none;color:#174480;box-shadow:0 7px 21px #254d8412}
.metric:nth-child(2){background:linear-gradient(145deg,#fff,#dff6ee);color:#08694f;border-color:#bcdfd3}
.metric:nth-child(3){background:linear-gradient(145deg,#fff,#ffede0);color:#864112;border-color:#eed6bf}
.metric:nth-child(4){background:linear-gradient(145deg,#fff,#fbe5ed);color:#8c2d52;border-color:#eac7d8}
.metric span{display:block;margin-top:8px;font-size:.78rem;font-weight:650}
.metric strong{overflow-wrap:anywhere}
.quick{margin-top:16px}
.status,.tab{display:inline-block;background:#e7effc;color:#24537f;padding:4px 9px;font-size:.85rem;border-radius:8px}
.tab{text-decoration:none;padding:8px 11px}
.tab.active{background:#155cc0;color:white}
.report-tabs{margin-bottom:14px}
.split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.report-total{display:flex;flex-wrap:wrap;gap:12px 24px;color:#204f86}
.notice{padding:10px 12px;background:#dcf3e7;color:#15563a;border-radius:9px}
:focus-visible{outline:2px solid #e17b4c;outline-offset:3px}
@media(max-width:850px){
 body.erp-shell{display:block}
 .erp-drawer{position:static;height:auto}
 .erp-shell.drawer-ready .erp-drawer{display:none;position:fixed;inset:0 auto 0 0;width:min(290px,86vw);z-index:3;height:auto;box-shadow:0 0 0 100vmax #142d5271}
 .erp-shell.drawer-ready.drawer-open .erp-drawer{display:flex}
 .erp-shell.drawer-ready #erp-toggle{display:inline-flex}
 .erp-top{padding-inline:12px}
}
@media(max-width:580px){.split{grid-template-columns:1fr}.metric{padding:12px}.metrics strong{font-size:1.12rem}}
@media print{.erp-shell{display:block!important}.erp-shell .erp-drawer,.erp-top{display:none!important}.erp-shell main{width:auto;max-width:none}.metric,section{box-shadow:none}.scroll{overflow:visible}}
