:root {
  --bg-base: #06080d;
  --bg-surface: #0c1017;
  --bg-surface-elevated: #111722;
  --bg-surface-card: #0e131d;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 255, 255, 0.16);
  --border-focus: #38bdf8;
  
  --accent: #38bdf8;
  --accent-hover: #0ea5e9;
  --accent-muted: rgba(56, 189, 248, 0.12);
  --accent-border: rgba(56, 189, 248, 0.3);

  --accent-emerald: #10b981;
  --accent-emerald-bg: rgba(16, 185, 129, 0.1);
  --accent-emerald-border: rgba(16, 185, 129, 0.3);

  --accent-amber: #f59e0b;
  --accent-amber-bg: rgba(245, 158, 11, 0.1);
  --accent-amber-border: rgba(245, 158, 11, 0.3);

  --accent-rose: #f43f5e;
  --accent-rose-bg: rgba(244, 63, 94, 0.1);
  --accent-rose-border: rgba(244, 63, 94, 0.3);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body, html {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Base Typography */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

code, pre, .font-mono {
  font-family: var(--font-mono);
}

/* App Container */
.app-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Sticky Header / Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  background: rgba(12, 16, 23, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  position: sticky;
  top: 14px;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand-icon {
  width: 34px;
  height: 34px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.12);
  transition: all 0.2s var(--ease-spring);
}

.brand:hover .brand-icon {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-1px);
}

.brand-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  background: var(--accent-muted);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  margin-left: 8px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-emerald-bg);
  border: 1px solid var(--accent-emerald-border);
  color: var(--accent-emerald);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s var(--ease-spring);
}

.btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-highlight);
  color: #fff;
}

.btn-primary {
  background: #0284c7;
  border-color: #38bdf8;
  color: #fff;
}

.btn-primary:hover {
  background: #0369a1;
  border-color: #7dd3fc;
}

.btn-sm {
  padding: 5px 11px;
  font-size: 12px;
}

.btn-block {
  width: 100%;
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

/* Tabs Navigation */
.tabs-nav {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.tab-btn.active {
  color: #fff;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-highlight);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.tab-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.tab-btn.active .tab-badge {
  background: var(--accent-muted);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

/* Search Control Hero Console */
.hero-search-card {
  background: radial-gradient(120% 120% at 50% 0%, rgba(18, 25, 40, 0.96) 0%, rgba(9, 13, 21, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-top: 1px solid rgba(56, 189, 248, 0.38);
  border-radius: var(--radius-xl);
  padding: 30px 34px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.hero-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-titles h2 {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-titles p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.5;
}

.mode-selector {
  display: inline-flex;
  gap: 4px;
  background: rgba(5, 8, 14, 0.9);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.mode-btn {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s var(--ease-spring);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.mode-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.mode-btn.active {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.search-input-wrapper {
  display: flex;
  gap: 12px;
  align-items: stretch;
  position: relative;
}

.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  background: rgba(5, 8, 14, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 4px 18px;
  transition: all 0.2s ease;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.45);
}

.search-field:focus-within {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18), inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.search-field i {
  color: var(--text-muted);
  font-size: 15px;
  margin-right: 14px;
  transition: color 0.2s ease;
}

.search-field:focus-within i {
  color: #38bdf8;
}

.search-field input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 14.5px;
  font-weight: 500;
  color: #fff;
  padding: 10px 0;
}

.search-field input::placeholder {
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 13.5px;
}

.hero-action-btn {
  padding: 12px 24px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.hero-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

.hero-action-btn:active {
  transform: translateY(1px);
}

/* Live Progress & Stats Bar */
.progress-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 22px;
  background: rgba(10, 14, 23, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  animation: fadeIn 0.25s var(--ease-spring);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.progress-status {
  font-family: var(--font-mono);
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
}

.progress-bar-bg {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0284c7 0%, #38bdf8 60%, #818cf8 100%);
  border-radius: 999px;
  transition: width 0.15s ease-out;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.metric-card {
  background: linear-gradient(180deg, #0d121c 0%, #090d14 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.metric-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.metric-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.metric-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Dossier Summary Layout */
.dossier-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

@media (max-width: 1024px) {
  .dossier-grid {
    grid-template-columns: 1fr;
  }
}

.dossier-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-title {
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title i {
  color: var(--accent);
}

.indicators-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.indicator-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 14px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.indicator-key {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.indicator-val {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #fff;
  text-align: right;
  word-break: break-all;
}

/* Platforms Result Grid (Sherlock Live Stream) */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pill-btn {
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.pill-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.pill-btn.active {
  background: var(--accent-muted);
  border-color: var(--accent-border);
  color: var(--accent);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.platform-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: all 0.2s var(--ease-spring);
}

.platform-card:hover {
  border-color: var(--border-highlight);
  background: var(--bg-surface-elevated);
  transform: translateY(-1px);
}

.platform-card.card-found {
  border-color: var(--accent-emerald-border);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.04) 0%, var(--bg-surface) 100%);
}

.platform-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.platform-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.platform-category {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.platform-link {
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-link:hover {
  text-decoration: underline;
}

.badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.badge-found {
  background: var(--accent-emerald-bg);
  border: 1px solid var(--accent-emerald-border);
  color: var(--accent-emerald);
}

.badge-not-found {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.badge-rate-limited {
  background: var(--accent-amber-bg);
  border: 1px solid var(--accent-amber-border);
  color: var(--accent-amber);
}

.badge-error {
  background: var(--accent-rose-bg);
  border: 1px solid var(--accent-rose-border);
  color: var(--accent-rose);
}

/* Source Attribution Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.source-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.source-table th {
  padding: 10px 14px;
  background: var(--bg-surface-elevated);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-subtle);
}

.source-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.source-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
}

/* Login Page Specifics */
.login-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.login-wrapper {
  width: 100%;
  max-width: 440px;
}

.login-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-header h1 {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.login-header p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-top: 6px;
  line-height: 1.5;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.input-container {
  display: flex;
  align-items: center;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 4px 14px;
  transition: all 0.18s ease;
}

.input-container:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.15);
}

.input-icon {
  color: var(--text-muted);
  font-size: 14px;
  margin-right: 10px;
}

.input-container input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 14px;
  color: #fff;
  padding: 10px 0;
}

.btn-toggle-pw {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  font-size: 14px;
}

.btn-toggle-pw:hover {
  color: #fff;
}

.alert-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-top: 14px;
  margin-bottom: 4px;
}

.alert-error {
  background: var(--accent-rose-bg);
  border: 1px solid var(--accent-rose-border);
  color: var(--accent-rose);
}

.alert-success {
  background: var(--accent-emerald-bg);
  border: 1px solid var(--accent-emerald-border);
  color: var(--accent-emerald);
}

.input-shake {
  animation: shake 0.4s ease-in-out;
  border-color: var(--accent-rose) !important;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.login-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  font-size: 12px;
  color: var(--text-muted);
}

.security-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-emerald);
}

/* Empty State & Clean Loaders */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.empty-state i {
  font-size: 36px;
  color: rgba(255, 255, 255, 0.1);
}

/* Drawer / Inspector Modal */
.inspector-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.inspector-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 800px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
}

.inspector-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.inspector-body {
  padding: 24px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: #cbd5e1;
}

/* ==========================================================================
   Executive Intelligence Dossier Section (High-End Studio Grade)
   ========================================================================== */
.executive-summary-section {
  background: radial-gradient(120% 120% at 50% 0%, rgba(18, 25, 40, 0.98) 0%, rgba(8, 12, 19, 0.99) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-top: 2px solid #38bdf8;
  border-radius: var(--radius-xl);
  padding: 26px 30px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 32px rgba(56, 189, 248, 0.08);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeIn 0.35s var(--ease-spring);
  position: relative;
}

.executive-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.executive-title-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.executive-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 4px 11px;
  border-radius: var(--radius-sm);
  width: fit-content;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.15);
}

.live-beacon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  animation: pulse 1.8s infinite ease-in-out;
}

.executive-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.executive-stats-pill {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-secondary);
  background: rgba(12, 17, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 7px 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.executive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.exec-card {
  background: linear-gradient(180deg, #0e1420 0%, #090d15 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: all 0.22s var(--ease-spring);
  position: relative;
}

.exec-card:hover {
  border-color: rgba(56, 189, 248, 0.45);
  border-top-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), 0 0 16px rgba(56, 189, 248, 0.08);
}

.exec-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.exec-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
}

.exec-identity-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.exec-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(15, 22, 34, 0.95);
  border: 2px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 22px;
}

.exec-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exec-identity-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.exec-name {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exec-handle {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
}

.exec-bio {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.exec-location-primary {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.exec-ip-primary {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.exec-meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.exec-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.exec-meta-key {
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 600;
  min-width: 72px;
}

.exec-meta-val {
  color: #f1f5f9;
  font-weight: 600;
}

.exec-accounts-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-height: 140px;
  overflow-y: auto;
  padding-right: 4px;
}

.exec-account-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #f1f5f9;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s var(--ease-spring);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.exec-account-chip:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: var(--accent-emerald);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.exec-account-chip i {
  font-size: 10px;
  color: var(--accent-emerald);
  transition: transform 0.2s ease;
}

.exec-account-chip:hover i {
  transform: translate(1px, -1px);
}

.exec-sources-summary {
  background: rgba(11, 15, 24, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.exec-sources-toggle {
  padding: 13px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}

.exec-sources-toggle:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.exec-sources-drawer {
  padding: 0 20px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Skeleton Loading Shimmer */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Associated Identities & Cross-Profile Proofs */
.exec-associated-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.associated-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12.5px;
  color: #f1f5f9;
  text-decoration: none;
  transition: all 0.2s var(--ease-spring);
  cursor: pointer;
}

.associated-chip:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.2);
}

.associated-chip .chip-platform {
  color: var(--accent);
  font-weight: 700;
  text-transform: capitalize;
  display: flex;
  align-items: center;
  gap: 5px;
}

.associated-chip .chip-handle {
  font-family: var(--font-mono);
  color: #fff;
  font-weight: 600;
}

.associated-chip .chip-proof-icon {
  font-size: 10px;
  opacity: 0.7;
  color: var(--accent-emerald);
}

.exec-crypto-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.crypto-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 5px;
  padding: 4px 9px;
  color: #fcd34d;
}

.pgp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 5px;
  padding: 4px 9px;
  color: #d8b4fe;
}

/* Discord Intelligence Profile & Inspector */
.exec-discord-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.exec-discord-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid #5865f2;
  box-shadow: 0 0 16px rgba(88, 101, 242, 0.35);
  background: #1e1f22;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 24px;
  color: #5865f2;
  flex-shrink: 0;
}

.exec-discord-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exec-discord-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 220px;
}

.exec-discord-name {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.exec-discord-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.exec-discord-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.discord-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.4);
  color: #c7d2fe;
}

.exec-discord-metrics {
  display: flex;
  gap: 12px;
  margin-left: auto;
  flex-wrap: wrap;
}

.discord-metric-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 130px;
}

.discord-metric-box .box-lbl {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.discord-metric-box .box-val {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-mono);
}

/* Print Stylesheet for Dossier Export */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
  }
  .navbar, .hero-search-card, .tabs-nav, .filter-bar, .btn {
    display: none !important;
  }
  .dossier-section, .platform-card, .metric-card, .exec-card {
    border: 1px solid #ccc !important;
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }
  .indicator-val, .platform-name, h2, h3, .exec-name {
    color: #000 !important;
  }
}
