/* hub.css — Control Hub (hantu.ezaaa.id). Dipindah apa adanya dari <style> inline index.php supaya bisa di-cache browser. */
/* ─────────────────────────────────────────────────────────────
   DESIGN SYSTEM TOKENS (Observability / Sentry / Linear Style)
   Prinsip: 1 Warna = 1 Makna. Tanpa glow, gradient border, atau neon.
───────────────────────────────────────────────────────────── */
:root {
  --bg: #03060a;
  --surface: rgba(18, 20, 26, 0.78);
  --surface-2: rgba(25, 28, 36, 0.88);
  --border: rgba(45, 50, 60, 0.75);
  --text: #ebe9e4;
  --text-2: #9a978f;
  --text-3: #6a6862;
  --green: #3fb87a;
  --amber: #e0a53a;
  --red: #e5534b;
  --purple: #a084e8;

  --font-hud: 'Chakra Petch', sans-serif;
  --font-sans: 'Geist', 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', SFMono-Regular, Consolas, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: #03060a;
  color-scheme: dark;
}

body {
  background-color: transparent;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  position: relative;
}

.bg-flow {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* Base focus style (WCAG AA accessibility) */
:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

/* Layout Container */
.sec-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 64px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ─────────────────────────────────────────────────────────────
   1. HEADER HALAMAN
───────────────────────────────────────────────────────────── */
.sec-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  background: rgba(8, 14, 23, 0.72);
  border: 1px solid rgba(105, 240, 174, 0.18);
  border-radius: 10px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  gap: 16px;
  min-height: 52px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.sec-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(105, 240, 174, 0.45) 25%, rgba(192, 132, 252, 0.35) 75%, transparent 100%);
  pointer-events: none;
}

.sec-header__titles {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.sec-header__title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.sec-header__h1 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 0;
  padding: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sec-header__brand-sub {
  color: #69f0ae;
  font-weight: 600;
  text-shadow: 0 0 12px rgba(105, 240, 174, 0.35);
}

.sec-header__badges {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.sec-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  user-select: none;
  transition: all 140ms ease;
  line-height: 1;
  box-sizing: border-box;
}
.sec-status-chip:hover {
  background: var(--surface-2);
}
.sec-status-chip.ok {
  border-color: rgba(63, 184, 122, 0.35);
  color: var(--green);
}
.sec-status-chip.ok .sec-dot {
  background-color: var(--green);
}
.sec-status-chip.err {
  border-color: rgba(229, 83, 75, 0.35);
  color: var(--red);
}
.sec-status-chip.err .sec-dot {
  background-color: var(--red);
}
.sec-status-chip--clock {
  color: var(--text);
  cursor: default;
}

.sec-header__right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.sec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--green);
  flex-shrink: 0;
  display: inline-block;
  transition: all 180ms ease;
}
.sec-dot--amber { background-color: var(--amber); }
.sec-dot--red { background-color: var(--red); }

/* Animasi Titik Kedip-kedip (Heartbeat / Beacon Pulse) */
.sec-dot--pulse {
  animation: secDotBlinkGreen 1.4s ease-in-out infinite;
}
@keyframes secDotBlinkGreen {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(63, 184, 122, 0.7);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.8);
    box-shadow: 0 0 7px 2px rgba(63, 184, 122, 0.45);
  }
}

.sec-dot--pulse-red {
  animation: secDotBlinkRed 1.4s ease-in-out infinite;
}
@keyframes secDotBlinkRed {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(229, 83, 75, 0.7);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.8);
    box-shadow: 0 0 7px 2px rgba(229, 83, 75, 0.45);
  }
}

.sec-nav-ghosts {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.sec-btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  height: 28px;
  padding: 0 11px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 140ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1;
  box-sizing: border-box;
}
.sec-btn-ghost:hover {
  background: var(--surface);
  color: var(--text);
  border-color: var(--text-3);
}

/* ─────────────────────────────────────────────────────────────
   CYBER WEB TACTICAL DECK (Futuristic Navigation Rail)
───────────────────────────────────────────────────────────── */
.sec-cyber-deck {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 14, 23, 0.72);
  border: 1px solid rgba(105, 240, 174, 0.18);
  border-radius: 10px;
  padding: 6px 8px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  margin-top: -2px;
}

.sec-cyber-deck::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(105, 240, 174, 0.45) 25%, rgba(192, 132, 252, 0.35) 75%, transparent 100%);
  pointer-events: none;
}

.sec-cyber-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 100%;
}
.sec-cyber-tabs::-webkit-scrollbar { display: none; }

.sec-cyber-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  color: var(--text-2);
  text-decoration: none;
  font-family: var(--font-hud);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  position: relative;
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  user-select: none;
  background: transparent !important;
  background-color: transparent !important;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.sec-cyber-tab:focus, .sec-cyber-tab:active {
  outline: none;
  background: transparent;
}

.sec-cyber-tab__idx {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: rgba(105, 240, 174, 0.45);
  letter-spacing: 0.04em;
  transition: color 180ms ease;
}

.sec-cyber-tab__icon {
  width: 14px;
  height: 14px;
  opacity: 0.75;
  flex-shrink: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.sec-cyber-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}
.sec-cyber-tab:hover .sec-cyber-tab__idx {
  color: var(--green);
}
.sec-cyber-tab:hover .sec-cyber-tab__icon {
  opacity: 1;
  transform: translateY(-1px);
}

/* Active Tab State: Illuminated Neon Capsule */
.sec-cyber-tab.active {
  background: linear-gradient(135deg, rgba(105, 240, 174, 0.12) 0%, rgba(8, 22, 28, 0.85) 100%);
  border-color: rgba(105, 240, 174, 0.42);
  color: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(105, 240, 174, 0.3);
}
.sec-cyber-tab.active .sec-cyber-tab__idx {
  color: var(--green);
  text-shadow: 0 0 8px rgba(105, 240, 174, 0.5);
}
.sec-cyber-tab.active .sec-cyber-tab__icon {
  color: var(--green);
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(105, 240, 174, 0.45));
}
.sec-cyber-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 14%;
  right: 14%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #69f0ae, transparent);
  box-shadow: 0 0 10px rgba(105, 240, 174, 0.85);
  border-radius: 2px;
}

/* Micro Badges */
.sec-cyber-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-3);
  letter-spacing: 0.02em;
  transition: all 180ms ease;
}
.sec-cyber-tab:hover .sec-cyber-badge {
  color: var(--text-2);
  border-color: rgba(255, 255, 255, 0.15);
}
.sec-cyber-badge--live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(63, 184, 122, 0.12);
  border-color: rgba(63, 184, 122, 0.35);
  color: var(--green);
}

.sec-cyber-beacon {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: secBeaconPulse 1.6s infinite ease-in-out;
}
@keyframes secBeaconPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

/* Locked Tab State */
.sec-cyber-tab--locked {
  opacity: 0.45;
  cursor: not-allowed !important;
  user-select: none;
  filter: grayscale(0.6);
  transition: all 180ms ease;
}
.sec-cyber-tab--locked:hover {
  opacity: 0.7;
  background: rgba(251, 191, 36, 0.05) !important;
  border-color: rgba(251, 191, 36, 0.3) !important;
  color: var(--text-2) !important;
  transform: none !important;
}
.sec-cyber-tab--locked:hover .sec-cyber-tab__idx {
  color: #fbbf24 !important;
}
.sec-cyber-tab--locked:hover .sec-cyber-tab__icon {
  opacity: 0.85 !important;
  transform: none !important;
  color: #fbbf24 !important;
}
.sec-cyber-badge--locked {
  background: rgba(251, 191, 36, 0.12) !important;
  border-color: rgba(251, 191, 36, 0.38) !important;
  color: #fbbf24 !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}


/* ─────────────────────────────────────────────────────────────
   STREAM BANNER (Notifikasi live tipis satu baris)
───────────────────────────────────────────────────────────── */
.sec-stream-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.sec-stream-banner__left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
}
.sec-stream-banner__left b {
  color: var(--text);
  font-weight: 500;
}
.sec-stream-banner__mono {
  font-family: var(--font-mono);
  color: var(--text-2);
}
.sec-stream-banner__link {
  color: var(--amber);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}
.sec-stream-banner__link:hover {
  text-decoration: underline;
}

/* ─────────────────────────────────────────────────────────────
   2. RINGKASAN METRIK (STRIP STATISTIK 4 KOLOM)
───────────────────────────────────────────────────────────── */
.sec-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.sec-stat-cell {
  background: rgba(8, 14, 23, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: all 220ms cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  user-select: none;
}

.sec-stat-cell:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 24px var(--accent-glow, rgba(105, 240, 174, 0.2));
  border-color: var(--accent-border, rgba(105, 240, 174, 0.45));
}

.sec-stat-cell:active {
  transform: translateY(-1px);
}

/* Neon Top Hairline Laser Accent */
.sec-stat-cell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-color, #69f0ae);
  box-shadow: 0 0 12px var(--accent-color, #69f0ae);
  opacity: 0.9;
}

/* Color Modifiers */
.sec-stat-cell--mint {
  --accent-color: #69f0ae;
  --accent-border: rgba(105, 240, 174, 0.35);
  --accent-glow: rgba(105, 240, 174, 0.2);
}
.sec-stat-cell--violet {
  --accent-color: #c084fc;
  --accent-border: rgba(192, 132, 252, 0.35);
  --accent-glow: rgba(192, 132, 252, 0.2);
}
.sec-stat-cell--crimson {
  --accent-color: #ff4d6d;
  --accent-border: rgba(255, 77, 109, 0.35);
  --accent-glow: rgba(255, 77, 109, 0.22);
}
.sec-stat-cell--amber {
  --accent-color: #ffb703;
  --accent-border: rgba(255, 183, 3, 0.35);
  --accent-glow: rgba(255, 183, 3, 0.2);
}

.sec-stat-cell__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sec-stat-cell__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-color, #69f0ae);
  letter-spacing: 0.06em;
  opacity: 0.95;
}

.sec-stat-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 1.5px 6.5px;
  border-radius: 3px;
  white-space: nowrap;
}
.sec-stat-badge--mint {
  background: rgba(105, 240, 174, 0.12);
  border: 1px solid rgba(105, 240, 174, 0.35);
  color: #69f0ae;
}
.sec-stat-badge--violet {
  background: rgba(192, 132, 252, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.35);
  color: #c084fc;
}
.sec-stat-badge--crimson {
  background: rgba(255, 77, 109, 0.12);
  border: 1px solid rgba(255, 77, 109, 0.35);
  color: #ff4d6d;
}
.sec-stat-badge--amber {
  background: rgba(255, 183, 3, 0.12);
  border: 1px solid rgba(255, 183, 3, 0.35);
  color: #ffb703;
}

/* Titles */
.sec-stat-cell__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sec-stat-cell__title {
  font-family: var(--font-hud);
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.sec-stat-cell__context {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-2);
  letter-spacing: 0.02em;
}

.sec-stat-cell__val-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 3px 0;
}

.sec-stat-cell__num {
  font-size: 34px;
  font-weight: 700;
  font-family: var(--font-hud);
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.sec-stat-cell--mint .sec-stat-cell__num { color: #edf4fa; text-shadow: 0 0 16px rgba(105, 240, 174, 0.35); }
.sec-stat-cell--violet .sec-stat-cell__num { color: #f5f0ff; text-shadow: 0 0 16px rgba(192, 132, 252, 0.35); }
.sec-stat-cell--crimson .sec-stat-cell__num { color: #ffedf0; text-shadow: 0 0 16px rgba(255, 77, 109, 0.4); }
.sec-stat-cell--amber .sec-stat-cell__num { color: #fffaf0; text-shadow: 0 0 16px rgba(255, 183, 3, 0.35); }

/* Footer */
.sec-stat-cell__sub {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 7px;
  margin-top: 2px;
}

.sec-stat-pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-color, #69f0ae);
  box-shadow: 0 0 6px var(--accent-color, #69f0ae);
  flex-shrink: 0;
}
.sec-stat-pulse--mint { animation: secPulseMint 1.8s infinite ease-in-out; }
.sec-stat-pulse--violet { animation: secPulseViolet 2.0s infinite ease-in-out; }
.sec-stat-pulse--crimson { animation: secPulseCrimson 1.4s infinite ease-in-out; }
.sec-stat-pulse--amber { animation: secPulseAmber 1.9s infinite ease-in-out; }

@keyframes secPulseMint {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}
@keyframes secPulseViolet {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}
@keyframes secPulseCrimson {
  0%, 100% { opacity: 1; transform: scale(1.1); box-shadow: 0 0 8px #ff4d6d; }
  50% { opacity: 0.4; transform: scale(0.8); }
}
@keyframes secPulseAmber {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

/* ── 1. Visualizer Pod 1: Velocity Sparkwave SVG ── */
.sec-sparkwave-viz {
  width: 76px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.sec-sparkwave-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.sec-sparkwave-dot {
  animation: sparkPulse 1.8s infinite ease-in-out;
}
@keyframes sparkPulse {
  0%, 100% { r: 2.5; opacity: 1; }
  50% { r: 4; opacity: 0.6; }
}

/* ── 2. Visualizer Pod 2: Encrypted Tunnel Diagram ── */
.sec-tunnel-viz {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(192, 132, 252, 0.06);
  border: 1px solid rgba(192, 132, 252, 0.22);
  border-radius: 6px;
  padding: 4px 7px;
}
.sec-tunnel-node {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  color: #c084fc;
  letter-spacing: 0.05em;
  background: rgba(192, 132, 252, 0.15);
  padding: 2px 4px;
  border-radius: 3px;
}
.sec-tunnel-pipe {
  position: relative;
  width: 26px;
  height: 2px;
  background: rgba(192, 132, 252, 0.35);
  border-radius: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sec-tunnel-beam {
  position: absolute;
  top: -1px;
  width: 6px;
  height: 4px;
  background: #c084fc;
  border-radius: 2px;
  box-shadow: 0 0 6px #c084fc;
  animation: tunnelFlow 1.6s infinite linear;
}
@keyframes tunnelFlow {
  0% { left: 0%; opacity: 0.2; }
  50% { opacity: 1; }
  100% { left: calc(100% - 6px); opacity: 0.2; }
}
.sec-tunnel-lock {
  position: relative;
  z-index: 2;
  background: #090e18;
  padding: 1px;
  border-radius: 2px;
}

/* ── 3. Visualizer Pod 3: Segmented Threat Meter ── */
.sec-gauge-viz {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}
.sec-gauge-bars {
  display: flex;
  align-items: center;
  gap: 3px;
}
.sec-gauge-seg {
  width: 6.5px;
  height: 14px;
  border-radius: 2px;
  background: rgba(255, 77, 109, 0.15);
  border: 1px solid rgba(255, 77, 109, 0.25);
  transition: all 180ms ease;
}
.sec-gauge-seg--hot {
  background: #ff4d6d;
  border-color: #ff4d6d;
  box-shadow: 0 0 8px rgba(255, 77, 109, 0.65);
}
.sec-gauge-label {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  color: #ff4d6d;
  letter-spacing: 0.04em;
}

/* ── 4. Visualizer Pod 4: Silicon Chip & Fingerprint ── */
.sec-chip-viz {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 183, 3, 0.07);
  border: 1px solid rgba(255, 183, 3, 0.22);
  border-radius: 6px;
  padding: 4px 7px;
}
.sec-chip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffb703;
  flex-shrink: 0;
}
.sec-chip-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.sec-chip-hash {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: #ffb703;
  letter-spacing: 0.05em;
  line-height: 1.1;
}
.sec-chip-meta {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--text-2);
  line-height: 1.1;
}

/* ─────────────────────────────────────────────────────────────
   3. AKTIVITAS & KOMPOSISI SENSOR (DUAL GRID)
───────────────────────────────────────────────────────────── */
.sec-diag-grid {
  display: grid;
  grid-template-columns: 2fr 1.35fr;
  gap: 16px;
}

.sec-card-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.sec-card-box__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.sec-card-box__title-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sec-card-box__title {
  font-family: var(--font-hud);
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}
.sec-card-box__sub {
  font-size: 11px;
  color: var(--text-2);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* Tactical Rolling Window Selector Pills */
.sec-chart-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sec-range-pills {
  display: inline-flex;
  align-items: center;
  background: rgba(4, 18, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}
.sec-range-pill {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.sec-range-pill:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.sec-range-pill.active {
  background: rgba(105, 240, 174, 0.12);
  border-color: rgba(105, 240, 174, 0.4);
  color: #69f0ae;
  box-shadow: 0 0 12px rgba(105, 240, 174, 0.2);
}

/* Popover Rentang Kustom */
.sec-chart-custom-wrap {
  position: relative;
}
.sec-chart-custom-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 270px;
  background: rgba(8, 14, 23, 0.96);
  border: 1px solid rgba(105, 240, 174, 0.4);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 24px rgba(105, 240, 174, 0.15);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 50;
  display: none;
  flex-direction: column;
  gap: 10px;
}
.sec-chart-custom-popover.show {
  display: flex;
}
.sec-custom-pop-title {
  font-family: var(--font-hud);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.03em;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sec-custom-pop-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.sec-custom-pop-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sec-custom-pop-field label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-2);
}
.sec-custom-pop-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 2px;
}

/* 14 Days Activity Chart */
.sec-chart-body {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 18px;
  align-items: stretch;
}

.sec-bar-chart {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sec-bar-chart__legend {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-family: var(--font-mono);
  color: var(--text-2);
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.sec-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 2.5px 8px;
  cursor: pointer;
  transition: all 180ms ease;
  font-size: 9.5px;
  font-family: var(--font-mono);
  color: var(--text-2);
  user-select: none;
}
.sec-legend-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.sec-legend-item.active {
  background: rgba(105, 240, 174, 0.12);
  border-color: rgba(105, 240, 174, 0.4);
  color: #69f0ae;
}
.sec-legend-chip {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  flex-shrink: 0;
}
.sec-legend-chip--all { background: #fff; box-shadow: 0 0 6px rgba(255, 255, 255, 0.6); }
.sec-legend-chip--normal { background: #69f0ae; box-shadow: 0 0 6px rgba(105, 240, 174, 0.6); }
.sec-legend-chip--jurig { background: #c084fc; box-shadow: 0 0 6px rgba(192, 132, 252, 0.6); }
.sec-legend-chip--fail { background: #ff4d6d; box-shadow: 0 0 6px rgba(255, 77, 109, 0.6); }
.sec-legend-chip--warn { background: #ffb703; box-shadow: 0 0 6px rgba(255, 183, 3, 0.6); }

.sec-chart-canvas {
  height: 160px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  border-bottom: 2px solid rgba(105, 240, 174, 0.35);
  box-shadow: inset 0 -12px 28px rgba(105, 240, 174, 0.05), 0 2px 10px rgba(105, 240, 174, 0.15);
  padding: 0 4px 6px 4px;
  position: relative;
  background:
    linear-gradient(180deg, rgba(3, 10, 16, 0.65) 0%, rgba(5, 20, 28, 0.85) 100%),
    radial-gradient(ellipse at 50% 100%, rgba(105, 240, 174, 0.08) 0%, transparent 75%);
  border-radius: 8px 8px 0 0;
  overflow: visible;
}

/* SVG Trendline Wave & Data Points */
.sec-chart-trendline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}
.sec-trend-path {
  fill: url(#trendAreaGrad);
  stroke: #69f0ae;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(105, 240, 174, 0.6));
  transition: all 260ms ease;
}
.sec-trend-dot {
  fill: #69f0ae;
  stroke: #04121a;
  stroke-width: 2;
  filter: drop-shadow(0 0 4px #69f0ae);
}
.sec-trend-dot--peak {
  fill: #ffb703;
  stroke: #04121a;
  stroke-width: 2;
  filter: drop-shadow(0 0 6px #ffb703);
}

/* Y-axis gridlines */
.sec-chart-gridline {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.07);
  pointer-events: none;
  z-index: 1;
}
.sec-chart-gridline span {
  position: absolute;
  left: 6px;
  top: -8px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(4, 18, 26, 0.8);
  padding: 0 4px;
  border-radius: 2px;
}

/* Day Column Track Rails (Matrix Grid Slots) */
.sec-day-col {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 2px;
  position: relative;
  cursor: pointer;
  border-radius: 5px;
  padding: 4px 2px 3px 2px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 180ms ease;
  z-index: 10;
  box-sizing: border-box;
}
.sec-day-col:hover {
  background: rgba(105, 240, 174, 0.09);
  border-color: rgba(105, 240, 174, 0.35);
  z-index: 30;
}
.sec-day-col:hover .sec-day-seg {
  filter: brightness(1.25);
}
.sec-day-col--selected {
  background: rgba(105, 240, 174, 0.16) !important;
  outline: 1.5px solid #69f0ae;
  outline-offset: -1px;
  box-shadow: 0 0 16px rgba(105, 240, 174, 0.4);
}
.sec-day-col.dimmed {
  opacity: 0.18;
  filter: grayscale(0.85);
}
.sec-day-seg.dimmed {
  opacity: 0.12;
  box-shadow: none;
}
.sec-day-col--peak::before {
  content: '🔥';
  position: absolute;
  top: 4px;
  font-size: 9px;
  line-height: 1;
  pointer-events: none;
  filter: drop-shadow(0 0 4px #ffb703);
}

/* Live Ingestion Indicator on 'Hari ini' */
.sec-day-col--live {
  border-color: rgba(105, 240, 174, 0.35);
  background: rgba(105, 240, 174, 0.04);
}
.sec-day-col--live::after {
  content: '';
  position: absolute;
  top: 6px;
  width: 5px;
  height: 5px;
  background: #69f0ae;
  border-radius: 50%;
  box-shadow: 0 0 8px #69f0ae;
  animation: liveBeacon 1.8s infinite ease-in-out;
}
@keyframes liveBeacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.65); }
}

/* Day Number at bottom of column */
.sec-day-col__day {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--text-3);
  margin-top: 2px;
  line-height: 1;
  white-space: nowrap;
}
.sec-day-col:hover .sec-day-col__day {
  color: #69f0ae;
}
.sec-day-col--live .sec-day-col__day {
  color: #69f0ae;
  font-weight: 700;
}

/* Rich HUD Tooltip */
.sec-day-col__tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(6, 14, 24, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(105, 240, 174, 0.45);
  color: var(--text);
  font-size: 10px;
  font-family: var(--font-mono);
  padding: 8px 10px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  display: none;
  z-index: 50;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.9), 0 0 14px rgba(105, 240, 174, 0.25);
  line-height: 1.4;
  min-width: 175px;
}
.sec-day-col:hover .sec-day-col__tooltip {
  display: block;
}
.sec-tt-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 4px;
  margin-bottom: 5px;
}
.sec-tt-date {
  font-weight: 700;
  color: #fff;
}
.sec-tt-count {
  font-size: 8.5px;
  padding: 1px 5px;
  background: rgba(105, 240, 174, 0.15);
  color: #69f0ae;
  border-radius: 3px;
  font-weight: 700;
}
.sec-tt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 9.5px;
  color: var(--text-2);
  margin-top: 3px;
}
.sec-tt-label-group {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sec-tt-val {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  margin-left: auto;
}
.sec-tt-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sec-tt-dot--normal { background: #69f0ae; box-shadow: 0 0 4px #69f0ae; }
.sec-tt-dot--jurig { background: #c084fc; box-shadow: 0 0 4px #c084fc; }
.sec-tt-dot--fail { background: #ff4d6d; box-shadow: 0 0 4px #ff4d6d; }
.sec-tt-dot--warn { background: #ffb703; box-shadow: 0 0 4px #ffb703; }
.sec-tt-peak {
  margin-top: 5px;
  padding-top: 4px;
  border-top: 1px dashed rgba(255, 183, 3, 0.3);
  font-size: 8.5px;
  font-weight: 700;
  color: #ffb703;
  text-align: center;
}
.sec-day-col__val {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  line-height: 1;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
}

/* Wider, Chunky Cyber Segments */
.sec-day-seg {
  width: 100%;
  max-width: 24px;
  min-width: 14px;
  border-radius: 4px 4px 2px 2px;
  min-height: 6px;
  transition: all 220ms cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.sec-day-seg--normal {
  background: linear-gradient(180deg, #69f0ae 0%, rgba(105, 240, 174, 0.65) 100%);
  box-shadow: 0 0 10px rgba(105, 240, 174, 0.45);
}
.sec-day-seg--jurig {
  background: linear-gradient(180deg, #c084fc 0%, rgba(192, 132, 252, 0.65) 100%);
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.45);
}
.sec-day-seg--fail {
  background: linear-gradient(180deg, #ff4d6d 0%, rgba(255, 77, 109, 0.65) 100%);
  box-shadow: 0 0 10px rgba(255, 77, 109, 0.5);
}
.sec-day-seg--warn {
  background: linear-gradient(180deg, #ffb703 0%, rgba(255, 183, 3, 0.65) 100%);
  box-shadow: 0 0 10px rgba(255, 183, 3, 0.45);
}

.sec-chart-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-2);
  padding: 8px 10px 4px 10px;
  background: rgba(4, 18, 26, 0.3);
  border-radius: 0 0 8px 8px;
}
.sec-axis-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}
.sec-axis-chip--live {
  background: rgba(105, 240, 174, 0.09);
  border-color: rgba(105, 240, 174, 0.3);
  color: #69f0ae;
  font-weight: 700;
}
.sec-axis-chip--peak {
  background: rgba(255, 183, 3, 0.09);
  border-color: rgba(255, 183, 3, 0.3);
  color: #ffb703;
  font-weight: 700;
}

/* Samping grafik: Ringkasan operasional rapat */
.sec-chart-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 16px;
}
.sec-kv-aside {
  background: rgba(4, 18, 26, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  transition: all 180ms ease;
  min-height: 52px;
  box-sizing: border-box;
}
.sec-kv-aside:hover {
  background: rgba(4, 18, 26, 0.7);
  border-color: rgba(105, 240, 174, 0.25);
}
.sec-kv-aside__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sec-kv-aside__k {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-2);
  white-space: nowrap;
}
.sec-kv-aside__v {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  font-family: var(--font-hud);
  letter-spacing: 0.02em;
}
.sec-kv-aside__sub {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-3);
  letter-spacing: 0.01em;
  white-space: nowrap;
  line-height: 1.2;
}
.sec-kv-aside__badge {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  width: 72px;
  min-width: 72px;
  max-width: 72px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 4px;
  box-sizing: border-box;
  letter-spacing: 0.03em;
  flex-shrink: 0;
  padding: 0 4px;
  line-height: 1;
}
.sec-kv-aside__badge--amber { background: rgba(255, 183, 3, 0.15); color: #ffb703; border: 1px solid rgba(255, 183, 3, 0.35); }
.sec-kv-aside__badge--mint { background: rgba(105, 240, 174, 0.15); color: #69f0ae; border: 1px solid rgba(105, 240, 174, 0.35); }
.sec-kv-aside__badge--violet { background: rgba(192, 132, 252, 0.15); color: #c084fc; border: 1px solid rgba(192, 132, 252, 0.35); }
.sec-kv-aside__badge--silver { background: rgba(226, 232, 240, 0.12); color: #e2e8f0; border: 1px solid rgba(226, 232, 240, 0.35); box-shadow: 0 0 6px rgba(226, 232, 240, 0.1); }

/* ─────────────────────────────────────────────────────────────
   4. PANEL SENSOR & PERANGKAT DIKENAL
───────────────────────────────────────────────────────────── */
.sec-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Sensor & Hardware Tables */
.sec-compact-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.sec-compact-table th {
  text-align: left;
  font-size: 10.5px;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-3);
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.sec-compact-table td {
  padding: 8px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}
.sec-compact-table tr:last-child td {
  border-bottom: none;
}
.sec-compact-table tbody tr {
  transition: background 140ms ease;
}
.sec-compact-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
.sec-compact-table td.sec-td-val {
  text-align: right;
  font-family: var(--font-mono);
}

/* Sensor Row Details */
.sec-sensor-cell {
  display: flex;
  align-items: center;
  gap: 9px;
}
.sec-sensor-icon {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.sec-sensor-icon--shield { color: #69f0ae; background: rgba(105, 240, 174, 0.08); border-color: rgba(105, 240, 174, 0.25); }
.sec-sensor-icon--server { color: #69f0ae; background: rgba(105, 240, 174, 0.08); border-color: rgba(105, 240, 174, 0.25); }
.sec-sensor-icon--clock  { color: #69f0ae; background: rgba(105, 240, 174, 0.08); border-color: rgba(105, 240, 174, 0.25); }
.sec-sensor-icon--lock   { color: #ffb703; background: rgba(255, 183, 3, 0.08); border-color: rgba(255, 183, 3, 0.25); }

.sec-sensor-name {
  font-weight: 600;
  color: #fff;
  font-family: var(--font-hud);
  font-size: 12.5px;
  letter-spacing: 0.01em;
}

/* Cyber Hardware Chip */
.sec-hw-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: rgba(192, 132, 252, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.35);
  color: #c084fc;
  box-shadow: 0 0 6px rgba(192, 132, 252, 0.15);
}
.sec-hw-chip--dim {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-2);
  box-shadow: none;
}

/* Device OS & Browser */
.sec-dev-env {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text);
}
.sec-dev-env strong {
  color: #fff;
  font-weight: 600;
}
.sec-dev-env span {
  color: var(--text-3);
  font-size: 11px;
}

/* Status Text Pill */
.sec-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.sec-status-tag--ok {
  background: rgba(105, 240, 174, 0.12);
  border: 1px solid rgba(105, 240, 174, 0.35);
  color: #69f0ae;
  box-shadow: 0 0 6px rgba(105, 240, 174, 0.12);
}
.sec-status-tag--amber {
  background: rgba(255, 183, 3, 0.12);
  border: 1px solid rgba(255, 183, 3, 0.35);
  color: #ffb703;
  box-shadow: 0 0 6px rgba(255, 183, 3, 0.12);
}
.sec-status-tag--active {
  background: rgba(105, 240, 174, 0.15);
  border: 1px solid rgba(105, 240, 174, 0.4);
  color: #69f0ae;
  box-shadow: 0 0 8px rgba(105, 240, 174, 0.2);
  font-size: 9.5px;
  padding: 1px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  font-weight: 700;
}

/* Symmetrical Fixed-Width Sensor Status Tag (No checkmarks, uniform 96px width) */
.sec-sensor-tag {
  width: 96px;
  min-width: 96px;
  max-width: 96px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  box-sizing: border-box;
  line-height: 1;
}
.sec-sensor-tag--ok {
  background: rgba(105, 240, 174, 0.12);
  border: 1px solid rgba(105, 240, 174, 0.35);
  color: #69f0ae;
  box-shadow: 0 0 6px rgba(105, 240, 174, 0.12);
}
.sec-sensor-tag--amber {
  background: rgba(255, 183, 3, 0.12);
  border: 1px solid rgba(255, 183, 3, 0.35);
  color: #ffb703;
  box-shadow: 0 0 6px rgba(255, 183, 3, 0.12);
}

/* Symmetrical Card Footer Section (Matching across both panels) */
.sec-card-foot-box {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sec-card-foot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}

/* Perimeter Integrity Bar */
.sec-integrity-bar {
  display: flex;
  height: 10px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}
.sec-integrity-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #05ffa1 100%);
  box-shadow: 0 0 10px rgba(5, 255, 161, 0.4);
}

/* Segmented Event Composition Bar */
.sec-comp-bar {
  display: flex;
  height: 10px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}
.sec-comp-bar__seg {
  height: 100%;
  transition: width 180ms ease;
}
.sec-comp-bar__seg--jurig {
  background: linear-gradient(90deg, #a855f7 0%, #c084fc 100%);
  box-shadow: 0 0 8px rgba(192, 132, 252, 0.4);
}
.sec-comp-bar__seg--ok {
  background: linear-gradient(90deg, #10b981 0%, #05ffa1 100%);
  box-shadow: 0 0 8px rgba(5, 255, 161, 0.4);
}
.sec-comp-bar__seg--fail {
  background: linear-gradient(90deg, #e11d48 0%, #ff4d6d 100%);
  box-shadow: 0 0 8px rgba(255, 77, 109, 0.4);
}

/* Symmetrical Foot Legend */
.sec-card-foot-legend {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  font-size: 10.5px;
  font-family: var(--font-mono);
  color: var(--text-3);
  margin-top: 2px;
}
.sec-card-foot-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.sec-card-foot-legend i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

/* ─────────────────────────────────────────────────────────────
   5. TOOLBAR FILTER STICKY
───────────────────────────────────────────────────────────── */
.sec-toolbar-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 6, 10, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 12px 0 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sec-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.sec-toolbar-row--primary {
  padding-bottom: 9px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}
.sec-toolbar-row--secondary {
  padding-top: 2px;
}

.sec-toolbar-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sec-toolbar-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sec-toolbar-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Tactical HUD Filter Badges */
.sec-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 4px 7px;
  border-radius: 4px;
  user-select: none;
}
.sec-filter-tag svg {
  opacity: 0.75;
}

/* Segmented Control Periode */
.sec-seg-group {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px;
  gap: 2px;
}
.sec-seg-btn {
  background: transparent;
  border: none;
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 120ms ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.sec-seg-btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.sec-seg-btn.active {
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.sec-btn-ghost--custom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  padding: 4px 10px;
}
.sec-btn-ghost--custom.active {
  border-color: rgba(105, 240, 174, 0.45);
  background: rgba(105, 240, 174, 0.12);
  color: #69f0ae;
}
.sec-btn-ghost--export {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  padding: 5px 10px;
}

/* Cyberpunk Event Category Facets (Distinct from Time Filters) */
.sec-facet-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.sec-facet-btn {
  background: rgba(4, 18, 26, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 4px 10px;
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 160ms cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.sec-facet-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}
.sec-facet-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.sec-facet-dot--jurig {
  background: #c084fc;
  box-shadow: 0 0 7px #c084fc;
}
.sec-facet-dot--login {
  background: #69f0ae;
  box-shadow: 0 0 7px #69f0ae;
}
.sec-facet-dot--fail {
  background: #ff4d6d;
  box-shadow: 0 0 7px #ff4d6d;
}
.sec-facet-cnt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 6px;
  border-radius: 4px;
  line-height: 1.1;
  transition: all 140ms ease;
}

/* Active Category Facet States */
.sec-facet-btn.active {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  font-weight: 600;
}
.sec-facet-btn.active .sec-facet-cnt {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.sec-facet-btn--jurig.active {
  background: rgba(192, 132, 252, 0.14);
  border-color: rgba(192, 132, 252, 0.5);
  color: #c084fc;
  box-shadow: 0 0 12px rgba(192, 132, 252, 0.22);
}
.sec-facet-btn--jurig.active .sec-facet-cnt {
  background: rgba(192, 132, 252, 0.22);
  color: #e9d5ff;
}
.sec-facet-btn--login.active {
  background: rgba(105, 240, 174, 0.14);
  border-color: rgba(105, 240, 174, 0.5);
  color: #69f0ae;
  box-shadow: 0 0 12px rgba(105, 240, 174, 0.22);
}
.sec-facet-btn--login.active .sec-facet-cnt {
  background: rgba(105, 240, 174, 0.22);
  color: #a7f3d0;
}
.sec-facet-btn--fail.active {
  background: rgba(255, 77, 109, 0.14);
  border-color: rgba(255, 77, 109, 0.5);
  color: #ff4d6d;
  box-shadow: 0 0 12px rgba(255, 77, 109, 0.25);
}
.sec-facet-btn--fail.active .sec-facet-cnt {
  background: rgba(255, 77, 109, 0.22);
  color: #fecdd3;
}

/* Search Box */
.sec-search-wrap {
  position: relative;
  width: 220px;
}
.sec-search-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 10px 5px 28px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text);
  outline: none;
  transition: border-color 140ms ease;
}
.sec-search-input:focus {
  border-color: var(--text-2);
}
.sec-search-input::placeholder {
  color: var(--text-3);
}
.sec-search-icon {
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  stroke: var(--text-3);
  stroke-width: 2;
  fill: none;
  pointer-events: none;
}

/* Select Dropdown */
.sec-select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-2);
  outline: none;
  cursor: pointer;
}
.sec-select:focus { border-color: var(--text-2); }

/* Popover Custom Date */
.sec-popover-anchor {
  position: relative;
}
.sec-popover-box {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  width: 280px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  z-index: 200;
  display: none;
  flex-direction: column;
  gap: 10px;
}
.sec-popover-box.show { display: flex; }
.sec-date-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: var(--text-2);
}
.sec-date-inp {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 5px 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
  outline: none;
}

/* Toolbar Info Status Line */
.sec-summary-text {
  font-family: var(--font-sans);
  font-size: 11.5px;
  color: var(--text-2);
}
.sec-summary-text b {
  color: #fff;
  font-family: var(--font-mono);
}
.sec-reset-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 11px;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 140ms ease;
  text-decoration: none;
}
.sec-reset-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ─────────────────────────────────────────────────────────────
   6. DAFTAR EVENT: TABEL PADAT (~44px ROW HEIGHT)
───────────────────────────────────────────────────────────── */
.sec-table-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.sec-event-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  table-layout: fixed;
}

.sec-event-table th {
  background: var(--surface-2);
  color: var(--text-3);
  font-size: 11px;
  font-weight: 500;
  padding: 9px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.02em;
}

/* Column Widths */
.sec-th-time { width: 140px; }
.sec-th-type { width: 150px; }
.sec-th-source { width: 240px; }
.sec-th-device { width: auto; }
.sec-th-risk { width: 100px; text-align: right; }
.sec-th-action { width: 44px; text-align: center; }

/* Day Group Header Row */
.sec-day-header-row td {
  background: rgba(22, 23, 26, 0.95);
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sec-day-header-row span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  margin-left: 8px;
  font-weight: 400;
}

/* Event Data Rows */
.sec-row {
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background-color 120ms ease;
  position: relative;
}
.sec-row:last-child { border-bottom: none; }
.sec-row:hover { background-color: var(--surface-2); }
.sec-row.expanded { background-color: var(--surface-2); }

.sec-row td {
  padding: 11px 12px;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Left semantic border for non-normal events */
.sec-row--red { border-left: 2px solid var(--red); }
.sec-row--amber { border-left: 2px solid var(--amber); }
.sec-row--purple { border-left: 2px solid var(--purple); }

/* Cell: Waktu */
.sec-time-cell {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.sec-time-exact {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
}
.sec-time-rel {
  font-size: 11px;
  color: var(--text-3);
  font-family: var(--font-sans);
}

/* Cell: Jenis */
.sec-type-cell {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
}
.sec-type-badge {
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.sec-type-badge--login {
  background: rgba(63, 184, 122, 0.12);
  border: 1px solid rgba(63, 184, 122, 0.3);
  color: var(--green);
}
.sec-type-badge--fail {
  background: rgba(229, 83, 75, 0.12);
  border: 1px solid rgba(229, 83, 75, 0.3);
  color: var(--red);
}
.sec-type-badge--jurig {
  background: rgba(160, 132, 232, 0.12);
  border: 1px solid rgba(160, 132, 232, 0.3);
  color: var(--purple);
}
.sec-type-badge--neutral {
  background: rgba(154, 151, 143, 0.12);
  border: 1px solid var(--border);
  color: var(--text-2);
}

/* Cell: Sumber (IP & Lokasi Terdekat) */
.sec-source-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}
.sec-source-ip-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sec-ip {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.sec-net-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(105, 240, 174, 0.1);
  border: 1px solid rgba(105, 240, 174, 0.3);
  color: #69f0ae;
  line-height: 1;
}
.sec-net-badge--pub {
  background: rgba(255, 183, 3, 0.1);
  border-color: rgba(255, 183, 3, 0.3);
  color: #ffb703;
}
.sec-source-loc-row {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 230px;
}
.sec-loc-pin {
  width: 10px;
  height: 10px;
  stroke: #ffb703;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
  opacity: 0.9;
}
.sec-loc-name {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.01em;
}

/* Cell: Perangkat (Nama Seri Model Fisik & Kategori/OS) */
.sec-device-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}
.sec-dev-main-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sec-dev-name {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.sec-dev-sig {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--purple);
  font-weight: 700;
  line-height: 1;
}
.sec-dev-sub-row {
  display: flex;
  align-items: center;
  gap: 4px;
}
.sec-dev-sub {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}
.sec-tag-signal {
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(224, 165, 58, 0.14);
  border: 1px solid rgba(224, 165, 58, 0.3);
  color: var(--amber);
  font-weight: 500;
}

/* Cell: Risiko */
.sec-risk-cell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.sec-risk-score {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
}
.sec-risk-bar {
  width: 44px;
  height: 4px;
  border-radius: 2px;
  background: var(--surface-2);
  overflow: hidden;
}
.sec-risk-fill {
  height: 100%;
  border-radius: 2px;
}
.sec-risk-fill--low { background: var(--green); }
.sec-risk-fill--mid { background: var(--amber); }
.sec-risk-fill--high { background: var(--red); }

/* Cell: Chevron */
.sec-chevron-btn {
  background: none;
  border: none;
  color: var(--text-3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  transition: transform 140ms ease, color 140ms ease;
}
.sec-row:hover .sec-chevron-btn { color: var(--text); }
.sec-row.expanded .sec-chevron-btn {
  transform: rotate(180deg);
  color: var(--text);
}



/* ─────────────────────────────────────────────────────────────
   FORENSIK MENDALAM (EXPANDED ROW ENHANCED & TABULAR HUD)
───────────────────────────────────────────────────────────── */
.sec-expanded-row {
  display: none;
  background: rgba(3, 8, 15, 0.88);
  border-bottom: 1px solid var(--border);
}
.sec-expanded-row.show {
  display: table-row;
}
.sec-expanded-row > td {
  padding: 0 !important;
}
.sec-expanded-box {
  padding: 16px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-left: 3px solid #c084fc;
  background: rgba(6, 12, 22, 0.65);
}

/* Header Drawer Forensik: Sleek Unified Top Bar */
.sec-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  gap: 12px;
}
.sec-drawer-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sec-drawer-id-badge {
  font-family: var(--font-hud);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-right: 4px;
}
.sec-drawer-device-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(192, 132, 252, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.35);
  color: #c084fc;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}
.sec-drawer-ram-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 183, 3, 0.12);
  border: 1px solid rgba(255, 183, 3, 0.35);
  color: #ffb703;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.sec-drawer-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(105, 240, 174, 0.08);
  border: 1px solid rgba(105, 240, 174, 0.25);
  color: #69f0ae;
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 4px;
}

/* Action Button Group */
.sec-drawer-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.sec-drawer-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 120ms ease;
  white-space: nowrap;
}
.sec-drawer-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}
.sec-drawer-btn--export {
  background: rgba(105, 240, 174, 0.12);
  border-color: rgba(105, 240, 174, 0.35);
  color: #69f0ae;
  font-weight: 600;
}
.sec-drawer-btn--export:hover {
  background: rgba(105, 240, 174, 0.2);
  border-color: rgba(105, 240, 174, 0.6);
  color: #fff;
  box-shadow: 0 0 8px rgba(105, 240, 174, 0.25);
}

/* 3-Column Forensic Telemetry Grid: High-Precision Tabular Cards */
.sec-forensic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}
.sec-forensic-col {
  background: rgba(4, 11, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 12px 14px 10px 14px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: border-color 140ms ease;
}
.sec-forensic-col:hover {
  border-color: rgba(255, 255, 255, 0.16);
}
.sec-forensic-col__title {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-hud);
  letter-spacing: 0.06em;
  padding-bottom: 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}
.sec-forensic-col__tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Rigid Tabular Key-Value Rows (108px fixed Key + minmax(0, 1fr) Value) */
.sec-f-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
  font-size: 11px;
  gap: 8px;
  min-width: 0;
}
.sec-f-row:last-child {
  border-bottom: none;
}
.sec-f-k {
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 10.5px;
  white-space: nowrap;
  letter-spacing: 0.01em;
  min-width: 0;
}
.sec-f-v {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: right;
  word-break: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* Sleek Toggle Button for Raw Telemetry Box */
.sec-raw-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 2px 0;
}
.sec-raw-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(192, 132, 252, 0.08);
  border: 1px solid rgba(192, 132, 252, 0.25);
  color: #c084fc;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.sec-raw-toggle-btn:hover {
  background: rgba(192, 132, 252, 0.16);
  border-color: rgba(192, 132, 252, 0.45);
  color: #fff;
  transform: translateY(-1px);
}
.sec-raw-toggle-btn.is-open {
  background: rgba(224, 165, 58, 0.1);
  border-color: rgba(224, 165, 58, 0.35);
  color: #ffb703;
}
.sec-raw-toggle-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
  font-size: 10px;
}
.sec-raw-toggle-btn.is-open .sec-raw-toggle-arrow {
  transform: rotate(180deg);
}
.sec-raw-toggle-badge {
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 9.5px;
  color: var(--text-2);
}
.sec-raw-close-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.sec-raw-close-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

/* Raw Telemetry JSON / Syslog Box */
.sec-raw-box {
  display: none;
  background: rgba(2, 6, 12, 0.95);
  border: 1px solid rgba(192, 132, 252, 0.3);
  border-radius: 6px;
  padding: 12px 14px;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
}
.sec-raw-box.show {
  display: flex;
}
.sec-raw-tabs {
  display: flex;
  gap: 6px;
  align-items: center;
}
.sec-raw-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 9px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 120ms ease;
}
.sec-raw-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.sec-raw-tab.active {
  background: rgba(192, 132, 252, 0.18);
  border-color: rgba(192, 132, 252, 0.5);
  color: #c084fc;
  font-weight: 600;
}
.sec-raw-box__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
}
.sec-raw-box__code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #69f0ae;
  background: transparent;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 380px;
  padding: 6px 0;
  line-height: 1.5;
}


/* ─────────────────────────────────────────────────────────────
   7. PAGINATION (Clean Enterprise Dual Top/Bottom Controls)
───────────────────────────────────────────────────────────── */
.sec-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-2);
  flex-wrap: wrap;
  gap: 12px;
}
.sec-pagination-bar--top {
  border-bottom: 1px solid var(--border);
  border-radius: 8px 8px 0 0;
  margin-top: 10px;
}
.sec-pagination-bar--bottom {
  border-top: 1px solid var(--border);
  border-radius: 0 0 8px 8px;
  margin-top: 0;
}
.sec-table-container {
  border-radius: 0;
  border-top: none;
  border-bottom: none;
}
.sec-page-info b {
  color: var(--text);
  font-weight: 500;
}

.sec-page-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.sec-page-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 4px;
  cursor: pointer;
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 120ms ease;
}
.sec-page-btn:hover:not([disabled]) {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--text-3);
}
.sec-page-btn.active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  font-weight: 600;
}
.sec-page-btn[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Toast Notification (Copy / Action Feedback) */
.sec-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  display: none;
  z-index: 1000;
  animation: fadeIn 140ms ease;
}
.sec-toast.show { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tablet / Medium Screens Adaptation (≤1024px) */
@media (max-width: 1024px) {
  .sec-forensic-grid {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  }
}

/* Responsive Adaptation (<768px) */
@media (max-width: 768px) {
  .sec-stats-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sec-card-box__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sec-range-pills { overflow-x: auto; max-width: 100%; width: 100%; padding: 2px; }
  .sec-diag-grid { grid-template-columns: 1fr; }
  .sec-subgrid { grid-template-columns: 1fr; }
  .sec-chart-body { grid-template-columns: 1fr; }
  .sec-chart-aside { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-left: 0; padding-top: 12px; }
  .sec-forensic-grid { grid-template-columns: 1fr; }

  /* Dense Table adapt to 2-line cards on mobile */
  .sec-event-table, .sec-event-table thead, .sec-event-table tbody, .sec-event-table th, .sec-event-table td, .sec-event-table tr {
    display: block;
  }
  .sec-event-table thead { display: none; }
  .sec-row {
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-bottom: 1px solid var(--border);
  }
  .sec-row td {
    padding: 0;
    width: 100% !important;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}


/* ─────────────────────────────────────────────────────────────
   JURIG PUBLICATION ENGINE & AD MATRIX (ANTI-SLOP ARCHITECTURE)
───────────────────────────────────────────────────────────── */
.hub-pane {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: hubPaneFade 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes hubPaneFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tier 1: Asymmetric 2-Deck Command Cockpit */
.jurig-hero-cockpit {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 16px;
}
@media (max-width: 960px) {
  .jurig-hero-cockpit { grid-template-columns: 1fr; }
}

.jurig-deck-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.jurig-deck-card--primary {
  border-left: 3px solid #05ffa1;
  background: linear-gradient(145deg, rgba(5, 255, 161, 0.04) 0%, rgba(14, 20, 28, 0.88) 100%);
}
.jurig-deck-card--terminal {
  border-left: 3px solid #c084fc;
  background: #02050a;
}

.jurig-deck-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.jurig-deck-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.jurig-deck-status {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #05ffa1;
  letter-spacing: 0.06em;
}
.jurig-meta-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.jurig-deck-title {
  font-family: var(--font-hud);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.jurig-deck-desc {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.6;
}

/* Big Action CTAs */
.jurig-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.jurig-btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(5, 255, 161, 0.14);
  border: 1px solid rgba(5, 255, 161, 0.45);
  color: #fff;
  font-family: var(--font-hud);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
  flex: 1;
  min-width: 200px;
  justify-content: center;
}
.jurig-btn-hero:hover {
  background: #05ffa1;
  border-color: #05ffa1;
  color: #000;
  box-shadow: 0 0 18px rgba(5, 255, 161, 0.4);
}
.jurig-btn-arrow {
  transition: transform 180ms ease;
}
.jurig-btn-hero:hover .jurig-btn-arrow {
  transform: translateX(3px);
}
.jurig-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-hud);
  font-size: 12.5px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 180ms ease;
}
.jurig-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: var(--text-3);
}

/* Quick Tools Strip */
.jurig-tools-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}
.jurig-tool-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.jurig-tool-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.06em;
}
.jurig-tool-sep {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.1);
}
.jurig-pill-link {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-2);
  text-decoration: none;
  transition: all 140ms ease;
}
.jurig-pill-link:hover {
  color: #fff;
  border-color: var(--text-3);
  background: rgba(255, 255, 255, 0.1);
}
.jurig-pill-link--amber {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.3);
  background: rgba(251, 191, 36, 0.08);
}
.jurig-pill-link--amber:hover {
  background: #fbbf24;
  color: #000;
  border-color: #fbbf24;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.3);
}

/* Terminal Deck */
.jurig-terminal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.jurig-terminal-dots {
  display: flex;
  gap: 5px;
}
.jurig-tdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.jurig-term-heading {
  font-family: var(--font-hud);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #c084fc;
}
.jurig-term-status {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-3);
}
.jurig-term-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
}
.jurig-tline {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px;
}
.jurig-tkey {
  color: #05ffa1;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.jurig-tval {
  color: var(--text-2);
}
.jurig-tval code {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 4px;
  border-radius: 3px;
}

/* ─────────────────────────────────────────────────────────────
   Tier 2: Ad Network Master-Detail Inspector
───────────────────────────────────────────────────────────── */
.ad-panel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.ad-panel-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* 1-Line Smart Expiration Callout */
.ad-smart-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 11.5px;
  color: var(--text-2);
  line-height: 1.5;
}
.ad-smart-bar b { color: #fbbf24; }

/* Slot Selector Horizontal Pill Strip (5 Tabs) */
.ad-slot-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 6px;
}
@media (max-width: 1200px) {
  .ad-slot-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
}
.ad-slot-tabs::-webkit-scrollbar { display: none; }

.ad-slot-tab {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 15, 24, 0.85) !important;
  border-radius: 8px;
  padding: 12px 14px;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  width: 100%;
}
.ad-slot-tab__glow-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: all 180ms ease;
}
.ad-slot-tab:hover {
  background: rgba(16, 24, 38, 0.95) !important;
  border-color: rgba(5, 255, 161, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.ad-slot-tab.active {
  background: linear-gradient(180deg, rgba(5, 255, 161, 0.12) 0%, rgba(8, 16, 26, 0.98) 100%) !important;
  border-color: rgba(5, 255, 161, 0.55);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6), 0 0 16px rgba(5, 255, 161, 0.15), inset 0 1px 0 rgba(5, 255, 161, 0.3);
}
.ad-slot-tab.active .ad-slot-tab__glow-bar {
  background: linear-gradient(90deg, #05ffa1 0%, #c084fc 100%);
  box-shadow: 0 0 10px #05ffa1;
}

.ad-slot-tab__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.ad-slot-tab__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #05ffa1;
  background: rgba(5, 255, 161, 0.1);
  border: 1px solid rgba(5, 255, 161, 0.28);
  padding: 1px 6px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.ad-slot-tab__badge {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.ad-slot-tab__badge--standby {
  background: rgba(100, 116, 139, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(100, 116, 139, 0.25);
}
.ad-slot-tab__badge--active {
  background: rgba(5, 255, 161, 0.14);
  color: #05ffa1;
  border: 1px solid rgba(5, 255, 161, 0.4);
  box-shadow: 0 0 8px rgba(5, 255, 161, 0.25);
}
.ad-slot-tab__badge--adsense {
  background: rgba(192, 132, 252, 0.14);
  color: #c084fc;
  border: 1px solid rgba(192, 132, 252, 0.4);
  box-shadow: 0 0 8px rgba(192, 132, 252, 0.25);
}

.ad-slot-tab__title {
  font-family: var(--font-hud);
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1.25;
  width: 100%;
}

.ad-slot-tab__meta {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-3);
  letter-spacing: 0.02em;
}
.ad-slot-tab__dim {
  color: #94a3b8;
  font-weight: 600;
}
.ad-slot-tab.active .ad-slot-tab__dim {
  color: #cbd5e1;
}
.ad-slot-tab__role {
  color: var(--text-3);
  font-size: 8.5px;
  text-transform: uppercase;
}

/* Master-Detail Inspector Deck */
.ad-inspector-deck {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(0, 1.45fr);
  gap: 16px;
  align-items: start;
}
@media (max-width: 1080px) {
  .ad-inspector-deck { grid-template-columns: 1fr; }
}

.ad-editor-box {
  background: rgba(11, 16, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.ad-slot-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.ad-slot-card__title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ad-slot-card__title {
  font-family: var(--font-hud);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
}
.ad-dim-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(5, 255, 161, 0.12);
  color: #05ffa1;
  border: 1px solid rgba(5, 255, 161, 0.3);
}

/* Status Pill in Inspector */
.ad-status-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.ad-status-pill.active {
  background: rgba(5, 255, 161, 0.12);
  color: #05ffa1;
  border: 1px solid rgba(5, 255, 161, 0.3);
}
.ad-status-pill.standby {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.2);
}
.ad-status-pill.adsense {
  background: rgba(192, 132, 252, 0.12);
  color: #c084fc;
  border: 1px solid rgba(192, 132, 252, 0.3);
}

/* Mode Switcher Segmented Control */
.ad-mode-pills {
  display: inline-flex;
  background: rgba(5, 8, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 4px;
  gap: 4px;
  width: 100%;
}
.ad-mode-pill {
  flex: 1;
  appearance: none;
  -webkit-appearance: none;
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 6px;
  padding: 9px 12px;
  font-family: var(--font-hud);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-2);
  cursor: pointer;
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  outline: none;
}
.ad-mode-pill:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.06) !important;
}
.ad-mode-pill.active {
  background: linear-gradient(135deg, rgba(5, 255, 161, 0.18) 0%, rgba(10, 24, 38, 0.95) 100%) !important;
  border-color: rgba(5, 255, 161, 0.45) !important;
  color: #05ffa1 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 10px rgba(5, 255, 161, 0.2);
}

/* Campaign Boxes */
.ad-campaign-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: adBoxFadeIn 180ms ease;
}
@keyframes adBoxFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Default Neon Standby Box */
.ad-neon-box {
  background: linear-gradient(135deg, rgba(5, 255, 161, 0.04) 0%, rgba(192, 132, 252, 0.03) 100%);
  border: 1px solid rgba(5, 255, 161, 0.2);
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.ad-neon-box__title {
  font-family: var(--font-hud);
  font-size: 13px;
  font-weight: 700;
  color: #05ffa1;
  letter-spacing: 0.04em;
  text-shadow: 0 0 8px rgba(5, 255, 161, 0.35);
  margin-bottom: 4px;
}
.ad-neon-box__desc {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
}
.ad-neon-box__desc code {
  color: #c084fc;
  background: rgba(192, 132, 252, 0.1);
  padding: 1px 5px;
  border-radius: 3px;
  font-family: var(--font-mono);
}

/* Dropzone Drag & Drop */
.ad-dropzone {
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  background: rgba(5, 8, 14, 0.6);
  border-radius: 8px;
  padding: 18px 14px;
  text-align: center;
  cursor: pointer;
  transition: all 180ms ease;
  user-select: none;
}
.ad-dropzone:hover {
  border-color: rgba(5, 255, 161, 0.5);
  background: rgba(5, 255, 161, 0.03);
  box-shadow: 0 0 16px rgba(5, 255, 161, 0.1);
}
.ad-dropzone input[type="file"] { display: none; }

/* Preset Duration Chips */
.ad-preset-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 6px;
}
.ad-preset-chip {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(15, 22, 34, 0.8) !important;
  background-color: rgba(15, 22, 34, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 6px;
  padding: 7px 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-2);
  cursor: pointer;
  transition: all 160ms ease;
  text-align: center;
  white-space: nowrap;
}
.ad-preset-chip:hover {
  background-color: rgba(25, 35, 52, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #fff;
}
.ad-preset-chip.active {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.18) 0%, rgba(20, 25, 35, 0.95) 100%) !important;
  border-color: rgba(251, 191, 36, 0.5) !important;
  color: #fbbf24 !important;
  box-shadow: 0 2px 10px rgba(251, 191, 36, 0.2);
  font-weight: 700;
}

/* Expiry HUD Banner */
.ad-duration-hud {
  background: rgba(5, 8, 14, 0.7);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-left: 3px solid #fbbf24;
  border-radius: 6px;
  padding: 10px 14px;
}
.ad-duration-hud__val {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: #fbbf24;
  letter-spacing: 0.03em;
}
.ad-duration-hud__sub {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 2px;
  line-height: 1.4;
}

/* Action Button: Simpan Pengaturan Slot */
.btn-save-ad {
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(135deg, #05ffa1 0%, #00d688 100%) !important;
  color: #020a06 !important;
  border: none !important;
  border-radius: 6px;
  padding: 10px 24px;
  font-family: var(--font-hud);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(5, 255, 161, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-save-ad:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(5, 255, 161, 0.55);
  filter: brightness(1.06);
}
.btn-save-ad:active {
  transform: translateY(0);
  filter: brightness(0.95);
}

/* Source Type Switcher Pills */
.sec-range-pills {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 3px;
  gap: 3px;
}
.sec-range-pill {
  appearance: none;
  -webkit-appearance: none;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 4px;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-2);
  cursor: pointer;
  transition: all 140ms ease;
}
.sec-range-pill:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.05) !important;
}
.sec-range-pill.active {
  background: rgba(5, 255, 161, 0.15) !important;
  border-color: rgba(5, 255, 161, 0.35) !important;
  color: #05ffa1 !important;
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════
   REAL INTERACTIVE BLOG AD SIMULATOR (AUTHENTIC BROWSER CHROME)
   ══════════════════════════════════════════════════════════════ */
.ad-sim-window {
  background: #06090e;
  border: 1px solid rgba(5, 255, 161, 0.22);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 24px rgba(5, 255, 161, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.ad-sim-titlebar {
  background: rgba(13, 19, 29, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  user-select: none;
}
.ad-sim-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ad-sim-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.ad-sim-dot--red { background: #ff5f56; }
.ad-sim-dot--yellow { background: #ffbd2e; }
.ad-sim-dot--green { background: #27c93f; }

.ad-sim-urlbar {
  flex: 1;
  max-width: 380px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ad-sim-urlbar svg { flex-shrink: 0; color: #05ffa1; }
.ad-sim-url-txt { color: #f1f5f9; overflow: hidden; text-overflow: ellipsis; }

.ad-sim-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: #05ffa1;
  letter-spacing: 0.04em;
  font-weight: 700;
  white-space: nowrap;
}

.ad-sim-viewport {
  max-height: 575px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px;
  background: radial-gradient(circle at 50% 0%, rgba(192, 132, 252, 0.04) 0%, rgba(6, 9, 14, 1) 75%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(5, 255, 161, 0.3) rgba(0, 0, 0, 0.3);
}
.ad-sim-viewport::-webkit-scrollbar { width: 5px; }
.ad-sim-viewport::-webkit-scrollbar-thumb { background: rgba(5, 255, 161, 0.3); border-radius: 3px; }

/* Simulated Blog Header */
.sim-blog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  background: rgba(15, 23, 36, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  user-select: none;
}
.sim-blog-logo {
  font-family: var(--font-hud);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.08em;
}
.sim-blog-logo-violet { color: #c084fc; text-shadow: 0 0 8px rgba(192, 132, 252, 0.5); }
.sim-blog-logo-mint { color: #05ffa1; text-shadow: 0 0 8px rgba(5, 255, 161, 0.5); margin-left: 3px; }
.sim-blog-chips {
  display: flex;
  align-items: center;
  gap: 5px;
}
.sim-chip {
  font-family: var(--font-mono);
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-3);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.sim-chip.active {
  background: rgba(5, 255, 161, 0.12);
  color: #05ffa1;
  border-color: rgba(5, 255, 161, 0.3);
}

/* Simulated Slot Wrapper (Clickable & Reactively Styled) */
.sim-ad-slot-wrap {
  position: relative;
  border-radius: 6px;
  cursor: pointer;
  transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: rgba(10, 15, 24, 0.65);
  overflow: hidden;
  user-select: none;
}
.sim-ad-slot-wrap:hover {
  border-color: rgba(5, 255, 161, 0.5);
  transform: translateY(-1px);
}
.sim-ad-slot-wrap.active-inspect {
  border: 1.5px solid #05ffa1 !important;
  box-shadow: 0 0 20px rgba(5, 255, 161, 0.35), inset 0 0 10px rgba(5, 255, 161, 0.08) !important;
}

.sim-slot-pin {
  position: absolute;
  top: 4px;
  right: 6px;
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-2);
  pointer-events: none;
}
.sim-ad-slot-wrap.active-inspect .sim-slot-pin {
  background: #05ffa1;
  color: #000;
  border-color: #05ffa1;
  box-shadow: 0 0 8px rgba(5, 255, 161, 0.8);
}

/* Mode 1: Authentic Neon Default Pasang Iklan */
.sim-neon-box {
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(135deg, rgba(5, 255, 161, 0.05) 0%, rgba(192, 132, 252, 0.04) 100%);
  border: 1px solid rgba(5, 255, 161, 0.18);
  border-radius: 5px;
}
.sim-neon-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sim-neon-bolt {
  font-size: 14px;
  filter: drop-shadow(0 0 6px #05ffa1);
}
.sim-neon-h4 {
  font-family: var(--font-hud);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #05ffa1;
  text-shadow: 0 0 6px rgba(5, 255, 161, 0.4);
}
.sim-neon-p {
  font-family: var(--font-body);
  font-size: 9px;
  color: var(--text-3);
  margin-top: 1px;
}
.sim-neon-btn {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  color: #05ffa1;
  background: rgba(5, 255, 161, 0.1);
  border: 1px solid rgba(5, 255, 161, 0.35);
  padding: 3px 8px;
  border-radius: 3px;
  white-space: nowrap;
}

/* Mode 2: Live Sponsor Banner */
.sim-sponsor-box {
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.16) 0%, rgba(10, 20, 35, 0.95) 100%);
  border: 1px solid rgba(192, 132, 252, 0.35);
  border-radius: 5px;
}
.sim-sponsor-brand-tag {
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 700;
  color: #c084fc;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sim-sponsor-h4 {
  font-family: var(--font-hud);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}
.sim-sponsor-sub {
  font-family: var(--font-body);
  font-size: 8.5px;
  color: #cbd5e1;
}
.sim-sponsor-cta {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  color: #000;
  background: #c084fc;
  padding: 3px 8px;
  border-radius: 3px;
  white-space: nowrap;
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.5);
}

/* Mode 3: Google AdSense Unit */
.sim-adsense-box {
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sim-adsense-tag {
  font-family: var(--font-mono);
  font-size: 6.5px;
  color: #94a3b8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sim-adsense-title {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  color: #38bdf8;
  text-decoration: underline;
}
.sim-adsense-url {
  font-family: var(--font-mono);
  font-size: 7.5px;
  color: #10b981;
}
.sim-adsense-snippet {
  font-family: var(--font-body);
  font-size: 8.5px;
  color: var(--text-3);
}

/* Vertical variants for Sidebar */
.sim-vertical-neon {
  flex-direction: column;
  text-align: center;
  padding: 16px 10px;
  gap: 10px;
  justify-content: center;
}
.sim-vertical-neon .sim-neon-left {
  flex-direction: column;
  gap: 5px;
}
.sim-vertical-sponsor {
  flex-direction: column;
  text-align: center;
  padding: 16px 10px;
  gap: 10px;
  justify-content: center;
}
.sim-vertical-adsense {
  padding: 12px 9px;
  text-align: center;
  gap: 5px;
  justify-content: center;
}

/* Simulated Article Elements */
.sim-article-header {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sim-article-tag {
  font-family: var(--font-mono);
  font-size: 8px;
  color: #05ffa1;
  letter-spacing: 0.06em;
}
.sim-article-h1 {
  font-family: var(--font-hud);
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  letter-spacing: 0.02em;
}
.sim-article-meta {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 1px;
}

/* Two-column layout */
.sim-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 12px;
}
.sim-main-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sim-p {
  font-family: var(--font-body);
  font-size: 9.5px;
  color: #94a3b8;
  line-height: 1.55;
}
.sim-code {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 2px solid #05ffa1;
  padding: 6px 9px;
  font-family: var(--font-mono);
  font-size: 8px;
  color: #a7f3d0;
  border-radius: 3px;
  line-height: 1.4;
  overflow-x: hidden;
  white-space: nowrap;
}

.sim-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sim-widget {
  background: rgba(14, 20, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sim-widget-title {
  font-family: var(--font-hud);
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 3px;
}
.sim-widget-item {
  font-family: var(--font-body);
  font-size: 8.5px;
  color: var(--text-2);
  line-height: 1.35;
}
.sim-widget-meta {
  font-family: var(--font-mono);
  font-size: 7px;
  color: var(--text-3);
}

.sim-footer-note {
  font-family: var(--font-mono);
  font-size: 7.5px;
  color: var(--text-3);
  text-align: center;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}


/* ══════════════════════════════════════════════════════════════
   AUTHENTIC 3-COLUMN REAL-TIME BLOG.EZAAA.ID SIMULATOR
   ══════════════════════════════════════════════════════════════ */
.sim-page-pills {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 2px;
}
.sim-page-pill {
  font-family: var(--font-mono);
  font-size: 9.5px;
  padding: 3px 8px;
  border-radius: 4px;
  background: transparent;
  color: var(--text-3);
  border: none;
  cursor: pointer;
  transition: all 160ms ease;
  white-space: nowrap;
}
.sim-page-pill:hover {
  color: #fff;
}
.sim-page-pill.active {
  background: rgba(5, 255, 161, 0.15);
  color: #05ffa1;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(5, 255, 161, 0.2);
}

.sim-blog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(13, 20, 32, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  user-select: none;
}
.sim-blog-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sim-search-box {
  font-family: var(--font-mono);
  font-size: 8px;
  color: #94a3b8;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: 4px;
}
.sim-search-box kbd {
  background: rgba(255, 255, 255, 0.08);
  padding: 0 3px;
  border-radius: 2px;
  font-size: 7px;
  color: #cbd5e1;
}
.sim-port-btn {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  color: #05ffa1;
  background: rgba(5, 255, 161, 0.08);
  border: 1px solid rgba(5, 255, 161, 0.25);
  padding: 2px 7px;
  border-radius: 4px;
}

.sim-leaderboard-outer {
  width: 100%;
  display: flex;
  justify-content: center;
}
.sim-leaderboard-outer .sim-ad-slot-wrap {
  width: 100%;
}

.sim-3col-layout {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 120px;
  gap: 12px;
  align-items: start;
  width: 100%;
}
.sim-gutter-col {
  width: 120px;
  flex-shrink: 0;
  position: sticky;
  top: 8px;
}
.sim-gutter-col .sim-ad-slot-wrap {
  min-height: 480px;
  height: 480px;
  display: flex;
  flex-direction: column;
}

.sim-center-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sim-hero-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  background: rgba(12, 18, 30, 0.95);
  border: 1px solid rgba(105, 240, 174, 0.22);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.sim-hero-media {
  position: relative;
  height: 100%;
  min-height: 145px;
  background: #050a12;
}
.sim-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sim-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(12, 18, 30, 0.9) 100%);
}
.sim-hero-body {
  padding: 10px 13px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sim-badge-row {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.sim-tag {
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}
.sim-tag--amber {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.35);
}
.sim-tag--mint {
  background: rgba(5, 255, 161, 0.12);
  color: #05ffa1;
  border: 1px solid rgba(5, 255, 161, 0.35);
}
.sim-meta-txt {
  font-family: var(--font-mono);
  font-size: 7px;
  color: #64748b;
}
.sim-hero-title {
  font-family: var(--font-hud);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  letter-spacing: 0.02em;
}
.sim-hero-desc {
  font-family: var(--font-body);
  font-size: 8px;
  color: #94a3b8;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sim-hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}
.sim-author-chip {
  display: flex;
  align-items: center;
  gap: 5px;
}
.sim-author-avatar {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #05ffa1;
  color: #05070a;
  font-family: var(--font-hud);
  font-size: 7.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sim-author-name {
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 600;
  color: #fff;
}
.sim-slider-pill {
  font-family: var(--font-mono);
  font-size: 7px;
  color: #94a3b8;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1px 5px;
  border-radius: 3px;
}
.sim-read-btn {
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 700;
  color: #05ffa1;
  background: rgba(5, 255, 161, 0.1);
  border: 1px solid rgba(5, 255, 161, 0.35);
  padding: 2px 7px;
  border-radius: 3px;
  white-space: nowrap;
}

.sim-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sim-section-title {
  font-family: var(--font-hud);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}
.sim-count-badge {
  font-family: var(--font-mono);
  font-size: 7px;
  color: #05ffa1;
  background: rgba(5, 255, 161, 0.08);
  padding: 1px 5px;
  border-radius: 3px;
}

.sim-grid-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.sim-post-card {
  background: rgba(10, 15, 25, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease;
}
.sim-post-card:hover {
  border-color: rgba(5, 255, 161, 0.35);
  transform: translateY(-1px);
}
.sim-card-thumb {
  height: 52px;
  position: relative;
  overflow: hidden;
  background: #070c14;
}
.sim-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sim-card-tag {
  position: absolute;
  top: 3px;
  left: 3px;
  font-family: var(--font-mono);
  font-size: 6px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.85);
  color: #05ffa1;
  border: 1px solid rgba(5, 255, 161, 0.3);
}
.sim-card-info {
  padding: 5px 6px;
}
.sim-card-h3 {
  font-family: var(--font-hud);
  font-size: 8px;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sim-card-meta {
  font-family: var(--font-mono);
  font-size: 6.5px;
  color: #64748b;
  margin-top: 3px;
}

.sim-breadcrumbs {
  font-family: var(--font-mono);
  font-size: 7.5px;
  color: #05ffa1;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.sim-article-lead {
  font-family: var(--font-body);
  font-size: 8.5px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 4px 0 8px;
}
.sim-article-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 8px;
}
.sim-share-btn {
  font-family: var(--font-mono);
  font-size: 7px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 5px;
  border-radius: 3px;
}
.sim-cover-box {
  margin: 6px 0 10px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.sim-cover-box img {
  width: 100%;
  height: 95px;
  object-fit: cover;
  display: block;
}
.sim-cover-sub {
  font-family: var(--font-mono);
  font-size: 6.5px;
  color: #64748b;
  padding: 3px 6px;
  background: rgba(0, 0, 0, 0.7);
}
.sim-sub-h3 {
  font-family: var(--font-hud);
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  margin: 6px 0 3px;
}

/* ─────────────────────────────────────────────────────────────
   SHOWCASE 360° ENGINE & SPHERICAL MEDIA COCKPIT
───────────────────────────────────────────────────────────── */
.showcase-hero-cockpit {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 20px;
}
@media (max-width: 960px) {
  .showcase-hero-cockpit { grid-template-columns: 1fr; }
}

.showcase-deck-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.showcase-deck-card--primary {
  border-left: 3px solid #05ffa1;
  background: linear-gradient(145deg, rgba(5, 255, 161, 0.04) 0%, rgba(14, 20, 28, 0.88) 100%);
}
.showcase-deck-card--terminal {
  border-left: 3px solid #c084fc;
  background: #02050a;
}
.showcase-deck-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.showcase-deck-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.showcase-deck-status {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #05ffa1;
  letter-spacing: 0.06em;
}
.showcase-meta-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.showcase-deck-title {
  font-family: var(--font-hud);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.showcase-deck-desc {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.6;
}

/* Master-Detail Ingestion Deck */
.showcase-matrix-deck {
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(0, 1.35fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 20px;
}
@media (max-width: 1080px) {
  .showcase-matrix-deck { grid-template-columns: 1fr; }
}

.showcase-editor-box {
  background: rgba(11, 16, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  height: 100%;
}
.showcase-editor-form {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.showcase-ingest-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px 12px;
  background: rgba(6, 10, 16, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  margin-top: auto;
  margin-bottom: 14px;
}
.showcase-ingest-specs-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-3);
  white-space: nowrap;
}
.showcase-ingest-specs-item strong {
  color: #fff;
  font-weight: 700;
}
.showcase-ingest-specs-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #05ffa1;
  box-shadow: 0 0 6px rgba(5, 255, 161, 0.6);
  flex-shrink: 0;
}

/* Format Media Cards (3 columns) */
.showcase-format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.showcase-format-btn {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(15, 22, 34, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 6px;
  padding: 10px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 160ms cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  outline: none;
}
.showcase-format-btn:hover {
  background: rgba(25, 35, 52, 0.95) !important;
  border-color: rgba(5, 255, 161, 0.35) !important;
  transform: translateY(-1px);
}
.showcase-format-btn.active {
  background: linear-gradient(135deg, rgba(5, 255, 161, 0.16) 0%, rgba(10, 24, 38, 0.95) 100%) !important;
  border-color: rgba(5, 255, 161, 0.55) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 10px rgba(5, 255, 161, 0.2);
}
.showcase-format-btn__title {
  font-family: var(--font-hud);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}
.showcase-format-btn.active .showcase-format-btn__title {
  color: #05ffa1;
}
.showcase-format-btn__sub {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

/* Pre-Flight Media Inspector & Simulator Window */
.showcase-sim-window {
  background: #020509;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.showcase-sim-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(10, 15, 22, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 12px;
}
.showcase-sim-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 14px;
  background: rgba(6, 10, 16, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 10px;
}
.showcase-sim-btn {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  height: 24px;
  padding: 0 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-2);
  cursor: pointer;
  transition: all 140ms ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  outline: none;
}
.showcase-sim-btn:hover {
  background: rgba(5, 255, 161, 0.08);
  border-color: rgba(5, 255, 161, 0.4);
  color: #05ffa1;
  box-shadow: 0 0 8px rgba(5, 255, 161, 0.15);
}
.showcase-sim-btn.active {
  background: rgba(5, 255, 161, 0.12);
  border-color: rgba(5, 255, 161, 0.5);
  color: #fff;
}
.showcase-step-btn {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  height: 24px;
  width: 26px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
  cursor: pointer;
  transition: all 140ms ease;
  flex-shrink: 0;
  outline: none;
}
.showcase-step-btn:hover {
  background: rgba(5, 255, 161, 0.1);
  border-color: #05ffa1;
  color: #05ffa1;
}
.showcase-sim-viewport {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 330px;
  background: #020609;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  cursor: grab;
}
.showcase-sim-viewport:active {
  cursor: grabbing;
}
.sc-select-pill {
  background: rgba(5, 9, 16, 0.95);
  border: 1px solid rgba(5, 255, 161, 0.35);
  color: #05ffa1;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  height: 24px;
  padding: 0 8px;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  max-width: 250px;
  transition: all 140ms ease;
  white-space: nowrap;
}
.sc-select-pill:focus, .sc-select-pill:hover {
  border-color: #05ffa1;
  box-shadow: 0 0 8px rgba(5, 255, 161, 0.25);
}
.showcase-reticle {
  display: none !important;
}

/* Pre-Flight Telemetry Badges Strip */
.showcase-telemetry-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px 14px;
  background: rgba(8, 12, 18, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.showcase-telem-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.showcase-telem-lbl {
  font-family: var(--font-mono);
  font-size: 8.5px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.showcase-telem-val {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.showcase-telem-val--ok { color: #05ffa1; }
.showcase-telem-val--warn { color: #fbbf24; }

/* Active Showcase Gallery Deck */
.showcase-gallery-deck {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.showcase-gallery-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.showcase-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(11, 16, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px 16px;
  transition: all 180ms ease;
  backdrop-filter: blur(10px);
}
.showcase-item-card:hover {
  background: rgba(16, 24, 38, 0.95);
  border-color: rgba(5, 255, 161, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}
.showcase-item-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}
.showcase-item-rank {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: rgba(105, 240, 174, 0.5);
  width: 24px;
  flex-shrink: 0;
  text-align: center;
}
.showcase-item-card:first-child .showcase-item-rank {
  color: #05ffa1;
  text-shadow: 0 0 6px rgba(5, 255, 161, 0.5);
}
.showcase-item-thumb {
  width: 110px;
  height: 56px;
  border-radius: 5px;
  background: #020509;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.showcase-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 200ms ease;
}
.showcase-item-card:hover .showcase-item-thumb img {
  transform: scale(1.06);
}
.showcase-thumb-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.8);
  color: #05ffa1;
  border: 1px solid rgba(5, 255, 161, 0.4);
}
.showcase-thumb-badge--video {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.4);
}
.showcase-thumb-badge--yt {
  color: #ff4d6d;
  border-color: rgba(255, 77, 109, 0.4);
}
.showcase-item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.showcase-item-title {
  font-family: var(--font-hud);
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.showcase-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  flex-wrap: wrap;
}
.showcase-item-badge {
  font-size: 8.5px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(5, 255, 161, 0.12);
  color: #05ffa1;
  border: 1px solid rgba(5, 255, 161, 0.3);
}
.showcase-item-badge--video {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.3);
}
.showcase-item-badge--yt {
  background: rgba(255, 77, 109, 0.12);
  color: #ff4d6d;
  border-color: rgba(255, 77, 109, 0.3);
}
.showcase-item-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.showcase-btn-icon {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--text-2);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 140ms ease;
}
.showcase-btn-icon:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--text-3);
  color: #fff;
  transform: translateY(-1px);
}
.showcase-btn-icon:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.showcase-btn-icon--danger:hover:not(:disabled) {
  background: rgba(255, 77, 109, 0.15);
  border-color: #ff4d6d;
  color: #ff4d6d;
}
.showcase-btn-icon--edit:hover:not(:disabled) {
  background: rgba(192, 132, 252, 0.18);
  border-color: #c084fc;
  color: #c084fc;
}
.showcase-btn-icon--archive:hover:not(:disabled) {
  background: rgba(251, 191, 36, 0.18);
  border-color: #fbbf24;
  color: #fbbf24;
}
.sc-tab-btn {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  color: var(--text-2);
  font-family: var(--font-hud);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 150ms ease;
}
.sc-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.sc-tab-btn--active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.sc-tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #05ffa1;
  box-shadow: 0 0 6px rgba(5, 255, 161, 0.8);
}
.sc-tab-dot--amber {
  background: #fbbf24;
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.8);
}
.sc-tab-pill {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  background: rgba(5, 255, 161, 0.15);
  color: #05ffa1;
  border: 1px solid rgba(5, 255, 161, 0.3);
}
.sc-tab-pill--amber {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.3);
}
.sc-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 6, 10, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
}
.sc-modal-backdrop.active {
  display: flex;
}
.sc-modal-card {
  background: #0b121e;
  border: 1px solid rgba(192, 132, 252, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(192, 132, 252, 0.15);
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  overflow: hidden;
  position: relative;
  animation: scScaleUp 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes scScaleUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ── Cyberpunk Glassmorphic Input & Textarea System ── */
.sec-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(5, 9, 18, 0.78);
  border: 1px solid rgba(192, 132, 252, 0.22);
  border-radius: 8px;
  padding: 10px 14px;
  color: #f1f5f9;
  font-family: var(--font-sans, 'Outfit', sans-serif);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.015em;
  outline: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: all 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.sec-input:hover:not(:focus) {
  background: rgba(7, 13, 26, 0.88);
  border-color: rgba(192, 132, 252, 0.42);
}
.sec-input:focus {
  background: rgba(8, 14, 28, 0.95);
  border-color: #c084fc;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5), 0 0 0 3px rgba(192, 132, 252, 0.2), 0 0 22px rgba(192, 132, 252, 0.28);
  color: #ffffff;
}
.sec-input::placeholder {
  color: rgba(154, 151, 143, 0.45);
  font-size: 12px;
}
textarea.sec-input {
  min-height: 84px;
  resize: vertical;
  line-height: 1.55;
}
textarea.sec-input::-webkit-scrollbar {
  width: 5px;
}
textarea.sec-input::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
textarea.sec-input::-webkit-scrollbar-thumb {
  background: rgba(192, 132, 252, 0.3);
  border-radius: 4px;
}
textarea.sec-input::-webkit-scrollbar-thumb:hover {
  background: #c084fc;
}



/* ── AUTH / LOGIN SCREEN ── */
.login-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  z-index: 2;
}
.login-card {
  width: 100%;
  max-width: 440px;
  background: rgba(8, 14, 23, 0.88);
  border: 1px solid rgba(105, 240, 174, 0.28);
  border-radius: 14px;
  padding: 32px 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.65), 0 0 28px rgba(105, 240, 174, 0.12);
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.login-brand h1 {
  font-family: var(--font-hud);
  font-size: 20px;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0;
}
.login-brand h1 span {
  color: #69f0ae;
}
.login-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.login-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-2);
}
.login-btn-submit {
  width: 100%;
  padding: 12px 18px;
  background: linear-gradient(135deg, #05ffa1, #10b981);
  color: #02050a;
  font-family: var(--font-hud);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
}
.login-btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(5, 255, 161, 0.45);
}
.sec-security-notice {
  margin-top: 20px;
  padding: 10px 14px;
  background: rgba(224, 165, 58, 0.08);
  border: 1px solid rgba(224, 165, 58, 0.25);
  border-radius: 6px;
  font-size: 11px;
  color: #e0a53a;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}
.alert-box {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 12px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}
.alert-box--err {
  background: rgba(229, 83, 75, 0.12);
  border: 1px solid rgba(229, 83, 75, 0.35);
  color: #e5534b;
}
.alert-box--ok {
  background: rgba(63, 184, 122, 0.12);
  border: 1px solid rgba(63, 184, 122, 0.35);
  color: #3fb87a;
}


/* ── HP (≤ 600px): tidak ada elemen yang lebih lebar dari layar ──
   Item grid/flex default-nya tidak mau menyusut di bawah lebar isinya (min-width:auto),
   jadi baris kontrol & kartu dibiarkan turun baris / menyusut. Desktop tidak terpengaruh. */
@media (max-width: 600px) {
  .sec-header { flex-wrap: wrap; padding: 10px 12px; }
  .sec-header__right { flex-wrap: wrap; gap: 8px; min-width: 0; }
  .sec-cyber-tabs { justify-content: flex-start; }
  .sec-cyber-tab { flex-shrink: 0; }
  .sec-chart-controls { flex-wrap: wrap; max-width: 100%; }
  .sec-card-box, .sec-subgrid > *, .sec-chart-body > *, .sec-forensic-grid > * { min-width: 0; max-width: 100%; }
  .sec-drawer-head { flex-wrap: wrap; }
  .sec-drawer-actions { flex-wrap: wrap; flex-shrink: 1; min-width: 0; }
  .showcase-matrix-deck > *, .ad-inspector-deck > * { min-width: 0; max-width: 100%; }
  .sim-blog-nav-right { flex-wrap: wrap; min-width: 0; }
  .sec-compact-table { display: block; max-width: 100%; overflow-x: auto; }
  .sec-chart-canvas { min-width: 0; overflow-x: auto; }
  .sec-chart-custom-wrap { max-width: calc(100vw - 32px); }
  .showcase-ingest-specs, .showcase-sim-titlebar { flex-wrap: wrap; }
  .showcase-ingest-specs-item { min-width: 0; }
}
