/* The person's words and reports sit on quiet pages around the illustrated scene. */
.encounter:not([data-phase="living"]) .encounter-body { max-width:1040px; padding:var(--space-10) 0 var(--space-12); }
.reported-own-words { white-space:pre-wrap; overflow-wrap:anywhere; font:20px/1.5 var(--serif); }

/* Expressions have equal weight; degrees open within their alphabetical row. */
.emotion-face { width:100px; max-width:100%; aspect-ratio:1; display:inline-block; flex-shrink:0; background-size:500% 400%; border-radius:50%; overflow:hidden; position:relative; mix-blend-mode:multiply; }
.emotion-face img { position:absolute; left:50%; top:50%; height:auto; max-width:none; pointer-events:none; }
.feeling-report { max-width:660px; padding:4px 0; margin:auto; }
.feeling-report h1 { font:400 38px/1.18 var(--serif); letter-spacing:-.025em; margin-bottom:var(--space-6); }
.hinge-feelings { margin-top:0; }
.hinge-feelings h2 { font:400 30px/1.2 var(--serif); letter-spacing:-.025em; }
.emotion-intro { color:var(--muted); font:var(--type-small)/1.6 var(--sans); margin:10px 0 18px; max-width:48ch; }
.hinge-feelings .emotion-intro { margin:8px 0 14px; }
.emotion-guide { color:var(--muted); font:var(--type-small)/1.6 var(--sans); margin:0 0 12px; }
.expression-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:var(--space-2); }
.expression { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; min-width:0; min-height:88px; padding:8px 4px; border:1px solid transparent; border-radius:var(--radius); background:transparent; color:var(--ink); font:var(--type-label)/1.4 var(--serif); }
.expression > span:not(.emotion-face) { overflow-wrap:normal; word-break:normal; }
.expression .emotion-face { width:48px; }
.hinge-feelings .expression { min-height:80px; padding:6px 3px; }
.hinge-feelings .expression .emotion-face { width:42px; }
.expression:hover { background:var(--surface); }
.expression[aria-pressed="true"] { border-color:var(--rule); background:var(--surface); }
.expression[aria-expanded="true"] { border-color:var(--rule-strong); background:var(--paper-deep); }
.expression-degrees { grid-column:1 / -1; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:var(--space-1); padding:var(--space-3) var(--space-2); background:var(--surface); border:1px solid var(--rule); border-radius:var(--radius); }
.expression-degrees .emotion-degree { display:flex; flex-direction:column; align-items:center; min-width:0; min-height:86px; padding:6px 2px; gap:5px; border:1px solid transparent; border-radius:6px; background:transparent; }
.expression-degrees .emotion-face { width:46px; height:46px; }
.expression-degrees .emotion-degree > span:not(.emotion-face) { font:var(--type-label)/1.3 var(--serif); overflow-wrap:normal; word-break:normal; }
.expression-degrees .emotion-degree:hover { background:var(--paper-deep); }
.expression-degrees .emotion-degree[aria-pressed="true"] { background:var(--wash); border-color:var(--action); }
.emotion-chosen { border:0; padding:10px 0; margin:4px 0 0; }
.emotion-chosen:has(#emotion-selections:empty) { margin:0; padding:0; }
.emotion-selection-list { display:flex; flex-wrap:wrap; gap:6px; }
.emotion-selection { flex:initial; display:flex; align-items:center; gap:0; max-width:100%; padding:0 2px 0 10px; border-radius:6px; background:var(--paper-deep); }
.emotion-edit { display:flex; align-items:center; gap:8px; min-height:44px; min-width:44px; padding:0; border:0; background:transparent; text-align:left; }
.emotion-edit > span:not(.emotion-face) { font:17px/1.35 var(--serif); }
.emotion-remove { width:44px; height:44px; border:0; background:transparent; font-size:21px; color:var(--muted); }
.emotion-remove:hover { color:var(--ink); }
label.emotion-own-words { display:block; font:var(--type-label)/1.5 var(--sans); color:var(--muted); margin-top:var(--space-4); }
#emotion-own-words { min-height:80px; margin:var(--space-2) 0 var(--space-3); font:19px/1.5 var(--serif); }
.emotion-submit { display:flex; align-items:center; flex-wrap:wrap; gap:18px; margin-top:14px; }
.emotion-submit .primary { width:auto; }
.emotion-empty { padding:0; font:17px/1.5 var(--serif); color:var(--muted); }

/* The pause is optional and compact enough to stay beside the feelings. */
#optional-pause { margin-top:10px; }
#optional-pause > summary,.scene-voices > summary,.previous-voice > summary,.feeling-thoughts > summary { width:fit-content; cursor:pointer; color:var(--muted); font:var(--type-small)/1.5 var(--sans); min-height:44px; padding:12px 0; }
#optional-pause > summary:hover,.scene-voices > summary:hover,.feeling-thoughts > summary:hover { color:var(--ink); }
.somatic-pause { display:grid; grid-template-columns:minmax(0,1fr) 88px; gap:6px 20px; max-width:580px; margin:4px 0 12px; padding:var(--space-6); border:1px solid var(--rule); border-radius:var(--radius-large); background:var(--surface); text-align:left; }
.somatic-pause h2 { grid-column:1; font:400 24px/1.2 var(--serif); letter-spacing:-.3px; margin:0; }
.pause-guidance { grid-column:1; font:17px/1.5 var(--serif); color:var(--muted); margin:2px 0 0; }
.pause-orb { display:grid; place-items:center; grid-column:2; grid-row:1 / 3; align-self:center; width:88px; height:88px; border-radius:50%; margin:0; background:radial-gradient(circle,var(--wash),var(--paper-deep) 70%,var(--surface)); }
.pause-orb[data-running="true"] { animation:pause-breathe 8s ease-in-out infinite; }
@keyframes pause-breathe { 50% { transform:scale(1.035); } }
#pause-time { color:var(--action-hover); font:28px/1 var(--serif); font-variant-numeric:tabular-nums; }
.pause-status { grid-column:1 / -1; min-height:0; margin-top:10px; font:var(--type-small)/1.5 var(--sans); color:var(--muted); }
.pause-controls { display:flex; align-items:center; grid-column:1 / -1; justify-content:flex-start; flex-wrap:wrap; gap:10px 18px; margin:6px 0 0; }
.somatic-pause > .button { grid-column:1 / -1; justify-self:start; }

/* Recognition lets a proposed thought stand apart from the person's evidence. */
.recognition { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(250px,.85fr); align-items:start; gap:clamp(32px,5vw,68px); padding:8px 0 12px; }
.recognition:not(:has(> .offer)) { grid-template-columns:minmax(0,1fr); max-width:710px; margin:auto; }
.recognition .eyebrow { margin-bottom:14px; }
.recognising .anchor { max-width:52ch; margin:0 0 24px; font:19px/1.55 var(--serif); color:var(--ink); }
.recognition-report { border-block:1px solid var(--rule); padding:16px 0; margin-bottom:28px; }
.recognition-report .field-label { margin-bottom:10px; }
.recognition-report .reported-feelings { gap:10px 18px; }
.recognition-report .reported-feelings figure { width:auto; max-width:100%; }
.recognition-report .emotion-face { width:46px; }
.recognition-report figcaption { font:16px/1.3 var(--serif); }
.recognition-report .reported-own-words { margin-top:8px; font-size:18px; }
.recognition .recognising h1 { max-width:28ch; font:400 24px/1.3 var(--serif); letter-spacing:-.3px; margin:0 0 10px; }
.recognising .proposed-thought { max-width:25ch; margin:24px 0; font:400 clamp(30px,3.1vw,40px)/1.22 var(--serif); letter-spacing:-.6px; overflow-wrap:anywhere; }
.recognising .actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px 18px; margin:16px 0; }
.recognising > .text-button { margin-top:8px; color:var(--muted); }
.recognising .textarea { min-height:94px; }
#recognition-form { margin:22px 0 6px; padding-top:20px; border-top:1px solid var(--rule); }
#recognition-form .form-note { margin:10px 0 14px; }
.recognition .offer { padding:var(--space-8); border-top:2px solid var(--action); border-radius:var(--radius-large); background:var(--surface); animation:appear .35s ease both; }
.recognition .offer blockquote { font:400 30px/1.32 var(--serif); letter-spacing:-.5px; overflow-wrap:anywhere; }
.recognition .offer .source { margin-top:16px; }
.recognition .offer .form-note { margin-top:20px; }
.recognition .offer .button { margin-top:22px; }
#step-title { scroll-margin-block:28px; }
#step-title:focus { outline:none; }
.source-disclosure summary { cursor:pointer; width:fit-content; min-height:44px; padding:10px 0; margin:auto; text-underline-offset:4px; }
.source-disclosure summary:hover { color:var(--ink); }
.source-disclosure p { margin-top:8px; }
.offer .source-disclosure summary { margin:0; }

/* Carry gives the lived contrast and the tried thought room to be remembered. */
.carry { max-width:800px; margin:auto; text-align:center; }
.carry h1,.rested h1 { font:400 clamp(30px,3.5vw,40px)/1.2 var(--serif); letter-spacing:-.7px; }
.carry .anchor { max-width:48ch; color:var(--muted); font:19px/1.55 var(--serif); margin:18px auto 28px; }
.emotional-contrast { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr)); gap:14px; margin:24px 0; text-align:left; }
.emotional-contrast > section { min-width:0; border:0; border-top:1px solid var(--rule); padding:var(--space-5); border-radius:var(--radius); background:var(--surface); }
.emotional-contrast h3 { margin:0 0 14px; color:var(--muted); font:var(--type-small)/1.45 var(--sans); }
.reported-feelings { display:flex; flex-wrap:wrap; gap:14px; }
.reported-feelings figure { width:88px; max-width:100%; margin:0; text-align:center; }
.reported-feelings .emotion-face { width:64px; }
.reported-feelings figcaption { font:17px/1.35 var(--serif); overflow-wrap:anywhere; }
.emotional-contrast .reported-own-words { margin-top:12px; }
.carry .emotional-contrast { margin:22px 0 28px; }
.carry .emotional-contrast .emotion-face { width:64px; height:64px; }
.carry .carry-form { display:flex; flex-direction:column; align-items:stretch; max-width:640px; margin:0 auto 30px; text-align:left; }
.carry .carry-form .field-label { padding:0; margin:0 0 8px; text-align:left; }
.carry .textarea { min-height:112px; }
.carry .eyebrow { margin-bottom:10px; }
.carry .carry-thought { max-width:25ch; margin:auto; font:400 clamp(27px,3vw,35px)/1.3 var(--serif); letter-spacing:-.4px; overflow-wrap:anywhere; }
.carry .source { max-width:610px; margin:12px auto 0; }
.carry .scene-voices { max-width:640px; margin:24px auto 0; text-align:left; }
.contrast { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr)); gap:0; border:0; border-radius:0; text-align:left; overflow:visible; margin:4px 0 14px; }
.contrast > div { padding:16px 18px; background:transparent; }
.contrast > div:first-child { background:transparent; }
.contrast > div + div { border-left:1px solid var(--rule); background:transparent; }
.contrast small { display:block; margin-bottom:9px; font:var(--type-small)/1.4 var(--sans); font-weight:400; letter-spacing:0; text-transform:none; color:var(--muted); }
.contrast p { font:italic 20px/1.5 var(--serif); }
.carry .actions { display:flex; justify-content:center; flex-wrap:wrap; align-items:center; gap:10px 24px; margin-top:22px; }
.carry > .offer { max-width:640px; margin:30px auto 0; padding:var(--space-8); border-top:2px solid var(--action); border-radius:var(--radius-large); background:var(--surface); text-align:left; }
.carry > .offer blockquote { font:30px/1.3 var(--serif); }
.carry > .offer .source { margin-inline:0; }
.carry > .offer .button { margin-top:20px; }
.carry .local-note { margin-top:18px; }
.rested { max-width:610px; margin:20px auto 40px; text-align:center; }
.rested .eyebrow { margin-bottom:16px; }
.rested p.description { font:20px/1.6 var(--serif); color:var(--muted); margin:20px auto 26px; }
.rested .actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:12px 22px; }

/* Kept thoughts read as a small personal library rather than a set of cards. */
.collection { max-width:900px; padding:var(--space-12) 0 56px; margin:auto; }
.collection h1 { font:400 clamp(38px,5vw,54px)/1.14 var(--serif); letter-spacing:-.03em; }
.collection > .eyebrow { margin-bottom:14px; }
.collection-intro { font:21px/1.5 var(--serif); color:var(--muted); margin:18px 0 32px; }
.empty-shelf { padding:24px 0 30px; border-block:1px solid var(--rule); }
.empty-shelf p { font:19px/1.6 var(--serif); color:var(--muted); margin-bottom:20px; }
.thought-group { margin:var(--space-8) 0; }
.thought-group h2 { color:var(--muted); font:var(--type-label)/1.5 var(--sans); letter-spacing:.03em; }
.thought-group .kept-selector { display:flex; flex-direction:column; align-items:stretch; gap:var(--space-2); margin:var(--space-3) 0; }
.thought-group .button { justify-content:flex-start; max-width:100%; min-height:var(--control-height); padding:14px 18px; border:0; border-left:2px solid transparent; border-radius:0 var(--radius) var(--radius) 0; background:transparent; color:var(--muted); font:21px/1.4 var(--serif); letter-spacing:0; text-align:left; white-space:normal; overflow-wrap:anywhere; }
.thought-group .button:hover { background:var(--paper-deep); color:var(--ink); }
.thought-group .button[aria-pressed="true"] { background:var(--surface); border-left-color:var(--action); color:var(--ink); }
.kept-card { margin-top:var(--space-8); padding:var(--space-8) 0 var(--space-10); border:0; border-top:1px solid var(--rule); }
.kept-card .eyebrow { font-size:11px; margin-bottom:14px; }
.kept-card blockquote { max-width:29ch; font:400 clamp(28px,3.4vw,37px)/1.3 var(--serif); letter-spacing:-.5px; overflow-wrap:anywhere; }
.kept-card .source { max-width:650px; margin-top:14px; }
.kept-card .emotional-contrast { margin:26px 0 0; }
.kept-line { max-width:52ch; margin:22px 0 0; font:italic 20px/1.5 var(--serif); color:var(--muted); white-space:pre-wrap; overflow-wrap:anywhere; }
.kept-card .actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px 22px; margin-top:24px; }
.kept-card .carry-form { max-width:640px; margin:24px 0 0; }
.kept-card .carry-form .actions { margin-top:12px; }

/* The journey preserves exact reports without suggesting a grade or direction. */
.feeling-entry { padding:var(--space-8) 0; border-top:1px solid var(--rule); }
.feeling-entry > header { display:flex; justify-content:space-between; align-items:flex-start; gap:18px; }
.feeling-entry > header .eyebrow { font-size:11px; margin-bottom:8px; }
.feeling-entry h2 { font:400 28px/1.25 var(--serif); letter-spacing:-.4px; }
.feeling-entry > header .text-button { color:var(--muted); flex:none; }
.feeling-entry .emotional-contrast { margin:20px 0 8px; }
.feeling-entry .emotional-contrast > section { border-top:0; }
.feeling-thoughts { color:var(--muted); }
.feeling-thoughts p { font:18px/1.5 var(--serif); margin:12px 0; }
.feeling-thoughts small { display:block; font:var(--type-small)/1.4 var(--sans); margin-bottom:5px; }

@media(max-width:800px) {
  .recognition { grid-template-columns:minmax(0,1fr); max-width:710px; margin:auto; gap:28px; }
  .recognition .offer { max-width:100%; }
}
@media(max-width:650px) {
  .encounter:not([data-phase="living"]) .encounter-body { padding:22px 0 36px; }
  .feeling-report h1 { font-size:31px; }
  .expression-grid { gap:var(--space-1); }
  .expression-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .expression { min-height:80px; padding:6px 3px; }
  .expression .emotion-face { width:42px; }
  .expression-degrees { grid-template-columns:repeat(3,minmax(0,1fr)); gap:2px; padding:6px 2px; }
  .expression-degrees .emotion-degree { min-height:80px; padding-inline:0; }
  .expression-degrees .emotion-face { width:40px; height:40px; }
  .expression-degrees .emotion-degree > span:not(.emotion-face) { font-size:var(--type-small); }
  .emotion-selection-list { gap:6px; }
  .somatic-pause { padding:16px; column-gap:14px; grid-template-columns:minmax(0,1fr) 72px; }
  .somatic-pause h2 { font-size:22px; }
  .pause-guidance { font-size:16px; }
  .pause-orb { width:72px; height:72px; }
  #pause-time { font-size:25px; }
  .pause-controls { gap:6px 16px; }
  .recognising .anchor { font-size:18px; margin-bottom:20px; }
  .recognition-report { margin-bottom:24px; }
  .recognition .recognising h1 { font-size:23px; }
  .recognising .proposed-thought { font-size:31px; margin:22px 0; }
  .recognising .actions { gap:6px 18px; }
  .recognition .offer,.carry > .offer { padding:var(--space-6); }
  .recognition .offer blockquote,.carry > .offer blockquote { font-size:28px; }
  .carry .anchor { font-size:18px; margin:16px auto 22px; }
  .emotional-contrast { grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr)); gap:10px; }
  .emotional-contrast > section { padding:14px; }
  .reported-feelings { gap:10px; }
  .reported-feelings figure { width:80px; }
  .reported-feelings figcaption { font-size:16px; }
  .reported-own-words { font-size:18px; }
  .carry .carry-form { margin-bottom:26px; }
  .carry .actions { flex-direction:row; gap:8px 18px; }
  .carry .actions .button { width:auto; }
  .contrast { grid-template-columns:minmax(0,1fr); }
  .contrast > div { padding:14px 0; }
  .contrast > div + div { border-left:0; border-top:1px solid var(--rule); }
  .collection { padding-top:var(--space-8); }
  .collection-intro { font-size:20px; margin-bottom:var(--space-8); }
  .thought-group .button { font-size:19px; padding:11px 14px; }
  .kept-card .actions { gap:8px 18px; }
  .feeling-entry > header { flex-wrap:wrap; gap:4px 18px; }
  .feeling-entry h2 { font-size:26px; }
}
@media(max-width:360px) {
  .expression-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(prefers-reduced-motion:reduce) {
  .recognition .offer,.pause-orb[data-running="true"] { animation:none; }
}
