/* Sentinel — dark theme, mobile-first */
:root {
  --bg: #0d0d0d;
  --surface: #1a1a1a;
  --surface2: #242424;
  --border: #333;
  --text: #e8e8e8;
  --muted: #888;
  --accent: #4a9eff;
  --danger: #ff4444;
  --warning: #ff9900;
  --success: #44cc66;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: system-ui, sans-serif; min-height: 100vh; }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; background: var(--surface); border-bottom: 1px solid var(--border); }
.brand { font-weight: 700; font-size: 1.2rem; }
.nav-link { color: var(--muted); text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 1.5rem; }
.grid-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 768px) { .grid-layout { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; }
.card h3 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 1rem; }
.video-card { grid-column: span 2; }
@media (max-width: 768px) { .video-card { grid-column: span 1; } }
.video-player { width: 100%; border-radius: 8px; background: #000; aspect-ratio: 16/9; }
.gimbal-pad { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; margin: 1rem 0; }
.gimbal-row { display: flex; gap: 0.5rem; align-items: center; }
.gimbal-btn { width: 52px; height: 52px; border-radius: 8px; background: var(--surface2); border: 1px solid var(--border); color: var(--text); font-size: 1.2rem; cursor: pointer; transition: background 0.15s; }
.gimbal-btn:hover { background: var(--accent); }
.centre-btn { background: var(--surface2); }
.presets { display: flex; gap: 0.5rem; margin-top: 0.5rem; flex-wrap: wrap; }
.stat { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid var(--border); }
.stat:last-child { border-bottom: none; }
.snapshot-thumb { width: 100%; border-radius: 8px; margin-top: 1rem; }
.badge { background: var(--success); color: #fff; padding: 0.2rem 0.75rem; border-radius: 20px; font-size: 0.85rem; }
.btn { padding: 0.5rem 1rem; border-radius: 8px; border: none; cursor: pointer; font-size: 0.9rem; background: var(--accent); color: #fff; }
.btn-secondary { background: var(--surface2); color: var(--text); border: 1px solid var(--border); }
.btn-small { padding: 0.35rem 0.75rem; font-size: 0.8rem; background: var(--surface2); color: var(--text); border: 1px solid var(--border); border-radius: 6px; cursor: pointer; }
.btn-tiny { padding: 0.2rem 0.5rem; font-size: 0.75rem; background: var(--surface2); color: var(--muted); border: 1px solid var(--border); border-radius: 4px; cursor: pointer; margin-top: 0.4rem; }
.alert-item { padding: 0.75rem; border-radius: 8px; margin-bottom: 0.5rem; background: var(--surface2); border-left: 3px solid var(--warning); }
.alert-item.severity-critical { border-left-color: var(--danger); }
.alert-item.severity-info { border-left-color: var(--accent); }
.alert-item.acked { opacity: 0.5; }
.alert-header { display: flex; justify-content: space-between; margin-bottom: 0.25rem; }
.alert-type { font-weight: 600; font-size: 0.9rem; }
.alert-time { color: var(--muted); font-size: 0.8rem; }
.alert-desc { font-size: 0.85rem; color: #ccc; }
.empty-state { color: var(--muted); text-align: center; padding: 2rem; }
.video-controls { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
