.threat-grid{display:grid;grid-template-columns:1.35fr 1fr .75fr;gap:14px;margin-top:14px}.donut-wrap{display:grid;grid-template-columns:160px 1fr;gap:24px;align-items:center;min-height:205px}.threat-donut{width:158px;height:158px;border-radius:50%;display:grid;place-items:center;position:relative;box-shadow:0 0 34px #6d4de52b}.threat-donut:after{content:"";position:absolute;inset:25px;border-radius:50%;background:#0f1320;box-shadow:inset 0 0 0 1px #242a3d}.threat-donut div{z-index:1;text-align:center}.threat-donut strong,.threat-donut small{display:block}.threat-donut strong{font-size:27px}.threat-donut small{color:var(--muted);font-size:8px;letter-spacing:1px;margin-top:3px}.donut-legend{display:grid;gap:12px}.donut-legend span{display:grid;grid-template-columns:8px 1fr auto;align-items:center;gap:8px;padding-bottom:9px;border-bottom:1px solid #1b2131}.donut-legend b{font-size:9px;color:#aeb5c6}.donut-legend em{font-style:normal;font-size:10px;font-weight:800}.legend-dot{width:7px;height:7px;border-radius:50%}.legend-dot.critical{background:var(--red);box-shadow:0 0 8px var(--red)}.legend-dot.high{background:#ff955c}.legend-dot.medium{background:var(--yellow)}.legend-dot.low{background:var(--cyan)}@media(max-width:1250px){.threat-grid{grid-template-columns:1.3fr 1fr}.threat-grid .alert{grid-column:1/-1}}@media(max-width:850px){.threat-grid{grid-template-columns:1fr}.threat-grid .alert{grid-column:auto}.donut-wrap{grid-template-columns:130px 1fr}.threat-donut{width:130px;height:130px}}@media(max-width:480px){.donut-wrap{grid-template-columns:1fr}.threat-donut{margin:auto}}

/* Emily Cloud — acabamento graphite glass */
:root{--bg:#080a0f;--side:rgba(15,17,22,.76);--panel:rgba(35,38,44,.58);--panel2:rgba(43,46,53,.66);--line:rgba(226,232,240,.13);--muted:#9ca3af}
body{min-height:100vh;background:radial-gradient(circle at 82% 4%,rgba(124,88,244,.16),transparent 30%),radial-gradient(circle at 15% 92%,rgba(40,212,242,.08),transparent 26%),linear-gradient(135deg,#080a0e 0%,#15181d 52%,#090b10 100%);background-attachment:fixed}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(115deg,rgba(255,255,255,.025),transparent 28%,rgba(255,255,255,.018) 58%,transparent 78%)}
.sidebar{background:linear-gradient(180deg,rgba(19,21,27,.86),rgba(10,12,17,.78));border-color:rgba(255,255,255,.11);box-shadow:14px 0 40px rgba(0,0,0,.2);backdrop-filter:blur(22px) saturate(120%);-webkit-backdrop-filter:blur(22px) saturate(120%)}
.card,.panel,.login-card{background:linear-gradient(145deg,rgba(49,52,60,.62),rgba(23,25,31,.54));border-color:rgba(255,255,255,.13);box-shadow:0 16px 42px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.035);backdrop-filter:blur(18px) saturate(115%);-webkit-backdrop-filter:blur(18px) saturate(115%)}
.tenant,.sidebar-health{background:rgba(48,51,58,.42);border-color:rgba(255,255,255,.12);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.btn{background:rgba(57,60,69,.58);border-color:rgba(255,255,255,.14);box-shadow:inset 0 1px rgba(255,255,255,.04)}
.btn.primary{background:linear-gradient(135deg,rgba(112,72,229,.96),rgba(134,103,255,.92));box-shadow:0 9px 24px rgba(112,72,229,.22)}
.input,.select,.textarea{background:rgba(8,10,15,.52);border-color:rgba(255,255,255,.13)}
.module{background:rgba(17,19,25,.5);border-color:rgba(255,255,255,.12);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.module:has(input:checked){background:linear-gradient(135deg,rgba(57,45,93,.55),rgba(23,25,31,.56))}
.alert{background:linear-gradient(145deg,rgba(75,37,49,.48),rgba(28,29,35,.55));border-color:rgba(255,92,121,.25)}
.notice{background:rgba(82,67,23,.36);border-color:rgba(239,199,94,.25)}
.chart{background-color:rgba(10,12,17,.2);background-image:repeating-linear-gradient(0deg,transparent 0 35px,rgba(255,255,255,.055) 36px)}
.table td,.service,.donut-legend span,.summary-line{border-color:rgba(255,255,255,.08)}
.nav-link:hover,.nav-link.active{background:linear-gradient(90deg,rgba(111,76,225,.26),rgba(255,255,255,.025),transparent)}
.ring::after,.threat-donut::after{background:rgba(25,28,34,.94)!important}
@media(max-width:700px){.sidebar{background:rgba(15,17,22,.94)}}

.appearance-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr);gap:18px;align-items:start}.theme-controls{min-width:0}.theme-color-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.color-field{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;border:1px solid var(--line);border-radius:11px;background:rgba(5,7,11,.24);font-size:10px;font-weight:700}.color-field>span:last-child{display:flex;align-items:center;gap:9px}.color-field input[type=color]{width:34px;height:34px;border:0;padding:0;background:transparent;cursor:pointer}.color-field code{color:var(--muted);font-size:9px;text-transform:uppercase}.theme-section{margin-top:22px}.theme-range-grid{display:grid;gap:13px}.range-field{display:grid;gap:9px;color:#aab1c2;font-size:10px;font-weight:700}.range-field span{display:flex;justify-content:space-between}.range-field b{color:var(--text)}.range-field input{width:100%;accent-color:var(--purple)}.theme-actions{margin-top:23px}.theme-preview{position:sticky;top:20px;overflow:hidden;min-height:390px}.theme-preview h2{margin:7px 0 20px;font-size:24px}.preview-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.preview-metrics i{height:55px;border:1px solid rgba(255,255,255,.1);border-radius:9px;background:rgba(255,255,255,.045)}.preview-card{display:flex;align-items:center;gap:13px;margin-top:12px;padding:18px;border:1px solid rgba(255,255,255,.1);border-radius:11px;background:rgba(255,255,255,.045)}.preview-card b,.preview-card small{display:block}.preview-card small{margin-top:5px;color:var(--muted);font-size:9px}.preview-ring{width:48px;height:48px;border-radius:50%;background:conic-gradient(var(--purple) 75%,var(--cyan) 0);box-shadow:0 0 20px color-mix(in srgb,var(--purple) 25%,transparent)}.preview-chart{height:115px;display:flex;align-items:end;justify-content:space-around;margin-top:14px;padding:15px;border:1px solid rgba(255,255,255,.08);border-radius:11px;background:rgba(0,0,0,.12)}.preview-chart i{width:12%;border-radius:5px 5px 2px 2px;background:linear-gradient(var(--cyan),var(--purple))}.preview-chart i:nth-child(1){height:42%}.preview-chart i:nth-child(2){height:68%}.preview-chart i:nth-child(3){height:52%}.preview-chart i:nth-child(4){height:87%}.preview-chart i:nth-child(5){height:73%}@media(max-width:1000px){.appearance-layout{grid-template-columns:1fr}.theme-preview{position:static}}@media(max-width:620px){.theme-color-grid{grid-template-columns:1fr}}

/* Sumário executivo Emily */
.executive-head{margin-bottom:8px}.executive-filter{display:flex;align-items:end;gap:18px;margin:8px 0 16px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:rgba(8,9,12,.48)}.executive-filter label{display:grid;gap:6px;min-width:210px;font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.7px}.executive-filter .select{height:37px}.executive-filter>span{color:#b8bdc8;font-size:10px;padding-bottom:11px}.executive-filter>a{margin-left:auto;color:#d9dce2;font-size:10px;padding-bottom:11px}.executive-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(260px,.85fr);gap:14px}.activity-panel{min-width:0}.line-chart{position:relative;height:285px;margin:10px 0 20px;padding-bottom:22px;background:linear-gradient(180deg,rgba(255,255,255,.025),transparent);border-left:1px solid rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.12)}.line-chart svg{width:100%;height:100%;overflow:visible}.chart-grid path{stroke:rgba(255,255,255,.1);stroke-width:1;vector-effect:non-scaling-stroke}.series{fill:none;stroke-width:3;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round}.series.malware{stroke:#ef365f}.series.web{stroke:#69c4eb;stroke-width:2}.series.phishing{stroke:#69d4b0;stroke-width:2}.chart-hours{position:absolute;left:0;right:0;bottom:2px;height:16px}.chart-hours span{position:absolute;transform:translateX(-50%);font-size:8px;color:#8f96a5}.executive-legend{display:grid;gap:0}.executive-legend span{display:grid;grid-template-columns:9px 1fr auto;gap:9px;align-items:center;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.08)}.executive-legend i,.split-legend i,.remediation-legend i{width:8px;height:8px}.executive-legend b{font-size:10px}.executive-legend strong{font-size:10px}.device-split{display:flex;flex-direction:column}.device-donut{width:165px;height:165px;border-radius:50%;display:grid;place-items:center;margin:18px auto;position:relative;box-shadow:0 0 42px rgba(155,108,255,.14)}.device-donut:after{content:"";position:absolute;inset:14px;border-radius:50%;background:#17191e}.device-donut div{z-index:1;text-align:center}.device-donut strong,.device-donut small{display:block}.device-donut strong{font-size:26px}.device-donut small{font-size:8px;color:var(--muted);margin-top:4px}.split-legend{display:grid;gap:10px}.split-legend span{display:grid;grid-template-columns:8px 1fr auto;gap:9px;align-items:center;font-size:10px}.split-legend .workstation{background:#ef365f}.split-legend .server{background:#9b6cff}.incident-card{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:265px}.posture-ring{width:112px;height:112px;border:11px solid #363942;border-top-color:#f3f3f3;border-radius:50%;display:grid;place-items:center;margin:13px}.posture-ring strong{font-size:23px}.incident-card h2{margin:5px 0}.incident-card p{color:var(--muted);font-size:10px}.incident-card .btn{margin-top:9px}.remediation{min-height:265px}.remediation-bar{height:38px;display:flex;margin:42px 0 28px;border-radius:3px;overflow:hidden;background:#343740;box-shadow:inset 0 0 0 1px rgba(255,255,255,.09)}.remediation-bar i{height:100%;min-width:0}.blocked{background:#ef365f}.deleted{background:#ff7448}.quarantined{background:#4d8fd8}.detected{background:#69d4b0}.remediation-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.remediation-legend span{display:grid;grid-template-columns:9px 1fr auto;gap:8px;align-items:center;color:#c8ccd4;font-size:10px}.remediation-legend b{color:#fff}.compact-metrics{margin-top:14px}.fleet{margin-top:14px}@media(max-width:1050px){.executive-grid{grid-template-columns:1fr}.activity-panel{min-height:480px}.remediation-legend{grid-template-columns:1fr 1fr}}@media(max-width:650px){.executive-filter{align-items:stretch;flex-direction:column}.executive-filter>a{margin-left:0}.line-chart{height:220px}.remediation-legend{grid-template-columns:1fr}.executive-legend span{grid-template-columns:8px 1fr auto}}