:root{--nexus:#0b3da4;--nexus-2:#184fb9;--nexus-dark:#082d7a;--ink:#172033;--muted:#667085;--line:#e7ebf2;--bg:#f5f7fb;--card:#fff}
*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.app-shell{min-height:100vh}.sidebar{width:248px;min-height:100vh;position:fixed;left:0;top:0;background:#fff;border-right:1px solid var(--line);padding:24px 16px;z-index:1020}.content{margin-left:248px;min-height:100vh}.brand{padding:4px 8px 22px;border-bottom:1px solid var(--line);margin-bottom:18px}.brand img{width:178px;max-width:100%;height:auto}.nav-label{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#98a2b3;font-weight:700;padding:8px 12px}.side-link{display:flex;gap:12px;align-items:center;text-decoration:none;color:#475467;padding:11px 12px;border-radius:12px;font-weight:600;margin:3px 0}.side-link i{font-size:1.1rem}.side-link:hover,.side-link.active{background:#eef4ff;color:var(--nexus)}.side-footer{position:absolute;left:16px;right:16px;bottom:20px}.topbar{height:76px;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px;position:sticky;top:0;z-index:1010}.page-wrap{padding:28px 32px 42px}.page-title{font-size:1.75rem;font-weight:750;color:var(--nexus-dark);margin:0}.page-subtitle{color:var(--muted);margin:.3rem 0 0}.card{border:1px solid #edf0f5;border-radius:18px;box-shadow:0 7px 28px rgba(31,55,93,.06)}.metric-card{padding:22px}.metric-icon{width:46px;height:46px;border-radius:14px;background:#eef4ff;color:var(--nexus);display:flex;align-items:center;justify-content:center;font-size:1.25rem}.metric-value{font-size:2rem;font-weight:800;line-height:1;margin-top:18px}.metric-label{color:var(--muted);font-size:.92rem;margin-top:7px}.hero-card{background:linear-gradient(135deg,#092f82 0%,#0b3da4 58%,#315ee5 100%);color:#fff;overflow:hidden;position:relative}.hero-card:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;background:rgba(255,255,255,.08);right:-75px;top:-85px}.hero-card .btn{position:relative;z-index:1}.btn-primary{background:var(--nexus);border-color:var(--nexus);font-weight:650}.btn-primary:hover{background:var(--nexus-dark);border-color:var(--nexus-dark)}.btn-soft{background:#eef4ff;color:var(--nexus);border:1px solid #dce7ff;font-weight:650}.btn-soft:hover{background:#e2ebff;color:var(--nexus-dark)}.form-control,.form-select{border-radius:12px;border-color:#dfe4ec;padding:.75rem .9rem}.form-control:focus,.form-select:focus{border-color:#9db8ff;box-shadow:0 0 0 .2rem rgba(11,61,164,.1)}.section-title{font-size:1.05rem;font-weight:750;margin:0}.result-card{position:relative;overflow:hidden}.rank-ribbon{position:absolute;left:0;top:0;bottom:0;width:6px;background:var(--nexus)}.rank-badge{width:44px;height:44px;border-radius:14px;background:#eef4ff;color:var(--nexus);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.1rem}.score-ring{width:78px;height:78px;border-radius:50%;background:conic-gradient(var(--nexus) calc(var(--score) * 1%),#e9edf5 0);display:grid;place-items:center;position:relative}.score-ring:after{content:"";position:absolute;width:60px;height:60px;border-radius:50%;background:#fff}.score-ring span{position:relative;z-index:2;font-weight:800;color:var(--nexus-dark)}.data-chip{border-radius:12px;background:#f8fafc;padding:12px 14px;height:100%}.data-chip small{display:block;color:#98a2b3;font-weight:650;margin-bottom:3px}.data-chip strong{font-size:.98rem}.status-high{background:#e8f7f0;color:#147a53}.status-medium{background:#fff4dd;color:#a15c00}.status-low{background:#fce8e8;color:#b42318}.table thead th{color:#667085;font-size:.78rem;text-transform:uppercase;letter-spacing:.03em;border-bottom-color:#e7ebf2}.table td{vertical-align:middle;border-bottom-color:#f0f2f5}.map-card img{max-height:430px;object-fit:contain;filter:drop-shadow(0 12px 25px rgba(13,45,116,.08))}.empty-state{padding:48px 20px;text-align:center;color:var(--muted)}
@media(max-width:991.98px){.sidebar{position:static;width:100%;min-height:auto}.content{margin-left:0}.side-footer{position:static;margin-top:14px}.topbar{padding:0 18px}.page-wrap{padding:22px 18px}.sidebar .brand{display:flex;justify-content:center}.sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}}

/* Rede Nexus - tema da barra lateral (somente apresentacao) */
.sidebar {
  background: #101F36;
  border-right: 1px solid #233A59;
}
.sidebar .brand { border-bottom-color: #233A59; }
/* O arquivo do logotipo original permanece inalterado. */
.sidebar .brand img { filter: brightness(0) invert(1); }
.sidebar .nav-label { color: #A9B9D0; }
.sidebar .side-link { color: #F3F7FF; }
.sidebar .side-link i { color: inherit; }
.sidebar .side-link:hover,
.sidebar .side-link:focus-visible {
  background: #233A59;
  color: #FFFFFF;
}
.sidebar .side-link.active,
.sidebar .side-link.active:hover,
.sidebar .side-link.active:focus-visible {
  background: #1460C8;
  color: #FFFFFF;
}
.sidebar .side-footer .side-link { color: #F3F7FF; }
.sidebar .side-footer .side-link:hover,
.sidebar .side-footer .side-link:focus-visible { background: #233A59; color: #FFFFFF; }
