/* ── HELPER TEXT (pilot) ────────────────────────────────────────────
   Two patterns for in-app guidance, both closed by default so they
   stay calm:

     details.practice-frame — one per practice page. Sits between the
       intro card and the first prompts. Holds the orienting move for
       *this* practice and links out to /philosophy/ for the longer
       reasoning. Does NOT restate the philosophy inline.

     details.prompt-example — paired one-to-one with prompts that
       benefit from a model sentence. Sits BELOW the textarea so the
       user reads it after trying, not before. Attribution names a
       persona so the sentence reads as someone else's voice, not a
       template to copy. Examples are deliberately diverse across
       industries so the implicit "this is who Presence is for" stays
       wide.

   These patterns lean on existing design system vocabulary:
     - .helper-block (--gold left rule, --light-bg fill, EB Garamond
       italic body) is the visual lineage; both patterns extend it.
     - Summary lines use --sans uppercase tracking, mirroring
       .phase1-data-tools and .as-handoff-eyebrow.

   ───────────────────────────────────────────────────────────────── */

/* ── (a) Practice-level disclosure ─────────────────────────────── */
details.practice-frame {
  margin: 24px 0 28px;
  background: var(--light-bg);
  border: none;
  border-left: 2px solid var(--gold);
  border-radius: 0 5px 5px 0;
  padding: 0;
}
details.practice-frame > summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
details.practice-frame > summary::-webkit-details-marker { display: none; }
details.practice-frame > summary::after {
  content: '▾';
  font-size: 10px;
  color: var(--ink-faint);
  transition: transform .15s;
}
details.practice-frame[open] > summary::after {
  transform: rotate(180deg);
}
details.practice-frame > summary:hover {
  color: var(--ink-mid);
}
details.practice-frame .practice-frame-body {
  padding: 4px 22px 18px 22px;
  font-family: var(--serif);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-mid);
  font-style: italic;
}
details.practice-frame .practice-frame-body p {
  margin: 0 0 10px;
}
details.practice-frame .practice-frame-body p:last-child {
  margin-bottom: 0;
}
details.practice-frame .practice-frame-body a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(15,18,22,.25);
  font-style: normal;
  font-family: var(--sans);
  font-size: 13px;
}

/* The four-beat structure — used inside the Interview sessions
   practice-frame to lay out Frame · Risks · Approach · Story as a
   compact mnemonic strip without committing to a heavy callout. */
details.practice-frame .practice-frame-beats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 14px 0 6px;
  border-top: 0.5px solid rgba(15,18,22,.12);
  border-bottom: 0.5px solid rgba(15,18,22,.12);
}
details.practice-frame .practice-frame-beat {
  padding: 12px 14px;
  border-right: 0.5px solid rgba(15,18,22,.12);
  font-style: normal;
}
details.practice-frame .practice-frame-beat:last-child {
  border-right: none;
}
details.practice-frame .practice-frame-beat-name {
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 4px;
}
details.practice-frame .practice-frame-beat-body {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-mid);
}
@media (max-width: 640px) {
  details.practice-frame .practice-frame-beats {
    grid-template-columns: 1fr 1fr;
  }
  details.practice-frame .practice-frame-beat:nth-child(2) {
    border-right: none;
  }
}

/* ── Prompt hint — italic guidance line with gold dot ──────────── */
.prompt-hint {
  font-family: var(--sans);
  font-size: 12px;
  font-style: italic;
  color: var(--ink-faint);
  line-height: 1.55;
  display: flex;
  gap: 7px;
  align-items: baseline;
  margin-top: 8px;
}
.prompt-hint::before {
  content: '';
  flex: 0 0 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-2px);
}

/* ── (b) Per-prompt example disclosure ─────────────────────────── */
.prompt-block details.prompt-example,
.story-card-body > details.prompt-example,
.story-card-field details.prompt-example,
.role-field details.prompt-example {
  margin-top: 6px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}
.prompt-block details.prompt-example > summary,
.story-card-body > details.prompt-example > summary,
.story-card-field details.prompt-example > summary,
.role-field details.prompt-example > summary {
  list-style: none;
  cursor: pointer;
  padding: 4px 0;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-faint);
  letter-spacing: .02em;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .15s;
}
.prompt-block details.prompt-example > summary::-webkit-details-marker,
.story-card-body > details.prompt-example > summary::-webkit-details-marker,
.story-card-field details.prompt-example > summary::-webkit-details-marker,
.role-field details.prompt-example > summary::-webkit-details-marker { display: none; }
.prompt-block details.prompt-example > summary::before,
.story-card-body > details.prompt-example > summary::before,
.story-card-field details.prompt-example > summary::before,
.role-field details.prompt-example > summary::before {
  content: '+';
  display: inline-block;
  width: 11px;
  text-align: center;
  font-size: 13px;
  font-weight: 400;
  color: var(--gold);
  transition: transform .15s;
}
.prompt-block details.prompt-example[open] > summary::before,
.story-card-body > details.prompt-example[open] > summary::before,
.story-card-field details.prompt-example[open] > summary::before,
.role-field details.prompt-example[open] > summary::before {
  content: '−';
}
.prompt-block details.prompt-example > summary:hover,
.story-card-body > details.prompt-example > summary:hover,
.story-card-field details.prompt-example > summary:hover,
.role-field details.prompt-example > summary:hover {
  color: var(--ink-mid);
}
.prompt-example-body {
  margin-top: 6px;
  padding: 14px 16px;
  background: var(--light-bg);
  border-left: 2px solid var(--gold);
  border-radius: 0 4px 4px 0;
  font-family: var(--serif);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-mid);
  font-style: italic;
}
.prompt-example-attribution {
  display: block;
  margin-top: 8px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.prompt-example-note {
  display: block;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 0.5px dashed rgba(15,18,22,.12);
  font-family: var(--sans);
  font-style: italic;
  font-size: 12.5px;
  color: var(--ink-faint);
  line-height: 1.55;
}

/* Multi-example list used inside the Power statement disclosure.
   Each item is a short tagline, no attribution — these read as
   permission, not template. The serif italic + bullet rule keeps
   them aligned with the helper-block aesthetic. */
.prompt-example-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prompt-example-list li {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  padding-left: 14px;
  position: relative;
}
.prompt-example-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  font-style: normal;
}

/* Story example — wider variant for the full SCAOI example on the
   Anchor stories page. Same vocabulary but a labelled field per beat
   so the user reads the *shape* of a story, not just a paragraph. */
.prompt-example-story {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px 18px;
  margin: 4px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-mid);
}
.prompt-example-story dt {
  font-family: var(--ui);
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: 2px;
}
.prompt-example-story dd {
  margin: 0;
}
@media (max-width: 640px) {
  .prompt-example-story {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }
  .prompt-example-story dt {
    margin-top: 8px;
  }
}
