/* TEPAT — Enterprise UI Styles (PT Teknologi Energi Utama) */

:root {
  /* Corporate PLN Palette (PT TEU & PT PLN Indonesia Power) */
  --canvas-base: #F8FAFC;
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-bg-hover: #FFFFFF;
  --glass-border: rgba(226, 232, 240, 0.95);
  --subtle-border: rgba(226, 232, 240, 0.85);
  
  /* Text Contrast Hierarchy (WCAG AA Compliant) */
  --text-headline: #0F172A;
  --text-body: #334155;
  --text-sub: #64748B;
  --text-faint: #94A3B8;

  /* PLN Corporate Accents */
  --pln-blue-primary: #0072BC;
  --pln-blue-deep: #00529C;
  --pln-blue-glow: rgba(0, 114, 188, 0.18);
  --pln-yellow-gold: #FED100;
  --pln-yellow-warm: #F5A623;
  --pln-red-safety: #ED1C24;
  --pln-teal-ip: #00828A;

  /* Semantic State */
  --emerald-mint: #059669;
  --emerald-glow: rgba(5, 150, 105, 0.18);
  --rose-blush: #DC2626;
  --rose-glow: rgba(220, 38, 38, 0.18);
  --amber-champagne: #D97706;
  --amber-glow: rgba(217, 119, 6, 0.18);

  /* Radii & Shadows */
  --radius-pill: 9999px;
  --radius-card: 16px;
  --radius-inner: 12px;
  --shadow-glass: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 8px 24px -4px rgba(0, 114, 188, 0.12), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
  height: 100%;
}
body {
  background: var(--canvas-base, #F8FAFC);
  color: var(--text-headline, #0F172A);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
  position: relative;
  overflow-x: hidden;
}

input, button, select, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }

/* Ambient Mesh Glow disabled for formal corporate BUMN aesthetic */
.ambient-glow-wrapper {
  display: none !important;
}

/* ==========================================================================
   FROSTED GLASS NAVIGATION BAR
   ========================================================================== */
.header-glass {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.03);
}
.header-inner {
  width: 100%;
  max-width: 100%;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}
.brand-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.admin-badge-chic {
  flex-shrink: 0;
}
.brand-logo-chic {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: -0.04em;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.brand-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-sub);
  font-weight: 600;
}

/* Sliding Module Switcher (Rounded Rectangle with Defined Crisp Borders) */
.nav-pills-chic {
  display: flex;
  gap: 6px;
  background: rgba(235, 240, 248, 0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 4px;
  border-radius: 12px;
  border: 1.5px solid #94A3B8;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.05), 0 2px 8px rgba(0, 0, 0, 0.02);
  position: relative;
  flex-shrink: 0;
  overflow: visible;
}
.nav-pills-chic::-webkit-scrollbar {
  display: none;
}
.nav-btn-chic {
  border-radius: 9px;
  padding: 6px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #1E293B;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  position: relative;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.nav-btn-chic .nav-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(226, 232, 240, 0.8);
  color: #475569;
  border: 1px solid #CBD5E1;
  transition: all 0.2s ease;
}
.nav-btn-chic:hover {
  background: #F0F7FF;
  border-color: #0072BC;
  color: #00529C;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 114, 188, 0.14);
}
.nav-btn-chic:hover .nav-num {
  background: rgba(0, 114, 188, 0.1);
  color: #0072BC;
  border-color: rgba(0, 114, 188, 0.3);
}
.nav-btn-chic:active {
  transform: scale(0.97);
}
.nav-btn-chic.active {
  background: #FFFFFF;
  color: #00529C;
  font-weight: 700;
  border: 2px solid #00529C;
  box-shadow: 0 3px 10px rgba(0, 114, 188, 0.20), 0 1px 3px rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}
.nav-btn-chic.active .nav-num {
  background: #00529C;
  color: #FFFFFF;
  border-color: #004080;
  box-shadow: 0 1px 4px rgba(0, 82, 156, 0.3);
}
.nav-btn-chic.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 15%;
  right: 15%;
  height: 2.5px;
  border-radius: 4px;
  background: #00529C;
  box-shadow: 0 1px 4px rgba(0, 82, 156, 0.4);
}

.admin-badge-chic {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 18px;
  border-left: 1px solid rgba(226, 232, 240, 0.9);
}

/* ==========================================================================
   PAGE CONTAINERS & SECTION WRAPPERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: 100%;
  padding: 24px 42px 64px;
  position: relative;
  z-index: 1;
}
.module-tag-chic {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--iris-primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-title-chic {
  font-family: 'Inter Tight', sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-top: 6px;
  color: var(--text-headline);
}
.hero-desc-chic {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 740px;
  margin-top: 6px;
}

/* ==========================================================================
   CHIC EXECUTIVE KPI CARDS (Soft Glassmorphism + Glow)
   ========================================================================== */
.kpi-grid-chic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.kpi-card-chic {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 20px 22px;
  min-height: 114px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-glass);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.kpi-card-chic:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 255, 255, 1);
}
.kpi-card-chic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.kpi-card-chic:hover::before {
  opacity: 1;
}
.kpi-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.kpi-label-chic {
  font-family: var(--font-body), sans-serif;
  font-size: 12px;
  letter-spacing: normal;
  text-transform: none;
  color: #475569;
  font-weight: 700;
}
.kpi-trend-pill {
  font-family: var(--font-body), sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.trend-emerald { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.trend-iris { background: #FFF1F2; color: #E11D48; border: 1px solid #FFE4E6; }
.trend-rose { background: #FFF7ED; color: #C2410C; border: 1px solid #FFEDD5; }

.kpi-number-chic {
  font-family: 'Inter Tight', sans-serif;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text-headline);
  margin-top: 10px;
}
.kpi-subtext-chic {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 6px;
}

/* ==========================================================================
   CORPORATE ENTERPRISE KPI CARD THEMES (PLN Group Neutral Style)
   ========================================================================== */
/* ==========================================================================
   FEMININE CHIC ANIMATED CARD EDGES & SOFT ROSE-GOLD THEMES
   ========================================================================== */
@keyframes feminineLineShimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.card-theme-lavender,
.card-theme-mint,
.card-theme-rose,
.card-theme-honey,
.card-theme-sky {
  background: #FFFFFF !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: var(--radius-card, 16px) !important;
  box-shadow: 0 2px 8px -2px rgba(244, 63, 94, 0.04), 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.card-theme-lavender:hover,
.card-theme-mint:hover,
.card-theme-rose:hover,
.card-theme-honey:hover,
.card-theme-sky:hover {
  border-color: rgba(244, 114, 182, 0.55) !important;
  box-shadow: 0 12px 28px -4px rgba(244, 63, 94, 0.12), 0 4px 12px -2px rgba(236, 72, 153, 0.08), 0 0 0 1px rgba(244, 114, 182, 0.25) !important;
  transform: translateY(-3px) !important;
}

/* 1. Total Talenta: Rose Quartz & Delicate Orchid Shimmer */
.card-theme-lavender::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #FB7185, #F472B6, #C084FC, #818CF8, #FB7185) !important;
  background-size: 250% 100% !important;
  animation: feminineLineShimmer 5s ease-in-out infinite !important;
}

/* 2. Siap Ditugaskan: Spring Mint & Blossom Peach Shimmer */
.card-theme-mint::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #10B981, #34D399, #F472B6, #FB7185, #10B981) !important;
  background-size: 250% 100% !important;
  animation: feminineLineShimmer 5.5s ease-in-out infinite !important;
}

/* 3. Sertifikasi: Rose Gold & Champagne Blossom Shimmer */
.card-theme-rose::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #FB7185, #FDA4AF, #F472B6, #FBBF24, #FB7185) !important;
  background-size: 250% 100% !important;
  animation: feminineLineShimmer 4.8s ease-in-out infinite !important;
}

/* 4. Kelaikan Medis: Coral Sunrise & Warm Amber Blossom */
.card-theme-honey::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #F59E0B, #FB923C, #F43F5E, #FDE047, #F59E0B) !important;
  background-size: 250% 100% !important;
  animation: feminineLineShimmer 5.2s ease-in-out infinite !important;
}

.card-theme-sky::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #38BDF8, #818CF8, #F472B6, #38BDF8) !important;
  background-size: 250% 100% !important;
  animation: feminineLineShimmer 5s ease-in-out infinite !important;
}
.card-theme-lavender .kpi-number-chic,
.card-theme-mint .kpi-number-chic,
.card-theme-rose .kpi-number-chic,
.card-theme-honey .kpi-number-chic,
.card-theme-sky .kpi-number-chic {
  color: #0F172A !important;
  font-weight: 800 !important;
}

/* ==========================================================================
   MACOS-STYLE SEGMENTED SWITCHER (CRISP TACTILE BOUNDARIES & SPRING SLIDE)
   ========================================================================== */
.segmented-control-chic {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(235, 240, 248, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(203, 213, 225, 0.85);
  border-radius: var(--radius-pill);
  padding: 5px;
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.04), 0 2px 8px rgba(0, 0, 0, 0.02);
}
.segmented-btn-chic {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(203, 213, 225, 0.85);
  background: rgba(255, 255, 255, 0.65);
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  position: relative;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.segmented-btn-chic:hover {
  background: #FFFFFF;
  border-color: rgba(99, 102, 241, 0.45);
  color: var(--text-headline);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -2px rgba(99, 102, 241, 0.16);
}
.segmented-btn-chic:active {
  transform: scale(0.95);
}
.segmented-btn-chic.active {
  background: #FFFFFF;
  color: var(--text-headline);
  font-weight: 700;
  border: 1.5px solid #0072BC;
  color: #00529C;
  box-shadow: 0 4px 14px -2px rgba(0, 114, 188, 0.20), 0 1px 3px rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}
.segmented-btn-chic.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 20%;
  right: 20%;
  height: 2.5px;
  border-radius: 999px;
  background: #0072BC;
  box-shadow: 0 1px 4px rgba(0, 114, 188, 0.4);
  animation: glowPulseBar 2s infinite ease-in-out;
}

/* ==========================================================================
   CHIC CAPSULE SEARCH WITH GRADIENT RING
   ========================================================================== */
.search-capsule-wrapper {
  position: relative;
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: center;
}
.search-capsule-icon {
  position: absolute;
  left: 16px;
  color: var(--text-faint);
  pointer-events: none;
  font-size: 13px;
}
.search-capsule-input {
  width: 100%;
  font-size: 12.5px;
  padding: 10px 70px 10px 42px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  color: var(--text-headline);
  outline: none;
  transition: all 0.22s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.search-capsule-input:focus {
  border-color: var(--iris-primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.14);
  background: #FFFFFF;
}
.search-kbd-chic {
  position: absolute;
  right: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  padding: 3px 7px;
  border-radius: 6px;
  background: #F1F5F9;
  color: var(--text-sub);
  border: 1px solid #E2E8F0;
  pointer-events: none;
  font-weight: 600;
}

/* ==========================================================================
   RAYCAST TACTILE STATUS PILLS WITH HALO PULSE
   ========================================================================== */
.tactile-status-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.15s ease;
}
.tactile-status-pill:hover {
  transform: scale(1.02);
}
.halo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}
.halo-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  animation: pulseHalo 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}
@keyframes pulseHalo {
  0% { transform: scale(1); opacity: 0.8; }
  70% { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

.pill-ready { background: #ECFDF5; color: #065F46; border-color: #A7F3D0; }
.pill-ready .halo-dot { background: #10B981; }
.pill-ready .halo-dot::after { background: #10B981; }

.pill-emerging { background: #FFFBEB; color: #92400E; border-color: #FDE68A; }
.pill-emerging .halo-dot { background: #F59E0B; }
.pill-emerging .halo-dot::after { background: #F59E0B; }

.pill-mentor { background: #F0F7FF; color: #00529C; border-color: #BAE0FD; }
.pill-mentor .halo-dot { background: #0072BC; }
.pill-mentor .halo-dot::after { background: #0072BC; }

.pill-gate { background: #FFF1F2; color: #9F1239; border-color: #FECDD3; }
.pill-gate .halo-dot { background: #F43F5E; }
.pill-gate .halo-dot::after { background: #F43F5E; }

/* ==========================================================================
   BUTTONS (CAPSULE, GRADIENT BORDER, GLOW)
   ========================================================================== */
.btn-chic {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-chic-primary {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-chic-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.25);
  background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
}
.btn-chic-secondary {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  color: var(--text-headline);
  border-color: rgba(226, 232, 240, 0.9);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.btn-chic-secondary:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.08);
}
.btn-chic-iris {
  background: linear-gradient(135deg, #0072BC 0%, #00529C 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 114, 188, 0.28);
}
.btn-chic-iris:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 114, 188, 0.4);
}
.btn-chic-emerald {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.28);
}
.btn-chic-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.38);
}

/* ==========================================================================
   CONTENT GLASS CONTAINER
   ========================================================================== */
.content-glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 22px 26px;
  box-shadow: var(--shadow-glass);
  margin-top: 18px;
}

/* ==========================================================================
   STAGGERED TABLE ROWS & HOVER PHYSICS
   ========================================================================== */
.chic-table-header {
  display: grid;
  grid-template-columns: 1.8fr 1.5fr 1.4fr 0.8fr 1.1fr 180px;
  column-gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-sub);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 14px 14px 10px;
}
.chic-table-row {
  display: grid;
  grid-template-columns: 1.8fr 1.5fr 1.4fr 0.8fr 1.1fr 180px;
  column-gap: 16px;
  font-size: 12.5px;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(241, 245, 249, 0.8);
  align-items: center;
  color: var(--text-body);
  border-radius: var(--radius-inner);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  animation: staggerFadeUp 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--stagger, 0) * 35ms);
}
.chic-table-row:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.08);
  transform: translateY(-2px);
}
.chic-table-row .row-quick-actions {
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.2s ease;
}
.chic-table-row:hover .row-quick-actions {
  opacity: 1;
  transform: translateX(0);
}

@keyframes staggerFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   ANIMATED SHIMMER WAVE PROGRESS BAR
   ========================================================================== */
.shimmer-progress-track {
  height: 6px;
  background: rgba(226, 232, 240, 0.6);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
}
.shimmer-progress-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  position: relative;
  overflow: hidden;
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.shimmer-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: shimmerWave 2s infinite ease-in-out;
}
@keyframes shimmerWave {
  0% { left: -100%; }
  100% { left: 150%; }
}

/* ==========================================================================
   KNOWLEDGE HUB 3D FLOATING ELEMENTS
   ========================================================================== */
.floating-3d-icon {
  display: inline-block;
  animation: floatBob 3.6s ease-in-out infinite alternate;
}
@keyframes floatBob {
  0% { transform: translateY(-3px) rotate(0deg); }
  100% { transform: translateY(3px) rotate(2deg); }
}

/* ==========================================================================
   MODAL GLASS OVERLAY
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.2s ease-out;
}
.modal-content-chic {
  width: 100%;
  max-width: 740px;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(30px);
  border-radius: 24px;
  box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.9);
  animation: modalPop 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalPop {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ==========================================================================
   TOAST NOTIFICATION (CHIC GLASS SLIDE)
   ========================================================================== */
.toast-chic {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  color: #F8FAFC;
  border-radius: var(--radius-card);
  padding: 14px 22px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.28);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: toastSlide 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 480px;
}
@keyframes toastSlide {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .chic-table-header, .chic-table-row {
    grid-template-columns: 1.8fr 1.2fr 1fr 1fr;
  }
  .chic-table-header div:nth-child(4), .chic-table-row div:nth-child(4),
  .chic-table-header div:nth-child(6), .chic-table-row div:nth-child(6) {
    display: none;
  }
}
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; padding: 12px 20px; }
  .container { padding: 18px 20px 60px; }
  .chic-table-header { display: none; }
  .chic-table-row { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ==========================================================================
   PRINT STYLESHEET (CETAK PROFIL PURNA KARYA)
   ========================================================================== */

/* ========================================================
   ADDENDUM: AVAILABILITY, ASSETS, OUTCOMES, DOCS & COMPARE
   ======================================================== */

/* Availability Derived Pill */
.dossier-avail-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}
.dossier-avail-pill-tersedia_sekarang {
  background: #ECFDF5;
  color: #065F46;
  border-color: #A7F3D0;
}
.dossier-avail-pill-tersedia_nanti,
.dossier-avail-pill-cuti_berhalangan {
  background: #EFF6FF;
  color: #1E40AF;
  border-color: #BFDBFE;
}
.dossier-avail-pill-terikat {
  background: #F3E8FF;
  color: #6B21A8;
  border-color: #D8B4FE;
}
.dossier-avail-pill-tidak_bersedia {
  background: #FEF2F2;
  color: #991B1B;
  border-color: #FCA5A5;
}

/* 6-Month Timeline Bar */
.dossier-timeline-wrapper {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
  margin-top: 10px;
}
.dossier-timeline-months {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}
.dossier-timeline-month-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #64748B;
  text-align: center;
}
.dossier-timeline-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  height: 28px;
}
.dossier-timeline-block {
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-mono);
  transition: all 0.2s ease;
}
.dossier-tb-available {
  background: #10B981;
  color: #FFFFFF;
}
.dossier-tb-assigned {
  background: #8B5CF6;
  color: #FFFFFF;
}
.dossier-tb-unavailable {
  background: #F59E0B;
  color: #FFFFFF;
}
.dossier-tb-inactive {
  background: #E2E8F0;
  color: #94A3B8;
}

/* Asset Fit Badges & Groups */
.dossier-asset-group-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.dossier-asset-group-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dossier-asset-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dossier-asset-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #1E293B;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

/* Candidate Matching Breakdown */
.matching-reason-box {
  background: #F8FAFC;
  border-left: 3px solid #0072BC;
  padding: 8px 12px;
  border-radius: 0 8px 8px 0;
  font-size: 11.5px;
  color: #334155;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.matching-reason-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-mono);
}
.matching-tag-match {
  background: #DCFCE7;
  color: #15803D;
}
.matching-tag-partial {
  background: #FEF3C7;
  color: #B45309;
}
.matching-tag-mismatch {
  background: #FEE2E2;
  color: #B91C1C;
}

/* Document Checklist */
.dossier-doc-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}
.dossier-doc-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* Assignment Outcome Review Cards */
.dossier-outcome-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}
.dossier-outcome-stars {
  color: #F59E0B;
  font-size: 14px;
  letter-spacing: 1px;
}
.dossier-aspect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
  margin: 10px 0;
  background: #F8FAFC;
  padding: 10px 12px;
  border-radius: 8px;
}
.dossier-aspect-item {
  font-size: 11px;
  color: #475569;
}
.dossier-aspect-bar {
  height: 4px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 3px;
}
.dossier-aspect-fill {
  height: 100%;
  background: #3B82F6;
  border-radius: 999px;
}

/* Completeness Meter */
.dossier-completeness-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  color: #F8FAFC;
}
.dossier-completeness-track {
  width: 50px;
  height: 6px;
  background: rgba(255,255,255,0.25);
  border-radius: 999px;
  overflow: hidden;
}
.dossier-completeness-fill {
  height: 100%;
  background: #10B981;
  border-radius: 999px;
}

/* Floating Compare Bar in Module 02 */
.matching-compare-floating-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #0F172A;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.4);
  z-index: 1000;
  border: 1px solid rgba(255,255,255,0.15);
  animation: floatUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Side-by-Side Candidate Comparison Modal */
.compare-modal-container {
  width: 95vw;
  max-width: 1200px;
  height: 88vh;
  background: #FFFFFF;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.35);
}
.compare-table-wrapper {
  flex: 1;
  overflow: auto;
}
.compare-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.compare-matrix-table th,
.compare-matrix-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #E2E8F0;
  vertical-align: top;
}
.compare-matrix-table th.sticky-col,
.compare-matrix-table td.sticky-col {
  position: sticky;
  left: 0;
  background: #F8FAFC;
  z-index: 2;
  width: 220px;
  min-width: 220px;
  font-family: var(--font-display);
  font-weight: 700;
  color: #334155;
  border-right: 2px solid #CBD5E1;
}

/* Catatan Internal & Jejak Audit */
.dossier-note-card {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #78350F;
}
.dossier-audit-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid #F1F5F9;
  font-size: 11.5px;
}

@media print {
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
  }
  header, .header-chic, .segmented-control-chic, .chip-btn, .modal-close-btn,
  #modal-tab-prof-btn, #modal-tab-calc-btn, button, .btn-chic, a#modal-btn-wa-action {
    display: none !important;
  }
  .modal-overlay {
    position: static !important;
    background: transparent !important;
    backdrop-filter: none !important;
    display: block !important;
    padding: 0 !important;
  }
  .modal-content-chic {
    box-shadow: none !important;
    border: none !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  #modal-pane-profile {
    display: block !important;
    padding: 0 !important;
  }
  #modal-pane-calc {
    display: none !important;
  }
}

/* ==========================================================================
   NINE-BOX CARDS & TALENT LIST ANIMATIONS
   ========================================================================== */
.ninebox-card {
  position: relative;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.ninebox-card:hover {
  transform: translateY(-4px) scale(1.012);
}

.ninebox-talent-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
  max-height: 160px;
  overflow-y: auto;
  padding-right: 4px;
}

.ninebox-talent-list::-webkit-scrollbar {
  width: 4px;
}
.ninebox-talent-list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 4px;
}
.ninebox-talent-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 4px;
}
.ninebox-talent-list::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.35);
}

.ninebox-talent-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ninebox-talent-item:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.ninebox-talent-item:active {
  transform: translateX(2px) scale(0.99);
}

.module-container {
  padding-bottom: 24px;
}

/* ==========================================================================
   TALENT MATCHING & PEMETAAN PENUGASAN (REFACTORED ENTERPRISE UI SYSTEM)
   ========================================================================== */

/* 2-Column Responsive Split Layout (Left Sticky, Right Scroll) */
.matching-layout-grid {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 20px;
  margin-top: 20px;
  align-items: start;
  min-height: calc(100vh - var(--header-height, 64px) - 100px);
}

@media (max-width: 1080px) {
  .matching-layout-grid {
    grid-template-columns: 1fr;
  }
}

.matching-left-panel {
  position: sticky;
  top: calc(var(--header-height, 64px) + 16px);
  height: calc(100vh - var(--header-height, 64px) - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scrollbar-width: thin;
}

.matching-left-panel::-webkit-scrollbar {
  width: 5px;
}
.matching-left-panel::-webkit-scrollbar-thumb {
  background: var(--gray-300, #CBD5E1);
  border-radius: 999px;
}

.matching-right-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Left Panel Segmented View Switcher */
.segmented-control {
  display: flex;
  background: var(--gray-100, #F1F5F9);
  border: 1px solid var(--gray-200, #E2E8F0);
  border-radius: var(--radius-lg, 14px);
  padding: 4px;
  gap: 4px;
}

.segmented-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border: none;
  background: transparent;
  border-radius: var(--radius-md, 10px);
  font-family: var(--font-body, sans-serif);
  font-size: var(--text-xs, 12px);
  font-weight: 700;
  color: var(--gray-500, #64748B);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 38px;
}

.segmented-tab:hover {
  color: var(--gray-800, #1E293B);
}

.segmented-tab.active {
  background: #FFFFFF;
  color: var(--brand-700, #4338CA);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.tab-count-badge {
  background: var(--brand-50, #EEF2FF);
  color: var(--brand-600, #4F46E5);
  border: 1px solid var(--brand-200, #C7D2FE);
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 999px;
  font-weight: 700;
}

/* Form Controls & Validation */
.form-group {
  margin-bottom: 12px;
}

.form-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body, sans-serif);
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700, #334155);
  margin-bottom: 5px;
}

.form-req {
  color: var(--danger-600, #DC2626);
  font-weight: 700;
}

.form-control {
  width: 100%;
  font-family: var(--font-body, sans-serif);
  font-size: 13px;
  padding: 9px 12px;
  border-radius: var(--radius-md, 10px);
  border: 1.5px solid var(--gray-300, #CBD5E1);
  background: #FFFFFF;
  color: var(--gray-900, #0F172A);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-control:focus {
  border-color: var(--brand-600, #4F46E5);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.20);
}

.form-control.is-invalid {
  border-color: var(--danger-600, #DC2626) !important;
  background: #FEF2F2;
}

.form-error-text {
  font-size: 11px;
  color: var(--danger-600, #DC2626);
  margin-top: 4px;
  display: none;
  align-items: center;
  gap: 4px;
}

.form-error-text.show {
  display: flex;
}

/* Type Toggle Buttons */
.type-toggle-chic {
  display: flex;
  background: var(--gray-100, #F1F5F9);
  padding: 3px;
  border-radius: 12px;
  gap: 4px;
  border: 1px solid var(--gray-200, #E2E8F0);
}

.type-toggle-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 7px 10px;
  border-radius: 9px;
  font-family: var(--font-body, sans-serif);
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500, #64748B);
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 34px;
}

.type-toggle-btn.active {
  background: #FFFFFF;
  color: var(--gray-900, #0F172A);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
  font-weight: 700;
}

/* Standardized Type Badges (Using semantic colors) */
.type-badge-pill {
  font-family: var(--font-body, sans-serif);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.type-badge-project {
  background: var(--brand-50, #EEF2FF);
  color: var(--brand-700, #4338CA);
  border: 1px solid var(--brand-200, #C7D2FE);
}

.type-badge-training {
  background: var(--success-50, #ECFDF5);
  color: var(--success-700, #047857);
  border: 1px solid var(--success-200, #A7F3D0);
}

.type-badge-sertifikasi {
  background: var(--info-50, #EFF6FF);
  color: var(--info-700, #1D4ED8);
  border: 1px solid var(--info-200, #BFDBFE);
}

/* Tier Header Bars (Harmonious Enterprise Hierarchy) */
.tier-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-radius: 12px;
  margin-top: 18px;
  margin-bottom: 10px;
  font-family: var(--font-display, sans-serif);
  font-size: 13px;
  font-weight: 700;
}

.tier-header-1 {
  background: var(--brand-50, #EEF2FF);
  color: var(--brand-900, #312E81);
  border: 1px solid var(--brand-200, #C7D2FE);
}

.tier-header-2 {
  background: var(--success-50, #ECFDF5);
  color: var(--success-700, #047857);
  border: 1px solid var(--success-200, #A7F3D0);
}

.tier-header-3 {
  background: var(--warning-50, #FFFBEB);
  color: var(--warning-700, #B45309);
  border: 1px solid var(--warning-200, #FDE68A);
}

.tier-header-4 {
  background: var(--gray-100, #F1F5F9);
  color: var(--gray-700, #334155);
  border: 1px solid var(--gray-200, #E2E8F0);
}

/* Quiet Tier Chip on Candidate Cards */
.quiet-tier-chip {
  font-family: var(--font-body, sans-serif);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--gray-100, #F1F5F9);
  color: var(--gray-600, #475569);
  border: 1px solid var(--gray-200, #E2E8F0);
  cursor: help;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.quiet-tier-chip-1 {
  background: var(--brand-50, #EEF2FF);
  color: var(--brand-700, #4338CA);
  border-color: var(--brand-200, #C7D2FE);
}

/* Compact Candidate Card */
.matching-candidate-card-compact {
  border: 1px solid var(--gray-200, #E2E8F0);
  border-radius: 14px;
  padding: 14px 16px;
  background: #FFFFFF;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  transition: all 0.2s ease;
}

.matching-candidate-card-compact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  border-color: var(--gray-300, #CBD5E1);
}

/* Equal-Height 3-Pillar Relevance Grid */
.matching-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: stretch;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .matching-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.matching-pillar-box {
  background: var(--gray-50, #F8FAFC);
  border: 1px solid var(--gray-200, #E2E8F0);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 64px;
  transition: all 0.18s ease;
}

.matching-pillar-box:hover {
  background: #FFFFFF;
  border-color: var(--gray-300, #CBD5E1);
}

.matching-pillar-header {
  font-family: var(--font-body, sans-serif);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--gray-700, #334155);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.matching-pillar-content {
  font-family: var(--font-body, sans-serif);
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--gray-600, #475569);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: default;
}

/* Circular 56px Floating Action Button (FAB) */
#btn-floating-ai {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-600, #4F46E5) 0%, #7C3AED 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.38), 0 2px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 9000;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

#btn-floating-ai:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.48);
}

#btn-floating-ai:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.35);
}

.fab-live-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  border: 1.5px solid #FFFFFF;
}

/* Skeleton Loading State Shimmer */
.skeleton-box {
  background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
  background-size: 200% 100%;
  animation: shimmerLoader 1.5s infinite;
  border-radius: 8px;
}

@keyframes shimmerLoader {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Empty & Error State Illustrations */
.state-container {
  padding: 36px 24px;
  text-align: center;
  background: #FFFFFF;
  border: 1px dashed var(--gray-300, #CBD5E1);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.state-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-50, #EEF2FF);
  color: var(--brand-600, #4F46E5);
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ==========================================================================
   MODULE 03: KNOWLEDGE HUB ENTERPRISE SUBSYSTEM (7-DOMAINS & VALIDATION FLOW)
   ========================================================================== */

/* Global Aggregate Stats Filter Chips */
.kh-stat-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 24px 0;
}
.kh-stat-chip {
  background: #FFFFFF;
  border: 1px solid var(--gray-200, #E2E8F0);
  border-radius: 14px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  text-align: left;
}
.kh-stat-chip:hover {
  border-color: var(--brand-400, #818CF8);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.08);
}
.kh-stat-chip.active {
  background: var(--brand-50, #EEF2FF);
  border-color: var(--brand-600, #4F46E5);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.12);
}
.kh-stat-chip-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kh-stat-chip-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  color: var(--gray-900, #0F172A);
}
.kh-stat-chip-lbl {
  font-size: 11.5px;
  color: var(--gray-500, #64748B);
  font-weight: 600;
  margin-top: 2px;
}

/* 7-Card Competency Domain Grid */
.kh-domain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 1200px) {
  .kh-domain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .kh-domain-grid {
    grid-template-columns: 1fr;
  }
}

/* Domain Card Design Rules:
   - Neutral white cards on slightly darker canvas
   - Separation by shadow, not 1px heavy borders
   - Uniform height via CSS Grid
   - Entire card is an accessible button / card
   - Focus ring & hover raises shadow
*/
.kh-domain-card {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  text-align: left;
  position: relative;
  outline: none;
}
.kh-domain-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09), 0 2px 6px rgba(15, 23, 42, 0.04);
  border-color: rgba(199, 210, 254, 0.9);
}
.kh-domain-card:focus-visible {
  ring: 2px solid var(--brand-600, #4F46E5);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.25);
}

.kh-domain-card.is-empty {
  opacity: 0.78;
  background: rgba(248, 250, 252, 0.85);
  border: 1.5px dashed var(--gray-300, #CBD5E1);
}
.kh-domain-card.is-empty:hover {
  opacity: 1;
  border-color: var(--brand-400, #818CF8);
}

/* Subtle colored icon chip per domain */
.kh-card-icon-chip {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.kh-domain-card:hover .kh-card-icon-chip {
  transform: scale(1.06);
}

.kh-card-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900, #0F172A);
  line-height: 1.3;
  margin-top: 14px;
}
.kh-card-desc {
  font-size: 12px;
  color: var(--gray-500, #64748B);
  margin-top: 5px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kh-card-meta {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100, #F1F5F9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: var(--gray-600, #475569);
}
.kh-card-counts {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.kh-card-experts {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: var(--brand-700, #4338CA);
  background: var(--brand-50, #EEF2FF);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10.5px;
}

.kh-card-pending-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--warning-700, #B45309);
  background: var(--warning-50, #FFFBEB);
  border: 1px solid var(--warning-200, #FDE68A);
  padding: 2px 8px;
  border-radius: 999px;
  margin-top: 8px;
}

/* Breadcrumbs & Domain Switcher */
.kh-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.kh-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500, #64748B);
}
.kh-breadcrumb-link {
  color: var(--brand-600, #4F46E5);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.kh-breadcrumb-link:hover {
  text-decoration: underline;
}

/* Role-Aware Tabs in Domain */
.kh-role-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1.5px solid var(--gray-200, #E2E8F0);
  margin-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.kh-role-tab-btn {
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-500, #64748B);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
  margin-bottom: -1.5px;
}
.kh-role-tab-btn:hover {
  color: var(--brand-600, #4F46E5);
}
.kh-role-tab-btn.active {
  color: var(--brand-600, #4F46E5);
  border-bottom-color: var(--brand-600, #4F46E5);
}

/* Equal-Height 2-Column Grid for Repository View */
.kh-repo-layout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 1024px) {
  .kh-repo-layout-grid {
    grid-template-columns: 1fr;
  }
}

/* Repository Item Row (Defect fix: author/date/read count in one line, no title squeezing) */
.kh-doc-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100, #F1F5F9);
  transition: transform 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.kh-doc-row:hover {
  transform: translateX(4px);
}
.kh-doc-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.kh-doc-title {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--gray-900, #0F172A);
  line-height: 1.35;
}
.kh-doc-meta {
  font-size: 11.5px;
  color: var(--gray-500, #64748B);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Potential Points Live Box */
.kh-potential-points-banner {
  background: linear-gradient(135deg, var(--brand-50, #EEF2FF) 0%, #FFFFFF 100%);
  border: 1.5px solid var(--brand-200, #C7D2FE);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.kh-potential-points-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-700, #4338CA);
}

/* Point Ledger Table */
.kh-ledger-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  text-align: left;
}
.kh-ledger-table th {
  background: var(--gray-50, #F8FAFC);
  padding: 10px 14px;
  font-weight: 700;
  color: var(--gray-600, #475569);
  border-bottom: 1px solid var(--gray-200, #E2E8F0);
  font-size: 11.5px;
}
.kh-ledger-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--gray-100, #F1F5F9);
  color: var(--gray-800, #1E293B);
}


/* ==========================================================================
   MODULE 04: EXECUTIVE MANAGEMENT DASHBOARD (PROFESSIONAL REBUILD)
   ========================================================================== */

/* Row 1: Sticky Global Filter Bar */
.dash-filter-bar-sticky {
  position: sticky;
  top: 72px;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--gray-200, #E2E8F0);
  border-radius: 16px;
  padding: 10px 18px;
  margin: 16px 0 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.dash-filter-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.dash-filter-item {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* Row 2: 5 Uniform Neutral KPI Tiles */
.dash-kpi-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px;
  margin-bottom: 22px;
}
.dash-kpi-grid-5 > * {
  grid-column: auto !important;
}
@media (max-width: 1024px) {
  .dash-kpi-grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .dash-kpi-grid-5 > :last-child {
    grid-column: span 2 !important;
  }
}
@media (max-width: 540px) {
  .dash-kpi-grid-5 {
    grid-template-columns: 1fr !important;
  }
  .dash-kpi-grid-5 > :last-child {
    grid-column: auto !important;
  }
}

.dash-kpi-tile {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: auto;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  outline: none;
}
.dash-kpi-tile:hover {
  transform: translateY(-2px);
  border-color: var(--brand-400, #818CF8);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.08);
}
.dash-kpi-tile:focus-visible {
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.25);
}
.dash-kpi-tile.active-filter {
  background: var(--brand-50, #EEF2FF);
  border-color: var(--brand-600, #4F46E5);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.12);
}

.dash-kpi-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-600, #475569);
  line-height: 1.3;
}
.dash-kpi-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--gray-900, #0F172A);
  line-height: 1.1;
  margin-top: 6px;
}
.dash-kpi-subtext {
  font-size: 11px;
  color: var(--gray-500, #64748B);
  margin-top: 4px;
}
.dash-kpi-footer {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--gray-100, #F1F5F9);
}
.dash-kpi-delta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.dash-kpi-delta.pos { color: var(--success-700, #15803D); }
.dash-kpi-delta.neg { color: var(--danger-700, #B91C1C); }
.dash-kpi-delta.neu { color: var(--gray-500, #64748B); }

/* Row 3: Equal Height Charts Grid */
.dash-chart-grid-2 {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 22px;
}
@media (max-width: 1024px) {
  .dash-chart-grid-2 {
    grid-template-columns: 1fr;
  }
}

.dash-chart-card {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.dash-chart-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.dash-chart-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900, #0F172A);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dash-chart-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Horizontal Bar Component */
.dash-hbar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.15s ease;
}
.dash-hbar-row:hover {
  background: var(--gray-50, #F8FAFC);
}
.dash-hbar-label {
  width: 180px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700, #334155);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-hbar-track {
  flex: 1;
  background: var(--gray-100, #F1F5F9);
  border-radius: 8px;
  height: 20px;
  overflow: hidden;
  position: relative;
  display: flex;
}
.dash-hbar-fill {
  background: var(--brand-600, #4F46E5);
  height: 100%;
  border-radius: 6px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
}
.dash-hbar-val {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-900, #0F172A);
  width: 44px;
  text-align: right;
}

/* Monthly Activity Chart (12 Bars + Moving Average) */
.dash-vbar-container {
  height: 210px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 10px 0 6px 0;
  border-bottom: 1px solid var(--gray-200, #E2E8F0);
  position: relative;
}
.dash-vbar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  position: relative;
}
.dash-vbar-stick {
  width: 100%;
  max-width: 32px;
  background: var(--brand-600, #4F46E5);
  border-radius: 6px 6px 0 0;
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.dash-vbar-stick:hover {
  background: var(--brand-500, #6366F1);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}
.dash-vbar-stick.in-progress {
  background: repeating-linear-gradient(
    45deg,
    var(--brand-600, #4F46E5),
    var(--brand-600, #4F46E5) 6px,
    var(--brand-400, #818CF8) 6px,
    var(--brand-400, #818CF8) 12px
  );
  border: 1.5px dashed var(--brand-300, #C7D2FE);
}

/* Modal Alerts & Panels */
.dash-alert-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.dash-alert-pill.kritis {
  background: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECDD3;
}
.dash-alert-pill.warning {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FDE68A;
}

/* Medical Role Warning Box */
.dash-medical-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 16px 20px;
  margin-top: 20px;
}

/* ======================================================== */
/* REDESIGNED EXECUTIVE DOSSIER POPUP & PRINT STYLES */
/* ======================================================== */

.dossier-modal-container {
  width: 95%;
  max-width: 960px;
  max-height: 90vh;
  height: 90vh;
  background: #FFFFFF;
  border-radius: 22px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  animation: dossierModalAppear 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dossierModalAppear {
  from { opacity: 0; transform: scale(0.97) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 768px) {
  .dossier-modal-container {
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    max-width: 100vw !important;
    border-radius: 0 !important;
  }
}

/* Dossier Fixed Compact Header (<= 200px) */
.dossier-fixed-header {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  padding: 14px 24px 12px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}

.dossier-header-main {
  display: flex;
  gap: 16px;
  align-items: center;
  position: relative;
}

@media (max-width: 640px) {
  .dossier-header-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.dossier-photo-col {
  flex-shrink: 0;
}

.dossier-photo-wrapper {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.dossier-photo-img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid rgba(255, 255, 255, 0.95);
  background: #1E293B;
  display: block;
}

.dossier-avatar-fallback {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, 'Inter Tight', sans-serif);
  font-weight: 800;
  font-size: 28px;
  border: 2.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.15);
}

.dossier-photo-edit-btn {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-600, #4F46E5);
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, background 0.15s ease;
}

.dossier-photo-edit-btn:hover {
  background: var(--brand-500, #6366F1);
  transform: scale(1.08);
}

.dossier-info-col {
  flex: 1;
  min-width: 0;
}

.dossier-meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

@media (max-width: 640px) {
  .dossier-meta-top {
    justify-content: center;
  }
}

.dossier-nip-badge {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  font-weight: 700;
  color: #38BDF8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dossier-meta-pill {
  font-size: 11px;
  font-weight: 600;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
}

.dossier-nama-heading {
  font-family: var(--font-display, 'Inter Tight', sans-serif);
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.25;
}

.dossier-jabatan-sub {
  font-size: 13px;
  color: #CBD5E1;
  margin-top: 3px;
  font-weight: 500;
}

/* Domain Header Row */
.dossier-domains-header-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

@media (max-width: 640px) {
  .dossier-domains-header-row {
    justify-content: center;
  }
}

.dossier-primary-domain-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99, 102, 241, 0.25);
  border: 1px solid rgba(129, 140, 248, 0.4);
  color: #E0E7FF;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 8px;
}

.dossier-secondary-domains-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.dossier-sec-domain-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94A3B8;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}

/* Tier Badge Row */
.dossier-tier-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  position: relative;
}

.dossier-ready-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.dossier-tier-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

.dossier-tier-info-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #CBD5E1;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  transition: all 0.15s ease;
}

.dossier-tier-info-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.dossier-tier-tooltip-box {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  background: #0F172A;
  border: 1px solid #334155;
  color: #F1F5F9;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 11.5px;
  line-height: 1.45;
  width: 280px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  z-index: 50;
  animation: fadeIn 0.15s ease;
}

.dossier-close-btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.15s ease;
}

.dossier-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Action Bar */
.dossier-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 10px;
}

.dossier-action-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dossier-btn-action {
  padding: 7px 14px;
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Dossier Single Scroll Body */
.dossier-body-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  background: #F8FAFC;
  padding: 24px 28px;
  scroll-behavior: smooth;
}

.dossier-sections-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 240px;
}

/* Section Cards */
.dossier-card-section {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  scroll-margin-top: 195px;
}

.dossier-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.dossier-section-title {
  font-family: var(--font-display, 'Inter Tight', sans-serif);
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.dossier-section-sub {
  font-size: 12px;
  color: #64748B;
  margin-top: 2px;
}

.dossier-section-hint {
  font-size: 11.5px;
  color: #64748B;
  font-weight: 500;
}

/* Evidence Grid */
.dossier-domain-evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.dossier-evidence-card {
  background: #F8FAFC;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dossier-evidence-domain-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #1E293B;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dossier-evidence-stats {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: #64748B;
}

.dossier-evidence-stats b {
  color: #0F172A;
}

/* 9-Box Transparency Card */
.dossier-transparency-card {
  background: #F8FAFC;
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 12px;
}

/* Profile Info Grid */
.dossier-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.dossier-profile-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #F8FAFC;
  padding: 12px 16px;
  border-radius: 10px;
}

.dossier-item-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748B;
  letter-spacing: 0.05em;
}

.dossier-item-value {
  font-size: 13px;
  font-weight: 600;
  color: #0F172A;
}

.dossier-item-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-600, #4F46E5);
  text-decoration: none;
}

.dossier-item-link:hover {
  text-decoration: underline;
}

/* Dossier Tables */
.dossier-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.dossier-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  text-align: left;
}

.dossier-table th {
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748B;
  background: #F8FAFC;
  border-bottom: 2px solid #E2E8F0;
  white-space: nowrap;
}

.dossier-table td {
  padding: 12px;
  border-bottom: 1px solid #F1F5F9;
  color: #1E293B;
  vertical-align: middle;
}

.dossier-table tbody tr:hover td {
  background: #F8FAFC;
}

.dossier-table-sort-controls {
  display: flex;
  gap: 6px;
}

.dossier-sort-btn {
  padding: 4px 10px;
  font-size: 11px;
}

/* Verdict Badges (Strict semantic colors) */
.badge-verdict {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.badge-verdict-lulus,
.badge-verdict-kompeten,
.badge-verdict-fit {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.badge-verdict-tidak-lulus,
.badge-verdict-belum-kompeten,
.badge-verdict-tidak-tersedia {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECDD3;
}

.badge-verdict-belum-ada {
  background: #F8FAFC;
  color: #475569;
  border: 1px solid #CBD5E1;
}

.badge-verdict-expired {
  background: #F1F5F9;
  color: #64748B;
  border: 1px solid #CBD5E1;
}

.badge-verdict-warning {
  background: #FFFBEB;
  color: #92400E;
  border: 1px solid #FDE68A;
}

/* Empty State & See More */
.dossier-empty-state {
  padding: 24px;
  text-align: center;
  color: #64748B;
  font-size: 12.5px;
  background: #F8FAFC;
  border-radius: 10px;
  margin-top: 8px;
}

.dossier-see-more-wrap {
  text-align: center;
  margin-top: 12px;
}

.dossier-see-more-btn {
  background: transparent;
  border: none;
  color: var(--brand-600, #4F46E5);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.dossier-see-more-btn:hover {
  background: #EEF2FF;
}

/* Health Section & Privacy Gating */
.dossier-medical-privacy-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #EEF2FF;
  color: #4338CA;
  font-size: 11px;
  font-weight: 700;
}

.dossier-health-public-box {
  background: #F8FAFC;
  border-radius: 12px;
  padding: 16px 18px;
}

.dossier-health-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.dossier-deploy-status-val {
  font-size: 15px;
  font-weight: 800;
  color: #065F46;
  margin-top: 3px;
}

.dossier-deploy-date-val {
  font-size: 13px;
  font-weight: 700;
  color: #1E293B;
  margin-top: 3px;
}

.dossier-redaction-banner {
  margin-top: 12px;
  background: #F1F5F9;
  border-left: 3px solid #0072BC;
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  font-size: 11.5px;
  color: #475569;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.dossier-health-priv-box {
  background: #F8FAFC;
  border-radius: 12px;
  padding: 16px 18px;
}

.dossier-priv-notice {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.dossier-lab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.dossier-lab-card {
  background: #FFFFFF;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
}

/* Print Stylesheet for Unduh Dossier (PDF) */

/* ========================================================
   ADDENDUM: AVAILABILITY, ASSETS, OUTCOMES, DOCS & COMPARE
   ======================================================== */

/* Availability Derived Pill */
.dossier-avail-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}
.dossier-avail-pill-tersedia_sekarang {
  background: #ECFDF5;
  color: #065F46;
  border-color: #A7F3D0;
}
.dossier-avail-pill-tersedia_nanti,
.dossier-avail-pill-cuti_berhalangan {
  background: #EFF6FF;
  color: #1E40AF;
  border-color: #BFDBFE;
}
.dossier-avail-pill-terikat {
  background: #F3E8FF;
  color: #6B21A8;
  border-color: #D8B4FE;
}
.dossier-avail-pill-tidak_bersedia {
  background: #FEF2F2;
  color: #991B1B;
  border-color: #FCA5A5;
}

/* 6-Month Timeline Bar */
.dossier-timeline-wrapper {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
  margin-top: 10px;
}
.dossier-timeline-months {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}
.dossier-timeline-month-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #64748B;
  text-align: center;
}
.dossier-timeline-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  height: 28px;
}
.dossier-timeline-block {
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-mono);
  transition: all 0.2s ease;
}
.dossier-tb-available {
  background: #10B981;
  color: #FFFFFF;
}
.dossier-tb-assigned {
  background: #8B5CF6;
  color: #FFFFFF;
}
.dossier-tb-unavailable {
  background: #F59E0B;
  color: #FFFFFF;
}
.dossier-tb-inactive {
  background: #E2E8F0;
  color: #94A3B8;
}

/* Asset Fit Badges & Groups */
.dossier-asset-group-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.dossier-asset-group-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dossier-asset-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dossier-asset-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #1E293B;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

/* Candidate Matching Breakdown */
.matching-reason-box {
  background: #F8FAFC;
  border-left: 3px solid #0072BC;
  padding: 8px 12px;
  border-radius: 0 8px 8px 0;
  font-size: 11.5px;
  color: #334155;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.matching-reason-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-mono);
}
.matching-tag-match {
  background: #DCFCE7;
  color: #15803D;
}
.matching-tag-partial {
  background: #FEF3C7;
  color: #B45309;
}
.matching-tag-mismatch {
  background: #FEE2E2;
  color: #B91C1C;
}

/* Document Checklist */
.dossier-doc-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}
.dossier-doc-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* Assignment Outcome Review Cards */
.dossier-outcome-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}
.dossier-outcome-stars {
  color: #F59E0B;
  font-size: 14px;
  letter-spacing: 1px;
}
.dossier-aspect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
  margin: 10px 0;
  background: #F8FAFC;
  padding: 10px 12px;
  border-radius: 8px;
}
.dossier-aspect-item {
  font-size: 11px;
  color: #475569;
}
.dossier-aspect-bar {
  height: 4px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 3px;
}
.dossier-aspect-fill {
  height: 100%;
  background: #3B82F6;
  border-radius: 999px;
}

/* Completeness Meter */
.dossier-completeness-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  color: #F8FAFC;
}
.dossier-completeness-track {
  width: 50px;
  height: 6px;
  background: rgba(255,255,255,0.25);
  border-radius: 999px;
  overflow: hidden;
}
.dossier-completeness-fill {
  height: 100%;
  background: #10B981;
  border-radius: 999px;
}

/* Floating Compare Bar in Module 02 */
.matching-compare-floating-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #0F172A;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.4);
  z-index: 1000;
  border: 1px solid rgba(255,255,255,0.15);
  animation: floatUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Side-by-Side Candidate Comparison Modal */
.compare-modal-container {
  width: 95vw;
  max-width: 1200px;
  height: 88vh;
  background: #FFFFFF;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.35);
}
.compare-table-wrapper {
  flex: 1;
  overflow: auto;
}
.compare-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.compare-matrix-table th,
.compare-matrix-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #E2E8F0;
  vertical-align: top;
}
.compare-matrix-table th.sticky-col,
.compare-matrix-table td.sticky-col {
  position: sticky;
  left: 0;
  background: #F8FAFC;
  z-index: 2;
  width: 220px;
  min-width: 220px;
  font-family: var(--font-display);
  font-weight: 700;
  color: #334155;
  border-right: 2px solid #CBD5E1;
}

/* Catatan Internal & Jejak Audit */
.dossier-note-card {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #78350F;
}
.dossier-audit-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid #F1F5F9;
  font-size: 11.5px;
}

@media print {
  body * {
    visibility: hidden;
  }
  #modal-talent,
  #modal-talent * {
    visibility: visible;
  }
  #modal-talent {
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    height: auto !important;
    background: #FFFFFF !important;
    display: block !important;
  }
  .dossier-modal-container {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }
  .dossier-fixed-header {
    background: #0F172A !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .dossier-close-btn,
  #dossier-sec-admin,
  .dossier-admin-only-section,
  .matching-compare-floating-bar,
  #modal-candidate-compare,
  .dossier-action-bar,
  .dossier-photo-edit-btn,
  .dossier-see-more-btn,
  .dossier-table-sort-controls,
  .dossier-overflow-menu-wrapper,
  #modal-confirm-assign {
    display: none !important;
  }
  body:not(.medical-mode) #dossier-health-privileged-view {
    display: none !important;
  }
  body:not(.medical-mode) #dossier-health-public-view {
    display: block !important;
  }
  body:not(.medical-mode) #dossier-health-redaction-notice {
    display: flex !important;
    border: 1px solid #DC2626 !important;
    color: #991B1B !important;
    background: #FEF2F2 !important;
    font-weight: 700 !important;
    margin-top: 10px !important;
    padding: 10px 14px !important;
  }
  .dossier-body-scroll {
    overflow: visible !important;
    height: auto !important;
    padding: 20px 0 !important;
    background: #FFFFFF !important;
  }
  .dossier-card-section {
    box-shadow: none !important;
    border: 1px solid #E2E8F0 !important;
    page-break-inside: avoid;
  }
}

/* Modal Open Body Lock (Single Scrollbar Guarantee) */
body.modal-open {
  overflow: hidden !important;
}

/* AI Chatbot Visibility Toggle (Hidden per user request) */
#btn-floating-ai,
#ai-advisor-modal {
  display: none !important;
}

/* AI Matching Quotes & Streaming Progress Animation */
@keyframes aiProgressIndet {
  0% { transform: translateX(-100%); width: 25%; }
  50% { width: 55%; }
  100% { transform: translateX(350%); width: 25%; }
}

@keyframes quoteFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.quote-stream-active {
  animation: quoteFadeIn 0.45s ease forwards;
}

  .dc-bar-label { width: 88px; font-size: 11.5px; }
}

/* --------------------------------------------------------------------------
   HEADER DOSSIER — EXECUTIVE CAREER WOMAN THEME (ELEGANT PLUM & ROSE CHAMPAGNE)
   -------------------------------------------------------------------------- */
#modal-talent .dossier-modal-container {
  border: 1px solid rgba(244, 114, 182, 0.25);
  box-shadow: 0 25px 60px -10px rgba(33, 14, 46, 0.45);
}

#modal-talent .dossier-fixed-header {
  background: linear-gradient(135deg, #140E22 0%, #1D1331 45%, #2B1542 100%);
  color: #FFFFFF;
  padding: 16px 20px 14px 20px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(244, 114, 182, 0.22);
  position: relative;
  z-index: 10;
  box-sizing: border-box;
  max-height: none;
  overflow: visible;
  box-shadow: 0 4px 20px rgba(20, 14, 34, 0.45);
}

#modal-talent .dossier-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(244, 114, 182, 0.25);
  color: #FBCFE8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.15s ease;
  z-index: 20;
}
#modal-talent .dossier-close-btn:hover {
  background: rgba(244, 114, 182, 0.25);
  color: #FFFFFF;
  border-color: #F472B6;
}

#modal-talent .dossier-header-main {
  display: flex;
  gap: 0;
  align-items: stretch;
  position: relative;
}

/* LEFT COLUMN: AVATAR + ACTIONS (WIDTH ~144px) */
.dossier-sidebar-col {
  width: 144px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 18px;
  border-right: 1px solid rgba(244, 114, 182, 0.18);
  box-sizing: border-box;
}

.dossier-photo-wrapper {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  margin-bottom: 10px;
}

.dossier-photo-img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #FFFFFF;
  background: #1E152E;
  display: block;
}

.dossier-avatar-fallback {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, 'Inter Tight', sans-serif);
  font-weight: 800;
  font-size: 32px;
  border: 2.5px solid #FFFFFF;
  color: #FFFFFF;
  background: linear-gradient(135deg, #FB7185 0%, #E11D48 100%);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
}

.dossier-photo-edit-btn {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F43F5E 0%, #BE185D 100%);
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(190, 24, 93, 0.4);
  transition: transform 0.15s ease;
}
.dossier-photo-edit-btn:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #FB7185 0%, #DB2777 100%);
}

.dossier-sidebar-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dossier-btn-assign-white {
  width: 100%;
  background: #FFFFFF;
  color: #831843;
  border: none;
  border-radius: 9999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18), 0 0 10px rgba(244, 114, 182, 0.2);
  transition: all 0.15s ease;
}
.dossier-btn-assign-white:hover {
  background: #FDF2F8;
  color: #701A75;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(244, 114, 182, 0.35);
}
.dossier-btn-assign-white.btn-chic-disabled,
.dossier-btn-assign-white:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.dossier-actions-subrow {
  width: 100%;
  display: flex;
  gap: 5px;
  align-items: center;
}

.dossier-btn-complete-dark {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  color: #FDF2F8;
  border: 1px solid rgba(244, 114, 182, 0.32);
  border-radius: 9999px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
}
.dossier-btn-complete-dark:hover {
  background: rgba(244, 114, 182, 0.18);
  border-color: #F472B6;
  color: #FFFFFF;
}

.dossier-btn-overflow-dark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #FBCFE8;
  border: 1px solid rgba(244, 114, 182, 0.32);
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
}
.dossier-btn-overflow-dark:hover {
  background: rgba(244, 114, 182, 0.18);
  color: #FFFFFF;
  border-color: #F472B6;
}

/* RIGHT COLUMN: MAIN PROFILE INFO */
.dossier-body-col {
  flex: 1;
  min-width: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dossier-top-meta-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-right: 32px;
  margin-bottom: 2px;
}

.dossier-nip-cyan {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  font-weight: 700;
  color: #F472B6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dossier-exp-pill {
  font-size: 11px;
  font-weight: 600;
  color: #FDF2F8;
  background: rgba(244, 114, 182, 0.14);
  border: 1px solid rgba(244, 114, 182, 0.28);
  padding: 2px 9px;
  border-radius: 9999px;
  white-space: nowrap;
}

.dossier-name-title-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  line-height: 1.25;
}

.dossier-nama-heading {
  font-family: var(--font-display, 'Inter Tight', sans-serif);
  font-size: 19px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
}

.dossier-jabatan-sub {
  font-size: 14.5px;
  font-weight: 500;
  color: #E9D5FF;
  margin: 0;
  line-height: 1.2;
}

/* DOMAIN & COMPETENCY */
.dossier-domain-section {
  margin-top: 5px;
}

.dossier-primary-domain-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #FFFFFF;
}

.dossier-wrench-icon {
  font-size: 13px;
  color: #F472B6;
  display: inline-flex;
  align-items: center;
}

.dossier-sec-domain-list {
  margin-top: 2px;
  padding-left: 19px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  color: #E2D9F3;
  font-size: 12.5px;
}

.dossier-sec-bullet {
  color: #E2D9F3;
  line-height: 1.35;
}

/* BOTTOM ATTRIBUTES SPLIT (STATUS LEFT, COMPLETENESS RIGHT) */
.dossier-bottom-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-top: 8px;
}

.dossier-status-badge-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dossier-status-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: #4ADE80;
  line-height: 1.35;
}

.dossier-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
}

.dossier-status-bullet {
  color: rgba(244, 114, 182, 0.4);
  font-size: 11px;
  margin: 0 1px;
}

.dossier-status-dot-green {
  color: #22C55E;
  font-size: 10px;
  line-height: 1;
}

.dossier-status-dot-red {
  color: #FB7185;
  font-size: 10px;
  line-height: 1;
}

.dossier-status-stale,
.dossier-status-blocked {
  color: #FB7185 !important;
}

.dossier-completeness-corner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  font-size: 12px;
  color: #D8B4FE;
  text-align: right;
  flex-shrink: 0;
  line-height: 1.35;
}

.dossier-corner-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dossier-corner-label {
  color: #D8B4FE;
}

.dossier-corner-pct {
  color: #FDE047;
  font-weight: 700;
}

.dossier-conf-level {
  color: #FDE047;
  font-weight: 700;
}

.dossier-verif-stamp {
  color: #C4B5FD;
  font-size: 11.5px;
}

/* CAREER WOMAN EXECUTIVE ACCENTS INSIDE MODAL BODY */
#modal-talent .dossier-section-title {
  color: #3B0764;
}
#modal-talent .dossier-section-title span[class^="icon-slot-"] {
  color: #BE185D;
}

#modal-talent #dossier-sec-framework {
  border: 1px solid #E9D5FF !important;
  background: linear-gradient(180deg, #FAF5FF 0%, #FFFFFF 100%) !important;
}
#modal-talent #heading-sec-framework {
  color: #581C87 !important;
}
#modal-talent #heading-sec-framework .icon-slot-award {
  color: #9333EA !important;
}
#modal-talent #dossier-framework-level-pill {
  background: #FDF2F8 !important;
  color: #9D174D !important;
  border: 1px solid #FBCFE8 !important;
}
#modal-talent #dossier-framework-total-score-badge {
  background: #F3E8FF !important;
  color: #6B21A8 !important;
}

#modal-talent .dossier-table th {
  background: #FAF5FF;
  color: #581C87;
  border-bottom: 2px solid #E9D5FF;
}
#modal-talent .dossier-table tr:hover td {
  background: #FDF4FF;
}

@media (max-width: 768px) {
  #modal-talent .dossier-header-main {
    flex-direction: column;
    gap: 14px;
  }
  .dossier-sidebar-col {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(244, 114, 182, 0.2);
    padding-right: 0;
    padding-bottom: 12px;
  }
  .dossier-body-col {
    padding-left: 0;
  }
  .dossier-top-meta-bar {
    padding-right: 0;
    justify-content: flex-start;
  }
  .dossier-bottom-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .dossier-completeness-corner {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 768px) {
  #modal-talent .dossier-header-main {
    flex-direction: column;
    gap: 14px;
  }
  .dossier-sidebar-col {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 0;
    padding-bottom: 12px;
  }
  .dossier-body-col {
    padding-left: 0;
  }
  .dossier-top-meta-bar {
    padding-right: 0;
    justify-content: flex-start;
  }
  .dossier-bottom-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .dossier-completeness-corner {
    align-items: flex-start;
    text-align: left;
  }
}

/* ==========================================================================
   SEKSI RIWAYAT DARI BIODATA RESMI (pendidikan / jabatan / penghargaan)
   ========================================================================== */
.cv-block { margin-bottom: 20px; }
.cv-block:last-child { margin-bottom: 0; }
.cv-block-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #64748B;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cv-count {
  font-size: 10px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #F1F5F9;
  color: #475569;
  letter-spacing: 0;
  text-transform: none;
}

.cv-edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}
.cv-edu-item {
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 13px;
  background: #FCFDFE;
}
.cv-edu-jenjang {
  font-family: var(--font-display), 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #4338CA;
}
.cv-edu-thn {
  font-family: var(--font-mono), 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  margin-left: 4px;
}
.cv-edu-bidang { font-size: 12px; color: #334155; margin-top: 3px; line-height: 1.4; }
.cv-edu-lembaga { font-size: 11px; color: #64748B; margin-top: 2px; line-height: 1.4; }

.cv-timeline { list-style: none; margin: 0; padding: 0 0 0 4px; }
.cv-tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  padding: 0 0 14px 18px;
  border-left: 2px solid #E2E8F0;
}
.cv-tl-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.cv-tl-dot {
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0072BC;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #BAE0FD;
}
.cv-tl-date {
  font-family: var(--font-mono), 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #64748B;
  padding-top: 1px;
}
.cv-tl-posisi { font-size: 12.5px; font-weight: 700; color: #0F172A; line-height: 1.4; }
.cv-tl-uraian { font-size: 11.5px; color: #64748B; margin-top: 2px; line-height: 1.45; }

.cv-award-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 9px;
}
.cv-award {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #FDE68A;
  background: #FFFBEB;
  border-radius: 10px;
  padding: 9px 12px;
}
.cv-award-thn {
  font-family: var(--font-mono), 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #B45309;
  flex: none;
  padding-top: 1px;
}
.cv-award-txt { font-size: 11.5px; color: #78350F; line-height: 1.45; font-weight: 600; }

@media (max-width: 640px) {
  .cv-tl-item { grid-template-columns: 1fr; gap: 2px; }
}

/* AI Matching Quotes & Streaming Progress Animation */
@keyframes aiProgressIndet {
  0% { transform: translateX(-100%); width: 25%; }
  50% { width: 55%; }
  100% { transform: translateX(350%); width: 25%; }
}

@keyframes quoteFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.quote-stream-active {
  animation: quoteFadeIn 0.45s ease forwards;
}

  .dc-bar-label { width: 88px; font-size: 11.5px; }
}



/* ==========================================================================
   SEKSI RIWAYAT DARI BIODATA RESMI (pendidikan / jabatan / penghargaan)
   ========================================================================== */
.cv-block { margin-bottom: 20px; }
.cv-block:last-child { margin-bottom: 0; }
.cv-block-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #64748B;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cv-count {
  font-size: 10px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #F1F5F9;
  color: #475569;
  letter-spacing: 0;
  text-transform: none;
}

.cv-edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}
.cv-edu-item {
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 13px;
  background: #FCFDFE;
}
.cv-edu-jenjang {
  font-family: var(--font-display), 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #4338CA;
}
.cv-edu-thn {
  font-family: var(--font-mono), 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  margin-left: 4px;
}
.cv-edu-bidang { font-size: 12px; color: #334155; margin-top: 3px; line-height: 1.4; }
.cv-edu-lembaga { font-size: 11px; color: #64748B; margin-top: 2px; line-height: 1.4; }

.cv-timeline { list-style: none; margin: 0; padding: 0 0 0 4px; }
.cv-tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  padding: 0 0 14px 18px;
  border-left: 2px solid #E2E8F0;
}
.cv-tl-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.cv-tl-dot {
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0072BC;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #BAE0FD;
}
.cv-tl-date {
  font-family: var(--font-mono), 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #64748B;
  padding-top: 1px;
}
.cv-tl-posisi { font-size: 12.5px; font-weight: 700; color: #0F172A; line-height: 1.4; }
.cv-tl-uraian { font-size: 11.5px; color: #64748B; margin-top: 2px; line-height: 1.45; }

.cv-award-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 9px;
}
.cv-award {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #FDE68A;
  background: #FFFBEB;
  border-radius: 10px;
  padding: 9px 12px;
}
.cv-award-thn {
  font-family: var(--font-mono), 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #B45309;
  flex: none;
  padding-top: 1px;
}
.cv-award-txt { font-size: 11.5px; color: #78350F; line-height: 1.45; font-weight: 600; }

@media (max-width: 640px) {
  .cv-tl-item { grid-template-columns: 1fr; gap: 2px; }
}

/* ==========================================================================
   PANEL KELENGKAPAN DATA PROFIL — RINGKAS
   Dossier dibaca untuk menilai pakar, bukan membaca panduan. Panel ini dibuat
   satu baris; rincian per-field disembunyikan di balik tombol.
   ========================================================================== */


.dossier-compact-meta-line {
  display: flex; align-items: center; gap: 8px; margin-top: 6px;
  font-size: 11px; color: #94A3B8; flex-wrap: wrap; line-height: 1.5;
}
.dossier-compact-meta-line strong { color: #F8FAFC; font-weight: 700; }
.dossier-meta-dot { color: #475569; }

.dc-bar {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.dc-num {
  font-family: var(--font-display), 'Inter Tight', sans-serif;
  font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -0.02em;
  flex: none;
}
.dc-num span { font-size: 15px; margin-left: 1px; }

.dc-mid { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 7px; }
.dc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dc-tag {
  font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  white-space: nowrap; cursor: default;
}
.dc-tag b { font-weight: 800; }
.dc-tag-9box { background: #FAF5FF; color: #7E22CE; border: 1px solid #E9D5FF; }
.dc-tag-match { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.dc-tag-adm { background: #FDF2F8; color: #9D174D; border: 1px solid #FBCFE8; }

.dc-minis { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.dc-mini { display: flex; align-items: center; gap: 6px; font-size: 10.5px; }
.dc-mini-lbl { color: #64748B; font-weight: 600; }
.dc-mini-track {
  width: 54px; height: 5px; background: #E2E8F0; border-radius: 999px;
  overflow: hidden; display: inline-block;
}
.dc-mini-fill { display: block; height: 100%; border-radius: 999px; }
.dc-mini-val {
  font-family: var(--font-mono), 'JetBrains Mono', monospace;
  font-size: 10px; color: #334155; font-weight: 700;
}

.dc-act { display: flex; align-items: center; gap: 10px; flex: none; }
.dc-cta {
  padding: 7px 15px; border-radius: 9px; border: none;
  background: linear-gradient(135deg, #9D174D 0%, #BE185D 100%); color: #fff; font-size: 12px; font-weight: 700;
  cursor: pointer; transition: all 0.15s ease; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(190, 24, 93, 0.25);
}
.dc-cta:hover {
  background: linear-gradient(135deg, #BE185D 0%, #DB2777 100%);
  box-shadow: 0 4px 14px rgba(190, 24, 93, 0.35);
  transform: translateY(-1px);
}
.dc-link {
  background: none; border: none; padding: 0; cursor: pointer;
  font-size: 11.5px; font-weight: 600; color: #9D174D; white-space: nowrap;
}
.dc-link:hover { color: #701A75; text-decoration: underline; }

.dc-detail {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid #EEF2F6;
  display: flex; flex-direction: column; gap: 8px;
}
.dc-det-grup { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.dc-det-fields { font-size: 11.5px; color: #475569; line-height: 1.55; }

.dc-ok {
  font-size: 12.5px; font-weight: 600; color: #047857;
  background: #ECFDF5; border: 1px solid #A7F3D0;
  border-radius: 10px; padding: 10px 14px;
}

@media (max-width: 700px) {
  .dc-bar { gap: 12px; }
  .dc-act { width: 100%; justify-content: space-between; }
}

/* Jabatan & unit dibatasi satu baris — teks penuh tetap tersedia lewat tooltip.
   Tanpa ini, jabatan panjang membungkus dan menambah tinggi header. */
#modal-talent .dossier-jabatan-sub {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#modal-talent .dossier-overflow-item:hover { background: #334155; }


/* ==========================================================================
   CORPORATE BUMN DESIGN ELEMENTS (PLN Group Compliance)
   ========================================================================== */
.badge-classification {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 4px;
  background: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECDD3;
  font-family: var(--font-body), 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.breadcrumb-chic {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #64748B;
  margin-top: 10px;
  margin-bottom: 18px;
  font-family: var(--font-body), 'Plus Jakarta Sans', sans-serif;
}
.breadcrumb-chic a,
.breadcrumb-chic .bc-link {
  color: #0072BC;
  font-weight: 600;
  text-decoration: none;
}
.breadcrumb-chic a:hover {
  text-decoration: underline;
}
.breadcrumb-chic .bc-sep {
  color: #94A3B8;
  font-size: 11px;
}
.breadcrumb-chic .bc-current {
  color: #1E293B;
  font-weight: 700;
}

.corporate-footer {
  margin-top: 24px;
  border-top: 1px solid #E2E8F0;
  background: #FFFFFF;
  padding: 24px 0 32px;
  color: #64748B;
  font-size: 12px;
  line-height: 1.6;
}
.corporate-footer .footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.corporate-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.corporate-footer-brand strong {
  color: #0F172A;
  font-size: 12.5px;
}
.corporate-footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.corporate-footer-links a {
  color: #0072BC;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
}
.corporate-footer-links a:hover {
  text-decoration: underline;
}

/* Unified 1-Card 3-Column Summary Layout */
@media (max-width: 1100px) {
  .summary-grid-3col {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .summary-col-divider {
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid #F1F5F9 !important;
    border-bottom: 1px solid #F1F5F9 !important;
    padding: 16px 0 !important;
  }
}

/* Unified Summary Card: Feminine Animated Edge Line */
.summary-card-unified {
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.summary-card-unified:hover {
  border-color: rgba(244, 114, 182, 0.45) !important;
  box-shadow: 0 10px 28px -4px rgba(244, 63, 94, 0.08), 0 0 0 1px rgba(244, 114, 182, 0.2) !important;
}
.summary-card-unified::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FB7185, #F472B6, #C084FC, #818CF8, #38BDF8, #F472B6, #FB7185) !important;
  background-size: 280% 100% !important;
  animation: feminineLineShimmer 6.5s ease-in-out infinite !important;
}

/* ==========================================================================
   OFFICIAL CONTRACT MANDATE: TEPAT — TALENT EXPERT POOL ASSET TRACKING
   Animative, Bold, High-Contrast Corporate Executive Branding
   ========================================================================== */

@keyframes tepatGradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes tepatDotPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 163, 224, 0.7);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(0, 163, 224, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 163, 224, 0);
  }
}

@keyframes tepatHaloBreathe {
  0%, 100% {
    box-shadow: 0 0 8px rgba(0, 114, 188, 0.12), 0 0 0 1px rgba(0, 114, 188, 0.18);
  }
  50% {
    box-shadow: 0 0 16px rgba(0, 163, 224, 0.28), 0 0 0 1.5px rgba(0, 163, 224, 0.4);
  }
}

@keyframes tepatHaloBreatheDark {
  0%, 100% {
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.15), 0 0 0 1px rgba(56, 189, 248, 0.25);
  }
  50% {
    box-shadow: 0 0 18px rgba(244, 114, 182, 0.3), 0 0 0 1.5px rgba(244, 114, 182, 0.5);
  }
}

/* Pulsing Indicator Dot */
.tepat-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00A3E0;
  box-shadow: 0 0 0 0 rgba(0, 163, 224, 0.7);
  animation: tepatDotPulse 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  flex-shrink: 0;
}

.tepat-pulse-dot-dark {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.8);
  animation: tepatDotPulse 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  flex-shrink: 0;
}

/* Unified Animative Text Gradient (Light Context) */
.tepat-anim-text {
  font-family: 'Inter Tight', 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #00529C 0%, #0072BC 25%, #0284C7 50%, #4F46E5 75%, #00529C 100%);
  background-size: 260% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: tepatGradientFlow 6s ease infinite;
  display: inline-block;
}

/* Unified Animative Text Gradient (Dark Context) */
.tepat-anim-text-dark {
  font-family: 'Inter Tight', 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #38BDF8 0%, #60A5FA 30%, #F472B6 65%, #38BDF8 100%);
  background-size: 260% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: tepatGradientFlow 6s ease infinite;
  display: inline-block;
}

/* Header Brand Lockup */
.tepat-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.15;
}

.tepat-brand-bold {
  font-family: 'Inter Tight', 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #00529C 0%, #0072BC 30%, #0284C7 60%, #00529C 100%);
  background-size: 240% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: tepatGradientFlow 6s ease infinite;
}

.tepat-brand-dash {
  color: #0284C7;
  font-weight: 800;
  font-size: 16px;
  user-select: none;
}

.tepat-brand-expansion {
  font-family: 'Inter Tight', 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(120deg, #0F172A 0%, #1E3A8A 40%, #0284C7 75%, #0F172A 100%);
  background-size: 240% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: tepatGradientFlow 8s ease infinite;
}

/* Dark Context Sub-components */
.tepat-brand-bold-dark {
  font-family: 'Inter Tight', 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  background: linear-gradient(120deg, #38BDF8 0%, #60A5FA 35%, #F472B6 70%, #38BDF8 100%);
  background-size: 240% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: tepatGradientFlow 6s ease infinite;
}

.tepat-brand-expansion-dark {
  font-family: 'Inter Tight', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  background: linear-gradient(120deg, #F8FAFC 0%, #E2E8F0 40%, #BAE6FD 75%, #F8FAFC 100%);
  background-size: 240% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: tepatGradientFlow 7s ease infinite;
}

/* Contract Badges / Pills */
.tepat-contract-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 13px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 114, 188, 0.25);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 114, 188, 0.08);
  animation: tepatHaloBreathe 4s ease-in-out infinite;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.tepat-contract-badge:hover {
  border-color: rgba(0, 114, 188, 0.5);
  transform: translateY(-1px);
}

.tepat-contract-badge-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  animation: tepatHaloBreatheDark 4s ease-in-out infinite;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.tepat-contract-badge-dark:hover {
  border-color: rgba(56, 189, 248, 0.6);
  transform: translateY(-1px);
}

/* Dossier Modal & Standalone Tab Top Brand Strip */
.dossier-modal-brand-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 10px 0;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(244, 114, 182, 0.15);
  padding-right: 44px; /* Space for close button */
}

.dossier-contract-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  color: #94A3B8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Print Optimization */
@media print {
  .tepat-anim-text,
  .tepat-anim-text-dark,
  .tepat-brand-bold,
  .tepat-brand-expansion,
  .tepat-brand-bold-dark,
  .tepat-brand-expansion-dark {
    -webkit-text-fill-color: initial !important;
    background: none !important;
    color: #000000 !important;
    animation: none !important;
  }
  .tepat-pulse-dot,
  .tepat-pulse-dot-dark {
    display: none !important;
  }
  .tepat-contract-badge,
  .tepat-contract-badge-dark {
    box-shadow: none !important;
    border: 1px solid #CBD5E1 !important;
    background: #FFFFFF !important;
    animation: none !important;
  }
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .tepat-brand-expansion {
    display: none;
  }
  .tepat-brand-dash {
    display: none;
  }
  .dossier-contract-sub {
    display: none;
  }
}

/* ==========================================================================
   EXECUTIVE SUBNAV TOOLBAR & STRIKING SUB-MENU TABS (SENIOR EXPERTISE POOL)
   Proportional, Elegant, High-Contrast Executive Layout
   ========================================================================== */

.pool-subnav-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 247, 255, 0.96) 50%, rgba(248, 250, 252, 0.98) 100%);
  border: 1.5px solid #94A3B8;
  border-radius: 14px;
  padding: 8px 16px;
  margin-top: 4px;
  margin-bottom: 18px;
  box-shadow: 0 6px 24px -4px rgba(0, 82, 156, 0.10), 0 1px 3px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
}

.pool-subnav-toolbar::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 2.5px;
  background: linear-gradient(90deg, transparent 0%, #00A3E0 25%, #00529C 50%, #38BDF8 75%, transparent 100%);
  border-radius: 4px;
}

.pool-subnav-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pool-subnav-track {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(235, 242, 250, 0.85);
  border: 1.5px solid #CBD5E1;
  border-radius: 11px;
  padding: 4px;
  backdrop-filter: blur(8px);
}

/* Striking Distinctive Sub-Menu Buttons */
.pool-subview-btn-striking {
  font-family: var(--font-body, 'Inter Tight', 'Plus Jakarta Sans', sans-serif) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  border-radius: 8px !important;
  border: 1.5px solid #CBD5E1 !important;
  background: #FFFFFF !important;
  color: #1E293B !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

.pool-subview-btn-striking .subnav-btn-icon {
  font-size: 14.5px !important;
  display: inline-flex !important;
  align-items: center !important;
}

.pool-subview-btn-striking:hover {
  background: #F0F7FF !important;
  color: #00529C !important;
  border-color: #0072BC !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(0, 82, 156, 0.16) !important;
}

.pool-subview-btn-striking:active {
  transform: scale(0.97) !important;
}

/* Striking ACTIVE State: Deep Electric Sapphire / Indigo Gradient */
.pool-subview-btn-striking.active {
  background: linear-gradient(135deg, #004B87 0%, #0066B2 45%, #0284C7 100%) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border: 1.5px solid #38BDF8 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 16px rgba(0, 75, 135, 0.45), 0 0 12px rgba(56, 189, 248, 0.4) !important;
  transform: translateY(-1px) !important;
}

.pool-subview-btn-striking.active .subnav-btn-icon {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35)) !important;
}

/* Right Section Alignment */
.pool-subnav-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}

.tepat-contract-badge-executive {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 114, 188, 0.45);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 114, 188, 0.12), 0 0 16px rgba(0, 163, 224, 0.1);
  animation: tepatHaloBreathe 4s ease-in-out infinite;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.tepat-contract-badge-executive:hover {
  border-color: rgba(0, 114, 188, 0.6);
  box-shadow: 0 6px 18px rgba(0, 114, 188, 0.2), 0 0 22px rgba(0, 163, 224, 0.2);
  transform: translateY(-1px);
}

@media (max-width: 960px) {
  .pool-subnav-toolbar {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 12px;
  }
  .pool-subnav-left {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .pool-subnav-track {
    width: max-content;
  }
  .pool-subnav-right {
    justify-content: flex-end;
    margin-left: 0;
  }
}

