/* Watch Center Styles */
.wc-header, .ra-header, .admin-header {
  padding: 16px 14px 12px;
  border-bottom: 1px solid rgba(65,65,75,0.3);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wc-title, .ra-title, .admin-title {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-brand-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wc-subtitle, .ra-subtitle, .admin-subtitle {
  display: block;
  font-size: 0.6875rem;
  color: var(--color-text-faint);
  margin-top: 2px;
}

.wc-focus-list, .ra-country-list, .admin-panel-content {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px;
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
}

.wc-empty, .ra-loading, .admin-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  color: var(--color-text-faint);
  gap: 8px;
}

.wc-empty p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-dim);
}

.wc-empty span {
  font-size: 0.75rem;
}

.wc-upgrade-btn {
  margin-top: 8px;
  padding: 6px 16px;
  border-radius: 6px;
  background: rgba(130, 21, 44, 0.3);
  border: 1px solid rgba(130, 21, 44, 0.5);
  color: var(--color-text-accent);
  font-size: 0.75rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.wc-upgrade-btn:hover { background: rgba(130, 21, 44, 0.5); color: #fff; }

.wc-loading-spinner {
  text-align: center;
  padding: 30px 20px;
  color: var(--color-text-faint);
  font-size: 0.8125rem;
}

.wc-focus-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border-secondary);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
  transition: all 0.2s;
}
.wc-focus-card:hover {
  border-color: rgba(130, 21, 44, 0.4);
  background: rgba(130, 21, 44, 0.05);
}

.wc-focus-top {
  display: flex;
  align-items: center;
  gap: 6px;
}
.wc-focus-icon { font-size: 0.875rem; }
.wc-focus-name {
  flex: 1;
  font-size: 0.8125rem;
  color: var(--color-text-heading);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wc-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.wc-status-active { background: #22c55e; box-shadow: 0 0 6px rgba(34, 197, 94, 0.4); }
.wc-status-paused { background: #71717a; }

.wc-focus-scope {
  font-size: 0.6875rem;
  color: var(--color-text-dim);
  margin: 4px 0 6px 22px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wc-focus-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 22px;
}

.wc-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.6875rem;
  color: var(--color-text-dim);
}
.wc-meta-item svg { stroke: #52525b; }

.wc-alert-badge {
  font-size: 0.5625rem;
  padding: 1px 6px;
  border-radius: 8px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.wc-alert-immediate { background: rgba(239, 68, 68, 0.2); color: var(--color-impact-critical); }
.wc-alert-daily { background: rgba(234, 179, 8, 0.2); color: var(--color-impact-medium); }
.wc-alert-weekly { background: rgba(59, 130, 246, 0.2); color: var(--color-info); }

.wc-focus-actions {
  display: flex;
  gap: 4px;
  margin-top: 6px;
  margin-left: 22px;
}

.wc-action-btn {
  background: rgba(42, 32, 34, 0.5);
  border: 1px solid rgba(65, 65, 75, 0.4);
  color: var(--color-text-muted);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 0.75rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
  font-family: inherit;
}
.wc-action-btn:hover { background: rgba(65, 65, 75, 0.5); color: var(--color-text-heading); }
.wc-action-delete:hover { background: rgba(239, 68, 68, 0.2); color: var(--color-impact-critical); border-color: rgba(239, 68, 68, 0.4); }

/* ====== WATCH DESK — full-viewport ops-center ====== */
.watch-desk {
  position: fixed;
  top: var(--header-height);
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-sidebar);
  background: var(--color-bg-deep);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.wd-command-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px;
  background: rgba(14,14,20,0.95);
  border-bottom: 1px solid rgba(130,21,44,0.25);
  flex-shrink: 0;
  min-height: 38px;
}
.wd-cmd-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.wd-cmd-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-secondary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.wd-cmd-title svg { stroke: var(--color-brand-red); }
.wd-cmd-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: center;
}
.wd-cmd-stat {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(65,65,75,0.15);
}
.wd-cmd-stat-threat { border-color: rgba(239,68,68,0.2); }
.wd-cmd-val {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-heading);
  font-variant-numeric: tabular-nums;
}
.wd-cmd-label {
  font-size: 0.5625rem;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.wd-cmd-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.wd-cmd-pulse {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(34,197,94,0.25);
  background: rgba(34,197,94,0.06);
}
.wd-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,0.4);
  animation: wdPulseAnim 2s ease-in-out infinite;
}
@keyframes wdPulseAnim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.wd-cmd-pulse-label {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--color-impact-low);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.wd-cmd-pulse.wd-pulse-critical { border-color: rgba(239,68,68,0.3); background: rgba(239,68,68,0.08); }
.wd-cmd-pulse.wd-pulse-critical .wd-pulse-dot { background: #ef4444; box-shadow: 0 0 8px rgba(239,68,68,0.6); }
.wd-cmd-pulse.wd-pulse-critical .wd-cmd-pulse-label { color: var(--color-impact-critical); }
.wd-cmd-pulse.wd-pulse-elevated { border-color: rgba(249,115,22,0.3); background: rgba(249,115,22,0.08); }
.wd-cmd-pulse.wd-pulse-elevated .wd-pulse-dot { background: #f97316; box-shadow: 0 0 8px rgba(249,115,22,0.5); }
.wd-cmd-pulse.wd-pulse-elevated .wd-cmd-pulse-label { color: var(--color-impact-high); }

.wd-stats-bar {
  flex-shrink: 0;
  background: rgba(10,10,16,0.95);
  border-bottom: 1px solid rgba(65,65,75,0.15);
  overflow-x: auto;
  scrollbar-width: none;
}
.wd-stats-bar::-webkit-scrollbar { display: none; }
.wd-stats-bar-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 16px;
  min-width: max-content;
}
.wd-stat-cell {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(65,65,75,0.12);
  white-space: nowrap;
}
.wd-stat-val {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-heading);
  font-variant-numeric: tabular-nums;
}
.wd-stat-val-sm {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}
.wd-stat-label {
  font-size: 0.5625rem;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.wd-stat-divider {
  width: 1px;
  height: 20px;
  background: rgba(65,65,75,0.25);
  flex-shrink: 0;
  margin: 0 4px;
}
.wd-stat-severity {
  gap: 3px;
}
.wd-sev-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.wd-sev-critical { background: #ef4444; box-shadow: 0 0 4px rgba(239,68,68,0.4); }
.wd-sev-high { background: #f97316; }
.wd-sev-medium { background: #eab308; }
.wd-sev-low { background: #22c55e; }
.wd-stat-sparkline {
  display: inline-flex;
  align-items: center;
  height: 20px;
  min-width: 60px;
}
.wd-stat-sparkline svg {
  height: 18px;
  width: 60px;
}
.wd-stat-threat-cell {
  border-color: rgba(239,68,68,0.15);
}
.wd-cmd-focus-manage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 1px solid rgba(65,65,75,0.3);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
}
.wd-cmd-focus-manage:hover {
  border-color: var(--color-brand-red);
  color: var(--color-text-heading);
}

.wd-body {
  flex: 1;
  display: flex;
  gap: 1px;
  background: rgba(65,65,75,0.12);
  overflow: hidden;
  min-height: 0;
}
.wd-body-left {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.wd-body-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-height: 0;
  overflow: hidden;
}

.wd-minimap-wrap {
  flex: 0 0 40%;
  min-height: 200px;
  background: rgba(14,14,20,0.95);
  position: relative;
}
.wd-minimap {
  width: 100%;
  height: 100%;
  z-index: 1;
}

.wd-social-intel {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: rgba(14,14,20,0.95);
}
.wd-si-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(65,65,75,0.2);
  flex-shrink: 0;
  background: rgba(10,10,16,0.9);
}
.wd-si-tab {
  flex: 1;
  padding: 8px 6px;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--color-text-faint);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
}
.wd-si-tab:hover { color: var(--color-text-muted); }
.wd-si-tab.active {
  color: var(--color-brand-red);
  border-bottom-color: var(--color-brand-red);
}
.wd-si-tab svg { opacity: 0.6; }
.wd-si-tab.active svg { opacity: 1; stroke: var(--color-brand-red); }
.wd-si-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.wd-si-panel-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-bottom: 1px solid rgba(65,65,75,0.12);
  flex-shrink: 0;
  flex-wrap: wrap;
}
.wd-si-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 6px 8px;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(130,21,44,0.3) transparent;
}

.wd-columns {
  flex: 1;
  display: flex;
  gap: 1px;
  background: rgba(65,65,75,0.12);
  overflow: hidden;
  min-height: 0;
}
.wd-col {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-height: 0;
  overflow: hidden;
}
.wd-col-left { width: 260px; flex-shrink: 0; }
.wd-col-center { flex: 1; min-width: 0; }
.wd-col-right { width: 300px; flex-shrink: 0; }

.wd-card {
  background: rgba(14,14,20,0.95);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
  flex: 1;
}
.wd-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(65,65,75,0.15);
  flex-shrink: 0;
  flex-wrap: wrap;
}
.wd-card-title {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.wd-card-title svg { stroke: var(--color-brand-red); }
.wd-card-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 1px solid rgba(65,65,75,0.3);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.15s;
  margin-left: auto;
}
.wd-card-action:hover { border-color: var(--color-brand-red); color: var(--color-text-heading); }
.wd-card-body {
  flex: 1;
  padding: 8px 10px;
  overflow: hidden;
  min-height: 0;
}
.wd-card-scroll {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(130,21,44,0.3) transparent;
}

.wd-social-controls {
  padding: 6px 10px 0;
  flex-shrink: 0;
}
.wd-social-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wd-intel-section {
  margin-bottom: 14px;
}
.wd-intel-label {
  font-size: 0.5625rem;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
  font-weight: 600;
}

.wd-time-btns {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.wd-card-focuses { flex: 1; }
.wd-card-incidents { flex: 1; }
.wd-card-social { flex: 1; }
.wd-card-intel { flex: 1; }
.wd-card-accounts { flex: 0 0 auto; max-height: 30%; }
.wd-card-events { flex: 0 0 auto; max-height: 35%; }

.wd-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 16px;
  color: var(--color-text-faint);
  gap: 6px;
  height: 100%;
}
.wd-empty p { margin: 0; font-size: 0.8125rem; color: var(--color-text-dim); }
.wd-empty span { font-size: 0.6875rem; }

@media (max-width: 1100px) {
  .wd-col-left { width: 220px; }
  .wd-col-right { width: 250px; }
  .wd-cmd-stats { gap: 8px; }
  .wd-cmd-label { display: none; }
}
@media (max-width: 768px) {
  .wd-columns { flex-direction: column; overflow-y: auto; }
  .wd-col-left, .wd-col-right { width: 100%; flex-shrink: 0; }
  .wd-col-left { max-height: 200px; }
  .wd-col-right { max-height: 40vh; }
  .wd-col-center { min-height: 300px; }
  .wd-command-bar { flex-wrap: wrap; padding: 6px 10px; }
  .wd-cmd-stats { order: 3; width: 100%; justify-content: flex-start; gap: 6px; overflow-x: auto; }
  .wd-cmd-label { display: none; }
}

/* ====== WATCH PANEL (right sidebar overlay) ====== */
.watch-panel {
  position: fixed;
  top: var(--total-header-height);
  right: 0; bottom: 0;
  width: 380px;
  background: rgba(6, 6, 10, 0.97);
  border-left: 1px solid rgba(65, 65, 75, 0.2);
  z-index: var(--z-modal-content);
  display: flex;
  flex-direction: column;
  animation: watchPanelSlideIn 0.25s ease-out;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.4);
}
@keyframes watchPanelSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.watch-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(65, 65, 75, 0.2);
  flex-shrink: 0;
}
.watch-panel-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 700; color: var(--color-text-heading);
  text-transform: uppercase; letter-spacing: 1.5px;
}
.watch-panel-title svg { color: var(--color-brand-red); }
.watch-panel-controls {
  display: flex; align-items: center; gap: 6px;
}
.watch-panel-stats {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(65, 65, 75, 0.12);
  flex-shrink: 0;
}
.wcc-ab-stat {
  display: flex; align-items: center; gap: 3px;
  font-size: 0.625rem; color: var(--color-text-dim);
}
.wcc-ab-val {
  font-weight: 700; color: var(--color-text-heading); font-variant-numeric: tabular-nums;
}
.wcc-right-tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid rgba(65, 65, 75, 0.2);
  flex-shrink: 0;
}
.wcc-rtab {
  flex: 1; padding: 10px 8px;
  font-size: 0.6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.3px;
  color: var(--color-text-faint); background: none; border: none;
  cursor: pointer; border-bottom: 2px solid transparent;
  transition: all 0.2s; text-align: center;
}
.wcc-rtab:hover { color: var(--color-text-muted); }
.wcc-rtab.active { color: var(--color-brand-red); border-bottom-color: var(--color-brand-red); }
.wcc-right-content {
  flex: 1; overflow-y: auto; display: flex; flex-direction: column;
}
.wcc-rtab-panel {
  flex: 1; display: flex; flex-direction: column; overflow-y: auto;
}
.wcc-rtab-panel[style*="display: none"], .wcc-rtab-panel[style*="display:none"] {
  display: none !important;
}
.wcc-events-section { border-bottom: none; }
.wcc-events-section .wcc-section-header { padding: 5px 14px; }
.wcc-events-list-vertical {
  display: flex; flex-direction: column; gap: 0;
  overflow-y: auto; padding: 4px 8px 8px;
  scrollbar-width: thin; scrollbar-color: #1a1a1a transparent;
}
.wcc-events-list-vertical .wcc-inc-card {
  border: 1px solid rgba(65, 65, 75, 0.12);
  border-radius: 6px; margin: 2px 0;
  background: rgba(14, 14, 20, 0.5);
}
.wcc-events-list-vertical .wcc-inc-card:hover {
  background: rgba(130, 21, 44, 0.1);
  border-color: var(--color-border-accent-medium);
}
.wcc-event-form {
  padding: 6px 10px; display: flex; flex-direction: column; gap: 6px;
  background: rgba(14, 14, 20, 0.6);
  border-bottom: 1px solid rgba(65, 65, 75, 0.12);
}
.wcc-btn-full {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 0.65rem;
}
.wcc-extracting {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.625rem; color: var(--color-text-muted); padding: 4px 0;
}
.wcc-spinner {
  width: 14px; height: 14px; border: 2px solid rgba(130, 21, 44, 0.3);
  border-top-color: var(--color-brand-red); border-radius: 50%;
  animation: wcc-spin 0.8s linear infinite; display: inline-block;
}
@keyframes wcc-spin { to { transform: rotate(360deg); } }
.wcc-event-tabs {
  display: flex; gap: 0; padding: 0 8px;
  border-bottom: 1px solid rgba(65, 65, 75, 0.15);
}
.wcc-event-tab {
  flex: 1; padding: 5px 4px; font-size: 0.5625rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--color-text-faint); background: none; border: none; cursor: pointer;
  border-bottom: 2px solid transparent; transition: all 0.2s;
  text-align: center;
}
.wcc-event-tab:hover { color: var(--color-text-muted); }
.wcc-event-tab.active {
  color: var(--color-brand-red); border-bottom-color: var(--color-brand-red);
}
.wcc-events-content { flex: 1; overflow-y: auto; }
.wcc-event-card {
  padding: 8px 10px; border-bottom: 1px solid rgba(65, 65, 75, 0.08);
  cursor: pointer; transition: background 0.15s;
}
.wcc-event-card:hover { background: rgba(130, 21, 44, 0.08); }
.wcc-event-card-title {
  font-size: 0.6875rem; font-weight: 600; color: var(--color-text-heading);
  margin-bottom: 3px; line-height: 1.3;
}
.wcc-event-card-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.5625rem; color: var(--color-text-dim);
}
.wcc-event-card-meta .wcc-event-date { color: var(--color-brand-red); font-weight: 600; }
.wcc-event-card-desc {
  font-size: 0.5625rem; color: var(--color-text-muted); margin-top: 3px;
  line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.wcc-event-card-actions {
  display: flex; gap: 6px; margin-top: 4px;
}
.wcc-event-card-actions a {
  font-size: 0.5625rem; color: var(--color-info); text-decoration: none;
}
.wcc-event-card-actions a:hover { text-decoration: underline; }
.wcc-event-card-actions button {
  font-size: 0.5625rem; color: var(--color-impact-critical); background: none;
  border: none; cursor: pointer; padding: 0;
}
.wcc-event-card-actions button:hover { color: #f87171; }
.wcc-right::-webkit-scrollbar { width: 4px; }
.wcc-right::-webkit-scrollbar-thumb { background: #1a1a1a; border-radius: 2px; }
.wcc-focus-bar {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.wcc-sources-inline {
  display: flex; align-items: center; gap: 6px; margin-left: auto;
}
.wcc-sources-inline .wcc-sources-body {
  display: flex; align-items: center; gap: 10px; padding: 0;
}
.wcc-sources-inline .wcc-source-row {
  padding: 0; border-bottom: none;
  display: flex; align-items: center; gap: 4px;
}
.wcc-section-title-inline {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.5rem; font-weight: 700; color: var(--color-text-faint);
  text-transform: uppercase; letter-spacing: 0.8px; white-space: nowrap;
}
.wcc-section-title-inline svg { color: var(--color-text-dim); }
.wcc-icon-btn {
  background: none; border: 1px solid rgba(65, 65, 75, 0.4);
  color: var(--color-text-dim); width: 22px; height: 22px; border-radius: 4px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; padding: 0;
}
.wcc-icon-btn:hover {
  border-color: var(--color-brand-red); color: var(--color-text-accent); background: rgba(130, 21, 44, 0.1);
}
.wcc-focus-dropdown {
  width: 140px; background: rgba(14, 14, 20, 0.9);
  border: 1px solid rgba(65, 65, 75, 0.4); color: var(--color-text-secondary);
  font-size: 0.6875rem; padding: 5px 8px; border-radius: 5px;
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2371717a'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center;
}
.wcc-focus-dropdown:focus { border-color: var(--color-brand-red); outline: none; }

.wcc-section {
  border-bottom: 1px solid rgba(65, 65, 75, 0.12);
  display: flex; flex-direction: column;
}
.wcc-section:last-child { border-bottom: none; }
.wcc-section-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; flex-shrink: 0;
}
.wcc-section-title {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.625rem; font-weight: 700; color: var(--color-text-muted);
  text-transform: uppercase; letter-spacing: 0.8px;
}
.wcc-section-title svg { color: var(--color-brand-red); }

.wcc-live-badge {
  font-size: 0.5rem; font-weight: 700; color: var(--color-impact-low);
  background: rgba(34, 197, 94, 0.12); padding: 2px 7px;
  border-radius: 8px; letter-spacing: 1px;
  animation: wcc-pulse 2s ease-in-out infinite;
}
@keyframes wcc-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.watch-left-section {
  border-top: 1px solid rgba(65,65,75,0.18);
}
.watch-left-section .cs-feed-header {
  padding: 8px 14px;
}
.watch-left-section .cs-feed-title {
  display: flex; align-items: center; gap: 6px;
}

.wcc-assets-list, .wcc-keywords-list {
  overflow-y: auto; max-height: 280px; padding: 4px 0;
  scrollbar-width: thin; scrollbar-color: #1a1a1a transparent;
}

#tab-panel-watch .wcc-assets-list {
  max-height: 240px;
}
#tab-panel-watch .wcc-incidents-list {
  max-height: none; flex: 1;
}

.wcc-focuses-list {
  overflow-y: auto; max-height: 200px; padding: 4px 0;
  scrollbar-width: thin; scrollbar-color: #1a1a1a transparent;
}
.wcc-focus-wrapper {
  border-bottom: 1px solid rgba(65, 65, 75, 0.08);
}
.wcc-focus-card {
  padding: 8px 14px;
  cursor: pointer; transition: all 0.15s;
}
.wcc-focus-card:hover { background: rgba(130, 21, 44, 0.08); }
.wcc-focus-card.active { background: rgba(130, 21, 44, 0.15); border-left: 2px solid var(--color-brand-red); }
.wcc-focus-card.wcc-focus-global { border-bottom: 1px solid rgba(65,65,75,0.3); }
.wcc-focus-card.wcc-focus-global .wcc-focus-card-name { color: var(--color-text-muted); font-size: 10px; letter-spacing: 0.5px; }
.wcc-focus-card-top {
  display: flex; align-items: center; justify-content: space-between;
}
.wcc-focus-card-name {
  font-size: 0.78rem; font-weight: 600; color: var(--color-text-secondary);
  display: flex; align-items: center; gap: 6px;
}
.wcc-focus-card-name svg { color: var(--color-brand-red); flex-shrink: 0; }
.wcc-focus-chevron {
  transition: transform 0.2s; color: var(--color-text-dim) !important;
}
.wcc-focus-chevron.open { transform: rotate(90deg); }
.wcc-focus-asset-count {
  font-size: 0.6rem; padding: 1px 6px; border-radius: 8px;
  background: rgba(167, 139, 250, 0.15); color: #a78bfa; font-weight: 600;
}
.wcc-focus-card-meta {
  font-size: 0.65rem; color: var(--color-text-dim); margin-top: 3px;
  display: flex; gap: 8px; align-items: center; padding-left: 14px;
}
.wcc-focus-alert-badge {
  font-size: 0.6rem; padding: 1px 5px; border-radius: 3px;
  background: rgba(130, 21, 44, 0.2); color: #f87171; font-weight: 600;
}
.wcc-focus-demo {
  opacity: 0.7;
  border-left: 2px solid transparent;
}
.wcc-focus-demo:hover {
  opacity: 0.9;
}
.wcc-demo-label {
  font-size: 0.6rem; letter-spacing: 1px; color: var(--color-text-dim);
  padding: 8px 14px 4px; font-weight: 600;
}
.wcc-demo-cta {
  font-size: 0.68rem; color: var(--color-brand-red); text-align: center;
  padding: 10px 14px; border-top: 1px solid rgba(65,65,75,0.2);
  margin-top: 4px;
}
.fp-focus-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px 20px;
  gap: 6px;
}
.fp-focus-cta-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-heading);
  margin: 4px 0 0;
  letter-spacing: 0.3px;
}
.fp-focus-cta-sub {
  font-size: 11px;
  color: var(--color-text-dim);
  line-height: 1.5;
  margin: 0;
  max-width: 240px;
}
.fp-focus-cta-btn {
  margin-top: 8px;
  padding: 8px 20px;
  background: var(--color-brand-red);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.fp-focus-cta-btn:hover {
  background: #a51d3a;
  transform: translateY(-1px);
}
.fp-focus-cta-btn:active {
  transform: translateY(0);
}
.wcc-focus-assets {
  padding: 4px 10px 8px 22px;
  background: rgba(130, 21, 44, 0.05);
  border-top: 1px solid rgba(130, 21, 44, 0.1);
}
.wcc-focus-assets .wcc-asset-card {
  padding: 4px 6px; margin-bottom: 2px;
  border-radius: 4px; font-size: 0.7rem;
}
.wcc-focus-add-asset-btn {
  display: flex; align-items: center; gap: 4px;
  background: none; border: 1px dashed rgba(130, 21, 44, 0.3);
  color: var(--color-brand-red); font-size: 0.65rem; padding: 4px 8px;
  border-radius: 4px; cursor: pointer; width: 100%;
  justify-content: center; margin-top: 4px;
  transition: all 0.15s;
}
.wcc-focus-add-asset-btn:hover {
  background: rgba(130, 21, 44, 0.1);
  border-color: var(--color-brand-red);
}

.wcc-empty {
  padding: 20px 14px; text-align: center;
  font-size: 0.75rem; color: var(--color-text-faint);
}

/* Incident cards */
.wcc-incidents-list {
  display: flex; flex-direction: column; overflow-y: auto; flex: 1;
}
.wcc-inc-card {
  padding: 8px 14px; border-bottom: 1px solid rgba(65, 65, 75, 0.08);
  cursor: pointer; transition: all 0.15s;
}
.wcc-inc-card:hover { background: rgba(130, 21, 44, 0.06); transform: translateX(2px); }
.wcc-inc-top {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px;
}
.wcc-inc-country {
  font-size: 0.5625rem; color: var(--color-brand-red); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.wcc-inc-time { font-size: 0.5rem; color: var(--color-text-faint); }
.wcc-inc-title {
  font-size: 0.6875rem; color: var(--color-text-secondary); line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.wcc-inc-meta {
  display: flex; align-items: center; gap: 6px; margin-top: 3px;
}
.wcc-inc-cat { font-size: 0.5rem; color: var(--color-text-dim); }
.wcc-inc-impact {
  font-size: 0.5rem; font-weight: 700; text-transform: uppercase;
  padding: 1px 5px; border-radius: 3px; letter-spacing: 0.3px;
}
.wcc-impact-critical { background: rgba(239, 68, 68, 0.2); color: var(--color-danger-text); }
.wcc-impact-high { background: rgba(249, 115, 22, 0.2); color: var(--color-impact-high-text); }
.wcc-impact-medium { background: rgba(234, 179, 8, 0.2); color: var(--color-impact-medium-text); }
.wcc-impact-low { background: rgba(34, 197, 94, 0.15); color: var(--color-impact-low-text); }

/* Asset cards in WCC */
.wcc-asset-card {
  padding: 8px 14px; border-bottom: 1px solid rgba(65, 65, 75, 0.08);
  cursor: pointer; transition: all 0.15s;
  display: flex; align-items: center; gap: 8px;
}
.wcc-asset-card:hover { background: rgba(59, 130, 246, 0.05); }
.wcc-asset-icon {
  width: 26px; height: 26px; border-radius: 5px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: rgba(59, 130, 246, 0.1); color: var(--color-info-light);
}
.wcc-asset-info { flex: 1; min-width: 0; }
.wcc-asset-name {
  font-size: 0.6875rem; font-weight: 600; color: var(--color-text-secondary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;
}
.wcc-asset-meta {
  font-size: 0.5rem; color: var(--color-text-faint); text-transform: uppercase;
  letter-spacing: 0.3px;
}
.wcc-asset-addr {
  font-size: 0.5rem; color: var(--color-text-ghost); text-transform: none;
  display: block; margin-top: 1px;
}
.wcc-asset-actions { display: flex; gap: 2px; }
.wcc-asset-btn {
  background: none; border: none; color: var(--color-text-faint); cursor: pointer;
  padding: 3px; border-radius: 3px; transition: all 0.15s;
  display: flex; align-items: center;
}
.wcc-asset-btn:hover { color: var(--color-info-light); background: rgba(96, 165, 250, 0.1); }
.wcc-asset-btn.delete:hover { color: var(--color-impact-critical); background: rgba(239, 68, 68, 0.1); }

.wcc-asset-health-dot {
  position: absolute; top: -2px; right: -2px;
  width: 8px; height: 8px; border-radius: 50%;
  border: 1px solid #1c1516;
}
.wcc-asset-health-dot[data-status="normal"] { background: #22c55e; }
.wcc-asset-health-dot[data-status="warning"] { background: #eab308; }
.wcc-asset-health-dot[data-status="critical"] { background: #ef4444; animation: healthPulse 1.5s ease-in-out infinite; }
@keyframes healthPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.wcc-nearby-panel {
  background: rgba(14, 14, 20, 0.95); border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 6px; margin: 4px 8px 8px; overflow: hidden;
}
.wcc-nearby-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; background: rgba(59, 130, 246, 0.08);
  font-size: 0.6rem; font-weight: 700; color: var(--color-info-light);
  letter-spacing: 0.5px; text-transform: uppercase;
}
.wcc-nearby-close {
  background: none; border: none; color: var(--color-info-light); cursor: pointer;
  font-size: 14px; padding: 0 2px; line-height: 1;
}
.wcc-nearby-close:hover { color: var(--color-info-lighter); }
.wcc-nearby-empty {
  padding: 16px; text-align: center; font-size: 0.65rem; color: var(--color-text-faint);
}
.wcc-nearby-item {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 8px 12px; border-top: 1px solid rgba(65, 65, 75, 0.15);
}
.wcc-nearby-impact {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: 5px;
}
.wcc-nearby-impact.critical { background: #ef4444; }
.wcc-nearby-impact.high { background: #f97316; }
.wcc-nearby-impact.medium { background: #eab308; }
.wcc-nearby-impact.low { background: #22c55e; }
.wcc-nearby-info { flex: 1; min-width: 0; }
.wcc-nearby-title {
  font-size: 0.65rem; color: var(--color-text-secondary); display: block;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wcc-nearby-meta {
  font-size: 0.55rem; color: var(--color-text-faint); margin-top: 2px; display: block;
}

/* Time selector */
.wcc-time-selector {
  display: flex; gap: 2px; background: rgba(14, 14, 20, 0.8);
  border-radius: 5px; padding: 2px;
}
.wcc-time-btn {
  background: none; border: none; color: var(--color-text-faint);
  font-size: 0.5rem; font-weight: 700; padding: 3px 7px;
  border-radius: 3px; cursor: pointer; transition: all 0.15s;
  letter-spacing: 0.5px;
}
.wcc-time-btn:hover { color: var(--color-text-muted); }
.wcc-time-btn.active {
  background: rgba(130, 21, 44, 0.3); color: var(--color-text-accent);
}

/* Legacy analytics chart styles removed — charts no longer in WATCH panel */

/* Social Media Monitor */
.wcc-social-form {
  padding: 8px 14px 10px;
  border-bottom: 1px solid rgba(65, 65, 75, 0.15);
  display: flex; flex-direction: column; gap: 6px;
}
.wcc-social-form-row {
  display: flex; gap: 6px;
}
.wcc-input {
  background: rgba(14, 14, 20, 0.6); border: 1px solid var(--color-border-secondary);
  border-radius: 6px; padding: 6px 10px; color: var(--color-text-heading);
  font-size: 0.75rem; width: 100%;
}
.wcc-input:focus { border-color: var(--color-brand-red); outline: none; }
.wcc-select-sm { width: auto; min-width: 100px; }
.wcc-btn-primary {
  background: var(--color-brand-red); color: #fff; border: none; border-radius: 6px;
  padding: 6px 14px; font-size: 0.6875rem; font-weight: 600;
  cursor: pointer; white-space: nowrap;
}
.wcc-btn-primary:hover { background: var(--color-brand-red-hover); }

.wcc-social-list { max-height: 300px; overflow-y: auto; }
.wcc-social-card {
  padding: 8px 14px; border-bottom: 1px solid rgba(65, 65, 75, 0.08);
  transition: background 0.15s;
}
.wcc-social-card:hover { background: rgba(255, 255, 255, 0.015); }
.wcc-social-top {
  display: flex; align-items: center; gap: 8px; margin-bottom: 4px;
}
.wcc-social-platform-icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(59, 130, 246, 0.12); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--color-info-light);
}
.wcc-social-post-info { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; }
.wcc-social-platform-name {
  font-size: 0.625rem; font-weight: 600; color: var(--color-text-muted);
  text-transform: capitalize;
}
.wcc-social-time { font-size: 0.5rem; color: var(--color-text-ghost); }
.wcc-social-sentiment {
  font-size: 0.5rem; font-weight: 700; padding: 2px 6px;
  border-radius: 8px; text-transform: uppercase; letter-spacing: 0.3px;
}
.wcc-sentiment-threat { background: rgba(239, 68, 68, 0.25); color: var(--color-danger-text); animation: threatPulse 2s ease-in-out infinite; }
.wcc-sentiment-negative { background: rgba(249, 115, 22, 0.15); color: var(--color-impact-high-text); }
.wcc-sentiment-neutral { background: rgba(113, 113, 122, 0.15); color: var(--color-text-muted); }
.wcc-sentiment-positive { background: rgba(34, 197, 94, 0.12); color: var(--color-impact-low-text); }
@keyframes threatPulse { 0%,100% { box-shadow: none; } 50% { box-shadow: 0 0 6px rgba(239, 68, 68, 0.3); } }
.wcc-social-threat { border-left: 2px solid rgba(239, 68, 68, 0.5); }
.wcc-social-metrics {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.5625rem; color: var(--color-text-faint); margin: 3px 0;
}
.wcc-social-metrics span { display: flex; align-items: center; gap: 3px; }
.wcc-social-metrics .wcc-social-flagged { color: #f87171; font-weight: 600; }
.wcc-demo-banner {
  padding: 4px 14px; font-size: 0.5rem; font-weight: 600;
  color: var(--color-warning-gold); background: rgba(251, 191, 36, 0.08);
  text-align: center; letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(251, 191, 36, 0.15);
}
.wcc-empty-state {
  padding: 24px 16px; text-align: center; color: rgba(160,160,175,0.6);
}
.wcc-empty-state p { margin: 0 0 4px; font-size: 12px; }
.wcc-empty-state .wcc-empty-hint { font-size: 11px; color: rgba(160,160,175,0.4); }
.wcc-threat-critical-bg { background: rgba(239, 68, 68, 0.25); color: var(--color-danger-text); }
.wcc-threat-high-bg { background: rgba(239, 68, 68, 0.15); color: var(--color-danger-text); }
.wcc-threat-medium-bg { background: rgba(249, 115, 22, 0.15); color: var(--color-impact-high-text); }
.wcc-threat-low-bg { background: rgba(234, 179, 8, 0.12); color: var(--color-impact-medium-text); }
.wcc-social-text {
  font-size: 0.6875rem; color: var(--color-text-muted); line-height: 1.35;
  margin-bottom: 3px;
}
.wcc-social-footer {
  display: flex; align-items: center; justify-content: space-between; margin-top: 4px;
}
.wcc-social-url { font-size: 0.5rem; min-width: 0; flex: 1; }
.wcc-social-url a {
  color: var(--color-info); text-decoration: none; word-break: break-all; opacity: 0.7;
}
.wcc-social-url a:hover { text-decoration: underline; opacity: 1; }
.wcc-social-actions { display: flex; gap: 4px; }
.wcc-sm-btn {
  background: rgba(65, 65, 75, 0.15); border: 1px solid var(--color-border-secondary);
  border-radius: 4px; padding: 2px 8px; font-size: 0.5rem;
  color: var(--color-text-dim); cursor: pointer; transition: all 0.15s;
}
.wcc-sm-btn:hover { background: rgba(130, 21, 44, 0.15); color: var(--color-text-accent); border-color: var(--color-border-accent-medium); }
.wcc-sm-btn.delete-btn:hover { background: rgba(239, 68, 68, 0.1); color: var(--color-danger-text); border-color: rgba(239, 68, 68, 0.3); }
.wcc-sm-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.wcc-social-avatar {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--color-border-secondary);
}
.wcc-social-author {
  font-size: 0.625rem; font-weight: 600; color: var(--color-text-secondary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wcc-social-handle { font-weight: 400; color: var(--color-text-faint); }
.wcc-metric-x { color: var(--color-text-dim); }
.wcc-threat-badge {
  font-size: 0.5rem; font-weight: 700; padding: 2px 5px;
  border-radius: 4px; background: rgba(249, 115, 22, 0.2); color: var(--color-impact-high-text);
  margin-left: auto; flex-shrink: 0;
}
.wcc-threat-badge.critical { background: rgba(239, 68, 68, 0.3); color: var(--color-danger-text); }
.wcc-threat-badge.high { background: rgba(249, 115, 22, 0.25); color: #fb923c; }
.wcc-social-refreshed {
  font-size: 0.4375rem; color: var(--color-text-ghost); text-align: right;
  padding-top: 2px;
}
.wcc-bolo-avatar-img {
  width: 32px; height: 32px; border-radius: 6px; flex-shrink: 0;
  border: 1px solid var(--color-border-secondary); object-fit: cover;
}
.wcc-bolo-handle { font-weight: 400; color: var(--color-text-faint); font-size: 0.5625rem; }
.wcc-tweets-overlay {
  position: fixed; inset: 0; z-index: var(--z-toast);
  background: rgba(0,0,0,0.7); display: none;
  align-items: center; justify-content: center;
}
.wcc-tweets-popup {
  background: #1c1516; border: 1px solid rgba(65,65,75,0.3);
  border-radius: 10px; width: 420px; max-width: 95vw; max-height: 70vh;
  display: flex; flex-direction: column; box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.wcc-tweets-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid rgba(65,65,75,0.2);
  font-size: 0.75rem; font-weight: 600; color: var(--color-text-secondary);
}
.wcc-tweets-close {
  background: none; border: none; color: var(--color-text-dim); font-size: 1rem;
  cursor: pointer; padding: 0; line-height: 1;
}
.wcc-tweets-close:hover { color: #f87171; }
.wcc-tweets-body { overflow-y: auto; flex: 1; padding: 4px 0; }
.wcc-tweet-item {
  padding: 10px 16px; border-bottom: 1px solid rgba(65,65,75,0.08);
}
.wcc-tweet-item:last-child { border-bottom: none; }
.wcc-tweet-text {
  font-size: 0.6875rem; color: var(--color-text-muted); line-height: 1.4;
  margin-bottom: 6px; word-break: break-word;
}
.wcc-tweet-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.5rem; color: var(--color-text-faint);
}
.wcc-tweet-link {
  color: var(--color-info); text-decoration: none; font-weight: 600;
  margin-left: auto;
}
.wcc-tweet-link:hover { text-decoration: underline; }
.wcc-tweets-empty {
  padding: 24px 16px; text-align: center;
  font-size: 0.6875rem; color: var(--color-text-faint);
}

/* Tracked Accounts (BOLO) */
.wcc-bolo-list { max-height: 300px; overflow-y: auto; }
.wcc-bolo-card {
  padding: 8px 14px; border-bottom: 1px solid rgba(65, 65, 75, 0.08);
  display: flex; align-items: flex-start; gap: 10px;
  transition: background 0.15s;
}
.wcc-bolo-card:hover { background: rgba(239, 68, 68, 0.03); }
.wcc-bolo-avatar {
  width: 32px; height: 32px; border-radius: 6px;
  background: rgba(239, 68, 68, 0.1); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
  color: #f87171; font-size: 0.75rem; font-weight: 700;
}
.wcc-bolo-info { flex: 1; min-width: 0; }
.wcc-bolo-name {
  font-size: 0.6875rem; font-weight: 600; color: var(--color-text-secondary);
  display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wcc-bolo-detail {
  font-size: 0.5rem; color: var(--color-text-faint);
  display: flex; align-items: center; gap: 6px; margin-top: 2px;
}
.wcc-bolo-threat {
  font-size: 0.5rem; font-weight: 700; padding: 1px 5px;
  border-radius: 3px; text-transform: uppercase;
}
.wcc-threat-critical { background: rgba(239, 68, 68, 0.3); color: var(--color-danger-text); }
.wcc-threat-high { background: rgba(239, 68, 68, 0.2); color: var(--color-danger-text); }
.wcc-threat-medium { background: rgba(249, 115, 22, 0.2); color: var(--color-impact-high-text); }
.wcc-threat-low { background: rgba(234, 179, 8, 0.2); color: var(--color-impact-medium-text); }
.wcc-bolo-right {
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0;
}
.wcc-bolo-status {
  font-size: 0.5rem; font-weight: 600; display: flex;
  align-items: center; gap: 3px; white-space: nowrap;
}
.wcc-bolo-status-dot {
  width: 5px; height: 5px; border-radius: 50%;
}
.wcc-bolo-active .wcc-bolo-status-dot { background: #ef4444; box-shadow: 0 0 4px rgba(239, 68, 68, 0.5); animation: statusPulse 1.5s ease-in-out infinite; }
@keyframes statusPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.wcc-bolo-active .wcc-bolo-status { color: var(--color-danger-text); }
.wcc-bolo-monitoring .wcc-bolo-status-dot { background: #fbbf24; }
.wcc-bolo-monitoring .wcc-bolo-status { color: var(--color-impact-medium-text); }
.wcc-bolo-inactive .wcc-bolo-status-dot { background: #52525b; }
.wcc-bolo-inactive .wcc-bolo-status { color: var(--color-text-dim); }
.wcc-bolo-notes {
  font-size: 0.5rem; color: var(--color-text-ghost); margin-top: 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.wcc-bolo-actions { display: flex; gap: 4px; }

.wcc-loading { color: var(--color-text-faint); font-style: italic; }

/* Keywords in WCC */
.wcc-kw-input-row {
  display: flex; gap: 6px; padding: 6px 14px;
  border-bottom: 1px solid rgba(65, 65, 75, 0.1);
}
.wcc-kw-input {
  flex: 1; background: rgba(14, 14, 20, 0.9);
  border: 1px solid rgba(65, 65, 75, 0.4); color: var(--color-text-secondary);
  font-size: 0.6875rem; padding: 5px 8px; border-radius: 4px;
}
.wcc-kw-input:focus { border-color: var(--color-brand-red); outline: none; }
.wcc-kw-save-btn {
  background: var(--color-brand-red); border: none; color: #fff;
  font-size: 0.6875rem; padding: 5px 10px; border-radius: 4px;
  cursor: pointer; transition: background 0.2s;
}
.wcc-kw-save-btn:hover { background: var(--color-brand-red-hover); }
.wcc-kw-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 14px; border-bottom: 1px solid rgba(65, 65, 75, 0.06);
  transition: background 0.15s;
}
.wcc-kw-item:hover { background: rgba(255, 255, 255, 0.015); }
.wcc-kw-disabled { opacity: 0.4; }
.wcc-kw-text {
  font-size: 0.6875rem; color: var(--color-text-secondary); font-weight: 500;
}
.wcc-kw-match-count {
  font-size: 0.5rem; color: var(--color-brand-red); font-weight: 600;
  margin-left: 6px; font-variant-numeric: tabular-nums;
}
.wcc-kw-actions { display: flex; gap: 3px; }
.wcc-kw-btn {
  background: none; border: none; color: var(--color-text-faint); cursor: pointer;
  padding: 2px; border-radius: 3px; transition: all 0.15s;
  display: flex; align-items: center;
}
.wcc-kw-btn:hover { color: var(--color-text-muted); }
.wcc-kw-btn.delete:hover { color: var(--color-impact-critical); }

/* Sources in WCC */
.wcc-sources-body { padding: 8px 14px; }
.wcc-source-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 0; border-bottom: 1px solid rgba(65, 65, 75, 0.06);
}
.wcc-source-row:last-child { border-bottom: none; }
.wcc-source-name {
  font-size: 0.625rem; color: var(--color-text-muted); font-weight: 500;
}
.wcc-source-status {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.5rem; font-weight: 600;
}
.wcc-source-dot {
  width: 5px; height: 5px; border-radius: 50%;
}
.wcc-source-online .wcc-source-dot { background: #22c55e; box-shadow: 0 0 4px rgba(34, 197, 94, 0.5); }
.wcc-source-online .wcc-source-status { color: var(--color-impact-low-text); }
.wcc-source-offline .wcc-source-dot { background: #ef4444; }
.wcc-source-offline .wcc-source-status { color: var(--color-danger-text); }


/* Watch Panel Responsive */
@media (max-width: 1100px) {
  .wd-body { flex-direction: column; }
  .wd-body-left { width: 100%; flex: 0 0 auto; max-height: 40vh; }
  .wd-body-right { flex: 1; min-height: 0; }
  .wd-minimap-wrap { flex: 0 0 200px; min-height: 160px; }
}
@media (max-width: 900px) {
  .watch-panel {
    width: 100%;
    left: 0;
  }
  body.watch-active #map {
    width: 0;
  }
  .wd-stats-bar-inner { gap: 3px; padding: 5px 10px; }
  .wd-stat-cell { padding: 3px 6px; }
  .wd-stat-val { font-size: 0.75rem; }
}
@media (max-width: 600px) {
  .watch-panel-header { padding: 10px 10px; }
  .wcc-focus-dropdown { width: 120px; font-size: 0.6875rem; }
  .wd-body { flex-direction: column; }
  .wd-body-left { width: 100%; max-height: 35vh; }
  .wd-minimap-wrap { flex: 0 0 180px; min-height: 140px; }
  .wd-si-tabs { overflow-x: auto; }
  .wd-si-tab { font-size: 0.5625rem; padding: 6px 4px; }
}

/* Mini-map tooltip */
.wd-minimap-tooltip {
  background: rgba(14,14,20,0.95) !important;
  border: 1px solid rgba(130,21,44,0.3) !important;
  color: var(--color-text-muted) !important;
  font-size: 0.625rem !important;
  border-radius: 4px !important;
  padding: 4px 8px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4) !important;
}
.wd-minimap-tooltip::before {
  border-top-color: rgba(130,21,44,0.3) !important;
}
.wd-minimap .leaflet-control-zoom a {
  background: rgba(14,14,20,0.9) !important;
  color: var(--color-text-muted) !important;
  border-color: rgba(65,65,75,0.3) !important;
  width: 24px !important;
  height: 24px !important;
  line-height: 24px !important;
  font-size: 12px !important;
}
.wd-minimap .leaflet-control-zoom a:hover {
  background: rgba(130,21,44,0.3) !important;
  color: var(--color-text-heading) !important;
}
/* ====== END WATCH PANEL ====== */

/* ====== WATCH MODALS (asset & account) ====== */
.wd-modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7); z-index: var(--z-modal);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.wd-modal {
  background: rgba(14, 14, 20, 0.98); border: 1px solid var(--color-border-secondary);
  border-radius: 12px; width: 420px; max-width: 95vw; max-height: 90vh;
  overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.wd-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid rgba(65, 65, 75, 0.2);
  font-size: 0.75rem; font-weight: 700; color: var(--color-text-heading);
  letter-spacing: 1px; text-transform: uppercase;
}
.wd-modal-close {
  background: none; border: none; color: var(--color-text-dim); font-size: 1.25rem;
  cursor: pointer; width: 28px; height: 28px; display: flex;
  align-items: center; justify-content: center; border-radius: 6px;
}
.wd-modal-close:hover { color: var(--color-text-heading); background: rgba(255, 255, 255, 0.05); }
.wd-modal-body { padding: 16px 18px; }
.wd-field { margin-bottom: 14px; }
.wd-field-label {
  display: block; font-size: 0.625rem; font-weight: 700; color: var(--color-text-dim);
  text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 6px;
}
.wd-input {
  background: rgba(14, 14, 20, 0.8); border: 1px solid var(--color-border-secondary);
  border-radius: 8px; padding: 8px 12px; color: var(--color-text-heading);
  font-size: 0.8125rem; width: 100%; box-sizing: border-box;
}
.wd-input:focus { border-color: var(--color-brand-red); outline: none; }
.wd-textarea { resize: vertical; min-height: 48px; font-family: inherit; }
.wd-type-chips {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.wd-type-chip {
  background: rgba(14, 14, 20, 0.6); border: 1px solid var(--color-border-secondary);
  border-radius: 8px; padding: 8px 14px; color: var(--color-text-dim);
  font-size: 0.75rem; cursor: pointer; display: flex; align-items: center;
  gap: 6px; transition: all 0.15s;
}
.wd-type-chip:hover { border-color: rgba(130, 21, 44, 0.4); color: var(--color-text-muted); }
.wd-type-chip.active {
  background: rgba(130, 21, 44, 0.15); border-color: var(--color-brand-red); color: var(--color-text-accent);
}
.wd-modal-footer {
  display: flex; justify-content: flex-end; gap: 8px;
  padding: 12px 18px; border-top: 1px solid rgba(65, 65, 75, 0.2);
}
.wd-modal-cancel {
  background: none; border: 1px solid var(--color-border-secondary); color: var(--color-text-muted);
  border-radius: 8px; padding: 8px 16px; font-size: 0.75rem; cursor: pointer;
}
.wd-modal-cancel:hover { border-color: var(--color-text-dim); }
.wd-modal-save {
  background: var(--color-brand-red); border: none; color: #fff; border-radius: 8px;
  padding: 8px 20px; font-size: 0.75rem; font-weight: 600; cursor: pointer;
  transition: all 0.2s;
}
.wd-modal-save:hover {
  background: var(--color-brand-red-hover); box-shadow: 0 4px 12px rgba(130, 21, 44, 0.3);
}
/* Asset Social Accounts */
.wd-field-divider { border-top: 1px solid rgba(65,65,75,0.4); margin: 12px 0; }
.wd-field-hint { font-size: 10px; color: var(--color-text-dim); margin: 0 0 6px; line-height: 1.3; }
.wd-socials-list { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.wd-social-tag {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(130,21,44,0.15); border: 1px solid rgba(130,21,44,0.3);
  border-radius: 4px; padding: 2px 6px; font-size: 11px;
}
.wd-social-tag-platform { color: var(--color-text-muted); text-transform: uppercase; font-size: 9px; font-weight: 600; }
.wd-social-tag-handle { color: var(--color-text-heading); }
.wd-social-tag-remove { background: none; border: none; color: var(--color-text-dim); cursor: pointer; font-size: 14px; padding: 0 2px; line-height: 1; }
.wd-social-tag-remove:hover { color: var(--color-impact-critical); }
.wd-social-add-row { display: flex; gap: 4px; align-items: center; }
.wd-social-add-row .wd-input { flex: 1; }
.wd-select-sm { max-width: 120px; font-size: 11px; padding: 4px 6px; }
.wd-btn-sm {
  background: rgba(130,21,44,0.3); border: 1px solid rgba(130,21,44,0.5);
  color: var(--color-text-heading); border-radius: 4px; cursor: pointer; font-size: 14px;
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wd-btn-sm:hover { background: rgba(130,21,44,0.5); }

/* Social Asset Filter Bar */
.wcc-asset-filter-bar {
  display: flex; gap: 6px; align-items: center; padding: 6px 10px;
  border-bottom: 1px solid rgba(65,65,75,0.3);
}
.wcc-asset-filter-bar .wcc-select-sm { flex: 1; font-size: 11px; padding: 4px 8px; }
.wcc-btn-scan {
  display: flex; align-items: center; gap: 4px;
  background: rgba(130,21,44,0.25); border: 1px solid rgba(130,21,44,0.4);
  color: var(--color-text-heading); border-radius: 4px; cursor: pointer; font-size: 11px;
  padding: 4px 10px; white-space: nowrap;
}
.wcc-btn-scan:hover { background: rgba(130,21,44,0.45); }
.wcc-btn-scan:disabled { opacity: 0.5; cursor: wait; }

/* Scan Results */
.wcc-search-bar {
  display: flex; align-items: center; gap: 6px; padding: 6px 10px;
  border-bottom: 1px solid rgba(65,65,75,0.15);
}
.wcc-search-input-wrap {
  flex: 1; position: relative; display: flex; align-items: center;
}
.wcc-search-input-wrap .wcc-search-icon {
  position: absolute; left: 8px; color: var(--color-text-faint); pointer-events: none;
}
.wcc-search-input-wrap .wcc-input {
  padding-left: 26px; padding-right: 24px; font-size: 11px; height: 28px;
}
.wcc-search-clear {
  position: absolute; right: 4px; background: none; border: none;
  color: var(--color-text-faint); cursor: pointer; font-size: 14px; padding: 0 4px; line-height: 1;
}
.wcc-search-clear:hover { color: var(--color-impact-critical); }
.wcc-btn-search {
  background: rgba(130,21,44,0.35); border: 1px solid rgba(130,21,44,0.5);
  color: var(--color-text-secondary); font-size: 10px; font-weight: 600; padding: 5px 12px;
  border-radius: 4px; cursor: pointer; white-space: nowrap; text-transform: uppercase;
  letter-spacing: 0.5px; transition: all 0.15s;
}
.wcc-btn-search:hover { background: rgba(130,21,44,0.5); color: #fafafa; }
.wcc-btn-search:disabled { opacity: 0.5; cursor: not-allowed; }
.wcc-btn-search.searching {
  background: rgba(130,21,44,0.2); color: var(--color-text-dim);
}
.wcc-search-help {
  padding: 8px 12px; background: rgba(24,24,27,0.9);
  border-bottom: 1px solid rgba(65,65,75,0.2); font-size: 10px;
}
.wcc-search-help-title {
  color: var(--color-text-muted); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 6px; font-size: 9px;
}
.wcc-search-help-row {
  color: var(--color-text-dim); margin-bottom: 3px; display: flex; align-items: center; gap: 6px;
}
.wcc-search-help-row code {
  background: rgba(130,21,44,0.2); color: var(--color-text-secondary); padding: 1px 5px;
  border-radius: 3px; font-size: 10px; font-family: monospace; min-width: 55px;
  text-align: center;
}
.wcc-search-help-close {
  color: rgba(130,21,44,0.7); cursor: pointer; font-size: 10px;
  text-align: right; margin-top: 4px; font-weight: 600;
}
.wcc-search-help-close:hover { color: rgba(130,21,44,1); }

.wcc-search-results {
  border-bottom: 1px solid rgba(130,21,44,0.25);
  max-height: 60vh; overflow-y: auto;
}
.wcc-search-results-header {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  background: rgba(130,21,44,0.12); font-size: 11px; color: var(--color-text-secondary);
  border-bottom: 1px solid rgba(130,21,44,0.2); position: sticky; top: 0; z-index: 1;
}
.wcc-search-results-header .wcc-query-label {
  color: var(--color-text-dim); font-size: 10px; flex: 1; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}
.wcc-search-results-header .wcc-sort-btn {
  background: rgba(65,65,75,0.3); border: 1px solid rgba(65,65,75,0.3);
  color: var(--color-text-muted); font-size: 9px; padding: 2px 6px; border-radius: 3px;
  cursor: pointer; text-transform: uppercase; letter-spacing: 0.3px;
}
.wcc-search-results-header .wcc-sort-btn:hover,
.wcc-search-results-header .wcc-sort-btn.active {
  background: rgba(130,21,44,0.3); border-color: rgba(130,21,44,0.5); color: #fafafa;
}
.wcc-search-result {
  padding: 10px 12px; border-bottom: 1px solid rgba(65,65,75,0.15);
  transition: background 0.1s;
}
.wcc-search-result:hover { background: rgba(255,255,255,0.02); }
.wcc-search-result.sentiment-threatening {
  border-left: 3px solid rgba(239, 68, 68, 0.6);
  background: rgba(239, 68, 68, 0.04);
}
.wcc-search-result.sentiment-negative {
  border-left: 3px solid rgba(249, 115, 22, 0.5);
  background: rgba(249, 115, 22, 0.03);
}
.wcc-search-result-top {
  display: flex; align-items: center; gap: 6px; margin-bottom: 5px; flex-wrap: wrap;
}
.wcc-search-result-author {
  font-size: 11px; color: var(--color-text-muted); font-weight: 600;
}
.wcc-search-result-platform {
  font-size: 9px; color: var(--color-text-faint); background: rgba(65,65,75,0.25);
  padding: 1px 5px; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.3px;
}
.wcc-search-result-text {
  font-size: 12px; color: var(--color-text-heading); line-height: 1.5; margin-bottom: 6px;
  white-space: pre-wrap; word-break: break-word;
}
.wcc-search-result-meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.wcc-search-result-metrics {
  display: flex; gap: 8px; font-size: 10px; color: var(--color-text-faint);
}
.wcc-search-result-metrics span { display: flex; align-items: center; gap: 2px; }
.wcc-search-result-link {
  font-size: 10px; color: rgba(130,21,44,0.8); text-decoration: none;
  font-weight: 600; letter-spacing: 0.3px;
}
.wcc-search-result-link:hover { color: rgba(130,21,44,1); text-decoration: underline; }
.wcc-search-result-time {
  font-size: 10px; color: var(--color-text-ghost); margin-left: auto;
}
.wcc-search-result-actions {
  display: flex; align-items: center; gap: 6px; margin-top: 6px;
}
.wcc-search-no-results {
  padding: 20px; text-align: center; color: var(--color-text-faint); font-size: 12px;
}
.wcc-search-loading {
  padding: 20px; text-align: center; color: var(--color-text-dim); font-size: 11px;
}
.wcc-search-loading .wcc-spinner {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(130,21,44,0.2); border-top-color: rgba(130,21,44,0.7);
  border-radius: 50%; animation: spin 0.6s linear infinite;
  margin-right: 6px; vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

.wcc-scan-results {
  border-bottom: 1px solid rgba(130,21,44,0.2);
  max-height: 300px; overflow-y: auto;
}
.wcc-scan-header {
  display: flex; align-items: center; gap: 8px; padding: 6px 10px;
  background: rgba(130,21,44,0.1); font-size: 11px; color: var(--color-text-secondary);
  border-bottom: 1px solid rgba(130,21,44,0.2);
}
.wcc-scan-query { color: var(--color-text-dim); font-size: 10px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wcc-scan-close { background: none; border: none; color: var(--color-text-dim); cursor: pointer; font-size: 16px; padding: 0 4px; }
.wcc-scan-close:hover { color: var(--color-impact-critical); }
.wcc-scan-tweet {
  padding: 8px 10px; border-bottom: 1px solid rgba(65,65,75,0.2);
}
.wcc-scan-tweet:hover { background: rgba(255,255,255,0.02); }
.wcc-scan-tweet-top { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.wcc-scan-tweet-author { font-size: 11px; color: var(--color-text-muted); font-weight: 500; }
.wcc-scan-tweet-text { font-size: 11px; color: var(--color-text-secondary); line-height: 1.4; margin-bottom: 4px; }
.wcc-scan-tweet-actions { display: flex; align-items: center; gap: 8px; }
.wcc-scan-tweet-time { font-size: 10px; color: var(--color-text-faint); }

/* Asset badge on social posts */
.wcc-social-asset-badge {
  font-size: 9px; color: var(--color-text-muted); background: rgba(65,65,75,0.3);
  border-radius: 3px; padding: 1px 5px; margin-left: auto;
}
/* Auto-monitor mentions */
.wcc-auto-mentions-section {
  border-top: 1px solid rgba(130,21,44,0.3);
  margin-top: 8px;
}
.wcc-mentions-header {
  padding: 6px 10px;
  background: rgba(130,21,44,0.05);
}
.wcc-mention-toggles {
  display: flex; align-items: center; gap: 4px;
}
.wcc-mention-toggle {
  background: rgba(65,65,75,0.3); border: 1px solid rgba(65,65,75,0.4);
  color: var(--color-text-muted); font-size: 10px; padding: 2px 8px; border-radius: 3px;
  cursor: pointer; transition: all 0.15s;
}
.wcc-mention-toggle.active {
  background: rgba(130,21,44,0.3); border-color: rgba(130,21,44,0.6);
  color: #f87171;
}
.wcc-mention-toggle:hover { color: var(--color-text-secondary); }
.wcc-btn-scan-sm {
  padding: 2px 6px; font-size: 10px; gap: 2px;
}
.wcc-monitor-badge {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #52525b; margin-left: 4px; vertical-align: middle;
}
.wcc-monitor-badge.active { background: #22c55e; }
.wcc-auto-mentions-list {
  max-height: 400px; overflow-y: auto;
}
.wcc-mention-card {
  padding: 8px 10px; border-bottom: 1px solid rgba(65,65,75,0.15);
  transition: background 0.1s;
}
.wcc-mention-card:hover { background: rgba(255,255,255,0.02); }
.wcc-mention-card.threat { border-left: 2px solid #f87171; }
.wcc-mention-card.negative { border-left: 2px solid #ea580c; }
.wcc-mention-top {
  display: flex; align-items: center; gap: 6px; margin-bottom: 3px; flex-wrap: wrap;
}
.wcc-mention-author { font-size: 11px; color: var(--color-info-light); font-weight: 500; }
.wcc-mention-asset-tag {
  font-size: 9px; color: #a78bfa; background: rgba(167,139,250,0.1);
  border-radius: 3px; padding: 1px 5px; border: 1px solid rgba(167,139,250,0.2);
}
.wcc-mention-text { font-size: 11px; color: var(--color-text-secondary); line-height: 1.4; margin-bottom: 4px; }
.wcc-mention-bottom {
  display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--color-text-faint);
}
.wcc-mention-metrics { display: flex; gap: 6px; }
.wcc-mention-time { margin-left: auto; }
.wcc-mention-link {
  color: var(--color-info-light); text-decoration: none; font-size: 10px; font-weight: 600;
}
.wcc-mention-link:hover { color: var(--color-info-lighter); }
.wcc-asset-group { margin-bottom: 8px; }
.wcc-asset-group-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 8px; background: rgba(130, 21, 44, 0.15); border-radius: 4px;
  margin-bottom: 4px; border-left: 2px solid var(--color-brand-red);
}
.wcc-asset-group-name { font-size: 11px; color: #a78bfa; font-weight: 600; letter-spacing: 0.3px; }
.wcc-asset-group-meta { font-size: 10px; color: var(--color-text-dim); }
.wcc-stat-threat .wcc-ab-val { color: #f87171; }

/* ====== NEW ALERTS BADGE ====== */
.wd-new-alerts {
  display: flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 4px;
  background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.3);
  color: #f87171; font-size: 11px; font-weight: 600;
  cursor: default; animation: wd-alert-fade-in 0.3s ease;
}
@keyframes wd-alert-fade-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.wd-new-alerts svg { opacity: 0.8; }
#wd-new-alerts-count {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 13px; font-weight: 700;
}
.wd-new-alerts-label { color: rgba(248,113,113,0.7); font-size: 10px; }
.wd-new-alerts-dismiss {
  background: none; border: none; color: rgba(248,113,113,0.5);
  font-size: 14px; cursor: pointer; padding: 0 2px; line-height: 1;
  transition: color 0.15s;
}
.wd-new-alerts-dismiss:hover { color: #f87171; }

/* ====== ESCALATION INDICATOR ====== */
.wd-escalation-indicator {
  display: flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 4px; cursor: pointer;
  background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.3);
  transition: all 0.2s; animation: escPulse 2s ease-in-out infinite;
}
.wd-escalation-indicator:hover {
  background: rgba(239,68,68,0.2); border-color: rgba(239,68,68,0.5);
}
.wd-escalation-indicator span {
  font-size: 0.625rem; font-weight: 700; color: #ef4444;
  font-variant-numeric: tabular-nums;
}
@keyframes escPulse {
  0%,100% { box-shadow: none; } 50% { box-shadow: 0 0 8px rgba(239,68,68,0.3); }
}

/* ====== ESCALATION PANEL ====== */
.wd-escalation-panel {
  position: absolute; top: 38px; right: 0; width: 360px; max-height: 400px;
  background: rgba(14,14,20,0.98); border: 1px solid rgba(239,68,68,0.2);
  border-radius: 0 0 0 8px; z-index: 100; display: flex; flex-direction: column;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.wd-esc-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-bottom: 1px solid rgba(239,68,68,0.15);
}
.wd-esc-panel-title {
  font-size: 0.625rem; font-weight: 700; color: #ef4444;
  letter-spacing: 1px; text-transform: uppercase;
}
.wd-esc-panel-close {
  background: none; border: none; color: var(--color-text-dim);
  font-size: 1rem; cursor: pointer; padding: 0; line-height: 1;
}
.wd-esc-panel-close:hover { color: #f87171; }
.wd-esc-panel-body {
  overflow-y: auto; flex: 1; padding: 4px 0;
  scrollbar-width: thin; scrollbar-color: rgba(239,68,68,0.2) transparent;
}

.wd-esc-alert {
  padding: 10px 14px; border-bottom: 1px solid rgba(65,65,75,0.1);
  cursor: pointer; transition: background 0.15s;
}
.wd-esc-alert:hover { background: rgba(239,68,68,0.05); }
.wd-esc-alert-top {
  display: flex; align-items: center; gap: 6px; margin-bottom: 4px;
}
.wd-esc-severity {
  font-size: 0.5rem; font-weight: 700; padding: 1px 5px;
  border-radius: 3px; text-transform: uppercase;
}
.wd-esc-severity.critical { background: rgba(239,68,68,0.3); color: #ef4444; }
.wd-esc-severity.high { background: rgba(249,115,22,0.25); color: #fb923c; }
.wd-esc-severity.medium { background: rgba(234,179,8,0.2); color: #eab308; }
.wd-esc-severity.low { background: rgba(34,197,94,0.15); color: #22c55e; }
.wd-esc-type {
  font-size: 0.5625rem; color: var(--color-text-faint);
  font-family: 'JetBrains Mono', monospace; letter-spacing: 0.3px;
}
.wd-esc-time { font-size: 0.5rem; color: var(--color-text-ghost); margin-left: auto; }
.wd-esc-title {
  font-size: 0.6875rem; color: var(--color-text-secondary); font-weight: 500;
  margin-bottom: 3px;
}
.wd-esc-desc {
  font-size: 0.5625rem; color: var(--color-text-dim); line-height: 1.35;
}
.wd-esc-ack-btn {
  font-size: 0.5rem; padding: 2px 8px; border-radius: 3px;
  background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2);
  color: #22c55e; cursor: pointer; margin-top: 4px; transition: all 0.15s;
}
.wd-esc-ack-btn:hover { background: rgba(34,197,94,0.2); }

/* ====== BOLO BOARD VISUAL CARDS ====== */
.wd-bolo-grid-body {
  padding: 6px 8px !important;
}
.wcc-bolo-count-badge {
  font-size: 0.5rem; font-weight: 700; padding: 1px 5px;
  border-radius: 8px; background: rgba(239,68,68,0.2);
  color: #f87171; min-width: 14px; text-align: center;
}

.wcc-bolo-card-v2 {
  background: rgba(0,0,0,0.25); border: 1px solid rgba(65,65,75,0.15);
  border-radius: 6px; padding: 8px 10px; margin-bottom: 6px;
  display: flex; align-items: flex-start; gap: 8px;
  transition: all 0.2s; position: relative;
}
.wcc-bolo-card-v2:hover {
  border-color: rgba(130,21,44,0.35); background: rgba(130,21,44,0.04);
}
.wcc-bolo-card-v2.threat-critical {
  border-left: 3px solid #ef4444;
}
.wcc-bolo-card-v2.threat-high {
  border-left: 3px solid #f97316;
}
.wcc-bolo-card-v2.threat-medium {
  border-left: 2px solid #eab308;
}

.wcc-bolo-avatar-v2 {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(239,68,68,0.12); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 0.75rem; font-weight: 700; color: #f87171;
  border: 2px solid rgba(65,65,75,0.2); position: relative;
}
.wcc-bolo-avatar-v2 img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
}
.wcc-bolo-avatar-v2 .bolo-threat-dot {
  position: absolute; bottom: -1px; right: -1px;
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid rgba(14,14,20,0.95);
}
.bolo-threat-dot.critical { background: #ef4444; box-shadow: 0 0 4px rgba(239,68,68,0.5); }
.bolo-threat-dot.high { background: #f97316; }
.bolo-threat-dot.medium { background: #eab308; }
.bolo-threat-dot.low { background: #22c55e; }

.wcc-bolo-body-v2 { flex: 1; min-width: 0; }
.wcc-bolo-name-row {
  display: flex; align-items: center; gap: 4px;
}
.wcc-bolo-name-v2 {
  font-size: 0.6875rem; font-weight: 600; color: var(--color-text-secondary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wcc-bolo-handle-v2 {
  font-size: 0.5625rem; font-weight: 400; color: var(--color-text-faint);
}
.wcc-bolo-meta-row {
  display: flex; align-items: center; gap: 6px; margin-top: 2px;
  font-size: 0.5rem; color: var(--color-text-faint);
}
.wcc-bolo-threat-badge {
  font-size: 0.4375rem; font-weight: 700; padding: 1px 5px;
  border-radius: 3px; text-transform: uppercase; letter-spacing: 0.3px;
}
.wcc-bolo-sparkline-wrap {
  margin-top: 4px; height: 20px; width: 100%;
}
.wcc-bolo-sparkline-wrap svg {
  width: 100%; height: 20px; display: block;
}
.wcc-bolo-right-v2 {
  display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex-shrink: 0;
}
.wcc-bolo-status-v2 {
  font-size: 0.4375rem; font-weight: 600; display: flex;
  align-items: center; gap: 3px; white-space: nowrap; text-transform: uppercase;
  letter-spacing: 0.3px;
}
.wcc-bolo-actions-v2 {
  display: flex; gap: 3px; opacity: 0; transition: opacity 0.15s;
}
.wcc-bolo-card-v2:hover .wcc-bolo-actions-v2 { opacity: 1; }

/* ====== EVENT WATCH CARDS ====== */
.wd-card-event-watch .wd-card-body { padding: 6px 8px; }

.wcc-event-watch-card {
  background: rgba(0,0,0,0.25); border: 1px solid rgba(65,65,75,0.15);
  border-radius: 6px; padding: 10px 12px; margin-bottom: 6px;
  transition: all 0.2s; position: relative;
}
.wcc-event-watch-card:hover {
  border-color: rgba(130,21,44,0.3); background: rgba(130,21,44,0.04);
}
.wcc-event-watch-card.ew-elevated {
  border-left: 3px solid #f97316;
}
.wcc-event-watch-card.ew-critical {
  border-left: 3px solid #ef4444; animation: ewCritPulse 3s ease-in-out infinite;
}
@keyframes ewCritPulse {
  0%,100% { box-shadow: none; } 50% { box-shadow: inset 0 0 12px rgba(239,68,68,0.06); }
}

.ew-header {
  display: flex; align-items: center; gap: 6px; margin-bottom: 6px;
}
.ew-threat-indicator {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.ew-threat-indicator.critical { background: #ef4444; box-shadow: 0 0 4px rgba(239,68,68,0.5); animation: statusPulse 1.5s ease-in-out infinite; }
.ew-threat-indicator.high { background: #f97316; }
.ew-threat-indicator.medium { background: #eab308; }
.ew-threat-indicator.low { background: #22c55e; }
.ew-title {
  font-size: 0.6875rem; font-weight: 600; color: var(--color-text-secondary);
  flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ew-date-badge {
  font-size: 0.5rem; font-weight: 600; color: var(--color-brand-red);
  white-space: nowrap; flex-shrink: 0;
}

.ew-metrics {
  display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
  font-size: 0.5rem; color: var(--color-text-faint);
}
.ew-metric {
  display: flex; align-items: center; gap: 3px;
}
.ew-metric-val {
  font-weight: 700; color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}
.ew-metric-label { text-transform: uppercase; letter-spacing: 0.3px; }

.ew-location {
  font-size: 0.5625rem; color: var(--color-text-dim); display: flex;
  align-items: center; gap: 4px; margin-bottom: 4px;
}

.ew-sparkline-wrap {
  height: 22px; width: 100%; margin: 4px 0;
}
.ew-sparkline-wrap svg {
  width: 100%; height: 22px; display: block;
}

.ew-footer {
  display: flex; align-items: center; gap: 4px; margin-top: 4px;
}
.ew-escalation-badge {
  font-size: 0.4375rem; font-weight: 700; padding: 1px 5px;
  border-radius: 3px; text-transform: uppercase; letter-spacing: 0.3px;
}
.ew-escalation-badge.elevated { background: rgba(249,115,22,0.15); color: #fb923c; }
.ew-escalation-badge.critical { background: rgba(239,68,68,0.2); color: #ef4444; animation: threatPulse 2s ease-in-out infinite; }
.ew-escalation-badge.normal { background: rgba(34,197,94,0.1); color: #22c55e; }

/* ====== THREAT POSTURE ENHANCED ====== */
.wd-cmd-pulse.wd-pulse-high {
  border-color: rgba(239,68,68,0.25); background: rgba(239,68,68,0.06);
}
.wd-cmd-pulse.wd-pulse-high .wd-pulse-dot {
  background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,0.4);
}
.wd-cmd-pulse.wd-pulse-high .wd-cmd-pulse-label { color: #f87171; }

.wd-cmd-pulse.wd-pulse-nominal .wd-cmd-pulse-label { color: var(--color-impact-low); }

/* ====== SVG CHART STYLES ====== */
.sparkline-path {
  fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.sparkline-area { opacity: 0.08; }
.sparkline-green { stroke: #22c55e; }
.sparkline-yellow { stroke: #eab308; }
.sparkline-orange { stroke: #f97316; }
.sparkline-red { stroke: #ef4444; }
.sparkline-area-green { fill: #22c55e; }
.sparkline-area-yellow { fill: #eab308; }
.sparkline-area-orange { fill: #f97316; }
.sparkline-area-red { fill: #ef4444; }

/* ====== VELOCITY GAUGE ====== */
.ew-velocity-gauge {
  display: flex; align-items: center; justify-content: center;
  margin-left: auto; min-width: 80px;
}

.ew-aggregate-btn {
  font-size: 0.5rem !important;
  padding: 2px 6px !important;
  color: var(--color-info) !important;
  border: 1px solid rgba(59,130,246,0.2) !important;
  border-radius: 3px !important;
  background: rgba(59,130,246,0.06) !important;
  cursor: pointer !important;
  margin-left: 6px;
  transition: background 0.15s;
}
.ew-aggregate-btn:hover {
  background: rgba(59,130,246,0.15) !important;
}

/* ====== TREND CHART CONTAINERS ====== */
.wd-trend-chart-wrap {
  padding: 6px 0;
  border-top: 1px solid rgba(63,63,70,0.15);
  margin-top: 4px;
}
.wd-volume-chart-wrap {
  padding: 4px 0;
}

/* ====== END WATCH MODALS ====== */
