:root {
  --bg: #030b16;
  --panel: rgba(13, 27, 49, 0.86);
  --panel-2: rgba(19, 37, 69, 0.78);
  --line: rgba(117, 158, 212, 0.18);
  --text: #f6fbff;
  --muted: #9aa9bd;
  --cyan: #12d6ff;
  --blue: #1885ff;
  --red: #ff353f;
  --orange: #f97316;
  --yellow: #ffd21f;
  --green: #19d27f;
  --purple: #8b5cf6;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 0%, rgba(20, 113, 255, .18), transparent 32%),
    radial-gradient(circle at 10% 15%, rgba(18, 214, 255, .10), transparent 30%),
    linear-gradient(135deg, #020814 0%, #041225 55%, #01060e 100%);
  min-height: 100vh;
}
.app-shell { max-width: 1540px; margin: 0 auto; padding: 18px 26px 28px; }
.topbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 22px; margin-bottom: 18px; }
.brand h1 { margin: 0; font-size: 34px; letter-spacing: -1px; }
.brand p { margin: 4px 0 0; color: var(--cyan); font-weight: 700; }
.nav { display: flex; gap: 8px; background: rgba(7, 16, 31, .72); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.nav-btn { position: relative; border: 0; color: var(--text); background: transparent; padding: 17px 24px; font-weight: 800; cursor: pointer; }
.nav-btn.active { background: linear-gradient(135deg, #0a5bff, #18c8ff); box-shadow: 0 0 28px rgba(24, 133, 255, .52); }
.pill { position: absolute; top: 7px; right: 11px; background: var(--red); color: white; border-radius: 99px; font-size: 10px; padding: 2px 5px; }
.hero { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; padding: 34px 32px; background: linear-gradient(135deg, rgba(19, 37, 69, .9), rgba(6, 17, 34, .68)); box-shadow: var(--shadow); margin-bottom: 18px; }
.hero h2 { margin: 0; font-size: clamp(34px, 4vw, 50px); letter-spacing: -1.5px; }
.hero p { color: #c2ccdc; font-size: 18px; margin: 10px 0 0; }
.orb { position: absolute; right: -80px; top: 8px; width: 430px; height: 220px; border-radius: 50%; border-top: 3px solid rgba(18, 127, 255, .72); box-shadow: inset 0 30px 70px rgba(24, 133, 255, .22), 0 0 55px rgba(18, 214, 255, .20); transform: rotate(-8deg); opacity: .7; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 14px; }
.metric-card { display: flex; justify-content: space-between; align-items: center; min-height: 132px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); box-shadow: var(--shadow); }
.metric-card.danger { border-color: rgba(255,53,63,.55); background: linear-gradient(135deg, rgba(32,17,38,.85), rgba(13,27,49,.88)); }
.label { display: block; color: var(--muted); font-size: 13px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; }
.metric-card strong { display: block; font-size: 43px; margin-top: 10px; line-height: 1; }
.metric-card small { display: block; margin-top: 11px; color: #39bfff; font-weight: 700; }
.icon { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 14px; font-size: 34px; }
.icon.blue { color: var(--blue); background: rgba(24,133,255,.13); }
.icon.red { color: var(--red); background: rgba(255,53,63,.13); }
.icon.purple { color: var(--purple); background: rgba(139,92,246,.14); }
.icon.orange { color: var(--orange); background: rgba(249,115,22,.14); }
.decision-banner { margin: 0 0 14px; padding: 18px 24px; border-radius: 16px; border: 1px solid rgba(255,53,63,.55); background: linear-gradient(135deg, rgba(205, 31, 40, .95), rgba(129, 18, 27, .88)); display: flex; justify-content: space-between; align-items: center; box-shadow: 0 0 36px rgba(255,53,63,.18); }
.decision-banner div { display: flex; align-items: center; gap: 16px; }
.siren { font-size: 38px; }
.decision-banner h3 { font-size: clamp(24px, 3vw, 42px); margin: 0; letter-spacing: -1px; }
.decision-banner p { color: rgba(255,255,255,.78); margin: 0; font-weight: 700; }
.dashboard-grid { display: grid; grid-template-columns: 1.05fr 1.23fr 1.23fr; gap: 16px; }
.panel { border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(135deg, rgba(13,27,49,.88), rgba(5,17,33,.9)); box-shadow: var(--shadow); padding: 18px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.panel h3 { margin: 0; font-size: 21px; }
.panel a, .panel-head span { color: #27b8ff; font-weight: 800; text-decoration: none; font-size: 14px; }
.alert-item, .submission { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; padding: 13px; border-bottom: 1px solid rgba(255,255,255,.08); }
.alert-item.hot { background: rgba(255,53,63,.14); border: 1px solid rgba(255,53,63,.42); border-radius: 12px; margin-bottom: 6px; }
.alert-item strong, .submission strong { font-size: 14px; line-height: 1.3; }
.alert-item p, .submission p { margin: 4px 0 0; color: #b1bed0; font-size: 13px; }
em { color: #ff4b54; font-style: normal; font-size: 12px; white-space: nowrap; }
.trend { display: grid; grid-template-columns: 34px 150px 1fr 48px; gap: 10px; align-items: center; margin: 15px 0; }
.trend span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.06); }
.trend p { margin: 0; color: #d6deec; }
.trend div { height: 9px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.trend i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1783ff, #15d5ff); }
.trend b { color: var(--cyan); }
.signal, .status { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: #d6deec; }
.high { color: var(--red); }.elevated { color: var(--orange); }.moderate { color: var(--yellow); }
.status b { color: var(--green); }
.heat-panel, .recent-panel, .status-panel { min-height: 285px; }
.map-btn { color: white; border: 1px solid var(--line); background: rgba(255,255,255,.07); border-radius: 9px; padding: 6px 9px; }
.map-box { position: relative; height: 198px; border-radius: 10px; overflow: hidden; background: radial-gradient(circle at 58% 46%, rgba(255,0,0,.28), transparent 10%), linear-gradient(135deg, #09213f, #031326); border: 1px solid rgba(255,255,255,.07); }
.map-box:before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 38px 38px; opacity: .35; }
.city { position: absolute; z-index: 2; color: white; font-size: 13px; text-shadow: 0 1px 8px black; }
.austin{left:19%;top:28%;}.houston{left:48%;top:38%;}.beaumont{right:18%;top:35%;}.victoria{left:38%;bottom:24%;}.sanantonio{left:8%;bottom:30%;}
.hotspot { position: absolute; z-index: 1; width: 24px; height: 24px; border-radius: 50%; transform: translate(-50%, -50%); }
.hotspot:after { content:""; position:absolute; inset:-22px; border-radius:50%; filter: blur(9px); opacity:.75; }
.hotspot.yellow,.hotspot.yellow:after{background:rgba(255,210,31,.95)}.hotspot.red,.hotspot.red:after{background:rgba(255,53,63,.95)}.hotspot.orange,.hotspot.orange:after{background:rgba(249,115,22,.95)}
.one{left:20%;top:35%;}.two{left:55%;top:45%;}.three{right:16%;top:44%;}.four{left:38%;bottom:26%;}
.legend { display:flex; align-items:center; gap:10px; justify-content:center; margin-top:10px; color:white; font-size:12px; font-weight:800; }
.legend div { width: 210px; height: 9px; border-radius:99px; background: linear-gradient(90deg, #27d979, #ffd21f, #ff353f); }
.ai-panel { margin-top: 16px; }
.ai-panel p { color:#d8e2f0; font-size: 18px; line-height: 1.55; margin-bottom: 0; }
footer { color: #7f8da1; text-align: center; margin-top: 20px; font-weight: 700; }
@media (max-width: 1050px) { .metric-grid, .dashboard-grid { grid-template-columns: 1fr 1fr; } .signals-panel, .status-panel { grid-column: span 2; } .topbar { flex-direction: column; } }
@media (max-width: 720px) { .app-shell { padding: 14px; } .metric-grid, .dashboard-grid { grid-template-columns: 1fr; } .signals-panel, .status-panel { grid-column: span 1; } .nav { flex-wrap: wrap; } .nav-btn { flex: 1; min-width: 140px; } .decision-banner { align-items: flex-start; flex-direction: column; } .trend { grid-template-columns: 30px 1fr 44px; } .trend div { grid-column: 2 / 4; } }
