@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--three6-text);
  background: var(--three6-paper);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; margin: 0; line-height: 1.05; letter-spacing: 0.01em; }

p { margin: 0; }

button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

a { color: inherit; }

img, svg { display: block; max-width: 100%; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

/* ---------- App shell ---------- */
#app { min-height: 100vh; display: flex; flex-direction: column; }

.app-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 48px);
  border-bottom: 1px solid var(--three6-grey-300);
  background: var(--three6-white);
}

.app-main { flex: 1; }

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.header-right { display: flex; align-items: center; gap: 12px; }

/* ---------- Nav menu ---------- */
.nav-menu { position: relative; }
.nav-menu-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--three6-grey-300); background: var(--three6-white); color: var(--three6-ink);
}
.nav-menu-toggle:hover, .nav-menu-toggle[aria-expanded="true"] { border-color: var(--three6-teal); background: var(--three6-teal-tint); }
.nav-menu-panel {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 45;
  background: var(--three6-white); border: 1.5px solid var(--three6-ink); border-radius: var(--radius-md);
  min-width: 220px; padding: 8px; display: flex; flex-direction: column; gap: 2px;
}
.nav-menu-panel[hidden] { display: none; }
.nav-menu-item {
  display: block; text-align: left; padding: 10px 12px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; color: var(--three6-ink); background: none; border: none; font-family: inherit;
}
.nav-menu-item:hover { background: var(--three6-yellow-tint); }

/* ---------- Logo ---------- */
.three6-logo { display: flex; align-items: center; }
.three6-logo .logo-img { height: 32px; width: auto; display: block; }

/* ---------- Emphasis highlight (Culture-Amp-style word highlight) ---------- */
.hl {
  background: var(--three6-yellow);
  padding: 0.02em 0.14em;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hl-teal { background: var(--three6-teal); color: var(--three6-white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid transparent; border-radius: 999px;
  padding: 13px 26px; font-size: 15px; font-weight: 600;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
  min-height: 48px;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--three6-teal); color: var(--three6-ink); }
.btn-primary:hover { background: var(--three6-teal-dark); color: var(--three6-white); }
.btn-secondary { background: transparent; color: var(--three6-ink); border-color: var(--three6-grey-300); }
.btn-secondary:hover { border-color: var(--three6-ink); }
.btn-ghost { background: transparent; color: var(--three6-text-muted); border-color: transparent; padding: 8px 14px; min-height: auto; font-weight: 500; }
.btn-ghost:hover { color: var(--three6-ink); text-decoration: underline; }
.btn-danger { background: var(--three6-danger); color: var(--three6-white); }
.btn-teams { background: #5B5FC7; color: var(--three6-white); border-color: #5B5FC7; }
.btn-teams:hover { background: #464775; border-color: #464775; }
.btn-teams svg { flex: none; }

.btn-miro { background: var(--three6-teal-dark); color: var(--three6-white); border-color: var(--three6-teal-dark); }
.btn-miro:hover { background: var(--three6-teal); border-color: var(--three6-teal); }
.btn-miro svg { flex: none; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ---------- Welcome ---------- */
.hero {
  padding: clamp(40px, 8vw, 96px) 0 60px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--three6-teal-dark); margin-bottom: 18px;
}
.hero-eyebrow .spark { color: var(--three6-teal); font-size: 16px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 14ch; }
.hero .supporting { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--three6-text-muted); max-width: 46ch; margin-top: 18px; }
.hero .body-copy { max-width: 56ch; margin-top: 28px; font-size: 1rem; color: var(--three6-text); }
.hero .body-copy p + p { margin-top: 12px; }
.hero-actions { margin-top: 36px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.hero-meta { font-size: 13px; color: var(--three6-text-muted); }
.privacy-note {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--three6-teal-tint); border: 1px solid rgba(15,184,185,0.25);
  border-radius: var(--radius-md); padding: 16px 18px; font-size: 14px; color: var(--three6-ink-soft);
  margin-top: 32px; max-width: 560px;
}
.privacy-note strong { color: var(--three6-ink); }

/* ---------- Section labels (editorial) ---------- */
.section-kicker {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px;
}
.section-kicker .num { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--three6-teal-dark); }
.section-kicker .label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--three6-text-muted); }

/* ---------- Setup / avatar ---------- */
.setup-shell { max-width: 560px; margin: 0 auto; padding: clamp(40px, 8vw, 72px) 0; }
.field { margin-top: 24px; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 15px; }
.field .hint { font-size: 13px; color: var(--three6-text-muted); margin-bottom: 8px; }
.field input[type="text"], .field textarea {
  width: 100%; border: 1.5px solid var(--three6-grey-300); border-radius: var(--radius-sm);
  padding: 14px 16px; font-size: 16px; font-family: inherit; background: var(--three6-white);
  color: var(--three6-text);
  transition: border-color 150ms ease;
}
.field input[type="text"]:focus, .field textarea:focus { border-color: var(--three6-teal); }
.field textarea {
  min-height: 180px; resize: vertical; border-radius: var(--radius-md);
  padding: 18px 20px; line-height: 1.6;
}

.avatar-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 14px; margin-top: 20px;
}
.avatar-card {
  border: 2px solid var(--three6-grey-300); border-radius: var(--radius-md);
  background: var(--three6-white); padding: 8px; display: flex; align-items: center; justify-content: center;
  transition: border-color 180ms ease, background 180ms ease, transform 150ms ease;
  aspect-ratio: 1; position: relative;
}
.avatar-card:hover { border-color: var(--three6-teal); transform: translateY(-2px); }
.avatar-card[aria-pressed="true"] { border-color: var(--three6-teal-dark); background: var(--three6-teal-tint); }
.avatar-card[aria-pressed="true"]::after {
  content: "✓"; position: absolute; top: -8px; right: -8px;
  width: 24px; height: 24px; border-radius: 50%; background: var(--three6-yellow); color: var(--three6-ink);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.avatar-card svg { width: 100%; height: 100%; border-radius: 999px; }

/* ---------- Questionnaire ---------- */
.question-shell { max-width: var(--questionnaire-max); margin: 0 auto; padding: 32px 0 100px; }
.question-topbar { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.question-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--three6-text-muted); font-weight: 600; }
.progress-track { height: 6px; border-radius: 999px; background: var(--three6-grey-300); overflow: hidden; }
.progress-fill { height: 100%; background: var(--three6-teal); border-radius: 999px; transition: width 320ms ease; }

.question-card { margin-top: 34px; animation: fadeUp 260ms ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.question-section-label { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--three6-teal-dark); margin-bottom: 10px; }
.question-prompt { font-size: clamp(1.4rem, 3vw, 1.9rem); font-family: var(--font-display); font-weight: 700; max-width: 30ch; }
.question-helper { margin-top: 10px; color: var(--three6-text-muted); font-size: 15px; }
.question-answer { margin-top: 28px; }
.question-answer textarea {
  width: 100%; min-height: 220px; resize: vertical;
  border: 1.5px solid var(--three6-grey-300); border-radius: var(--radius-lg);
  padding: 22px 24px; font-size: 16.5px; line-height: 1.7; font-family: inherit;
  background: var(--three6-white); color: var(--three6-text);
  transition: border-color 150ms ease;
}
.question-answer textarea:focus { border-color: var(--three6-teal); outline: none; }

.option-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.option-card {
  border: 1.5px solid var(--three6-grey-300); background: var(--three6-white);
  border-radius: 999px; padding: 11px 18px; font-size: 15px; font-weight: 500; color: var(--three6-text);
  display: inline-flex; align-items: center; gap: 8px; transition: all 180ms ease; min-height: 48px;
}
.option-card:hover { border-color: var(--three6-teal); background: var(--three6-teal-tint); }
.option-card[aria-pressed="true"] {
  background: var(--three6-teal); border-color: var(--three6-teal-dark); color: var(--three6-ink);
}
.option-card .check { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; display: flex; align-items: center; justify-content: center; font-size: 11px; }

.other-input-wrap { margin-top: 16px; }

.question-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; gap: 12px; }
.skip-link { font-size: 13px; color: var(--three6-text-muted); background: none; border: none; text-decoration: underline; padding: 6px; }

/* ---------- Creating profile transition ---------- */
.transition-shell { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; }
.transition-spark { width: 56px; height: 56px; margin-bottom: 24px; color: var(--three6-teal); animation: spin 2.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.transition-shell h2 { font-size: 1.6rem; }
.transition-shell p { margin-top: 10px; color: var(--three6-text-muted); max-width: 40ch; }

/* ---------- Reveal ---------- */
.reveal-shell { max-width: 720px; margin: 0 auto; padding: clamp(40px,8vw,80px) 0; text-align: center; }
.reveal-avatar { width: 96px; height: 96px; margin: 0 auto 22px; }
.reveal-avatar svg { border-radius: 999px; border: 3px solid var(--three6-white); box-shadow: var(--shadow-card); }
.reveal-shell h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.reveal-shell .supporting { color: var(--three6-text-muted); margin-top: 10px; font-size: 1.05rem; }
.reveal-summary {
  margin-top: 32px; text-align: left; background: var(--three6-white); border: 1px solid var(--three6-grey-300);
  border-radius: var(--radius-lg); padding: clamp(22px,4vw,32px); box-shadow: var(--shadow-card);
  font-size: 1.05rem; line-height: 1.7;
}

/* ---------- Account banner ---------- */
.account-banner {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between;
  background: var(--three6-grey-100); border: 1px solid var(--three6-grey-300); border-radius: var(--radius-md);
  padding: 12px 18px; font-size: 14px; margin-bottom: 20px;
}
.account-banner-cta { background: var(--three6-teal-tint); border-color: rgba(15,184,185,0.25); }
.account-banner a { font-weight: 600; color: var(--three6-teal-dark); text-decoration: underline; }

/* ---------- Profile page ---------- */
.profile-shell { padding: 32px 0 80px; }
.profile-header {
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
  background: var(--three6-white); border: 1px solid var(--three6-grey-300); border-radius: var(--radius-lg);
  padding: clamp(20px,4vw,32px); margin-bottom: 40px;
}
.profile-header-identity { display: flex; align-items: center; gap: 18px; }
.profile-header-identity .avatar-wrap { width: 72px; height: 72px; flex: none; }
.profile-header-identity h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.profile-header-identity .role { color: var(--three6-text-muted); margin-top: 4px; font-size: 15px; }
.profile-header-identity .completed { color: var(--three6-text-muted); margin-top: 4px; font-size: 13px; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.summary-statement {
  background: var(--three6-teal-tint); border-radius: var(--radius-md);
  padding: 18px 22px; margin-bottom: 32px; font-size: 1.05rem; line-height: 1.7; color: var(--three6-ink);
}

/* ---------- Coach reference layout ---------- */
.coach-reference-grid { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; margin-bottom: 40px; }
.coach-side-panel { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 20px; }
@media (max-width: 860px) { .coach-reference-grid { grid-template-columns: 1fr; } .coach-side-panel { position: static; } }
.coach-side-panel .chip-row { gap: 8px; }
.coach-side-panel .chip { font-size: 13px; padding: 8px 14px; }
.coach-side-panel .summary-statement { margin-bottom: 0; font-size: 14.5px; padding: 14px 16px; }
.full-profile-toggle { width: 100%; }
.full-profile-detail[hidden] { display: none; }

/* ---------- At a glance ---------- */
/* ---------- Coachee profile tabs ---------- */
.tab-bar { display: flex; gap: 8px; margin: 24px 0 32px; border-bottom: 1.5px solid var(--three6-grey-300); }
.tab-btn {
  background: none; border: none; border-bottom: 3px solid transparent; padding: 12px 4px; margin-bottom: -1.5px;
  font-family: inherit; font-size: 15px; font-weight: 700; color: var(--three6-text-muted);
}
.tab-btn[aria-selected="true"] { color: var(--three6-ink); border-bottom-color: var(--three6-teal); }
.tab-panel[hidden] { display: none; }
.profile-footer-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--three6-grey-300); }

.at-a-glance { margin-bottom: 48px; }
.at-a-glance h2 { font-size: 1.4rem; margin-bottom: 16px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--three6-yellow); color: var(--three6-ink); border-radius: 999px;
  padding: 10px 18px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px;
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--three6-teal-dark); }

.profile-section { margin-bottom: 52px; }
.profile-section > .section-kicker { margin-bottom: 4px; }
.profile-section h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-bottom: 18px; }

.reflection-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.reflection-card {
  background: var(--three6-white); border: 1px solid var(--three6-grey-300); border-radius: var(--radius-md);
  padding: 20px 22px; box-shadow: var(--shadow-card);
}
.reflection-card .kicker { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--three6-teal-dark); margin-bottom: 10px; }
.reflection-card blockquote { margin: 0; font-size: 1rem; line-height: 1.65; white-space: pre-wrap; }
.reflection-card blockquote::before { content: "\201C"; color: var(--three6-teal); font-weight: 700; }
.reflection-card blockquote::after { content: "\201D"; color: var(--three6-teal); font-weight: 700; }

.pref-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 18px; }
.pref-card {
  background: var(--three6-white); border: 1px solid var(--three6-grey-300); border-radius: var(--radius-md);
  padding: 18px 20px;
}
.pref-card h3 { font-size: 1.05rem; margin-bottom: 8px; font-family: var(--font-body); font-weight: 700; }
.pref-card p { font-size: 14.5px; color: var(--three6-ink-soft); line-height: 1.6; }

.narrative-block {
  background: var(--three6-teal-tint); border-radius: var(--radius-md); padding: 20px 22px;
  font-size: 1rem; line-height: 1.7; margin-bottom: 18px; color: var(--three6-ink);
}

.recipe-list { list-style: none; margin: 0; padding: 0; counter-reset: recipe; display: flex; flex-direction: column; gap: 14px; }
.recipe-list li {
  counter-increment: recipe; display: flex; gap: 16px; align-items: flex-start;
  background: var(--three6-white); border: 1px solid var(--three6-grey-300); border-radius: var(--radius-md);
  padding: 16px 20px;
}
.recipe-list li::before {
  content: counter(recipe); flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--three6-teal); color: var(--three6-white); font-weight: 700; font-family: var(--font-display);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.recipe-list .recipe-title { font-weight: 700; margin-bottom: 3px; }
.recipe-list .recipe-body { color: var(--three6-text-muted); font-size: 14.5px; }

.avoid-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.avoid-list li { padding-left: 22px; position: relative; color: var(--three6-ink-soft); font-size: 15px; }
.avoid-list li::before { content: "—"; position: absolute; left: 0; color: var(--three6-teal-dark); }

.coach-note-section { background: var(--three6-grey-100); border-radius: var(--radius-lg); padding: clamp(20px,4vw,28px); }
.coach-note-section .sensitive-tag { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; background: var(--three6-white); border: 1px solid var(--three6-grey-300); border-radius: 999px; padding: 4px 12px; margin-bottom: 12px; }
.coach-note-section .privacy-note { margin-top: 18px; }

.session-card {
  background: var(--three6-teal); color: var(--three6-ink); border-radius: var(--radius-lg);
  padding: clamp(22px,4vw,30px); margin-bottom: 24px;
}
.session-card h2 { color: var(--three6-ink); }
.session-card ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.session-card li { padding-left: 22px; position: relative; font-size: 15px; }
.session-card li::before { content: "→"; position: absolute; left: 0; color: var(--three6-ink); }
.session-card .btn-secondary { border-color: var(--three6-ink); color: var(--three6-ink); margin-top: 18px; }
.session-card .btn-secondary:hover { background: var(--three6-ink); color: var(--three6-white); }

.starter-list { display: flex; flex-direction: column; gap: 12px; }
.starter-card { background: var(--three6-white); border: 1px solid var(--three6-grey-300); border-radius: var(--radius-md); padding: 16px 20px; font-size: 15px; }

.commitment-card { background: var(--three6-teal-tint); border-radius: var(--radius-lg); padding: clamp(20px,4vw,28px); }

/* ---------- Welcome-back ---------- */
.welcome-back-card {
  background: var(--three6-white); border: 1px solid var(--three6-grey-300); border-radius: var(--radius-lg);
  padding: clamp(24px,4vw,34px); max-width: 480px; box-shadow: var(--shadow-card);
}
.welcome-back-card .actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }

/* ---------- Shared resources ---------- */
.resource-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.resource-row a { font-weight: 600; color: var(--three6-teal-dark); text-decoration: underline; }
.resource-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--three6-text-muted); }
.add-resource-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.add-resource-form input {
  border: 1.5px solid var(--three6-grey-300); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; font-family: inherit;
}
.add-resource-form input#resource-label { flex: 1; min-width: 200px; }
.add-resource-form input#resource-url { flex: 1; min-width: 200px; }

/* ---------- Session list (coach view) ---------- */
.session-list { display: flex; flex-direction: column; gap: 10px; }
.session-item { border: 1px solid var(--three6-grey-300); border-radius: var(--radius-md); background: var(--three6-white); overflow: hidden; }
.session-item-header {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: none; border: none; padding: 16px 18px; text-align: left; font-size: 15px; font-weight: 600;
  color: var(--three6-ink); flex-wrap: wrap;
}
.session-item-duration { font-weight: 400; color: var(--three6-text-muted); font-size: 13px; }
.session-item-right { display: flex; align-items: center; gap: 10px; }
.session-item-caret { transition: transform 180ms ease; color: var(--three6-text-muted); }
.session-item-header[aria-expanded="true"] .session-item-caret { transform: rotate(180deg); }
.session-item-body { padding: 0 18px 20px; border-top: 1px solid var(--three6-grey-100); }
.session-item-body[hidden] { display: none; }
.session-item-hasnotes { font-size: 13px; }
.chip.session-status-upcoming { background: var(--three6-teal); color: var(--three6-ink); }
.chip.session-status-completed { background: var(--three6-teal-dark); color: var(--three6-white); }
.chip.session-status-cancelled { background: var(--three6-grey-600); color: var(--three6-white); }

/* ---------- Journey roadmap ---------- */
.chip.journey-status-not_started { background: var(--three6-grey-300); color: var(--three6-ink); }
.chip.journey-status-in_progress { background: var(--three6-teal); color: var(--three6-ink); }
.chip.journey-status-completed { background: var(--three6-teal-dark); color: var(--three6-white); }
.journey-field { margin-top: 16px; }
.journey-field:first-child { margin-top: 18px; }
.journey-field-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--three6-teal-dark); margin-bottom: 4px; }
.journey-field p { margin: 0; color: var(--three6-ink-soft); font-size: 14.5px; line-height: 1.6; white-space: pre-wrap; }
.capability-card-grid { display: grid; gap: 12px; margin-top: 8px; }
.capability-card { background: var(--three6-yellow-tint, #FFFBEA); border: 1px solid var(--three6-grey-300); border-radius: var(--radius-md); padding: 14px 16px; }
.capability-card-name { font-weight: 700; font-size: 14px; color: var(--three6-ink); margin-bottom: 8px; }
.capability-questions { margin: 0; padding-left: 18px; font-size: 14.5px; color: var(--three6-ink-soft); line-height: 1.7; }
.capability-questions li { margin-bottom: 4px; }
.journey-roster-card { cursor: pointer; }
.journey-roster-unlinked { color: var(--three6-text-muted); font-size: 13px; }

.journey-reorder-btn {
  background: none; border: 1.5px solid var(--three6-grey-300); border-radius: var(--radius-sm);
  width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--three6-text-muted); flex: none;
}
.journey-reorder-btn:hover:not(:disabled) { border-color: var(--three6-teal-dark); color: var(--three6-ink); }
.journey-reorder-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.ratings-scale { margin-top:14px; display:flex; flex-direction:column; gap:4px; }
.ratings-scale-row { display:flex; gap:10px; align-items:baseline; font-size:13.5px; color:var(--three6-ink-soft); line-height:1.5; }
.ratings-scale-num { flex:none; width:18px; height:18px; border-radius:50%; background:var(--three6-grey-100); color:var(--three6-ink); font-size:11px; font-weight:700; display:flex; align-items:center; justify-content:center; }
.journey-coaching-aids {
  background: var(--three6-yellow-tint); border: 1px solid var(--three6-yellow);
  border-radius: var(--radius-md); padding: 16px 18px; margin-top: 18px;
}

.capability-tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.capability-tag {
  display: inline-block; background: var(--three6-yellow-tint); color: var(--three6-ink);
  border: 1px solid var(--three6-yellow); border-radius: 999px; padding: 4px 12px;
  font-size: 12.5px; font-weight: 700;
}

/* ---------- Journey stepper (at-a-glance status) ---------- */
.journey-stepper { display: flex; align-items: center; gap: 4px; margin: 16px 0 24px; flex-wrap: wrap; }
.journey-stepper-dot {
  width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--three6-ink); background: var(--three6-grey-300); flex: none;
}
.journey-stepper-dot.is-completed { background: var(--three6-teal-dark); color: var(--three6-white); }
.journey-stepper-dot.is-in_progress { background: var(--three6-teal); color: var(--three6-ink); box-shadow: 0 0 0 3px var(--three6-teal-tint); }
.journey-stepper-line { width: 14px; height: 2px; background: var(--three6-grey-300); flex: none; }
.journey-stepper-line.is-completed { background: var(--three6-teal-dark); }

/* ---------- Action item list ---------- */
.action-item-list { display: flex; flex-direction: column; gap: 4px; }
.action-item-row {
  display: flex; align-items: center; gap: 10px; padding: 10px 4px;
  border-bottom: 1px solid var(--three6-grey-100);
}
.action-item-checkbox { display: flex; align-items: center; gap: 10px; flex: 1; cursor: pointer; }
.action-item-checkbox input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--three6-teal-dark); flex: none; }
.action-item-text { font-size: 14.5px; color: var(--three6-ink); }
.action-item-row.is-completed .action-item-text { text-decoration: line-through; color: var(--three6-text-muted); }
.action-item-completed-note { font-size: 12px; font-style: italic; color: var(--three6-text-muted); white-space: nowrap; }
.action-item-remove {
  background: none; border: none; color: var(--three6-text-muted); font-size: 18px; line-height: 1;
  padding: 2px 6px; border-radius: var(--radius-sm); flex: none;
}
.action-item-remove:hover { background: var(--three6-grey-100); color: var(--three6-ink); }
.action-item-add-form { display: flex; gap: 8px; margin-top: 12px; }
.action-item-add-form input {
  flex: 1; border: 1.5px solid var(--three6-grey-300); border-radius: var(--radius-sm);
  padding: 10px 12px; font-size: 14.5px; font-family: inherit;
}
.action-item-add-form input:focus { border-color: var(--three6-teal); outline: none; }

/* ---------- File sharing ---------- */
.file-share-list { display: flex; flex-direction: column; gap: 4px; }
.file-share-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 4px; border-bottom: 1px solid var(--three6-grey-100);
}
.file-share-info { display: flex; flex-direction: column; gap: 2px; }
.file-share-name { color: var(--three6-teal-dark); font-weight: 600; font-size: 14.5px; }
.file-share-meta { font-size: 12.5px; color: var(--three6-text-muted); }
.file-share-remove {
  background: none; border: none; color: var(--three6-text-muted); font-size: 18px; line-height: 1;
  padding: 2px 6px; border-radius: var(--radius-sm); flex: none;
}
.file-share-remove:hover { background: var(--three6-grey-100); color: var(--three6-ink); }
.file-share-upload-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ---------- Progress ---------- */
.sessions-progress { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sessions-progress-track { flex: 1; min-width: 140px; height: 8px; border-radius: 999px; background: var(--three6-grey-300); overflow: hidden; }
.sessions-progress-fill { height: 100%; background: var(--three6-teal); border-radius: 999px; }
.sessions-progress-label { font-size: 14px; font-weight: 600; color: var(--three6-ink); white-space: nowrap; }
.session-progress-ring { flex: none; }

/* ---------- Modal / dialog ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55); display: flex; align-items: center; justify-content: center;
  padding: 20px; z-index: 50;
}
.modal-card {
  background: var(--three6-white); border: 2px solid var(--three6-ink); border-radius: var(--radius-lg); padding: 28px; max-width: 420px; width: 100%;
}
.modal-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.modal-card p { color: var(--three6-text-muted); font-size: 14.5px; margin-bottom: 22px; }
.modal-actions { display: flex; flex-direction: column-reverse; gap: 10px; }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--three6-teal); color: var(--three6-ink); padding: 12px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600; z-index: 60;
  animation: fadeUp 200ms ease;
}

.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-size: 14px; color: var(--three6-ink-soft); }
.checkbox-row input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--three6-teal); }

.empty-note { color: var(--three6-text-muted); font-size: 14px; font-style: italic; }

.app-footer { text-align: center; padding: 30px 20px; color: var(--three6-text-muted); font-size: 13px; }

.dev-pill {
  background: var(--three6-teal-tint); color: var(--three6-teal-dark); border: 1px solid rgba(15,184,185,0.3);
  border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 700;
}

.dev-badge {
  position: fixed; bottom: 14px; right: 14px; background: var(--three6-yellow); color: var(--three6-ink);
  border-radius: 999px; padding: 8px 16px; font-size: 12px; font-weight: 700; z-index: 40; border: none;
}

@media (max-width: 640px) {
  .profile-header { flex-direction: column; align-items: flex-start; }
  .profile-actions { width: 100%; }
  .profile-actions .btn { flex: 1; }
  .question-nav { flex-wrap: wrap; }
}
