:root{--nav:#071a35;--blue:#2563eb;--green:#16a34a;--red:#dc2626;--orange:#f59e0b;--purple:#7c3aed;--bg:#f5f7fb;--text:#0f172a}
*{box-sizing:border-box} body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--text);font-size:14px}.layout{display:flex;min-height:100vh}.sidebar{width:260px;background:linear-gradient(180deg,#06162e,#0b2447);color:white;padding:22px 16px;position:fixed;top:0;bottom:0}.brand{display:flex;gap:12px;align-items:center;font-weight:800;font-size:20px;margin-bottom:28px}.brand small{display:block;font-weight:500;font-size:11px;color:#b7c7df}.menu a{display:flex;align-items:center;justify-content:space-between;padding:13px 14px;border-radius:12px;color:#dbeafe;text-decoration:none;margin:6px 0}.menu a.active,.menu a:hover{background:#2563eb;color:white}.side-note{position:absolute;bottom:20px;left:16px;right:16px;padding:18px;border:1px solid rgba(255,255,255,.12);border-radius:16px;color:#dbeafe;font-size:12px;line-height:1.55;text-align:center}.main{margin-left:260px;flex:1}.topbar{height:76px;background:white;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between;padding:0 24px}.page{padding:24px}.title h1{font-size:24px;margin:0}.title span{color:#64748b}.card{background:white;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 6px 18px rgba(15,23,42,.06);padding:18px}.grid{display:grid;gap:14px}.grid-6{grid-template-columns:repeat(6,1fr)}.grid-3{grid-template-columns:repeat(3,1fr)}.grid-2{grid-template-columns:repeat(2,1fr)}.kpi{display:flex;gap:14px;align-items:center}.ico{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:white;font-size:22px;background:var(--blue)}.kpi h2{font-size:26px;margin:4px 0}.kpi span{font-size:12px;font-weight:800;text-transform:uppercase}.muted{color:#64748b}.blue{background:var(--blue)}.green{background:var(--green)}.red{background:var(--red)}.orange{background:var(--orange)}.purple{background:var(--purple)}.teal{background:#0d9488}table{width:100%;border-collapse:collapse}th,td{padding:10px;border-bottom:1px solid #edf2f7;text-align:left;font-size:12px}th{font-size:11px;text-transform:uppercase;color:#475569;background:#f8fafc}.badge{padding:5px 8px;border-radius:999px;font-size:11px;font-weight:800}.risk-high{background:#fee2e2;color:#991b1b}.risk-medium{background:#ffedd5;color:#9a3412}.risk-low{background:#dcfce7;color:#166534}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 15px;border-radius:10px;border:0;text-decoration:none;font-weight:700;cursor:pointer}.btn-primary{background:#2563eb;color:white}.btn-red{background:#dc2626;color:white}.btn-green{background:#16a34a;color:white}.btn-light{background:#e5e7eb;color:#111827}.form-control{width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:10px}label{font-weight:700;display:block;margin-bottom:8px}.alert{padding:12px 14px;border-radius:12px;margin-bottom:14px}.alert-error{background:#fee2e2;color:#991b1b}.login{max-width:420px;margin:80px auto}.mt{margin-top:16px}.right{text-align:right}@media(max-width:1200px){.grid-6{grid-template-columns:repeat(3,1fr)}.grid-3{grid-template-columns:1fr}.grid-2{grid-template-columns:1fr}}
.hero{display:flex;justify-content:space-between;align-items:center;gap:18px;background:linear-gradient(135deg,#ffffff,#eef2ff)}.hero h2{margin:0 0 6px;font-size:28px}.hero p{margin:0;color:#475569;max-width:850px}.kpi.small .ico{width:42px;height:42px}.kpi.small h2{font-size:20px}.risk-critical{background:#4c0519;color:#fff}.risk-no-risk{background:#e5e7eb;color:#374151}@media(max-width:900px){.hero{display:block}.hero .right{text-align:left;margin-top:12px}}

.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}
.filterbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:12px}
.filterbar input,.filterbar select{padding:10px 12px;border:1px solid #d7dee9;border-radius:10px;background:#fff;min-width:180px}
.table-responsive{width:100%;overflow-x:auto}
.pager{display:flex;gap:12px;align-items:center;justify-content:flex-end;margin-top:16px}
.pager span{font-size:13px;color:#64748b}
