/* Advantage Log Portal 4.3 — Aurora Visual Analytics.
 * All charts are server-rendered from already-collected statistics.
 * No new requests, polling, remote assets, or mutation controls. */
:root{
  --v43-cyan:#1dd6f4;--v43-ok:#28dbc2;--v43-danger:#ff6d8e;
  --v43-warn:#f8bf59;--v43-muted:#7b9eb5;
  --v43-panel:linear-gradient(142deg,#103652 0%,#0b2840 38%,#071c31 100%);
  --v43-border:rgba(41,190,240,.31)
}
.v42-page .v43-visual-block{margin:22px 0 28px;min-width:0}
.v42-page .v43-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 17px;padding-left:16px;border-left:3px solid #20d8f7}
.v42-page .v43-section-title h2{margin:3px 0 5px;color:var(--text);font-weight:850;font-size:clamp(19px,1.6vw,25px);letter-spacing:-.03em}
.v42-page .v43-section-title p{margin:0;color:var(--muted);font-size:13px}
.v43-kicker{display:block;font-size:10px;font-weight:850;letter-spacing:.16em;text-transform:uppercase;color:#69d8f2}
.v43-note{font-size:11px;line-height:1.5;color:#9fbed0}
.v43-analytic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;align-items:stretch}
.v43-analytic-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}
.v43-analytic-grid--four{grid-template-columns:repeat(4,minmax(0,1fr))}
.v43-analytic-card{position:relative;min-width:0;overflow:hidden;padding:22px;border-radius:17px;border:1px solid var(--v43-border);background:var(--v43-panel);box-shadow:inset 0 1px rgba(160,239,255,.07),0 16px 36px rgba(0,8,25,.19)}
.v43-analytic-card:before{content:"";pointer-events:none;position:absolute;inset:0 0 auto;height:1px;background:linear-gradient(90deg,rgba(35,236,255,.5),transparent 75%)}
.v43-analytic-card:after{content:"";pointer-events:none;position:absolute;right:-95px;bottom:-120px;width:250px;height:250px;border-radius:50%;background:radial-gradient(circle,rgba(16,157,245,.09),transparent 67%)}
.v43-card-head{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:16px}
.v43-card-head h3{margin:4px 0 0;color:#eff9ff;font-size:18px;line-height:1.2;font-weight:790;letter-spacing:-.025em}
.v43-card-head .v43-note{max-width:250px;text-align:right}
.v43-gauge-set{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.v43-gauge{--v43-color:var(--v43-cyan);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-width:0;text-align:center}
.v43-tone-ok{--v43-color:var(--v43-ok)}
.v43-tone-warning{--v43-color:var(--v43-warn)}
.v43-tone-danger{--v43-color:var(--v43-danger)}
.v43-tone-cyan{--v43-color:var(--v43-cyan)}
.v43-tone-muted{--v43-color:#7398af}
.v43-gauge-arc{position:relative;isolation:isolate;display:grid;place-items:center;width:clamp(125px,11vw,177px);aspect-ratio:1;border-radius:50%;background:conic-gradient(var(--v43-color) 0 var(--v43-pct,0%),rgba(58,105,142,.27) var(--v43-pct,0%) 100%);filter:drop-shadow(0 0 10px rgba(14,172,231,.13));box-shadow:0 0 0 1px rgba(48,205,250,.12),0 6px 24px rgba(0,8,25,.3)}
.v43-gauge-arc:before{content:"";position:absolute;inset:13px;border-radius:50%;background:linear-gradient(150deg,#112e48,#071e32 82%);box-shadow:inset 0 0 0 1px rgba(91,160,206,.24),inset 0 2px 17px rgba(0,0,0,.3)}
.v43-gauge-core{position:relative;z-index:1;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;max-width:85%}
.v43-gauge-core strong{font-size:clamp(22px,1.95vw,31px);line-height:1.05;font-weight:850;letter-spacing:-.035em;color:#f5fbff;overflow-wrap:anywhere}
.v43-gauge-core span{font-size:10px;font-weight:700;color:#adccdf;line-height:1.25}
.v43-gauge-caption{min-height:32px;color:#a7c7d8;font-size:12px;line-height:1.35}
.v43-gauge--compact .v43-gauge-arc{width:clamp(105px,8.8vw,140px)}
.v43-gauge--compact .v43-gauge-core strong{font-size:clamp(19px,1.5vw,26px)}
.v43-gauge-unknown{background:repeating-conic-gradient(rgba(83,130,160,.33) 0 12deg,rgba(38,67,89,.25) 12deg 20deg)}
.v43-metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.v43-metric{--v43-color:var(--v43-cyan);position:relative;overflow:hidden;min-width:0;padding:20px 21px;border:1px solid var(--v43-border);border-radius:15px;background:linear-gradient(140deg,rgba(14,61,91,.93),rgba(7,26,48,.97));box-shadow:0 12px 27px rgba(0,8,25,.18)}
.v43-metric:before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,var(--v43-color),transparent 78%)}
.v43-metric-top{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#b1d6e6}
.v43-metric-label{font-size:10px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.v43-metric svg{width:22px;height:22px;fill:none;stroke:var(--v43-color);stroke-width:1.8;flex-shrink:0}
.v43-metric-value{position:relative;font-size:clamp(21px,1.8vw,29px);font-weight:870;letter-spacing:-.03em;line-height:1.15;color:#f4fcff;margin-top:13px;overflow-wrap:anywhere}
.v43-metric p{position:relative;font-size:11px;color:#aecce0;margin:8px 0 0;line-height:1.45}
.v43-metric-glow{position:absolute;pointer-events:none;bottom:-75px;right:-65px;width:160px;height:160px;border-radius:50%;border:1px solid rgba(33,214,248,.12);box-shadow:0 0 25px rgba(10,144,203,.06)}
.v43-donut-wrap{display:flex;gap:clamp(18px,2vw,34px);align-items:center;justify-content:center;min-width:0;padding:10px 0}
.v43-donut{position:relative;isolation:isolate;flex:0 0 clamp(155px,14vw,225px);width:clamp(155px,14vw,225px);aspect-ratio:1;display:grid;place-items:center;border-radius:50%;background:var(--v43-chart);box-shadow:0 0 30px rgba(7,162,245,.14),0 0 0 1px rgba(62,182,226,.28)}
.v43-donut:before{content:"";position:absolute;inset:24%;border-radius:50%;background:linear-gradient(125deg,#0b2941,#06192b);box-shadow:inset 0 0 0 1px rgba(88,165,213,.19),inset 0 0 28px rgba(0,3,9,.35)}
.v43-donut-center{position:relative;display:grid;gap:4px;max-width:60%;text-align:center}
.v43-donut-center strong{color:#fff;font-weight:870;letter-spacing:-.04em;font-size:clamp(20px,1.9vw,30px);overflow-wrap:anywhere}
.v43-donut-center small{font-size:11px;color:#a8cfe3}
.v43-donut-empty{background:repeating-conic-gradient(#294760 0 12deg,#17334a 12deg 24deg)}
.v43-legend{flex:1;min-width:0;display:grid;gap:10px}
.v43-legend-item{display:grid;grid-template-columns:10px minmax(76px,1fr) auto auto;gap:9px;align-items:center;color:#d8effb;font-size:12px;min-width:0}
.v43-legend-item strong{font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
.v43-legend-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v43-legend-percent{color:#91b4c9;font-size:11px;text-align:right;min-width:41px;font-variant-numeric:tabular-nums}
.v43-legend-dot{width:10px;height:10px;border-radius:50%;box-shadow:0 0 9px rgba(27,189,243,.24)}
.v43-empty{padding:16px 8px;color:#9aafc0;font-size:13px}
.v43-hbar-list{display:grid;gap:13px;margin:6px 0 3px}
.v43-hbar-row{display:grid;grid-template-columns:minmax(110px,1fr) minmax(95px,2.8fr) minmax(50px,auto);gap:14px;align-items:center}
.v43-hbar-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#c5e3f2;font-size:12px;font-weight:720}
.v43-hbar-track{height:12px;border-radius:50px;background:rgba(25,105,145,.22);overflow:hidden}
.v43-hbar-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#0f80d4,#12d6ec);box-shadow:0 0 10px rgba(12,190,234,.2)}
.v43-hbar-number{font-size:12px;font-weight:800;color:#e2f4fd;text-align:right;font-variant-numeric:tabular-nums}
.v43-event-pulse{display:grid;gap:15px;margin-top:18px}
.v43-pulse-row{display:grid;gap:7px}
.v43-pulse-row-head{display:flex;gap:9px;align-items:center;justify-content:space-between;font-size:12px;color:#bbd5e3}
.v43-pulse-row-head strong{font-size:14px;color:#f2faff}
.v43-pulse-track{height:13px;border-radius:99px;overflow:hidden;background:rgba(27,91,126,.34)}
.v43-pulse-fill{height:100%;border-radius:99px;background:linear-gradient(90deg,#067dbd,#22e2ff)}
.v43-pulse-row:nth-child(2) .v43-pulse-fill{background:linear-gradient(90deg,#26899c,#27dbc7)}
.v43-snapshot{display:flex;align-items:center;gap:8px;padding:10px 13px;border-radius:9px;border:1px solid rgba(62,155,194,.27);background:rgba(5,49,76,.26);font-size:12px;color:#a9d5e9}
.v43-snapshot b{color:#e2f7ff;font-weight:800}
.v43-dot{width:8px;height:8px;display:inline-block;flex:0 0 8px;border-radius:50%;background:var(--v43-ok);box-shadow:0 0 10px rgba(42,219,194,.35)}
.v43-dot--danger{background:var(--v43-danger)}
.v43-dot--warning{background:var(--v43-warn)}
.v43-status-note{margin:12px 0 0;color:#a9cfe2;font-size:12px;line-height:1.6}
.v43-status-note--warn{color:#ffd591}
/* Page-specific arrangement for more premium, legible use of space. */
.v42-system-health .v43-analytic-grid--two>.v43-analytic-card{min-height:295px}
.v42-system-health .health-summary{gap:14px}
.v42-system-health .summary-card{padding:19px 20px}
.v42-system-health .summary-value{font-size:clamp(22px,1.7vw,30px)}
.v42-system-health .health-grid .card-header{background:linear-gradient(95deg,rgba(8,95,133,.33),transparent 90%)}
.v42-system-health .overall-banner{border-radius:15px;padding:19px 25px;font-size:16px}
.v42-system-health .overall-critical{box-shadow:inset 3px 0 #f87171}
.v42-system-health .overall-warning{box-shadow:inset 3px 0 #eab95b}
.v42-system-health .overall-healthy{box-shadow:inset 3px 0 #22d3b0}
.v42-device-profile .profile-grid{grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr)}
.v42-device-profile .v43-device-viz{margin-top:0}
.v42-device-profile .v43-device-viz .v43-analytic-card{padding:21px}
.v42-device-profile .v43-device-viz .v43-donut{flex-basis:170px;width:170px}
.v42-device-profile .v43-device-viz .v43-donut-center strong{font-size:23px}
.v42-devices .v43-inventory-chart{min-height:260px}
.v43-retention-overview{display:flex;align-items:center;gap:22px}.v43-retention-overview>.v43-gauge{flex:0 0 140px}.v43-retention-overview>.v43-metrics-grid{flex:1;min-width:0}
.v42-retention .v43-policy-value{font-size:clamp(42px,4vw,60px);font-weight:850;letter-spacing:-.05em;color:#ebfcff;line-height:1.1}
.v42-retention .v43-policy-label{font-size:11px;color:#8ecde2;font-weight:850;text-transform:uppercase;letter-spacing:.11em;margin-top:5px}
.v42-retention .v43-policy-icon{width:52px;height:52px;opacity:.8;fill:none;stroke:#18d4fa;stroke-width:1.6}
.v42-retention .v43-policy-card{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;text-align:center}
.v42-retention .v43-policy-caption{max-width:420px;color:#accde0;font-size:12px;line-height:1.6}
.v42-retention .v43-status-note{border-top:1px solid rgba(42,154,196,.21);padding-top:10px}
.v43-analytic-card .v43-status-pill{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(42,215,183,.3);border-radius:99px;padding:4px 9px;background:rgba(29,199,168,.1);font-size:10px;color:#8cffe1;font-weight:800}
/* Other admin sections have count/status visualizations, not fictitious time series. */
.v42-users .v43-analytic-grid .v43-analytic-card,
.v42-email-alerts .v43-analytic-grid .v43-analytic-card,
.v42-blocked-ips .v43-analytic-grid .v43-analytic-card{min-height:170px}
/* Light theme is genuinely readable, not dark cards pasted on a bright background. */
html[data-theme='light'] .v43-analytic-card,html[data-theme='light'] .v43-metric{background:linear-gradient(145deg,#fff,#eaf6fd);border-color:rgba(24,136,184,.24);box-shadow:0 9px 22px rgba(7,68,110,.07)}
html[data-theme='light'] .v43-card-head h3,html[data-theme='light'] .v43-metric-value,html[data-theme='light'] .v43-gauge-core strong,html[data-theme='light'] .v43-donut-center strong,html[data-theme='light'] .v43-hbar-number{color:#12364e}
html[data-theme='light'] .v42-retention .v43-policy-value{color:#0c3650}
html[data-theme='light'] .v43-kicker,html[data-theme='light'] .v43-policy-label{color:#0c84a7}
html[data-theme='light'] .v43-note,html[data-theme='light'] .v43-metric p,html[data-theme='light'] .v43-gauge-caption,html[data-theme='light'] .v43-legend-item,html[data-theme='light'] .v43-hbar-label,html[data-theme='light'] .v43-pulse-row-head,html[data-theme='light'] .v43-status-note,html[data-theme='light'] .v43-policy-caption{color:#476b80}
html[data-theme='light'] .v43-gauge-arc:before,html[data-theme='light'] .v43-donut:before{background:#eff9ff}
html[data-theme='light'] .v43-gauge-core span,html[data-theme='light'] .v43-donut-center small,html[data-theme='light'] .v43-legend-percent{color:#42728a}
html[data-theme='light'] .v43-snapshot{color:#476f84;border-color:#b6d6e8;background:#eff8fd}
html[data-theme='light'] .v43-snapshot b{color:#164760}
html[data-theme='light'] .v43-pulse-row-head strong{color:#164760}
/* Keep charts legible and contained down to mobile widths. */
@media(max-width:1600px){
  .v43-analytic-grid--four{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v43-donut-wrap{flex-wrap:wrap}
  .v43-donut{flex-basis:190px;width:190px}
  .v43-legend{width:100%}
}
@media(max-width:1150px){
  .v43-analytic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v43-analytic-grid--four{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v43-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v43-gauge-set{gap:8px}
  .v43-gauge-arc{width:clamp(104px,13vw,145px)}
  .v43-gauge-caption{font-size:11px}
}
@media(max-width:760px){
  .v43-analytic-grid,.v43-analytic-grid--two,.v43-analytic-grid--four{grid-template-columns:minmax(0,1fr)}
  .v43-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v43-analytic-card{padding:18px}
  .v43-gauge-set{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .v43-gauge-arc,.v43-gauge--compact .v43-gauge-arc{width:min(26vw,125px);min-width:0}
  .v43-gauge-arc:before{inset:10px}
  .v43-gauge-core strong{font-size:clamp(16px,4vw,22px)}
  .v43-gauge-core span{font-size:9px}
  .v43-donut-wrap{gap:17px}
  .v43-section-title h2{font-size:21px}
  .v43-legend-item{grid-template-columns:9px minmax(70px,1fr) auto auto;gap:7px}
  .v42-system-health .v43-analytic-grid--two>.v43-analytic-card{min-height:0}
}
@media(max-width:410px){
  .v43-analytic-card{padding:15px}
  .v43-metric{padding:16px 13px}
  .v43-metric-value{font-size:21px}
  .v43-metric-label{font-size:9px}
  .v43-gauge-arc,.v43-gauge--compact .v43-gauge-arc{width:min(24vw,108px)}
  .v43-gauge-arc:before{inset:8px}
  .v43-gauge-core strong{font-size:16px}
  .v43-gauge-core span{font-size:8px}
  .v43-gauge-caption{font-size:10px}
  .v43-donut{width:170px;flex-basis:170px}
  .v43-hbar-row{grid-template-columns:minmax(70px,1fr) minmax(65px,1.3fr) auto;gap:7px}
}
@media(prefers-reduced-motion:reduce){.v43-analytic-card,.v43-metric,.v43-gauge,.v43-donut{animation:none!important;transition:none!important}}

@media(max-width:1250px){.v43-retention-overview{flex-wrap:wrap;justify-content:center}.v43-retention-overview>.v43-metrics-grid{flex:1 1 100%}}
