/* ── NeuroDirect Hub · styles.css ─────────────────────────────────────────
   Edit this file to change colours, fonts, spacing.
   CSS variables at the top control the whole design.
   ───────────────────────────────────────────────── */

/* ── DESIGN TOKENS ─────────────────────────────────────────────────────── */
:root {
  --navy:       #1C3457;
  --navy-light: #EEF2F7;
  --green:      #4BAF4F;
  --green-pale: #F0FAF0;
  --blue:       #41A5F5;
  --blue-pale:  #EBF5FE;
  --orange:     #FF9800;
  --orange-pale:#FFF4E5;
  --pink:       #E81D62;
  --pink-pale:  #FEF0F4;
  --purple:     #7C3AED;
  --lavender:   #F0EEFF;
  --teal:       #0D9488;
  --teal-pale:  #F0FDFA;
  --amber:      #D97706;
  --amber-pale: #FFFBEB;
  --white:      #FFFFFF;
  --grey-50:    #F9FAFB;
  --grey-100:   #F3F4F6;
  --grey-200:   #E5E7EB;
  --grey-400:   #9CA3AF;
  --grey-600:   #6B7280;
  --border:     #E2E8F0;
  --text:       #1C3457;

  --sidebar-w:  260px;
  --header-h:   58px;
  --radius:     10px;
  --radius-sm:  6px;
  --shadow:     0 1px 4px rgba(28,52,87,.10);
  --shadow-md:  0 4px 16px rgba(28,52,87,.12);

  --font:       'DM Sans', system-ui, sans-serif;
}

/* ── RESET & BASE ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--grey-50);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
p { line-height: 1.65; }

/* ── LAYOUT ─────────────────────────────────────────────────────────────── */
.hub-layout {
  display: flex;
  min-height: 100vh;
}

/* ── SIDEBAR ────────────────────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  background: var(--navy);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  transition: transform .25s ease;
}

.sidebar-logo {
  padding: 22px 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.sidebar-logo .brand {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.2px;
}

.sidebar-logo .tagline {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  margin-top: 2px;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
  scrollbar-width: none;
}
.sidebar-nav::-webkit-scrollbar { display: none; }

.nav-group-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  padding: 14px 20px 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  border-radius: 0;
  transition: background .15s, color .15s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
}

.nav-item:hover {
  background: rgba(255,255,255,.07);
  color: var(--white);
}

.nav-item.active {
  background: rgba(255,255,255,.12);
  color: var(--white);
  font-weight: 600;
}

.nav-item .nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(255,255,255,.3);
}

.nav-item.active .nav-dot {
  background: var(--white);
}

.sidebar-footer {
  padding: 14px 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 11px;
  color: rgba(255,255,255,.35);
}

/* ── MAIN CONTENT ───────────────────────────────────────────────────────── */
.main {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  flex: 1;
}

.lang-switcher {
  display: flex;
  gap: 4px;
}

.lang-btn {
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  background: var(--grey-50);
  color: var(--grey-600);
  cursor: pointer;
  font-family: var(--font);
  transition: all .15s;
}

.lang-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--navy);
}

.content {
  flex: 1;
  padding: 28px 40px;
  max-width: 1600px;
  width: 100%;
}

/* ── SECTION WRAPPER ────────────────────────────────────────────────────── */
.section { display: none; }
.section.active { display: block; }

/* ── PAGE HEADER ─────────────────────────────────────────────────────────── */
.page-header {
  margin-bottom: 24px;
}

.page-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 6px;
}

.page-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 8px;
}

.page-intro {
  font-size: 14px;
  line-height: 1.7;
  color: var(--grey-600);
  max-width: 800px;
}

/* ── CARDS ───────────────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  overflow: hidden;
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 18px;
  cursor: pointer;
  user-select: none;
  transition: background .15s;
}

.card-header:hover { background: var(--grey-50); }

.card-header-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}

.card-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(255,255,255,.8);
  white-space: nowrap;
  margin-top: 2px;
  flex-shrink: 0;
}

.card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 3px;
}

.card-subtitle {
  font-size: 12px;
  color: var(--grey-600);
  line-height: 1.4;
}

.card-chevron {
  flex-shrink: 0;
  color: var(--grey-400);
  transition: transform .2s;
  margin-top: 2px;
}

.card.open .card-chevron { transform: rotate(180deg); }

.card-body {
  display: none;
  padding: 18px 18px 20px;
  border-top: 1px solid var(--border);
}

.card.open .card-body { display: block; }

/* ── PROSE ───────────────────────────────────────────────────────────────── */
.prose p {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--grey-600);
  margin-bottom: 10px;
}
.prose p:last-child { margin-bottom: 0; }

/* ── SECTION LABEL ──────────────────────────────────────────────────────── */
.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid currentColor;
}

/* ── TIP CARDS ───────────────────────────────────────────────────────────── */
.tips { display: flex; flex-direction: column; gap: 8px; }

.tip {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent, var(--navy));
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 11px 14px;
}

.tip-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 3px;
}

.tip-body {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--grey-600);
}

/* ── LABEL BARS ─────────────────────────────────────────────────────────── */
.label-bar {
  font-size: 10px;
  font-weight: 700;
  color: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  display: inline-block;
  margin-top: 14px;
  margin-bottom: 0;
}

/* ── CALLOUT ─────────────────────────────────────────────────────────────── */
.callout {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--navy);
  margin-bottom: 16px;
}

/* ── DOWNLOAD GRID ───────────────────────────────────────────────────────── */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.download-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.download-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey-400);
}

.download-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  flex: 1;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: opacity .2s;
  text-decoration: none;
  width: fit-content;
}

.download-btn:hover { opacity: .85; color: var(--white); }

/* ── ADJUSTMENT BUILDER ──────────────────────────────────────────────────── */
.builder-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.builder-title { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.builder-intro { font-size: 13px; color: var(--grey-600); line-height: 1.55; margin-bottom: 16px; }
.builder-step-label {
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--grey-400); margin-bottom: 10px;
}

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

.chip {
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: var(--grey-50);
  color: var(--grey-600);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font);
  transition: all .15s;
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.active { background: var(--navy); border-color: var(--navy); color: var(--white); font-weight: 600; }

.ctx-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }

.ctx-btn {
  padding: 8px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--grey-50);
  color: var(--grey-600);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font);
  transition: all .15s;
}
.ctx-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); font-weight: 600; }

.builder-actions { display: flex; gap: 10px; margin-top: 16px; }

.btn-primary {
  padding: 9px 22px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: opacity .2s;
}
.btn-primary:hover { opacity: .85; }

.btn-ghost {
  padding: 9px 16px;
  background: var(--grey-100);
  color: var(--grey-600);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
  font-family: var(--font);
}

.results-box { margin-top: 20px; border-top: 1px solid var(--border); padding-top: 18px; }
.results-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.results-title { font-size: 14px; font-weight: 600; color: var(--navy); }

.result-group { margin-bottom: 14px; }
.result-group-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.result-group-label {
  font-size: 11px; font-weight: 700; color: var(--white);
  padding: 4px 12px; border-radius: 4px;
}
.result-items { display: flex; flex-direction: column; gap: 6px; }
.result-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--navy); line-height: 1.5;
  padding: 8px 12px;
  background: var(--grey-50);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.result-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }

.btn-copy {
  padding: 4px 10px;
  background: var(--grey-100);
  color: var(--grey-600);
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font);
}

.btn-copy-all {
  padding: 6px 14px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
}

/* ── SCRIPT CARDS ────────────────────────────────────────────────────────── */
.script-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  margin-bottom: 12px;
}
.script-title {
  font-size: 13px; font-weight: 600; color: var(--white);
  padding: 10px 14px;
  background: var(--accent, var(--navy));
}
.script-when {
  font-size: 12px; color: var(--grey-400); font-style: italic;
  padding: 8px 14px;
  background: var(--grey-50);
  border-bottom: 1px solid var(--border);
}
.script-when span { font-style: normal; font-weight: 600; color: var(--grey-600); }
.script-body { padding: 14px; background: var(--navy-light); }
.script-body p { font-size: 13px; line-height: 1.7; color: var(--navy); margin-bottom: 8px; }
.script-body p:last-child { margin-bottom: 0; }
.script-footer {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; padding: 10px 14px;
  background: var(--green-pale);
  border-top: 1px solid rgba(75,175,79,.15);
}
.script-tip { font-size: 12px; line-height: 1.5; color: #166534; flex: 1; }
.btn-copy-script {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; background: var(--navy); color: var(--white);
  border: none; border-radius: var(--radius-sm);
  font-size: 11px; font-weight: 600; cursor: pointer;
  font-family: var(--font); white-space: nowrap;
  transition: opacity .2s;
}
.btn-copy-script:hover { opacity: .85; }
.btn-copy-script.copied { background: var(--green); }

/* ── HOW TO ASK ──────────────────────────────────────────────────────────── */
.how-section { margin-top: 24px; }
.how-title { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--blue); }
.how-area { margin-bottom: 20px; }
.how-area-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 2px solid; margin-bottom: 12px; }
.how-step { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.how-step-num { font-size: 16px; font-weight: 700; flex-shrink: 0; min-width: 20px; margin-top: 1px; }
.how-step-title { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.how-step-body { font-size: 12.5px; line-height: 1.6; color: var(--grey-600); }

/* ── SELF ASSESSMENT ─────────────────────────────────────────────────────── */
.assess-group {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
}
.assess-group-label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); margin-bottom: 10px; }
.assess-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.assess-item:last-child { border-bottom: none; padding-bottom: 0; }
.assess-item-text { font-size: 13px; color: var(--navy); line-height: 1.4; flex: 1; }
.assess-opts { display: flex; gap: 6px; flex-shrink: 0; }
.assess-opt {
  padding: 4px 10px; border: 1px solid var(--border); border-radius: 20px;
  background: var(--grey-50); color: var(--grey-600); font-size: 11px;
  font-weight: 500; cursor: pointer; font-family: var(--font); transition: all .15s;
}
.assess-opt:hover { border-color: var(--purple); color: var(--purple); }
.assess-opt.selected { background: var(--purple); border-color: var(--purple); color: var(--white); }

/* ── REFLECTION ──────────────────────────────────────────────────────────── */
.reflect-item { margin-bottom: 16px; }
.reflect-prompt { font-size: 13.5px; font-weight: 500; color: var(--navy); margin-bottom: 8px; line-height: 1.5; }
.reflect-input {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 13px; color: var(--navy);
  line-height: 1.6; resize: vertical; background: var(--grey-50);
  transition: border-color .2s; outline: none;
}
.reflect-input:focus { border-color: var(--purple); background: var(--white); }

/* ── TODO CARDS ─────────────────────────────────────────────────────────── */
.todo-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 16px;
  margin-bottom: 8px; box-shadow: var(--shadow);
}
.todo-header { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 6px; }
.todo-check { margin-top: 2px; accent-color: var(--green); width: 15px; height: 15px; flex-shrink: 0; cursor: pointer; }
.todo-title { font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.todo-body { font-size: 12.5px; line-height: 1.6; color: var(--grey-600); padding-left: 25px; }

/* ── STRENGTHS ───────────────────────────────────────────────────────────── */
.strengths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.strength-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow);
}
.strength-pattern { font-size: 12px; font-weight: 600; color: var(--navy); margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.strength-label { font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.strength-challenge .strength-label { color: var(--pink); }
.strength-asset .strength-label { color: var(--green); }
.strength-col p { font-size: 12px; line-height: 1.55; color: var(--grey-600); }

/* ── RESOURCE CARDS ──────────────────────────────────────────────────────── */
.resource-group { margin-bottom: 28px; }
.resource-group-header {
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 10px 16px;
}
.resource-group-header h3 { font-size: 13px; font-weight: 700; color: var(--white); }
.resource-group-intro {
  background: var(--grey-50); padding: 10px 16px;
  border: 1px solid var(--border); border-top: none;
  font-size: 12.5px; color: var(--grey-600); line-height: 1.55;
  margin-bottom: 10px; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.resource-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 10px;
  box-shadow: var(--shadow); overflow: hidden;
}
.resource-card-inner { padding: 14px 16px; }
.resource-type { font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.resource-name { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.resource-desc { font-size: 12.5px; line-height: 1.6; color: var(--grey-600); margin-bottom: 10px; }
.resource-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; background: var(--navy); color: var(--white);
  border: none; border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 600; cursor: pointer;
  font-family: var(--font); text-decoration: none; transition: opacity .2s;
}
.resource-btn:hover { opacity: .85; color: var(--white); }
.resource-affiliate { font-size: 11px; color: var(--green); font-style: italic; padding: 8px 16px; background: var(--green-pale); border-top: 1px solid rgba(75,175,79,.15); }

/* ── SENSORY TRIGGERS TABLE ──────────────────────────────────────────────── */
.trigger-table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; }
.trigger-row { display: flex; border-bottom: 1px solid var(--border); }
.trigger-row:last-child { border-bottom: none; }
.trigger-sense {
  width: 90px; flex-shrink: 0;
  background: var(--teal); color: var(--white);
  font-size: 11px; font-weight: 700;
  padding: 10px 12px;
  display: flex; align-items: flex-start;
}
.trigger-items {
  flex: 1; padding: 8px 14px; background: var(--white);
  display: flex; flex-direction: column; gap: 4px;
}
.trigger-items li { font-size: 12.5px; color: var(--navy); line-height: 1.5; list-style: none; padding-left: 12px; position: relative; }
.trigger-items li::before { content: "•"; position: absolute; left: 0; color: var(--teal); }

/* ── WELCOME SCREEN ──────────────────────────────────────────────────────── */
.welcome-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2A4A6B 100%);
  border-radius: var(--radius);
  padding: 32px;
  color: var(--white);
  margin-bottom: 24px;
}
.welcome-hero h1 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.welcome-hero p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.8); max-width: 500px; }

.welcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.welcome-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: box-shadow .2s, transform .15s;
}
.welcome-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.welcome-card-num { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--grey-400); margin-bottom: 6px; }
.welcome-card-title { font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.3; margin-bottom: 4px; }
.welcome-card-desc { font-size: 11.5px; color: var(--grey-600); line-height: 1.5; }

/* ── MOBILE ──────────────────────────────────────────────────────────────── */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 99;
}

@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.open { display: block; }
  .main { margin-left: 0; }
  .menu-toggle { display: block; }
  .content { padding: 18px 16px 60px; }  .strengths-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr 1fr; }
  .welcome-grid { grid-template-columns: 1fr 1fr; }
  .assess-opts { flex-direction: column; gap: 4px; }
  .assess-opt { text-align: center; }
}
