/* Styles for the Member Guide activity wave
   (docs/design/2026-08-13-guide-activities-catalog.md). One file, one
   clearly-fenced section per activity, appended in build order — shared
   activity chrome (activity-head, activity-step, activity-guide-words,
   autosave status) stays in modules/activity.css and modules/library.css;
   only what an activity invents for itself lives here. */

/* == common-obstacles ============================== */
/* The two-phase reveal (Member Guide, pp. 45-47): three blind-guess rows,
   the reveal button, then the ten obstacle cards (chooser-card grammar:
   hidden checkbox, :has(:checked) lights the card) with a compare panel
   for the blind guesses and a counter-move box per picked obstacle. */

.obstacles-guess-list {
  list-style: decimal;
  margin: 1rem 0 0;
  padding-left: 1.75rem;
  display: grid;
  gap: 0.75rem;
  max-width: 34rem;
}

.obstacles-guess-row::marker {
  color: var(--teal-accent);
  font-weight: 600;
}

.obstacles-guess-input {
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--bg-primary);
}

.obstacles-guess-input:focus {
  border-color: var(--teal-accent);
  box-shadow: var(--focus-ring);
}

.obstacles-guess-input[readonly] {
  background: var(--teal-light);
  border-color: var(--teal-light);
}

.obstacles-reveal-row {
  margin-top: 1.25rem;
}

.obstacles-reveal-btn {
  min-height: 44px;
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: 8px;
  background: var(--navy-primary);
  color: var(--bg-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.obstacles-reveal-btn:hover {
  background: var(--teal-accent);
}

.obstacles-reveal-note {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.obstacles-compare {
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--teal-light);
  border-radius: 10px;
}

.obstacles-compare-head {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-dark);
}

.obstacles-compare-list {
  list-style: decimal;
  margin: 0;
  padding-left: 1.5rem;
}

.obstacles-compare-guess {
  color: var(--text-dark);
  min-height: 1.4em;
}

.obstacles-compare-guess:empty::after {
  content: "(left blank)";
  color: var(--text-secondary);
}

.obstacles-compare-note {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.obstacles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (min-width: 900px) {
  .obstacles-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.obstacles-card {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  min-height: 44px;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  background: var(--bg-primary);
  cursor: pointer;
}

.obstacles-card-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.obstacles-card:has(.obstacles-card-check:checked) {
  border-color: var(--teal-accent);
  background: var(--teal-light);
}

.obstacles-card:has(.obstacles-card-check:focus-visible) {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  
  
}

.obstacles-card-text {
  display: block;
}

.obstacles-card-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.obstacles-card-body {
  display: block;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.obstacles-limit-note {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #8a4b2a;
}

.obstacles-counter-empty {
  margin: 1rem 0 0;
  color: var(--text-secondary);
}

.obstacles-counters {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.obstacles-counter {
  padding: 1rem;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--teal-accent);
  border-radius: 10px;
  background: var(--bg-primary);
}

.obstacles-counter-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.obstacles-counter-obstacle {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}

.obstacles-counter-input {
  background: var(--bg-primary);
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text-dark);
  resize: vertical;
}

.obstacles-counter-input:focus {
  border-color: var(--teal-accent);
  box-shadow: var(--focus-ring);
}

/* == energizing-strengths ============================================== */
/* The "top few" row: each checked strength becomes a pressable chip;
   aria-pressed marks it as one of the member's top 2-3. */

.energizing-top-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.energizing-top-row:empty {
  display: none;
}

.energizing-top-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.35rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  background: var(--bg-primary, #fff);
  font-family: var(--font-body);
  font-size: calc(14.5px * var(--text-scale));
  color: var(--text-dark);
  cursor: pointer;
  transition: background var(--motion-quick, 150ms) var(--ease-out, ease),
              border-color var(--motion-quick, 150ms) var(--ease-out, ease);
}

.energizing-top-chip .energizing-top-star {
  font-size: 0.85em;
  color: var(--gray-400, #9aa4b2);
}

.energizing-top-chip[aria-pressed="true"] {
  border-color: var(--teal-accent);
  background: var(--teal-light);
  color: var(--teal-ink);
  font-weight: 600;
}

.energizing-top-chip[aria-pressed="true"] .energizing-top-star {
  color: var(--teal-accent);
}

@media (hover: hover) {
  .energizing-top-chip:hover {
    border-color: var(--teal-accent);
  }
}

.energizing-top-chip:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

/* == dream-role ======================================================== */
/* Chooser cards: the binder's twelve roles with their own definitions as
   the card body; a checked card joins the ranking below. */

.dream-role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.dream-role-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-height: 44px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-light);
  background: var(--bg-primary, #fff);
  cursor: pointer;
  position: relative;
  transition: background var(--motion-quick, 150ms) var(--ease-out, ease),
              border-color var(--motion-quick, 150ms) var(--ease-out, ease);
}

.dream-role-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.dream-role-name {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: calc(16.5px * var(--text-scale));
  color: var(--navy-primary);
}

.dream-role-def {
  font-family: var(--font-body);
  font-size: calc(13.5px * var(--text-scale));
  line-height: 1.45;
  color: var(--text-secondary);
}

.dream-role-card:has(input:checked) {
  border-color: var(--teal-accent);
  background: var(--teal-light);
}

.dream-role-card:has(input:checked) .dream-role-name {
  color: var(--teal-ink);
}

.dream-role-card:has(input:focus-visible) {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

@media (hover: hover) {
  .dream-role-card:hover {
    border-color: var(--teal-accent);
  }
}

.dream-role-card.is-other {
  cursor: default;
}

.dream-role-other-head {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: -0.35rem 0;
  cursor: pointer;
}

.dream-role-other-input {
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border-light);
  font-family: var(--font-body);
  font-size: calc(15px * var(--text-scale));
  color: var(--text-dark);
  background: var(--bg-primary, #fff);
}

/* == passion-spectrum ============================== */

/* The fill-in passion sentence (p. 22): the guide's scaffold line as three
   inline blanks, italic like the mission scaffold, each blank a real input
   with the underline as its only chrome. */
.passions-scaffold {
  font-style: italic;
  font-size: calc(17px * var(--text-scale, 1));
  line-height: 2.4;
  color: var(--text-dark, #1a2b4a);
  margin: 0.5rem 0 0;
}

.passions-scaffold-input {
  display: inline-block;
  min-width: 11rem;
  max-width: 100%;
  min-height: 44px;
  padding: 0.2rem 0.5rem;
  border: none;
  border-bottom: 1.5px solid var(--border-medium, #b9c6d2);
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-style: normal;
  text-align: center;
  color: inherit;
}

.passions-scaffold-input:focus {
  border-bottom-color: var(--teal-accent, #4a9bb5);
  background: var(--teal-light, #e8f4f8);
}

/* The two research idea rows (p. 22). */
.passions-research-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1rem;
}

.passions-research-label {
  font-weight: 600;
  font-size: calc(14px * var(--text-scale, 1));
  color: var(--navy-primary, #1a2b4a);
}

.passions-research-input {
  min-height: 44px;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--border-medium, #b9c6d2);
  border-radius: 8px;
  font: inherit;
  color: var(--text-dark, #1a2b4a);
  background: var(--bg-primary);
}

.passions-research-input:focus {
  border-color: var(--teal-accent, #4a9bb5);
  box-shadow: 0 0 0 3px var(--teal-light, #e8f4f8);
}

/* == what-defines-you ============================== */

.defines-essay-link a {
  color: var(--teal-accent, #4a9bb5);
  font-weight: 600;
}

.defines-current-input {
  width: 100%;
  min-height: 9rem;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
  background: var(--bg-primary);
  color: var(--text-dark);
  resize: vertical;
}

.defines-current-input:focus,
.defines-chosen-input:focus {
  border-color: var(--teal-accent, #4a9bb5);
  box-shadow: var(--focus-ring);
}

.defines-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .defines-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

.defines-chosen-list {
  margin: 0;
  padding-left: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.defines-chosen-row::marker {
  color: var(--teal-accent, #4a9bb5);
  font-weight: 700;
}

.defines-chosen-input {
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  font-size: 1rem;
  background: var(--bg-primary);
  color: var(--text-dark);
}

.defines-example {
  background: var(--teal-light, #e8f4f8);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
}

.defines-example-head {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-primary, #1a2b4a);
}

.defines-example-list {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.375rem;
  font-size: 0.9375rem;
  color: var(--navy-primary, #1a2b4a);
}

.defines-closing {
  margin-top: 1.25rem;
}

/* == courage-to-dream ================================================== */
/* Six dream prompts (Member Guide, pp. 26-27): free-writing boxes, the
   quoted Setting the Stage starting material, and the adjective chips. */

.courage-answer {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-dark);
  background: var(--bg-primary);
  resize: vertical;
  min-height: 6.5rem;
}

.courage-answer:focus {
  border-color: var(--teal-accent);
  box-shadow: var(--focus-ring);
}

.courage-stage-words {
  margin: 0 0 0.75rem;
  padding: 0.7rem 0.9rem;
  background: var(--teal-light);
  border-left: 3px solid var(--teal-accent);
  border-radius: 0 10px 10px 0;
}

.courage-stage-lead {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
}

.courage-stage-quote {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  font-style: italic;
  color: var(--text-dark);
  white-space: pre-line;
}

.courage-chip-area {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.courage-chip-area:empty {
  margin: 0;
}

.courage-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.35rem 0.5rem 0.35rem 0.9rem;
  background: var(--teal-light);
  border: 1px solid rgba(74, 155, 181, 0.45);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
}

.courage-chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.75rem;
  cursor: pointer;
}

.courage-chip-remove:hover {
  background: rgba(74, 155, 181, 0.2);
  color: var(--text-dark);
}

/* == simplicity-commitments ============================================ */
/* Chooser cards for Buford's ten principles (binder wording as the card
   body), the more/less/differently rows, and the tried-before box. */

.simplicity-read-first {
  font-size: calc(14px * var(--text-scale));
}

.simplicity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.simplicity-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-height: 44px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-light);
  background: var(--bg-primary, #fff);
  cursor: pointer;
  position: relative;
  transition: background var(--motion-quick, 150ms) var(--ease-out, ease),
              border-color var(--motion-quick, 150ms) var(--ease-out, ease);
}

.simplicity-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.simplicity-card-name {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: calc(16.5px * var(--text-scale));
  color: var(--navy-primary);
}

.simplicity-card-detail {
  font-family: var(--font-body);
  font-size: calc(13.5px * var(--text-scale));
  line-height: 1.45;
  color: var(--text-secondary);
}

.simplicity-card:has(input:checked) {
  border-color: var(--teal-accent);
  background: var(--teal-light);
}

.simplicity-card:has(input:checked) .simplicity-card-name {
  color: var(--teal-ink);
}

.simplicity-card:has(input:focus-visible) {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

@media (hover: hover) {
  .simplicity-card:hover {
    border-color: var(--teal-accent);
  }
}

.simplicity-limit-note {
  font-size: calc(13.5px * var(--text-scale));
  color: var(--text-secondary);
  margin: 0.25rem 0 0;
}

.simplicity-rows {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.simplicity-row-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: calc(15px * var(--text-scale));
  color: var(--navy-primary);
  margin-bottom: 0.25rem;
}

.simplicity-textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border-light);
  font-family: var(--font-body);
  font-size: calc(15px * var(--text-scale));
  line-height: 1.5;
  color: var(--text-dark);
  background: var(--bg-primary, #fff);
  resize: vertical;
}

.simplicity-textarea:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

/* == strengths-deep-dive ============================== */
/* The five-card stack (Member Guide, pp. 33-37): one card per Signature
   Talent Theme with the theme name in the card head, the phrases box, the
   balcony/basement pair, and the five-clue chooser (chooser-card grammar:
   hidden radio, :has(:checked) lights the chip) with its one-line note.
   Theme tokens throughout (variables.css) so dark mode holds. */

.strengths-dive-prefill-note {
  margin: 0.75rem 0 0;
  padding: 0.6rem 0.9rem;
  background: var(--teal-light);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.strengths-dive-clue-defs {
  margin: 0.75rem 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.5rem;
}

.strengths-dive-stack {
  display: grid;
  gap: 1.25rem;
  margin-top: 1rem;
}

.strengths-dive-card {
  padding: 1.25rem;
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--teal-accent);
  border-radius: 10px;
  background: var(--bg-primary);
}

.strengths-dive-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.strengths-dive-ordinal {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal-accent);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.strengths-dive-name {
  flex: 1 1 14rem;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--bg-primary);
}

.strengths-dive-name:focus {
  border-color: var(--teal-accent);
  box-shadow: var(--focus-ring);
}

.strengths-dive-field {
  margin-top: 0.75rem;
}

.strengths-dive-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.strengths-dive-text {
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--bg-primary);
  resize: vertical;
}

.strengths-dive-text:focus {
  border-color: var(--teal-accent);
  box-shadow: var(--focus-ring);
}

.strengths-dive-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 1rem;
}

@media (min-width: 900px) {
  .strengths-dive-pair {
    grid-template-columns: 1fr 1fr;
  }
}

.strengths-dive-clues {
  margin: 1rem 0 0;
  padding: 0;
  border: none;
}

.strengths-dive-clues-legend {
  padding: 0;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-primary);
}

.strengths-dive-clue-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.strengths-dive-clue-chip {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  background: var(--bg-primary);
  cursor: pointer;
}

.strengths-dive-clue-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.strengths-dive-clue-chip:has(.strengths-dive-clue-input:checked) {
  border-color: var(--teal-accent);
  background: var(--teal-light);
}

.strengths-dive-clue-chip:has(.strengths-dive-clue-input:focus-visible) {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  
  
}

.strengths-dive-clue-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-primary);
  line-height: 1.3;
}

.strengths-dive-clue-short {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

.strengths-dive-clue-note {
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--bg-primary);
}

.strengths-dive-clue-note:focus {
  border-color: var(--teal-accent);
  box-shadow: var(--focus-ring);
}

/* == common-obstacles: in-card growth plan link ======================== */

.obstacles-card-link {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.875rem;
  color: var(--teal-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.obstacles-card-link:hover {
  color: var(--teal-accent);
}

/* == spiritual-gifts =================================================== */
/* Three gift slots (Member Guide, pp. 40-41), the four comparison prompt
   boxes, and the read-only strengths context cards beside them. */

.gifts-slots {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0 0 0.5rem;
  max-width: 30rem;
}

.gifts-slot {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.gifts-slot-label {
  min-width: 1.4rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--navy-primary);
  text-align: right;
}

.gifts-slot-input {
  flex: 1;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-primary);
}

.gifts-slot-input:focus {
  border-color: var(--teal-accent);
  box-shadow: var(--focus-ring);
}

.gifts-compare-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 18rem);
  gap: 1.25rem;
  align-items: start;
  margin: 0 0 1rem;
}

@media (max-width: 720px) {
  .gifts-compare-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.gifts-prompts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gifts-prompt-label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-dark);
}

.gifts-prompt-text {
  width: 100%;
  min-height: 5rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-dark);
  background: var(--bg-primary);
  resize: vertical;
}

.gifts-prompt-text:focus {
  border-color: var(--teal-accent);
  box-shadow: var(--focus-ring);
}

.gifts-context {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.gifts-context-card {
  padding: 0.8rem 1rem;
  background: var(--teal-light);
  border-left: 3px solid var(--teal-accent);
  border-radius: 0 10px 10px 0;
}

.gifts-context-head {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.gifts-context-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.gifts-context-empty {
  margin: 0;
  padding: 0.8rem 1rem;
  border: 1px dashed var(--border-light);
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* == silent-retreat-journal ============================== */

.retreat-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
}

.retreat-add {
  min-height: 44px;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--teal-accent);
  border-radius: 8px;
  background: var(--teal-light);
  color: var(--navy-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
}

.retreat-add:hover {
  background: var(--teal-accent);
  color: var(--bg-primary);
}

.retreat-add:focus-visible {
  box-shadow: var(--focus-ring);
}

.retreat-print-line {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.retreat-print {
  min-height: 44px;
  padding: 0.35rem 0.5rem;
  border: none;
  background: none;
  color: var(--teal-accent);
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.retreat-print:focus-visible {
  box-shadow: var(--focus-ring);
}

.retreat-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.retreat-entry {
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background: var(--bg-primary);
}

.retreat-entry[open] {
  border-color: var(--teal-accent);
}

.retreat-summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0.6rem 1rem;
  cursor: pointer;
  color: var(--navy-primary);
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.retreat-summary:focus-visible {
  box-shadow: var(--focus-ring);
  border-radius: 10px;
}

.retreat-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.25rem 1rem 1.25rem;
}

.retreat-date-row,
.retreat-movement {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.retreat-field-label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9375rem;
}

.retreat-field-hint {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.retreat-date {
  align-self: flex-start;
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--bg-primary);
}

.retreat-textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-dark);
  background: var(--bg-primary);
}

.retreat-date:focus,
.retreat-textarea:focus {
  border-color: var(--teal-accent);
  box-shadow: var(--focus-ring);
}

/* Members are offline on retreat: printing the pane keeps the questions
   and strips the app chrome around them. */
/* The printed retreat sheet: a designed piece of paper, not the webpage.
   On screen the sheet is hidden; in print, the sheet is the ONLY thing.
   Ink-first: navy on white, hairline rules, generous writing lines. */
.retreat-sheet {
  display: none;
}

@media print {
  body:has([data-test-id="activity-retreat"]) * {
    visibility: hidden;
  }

  body:has([data-test-id="activity-retreat"]) .retreat-sheet,
  body:has([data-test-id="activity-retreat"]) .retreat-sheet * {
    visibility: visible;
  }

  .retreat-sheet {
    display: block;
    position: absolute;
    inset: 0;
    padding: 0.25in 0.35in;
    background: #fff;
    color: #1a2b4a;
    font-family: "Inter", -apple-system, sans-serif;
  }

  .retreat-sheet-head {
    text-align: center;
    border-bottom: 2px solid #1a2b4a;
    padding-bottom: 12px;
  }

  .retreat-sheet-mark {
    font-family: "Cinzel", serif;
    font-size: 13px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #4a9bb5;
  }

  .retreat-sheet-title {
    font-family: "Cinzel", serif;
    font-size: 26px;
    font-weight: 600;
    margin: 6px 0 10px;
  }

  .retreat-sheet-date {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #5b6b7d;
    margin: 0;
  }

  .retreat-sheet-date-line {
    display: inline-block;
    width: 2.2in;
    border-bottom: 1px solid #9aa7b4;
    vertical-align: baseline;
  }

  .retreat-sheet-charge {
    text-align: center;
    font-size: 12px;
    color: #33415a;
    margin: 14px auto 4px;
    max-width: 5.4in;
  }

  .retreat-sheet-movement {
    margin-top: 22px;
    break-inside: avoid;
  }

  .retreat-sheet-eyebrow {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #4a9bb5;
    margin: 0 0 4px;
  }

  .retreat-sheet-question {
    font-family: "Cinzel", serif;
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #1a2b4a;
  }

  .retreat-sheet-lines {
    background-image: repeating-linear-gradient(
      to bottom, transparent, transparent 27px, #c3ccd6 27px, #c3ccd6 28px);
  }

  .retreat-sheet-lines.is-short { height: 1.7in; }
  .retreat-sheet-lines.is-long { height: 3.1in; }

  .retreat-sheet-foot {
    margin-top: 20px;
    padding-top: 8px;
    border-top: 1px solid #c3ccd6;
    text-align: center;
    font-size: 9.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8a97a5;
  }
}

/* == exit-plan ========================================================= */
/* Exit Plan (Member Guide, pp. 113-116): good-finish box, three reason
   rows, stakeholder row cards (group, message, delivery chips in the
   chooser-card grammar: hidden radio, :has(:checked) lights the chip) with
   add/remove, and the two case studies as collapsed worked examples.
   Theme tokens throughout (variables.css) so dark mode holds. */

.exit-label {
  display: block;
  margin: 0.75rem 0 0.35rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.exit-input,
.exit-text {
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--bg-primary);
}

.exit-text {
  resize: vertical;
}

.exit-input:focus,
.exit-text:focus {
  border-color: var(--teal-accent);
  box-shadow: var(--focus-ring);
}

.exit-reasons {
  margin: 1rem 0 0;
  padding-left: 1.5rem;
  display: grid;
  gap: 0.6rem;
}

.exit-reason::marker {
  font-weight: 600;
  color: var(--teal-accent);
}

.exit-stakeholders {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.exit-stakeholder {
  padding: 1rem 1.25rem 1.25rem;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--teal-accent);
  border-radius: 10px;
  background: var(--bg-primary);
}

.exit-stakeholder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.exit-stakeholder-head .exit-label {
  margin-top: 0;
  font-weight: 600;
  color: var(--navy-primary);
}

.exit-row-remove {
  min-width: 44px;
  min-height: 44px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
}

.exit-row-remove:hover {
  color: var(--text-dark);
  background: var(--teal-light);
}

.exit-delivery {
  margin: 0.75rem 0 0;
  padding: 0;
  border: none;
}

.exit-delivery-legend {
  padding: 0;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.exit-delivery-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.exit-delivery-chip {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  border: 2px solid var(--border-light);
  border-radius: 999px;
  background: var(--bg-primary);
  cursor: pointer;
}

.exit-delivery-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.exit-delivery-chip:has(.exit-delivery-input:checked) {
  border-color: var(--teal-accent);
  background: var(--teal-light);
}

.exit-delivery-chip:has(.exit-delivery-input:focus-visible) {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  
  
}

.exit-delivery-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-primary);
  line-height: 1.3;
}

.exit-add {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 2px dashed var(--border-light);
  border-radius: 8px;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--teal-ink);
  cursor: pointer;
}

.exit-add:hover:not(:disabled) {
  border-color: var(--teal-accent);
  background: var(--teal-light);
}

.exit-add:disabled {
  opacity: 0.5;
  cursor: default;
}

.exit-example {
  margin-top: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background: var(--bg-primary);
}

.exit-example-summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0.6rem 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy-primary);
  cursor: pointer;
}

.exit-example[open] .exit-example-summary {
  border-bottom: 1px solid var(--border-light);
}

.exit-example-body {
  padding: 0.75rem 1rem 1rem;
  display: grid;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-dark);
}

/* == inevitability ===================================================== */
/* The Inevitability Exercise (Member Guide, p. 117): factor row cards
   (factor paired with its make-it-real action) with add/remove, then the
   stop/start/differently triple. Theme tokens throughout (variables.css)
   so dark mode holds. */

.inevitability-label {
  display: block;
  margin: 0.75rem 0 0.35rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.inevitability-text {
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--bg-primary);
  resize: vertical;
}

.inevitability-text:focus {
  border-color: var(--teal-accent);
  box-shadow: var(--focus-ring);
}

.inevitability-factors {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.inevitability-factor {
  padding: 1rem 1.25rem 1.25rem;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--teal-accent);
  border-radius: 10px;
  background: var(--bg-primary);
}

.inevitability-factor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.inevitability-factor-head .inevitability-label {
  margin-top: 0;
  font-weight: 600;
  color: var(--navy-primary);
}

.inevitability-row-remove {
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
}

.inevitability-row-remove:hover {
  color: var(--text-dark);
  background: var(--teal-light);
}

.inevitability-add {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 2px dashed var(--border-light);
  border-radius: 8px;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--teal-ink);
  cursor: pointer;
}

.inevitability-add:hover:not(:disabled) {
  border-color: var(--teal-accent);
  background: var(--teal-light);
}

.inevitability-add:disabled {
  opacity: 0.5;
  cursor: default;
}

.inevitability-triple {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 1rem;
  margin-top: 1rem;
}

@media (min-width: 900px) {
  .inevitability-triple {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* == courage-to-dream: starter adjective ideas ========================= */

.courage-idea-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0 1rem;
}

.courage-idea {
  min-height: 44px;
  padding: 0.35rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  background: var(--bg-primary);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: calc(14px * var(--text-scale));
  cursor: pointer;
}

.courage-idea:hover {
  border-color: var(--teal-accent);
  background: var(--teal-light);
}

.courage-idea:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

/* == spiritual-gifts: bookshelf link =================================== */

.gifts-book-link {
  color: var(--teal-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gifts-book-link:hover {
  color: var(--teal-accent);
}

/* == strengths-dive: report upload invite + refill affordance ========== */

/* The no-parse invite block: upload the CliftonStrengths PDF right in the
   activity (reuses the user_assessments pipeline; return_to lands back
   here). Theme tokens only so dark mode holds; inputs set both background
   and color. */

.strengths-dive-invite {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin: 1.25rem 0 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--teal-accent);
  border-radius: 10px;
  background: var(--teal-light);
}

.strengths-dive-invite-copy {
  flex: 1 1 20rem;
}

.strengths-dive-invite-head {
  margin: 0 0 0.25rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-primary);
}

.strengths-dive-invite-head i {
  margin-right: 0.4rem;
  color: var(--teal-accent);
}

.strengths-dive-invite-line {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.strengths-dive-upload-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.strengths-dive-upload-file {
  min-height: 44px;
  max-width: 16rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--bg-primary);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.strengths-dive-upload-file:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

.strengths-dive-upload-button {
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--navy-primary);
  border-radius: 8px;
  background: var(--navy-primary);
  color: var(--bg-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.strengths-dive-upload-button:hover {
  border-color: var(--teal-accent);
  background: var(--teal-accent);
}

.strengths-dive-upload-button:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

/* Outcome lines: confirmation after a successful upload return; honest
   problem notes for failed / unsupported / missing. */

.strengths-dive-upload-note {
  margin: 0.75rem 0 0;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  font-size: 0.9rem;
  background: var(--bg-primary);
  color: var(--text-dark);
}

.strengths-dive-upload-note.is-confirm {
  border: 1px solid var(--teal-accent);
  background: var(--teal-light);
}

.strengths-dive-upload-note.is-confirm i {
  margin-right: 0.35rem;
  color: var(--teal-accent);
}

.strengths-dive-upload-note.is-problem {
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--navy-primary);
}

/* The quiet, member-initiated refill affordance (parse + saved work). */

.strengths-dive-refill {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin-top: 0.75rem;
}

.strengths-dive-refill-button {
  min-height: 44px;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  background: var(--bg-primary);
  color: var(--teal-ink);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.strengths-dive-refill-button:hover {
  border-color: var(--teal-accent);
  background: var(--teal-light);
}

.strengths-dive-refill-button:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

.strengths-dive-refill-hint {
  font-size: 0.85rem;
  color: var(--text-dark);
  opacity: 0.8;
}

/* == passion-spectrum: research suggestion buttons ===================== */

.passions-research-input-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: stretch;
}

.passions-research-input-row .passions-research-input {
  flex: 1 1 14rem;
  min-width: 0;
}

.passions-suggest {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  min-height: 44px;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--bg-primary);
  color: var(--teal-ink);
  font-family: var(--font-body);
  font-size: calc(13.5px * var(--text-scale));
  white-space: nowrap;
  cursor: pointer;
}

.passions-suggest:hover:not(:disabled) {
  border-color: var(--teal-accent);
  background: var(--teal-light);
}

.passions-suggest:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

.passions-suggest:disabled {
  opacity: 0.5;
  cursor: default;
}

/* == dark-theme corrections (2026-08-13 dark-mode audit, append-only) =======
   Two buttons set background: var(--navy-primary) with color: var(--bg-primary).
   --navy-primary is a TEXT token that inverts to near-white in dark theme, so
   both rendered as glowing white pills on a dark page. In dark theme they take
   --teal-fill, the token designed to carry white words (variables.css), which
   matches the app's other dark-theme primary CTAs. Light theme is untouched. */
[data-theme="dark"] .obstacles-reveal-btn,
[data-theme="dark"] .strengths-dive-upload-button {
  background: var(--teal-fill);
  border-color: var(--teal-fill);
  color: var(--text-on-accent);
}

[data-theme="dark"] .obstacles-reveal-btn:hover,
[data-theme="dark"] .strengths-dive-upload-button:hover {
  /* The light-theme hover (--teal-accent) is #5bb8d4 in dark — white text on
     it measures 2.27:1. --teal-fill-hover keeps the label readable. */
  background: var(--teal-fill-hover);
  border-color: var(--teal-fill-hover);
}

/* == interaction polish (2026-08-13 wave-3 audit, append-only) ==============
   The wave's chooser cards share the shipped values-clarification grammar
   (border-color teal on hover, teal tint when chosen) — except the obstacles
   cards, which shipped with no hover feedback and no transition, and whose
   focus rule lost its outline-offset. Aligned here. */
.obstacles-card {
  transition: background var(--motion-quick, 150ms) var(--ease-out, ease),
              border-color var(--motion-quick, 150ms) var(--ease-out, ease);
}

@media (hover: hover) {
  .obstacles-card:hover {
    border-color: var(--teal-accent);
  }
}

.obstacles-card:has(.obstacles-card-check:focus-visible) {
  outline-offset: var(--focus-ring-offset);
}

/* A quiet pressed state for the choosers: the tint that marks a chosen item
   appears for the duration of the press, so a tap is acknowledged before the
   checked state lands. No motion — safe under prefers-reduced-motion. */
.values-option:active,
.obstacles-card:active,
.dream-role-card:not(.is-other):active,
.simplicity-card:active,
.energizing-top-chip:active,
.courage-idea:active {
  background: var(--teal-light);
}

/* The chip-remove glyph is drawn at 32px inside a 44px-tall chip; a padding
   halo brings its touch target to 44px without changing the visual. */
.courage-chip-remove {
  position: relative;
}

.courage-chip-remove::before {
  content: "";
  position: absolute;
  inset: -6px;
}

/* == strengths-deep-dive: the parsed banner ============================ */

.strengths-dive-invite.is-confirmed .strengths-dive-invite-head i {
  color: var(--teal-accent);
}

.strengths-dive-jump {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.4rem 1rem;
  border: 1px solid var(--teal-accent);
  border-radius: 8px;
  color: var(--teal-ink);
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: calc(12px * var(--text-scale, 1));
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.strengths-dive-jump:hover {
  background: var(--teal-light);
}

/* == passion-spectrum: growing research rows =========================== */

.passions-research-input {
  field-sizing: content;
  min-height: 44px;
  resize: none;
  overflow: hidden;
  line-height: 1.5;
}

/* Browsers without field-sizing get a comfortable two-line box instead of
   a scrolling single line. */
@supports not (field-sizing: content) {
  .passions-research-input {
    min-height: 4.2em;
  }
}
