/* ═══════════════════════════════════════════════════════════════════
   CAREER STUDIO — MISSING CSS FIXES v1.0
   Covers every class used in HTML that was absent from all CSS files.
   Grouped by feature so future devs can find them quickly.
   ═══════════════════════════════════════════════════════════════════ */

/* ─── GLOBAL HEADER ────────────────────────────────────────────── */
.brand-spin { display:flex; align-items:center; justify-content:center; flex-shrink:0; }

.um-header {
  padding: 12px 16px 8px;
  font-family: var(--fm);
  font-size: 10px;
  color: var(--text-4);
  letter-spacing: .08em;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.um-div {
  height: 1px;
  background: rgba(255,255,255,.06);
  margin: 4px 8px;
}

/* ─── BRAIN CHAT — scoped to #tab-brain to avoid leaking into other tabs ── */

/* Chat panel full-width, features row below */
#tab-brain .brain-grid {
  display: block;
}

/* Chat panel — comfortable height that shrinks on smaller screens instead
   of overflowing them, input pinned to bottom */
#tab-brain .chat-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;                          /* app.css sets gap:10px — reset */
  height: min(600px, 72vh);
  max-height: none !important;
  padding: 0;                      /* app.css sets padding:4px 0 — reset */
  overflow: hidden;
  background: var(--surface, #0d1020);
  border: 1px solid var(--bd0, rgba(255,255,255,.06));
  border-radius: var(--r18, 18px);
}

/* Messages area scrolls, takes all height above the input bar.
   Scrollbar made wider + more opaque than the default 3px hairline so
   the box visibly reads as "scrollable" instead of looking stuck. */
#tab-brain .chat-msgs {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  scroll-behavior: smooth;
  min-height: 0;                   /* critical: lets flex-child shrink + scroll inside fixed parent */
  scrollbar-width: auto;
  scrollbar-color: rgba(0,240,255,.4) transparent;
}
#tab-brain .chat-msgs::-webkit-scrollbar { width: 8px; }
#tab-brain .chat-msgs::-webkit-scrollbar-track { background: transparent; }
#tab-brain .chat-msgs::-webkit-scrollbar-thumb { background: rgba(0,240,255,.4); border-radius: 99px; }
#tab-brain .chat-msgs::-webkit-scrollbar-thumb:hover { background: rgba(0,240,255,.6); }

/* Message row */
#tab-brain .msg {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  animation: msgIn .24s var(--ease-out, ease);
}
#tab-brain .msg.user { flex-direction: row-reverse; }

/* AI avatar (used in welcome message) */
#tab-brain .msg-av {
  width: 28px; height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--aurora-teal, #00c9b8), var(--aurora-gold, #f7ce5b));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fm); font-size: 8px; font-weight: 700;
  color: var(--void, #01020a);
}
#tab-brain .msg.user .msg-av {
  background: linear-gradient(135deg, var(--aurora-gold, #f7ce5b), var(--aurora-amber, #ffaa00));
}

/* Message body (welcome message) */
#tab-brain .msg-body {
  max-width: 78%;
  background: var(--deep, #070a18);
  border: 1px solid var(--bd0, rgba(255,255,255,.04));
  border-radius: var(--r14, 14px);
  padding: 10px 13px;
  font-family: var(--fb);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-1, #c8d3e8);
  word-break: break-word;
}
#tab-brain .msg-body p { margin: 0 0 6px; }
#tab-brain .msg-body p:last-child { margin: 0; }
#tab-brain .msg.user .msg-body {
  background: rgba(247,206,91,.06);
  border-color: rgba(247,206,91,.15);
}

/* Input area — pinned at the bottom of chat-wrap */
#tab-brain .chat-input-box {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--bd0, rgba(255,255,255,.06));
  background: var(--surface, #0d1020);
  margin-top: 0;                   /* app.css sets margin-top:10px — reset */
}

#tab-brain .chat-input-box textarea {
  flex: unset;
  width: 100%;
  min-height: 46px;
  max-height: 110px;
  resize: vertical;
  box-sizing: border-box;
}

/* Toggle row + send button on one line */
#tab-brain .chat-opts {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

#tab-brain .chat-opts .tog {
  padding: 5px 10px;
  font-size: 10px;
  flex-shrink: 0;
}

#tab-brain .chat-opts .bsend {
  margin-left: auto;
  flex-shrink: 0;
}

/* Full-width stacked feature cards below chat */
#tab-brain .brain-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
  width: 100%;
  height: auto;
  overflow: visible;
  padding: 0;
}
#tab-brain .brain-side > .sc {
  width: 100%;
}

/* Sidebar quick-fire questions — prevent text overflow */
#tab-brain .qq {
  white-space: normal;
  word-break: break-word;
  overflow: visible;
  text-overflow: unset;
}

/* Confidence row */
#tab-brain .conf-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-family: var(--fm);
}

/* ─── INTERVIEW AI HUD ──────────────────────────────────────────── */
.iv-engine-status {
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: .1em;
  padding: 3px 10px;
  border-radius: 99px;
  font-weight: 700;
}
.iv-status-idle  { background: rgba(255,255,255,.06); color: var(--text-4); border: 1px solid rgba(255,255,255,.1); }
.iv-status-live  { background: rgba(0,255,136,.1); color: #00ff88; border: 1px solid rgba(0,255,136,.3); animation: pulse 2s infinite; }
.iv-status-done  { background: rgba(247,206,91,.1); color: var(--aurora-gold,#f7ce5b); border: 1px solid rgba(247,206,91,.3); }

.iv-score-hud {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--fm); font-size: 10px;
}
.iv-hud-avg  { font-size: 15px; font-weight: 800; color: var(--aurora-gold,#f7ce5b); }
.iv-hud-diff { font-size: 9px; color: var(--text-4); text-transform: uppercase; letter-spacing: .06em; }

.iv-briefing-out {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 16px;
  min-height: 120px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-2, #b0bcd4);
}

.iv-phase-bar {
  display: flex; gap: 4px; margin: 8px 0;
}
.iv-phase-step {
  flex: 1; height: 4px; border-radius: 99px;
  background: rgba(255,255,255,.08); transition: background .3s;
}
.iv-phase-step.done { background: var(--aurora-green, #00ff88); }
.iv-phase-step.active { background: var(--aurora-cyan, #00e5ff); }

.iv-voice-phase-lbl {
  font-family: var(--fm); font-size: 9px; letter-spacing: .08em;
  color: var(--text-4); margin-top: 4px;
}

/* Interview live chat */
.iv-chat-wrap {
  display: flex; flex-direction: column;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; overflow: hidden;
  background: rgba(0,0,0,.2);
}
.iv-chat-messages {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 200px; max-height: 380px;
  scroll-behavior: smooth;
}
.iv-chat-input-bar {
  display: flex; gap: 8px; padding: 10px 12px;
  border-top: 1px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.15);
}
.iv-chat-input-bar textarea {
  flex: 1; resize: none; min-height: 44px; max-height: 100px;
}
.iv-chat-send-btn {
  padding: 8px 16px; align-self: flex-end;
  background: linear-gradient(135deg, var(--aurora-cyan,#00e5ff), #007fa3);
  color: #fff; border: none; border-radius: 8px;
  font-family: var(--fm); font-size: 11px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  transition: opacity .2s;
}
.iv-chat-send-btn:disabled { opacity: .4; cursor: not-allowed; }

/* Voice visualiser */
.voice-vis {
  display: flex; align-items: flex-end; gap: 2px;
  height: 28px; padding: 4px 0;
}
.vbar {
  width: 3px; border-radius: 99px;
  background: var(--aurora-cyan, #00e5ff);
  animation: voiceBar 1.2s ease-in-out infinite;
  min-height: 4px;
}
.vbar:nth-child(2)  { animation-delay: .1s; }
.vbar:nth-child(3)  { animation-delay: .2s; }
.vbar:nth-child(4)  { animation-delay: .3s; }
.vbar:nth-child(5)  { animation-delay: .4s; }
.vbar:nth-child(6)  { animation-delay: .3s; }
.vbar:nth-child(7)  { animation-delay: .2s; }
@keyframes voiceBar { 0%,100%{height:4px} 50%{height:20px} }

.transcript-box {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px; padding: 12px 14px;
  font-size: 12.5px; line-height: 1.65;
  color: var(--text-2); min-height: 60px;
  max-height: 160px; overflow-y: auto;
}

.posture-score {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; font-family: var(--fm);
}
.posture-score .ps-val { font-size: 2rem; font-weight: 800; color: var(--aurora-green,#00ff88); line-height: 1; }
.posture-score .ps-lbl { font-size: 8px; letter-spacing: .1em; color: var(--text-4); }

/* ─── AUTOMATION — BUILD MODES ──────────────────────────────────── */
.at-modes-bar { margin-bottom: 20px; }

.at-modes-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.at-modes-title { font-weight: 700; font-size: 13px; color: var(--text-0); }
.at-modes-badge {
  font-family: var(--fm); font-size: 8px; letter-spacing: .1em;
  padding: 2px 8px; border-radius: 99px;
  background: rgba(255,255,255,.06); color: var(--text-4);
  border: 1px solid rgba(255,255,255,.1);
}

.at-modes-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 900px)  { .at-modes-row { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px)  { .at-modes-row { grid-template-columns: repeat(2,1fr); gap: 6px; } }

.at-mode-content {
  display: flex; flex-direction: column; gap: 3px;
}
.at-mode-sub {
  font-family: var(--fm); font-size: 8.5px;
  color: var(--text-4); line-height: 1.4;
}

/* ─── AUTOMATION — PLANS ────────────────────────────────────────── */
.at-plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 20px 0;
}
@media (max-width: 1100px) { .at-plans-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px)  { .at-plans-grid { grid-template-columns: 1fr; } }

.at-plan-card {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex; flex-direction: column; gap: 0;
  position: relative; overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.at-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.at-plan-card.at-plan-featured {
  border-color: rgba(247,206,91,.35);
  background: rgba(247,206,91,.04);
  box-shadow: 0 0 0 1px rgba(247,206,91,.15), 0 8px 32px rgba(247,206,91,.08);
}
.at-plan-card.atp-starter  { border-color: rgba(100,116,139,.3); }
.at-plan-card.atp-biz      { border-color: rgba(79,143,255,.25); }
.at-plan-card.atp-enterprise{ border-color: rgba(168,85,247,.3); }

.atp-card-stripe {
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; border-radius: 99px 99px 0 0;
  background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
}
.atp-starter  .atp-card-stripe { background: linear-gradient(90deg,#64748b,#475569); }
.at-plan-featured .atp-card-stripe { background: linear-gradient(90deg,#f7ce5b,#e8a800); }
.atp-biz     .atp-card-stripe  { background: linear-gradient(90deg,#4f8fff,#2563eb); }
.atp-enterprise .atp-card-stripe { background: linear-gradient(90deg,#a855f7,#7c3aed); }

.at-plan-badge {
  font-family: var(--fm); font-size: 8px; font-weight: 800;
  letter-spacing: .12em; color: var(--aurora-gold,#f7ce5b);
  margin-bottom: 8px;
}
.atp-plan-icon { font-size: 2rem; margin-bottom: 6px; line-height: 1; }

.at-plan-tier {
  font-family: var(--fh); font-size: 1.1rem; font-weight: 800;
  color: var(--text-0); margin-bottom: 10px;
}

.atp-price-wrap { margin-bottom: 16px; }
.at-plan-price {
  font-family: var(--fh); font-size: 2.2rem; font-weight: 800;
  color: var(--text-0); line-height: 1;
}
.atp-per { font-size: 1rem; font-weight: 400; color: var(--text-4); margin-left: 2px; }
.at-plan-period {
  font-family: var(--fm); font-size: 9.5px;
  color: var(--text-4); margin-top: 4px;
}

.at-plan-features {
  list-style: none; padding: 0; margin: 0 0 20px;
  display: flex; flex-direction: column; gap: 8px; flex: 1;
}
.at-plan-features li {
  font-size: 12px; color: var(--text-2); padding-left: 18px; position: relative;
}
.at-plan-features li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--aurora-green, #00ff88); font-weight: 700;
}
.at-plan-features li.atp-wf-feat { color: var(--aurora-gold,#f7ce5b); font-weight: 600; }
.at-plan-features li.atp-wf-feat::before { content: '★'; color: var(--aurora-gold,#f7ce5b); }

.at-plan-btn {
  width: 100%; padding: 12px; border-radius: 10px;
  font-family: var(--fm); font-size: 11px; font-weight: 700;
  letter-spacing: .05em; cursor: pointer;
  transition: all .2s; border: none;
}
.atp-btn-starter  { background: rgba(255,255,255,.07); color: var(--text-2); border: 1px solid rgba(255,255,255,.12); }
.atp-btn-starter:hover { background: rgba(255,255,255,.12); }
.atp-btn-pro      { background: linear-gradient(135deg,#f7ce5b,#e8a800); color: #0a0f1e; }
.atp-btn-pro:hover { opacity: .9; transform: scale(1.02); }
.atp-btn-biz      { background: linear-gradient(135deg,#4f8fff,#2563eb); color: #fff; }
.atp-btn-biz:hover { opacity: .9; }
.atp-btn-enterprise { background: linear-gradient(135deg,#a855f7,#7c3aed); color: #fff; }
.atp-btn-enterprise:hover { opacity: .9; }

/* Billing toggle Mo/Yr */
.atp-mo, .atp-yr { display: block; }

/* Live counter dot */
.atp-live-dot {
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: #00ff88;
  box-shadow: 0 0 6px #00ff88;
  animation: pulse 2s infinite;
  vertical-align: middle; margin-right: 4px;
}
.atp-hero-live { font-family: var(--fm); font-size: 10px; color: var(--text-4); margin-top: 6px; }

/* Plans guarantee */
.atp-guarantee {
  display: flex; align-items: center; gap: 16px;
  background: rgba(0,255,136,.04);
  border: 1px solid rgba(0,255,136,.15);
  border-radius: 12px; padding: 16px 20px; margin: 14px 0;
  flex-wrap: wrap;
}
.atp-guarantee-icon { font-size: 2rem; flex-shrink: 0; }
.atp-guarantee-body { flex: 1; min-width: 200px; }
.atp-guarantee-title { font-weight: 700; color: var(--aurora-green,#00ff88); font-size: 13px; margin-bottom: 4px; }
.atp-guarantee-text  { font-size: 11.5px; color: var(--text-3); line-height: 1.5; }
.atp-guarantee-clock { position: relative; width: 52px; height: 52px; flex-shrink: 0; }
.atp-clock-ring { width: 52px; height: 52px; }
.atp-clock-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fm); font-size: 9px; font-weight: 800;
  color: var(--aurora-green,#00ff88);
}

/* "Every plan includes" */
.atp-all-include {
  background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px; padding: 16px 20px; margin-bottom: 20px;
}
.atp-all-title {
  font-family: var(--fm); font-size: 9px; letter-spacing: .1em;
  color: var(--text-4); margin-bottom: 12px; text-transform: uppercase;
}
.atp-all-items {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr));
  gap: 8px;
}
.atp-all-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-2);
}
.atp-all-item span { font-size: 16px; }

/* ─── LEADS ─────────────────────────────────────────────────────── */
.leads-main-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 16px;
  align-items: start;
}
@media (max-width: 900px) { .leads-main-grid { grid-template-columns: 1fr; } }

.lead-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px; padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  transition: background .2s, border-color .2s;
}
.lead-card:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }

.lead-score {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--aurora-cyan,#00e5ff), #007fa3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fm); font-size: 11px; font-weight: 800;
  color: #fff; flex-shrink: 0;
}

/* Platform links list */
.plat-link-list { display: flex; flex-direction: column; gap: 6px; }

/* App tracker table */
.app-tracker {
  width: 100%; border-collapse: collapse; font-size: 12px;
}
.app-tracker th {
  font-family: var(--fm); font-size: 8.5px; letter-spacing: .1em;
  color: var(--text-4); text-align: left; padding: 8px 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.app-tracker td {
  padding: 10px 12px; color: var(--text-2);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.app-tracker tr:last-child td { border-bottom: none; }

/* Salary lookup card */
.sal-lookup-card {
  background: rgba(247,206,91,.04);
  border: 1px solid rgba(247,206,91,.15);
  border-radius: 12px; padding: 16px 18px;
}

/* ─── QUICK LESSONS ─────────────────────────────────────────────── */
.quick-lessons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
  gap: 10px;
  margin-top: 12px;
}
.ql-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px; padding: 14px 16px;
  cursor: pointer; transition: all .2s;
}
.ql-card:hover { background: rgba(0,229,255,.06); border-color: rgba(0,229,255,.2); }
.ql-icon { font-size: 1.6rem; margin-bottom: 6px; }
.ql-title { font-weight: 700; font-size: 12.5px; color: var(--text-0); margin-bottom: 4px; }
.ql-meta  { font-family: var(--fm); font-size: 9px; color: var(--text-4); }

/* ─── COMMUNITY ─────────────────────────────────────────────────── */
.comm-admin-only { /* shown/hidden via JS */ }

/* ─── OFFICE CALENDAR EXTRA ─────────────────────────────────────── */
.wc-engine-panel {
  background: rgba(168,85,247,.04);
  border: 1px solid rgba(168,85,247,.15);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 12px;
}

/* ─── TRANSFORMER INTEL ─────────────────────────────────────────── */
.ct-panel {
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px; padding: 16px 20px; margin-bottom: 14px;
}
.ct-muted  { color: var(--text-4); font-size: 11px; }
.ct-new-key-box {
  background: rgba(0,229,255,.04);
  border: 1px solid rgba(0,229,255,.15);
  border-radius: 10px; padding: 14px 16px; margin-top: 12px;
}
.ct-btn-sm {
  padding: 5px 12px; font-size: 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: var(--text-2); border-radius: 7px; cursor: pointer; transition: background .2s;
}
.ct-btn-sm:hover { background: rgba(255,255,255,.1); }
.ct-key-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap; margin-bottom: 8px;
}
.ct-type-filter {
  display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 12px;
}
.ct-table {
  width: 100%; border-collapse: collapse; font-size: 12px;
}
.ct-table th {
  font-family: var(--fm); font-size: 8.5px; letter-spacing: .1em;
  color: var(--text-4); text-align: left; padding: 8px 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.ct-table td {
  padding: 10px 10px; color: var(--text-2);
  border-bottom: 1px solid rgba(255,255,255,.04);
  vertical-align: top;
}
.ct-table tr:last-child td { border-bottom: none; }
.ct-match-ring {
  width: 56px; height: 56px; position: relative; flex-shrink: 0;
}
.ct-match-score {
  font-family: var(--fh); font-size: 1.4rem; font-weight: 800;
  color: var(--aurora-gold, #f7ce5b); line-height: 1;
}
.ct-match-verdict {
  font-family: var(--fm); font-size: 9px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-4); margin-top: 2px;
}

/* ─── ANALYTICS DASHBOARD — REFRESH BUTTON ──────────────────────── */
.analytics-refresh-row {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 10px; margin-bottom: 14px; flex-wrap: wrap;
}

/* ─── NOTIFICATIONS CARDS ────────────────────────────────────────── */
.notif-mark-read {
  padding: 4px 10px; font-size: 9.5px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  color: var(--text-3); border-radius: 7px; cursor: pointer; transition: background .2s;
}
.notif-mark-read:hover { background: rgba(255,255,255,.1); }
.notif-delete {
  padding: 4px 10px; font-size: 9.5px;
  background: rgba(255,45,55,.06); border: 1px solid rgba(255,45,55,.2);
  color: #ff6b75; border-radius: 7px; cursor: pointer; transition: background .2s;
}
.notif-delete:hover { background: rgba(255,45,55,.12); }

/* ─── AI SELF CHAT OUTPUT ────────────────────────────────────────── */
.ai-self-chat-output {
  min-height: 200px; max-height: 400px; overflow-y: auto;
  padding: 16px; background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.07); border-radius: 12px;
  font-size: 13px; line-height: 1.7; color: var(--text-2);
  scroll-behavior: smooth;
}

/* ─── SALARY EXTRA CLASSES ───────────────────────────────────────── */
.sal-lookup-result {
  background: rgba(0,0,0,.2); border-radius: 10px;
  padding: 12px 16px; margin-top: 10px;
}

/* ─── GENERAL UTILITY ────────────────────────────────────────────── */

/* Empty-state illustration */
.empty-state {
  text-align: center; padding: 48px 24px;
  color: var(--text-4); font-family: var(--fm); font-size: 12px;
}
.empty-state .es-icon { font-size: 3rem; margin-bottom: 12px; opacity: .4; }
.empty-state .es-title { font-size: 14px; color: var(--text-2); font-weight: 600; margin-bottom: 6px; }

/* Load-more button */
.load-more-btn {
  display: block; width: 100%; padding: 12px;
  text-align: center; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09); border-radius: 10px;
  color: var(--text-3); font-family: var(--fm); font-size: 11px;
  cursor: pointer; transition: background .2s; margin-top: 12px;
}
.load-more-btn:hover { background: rgba(255,255,255,.08); }

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,.04) 25%, rgba(255,255,255,.08) 50%, rgba(255,255,255,.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Typing indicator */
.typing-indicator {
  display: flex; gap: 4px; align-items: center; padding: 6px 0;
}
.typing-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--aurora-cyan, #00e5ff); opacity: .7;
  animation: typingBounce .9s infinite;
}
.typing-dot:nth-child(2) { animation-delay: .15s; }
.typing-dot:nth-child(3) { animation-delay: .3s; }
@keyframes typingBounce { 0%,80%,100%{transform:scale(0.8);opacity:.4} 40%{transform:scale(1.1);opacity:1} }

/* ─── LIFEPATH FUTURE SELF CHAT ─────────────────────────────────── */
.lp-chat-msgs {
  min-height: 280px; max-height: 420px;
  overflow-y: auto; scroll-behavior: smooth;
  border: 1px solid rgba(51,65,85,.8);
  border-radius: 12px; padding: 16px;
  margin: 12px 0;
  background: rgba(15,23,42,.8);
  display: flex; flex-direction: column; gap: 12px;
}
.lp-chat-msg {
  display: flex; gap: 10px; align-items: flex-start;
  animation: msgIn .2s ease;
}
.lp-chat-msg.user { flex-direction: row-reverse; }
.lp-chat-av {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg,#8b5cf6,#7c3aed);
  color: #fff; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.lp-chat-msg.user .lp-chat-av { background: linear-gradient(135deg,#00e5ff,#007fa3); }
.lp-chat-bubble {
  max-width: 80%; padding: 10px 14px;
  background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.2);
  border-radius: 0 12px 12px 12px;
  font-size: 13px; line-height: 1.65; color: var(--text-1,#c8d3e8);
}
.lp-chat-msg.user .lp-chat-bubble {
  background: rgba(0,229,255,.07); border-color: rgba(0,229,255,.18);
  border-radius: 12px 0 12px 12px;
}

/* ─── DNA PILL PANEL (openDNAPanel target) ───────────────────────── */
#csDNAFullPanel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(480px,100vw); z-index: 9500;
  background: rgba(8,12,28,.97);
  border-left: 1px solid rgba(139,92,246,.3);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  box-shadow: -8px 0 40px rgba(139,92,246,.15);
}
#csDNAFullPanel.open { transform: translateX(0); }
.dna-panel-hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.07);
}
.dna-panel-title {
  font-family: var(--fh); font-size: 1rem; font-weight: 700;
  background: linear-gradient(135deg,#a78bfa,#8b5cf6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.dna-panel-body { flex: 1; overflow-y: auto; padding: 20px; }
.dna-panel-close {
  width: 32px; height: 32px; border-radius: 8px; border: none;
  background: rgba(255,255,255,.05); color: var(--text-2);
  cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.dna-panel-close:hover { background: rgba(255,255,255,.1); }
