:root{
  --bg:#f4f8fd;--card:#fff;--ink:#061d43;--muted:#71829d;--line:#dfe8f5;
  --nav:#061f49;--nav2:#041733;--blue:#006cef;--blue2:#0054cb;--red:#ff3b30;
  --green:#16b978;--amber:#ffae2b;--violet:#7b61ff;--shadow:0 10px 30px rgba(24,52,86,.08);
}
*{box-sizing:border-box}
body{margin:0;background:linear-gradient(180deg,#fbfdff,#eef5fc);color:var(--ink);font-family:Inter,Segoe UI,Roboto,Arial,sans-serif;font-size:12px}
button,input,select{font:inherit}a{text-decoration:none;color:inherit}
.shell{width:min(1510px,calc(100% - 28px));margin:0 auto}
.app{display:grid;grid-template-columns:160px minmax(0,1fr);gap:14px;padding:14px 0 24px}
.side{min-height:calc(100vh - 28px);max-height:calc(100vh - 28px);position:sticky;top:14px;overflow:auto;border-radius:8px;background:linear-gradient(180deg,var(--nav),var(--nav2));color:#fff;box-shadow:0 18px 36px rgba(4,23,51,.2)}
.brand{height:54px;display:flex;align-items:center;gap:9px;padding:0 14px;border-bottom:1px solid rgba(255,255,255,.09);font-weight:900}
.brand-mark{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;border:2px solid rgba(255,255,255,.45)}
.brand-mark svg{width:15px;height:15px}.nav{display:grid;gap:4px;padding:12px 10px}
.nav a{height:30px;display:flex;align-items:center;gap:9px;padding:0 10px;border-radius:6px;color:#d9e8ff;font-size:11px;font-weight:800}
.nav a.active,.nav a:hover{background:linear-gradient(180deg,#0b78ff,#045dcc);color:#fff}
.nav svg{width:15px;height:15px}.main{min-width:0}
.page{min-height:calc(100vh - 28px);border:1px solid #dfe8f5;border-radius:8px;background:rgba(255,255,255,.86);box-shadow:var(--shadow);padding:20px}
.topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}
.eyebrow{margin:0;color:#006cef;font-size:20px;font-weight:950}.subtitle{margin:3px 0 0;color:#7f8fa8;font-size:11px;font-weight:700}
h1,h2,h3,p{margin:0}h1{font-size:20px}h2{font-size:13px;color:#061d43}h3{font-size:12px}
.user{display:flex;align-items:center;gap:14px;color:#8b9bb2}.user svg{width:16px;height:16px;color:#0b60d0}.avatar{width:24px;height:24px;border-radius:50%;background:#e8f1ff;display:grid;place-items:center;color:#0b60d0}.user strong{display:block;color:#061d43;font-size:11px}.user small{display:block;color:#71829d;font-size:10px}
.searchbar{display:grid;grid-template-columns:82px minmax(0,1fr) 96px auto auto;gap:10px;align-items:center;margin-bottom:18px}
.labelbox{height:34px;display:grid;place-items:center;border:1px solid #e4ebf5;border-radius:6px;background:#fff;color:#061d43;font-weight:800;font-size:11px}.input{height:34px;border:1px solid #dfe8f5;border-radius:6px;background:#fff;padding:0 12px;color:#061d43;font-weight:750;outline:none}.btn{height:34px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:6px;background:#006cef;color:#fff;padding:0 14px;font-size:11px;font-weight:900;cursor:pointer;white-space:nowrap}.btn.secondary{border:1px solid #e4ebf5;background:#fff;color:#061d43}.btn svg{width:14px;height:14px}
.stat-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:18px}.stat{height:84px;border:1px solid #dfe8f5;border-radius:7px;background:#fff;padding:13px 14px;box-shadow:0 8px 18px rgba(30,58,90,.04);position:relative;overflow:hidden}.stat:after{content:"";position:absolute;left:14px;right:14px;bottom:11px;height:3px;border-radius:99px;background:var(--blue)}.stat.red:after{background:var(--red)}.stat.green:after{background:var(--green)}.stat.violet:after{background:var(--violet)}
.stat-head{display:flex;align-items:center;gap:9px}.stat-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:#edf5ff;color:#006cef}.stat.red .stat-icon{background:#fff1f0;color:var(--red)}.stat.green .stat-icon{background:#edfff8;color:var(--green)}.stat.violet .stat-icon{background:#f2efff;color:var(--violet)}
.stat svg{width:18px;height:18px}.stat label{display:block;color:#71829d;font-size:10px;font-weight:800}.stat strong{display:block;margin-top:3px;font-size:24px;color:#061d43;line-height:1}.stat small{display:block;margin-top:4px;color:#71829d;font-size:10px;font-weight:700}
.grid-dashboard{display:grid;grid-template-columns:1fr 1.45fr .72fr;gap:14px}.grid-analysis{display:grid;grid-template-columns:1.25fr .75fr;gap:14px}.grid-bottom{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:14px}.grid-monitor{display:grid;grid-template-columns:1fr 230px;gap:14px}
.panel{border:1px solid #dfe8f5;border-radius:7px;background:#fff;box-shadow:0 8px 20px rgba(30,58,90,.04)}.pad{padding:15px}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px}.muted{color:#71829d}.tiny{font-size:10px}.blue{color:#006cef}.redText{color:#ff3b30}.greenText{color:#16a66d}.amberText{color:#e89816}
.risk-num{font-size:50px;color:#ff3b30;font-weight:950;line-height:1}.risk-num small{font-size:17px;color:#ff3b30}.risk-mini{font-size:24px;font-weight:950}.risk-chart{height:72px;margin-top:12px}.spark{width:100%;height:100%}.spark polyline{fill:none;stroke:#ff3b30;stroke-width:3}.spark path{fill:rgba(255,59,48,.08)}
.radar{height:260px;display:grid;place-items:center}.radar svg{width:235px;height:210px}.legend{display:flex;justify-content:center;gap:16px;margin-top:3px}.dot{width:7px;height:7px;border-radius:50%;display:inline-block;margin-right:5px}.dot.green{background:#16b978}.dot.amber{background:#ffae2b}.dot.red{background:#ff3b30}
table{width:100%;border-collapse:collapse}th,td{padding:10px 8px;border-bottom:1px solid #edf2f8;text-align:left;font-size:11px;vertical-align:middle}th{color:#7b8ba4;font-weight:900}td{color:#143257;font-weight:750}.status{display:inline-flex;align-items:center;justify-content:center;min-width:52px;height:20px;border-radius:99px;font-size:9px;font-weight:900}.status.red{background:#fff1f0;color:#ff3b30;border:1px solid #ffd0cc}.status.amber{background:#fff8ec;color:#df8d00;border:1px solid #ffdfaa}.status.green{background:#effcf6;color:#139360;border:1px solid #bff0da}
.quick-list{display:grid;gap:8px}.quick{height:38px;border:1px solid #e4ebf5;border-radius:6px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 10px;color:#061d43;font-weight:850}.quick span{display:flex;align-items:center;gap:7px}.quick svg{width:15px;height:15px;color:#006cef}
.summary-list{display:grid;gap:8px}.summary-row{display:flex;justify-content:space-between;color:#143257;font-size:11px;font-weight:800}.summary-row span{color:#71829d}
.info-list{display:grid;grid-template-columns:130px minmax(0,1fr);gap:9px 12px}.info-list dt{color:#71829d;font-weight:900}.info-list dd{margin:0;color:#143257;font-weight:850;overflow-wrap:anywhere}.related-card{height:116px;display:flex;align-items:center;justify-content:space-between}.big-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:10px;background:#f1efff;color:#7b61ff}.big-icon svg{width:25px;height:25px}.metric-card{min-height:92px;padding:13px;border:1px solid #dfe8f5;border-radius:7px;background:#fff}.metric-card strong{display:block;font-size:20px;color:#061d43}.metric-card span{display:block;margin-top:4px;color:#71829d;font-size:10px;font-weight:750}.metric-card a{display:block;margin-top:14px;color:#006cef;font-size:10px;font-weight:900}
.result-layout{display:grid;grid-template-columns:1fr 240px;gap:14px}.filter-list{display:grid;gap:10px}.select{height:34px;border:1px solid #dfe8f5;border-radius:6px;background:#fff;padding:0 9px;color:#143257;font-size:11px;font-weight:800}.full-search{display:grid;grid-template-columns:minmax(0,1fr) 92px;gap:10px;margin-bottom:16px}
.empty{height:120px;display:grid;place-items:center;border:1px dashed #d4deec;border-radius:7px;color:#71829d;background:#fbfdff}.toast-stack{position:fixed;right:18px;bottom:18px;display:grid;gap:8px}.toast{background:#fff;border:1px solid #dfe8f5;border-radius:7px;box-shadow:var(--shadow);padding:11px 14px;font-weight:850}
@media(max-width:1100px){.app{grid-template-columns:1fr}.side{min-height:auto}.nav{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-dashboard,.grid-analysis,.grid-monitor,.result-layout{grid-template-columns:1fr}.stat-row,.grid-bottom{grid-template-columns:repeat(2,minmax(0,1fr))}.searchbar{grid-template-columns:1fr}}
@media(max-width:620px){.shell{width:calc(100% - 20px)}.page{padding:14px}.nav,.stat-row,.grid-bottom{grid-template-columns:1fr}.topbar{display:grid}.user{display:none}}

/* visual pass */
body{background:#eef4fb}
.app{grid-template-columns:154px minmax(0,1fr)}
.page{padding:18px;background:linear-gradient(180deg,#fff,#fbfdff)}
.btn{box-shadow:0 7px 14px rgba(0,108,239,.11);transition:.15s ease}
.btn.secondary{box-shadow:none}
.btn:hover,.quick:hover,.metric-card:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(24,52,86,.09)}
.stat-row{margin-bottom:16px}
.grid-dashboard{grid-template-columns:.95fr 1.55fr .72fr}
.quick,.metric-card{cursor:pointer;transition:.15s ease}
tr{transition:.12s ease}
tbody tr:hover{background:#fbfdff}
.status{letter-spacing:.01em}
.panel{box-shadow:0 8px 22px rgba(24,52,86,.045)}
.source-note{min-height:32px;display:flex;align-items:center;gap:8px;margin:-6px 0 14px;padding:0 10px;border:1px solid #e1ebf7;border-radius:7px;background:#f8fbff;color:#5c708d;font-size:11px;font-weight:800}
.source-note svg{width:14px;height:14px;color:#006cef}
.source-note.error{border-color:#ffd0cc;background:#fff7f6;color:#b5231c}
.source-note.error svg{color:#ff3b30}
.table-link{color:#005fd6;font-weight:950}
.table-link:hover{text-decoration:underline}
tbody tr{cursor:pointer}
.empty{font-weight:850}

/* dark AML visual system */
:root{
  --bg:#07111f;--card:#111c2c;--ink:#f3f7ff;--muted:#9aabc3;--line:#25364c;
  --nav:#08111f;--nav2:#0c1a2b;--blue:#2f7df6;--blue2:#155ad9;--red:#ff4d4f;
  --green:#22c55e;--amber:#f59e0b;--violet:#8b5cf6;--shadow:0 18px 48px rgba(0,0,0,.28);
}
body{
  background:
    radial-gradient(circle at 18% 0%,rgba(47,125,246,.16),transparent 30%),
    radial-gradient(circle at 90% 12%,rgba(34,197,94,.08),transparent 28%),
    linear-gradient(180deg,#06101d,#081526 45%,#07111f);
  color:var(--ink);
}
.shell{width:min(1640px,calc(100% - 24px))}
.app{grid-template-columns:232px minmax(0,1fr);gap:22px;padding:0 0 28px}
.side{
  top:0;min-height:100vh;max-height:100vh;border-radius:0;border-right:1px solid rgba(148,163,184,.14);
  background:linear-gradient(180deg,#08111f 0%,#0b1b2d 55%,#07111f 100%);
  box-shadow:18px 0 55px rgba(0,0,0,.24);
}
.brand{height:64px;padding:0 20px;border-bottom:1px solid rgba(148,163,184,.12);font-size:18px}
.brand-mark{width:30px;height:30px;border-radius:10px;border-color:rgba(180,210,255,.65);background:rgba(47,125,246,.12)}
.nav{gap:6px;padding:14px 14px 24px}
.nav a{height:40px;padding:0 14px;border-radius:8px;color:#cbd7ea;font-size:13px;font-weight:800}
.nav a.active,.nav a:hover{background:linear-gradient(90deg,#105ddf,#1f6ff2);box-shadow:0 10px 26px rgba(47,125,246,.28)}
.nav svg{width:17px;height:17px}
.page{min-height:calc(100vh - 28px);border:0;border-radius:0;background:transparent;box-shadow:none;padding:24px 8px 28px 0}
.topbar{
  min-height:66px;margin:-24px -8px 24px -22px;padding:16px 24px 16px 24px;align-items:center;
  background:rgba(6,13,24,.58);border-bottom:1px solid rgba(148,163,184,.12);backdrop-filter:blur(18px);
}
.eyebrow{font-size:24px;color:#ffffff;letter-spacing:0}
h1{font-size:22px;color:#fff}.subtitle{color:#9aabc3;font-size:12px}
.user{color:#c7d3e6}.user strong{color:#fff}.avatar{background:#41308f;color:#fff}
.source-note{
  min-height:38px;margin:-8px 0 18px;padding:0 14px;border-color:rgba(84,113,153,.42);
  background:rgba(16,28,45,.68);color:#b9c7da;box-shadow:0 12px 30px rgba(0,0,0,.12);
}
.searchbar{grid-template-columns:110px minmax(0,1fr) 118px auto auto;margin-bottom:18px}
.labelbox,.input,.select{
  border-color:#26384f;background:#0d1828;color:#e8f1ff;box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
.input::placeholder{color:#6f8098}
.btn{height:38px;border-radius:7px;background:#1769ee;box-shadow:0 12px 26px rgba(23,105,238,.22)}
.btn.secondary{border-color:#31445f;background:#111e31;color:#e8f1ff}
.stat-row{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:20px}
.stat{
  height:106px;border-color:#26384f;background:linear-gradient(180deg,rgba(20,34,54,.94),rgba(15,27,44,.94));
  box-shadow:0 16px 36px rgba(0,0,0,.18);padding:18px;backdrop-filter:blur(16px);
}
.stat:after{left:18px;right:18px;bottom:14px;height:3px;box-shadow:0 0 18px currentColor}
.stat label{color:#93a6c0;font-size:11px}.stat strong{color:#fff;font-size:28px}.stat small{color:#b8c7da}
.stat-icon{width:42px;height:42px;border-radius:12px;background:rgba(47,125,246,.16);color:#58a6ff}
.stat.red .stat-icon{background:rgba(255,77,79,.14)}.stat.green .stat-icon{background:rgba(34,197,94,.13)}.stat.violet .stat-icon{background:rgba(139,92,246,.16)}
.panel{
  border-color:#26384f;background:linear-gradient(180deg,rgba(19,33,52,.92),rgba(14,25,40,.94));
  box-shadow:0 18px 44px rgba(0,0,0,.22);backdrop-filter:blur(18px);
}
.pad{padding:20px}h2{font-size:14px;color:#f8fbff}
.muted,.summary-row span,.metric-card span{color:#9aabc3}
.grid-dashboard{grid-template-columns:1fr 1.6fr .86fr;gap:16px}
.grid-analysis{grid-template-columns:1.25fr .75fr;gap:16px}.grid-bottom{gap:14px}.grid-monitor,.result-layout{gap:16px}
.info-list dt{color:#8ea2bd}.info-list dd{color:#f2f7ff}
.metric-card,.quick{
  border-color:#26384f;background:linear-gradient(180deg,rgba(21,37,58,.9),rgba(15,27,44,.95));color:#eef5ff;
}
.metric-card strong{color:#fff}.quick svg{color:#58a6ff}
table{border-collapse:separate;border-spacing:0}
th{color:#8fa2bd;background:rgba(9,18,31,.32);font-size:11px}
td{color:#dce8f7;border-bottom-color:#24354b}
tbody tr:hover{background:rgba(47,125,246,.08)}
.table-link{color:#70adff}
.status.red{background:rgba(255,77,79,.13);border-color:rgba(255,77,79,.34);color:#ff8a8c}
.status.amber{background:rgba(245,158,11,.12);border-color:rgba(245,158,11,.35);color:#ffd083}
.status.green{background:rgba(34,197,94,.13);border-color:rgba(34,197,94,.36);color:#78e2a2}
.risk-num{color:#ff6b6d}.risk-num small{color:#ffc0c0}
.greenText{color:#78e2a2}.amberText{color:#ffd083}.redText{color:#ff8a8c}.blue{color:#70adff}
.related-card{background:linear-gradient(135deg,rgba(47,125,246,.12),rgba(139,92,246,.08))}
.big-icon{background:rgba(139,92,246,.18);color:#b69cff}
.radar{height:320px}.radar svg{width:100%;height:290px;max-width:720px}
.graph-panel .radar svg text{fill:#dce8f7}
.chart-grid{display:grid;grid-template-columns:.9fr 1.35fr .9fr;gap:16px;margin-top:16px}
.chart-caption{margin-top:10px;color:#95a8c1;font-size:12px;font-weight:750}
.gauge-wrap{display:flex;align-items:center;gap:18px;min-height:180px}
.gauge{width:168px;height:168px;transform:rotate(-90deg)}
.gauge-track{fill:none;stroke:#26384f;stroke-width:16}
.gauge-value{fill:none;stroke-width:16;stroke-linecap:round;filter:drop-shadow(0 0 10px rgba(47,125,246,.35))}
.gauge-score{transform:rotate(90deg);transform-origin:90px 90px;fill:#fff;font-size:34px;font-weight:950}
.gauge-label{transform:rotate(90deg);transform-origin:90px 90px;fill:#91a5bf;font-size:13px;font-weight:800}
.gauge-meta{display:grid;gap:8px}.gauge-meta b{font-size:16px;color:#fff}.gauge-meta span{max-width:230px;color:#9aabc3;font-size:12px;line-height:1.45}
.bar-chart{display:grid;gap:14px;margin-top:12px}
.bar-row{display:grid;grid-template-columns:78px minmax(0,1fr) 44px;align-items:center;gap:12px;color:#dce8f7;font-weight:850}
.bar-row span{color:#a9bad0}.bar-row b{text-align:right;color:#fff}
.bar-track{height:10px;border-radius:999px;background:#23344a;overflow:hidden}
.bar-track i{display:block;height:100%;border-radius:999px;box-shadow:0 0 18px currentColor}
.donut-wrap{display:flex;align-items:center;gap:18px;min-height:180px}
.donut{
  width:142px;height:142px;border-radius:50%;display:grid;place-items:center;
  background:conic-gradient(#3b82f6 calc(var(--company)*1%),#8b5cf6 0);
  box-shadow:0 0 34px rgba(59,130,246,.18);
}
.donut:before{content:"";position:absolute;width:92px;height:92px;border-radius:50%;background:#101c2d}
.donut{position:relative}.donut div{position:relative;display:grid;text-align:center}.donut b{font-size:24px}.donut span{color:#9aabc3;font-size:11px;font-weight:800}
.donut-list{min-width:130px;display:grid;gap:10px}
.blueDot{background:#3b82f6}.violetDot{background:#8b5cf6}
.empty{border-color:#31445f;background:rgba(13,24,40,.65);color:#9aabc3}
@media(max-width:1200px){.app{grid-template-columns:210px minmax(0,1fr)}.chart-grid,.grid-dashboard,.grid-analysis,.grid-monitor,.result-layout{grid-template-columns:1fr}.stat-row,.grid-bottom{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:521px) and (max-width:760px){.app{grid-template-columns:190px minmax(0,1fr)}.side{position:sticky;top:0;min-height:100vh;max-height:100vh}.nav{grid-template-columns:1fr}.brand{font-size:15px}.page{padding:18px 8px 24px 0}.topbar{margin:-18px -8px 18px -22px}.stat-row,.grid-bottom,.chart-grid{grid-template-columns:1fr}.searchbar{grid-template-columns:1fr}.gauge-wrap,.donut-wrap{display:grid;justify-items:center}}
@media(max-width:520px){.app{grid-template-columns:1fr}.side{position:relative;min-height:auto;max-height:none;border-radius:0}.page{padding:16px}.topbar{margin:0 0 18px;padding:14px}.stat-row,.grid-bottom,.chart-grid{grid-template-columns:1fr}.searchbar{grid-template-columns:1fr}.gauge-wrap,.donut-wrap{display:grid;justify-items:center}}

/* full pro light AML theme */
:root{
  --bg:#f4f7fb;--card:#ffffff;--ink:#10233f;--muted:#63758f;--line:#dbe6f2;
  --nav:#ffffff;--nav2:#eef5ff;--blue:#1167e8;--blue2:#0b54c7;--red:#ef4444;
  --green:#16a66d;--amber:#f59e0b;--violet:#7557e6;--shadow:0 16px 42px rgba(30,58,90,.09);
}
body{
  background:
    radial-gradient(circle at 12% 0%,rgba(17,103,232,.10),transparent 34%),
    radial-gradient(circle at 92% 10%,rgba(22,166,109,.08),transparent 28%),
    linear-gradient(180deg,#fbfdff 0%,#f3f7fc 55%,#eef4fb 100%);
  color:var(--ink);
}
.shell{width:min(1620px,calc(100% - 28px))}
.app{grid-template-columns:230px minmax(0,1fr);gap:20px;padding:14px 0 28px}
.side{
  top:14px;min-height:calc(100vh - 28px);max-height:calc(100vh - 28px);border-radius:14px;
  border:1px solid rgba(196,211,229,.72);background:linear-gradient(180deg,#ffffff,#f7fbff);
  color:#142542;box-shadow:0 18px 38px rgba(31,59,92,.10);
}
.brand{height:66px;padding:0 18px;border-bottom:1px solid #e5edf7;color:#0f2a52;font-size:18px}
.brand-mark{width:34px;height:34px;border-radius:12px;border-color:#b9cef0;background:#edf5ff;color:#1167e8}
.nav{gap:6px;padding:14px}
.nav a{height:40px;border-radius:9px;color:#52657e;font-size:13px;font-weight:850}
.nav a.active,.nav a:hover{background:#eaf3ff;color:#0d5ed6;box-shadow:none}
.nav a.active{border:1px solid #cfe1fa}
.page{min-height:calc(100vh - 28px);border:1px solid #dce7f4;border-radius:14px;background:rgba(255,255,255,.86);box-shadow:var(--shadow);padding:24px}
.topbar{
  min-height:auto;margin:0 0 18px 0;padding:0 0 18px 0;background:transparent;border-bottom:1px solid #e4edf8;
  backdrop-filter:none;
}
.eyebrow{font-size:24px;color:#0b5ed7}.subtitle{color:#6d7d93;font-size:12px}h1,h2{color:#10233f}
.user{color:#6d7d93}.user strong{color:#10233f}.avatar{background:#eaf3ff;color:#0b5ed7}
.source-note{
  min-height:40px;margin:-6px 0 18px;padding:0 14px;border:1px solid #dbe7f5;border-radius:10px;
  background:#f8fbff;color:#536780;box-shadow:none;
}
.source-note svg{color:#1167e8}.source-note.error{background:#fff6f5;color:#a81f1f;border-color:#ffd6d3}
.searchbar{grid-template-columns:110px minmax(0,1fr) 118px auto auto}
.labelbox,.input,.select{border-color:#dbe6f2;background:#fff;color:#10233f;box-shadow:0 1px 0 rgba(16,35,63,.02)}
.btn{height:38px;border-radius:8px;background:#1167e8;color:#fff;box-shadow:0 10px 20px rgba(17,103,232,.16)}
.btn.secondary{border-color:#dbe6f2;background:#fff;color:#10233f;box-shadow:0 6px 16px rgba(30,58,90,.04)}
.stat-row{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:18px}
.stat{
  height:108px;border:1px solid #dce7f4;border-radius:12px;background:#fff;padding:18px;box-shadow:0 10px 24px rgba(30,58,90,.06);
  backdrop-filter:none;
}
.stat label{color:#63758f}.stat strong{color:#10233f}.stat small{color:#6d7d93}
.stat-icon{width:42px;height:42px;border-radius:12px;background:#edf5ff;color:#1167e8}
.stat.red .stat-icon{background:#fff0f0;color:#ef4444}.stat.green .stat-icon{background:#ecfff6;color:#16a66d}.stat.violet .stat-icon{background:#f3efff;color:#7557e6}
.panel,.metric-card,.quick{
  border:1px solid #dce7f4;border-radius:12px;background:#fff;box-shadow:0 10px 26px rgba(30,58,90,.055);backdrop-filter:none;color:#10233f;
}
.pad{padding:20px}.muted,.summary-row span,.metric-card span{color:#63758f}
.grid-dashboard{grid-template-columns:1fr 1.55fr .82fr;gap:16px}.grid-analysis{gap:16px}.grid-bottom{gap:14px}
.info-list dt{color:#63758f}.info-list dd{color:#122642}
th{color:#6f8098;background:#f8fbff}td{color:#17304f;border-bottom-color:#e7eef8}tbody tr:hover{background:#f7fbff}
.table-link{color:#0b5ed7}.blue{color:#0b5ed7}.greenText{color:#16a66d}.amberText{color:#d88700}.redText{color:#ef4444}
.status.red{background:#fff1f1;border-color:#ffc9c9;color:#d93636}.status.amber{background:#fff8eb;border-color:#ffdca4;color:#b97800}.status.green{background:#eefcf5;border-color:#bdeed8;color:#0e8958}
.risk-num{color:#ef4444}.risk-num small{color:#ef4444}.spark path{fill:rgba(239,68,68,.08)}
.radar{height:300px}.radar svg{height:270px}.graph-panel .radar svg text{fill:#10233f}
.gauge-track{stroke:#e3ebf5}.gauge-score{fill:#10233f}.gauge-label{fill:#63758f}.gauge-meta b{color:#10233f}.gauge-meta span{color:#63758f}
.bar-row{color:#17304f}.bar-row span{color:#63758f}.bar-row b{color:#10233f}.bar-track{background:#e8eff8}
.donut:before{background:#fff}.donut b{color:#10233f}.donut span{color:#63758f}
.enrich{margin:16px 0;display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(135deg,#fff,#f7fbff)}
.enrich>div:first-child{display:flex;align-items:center;gap:14px}.enrich>div:first-child>svg{width:28px;height:28px;color:#1167e8}.enrich p{margin-top:4px;line-height:1.45}.enrich-actions{display:flex;gap:10px;flex-wrap:wrap}
.pagination{display:flex;align-items:center;justify-content:flex-end;gap:7px;margin-top:14px;color:#63758f;font-weight:850}
.pagination span:first-child{margin-right:auto}.page-btn,.page-dots{min-width:32px;height:32px;border:1px solid #dbe6f2;border-radius:8px;background:#fff;display:inline-flex;align-items:center;justify-content:center;color:#17304f}
.page-btn svg{width:15px;height:15px}.page-btn.active{background:#1167e8;border-color:#1167e8;color:#fff}.page-btn.disabled{pointer-events:none;opacity:.42}.page-dots{border:0;background:transparent}
.empty{background:#f8fbff;border-color:#dbe6f2;color:#63758f}
@media(max-width:1200px){.app{grid-template-columns:210px minmax(0,1fr)}.chart-grid,.grid-dashboard,.grid-analysis,.grid-monitor,.result-layout{grid-template-columns:1fr}.stat-row,.grid-bottom{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.app{grid-template-columns:1fr}.side{position:relative;min-height:auto;max-height:none}.nav{grid-template-columns:repeat(2,minmax(0,1fr))}.page{padding:16px}.stat-row,.grid-bottom,.chart-grid{grid-template-columns:1fr}.searchbar{grid-template-columns:1fr}.enrich{display:grid}}

/* final AML pro polish */
body{
  background:
    linear-gradient(90deg,#07162a 0 260px,transparent 260px),
    radial-gradient(circle at 52% -12%,rgba(17,103,232,.10),transparent 34%),
    linear-gradient(180deg,#f8fbff 0%,#eef4fb 100%);
}
.shell{width:100%;padding-right:18px}
.app{grid-template-columns:248px minmax(0,1fr);gap:18px;padding:0}
.side{
  top:0;min-height:100vh;max-height:100vh;border-radius:0;border:0;border-right:1px solid rgba(255,255,255,.09);
  background:linear-gradient(180deg,#07162a,#0b2340 62%,#07162a);box-shadow:18px 0 40px rgba(7,22,42,.18);
  color:#fff;
}
.brand{height:72px;border-color:rgba(255,255,255,.10);color:#fff;font-size:19px}
.brand-mark{background:rgba(47,125,246,.16);border-color:rgba(219,234,254,.62);color:#dbeafe}
.nav a{height:38px;color:#c8d6e8;border:1px solid transparent}
.nav a.active,.nav a:hover{background:rgba(47,125,246,.18);border-color:rgba(96,165,250,.24);color:#fff}
.nav a.active{box-shadow:inset 3px 0 0 #60a5fa}
.main{padding:16px 0 24px}
.page{border-radius:18px;background:rgba(255,255,255,.94);box-shadow:0 24px 70px rgba(20,44,75,.13);padding:22px}
.topbar{align-items:center}.eyebrow{font-size:15px;text-transform:uppercase;letter-spacing:.08em}.topbar h1{font-size:25px}
.source-note{border-radius:12px;background:#eef6ff;border-color:#d8e8fb;color:#38546f}
.searchbar{padding:12px;border:1px solid #dce8f5;background:#fff;border-radius:14px;box-shadow:0 10px 28px rgba(30,58,90,.06)}
.labelbox,.input{height:40px;border-radius:9px}.btn{height:40px;border-radius:9px}
.contractor-hero{
  display:grid;grid-template-columns:minmax(0,1fr) auto 190px;gap:18px;align-items:center;
  margin-bottom:18px;padding:22px;border:1px solid #dbe7f5;border-radius:18px;
  background:linear-gradient(135deg,#ffffff 0%,#f8fbff 58%,#eef6ff 100%);
  box-shadow:0 18px 46px rgba(30,58,90,.09);
}
.hero-main{display:flex;align-items:center;gap:18px;min-width:0}.hero-icon{
  width:72px;height:72px;border-radius:18px;display:grid;place-items:center;
  background:linear-gradient(135deg,#0b5ed7,#22c55e);color:#fff;box-shadow:0 16px 30px rgba(17,103,232,.22);
}
.hero-icon svg{width:38px;height:38px}.hero-copy{min-width:0}.hero-kicker{margin-bottom:6px;color:#0b5ed7;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.09em}
.hero-copy h2{font-size:24px;line-height:1.18;color:#10233f;max-width:860px;overflow-wrap:anywhere}
.hero-chips,.hero-sources{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.hero-chips span,.hero-sources span{
  min-height:28px;display:inline-flex;align-items:center;gap:7px;padding:0 10px;border-radius:999px;border:1px solid #dbe7f5;background:#fff;color:#405872;font-weight:850;font-size:11px;
}
.hero-chips b{color:#0b5ed7}.hero-sources{justify-content:flex-end;margin-top:0;max-width:440px}.hero-sources span{background:#edf5ff;color:#0b5ed7}
.hero-risk{height:126px;border-radius:16px;display:grid;align-content:center;justify-items:center;border:1px solid #dbe7f5;background:#fff}
.hero-risk small{color:#63758f;font-weight:850}.hero-risk strong{font-size:38px;line-height:1;color:#10233f}.hero-risk em{font-size:15px;color:#63758f;font-style:normal}.hero-risk span{font-size:10px;font-weight:950;letter-spacing:.06em}
.hero-risk.red strong,.hero-risk.red span{color:#ef4444}.hero-risk.amber strong,.hero-risk.amber span{color:#d88700}.hero-risk.green strong,.hero-risk.green span{color:#0e8958}
.grid-analysis{grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr)}.panel{border-radius:16px}.pad{padding:22px}h2{font-size:15px}
.stat{border-radius:15px}.metric-card{border-radius:14px}.risk-chart{height:88px}.related-card{min-height:130px}
.graph-panel .radar{height:340px}.network svg,.graph-panel svg{filter:drop-shadow(0 14px 22px rgba(30,58,90,.08))}
table{font-size:12px}th{height:42px;text-transform:uppercase;letter-spacing:.05em;font-size:10px}td{padding:13px 10px}
.pagination{padding-top:6px}.page-btn{box-shadow:0 6px 14px rgba(30,58,90,.05)}
@media(max-width:1180px){body{background:#f4f7fb}.app{grid-template-columns:1fr}.side{position:relative;min-height:auto;max-height:none;border-radius:0 0 18px 18px}.nav{grid-template-columns:repeat(3,minmax(0,1fr))}.main{padding:14px}.contractor-hero{grid-template-columns:1fr}.hero-sources{justify-content:flex-start}.hero-risk{justify-items:start;padding:18px}.grid-analysis{grid-template-columns:1fr}}
