/* ═══════════════════════════════════════════════
   VentureSEA — Advisor Dashboard Styles
   Light theme — aligned with expansion-needs design system
   ═══════════════════════════════════════════════ */

:root {
  --navy:         #1D3260;
  --navy-mid:     #1D3260;
  --navy-light:   #243d78;
  --orange:       #FF9122;
  --orange-warm:  #FFBA49;
  --orange-tint:  #FFF4E6;
  --cyan:         #09C6F9;
  --blue-mid:     #045DE9;
  --blue-tint:    #E8EFFE;
  --green:        #22c55e;
  --green-tint:   #f0fdf4;
  --green-border: rgba(34,197,94,0.2);

  --ink:         #1D3260;
  --paper:       #ffffff;
  --canvas:      #f6f8fc;
  --line:        #e6eaf2;
  --line-strong: #d3d9e6;

  --slate-50:  #f7f9fc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;

  --emerald-50:  #ecfaf3;
  --emerald-600: #129365;
  --rose-50:     #fff1f2;
  --rose-500:    #ef4444;
  --rose-600:    #e11d48;

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-xs: 0 1px 2px rgba(15,23,42,0.04);
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow:    0 4px 12px rgba(15,23,42,0.07), 0 2px 4px rgba(15,23,42,0.04);
  --shadow-md: 0 12px 28px rgba(15,23,42,0.09), 0 4px 10px rgba(15,23,42,0.05);
  --shadow-lg: 0 24px 48px rgba(15,23,42,0.12);

  /* Legacy dark vars — kept so any remaining var() refs don't break */
  --text:       #1D3260;
  --text-dim:   #64748b;
  --text-faint: #94a3b8;
  --border:     #e6eaf2;
  --border-cyan: rgba(4,93,233,0.2);
}

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

html { background: var(--canvas); }

body {
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  background:
    radial-gradient(60% 50% at 0% 0%, rgba(9,198,249,0.05) 0%, transparent 60%),
    radial-gradient(50% 40% at 100% 100%, rgba(255,145,34,0.04) 0%, transparent 70%),
    var(--canvas);
  background-attachment: fixed;
  min-height: 100vh; color: var(--ink);
  overscroll-behavior: none; -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 64px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-left { display: flex; align-items: center; gap: 14px; }
.nav-logo img { height: 40px; width: auto; object-fit: contain; }
.nav-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--green); background: var(--green-tint);
  border: 1px solid var(--green-border); border-radius: 6px; padding: 3px 9px;
}
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-user { font-size: 13px; font-weight: 500; color: var(--slate-600); }
.btn-nav {
  background: var(--paper); border: 1px solid var(--line-strong);
  color: var(--slate-600); font-family: Poppins, sans-serif; font-size: 13px;
  font-weight: 500; border-radius: var(--radius-sm); padding: 7px 16px; cursor: pointer;
  transition: all .15s;
}
.btn-nav:hover { background: var(--slate-50); border-color: var(--slate-400); }

/* ── AUTH ── */
#auth-screen {
  display: flex; align-items: flex-start; justify-content: center;
  min-height: calc(100vh - 64px); padding: 40px 20px; gap: 0;
}
.auth-box {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-xl); padding: 44px 40px;
  width: 100%; max-width: 420px; box-shadow: var(--shadow-md);
}
.auth-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--green); margin-bottom: 8px;
}
.auth-title { font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.auth-sub   { font-size: 13px; color: var(--slate-500); margin-bottom: 24px; line-height: 1.6; }
.auth-tabs {
  display: flex; gap: 4px; background: var(--slate-100);
  border: 1px solid var(--line); border-radius: 10px; padding: 3px; margin-bottom: 22px;
}
.auth-tab { flex: 1; padding: 8px; border: none; border-radius: 7px; font-family: Poppins, sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s; }
.auth-tab.active   { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }
.auth-tab.inactive { background: transparent; color: var(--slate-500); }
.form-field { margin-bottom: 12px; }
.form-label {
  font-size: 11px; font-weight: 600; color: var(--slate-600);
  display: block; margin-bottom: 5px; letter-spacing: 0.3px;
}
.form-input {
  width: 100%; padding: 11px 14px;
  background: var(--paper); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); color: var(--ink);
  font-family: Poppins, sans-serif; font-size: 13px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(34,197,94,0.1); }
.form-input:disabled { background: var(--slate-100); color: var(--slate-400); }
.auth-err {
  display: none; color: var(--rose-600); font-size: 12px; margin: 8px 0;
}
.auth-success {
  display: none; color: var(--emerald-600); font-size: 12px; margin: 8px 0;
  background: var(--emerald-50); border: 1px solid rgba(18,147,101,0.2);
  border-radius: var(--radius-sm); padding: 10px 12px; line-height: 1.5;
}
.btn-auth {
  width: 100%; margin-top: 4px;
  background: linear-gradient(135deg,var(--green),#16a34a);
  color: #fff; font-family: Poppins, sans-serif; font-size: 14px; font-weight: 700;
  border: none; border-radius: var(--radius); padding: 13px; cursor: pointer;
  transition: opacity .2s, transform .15s;
  box-shadow: 0 4px 14px rgba(34,197,94,0.25);
}
.btn-auth:hover { opacity: .92; transform: translateY(-1px); }
.btn-auth:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.forgot-link {
  font-size: 12px; color: var(--blue-mid); text-align: right;
  display: block; margin-top: -6px; margin-bottom: 12px; cursor: pointer;
}
.forgot-link:hover { text-decoration: underline; }
.divider { display: flex; align-items: center; gap: 10px; margin: 12px 0; }
.divider-line { flex: 1; height: 1px; background: var(--line); }
.divider-text { font-size: 11px; color: var(--slate-400); }
.btn-google {
  width: 100%; padding: 11px;
  background: var(--paper); color: var(--ink);
  font-family: Poppins, sans-serif; font-size: 13px; font-weight: 600;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 9px;
  transition: all .15s; box-shadow: var(--shadow-xs);
}
.btn-google:hover { background: var(--slate-50); border-color: var(--slate-300); }

/* ── ONBOARDING ── */
.onboarding-box {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-xl); padding: 36px 40px;
  width: 100%; max-width: 600px; box-shadow: var(--shadow-md);
}
.ob-progress { display: flex; align-items: center; margin-bottom: 32px; }
.ob-step { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.ob-step-dot {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--line-strong); background: var(--slate-100);
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  color: var(--slate-400); transition: all .2s;
}
.ob-step.active .ob-step-dot { border-color: var(--orange); background: var(--orange); color: #fff; }
.ob-step.done   .ob-step-dot { border-color: var(--green); background: var(--green); color: #fff; }
.ob-step-label {
  font-size: 10px; font-weight: 600; color: var(--slate-400);
  text-transform: uppercase; letter-spacing: .8px;
}
.ob-step.active .ob-step-label { color: var(--orange); }
.ob-step.done   .ob-step-label { color: var(--green); }
.ob-step-line { flex: 1; height: 2px; background: var(--line); margin: 0 8px; margin-bottom: 16px; transition: background .2s; }
.ob-step-line.done { background: var(--green); }
.ob-title { font-size: 20px; font-weight: 800; margin-bottom: 4px; color: var(--ink); }
.ob-sub   { font-size: 12px; color: var(--slate-500); margin-bottom: 20px; line-height: 1.5; }
.ob-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 6px; }
.cb-item {
  display: flex; align-items: center; gap: 7px; font-size: 12px;
  color: var(--slate-600); cursor: pointer;
  background: var(--paper); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); padding: 7px 10px; transition: all .15s; user-select: none;
}
.cb-item:hover { border-color: rgba(255,145,34,0.3); color: var(--ink); background: var(--orange-tint); }
.cb-item input { accent-color: var(--orange); }
.btn-auth-ghost {
  background: var(--paper); border: 1px solid var(--line-strong);
  color: var(--slate-600); font-family: Poppins, sans-serif; font-size: 13px; font-weight: 600;
  border-radius: var(--radius); padding: 12px 20px; cursor: pointer; transition: all .15s;
}
.btn-auth-ghost:hover { background: var(--slate-100); color: var(--ink); }

/* Tier cards */
.tier-card {
  background: var(--paper); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 16px 18px;
  cursor: pointer; transition: all .2s; display: block; box-shadow: var(--shadow-xs);
}
.tier-card:hover { background: var(--blue-tint); border-color: rgba(4,93,233,0.25); }
.tier-card.selected { background: var(--blue-tint); border-color: var(--blue-mid); box-shadow: 0 0 0 3px rgba(4,93,233,0.1); }

/* ToR box */
.tor-box {
  background: var(--slate-50); border: 1px solid var(--line);
  border-radius: var(--radius); max-height: 240px; overflow-y: auto;
  padding: 20px 22px; margin-bottom: 18px;
}
.tor-title { font-size: 13px; font-weight: 800; margin-bottom: 14px; color: var(--ink); }
.tor-body p { font-size: 11px; color: var(--slate-600); line-height: 1.7; margin-bottom: 12px; }
.tor-body strong { color: var(--ink); }
.tor-sign-section {
  background: var(--orange-tint); border: 1px solid rgba(255,145,34,0.2);
  border-radius: var(--radius); padding: 16px 18px;
}
.tor-sign-label { font-size: 12px; font-weight: 700; margin-bottom: 4px; color: var(--orange); }
.tor-sign-desc  { font-size: 11px; color: var(--slate-500); line-height: 1.5; margin-bottom: 10px; }
.tor-checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12px; color: var(--slate-700); line-height: 1.5; cursor: pointer;
}
.tor-checkbox input { margin-top: 2px; accent-color: var(--orange); flex-shrink: 0; }

/* ── DASHBOARD LAYOUT ── */
#dashboard { display: none; }
.dash-layout { display: flex; height: calc(100vh - 64px); overflow: hidden; }

/* Sidebar */
.sidebar {
  width: 220px; flex-shrink: 0;
  background: var(--paper); border-right: 1px solid var(--line);
  padding: 24px 0; position: sticky; top: 0;
  height: 100%; overflow-y: auto;
}
.sidebar-section { margin-bottom: 6px; }
.sidebar-label {
  font-size: 9px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--slate-400); padding: 0 20px 8px;
}
.sidebar-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px; font-size: 13px; font-weight: 500; color: var(--slate-600);
  cursor: pointer; transition: all .15s; border-left: 2px solid transparent;
  text-decoration: none;
}
.sidebar-item:hover { background: var(--slate-50); color: var(--ink); }
.sidebar-item.active {
  border-left-color: var(--green); background: var(--green-tint);
  color: #166534; font-weight: 700;
}
.sidebar-icon  { font-size: 16px; width: 20px; text-align: center; }
.sidebar-badge {
  margin-left: 6px; background: var(--orange-tint); color: var(--orange);
  border-radius: 10px; padding: 1px 7px; font-size: 10px; font-weight: 700;
}

/* Main content */
.main-content { flex: 1; padding: 32px; overflow-y: auto; height: 100%; background: var(--canvas); }

/* ── SUMMARY CARDS ── */
.summary-row { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 14px; margin-bottom: 28px; }
.summary-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 20px 22px; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.summary-card:hover { box-shadow: var(--shadow); }
.summary-num   { font-size: 28px; font-weight: 800; color: var(--green); line-height: 1; margin-bottom: 4px; }
.summary-label { font-size: 12px; color: var(--slate-500); font-weight: 500; }

/* Section header */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-title  { font-size: 16px; font-weight: 700; color: var(--ink); }

/* Session cards */
.sessions-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.session-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 18px 22px;
  display: flex; align-items: center; gap: 18px;
  transition: border-color .2s, box-shadow .2s; box-shadow: var(--shadow-xs);
}
.session-card:hover { border-color: rgba(34,197,94,0.3); box-shadow: var(--shadow); }
.adv-session-card:hover { border-color: rgba(4,93,233,0.2); box-shadow: var(--shadow); transform: translateY(-1px); transition: all .15s; }
.session-status { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.status-upcoming { background: var(--orange); box-shadow: 0 0 8px rgba(255,145,34,0.4); }
.status-done     { background: var(--green); }
.status-pending  { background: var(--slate-300); }
.session-info    { flex: 1; min-width: 0; }
.session-company { font-size: 15px; font-weight: 700; margin-bottom: 3px; color: var(--ink); }
.session-meta    { font-size: 12px; color: var(--slate-500); display: flex; gap: 10px; flex-wrap: wrap; }
.session-meta span { display: flex; align-items: center; gap: 4px; }
.session-score {
  width: 48px; height: 48px; border-radius: 11px; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; line-height: 1;
}
.score-go      { background: var(--emerald-50); color: var(--emerald-600); border: 1px solid rgba(18,147,101,0.2); }
.score-caution { background: var(--orange-tint); color: var(--orange); border: 1px solid rgba(255,145,34,0.25); }
.score-nogo    { background: var(--rose-50); color: var(--rose-600); border: 1px solid rgba(225,29,72,0.2); }
.score-badge-label { font-size: 8px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; margin-top: 2px; }
.session-actions { display: flex; gap: 8px; flex-shrink: 0; }
.btn-sm {
  background: var(--paper); border: 1px solid var(--line-strong);
  color: var(--slate-700); font-family: Poppins, sans-serif; font-size: 12px; font-weight: 500;
  border-radius: var(--radius-sm); padding: 7px 13px; cursor: pointer; white-space: nowrap;
  transition: all .15s; box-shadow: var(--shadow-xs);
}
.btn-sm:hover { background: var(--slate-50); border-color: var(--slate-400); }
.btn-sm.primary {
  background: linear-gradient(135deg,var(--orange),var(--orange-warm));
  border-color: transparent; color: #fff; font-weight: 700;
  box-shadow: 0 4px 12px rgba(255,145,34,0.2);
}
.btn-sm.green {
  background: var(--emerald-50); border-color: rgba(18,147,101,0.2); color: var(--emerald-600);
}

/* Calendar connect */
.cal-connect-card {
  background: var(--blue-tint); border: 1px solid rgba(4,93,233,0.15);
  border-radius: var(--radius-lg); padding: 24px 28px; margin-bottom: 24px;
  display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
}
.cal-icon  { font-size: 36px; flex-shrink: 0; }
.cal-info  { flex: 1; min-width: 180px; }
.cal-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; color: var(--ink); }
.cal-desc  { font-size: 12px; color: var(--slate-500); line-height: 1.5; }
.btn-cal-connect {
  background: var(--ink); color: #fff; font-family: Poppins, sans-serif;
  font-size: 13px; font-weight: 700; border: none; border-radius: var(--radius);
  padding: 10px 20px; cursor: pointer; display: flex; align-items: center; gap: 8px;
  white-space: nowrap; flex-shrink: 0;
}
.cal-connected {
  display: none; background: var(--emerald-50); border: 1px solid rgba(18,147,101,0.2);
  border-radius: 10px; padding: 10px 16px; font-size: 13px; font-weight: 600;
  color: var(--emerald-600); align-items: center; gap: 8px;
}

/* Profile card */
.profile-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm);
}
.profile-header { display: flex; gap: 20px; align-items: center; margin-bottom: 24px; }
.profile-avatar {
  width: 64px; height: 64px; border-radius: 50%; background: var(--green-tint);
  border: 2px solid var(--green-border); display: flex; align-items: center;
  justify-content: center; font-size: 28px; flex-shrink: 0;
}
.profile-name  { font-size: 20px; font-weight: 800; color: var(--ink); }
.profile-email { font-size: 13px; color: var(--slate-500); margin-top: 2px; }
.profile-tag {
  display: inline-block; margin-top: 6px; font-size: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; background: var(--green-tint);
  border: 1px solid var(--green-border); color: #166534; border-radius: 5px; padding: 2px 8px;
}
.profile-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-group    { display: flex; flex-direction: column; gap: 5px; }
.field-label    {
  font-size: 11px; font-weight: 600; color: var(--slate-500);
  text-transform: uppercase; letter-spacing: 0.8px;
}
.field-input {
  width: 100%; padding: 10px 13px;
  background: var(--paper); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); color: var(--ink);
  font-family: Poppins, sans-serif; font-size: 13px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field-input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(34,197,94,0.1); }
textarea.field-input { resize: none; }
.btn-save-profile {
  margin-top: 18px; padding: 11px 24px;
  background: linear-gradient(135deg,var(--green),#16a34a);
  color: #fff; font-family: Poppins, sans-serif; font-size: 13px; font-weight: 700;
  border: none; border-radius: var(--radius); cursor: pointer;
  box-shadow: 0 4px 12px rgba(34,197,94,0.2); transition: opacity .15s;
}
.btn-save-profile:hover { opacity: .9; }

/* Earn stats */
.earn-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 22px; }
.earn-stat-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-xs);
}
.earn-stat-num   { font-size: 22px; font-weight: 800; color: var(--green); line-height: 1; margin-bottom: 3px; }
.earn-stat-label { font-size: 11px; color: var(--slate-500); }

/* Settings cards */
.settings-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 20px; margin-bottom: 12px; box-shadow: var(--shadow-xs);
}
.settings-card-title { font-size: 13px; font-weight: 700; margin-bottom: 4px; color: var(--ink); }
.settings-card-desc  { font-size: 11px; color: var(--slate-500); margin-bottom: 6px; line-height: 1.5; }
.toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0; border-bottom: 1px solid var(--line); gap: 14px;
}
.toggle-info  { flex: 1; }
.toggle-label { font-size: 13px; font-weight: 600; margin-bottom: 2px; color: var(--ink); }
.toggle-desc  { font-size: 11px; color: var(--slate-500); }
.toggle-switch { position: relative; display: inline-block; width: 38px; height: 22px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; inset: 0; background: var(--slate-200); border-radius: 22px; transition: .2s; }
.toggle-slider::before { content: ''; position: absolute; height: 16px; width: 16px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: var(--shadow-xs); }
.toggle-switch input:checked + .toggle-slider { background: var(--orange); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(16px); }
.danger-zone {
  background: var(--rose-50); border: 1px solid rgba(225,29,72,0.2);
  border-radius: var(--radius); padding: 18px 20px; margin-top: 8px;
}
.btn-danger {
  background: var(--rose-50); border: 1px solid rgba(225,29,72,0.25); color: var(--rose-600);
  font-family: Poppins, sans-serif; font-size: 12px; font-weight: 600;
  border-radius: var(--radius-sm); padding: 8px 16px; cursor: pointer; transition: all .15s;
}
.btn-danger:hover { background: #ffe4e6; }

/* GTM Report Modal */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(15,23,42,0.5); backdrop-filter: blur(6px);
  align-items: flex-start; justify-content: center; overflow-y: auto; padding: 40px 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-xl); padding: 36px 40px;
  max-width: 820px; width: 100%; position: relative; box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute; top: 16px; right: 16px; background: var(--slate-100);
  border: none; color: var(--slate-500); font-size: 22px; cursor: pointer;
  padding: 4px 8px; border-radius: var(--radius-sm); transition: all .15s;
}
.modal-close:hover { background: var(--orange-tint); color: var(--orange); }
.modal-title { font-size: 20px; font-weight: 800; margin-bottom: 4px; color: var(--ink); }
.modal-sub   { font-size: 13px; color: var(--slate-500); margin-bottom: 28px; }
.modal-advisor-note {
  background: var(--orange-tint); border: 1px solid rgba(255,145,34,0.2);
  border-radius: var(--radius); padding: 12px 16px; margin-bottom: 22px;
  font-size: 12px; color: var(--orange); display: flex; gap: 8px; align-items: flex-start;
}
.detail-section       { margin-bottom: 20px; }
.detail-section-title {
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--blue-mid); margin-bottom: 10px;
}
.detail-text { font-size: 13px; color: var(--slate-600); line-height: 1.7; }
.score-breakdown { display: flex; flex-direction: column; gap: 8px; }
.bd-row { display: grid; grid-template-columns: 160px 1fr 50px; gap: 10px; align-items: center; }
.bd-label    { font-size: 12px; font-weight: 500; color: var(--slate-700); }
.bd-bar-wrap { background: var(--slate-200); border-radius: 4px; height: 6px; overflow: hidden; }
.bd-bar      { height: 100%; border-radius: 4px; }
.comp-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.comp-rank { font-size: 18px; font-weight: 900; color: var(--orange); min-width: 24px; }
.comp-name { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.comp-desc { font-size: 12px; color: var(--slate-500); line-height: 1.6; }
.reg-row   { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 8px; }
.reg-row.high   { background: var(--rose-50); border-left: 3px solid var(--rose-600); }
.reg-row.medium { background: var(--orange-tint); border-left: 3px solid var(--orange); }
.reg-row.low    { background: var(--emerald-50); border-left: 3px solid var(--green); }
.reg-agency { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--slate-500); margin-bottom: 3px; }
.reg-title  { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.reg-desc   { font-size: 12px; color: var(--slate-600); line-height: 1.5; }
.phase-row    { margin-bottom: 14px; }
.phase-timing { font-size: 11px; font-weight: 700; color: var(--orange); margin-bottom: 3px; }
.phase-name   { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.phase-item   { font-size: 12px; color: var(--slate-600); padding: 4px 0 4px 14px; border-left: 2px solid var(--line); margin-bottom: 3px; }

/* Transcript */
.transcript-box {
  background: var(--slate-50); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; max-height: 300px; overflow-y: auto;
  font-size: 12px; color: var(--slate-700); line-height: 1.8;
  white-space: pre-wrap; font-family: monospace;
}

/* Availability grid */
.avail-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; margin-bottom: 16px; }
.avail-day  { text-align: center; }
.avail-day-label { font-size: 10px; font-weight: 700; color: var(--slate-400); margin-bottom: 6px; text-transform: uppercase; }
.avail-slot {
  background: var(--slate-100); border: 1px solid var(--line);
  border-radius: 6px; padding: 6px 4px; font-size: 10px; color: var(--slate-400);
  cursor: pointer; transition: all .15s; text-align: center; margin-bottom: 4px;
}
.avail-slot.selected { background: var(--emerald-50); border-color: rgba(18,147,101,0.3); color: var(--emerald-600); }
.avail-slot:hover:not(.selected) { border-color: var(--slate-400); color: var(--ink); background: var(--paper); }

/* Skeletons */
@keyframes shimmer { 0%{background-position:-400px 0} 100%{background-position:400px 0} }
.skeleton {
  background: linear-gradient(90deg,var(--slate-100) 25%,var(--slate-50) 50%,var(--slate-100) 75%);
  background-size: 400px 100%; animation: shimmer 1.4s infinite; border-radius: 6px;
}
.sk-card {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px;
}
.sk-sq    { width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0; }
.sk-lines { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.sk-l     { height: 10px; }

/* Inline style overrides — keeps JS-injected dark HTML readable */
[style*="color:rgba(255,255,255"] { color: var(--ink) !important; }
[style*="color:white"]            { color: var(--ink) !important; }
[style*="background:rgba(255,255,255,0.03)"] { background: var(--paper) !important; border-color: var(--line) !important; }
[style*="color:var(--text-faint)"] { color: var(--slate-400) !important; }
[style*="color:var(--text-dim)"]   { color: var(--slate-500) !important; }
[style*="color:var(--cyan)"]       { color: var(--blue-mid) !important; }
[style*="background:rgba(9,198,249,0.1)"] { background: var(--blue-tint) !important; }
[style*="background:rgba(255,255,255,0.05)"] { background: var(--slate-100) !important; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .dash-layout { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: static; display: flex; overflow-x: auto; padding: 8px 0; border-right: none; border-bottom: 1px solid var(--line); }
  .sidebar-section { display: flex; }
  .sidebar-label { display: none; }
  .sidebar-item { white-space: nowrap; border-left: none; border-bottom: 2px solid transparent; }
  .sidebar-item.active { border-bottom-color: var(--green); border-left-color: transparent; }
  .main-content { padding: 20px 16px; }
  .profile-fields { grid-template-columns: 1fr; }
  .bd-row { grid-template-columns: 110px 1fr 40px; }
  .modal-box { padding: 24px 20px; }
  .onboarding-box { padding: 24px 18px; }
  .ob-field-row { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: repeat(2,1fr); }
  .earn-stats { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .summary-row { grid-template-columns: 1fr 1fr; }
  .session-card { flex-wrap: wrap; }
  .session-actions { width: 100%; justify-content: flex-end; margin-top: 4px; }
  .session-score { display: none; }
  .modal-box { padding: 20px 16px; }
  .profile-fields { grid-template-columns: 1fr; }
  .avail-grid { grid-template-columns: repeat(4,1fr); }
}
