/* ===================================================================
   TRAINQUANTS - VERIFIED CANDIDATE PROFILE DESIGN SYSTEM (css/profile.css)
   Institutional Dark Mode · Apple Fintech Aesthetics · 120 FPS Fluidity
   =================================================================== */

.profile-page-wrapper {
  min-height: 100vh;
  background-color: #000000;
  color: #f5f5f7;
  padding-top: 88px; /* Offset for floating glass navbar */
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

/* Background Ambient Glows */
.profile-ambient-glow {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(41, 151, 255, 0.08) 0%, rgba(6, 182, 212, 0.04) 45%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.profile-container {
  max-width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Breadcrumb & Navigation Bar */
.profile-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.profile-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  color: #86868b;
}

.profile-breadcrumb a {
  color: #86868b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.profile-breadcrumb a:hover {
  color: #2997ff;
}

.profile-breadcrumb .separator {
  color: rgba(255, 255, 255, 0.2);
}

.profile-breadcrumb .current {
  color: #38bdf8;
  font-weight: 700;
}

.btn-back-lb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f5f5f7;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-back-lb:hover {
  background: rgba(41, 151, 255, 0.12);
  border-color: rgba(41, 151, 255, 0.4);
  color: #38bdf8;
  transform: translateX(-2px);
}

/* ===================================================================
   PROFILE HEADER HERO CARD
   =================================================================== */
.profile-header-card {
  background: rgba(14, 16, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 32px 36px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.profile-header-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2997ff, #38bdf8, transparent);
}

.profile-hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.profile-main-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  min-width: 300px;
}

/* Avatar with Rank Badge & Glow Ring */
.profile-avatar-container {
  position: relative;
  flex-shrink: 0;
}

.profile-avatar-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2997ff, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 34px;
  font-weight: 800;
  font-family: var(--font-display, sans-serif);
  border: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 30px rgba(41, 151, 255, 0.35);
  letter-spacing: -0.02em;
}

.profile-rank-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: #fbbf24;
  color: #000000;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
  border: 2px solid #0e1016;
}

.profile-details-column {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.profile-trader-name {
  font-family: var(--font-display, sans-serif);
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.profile-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(41, 151, 255, 0.14);
  border: 1px solid rgba(41, 151, 255, 0.4);
  color: #70b4ff;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono, monospace);
  padding: 3px 10px;
  border-radius: 9999px;
}

.profile-flag-tag {
  font-size: 18px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.profile-institute-text {
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  color: #86868b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-role-headline {
  font-size: 15px;
  font-weight: 600;
  color: #38bdf8;
  margin-top: 2px;
}

.profile-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.pill-status-chip {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.pill-status-chip.gold {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.35);
  color: #fbbf24;
}

.pill-status-chip.emerald {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.pill-status-chip.cyan {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.35);
  color: #22d3ee;
}

/* Header Action Buttons */
.profile-actions-column {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-request-interview {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, #2997ff, #0071e3);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 11px 22px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(41, 151, 255, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-request-interview:hover {
  background: linear-gradient(135deg, #38bdf8, #2997ff);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(41, 151, 255, 0.5);
}

.btn-export-passport {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #f5f5f7;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 11px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-export-passport:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-linkedin-profile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 102, 194, 0.12);
  color: #93c5fd;
  border: 1px solid rgba(10, 102, 194, 0.38);
  padding: 11px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-linkedin-profile:hover {
  background: rgba(10, 102, 194, 0.25);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(10, 102, 194, 0.35);
}

.btn-linkedin-profile i {
  color: #0a66c2;
  font-size: 15px;
  transition: color 0.2s ease;
}

.btn-linkedin-profile:hover i {
  color: #38bdf8;
}

.btn-share-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #86868b;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.25s ease;
}

.btn-share-profile:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #38bdf8;
  border-color: rgba(41, 151, 255, 0.4);
}

/* Bio Statement */
.profile-bio-box {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
  line-height: 1.6;
  color: #a1a1aa;
}

/* ===================================================================
   KEY TELEMETRY METRIC CARDS (6-COLUMN BENTO)
   =================================================================== */
.telemetry-metrics-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.metric-kpi-card {
  background: rgba(14, 16, 22, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px 18px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.metric-kpi-card:hover {
  background: rgba(20, 23, 32, 0.9);
  border-color: rgba(41, 151, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

.metric-kpi-lbl {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #86868b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.metric-kpi-val {
  font-family: var(--font-mono, monospace);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.metric-kpi-sub {
  font-size: 11px;
  color: #6e6e73;
}

/* Distinct Metric Color Highlights */
.metric-kpi-val.emerald { color: #34d399; }
.metric-kpi-val.indigo { color: #818cf8; }
.metric-kpi-val.cyan { color: #38bdf8; }
.metric-kpi-val.rose { color: #f43f5e; }
.metric-kpi-val.gold { color: #fbbf24; }

/* ===================================================================
   MAIN 2-COLUMN DOSSIER GRID (CHART & DETAILS)
   =================================================================== */
.profile-dossier-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.dossier-panel {
  background: rgba(14, 16, 22, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 26px 28px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.panel-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.panel-title {
  font-family: var(--font-display, sans-serif);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-subtitle {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: #86868b;
}

/* Alpha Equity Curve Chart Canvas */
.equity-chart-wrapper {
  width: 100%;
  height: 240px;
  position: relative;
  margin-bottom: 16px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.equity-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.chart-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.chart-stat-item {
  display: flex;
  flex-direction: column;
}

.cs-lbl {
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  color: #86868b;
  text-transform: uppercase;
}

.cs-val {
  font-family: var(--font-mono, monospace);
  font-size: 14px;
  font-weight: 700;
  color: #f5f5f7;
  margin-top: 2px;
}

/* Competency Skill Bars */
.competency-bars-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.competency-bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.comp-header {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: #cbd5e1;
  font-weight: 500;
}

.comp-score {
  font-family: var(--font-mono, monospace);
  font-weight: 700;
  color: #38bdf8;
}

.comp-track-outer {
  height: 6px;
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.comp-track-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===================================================================
   MASTERED DESKS & BENCHMARK CHALLENGES SECTION
   =================================================================== */
.desks-section-container {
  margin-bottom: 28px;
}

.desks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.desk-mastery-card {
  background: rgba(14, 16, 22, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.desk-mastery-card:hover {
  border-color: rgba(41, 151, 255, 0.3);
  transform: translateY(-2px);
}

.desk-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.desk-id-chip {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  color: #70b4ff;
  background: rgba(41, 151, 255, 0.12);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 700;
}

.desk-badge-status {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 700;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 4px;
}

.desk-title {
  font-family: var(--font-display, sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.desk-asset-tag {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: #38bdf8;
  margin-bottom: 10px;
}

.desk-desc {
  font-size: 12px;
  color: #86868b;
  line-height: 1.5;
  margin-bottom: 14px;
}

.desk-match-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono, monospace);
  font-size: 12px;
}

/* ===================================================================
   BENCHMARK SOLUTIONS & CODE SAMPLE BENTO
   =================================================================== */
.solutions-bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.solution-table {
  width: 100%;
  border-collapse: collapse;
}

.solution-table th {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  font-weight: 600;
  color: #86868b;
  text-transform: uppercase;
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.solution-table td {
  padding: 12px;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
}

.code-viewer-container {
  background: #090a0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.code-viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: #86868b;
}

.code-snippet-pre {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  line-height: 1.55;
  color: #e2e8f0;
}

/* ===================================================================
   OTHER TOP SOLVERS CAROUSEL
   =================================================================== */
.other-solvers-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.solvers-carousel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.solver-quick-card {
  background: rgba(14, 16, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.solver-quick-card:hover {
  background: rgba(24, 28, 38, 0.9);
  border-color: rgba(41, 151, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.solver-quick-card.active {
  border-color: #2997ff;
  background: rgba(41, 151, 255, 0.08);
}

.solver-sm-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.solver-quick-meta {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sq-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.sq-role {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  color: #86868b;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.sq-stat {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: #34d399;
  font-weight: 700;
  margin-top: 2px;
}

/* ===================================================================
   MODAL WINDOWS (INTERVIEW REQUEST & PASSPORT)
   =================================================================== */
.profile-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.profile-modal-backdrop.active {
  display: flex;
}

.profile-modal-window {
  background: #0e1016;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  max-width: 540px;
  width: 100%;
  padding: 28px 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(41, 151, 255, 0.15);
  animation: modalPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-header-title {
  font-family: var(--font-display, sans-serif);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.btn-close-modal {
  background: none;
  border: none;
  color: #86868b;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}

.btn-close-modal:hover {
  color: #ffffff;
}

.modal-form-group {
  margin-bottom: 16px;
}

.modal-label {
  display: block;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: #a1a1aa;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.modal-input, .modal-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}

.modal-input:focus, .modal-textarea:focus {
  border-color: #2997ff;
  box-shadow: 0 0 16px rgba(41, 151, 255, 0.2);
}

.modal-textarea {
  resize: vertical;
  min-height: 80px;
}

.modal-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.25s ease;
}

.modal-submit-btn:hover {
  background: linear-gradient(135deg, #34d399, #10b981);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* ===================================================================
   RESPONSIVE DESIGN (TABLETS & PHONES)
   =================================================================== */
@media (max-width: 1024px) {
  .telemetry-metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .profile-dossier-grid {
    grid-template-columns: 1fr;
  }
  .desks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .solutions-bento-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .profile-page-wrapper {
    padding-top: 76px;
  }
  .profile-header-card {
    padding: 24px 20px;
  }
  .profile-hero-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .profile-actions-column {
    width: 100%;
  }
  .btn-request-interview, .btn-export-passport, .btn-linkedin-profile {
    flex: 1;
    justify-content: center;
  }
  .telemetry-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .desks-grid {
    grid-template-columns: 1fr;
  }
  .chart-stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===================================================================
   INSTITUTIONAL HIGH-CONTRAST LIGHT MODE — PROFILE DOSSIER
   =================================================================== */
html.light-mode .profile-page-wrapper,
[data-theme="light"] .profile-page-wrapper {
  background-color: #f8fafc !important;
  color: #09090b !important;
}

html.light-mode .profile-ambient-glow,
[data-theme="light"] .profile-ambient-glow {
  opacity: 0.3 !important;
  filter: blur(120px) !important;
}

html.light-mode .profile-breadcrumb a,
[data-theme="light"] .profile-breadcrumb a {
  color: #64748b !important;
}

html.light-mode .profile-breadcrumb a:hover,
[data-theme="light"] .profile-breadcrumb a:hover {
  color: #0071e3 !important;
}

html.light-mode .profile-breadcrumb .separator,
[data-theme="light"] .profile-breadcrumb .separator {
  color: rgba(0, 0, 0, 0.2) !important;
}

html.light-mode .profile-breadcrumb .current,
[data-theme="light"] .profile-breadcrumb .current {
  color: #0071e3 !important;
}

html.light-mode .btn-back-lb,
[data-theme="light"] .btn-back-lb {
  background: rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  color: #09090b !important;
}

html.light-mode .btn-back-lb:hover,
[data-theme="light"] .btn-back-lb:hover {
  background: rgba(0, 113, 227, 0.08) !important;
  border-color: rgba(0, 113, 227, 0.3) !important;
  color: #0071e3 !important;
}

html.light-mode .profile-header-card,
[data-theme="light"] .profile-header-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}

html.light-mode .profile-name,
html.light-mode .profile-user-title,
[data-theme="light"] .profile-name,
[data-theme="light"] .profile-user-title {
  color: #09090b !important;
}

html.light-mode .profile-handle,
[data-theme="light"] .profile-handle {
  color: #64748b !important;
}

html.light-mode .profile-bio,
[data-theme="light"] .profile-bio {
  color: #334155 !important;
}

html.light-mode .telemetry-card,
html.light-mode .profile-dossier-card,
html.light-mode .profile-section-card,
html.light-mode .desk-card,
html.light-mode .solution-card,
[data-theme="light"] .telemetry-card,
[data-theme="light"] .profile-dossier-card,
[data-theme="light"] .profile-section-card,
[data-theme="light"] .desk-card,
[data-theme="light"] .solution-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
}

html.light-mode .telemetry-card .metric-val,
[data-theme="light"] .telemetry-card .metric-val {
  color: #09090b !important;
}

html.light-mode .telemetry-card .metric-label,
[data-theme="light"] .telemetry-card .metric-label {
  color: #64748b !important;
}

html.light-mode .section-card-title,
[data-theme="light"] .section-card-title {
  color: #09090b !important;
}

html.light-mode .profile-history-table th,
[data-theme="light"] .profile-history-table th {
  background: #f8fafc !important;
  color: #475569 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

html.light-mode .profile-history-table td,
[data-theme="light"] .profile-history-table td {
  color: #0f172a !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

html.light-mode .profile-history-table tr:hover td,
[data-theme="light"] .profile-history-table tr:hover td {
  background: #f8fafc !important;
}

html.light-mode .desk-badge,
html.light-mode .skill-tag,
[data-theme="light"] .desk-badge,
[data-theme="light"] .skill-tag {
  background: rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: #334155 !important;
}

html.light-mode .chart-container,
[data-theme="light"] .chart-container {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

html.light-mode .modal-card,
[data-theme="light"] .modal-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15) !important;
}

html.light-mode .modal-title,
[data-theme="light"] .modal-title {
  color: #09090b !important;
}

html.light-mode .modal-input,
html.light-mode .modal-textarea,
[data-theme="light"] .modal-input,
[data-theme="light"] .modal-textarea {
  background: #f8fafc !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  color: #09090b !important;
}

