:root {
  color-scheme: dark;
  --bg: #0d0f12; --panel: #121519; --panel-2: #15191e;
  --line: #1e242b; --line-soft: #171c22; --text: #f4f6f8;
  --gray: #7c8794; --gray-dim: #545e69; --green: #00ff66; --red: #ff3b3b;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
button { color: inherit; font: inherit; }
.gde-body { background: var(--bg); color: var(--text); font-family: var(--mono); }
.gde-shell { min-height: 100vh; display: flex; background-color: var(--bg); background-image: linear-gradient(to right, rgba(255,255,255,.015) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.015) 1px, transparent 1px); background-size: 44px 44px; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.75; }

.sidebar { width: 248px; flex: 0 0 248px; min-height: 100vh; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; z-index: 3; background: var(--panel); border-right: 1px solid var(--line); }
.brand { height: 77px; display: flex; align-items: center; gap: 12px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.brand__mark { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(0,255,102,.35); border-radius: 6px; color: var(--green); background: rgba(0,255,102,.06); }
.brand__mark svg { width: 18px; height: 18px; }
.brand strong, .brand span { display: block; }
.brand strong { font-size: 15px; letter-spacing: -.02em; }
.brand span { margin-top: 3px; color: var(--gray-dim); font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.sidebar__nav { flex: 1; padding: 18px 12px; }
.eyebrow { margin: 0 8px 8px; color: var(--gray-dim); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.nav-item { border: 0; width: 100%; display: flex; align-items: center; gap: 12px; position: relative; padding: 11px 12px; border-radius: 6px; background: transparent; color: var(--gray); cursor: pointer; font-size: 13px; letter-spacing: -.02em; text-decoration: none; transition: background .18s, color .18s; }
.nav-item:hover { color: var(--text); background: rgba(255,255,255,.03); }
.nav-item.is-active { color: var(--text); background: rgba(0,255,102,.07); }
.nav-item.is-active::before { content: ""; position: absolute; left: 0; top: 50%; width: 2px; height: 20px; border-radius: 2px; transform: translateY(-50%); background: var(--green); box-shadow: 0 0 8px 1px rgba(0,255,102,.7); }
.nav-item svg { width: 18px; height: 18px; flex: 0 0 auto; }
.nav-item.is-active svg { color: var(--green); }
.nav-item span { flex: 1; text-align: left; }
.nav-item em { padding: 2px 6px; border-radius: 4px; background: rgba(255,255,255,.05); color: var(--gray); font-size: 10px; font-style: normal; font-weight: 700; }
.nav-item em.danger { color: var(--red); background: rgba(255,51,51,.12); }
.sidebar__footer { padding: 16px; border-top: 1px solid var(--line); }
.session-card { margin-bottom: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel-2); }
.session-card > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.session-card > div span { min-width: 0; overflow: hidden; color: var(--gray); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.session-card > div strong { flex: 0 0 auto; color: var(--green); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.session-card__logout { width: 100%; display: flex; align-items: center; gap: 7px; margin-top: 10px; padding: 7px 0 0; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--gray-dim); cursor: pointer; font-size: 10px; }
.session-card__logout:hover { color: var(--text); }
.session-card__logout svg { width: 13px; height: 13px; }
.region-card { padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel-2); }
.region-card > div { display: flex; justify-content: space-between; align-items: center; }
.region-card span { color: var(--gray-dim); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.region-card strong { color: var(--gray); font-size: 11px; font-weight: 400; }
.region-card p { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; color: var(--gray); font-size: 11px; }
.status-dot { display: inline-block; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px 1px rgba(0,255,102,.75); }

.workspace { min-width: 0; flex: 1; }
.topbar { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; position: sticky; top: 0; z-index: 2; padding: 0 24px; border-bottom: 1px solid var(--line); background: rgba(18,21,25,.86); backdrop-filter: blur(12px); }
.client-id, .topbar__right, .utc, .system-status { display: flex; align-items: center; }
.client-id { gap: 12px; }
.client-id > span, .utc span { color: var(--gray-dim); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.client-id button { display: flex; align-items: center; gap: 9px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel-2); color: var(--gray); cursor: pointer; transition: .18s; }
.client-id button:hover { border-color: rgba(0,255,102,.3); color: var(--text); }
.client-id button strong { font-size: 12px; font-weight: 400; letter-spacing: -.02em; }
.client-id button svg { width: 14px; height: 14px; opacity: .65; }
.client-id button svg.is-copied { color: var(--green); opacity: 1; }
.topbar__right { gap: 19px; }
.utc { gap: 9px; }
.utc time { min-width: 218px; color: var(--gray); font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; }
.divider { width: 1px; height: 24px; background: var(--line); }
.system-status { gap: 8px; padding: 7px 11px; border: 1px solid rgba(0,255,102,.28); border-radius: 6px; background: rgba(0,255,102,.05); }
.system-status svg { width: 14px; height: 14px; color: var(--green); }
.system-status span { color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-shadow: 0 0 12px rgba(0,255,102,.55); }
.system-status.is-offline { border-color: rgba(255,59,59,.32); background: rgba(255,59,59,.05); }
.system-status.is-offline svg, .system-status.is-offline span { color: var(--red); text-shadow: 0 0 12px rgba(255,59,59,.45); }
.notification { width: 34px; height: 34px; position: relative; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; background: var(--panel-2); color: var(--gray); cursor: pointer; }
.notification svg { width: 16px; height: 16px; }
.notification i { position: absolute; right: -2px; top: -2px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px 1px rgba(255,51,51,.8); }

.dashboard { max-width: 1540px; margin: 0 auto; padding: 28px 24px 40px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.page-heading .eyebrow { margin: 0 0 8px; color: var(--green); opacity: .7; }
.page-heading h1 { margin: 0; font-size: 20px; letter-spacing: -.035em; }
.page-heading p:not(.eyebrow) { margin: 7px 0 0; color: var(--gray); font-size: 12px; letter-spacing: -.025em; }
.page-heading p strong { color: var(--text); font-weight: 400; }
.refresh-status { display: flex; align-items: center; gap: 8px; color: var(--gray-dim); font-size: 11px; }
.metrics-grid { display: grid; grid-template-columns: minmax(300px, 4fr) minmax(560px, 8fr); gap: 20px; }
.panel { display: flex; flex-direction: column; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.panel__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.panel__title { display: flex; align-items: center; gap: 9px; min-width: 0; }
.panel__title > svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--green); }
.panel__title h2 { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.chip { padding: 3px 8px; border-radius: 4px; background: rgba(255,255,255,.05); color: var(--gray); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.gauge { width: min(220px, 100%); aspect-ratio: 1; position: relative; display: grid; place-items: center; margin: 0 auto; }
.gauge > svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 12; }
.gauge__track { stroke: var(--line); }
.gauge__value { stroke: var(--green); stroke-linecap: round; stroke-dasharray: 0 603.19; filter: drop-shadow(0 0 8px rgba(0,255,102,.6)); }
.gauge__label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge__label strong { color: var(--green); font-size: clamp(30px, 3vw, 40px); line-height: 1; letter-spacing: -.06em; text-shadow: 0 0 12px rgba(0,255,102,.55); font-variant-numeric: tabular-nums; }
.gauge__label small { font-size: .5em; }
.gauge__label > span { margin-top: 9px; color: var(--gray); font-size: 10px; text-align: center; }
.stats-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.stats-pair > div:last-child { text-align: right; }
.stats-pair span, .query-meta span { display: block; color: var(--gray-dim); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.stats-pair strong { display: block; margin-top: 5px; font-size: 15px; font-variant-numeric: tabular-nums; }
.pool-panel { min-height: 358px; }
.pool-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; flex: 1; }
.pool-card { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-2); }
.pool-card > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pool-card svg { width: 16px; height: 16px; color: var(--gray); }
.pool-card > div span { padding: 3px 6px; border-radius: 4px; background: rgba(255,255,255,.05); color: var(--gray); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pool-card > strong { margin-top: 28px; font-size: clamp(30px, 3vw, 38px); line-height: 1; font-variant-numeric: tabular-nums; }
.pool-card p { margin: 9px 0 0; color: var(--gray-dim); font-size: 11px; }
.pool-card--green { border-color: rgba(0,255,102,.22); }
.pool-card--green svg, .pool-card--green > strong { color: var(--green); text-shadow: 0 0 12px rgba(0,255,102,.55); }
.pool-card--green > div span { color: var(--green); background: rgba(0,255,102,.08); }
.pool-card--red { border-color: rgba(255,51,51,.3); }
.pool-card--red svg, .pool-card--red > strong { color: var(--red); text-shadow: 0 0 12px rgba(255,51,51,.55); }
.pool-card--red > div span { color: var(--red); background: rgba(255,51,51,.1); }
.panel__footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--gray); font-size: 11px; }
.chart-panel { grid-column: 1 / -1; }
.chart-heading { align-items: flex-start; margin-bottom: 0; }
.chart-heading .panel__title { align-items: flex-start; }
.chart-heading p { margin: 4px 0 0; color: var(--gray-dim); font-size: 10px; }
.throughput { text-align: right; }
.throughput strong, .throughput span { display: block; }
.throughput strong { color: var(--green); font-size: 22px; line-height: 1; text-shadow: 0 0 12px rgba(0,255,102,.55); font-variant-numeric: tabular-nums; }
.throughput span { margin-top: 5px; color: var(--gray-dim); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.chart-wrap { width: 100%; margin-top: 12px; }
.chart { width: 100%; height: 220px; overflow: visible; }
.chart text { fill: var(--gray-dim); stroke: none; font-family: var(--mono); font-size: 9px; }
.chart__grid { stroke: var(--line-soft); stroke-width: 1; }
.chart__line { fill: none; stroke: var(--green); stroke-width: 2; filter: drop-shadow(0 0 6px rgba(0,255,102,.5)); }
.chart__point { fill: var(--green); stroke: none; filter: drop-shadow(0 0 6px rgba(0,255,102,.9)); }
.chart-footer { color: var(--gray-dim); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.chart-footer span:last-child { display: flex; align-items: center; gap: 7px; }

.prediction-panel { position: relative; margin-top: 20px; padding: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); transition: border-color .25s, box-shadow .25s; }
.prediction-panel::after { content: ""; position: absolute; top: 0; right: 0; width: 180px; height: 100%; pointer-events: none; background: linear-gradient(135deg, transparent, rgba(0,255,102,.035)); }
.prediction-heading, .prediction-title { display: flex; align-items: center; }
.prediction-heading { position: relative; z-index: 1; justify-content: space-between; gap: 16px; }
.prediction-title { gap: 10px; }
.prediction-title > svg { width: 20px; height: 20px; color: var(--green); }
.prediction-title h2 { margin: 0; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.prediction-title p { margin: 5px 0 0; color: var(--gray-dim); font-size: 10px; }
.prediction-state { flex: 0 0 auto; padding: 5px 9px; border-radius: 4px; background: rgba(0,255,102,.08); color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.prediction-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .7fr 1.1fr 1.4fr; gap: 12px; margin-top: 18px; }
.prediction-grid article { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-2); }
.prediction-grid span, .prediction-action > span { display: block; color: var(--gray-dim); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.prediction-grid strong { display: block; margin-top: 8px; overflow: hidden; color: var(--text); font-size: 14px; font-weight: 500; text-overflow: ellipsis; text-transform: capitalize; white-space: nowrap; }
.prediction-grid article:first-child strong { color: var(--green); font-size: 23px; line-height: 1; text-shadow: 0 0 12px rgba(0,255,102,.45); }
.prediction-action { position: relative; z-index: 1; margin-top: 12px; padding: 13px 14px; border-left: 2px solid var(--green); background: rgba(0,255,102,.035); }
.prediction-action p { margin: 7px 0 0; color: var(--gray); font-size: 11px; line-height: 1.55; }
.prediction-panel.is-learning .prediction-title > svg, .prediction-panel.is-learning .prediction-grid article:first-child strong { color: var(--gray); text-shadow: none; }
.prediction-panel.is-learning .prediction-state { color: var(--gray); background: rgba(255,255,255,.05); }
.prediction-panel.is-learning .prediction-action { border-left-color: var(--gray-dim); background: rgba(255,255,255,.02); }
.prediction-panel.is-anomaly { border-color: rgba(255,51,51,.62); box-shadow: 0 0 32px -9px rgba(255,51,51,.45); animation: crimson-pulse 1.9s ease-in-out infinite; }
.prediction-panel.is-anomaly::after { background: linear-gradient(135deg, transparent, rgba(255,51,51,.07)); }
.prediction-panel.is-anomaly .prediction-title > svg, .prediction-panel.is-anomaly .prediction-grid article:first-child strong { color: var(--red); text-shadow: 0 0 12px rgba(255,51,51,.55); }
.prediction-panel.is-anomaly .prediction-state { color: var(--red); background: rgba(255,51,51,.1); }
.prediction-panel.is-anomaly .prediction-action { border-left-color: var(--red); background: rgba(255,51,51,.045); }
.prediction-panel--page { margin-top: 0; padding: 24px; }
.prediction-grid--page { margin-top: 24px; }
.prediction-grid--page article { padding: 18px; }
.prediction-grid--page article:first-child strong { font-size: 34px; }
.prediction-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.prediction-info-grid .panel { min-height: 190px; }
.prediction-info-value { margin-top: auto; color: var(--green); font-size: 34px; line-height: 1; letter-spacing: -.05em; text-shadow: 0 0 12px rgba(0,255,102,.45); }
.prediction-info-grid p { margin: 14px 0 0; color: var(--gray); font-size: 11px; line-height: 1.65; }

.incident-panel { position: relative; margin-top: 20px; padding: 20px; overflow: hidden; border: 1px solid rgba(255,51,51,.5); border-radius: 12px; background: var(--panel); animation: crimson-pulse 1.9s ease-in-out infinite; }
.incident-panel.is-empty { border-color: var(--line); animation: none; }
.incident-panel.is-empty .incident-title > svg { color: var(--gray); animation: none; }
.incident-panel.is-empty .incident-title h2 { color: var(--text); text-shadow: none; }
.incident-heading, .incident-title, .wait-time, .success-badge, .query-card__header span, .incident-log { display: flex; align-items: center; }
.incident-heading { justify-content: space-between; gap: 16px; }
.incident-title { gap: 10px; }
.incident-title > svg { width: 20px; height: 20px; color: var(--red); animation: blink 1.1s steps(1) infinite; }
.incident-title h2 { margin: 0; color: var(--red); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; text-shadow: 0 0 12px rgba(255,51,51,.55); }
.incident-title p { margin: 5px 0 0; color: var(--gray-dim); font-size: 10px; }
.wait-time { flex: 0 0 auto; gap: 8px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel-2); color: var(--gray); font-size: 11px; }
.wait-time svg { width: 14px; height: 14px; color: var(--red); }
.success-badge { width: fit-content; gap: 10px; margin-top: 17px; padding: 10px 14px; border: 1px solid rgba(0,255,102,.5); border-radius: 6px; background: rgba(0,255,102,.06); animation: green-pulse 2.4s ease-in-out infinite; }
.success-badge svg { width: 16px; height: 16px; color: var(--green); }
.success-badge strong { color: var(--green); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 0 12px rgba(0,255,102,.55); }
.success-badge span { color: var(--gray); font-size: 11px; text-transform: uppercase; }
.query-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.query-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-2); }
.query-card--danger { border-color: rgba(255,51,51,.3); }
.query-card__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.query-card__header span { gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.query-card__header svg { width: 14px; height: 14px; color: var(--gray); }
.query-card--danger .query-card__header svg, .query-card--danger .query-card__header strong { color: var(--red); }
.query-card__header strong { color: var(--gray); font-size: 11px; font-weight: 400; }
.query-role { margin: 13px 16px 0; color: var(--gray-dim); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.query-card pre { margin: 9px 16px 16px; padding: 12px; overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: #0b0d10; color: var(--text); font: 12px/1.65 var(--mono); }
.query-card pre span { color: var(--gray-dim); }
.query-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; padding: 12px 16px; border-top: 1px solid var(--line); }
.query-meta strong { display: block; margin-top: 5px; color: var(--gray); font-size: 12px; font-weight: 400; }
.incident-log { flex-wrap: wrap; gap: 9px; margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--gray-dim); font-size: 11px; }
.incident-log strong { color: var(--green); text-shadow: 0 0 12px rgba(0,255,102,.55); }

.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; background-color: var(--bg); background-image: radial-gradient(circle at 50% 15%, rgba(0,255,102,.07), transparent 32%), linear-gradient(to right, rgba(255,255,255,.015) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.015) 1px, transparent 1px); background-size: auto, 44px 44px, 44px 44px; }
.auth-card { width: min(440px, 100%); padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: rgba(18,21,25,.96); box-shadow: 0 24px 80px rgba(0,0,0,.35); }
.auth-brand { display: flex; align-items: center; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.auth-brand strong, .auth-brand span { display: block; }
.auth-brand strong { font-size: 15px; }
.auth-brand span { margin-top: 3px; color: var(--gray-dim); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.auth-heading { margin-top: 26px; }
.auth-heading .eyebrow { margin: 0 0 9px; color: var(--green); opacity: .75; }
.auth-heading h1 { margin: 0; font-size: 22px; letter-spacing: -.04em; }
.auth-heading > p:last-child { margin: 9px 0 0; color: var(--gray); font-size: 11px; line-height: 1.6; }
.auth-alert { margin-top: 18px; padding: 11px 13px; border: 1px solid rgba(255,59,59,.4); border-radius: 6px; background: rgba(255,59,59,.07); color: #ff8b8b; font-size: 11px; line-height: 1.5; }
.auth-form { display: grid; gap: 17px; margin-top: 24px; }
.auth-form label { display: block; margin-bottom: 7px; color: var(--gray); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.auth-form input { width: 100%; padding: 12px 13px; outline: none; border: 1px solid var(--line); border-radius: 6px; background: #0b0d10; color: var(--text); font: 12px var(--mono); transition: border-color .18s, box-shadow .18s; }
.auth-form input:focus { border-color: rgba(0,255,102,.5); box-shadow: 0 0 0 3px rgba(0,255,102,.07); }
.auth-form input[type="submit"] { margin-top: 3px; border-color: rgba(0,255,102,.42); background: rgba(0,255,102,.1); color: var(--green); cursor: pointer; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.auth-form input[type="submit"]:hover { background: rgba(0,255,102,.15); box-shadow: 0 0 20px rgba(0,255,102,.08); }
.auth-footnote { margin: 20px 0 0; color: var(--gray-dim); font-size: 9px; text-align: center; letter-spacing: .08em; text-transform: uppercase; }

@keyframes crimson-pulse { 0%,100% { box-shadow: 0 0 0 1px rgba(255,51,51,.45), 0 0 22px -5px rgba(255,51,51,.3); } 50% { box-shadow: 0 0 0 1px rgba(255,51,51,.85), 0 0 42px -4px rgba(255,51,51,.55); } }
@keyframes green-pulse { 0%,100% { box-shadow: 0 0 0 1px rgba(0,255,102,.4), 0 0 18px -4px rgba(0,255,102,.5); } 50% { box-shadow: 0 0 0 1px rgba(0,255,102,.75), 0 0 30px -3px rgba(0,255,102,.75); } }
@keyframes blink { 0%,49% { opacity: 1; } 50%,100% { opacity: .25; } }

@media (max-width: 1100px) {
  .utc, .topbar .divider { display: none; }
  .metrics-grid { grid-template-columns: 1fr; }
  .chart-panel { grid-column: auto; }
}
@media (max-width: 800px) {
  .gde-shell { display: block; }
  .sidebar { width: 100%; height: auto; min-height: 0; position: relative; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { height: 64px; }
  .sidebar__nav { display: flex; gap: 6px; padding: 10px 12px; overflow-x: auto; }
  .sidebar__nav .eyebrow, .sidebar__footer { display: none; }
  .nav-item { width: auto; flex: 0 0 auto; }
  .nav-item span { white-space: nowrap; }
  .nav-item.is-active::before { top: auto; bottom: 0; left: 50%; width: 20px; height: 2px; transform: translateX(-50%); }
  .topbar { position: relative; padding: 0 16px; }
  .system-status span { display: none; }
  .dashboard { padding: 22px 16px 32px; }
  .query-grid { grid-template-columns: 1fr; }
  .prediction-grid { grid-template-columns: 1fr 1fr; }
  .prediction-grid article:last-child { grid-column: 1 / -1; }
  .prediction-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .client-id > span, .notification { display: none; }
  .topbar { height: 58px; }
  .topbar__right { gap: 8px; }
  .page-heading, .incident-heading { align-items: flex-start; flex-direction: column; }
  .pool-cards { grid-template-columns: 1fr; }
  .pool-card > strong { margin-top: 18px; }
  .success-badge { align-items: flex-start; flex-wrap: wrap; }
  .success-badge span { width: 100%; line-height: 1.5; }
  .prediction-heading { align-items: flex-start; flex-direction: column; }
  .prediction-grid { grid-template-columns: 1fr; }
  .prediction-grid article:last-child { grid-column: auto; }
  .chart { height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
