:root {
  --bg-gradient: linear-gradient(135deg, #08264a 0%, #0a0f4b 55%, #11154d 100%);
  --glass: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.14);
  --teal: #00d4aa;
  --blue: #3d5afe;
  --pink: #e91e63;
  --text: #ffffff;
  --text-soft: rgba(255,255,255,0.72);
  --text-faint: rgba(255,255,255,0.48);
  --danger: #ff6b7a;
  --success: #6ff7cf;
}

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

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--bg-gradient);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 12% 22%, rgba(0,212,170,0.12), transparent 35%),
    radial-gradient(circle at 86% 68%, rgba(61,90,254,0.16), transparent 34%),
    radial-gradient(circle at 72% 18%, rgba(233,30,99,0.08), transparent 24%);
  z-index: 0;
  pointer-events: none;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 20px 64px;
}

.container-narrow { max-width: 980px; }

/* ── TOPBAR ── */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  color: var(--text-soft);
}

.brand { font-weight: 700; letter-spacing: 0.3px; font-size: 0.9rem; }

.back-link { color: var(--text-soft); text-decoration: none; font-size: 0.9rem; }
.back-link:hover { color: var(--teal); text-decoration: none; }

/* ── HEADINGS ── */
h1 {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.nexus-title {
  background: linear-gradient(135deg, var(--teal) 0%, #35a8ff 55%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  color: var(--text-faint);
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.section-desc {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 20px;
}

/* ── CARDS ── */
.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(0,212,170,0.22);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

/* ── TOOL GRID (homepage) ── */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  min-height: 190px;
}

.tool-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
  line-height: 1;
}

.tool-card h2 { margin-bottom: 6px; font-size: 1.15rem; }
.tool-card p { color: var(--text-soft); line-height: 1.5; font-size: 0.9rem; flex: 1; }

.tool-meta {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-top: 10px;
  letter-spacing: 0.2px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: var(--text-soft);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.tool-card:hover .cta {
  background: rgba(0,212,170,0.16);
  color: var(--teal);
}

.active-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
  box-shadow: 0 0 6px rgba(0,212,170,0.6);
}

.disabled-card {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

/* ── UPLOAD PANEL ── */
.upload-panel { padding: 20px 24px; }

.upload-box {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.file-upload {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  cursor: pointer;
  transition: 0.25s ease;
  font-weight: 600;
  font-size: 0.9rem;
}

.file-upload:hover {
  border-color: rgba(0,212,170,0.45);
  box-shadow: 0 10px 28px rgba(0,212,170,0.14);
}

.file-upload input { display: none; }

.file-name {
  min-width: 200px;
  color: var(--text-soft);
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── BUTTONS (base) ── */
button, .primary-btn {
  background: linear-gradient(135deg, var(--teal), #35a8ff);
  border: none;
  padding: 12px 22px;
  border-radius: 16px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

button:hover, .primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,212,170,0.3);
}

button:disabled, .primary-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* ── STATUS MESSAGE ── */
.status-message {
  min-height: 22px;
  margin-top: 12px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-soft);
  transition: color 0.2s;
}
.status-message.success { color: var(--success); }
.status-message.error   { color: var(--danger); }
.status-message.info    { color: var(--text-soft); }

/* ── LOADER ── */
.loader-wrap {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 28px 0;
}
.loader-wrap.active { display: flex; }

.loader {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.1);
  border-top: 4px solid var(--teal);
  animation: spin 0.9s linear infinite;
}

.loader-text { color: var(--text-soft); font-size: 0.9rem; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ── ARCHITECTURE TABS ── */
.arch-card { margin-bottom: 18px; }

.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 13px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.11);
  color: var(--text-faint);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
  min-width: 130px;
  text-align: left;
}

.tab strong {
  font-size: 0.98rem;
  color: var(--text-soft);
  font-weight: 700;
}

.tab span {
  font-size: 0.76rem;
  color: var(--text-faint);
  line-height: 1.3;
}

.tab:hover {
  background: rgba(0,212,170,0.09);
  border-color: rgba(0,212,170,0.28);
  transform: none;
  box-shadow: none;
}

.tab.active {
  background: rgba(0,212,170,0.14);
  border-color: rgba(0,212,170,0.5);
}

.tab.active strong { color: var(--teal); }
.tab.active span   { color: rgba(0,212,170,0.65); }

/* ── BDD ACTION PANEL ── */
.action-panel { padding: 28px 28px 24px; }

.action-grid {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 130px;
  padding: 22px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s ease;
}

.action-btn:hover {
  background: rgba(0,212,170,0.11);
  border-color: rgba(0,212,170,0.38);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.18);
}

.action-btn-primary {
  background: linear-gradient(135deg, rgba(0,212,170,0.2), rgba(53,168,255,0.2));
  border-color: rgba(0,212,170,0.38);
}

.action-btn-primary:hover {
  background: linear-gradient(135deg, rgba(0,212,170,0.3), rgba(53,168,255,0.3));
  box-shadow: 0 14px 32px rgba(0,212,170,0.22);
}

.btn-icon { font-size: 1.7rem; line-height: 1; }
.btn-label { font-size: 0.88rem; font-weight: 700; text-align: center; }

/* ── RESULT MESSAGE (BDD) ── */
.result-message {
  padding: 18px 24px;
  border-radius: 18px;
  font-weight: 600;
  font-size: 0.93rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: var(--text-soft);
  line-height: 1.5;
}
.result-message.success {
  background: rgba(111,247,207,0.08);
  border-color: rgba(111,247,207,0.28);
  color: var(--success);
}
.result-message.error {
  background: rgba(255,107,122,0.08);
  border-color: rgba(255,107,122,0.28);
  color: var(--danger);
}
.result-message.info { color: var(--text-faint); }

/* ── CV RESULT GRID ── */
.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.result-span-2 { grid-column: span 2; }

.header-card { text-align: left; }

.header-main {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

#cv-name { font-size: 1.8rem; margin-bottom: 0; }
#cv-title { color: var(--text-soft); margin-top: 6px; font-size: 0.95rem; }

.scores { display: flex; gap: 10px; flex-wrap: wrap; }
.scores span {
  background: rgba(255,255,255,0.08);
  padding: 7px 14px;
  border-radius: 14px;
  color: var(--text-soft);
  font-size: 0.88rem;
}

#cv-contact div, #cv-languages div {
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.profile-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.confidence.high   { color: #00ffcc; }
.confidence.medium { color: #ffc107; }
.confidence.low    { color: #ff6b7a; }

.skill {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.bar {
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.09);
  overflow: hidden;
  margin-bottom: 10px;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  border-radius: 999px;
  transition: width 0.6s ease;
}

.keywords { display: flex; flex-wrap: wrap; gap: 8px; }

.keyword {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,212,170,0.13);
  border: 1px solid rgba(0,212,170,0.24);
  color: var(--text);
  font-size: 0.8rem;
}

.exp-card {
  padding: 12px 14px;
  border-left: 2px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  border-radius: 0 14px 14px 0;
  margin-bottom: 12px;
}

.exp-card:last-child { margin-bottom: 0; }
.exp-title { font-weight: 700; margin-bottom: 4px; font-size: 0.95rem; }
.exp-company { font-size: 0.85rem; color: var(--text-soft); margin-bottom: 6px; }
.exp-card p, #cv-mainProfile p { color: var(--text-soft); line-height: 1.5; font-size: 0.9rem; }

/* ── SCORE CIRCLE ── */
.score-circle {
  position: relative;
  width: 96px;
  height: 96px;
  flex-shrink: 0;
}

.score-circle svg {
  transform: rotate(-90deg);
  width: 96px;
  height: 96px;
}

.score-circle circle {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.score-circle circle:first-child { stroke: rgba(255,255,255,0.1); }
#scoreProgress { stroke: #00d4ff; transition: stroke-dashoffset 1s ease; }

.score-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 800;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* ── SIMPLE RESULT (P0/P1, P2) ── */
.simple-result pre {
  color: var(--text-soft);
  white-space: pre-wrap;
  font-size: 0.83rem;
  line-height: 1.6;
  font-family: 'Courier New', monospace;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
  h1 { font-size: 1.9rem; }

  .tool-grid { grid-template-columns: 1fr; }

  .result-grid { grid-template-columns: 1fr; }
  .result-span-2 { grid-column: span 1; }

  .tabs { flex-direction: column; }
  .tab { min-width: 0; width: 100%; }

  .action-grid { flex-direction: column; }

  .upload-box { flex-direction: column; align-items: stretch; }
  .file-name { min-width: 0; width: 100%; text-align: center; }
  .file-upload, .primary-btn { width: 100%; justify-content: center; }

  .header-main { align-items: flex-start; }

  /* ════════════════════════════════════════════════
   PROFILE SELECTOR
════════════════════════════════════════════════ */
.profile-selector {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.prof-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.11);
  color: var(--text-soft);
  cursor: pointer;
  font-family: inherit;
  flex: 1;
  min-width: 140px;
  transition: all 0.2s ease;
  text-align: left;
}

.prof-tab:hover { background: rgba(0,212,170,0.09); border-color: rgba(0,212,170,0.28); transform: none; box-shadow: none; }
.prof-tab.active { background: rgba(0,212,170,0.14); border-color: rgba(0,212,170,0.5); }

.prof-rank   { font-size: 0.72rem; color: var(--text-faint); }
.prof-title  { font-weight: 700; font-size: 0.88rem; color: var(--text); line-height: 1.3; }
.prof-score  { font-size: 1.05rem; font-weight: 800; }
.score-high   { color: var(--teal); }
.score-medium { color: #ffc107; }
.score-low    { color: var(--danger); }
.prof-senior  { font-size: 0.72rem; color: var(--text-faint); }

/* ════════════════════════════════════════════════
   PROFILE HEADER CARD
════════════════════════════════════════════════ */
.prof-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.ph-left  { flex: 1; min-width: 0; }
.ph-right { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }

.ph-title-text { font-size: 1.45rem; font-weight: 800; margin-bottom: 4px; }
.ph-code       { font-size: 0.78rem; color: var(--text-faint); margin-bottom: 12px; letter-spacing: 0.3px; }
.ph-badges     { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 10px; }
.ph-quad-desc  { font-size: 0.84rem; color: var(--text-soft); line-height: 1.5; margin-bottom: 14px; }
.ph-dims       { display: flex; flex-direction: column; gap: 5px; }

.dim-row { display: flex; align-items: center; gap: 10px; }
.dim-lbl { font-size: 0.75rem; color: var(--text-faint); min-width: 88px; }
.mini-bar { flex: 1; height: 4px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.mini-fill { height: 100%; background: linear-gradient(90deg, var(--teal), var(--blue)); border-radius: 999px; }
.dim-val { font-size: 0.75rem; color: var(--text-soft); min-width: 24px; text-align: right; }

/* ── BADGES ── */
.cbadge { padding: 4px 10px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; }
.c-strong   { background: rgba(0,212,170,0.15); color: var(--teal); border: 1px solid rgba(0,212,170,0.3); }
.c-adequate { background: rgba(255,193,7,0.15); color: #ffc107; border: 1px solid rgba(255,193,7,0.3); }
.c-weak     { background: rgba(255,150,50,0.15); color: #ff9632; border: 1px solid rgba(255,150,50,0.3); }
.c-missing  { background: rgba(255,107,122,0.15); color: var(--danger); border: 1px solid rgba(255,107,122,0.3); }
.badge-neutral { background: rgba(255,255,255,0.08); color: var(--text-soft); border: 1px solid rgba(255,255,255,0.12); }
.badge-quad    { background: rgba(61,90,254,0.15); color: #7c9bff; border: 1px solid rgba(61,90,254,0.3); }

/* ════════════════════════════════════════════════
   ACCORDION
════════════════════════════════════════════════ */
.accordion {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  margin-bottom: 10px;
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.acc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.93rem;
  user-select: none;
  transition: background 0.2s;
}

.acc-header:hover { background: rgba(0,212,170,0.06); }
.acc-header.open  { border-bottom: 1px solid var(--glass-border); }

.acc-chev {
  font-size: 1.2rem;
  color: var(--text-faint);
  transition: transform 0.2s ease;
  display: inline-block;
}

.acc-header.open .acc-chev { transform: rotate(90deg); }
.acc-body { display: none; }
.acc-inner { padding: 18px 22px; }

.sec-text {
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

/* ════════════════════════════════════════════════
   MISSION
════════════════════════════════════════════════ */
.ms-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.prog-bar  { height: 5px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; margin-bottom: 16px; }
.prog-fill { height: 100%; background: linear-gradient(90deg, var(--teal), var(--blue)); border-radius: 999px; transition: width 0.6s ease; }

.mt-block    { margin-top: 14px; }
.block-label { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; color: var(--text-faint); margin-bottom: 7px; }

.item-list { list-style: none; padding: 0; }
.item-list li {
  padding: 5px 0 5px 12px;
  border-left: 2px solid rgba(0,212,170,0.22);
  margin-bottom: 4px;
  color: var(--text-soft);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ════════════════════════════════════════════════
   ACTIVITIES
════════════════════════════════════════════════ */
.act-block {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.act-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.act-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; color: var(--text); }

/* ════════════════════════════════════════════════
   COMPETENCIES
════════════════════════════════════════════════ */
.comp-summary { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 14px; }

.ctabs { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 14px; }

.ctab {
  padding: 7px 13px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-soft);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.ctab:hover  { background: rgba(0,212,170,0.09); border-color: rgba(0,212,170,0.28); transform: none; box-shadow: none; }
.ctab.active { background: rgba(0,212,170,0.14); border-color: rgba(0,212,170,0.45); color: var(--teal); }

.ctab-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  font-size: 0.68rem;
  margin-left: 4px;
}

/* ── SKILL CARDS ── */
.skill-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 7px;
  background: rgba(255,255,255,0.03);
}

.sk-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  cursor: pointer;
  transition: background 0.2s;
  flex-wrap: wrap;
}
.sk-head:hover { background: rgba(255,255,255,0.04); }

.sk-code { font-size: 0.72rem; color: var(--text-faint); min-width: 30px; font-weight: 700; flex-shrink: 0; }
.sk-name { flex: 1; font-weight: 600; font-size: 0.87rem; min-width: 0; }
.sk-st   { flex-shrink: 0; }
.sk-lv   { font-size: 0.72rem; color: var(--text-faint); flex-shrink: 0; }
.sk-chev { color: var(--text-faint); font-size: 1rem; transition: transform 0.2s; flex-shrink: 0; }

.sk-body { padding: 13px 14px; border-top: 1px solid rgba(255,255,255,0.07); }

/* ── LEVEL COMPARE ── */
.lv-cmp { margin-bottom: 12px; }
.lv-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.lv-lbl { font-size: 0.75rem; color: var(--text-faint); min-width: 75px; }
.dots-row { display: flex; gap: 5px; }
.lv-num { font-size: 0.75rem; color: var(--text-soft); min-width: 28px; }

.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-teal  { background: var(--teal); box-shadow: 0 0 4px rgba(0,212,170,0.5); }
.dot-blue  { background: var(--blue); box-shadow: 0 0 4px rgba(61,90,254,0.5); }
.dot-gap   { background: rgba(255,150,50,0.65); }
.dot-empty { background: rgba(255,255,255,0.1); }

.sk-desc { font-size: 0.83rem; color: var(--text-soft); line-height: 1.55; margin-bottom: 12px; }

.ka-blk { margin-top: 10px; }
.ka-lbl { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; color: var(--text-faint); margin-bottom: 6px; }
.ka-blk ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.ka-blk ul li { font-size: 0.78rem; color: var(--text-soft); padding: 3px 0 3px 10px; border-left: 1px solid rgba(255,255,255,0.1); line-height: 1.4; }

/* ════════════════════════════════════════════════
   NOTIONS TRANSVERSALES
════════════════════════════════════════════════ */
.notions-sum  { display: flex; gap: 8px; margin-bottom: 16px; }
.notions-list { display: flex; flex-direction: column; gap: 8px; }

.notion-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}

.notion-name  { flex: 1; font-size: 0.87rem; font-weight: 600; }
.notion-lv    { font-size: 0.75rem; color: var(--text-faint); min-width: 30px; text-align: center; }
.slash        { color: rgba(255,255,255,0.2); }

.notion-badge {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  flex-shrink: 0;
}
.n-ok  { background: rgba(0,212,170,0.2); color: var(--teal); }
.n-gap { background: rgba(255,107,122,0.2); color: var(--danger); }

/* ── RESPONSIVE ADDITIONS ── */
@media (max-width: 680px) {
  .profile-selector { flex-direction: column; }
  .prof-header      { flex-direction: column; }
  .ka-blk ul        { grid-template-columns: 1fr; }
  .ctabs            { flex-wrap: wrap; }
  .ph-right         { align-self: center; }
}
}
