/* ==========================================================================
   PUR PTE LTD - ULTRA-LUXURY PORCELAIN LIGHT DESIGN SYSTEM (purai.cc)
   Theme: Alabaster & Royal Slate Luxury Light
   Target Aesthetic: Stripe / Apple / McKinsey Executive Light Design
   ========================================================================== */

:root {
  /* Surface & Background Colors */
  --bg-primary: #fafafa;      /* Warm Alabaster / Porcelain Light */
  --bg-secondary: #ffffff;    /* Pure White */
  --bg-tertiary: #f1f5f9;     /* Slate 100 Soft Tint */
  --bg-card: #ffffff;
  
  /* Text Colors */
  --text-primary: #09090b;    /* Deep Ink Black */
  --text-secondary: #334155;  /* Rich Slate 700 */
  --text-muted: #64748b;      /* Slate 500 */
  
  /* Accent Colors */
  --accent-cyan: #0284c7;     /* Precision Cyan 600 */
  --accent-blue: #2563eb;     /* Royal Sapphire Blue 600 */
  --accent-navy: #1e3a8a;     /* Deep Executive Navy */
  --accent-purple: #7c3aed;   /* Imperial Violet 600 */
  --accent-coral: #e11d48;    /* Crimson Rose 600 */
  --accent-amber: #d97706;    /* Warm Amber 600 */
  --accent-green: #059669;    /* Emerald Green 600 */
  
  /* Gradients */
  --grad-hero: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #2563eb 100%);
  --grad-text-hero: linear-gradient(135deg, #0f172a 0%, #1d4ed8 70%, #0284c7 100%);
  --grad-cyan-blue: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  --grad-btn-primary: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  
  /* Borders & Glass Highlights */
  --glass-border: rgba(15, 23, 42, 0.08);
  --glass-border-hover: rgba(37, 99, 235, 0.3);
  
  /* Shadows & Glows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.07), 0 1px 3px rgba(0, 0, 0, 0.02);
  --shadow-glow-blue: 0 10px 30px rgba(37, 99, 235, 0.15);
  
  /* Typography */
  --font-display: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  background-image: 
    radial-gradient(circle at 50% 0px, rgba(37, 99, 235, 0.08) 0%, transparent 60%),
    linear-gradient(rgba(15, 23, 42, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
  min-height: 100vh;
}

/* Ambient glow blobs */
.glow-bg {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}
.glow-1 {
  top: -100px;
  right: -50px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12), transparent 70%);
}
.glow-2 {
  top: 400px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.08), transparent 70%);
}

/* 锁屏全屏遮罩 (PUR Luxury Porcelain) */
.lock-screen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(250, 250, 250, 0.88);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lock-screen-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}

.lock-card {
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 44px 36px;
  width: 400px;
  max-width: 90vw;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.lock-icon-box {
  width: 56px;
  height: 56px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent-blue);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.lock-card h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.lock-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.password-input-wrapper {
  display: flex;
  gap: 10px;
}

.password-input-wrapper input {
  flex: 1;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 15px;
  outline: none;
  transition: var(--transition-smooth);
}

.password-input-wrapper input:focus {
  background: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.password-input-wrapper button {
  background: var(--grad-btn-primary);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.password-input-wrapper button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
}

.lock-error {
  color: var(--accent-coral);
  font-size: 12px;
  margin-top: 14px;
  display: none;
  font-weight: 500;
}
.lock-error.show { display: block; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}
.lock-card.shake { animation: shake 0.4s ease-in-out; }

/* Toast */
.toast {
  position: fixed;
  top: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(-10px);
  transition: var(--transition-smooth);
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* App Container */
.app-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Header */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  margin-bottom: 32px;
}

.header-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brand-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-pur {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-logo-pur svg {
  width: 100%;
  height: 100%;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-navy);
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 9999px;
  letter-spacing: 0.2px;
}
.badge-pill.mini {
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
}
.badge-pill.coral-pill {
  color: var(--accent-coral);
  background: rgba(225, 29, 72, 0.06);
  border-color: rgba(225, 29, 72, 0.18);
}
.badge-pill.green-pill {
  color: var(--accent-green);
  background: rgba(5, 150, 105, 0.06);
  border-color: rgba(5, 150, 105, 0.18);
}

.header-title h1 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.gradient-text {
  background: var(--grad-text-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-title .subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.live-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.2);
  color: var(--accent-green);
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 600;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(5, 150, 105, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.pur-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--grad-btn-primary);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}
.pur-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
  color: #ffffff;
}

.pur-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: var(--text-secondary);
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.pur-btn-secondary:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-1px);
}

/* 1. 顶部醒目居中搜索与多维细化筛选控制台 */
.hero-search-filter-section {
  margin-bottom: 18px;
  padding: 14px 20px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hs-search-box-wrapper {
  width: 100%;
  max-width: 780px;
}

.hs-search-box {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.hs-search-icon {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  color: var(--accent-blue);
  pointer-events: none;
}

.hs-search-box input {
  width: 100%;
  background: #f8fafc;
  border: 1.5px solid rgba(37, 99, 235, 0.2);
  border-radius: 10px;
  padding: 8px 36px 8px 38px;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--text-primary);
  outline: none;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  transition: var(--transition-smooth);
}
.hs-search-box input:focus {
  background: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12), 0 4px 12px rgba(37, 99, 235, 0.08);
}
.hs-search-box input::placeholder {
  color: #94a3b8;
  font-size: 12.5px;
}

.hs-search-box .search-clear-btn {
  position: absolute;
  right: 10px;
  background: rgba(100, 116, 139, 0.15);
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.hs-search-box .search-clear-btn:hover {
  background: var(--accent-coral);
  color: #ffffff;
}

/* 快捷常用预设直达栏 */
.hs-quick-presets-bar {
  width: 100%;
  max-width: 1080px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 0 8px 0;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.08);
}

.preset-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.preset-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-blue);
  white-space: nowrap;
}

.preset-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.preset-chip {
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 10px;
  padding: 2.5px 8px;
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--accent-navy);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.preset-chip:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.hs-filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-matched-pill {
  font-size: 11px;
  color: var(--text-muted);
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 8px;
  white-space: nowrap;
}
.live-matched-pill strong {
  color: var(--accent-blue);
  font-size: 12px;
  font-weight: 700;
}

.reset-filter-btn {
  background: rgba(225, 29, 72, 0.06);
  border: 1px solid rgba(225, 29, 72, 0.2);
  color: var(--accent-coral);
  border-radius: 8px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
}
.reset-filter-btn:hover {
  background: var(--accent-coral);
  color: #ffffff;
}

/* 4大维度细化分类筛选矩阵 */
.hs-granular-matrix {
  width: 100%;
  max-width: 1080px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 2px;
}

.gf-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 1px 0;
}

.gf-label {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 80px;
  padding-top: 2px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
}
.gf-icon {
  font-size: 12px;
}
.gf-title {
  color: #334155;
  letter-spacing: 0.2px;
}

.gf-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  flex: 1;
}

.filter-chip {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  padding: 2.5px 8px;
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  line-height: 1.35;
  user-select: none;
}

.chip-count {
  font-size: 9.5px;
  opacity: 0.75;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.06);
  color: var(--text-secondary);
  padding: 0 4px;
  border-radius: 6px;
  margin-left: 2px;
  transition: var(--transition-smooth);
}

.filter-chip:hover {
  background: #f1f5f9;
  border-color: rgba(37, 99, 235, 0.3);
  color: var(--accent-blue);
  transform: translateY(-1px);
}

.filter-chip.active {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  border-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}
.filter-chip.active .chip-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  opacity: 1;
}

/* 2. 核心态势 KPI 卡片 (PUR Floating Cards) */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.kpi-card {
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: var(--transition-smooth);
}

.kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.1);
  border-color: rgba(37, 99, 235, 0.25);
}

.kpi-card.primary::before { background: var(--accent-blue); }
.kpi-card.success::before { background: var(--accent-green); }
.kpi-card.coral::before   { background: var(--accent-coral); }
.kpi-card.warning::before { background: var(--accent-amber); }

.kpi-icon-pur {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kpi-icon-pur.blue { background: rgba(37, 99, 235, 0.08); color: var(--accent-blue); }
.kpi-icon-pur.green { background: rgba(5, 150, 105, 0.08); color: var(--accent-green); }
.kpi-icon-pur.coral { background: rgba(225, 29, 72, 0.08); color: var(--accent-coral); }
.kpi-icon-pur.amber { background: rgba(217, 119, 6, 0.08); color: var(--accent-amber); }

.kpi-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kpi-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.2px;
}

.kpi-value-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.kpi-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.kpi-unit {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.kpi-subtext {
  font-size: 11px;
  color: var(--text-muted);
}

/* 3. 智能活动雷达卡片矩阵 */
.urgent-radar-section {
  margin-bottom: 32px;
}

.pur-card {
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 22px;
}

.sh-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sh-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sh-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.sh-left h2 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.text-link-notion {
  color: var(--accent-blue);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.text-link-notion:hover {
  color: var(--accent-navy);
  text-decoration: underline;
}

.radar-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* 关键词搜索高亮 (柔和琥珀轻奢) */
mark.highlight-text {
  background: rgba(254, 240, 138, 0.7);
  color: #854d0e;
  padding: 1px 3px;
  border-radius: 3px;
  font-weight: 600;
}

/* 单个雷达活动卡片 */
.radar-card {
  min-width: 0;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition-smooth);
  position: relative;
}

.radar-card:hover {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(15, 23, 42, 0.1);
}

.radar-card.confirmed-card {
  border-left: 4px solid var(--accent-green);
}
.radar-card.pending-card {
  border-left: 4px solid var(--accent-blue);
}
.radar-card.expired-card {
  border-left: 4px solid #cbd5e1;
  opacity: 0.85;
}

.rc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.rc-category-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent-navy);
  white-space: nowrap;
}

.rc-schedule-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.rc-schedule-pill.status-confirmed {
  background: rgba(5, 150, 105, 0.08);
  color: var(--accent-green);
  border: 1px solid rgba(5, 150, 105, 0.2);
}
.rc-schedule-pill.status-pending {
  background: rgba(217, 119, 6, 0.08);
  color: var(--accent-amber);
  border: 1px solid rgba(217, 119, 6, 0.2);
}
.rc-schedule-pill.status-expired {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.rc-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 42px;
}

.rc-meta-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 10px;
  padding: 10px 12px;
}

.rc-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rc-meta-item .rc-meta-icon {
  font-size: 12px;
  flex-shrink: 0;
  color: var(--accent-blue);
}

.rc-summary-box {
  background: rgba(37, 99, 235, 0.03);
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rc-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}

.btn-card-action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.btn-reg-action {
  background: var(--grad-cyan-blue);
  color: #ffffff;
  border: none;
}
.btn-reg-action:hover {
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
  color: #ffffff;
}
.btn-reg-confirmed {
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.3);
  color: var(--accent-green);
}
.btn-reg-confirmed:hover {
  background: var(--accent-green);
  color: #ffffff;
}
.btn-detail-action {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: var(--text-secondary);
  flex: 0 0 auto;
}
.btn-detail-action:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.radar-pagination-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.match-count-text {
  font-size: 12px;
  color: var(--text-muted);
}
.match-count-text strong {
  color: var(--accent-blue);
  font-weight: 700;
}

.radar-page-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pur-btn-mini {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 5px;
  padding: 3px 9px;
  font-size: 11px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.pur-btn-mini:hover:not(:disabled) {
  background: var(--bg-tertiary);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}
.pur-btn-mini:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.radar-page-num {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   Notion 风格数据大表 (Notion Database Table View) - 生产级全量样式
   ========================================================================== */
.notion-table-section {
  margin-top: 24px;
  background: #ffffff !important;
  border-radius: 16px !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05) !important;
  padding: 24px !important;
}

/* Notion 风格: 🔘 日程状态 ▼ 下拉筛选器 */
.nth-toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.nth-status-filter-dropdown {
  position: relative;
  display: inline-block;
}
.nth-status-filter-trigger {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  transition: all 0.15s ease;
}
.nth-status-filter-trigger:hover {
  border-color: #2563eb;
  background: #f8fafc;
}
.nth-status-filter-trigger.active {
  border-color: #10b981;
  background: #ecfdf5;
  color: #047857;
}
.status-arrow {
  font-size: 10px;
  color: #2563eb;
  margin-left: 2px;
  transition: transform 0.2s ease;
}
.nth-status-filter-trigger.open .status-arrow {
  transform: rotate(180deg);
}
.status-clear-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.1);
  color: #475569;
  font-size: 11px;
  line-height: 1;
  margin-left: 4px;
  cursor: pointer;
}
.status-clear-icon:hover {
  background: #ef4444;
  color: #ffffff;
}
.nth-status-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 250px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
  padding: 8px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ns-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
  font-size: 12.5px;
}
.ns-menu-item:hover {
  background: #f1f5f9;
}
.ns-menu-item.active {
  background: #eff6ff;
  font-weight: 600;
}
.ns-opt-text {
  color: #1e293b;
  font-weight: 500;
}
.ns-opt-count {
  font-size: 11px;
  color: #64748b;
  background: #f1f5f9;
  padding: 1px 6px;
  border-radius: 10px;
}

.notion-table-header-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}

.nth-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px;
}

.nth-title-block h2 {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 0 0;
}

.nth-view-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.nth-tab-btn {
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 3.5px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.nth-tab-btn:hover {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.6);
}

.nth-tab-btn.active {
  background: #ffffff;
  color: #2563eb;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.nth-tab-count {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  padding: 0 5px;
  border-radius: 8px;
  font-size: 9.5px;
}

.nth-tab-btn.active .nth-tab-count {
  background: #2563eb;
  color: #ffffff;
}

.nth-toolbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 10px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 8px;
}

.nth-search-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 6px;
  padding: 4px 10px;
  width: 280px;
  max-width: 100%;
}

.nth-search-box input {
  border: none;
  outline: none;
  font-size: 11.5px;
  width: 100%;
  color: #0f172a;
  background: transparent;
}

.nth-toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-size-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #64748b;
}

.page-size-btn {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

.page-size-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
}

.page-size-btn.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.btn-notion-external {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  padding: 3.5px 8px;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  transition: all 0.2s ease;
}

.btn-notion-external:hover {
  background: #2563eb;
  color: #ffffff;
}

/* 表格容器与结构 */
.notion-table-wrapper {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
  max-width: 100%;
}

.notion-data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-size: 13px;
  line-height: 1.5;
}

.notion-data-table thead {
  background: #f8fafc;
  position: sticky;
  top: 0;
  z-index: 10;
}

.notion-data-table th {
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
  user-select: none;
  background: #f8fafc;
}

.notion-data-table th.sortable {
  cursor: pointer;
  transition: background 0.15s ease;
}

.notion-data-table th.sortable:hover {
  background: #f1f5f9;
  color: #2563eb;
}

.th-content {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.th-icon {
  font-size: 13px;
  opacity: 0.85;
}

.sort-icon {
  font-size: 11px;
  color: #94a3b8;
  transition: color 0.15s ease;
}

.notion-data-table th:hover .sort-icon {
  color: #2563eb;
}

.notion-data-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
  cursor: pointer;
}

.notion-data-table tbody tr:last-child {
  border-bottom: none;
}

.notion-data-table tbody tr:hover {
  background: #f8fafc !important;
}

.notion-data-table td {
  padding: 11px 12px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
}

.col-idx {
  width: 44px;
  text-align: center;
  color: #94a3b8;
  font-size: 11.5px;
  font-family: monospace;
}

.col-title {
  min-width: 260px;
  max-width: 360px;
}

.col-category {
  width: 110px;
  white-space: nowrap;
}

.col-time {
  width: 165px;
  white-space: nowrap;
}

.col-reg {
  width: 140px;
  white-space: nowrap;
}

.col-status {
  width: 125px;
  white-space: nowrap;
}

.col-location {
  min-width: 120px;
  max-width: 180px;
  font-size: 12px;
}

.col-source {
  width: 100px;
  white-space: nowrap;
  font-size: 12px;
}

.col-actions {
  width: 130px;
  white-space: nowrap;
  text-align: right;
}

.nt-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nt-title-main {
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  line-height: 1.35;
  display: flex;
  align-items: baseline;
  gap: 6px;
  transition: color 0.15s ease;
}

.notion-data-table tbody tr:hover .nt-title-main {
  color: #2563eb;
}

.nt-meta-sub {
  font-size: 11px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nt-time-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nt-time-badge {
  font-family: monospace;
  font-size: 12px;
  color: #0f172a;
  font-weight: 500;
}

.nt-time-hint {
  font-size: 10.5px;
  color: #94a3b8;
}

/* 报名行动按钮 - 强实用性 */
.nt-btn-reg-urgent {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #2563eb;
  color: #ffffff !important;
  padding: 2.5px 7px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2);
  transition: all 0.15s ease;
}

.nt-btn-reg-urgent:hover {
  background: #1d4ed8;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.nt-pill-confirmed {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 600;
}

.nt-pill-free {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 10.5px;
}

/* 分类胶囊 */
.nt-tag-cat {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 600;
}

.nt-cat-career { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.nt-cat-academic { background: #f5f3ff; color: #6d28d9; border: 1px solid #ddd6fe; }
.nt-cat-personal { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.nt-cat-notice { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.nt-cat-interview { background: #fff1f2; color: #e11d48; border: 1px solid #fecdd3; }
.nt-cat-proof { background: #ecfeff; color: #0891b2; border: 1px solid #a5f3fc; }
.nt-cat-travel { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.nt-cat-course { background: #ecfeff; color: #0e7490; border: 1px solid #a5f3fc; }
.nt-cat-other { background: #f8fafc; color: #475569; border: 1px solid #e2e8f0; }

/* 状态胶囊 */
.nt-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 600;
}

.nt-status-confirmed { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.nt-status-pending { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.nt-status-wanted { background: #fefce8; color: #a16207; border: 1px solid #fef08a; }
.nt-status-attended { background: #ecfeff; color: #0e7490; border: 1px solid #a5f3fc; }
.nt-status-archived { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }
.nt-status-expired { background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; }
.nt-status-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* 操作列 */
.nt-actions-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nt-btn-mini-action {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 10.5px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  transition: all 0.15s ease;
}

.nt-btn-mini-action:hover {
  border-color: #2563eb;
  color: #2563eb;
  background: #eff6ff;
}

/* 表格底部控制与分页 */
.notion-table-footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}

.ntf-left-block {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: #64748b;
}

.ntf-stats-pills {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.ntf-stat-tag {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 1.5px 6px;
  border-radius: 4px;
  font-size: 10.5px;
  color: #475569;
}

.ntf-pagination-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ntf-page-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  padding: 2.5px 7px;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ntf-page-btn:hover:not(:disabled) {
  border-color: #2563eb;
  color: #2563eb;
  background: #eff6ff;
}

.ntf-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ntf-page-numbers {
  display: flex;
  gap: 3px;
}

.ntf-num-btn {
  min-width: 22px;
  height: 22px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  color: #475569;
}

.ntf-num-btn:hover {
  background: #f1f5f9;
}

.ntf-num-btn.active {
  background: #2563eb;
  color: #ffffff;
}

/* 4. 宏观分析与技术架构卡片 */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-icon-tag {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.card-icon-tag.blue { background: rgba(37, 99, 235, 0.08); }
.card-icon-tag.purple { background: rgba(124, 58, 237, 0.08); }
.card-icon-tag.green { background: rgba(5, 150, 105, 0.08); }

.card-title h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.progress-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.progress-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pr-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.pr-name {
  color: var(--text-secondary);
  font-weight: 600;
}
.pr-count {
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 700;
}

.pr-track {
  height: 7px;
  background: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
}
.pr-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.channel-insight-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.channel-metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.channel-metric-item {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cm-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.cm-val {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}
.cm-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.match-insight-note {
  background: rgba(37, 99, 235, 0.04);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 14px;
  padding: 16px;
}
.note-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-navy);
  margin-bottom: 6px;
}
.match-insight-note p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 5. 三大架构突破创新专区 */
.breakthrough-section {
  margin-bottom: 32px;
}

.breakthrough-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.bt-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
}
.bt-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.25);
}

.bt-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  width: fit-content;
}
.bt-badge.coral { background: rgba(225, 29, 72, 0.08); color: var(--accent-coral); }
.bt-badge.blue  { background: rgba(37, 99, 235, 0.08); color: var(--accent-blue); }
.bt-badge.green { background: rgba(5, 150, 105, 0.08); color: var(--accent-green); }

.bt-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.bt-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bt-comparison-box {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11.5px;
}
.cmp-bad {
  color: var(--accent-coral);
  display: flex;
  gap: 6px;
}
.cmp-good {
  color: var(--accent-green);
  font-weight: 600;
  display: flex;
  gap: 6px;
}

/* 6. 底部工具枢纽 */
.hub-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.hub-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hub-icon-pur {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.hub-card-header h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}
.hub-card-header p {
  font-size: 12px;
  color: var(--text-muted);
}

.tool-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tool-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.tool-commands-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cmd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  padding: 8px 12px;
  gap: 10px;
}
.cmd-code {
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 11px;
  color: var(--accent-navy);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cmd-copy-btn {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}
.cmd-copy-btn:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #ffffff;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hub-link-card {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 12px;
  padding: 14px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: var(--transition-smooth);
}
.hub-link-card:hover {
  background: #ffffff;
  border-color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.1);
}
.hl-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}
.hl-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* Modal Drawer */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  padding: 20px;
}
.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.modal-card {
  background: #ffffff;
  border-radius: 20px;
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  transform: scale(0.95);
  transition: var(--transition-smooth);
}
.modal-overlay.show .modal-card {
  transform: scale(1);
}
.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}
.modal-close-btn:hover {
  background: var(--accent-coral);
  color: #ffffff;
}

/* Responsive */
@media (max-width: 1024px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .radar-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .analytics-grid { grid-template-columns: 1fr; }
  .breakthrough-grid { grid-template-columns: 1fr; }
  .hub-section { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .kpi-grid { grid-template-columns: 1fr; }
  .radar-cards-grid { grid-template-columns: 1fr; }
  .app-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .gf-row { flex-direction: column; gap: 6px; }
  .gf-label { min-width: auto; padding-top: 0; }
}

/* Urgency & Relative Time Micro Badges */
.nt-badge-today {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
}
.nt-badge-tomorrow {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
}
.nt-badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
}
.nt-badge-week {
  display: inline-flex;
  align-items: center;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  font-size: 10px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 4px;
}
.nt-badge-past {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  color: #94a3b8;
  border: 1px solid #e2e8f0;
  font-size: 10px;
  font-weight: 500;
  padding: 1px 5px;
  border-radius: 4px;
}
.nt-badge-future {
  display: inline-flex;
  align-items: center;
  background: #faf5ff;
  color: #7c3aed;
  border: 1px solid #e9d5ff;
  font-size: 10px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 4px;
}

