/* Boundaries 07: a lighter illustrated quiz, with fewer competing surfaces. */
:root {
  --paper: #fff8f1;
  --tint: #faeadc;
  --line: #e6d2c1;
  --white: #fffcf7;
}
body { background: var(--paper); }
.entry {
  min-height: 100svh; padding: calc(64px + env(safe-area-inset-top)) 24px max(28px,env(safe-area-inset-bottom));
  justify-content: flex-start; align-items: stretch;
}
.entry-cover { margin: 0 0 24px; border-radius: 22px; }
.entry-cover img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 43%; }
.entry h1 { font-size: clamp(32px,8.5vw,38px); line-height: 1.12; letter-spacing: -.04em; margin: 0 0 14px; }
.entry-actions > p { margin: 0 0 23px; font-size: 16px; line-height: 1.45; max-width: none; }
.entry-message { border: 0; border-radius: 15px 15px 4px 15px; background: #fffcf7f2; box-shadow: none; padding: 11px 14px; }
.entry-message span { font-size: 14px; line-height: 1.35; }
.age-info { margin-top: 11px; }
.entry .resume { margin-top: 6px; }
.primary, .journey-actions > .primary { min-height: 55px; border-radius: 17px; box-shadow: none; }
.primary:active { transform: translateY(1px); }

/* A short question and a real illustration share a single readable row. */
.question { padding-top: clamp(70px,9svh,88px); align-items: flex-start; }
.question .quiz-top { margin: 0 0 22px; }
.progress-meta { justify-content: flex-end; margin-bottom: 8px; font-size: 11px; }
.progress { height: 3px; background: #f0ddce; }
.question h1 { font-size: 30px; line-height: 1.15; letter-spacing: -.035em; text-wrap: pretty; }
.question .lead { font-size: 15px; line-height: 1.45; margin-top: 10px; }
.v7-question-heading { display: grid; grid-template-columns: minmax(0,1fr); align-items: center; gap: 16px; margin: 0 0 22px; }
.v7-question-heading:has(> img), .v7-question-heading.has-art { grid-template-columns: minmax(0,1fr) 112px; }
.v7-question-heading > div { min-width: 0; }
.v7-question-heading h1 { font-size: clamp(24px,6.2vw,28px); line-height: 1.18; letter-spacing: -.03em; margin: 0; }
.v7-question-heading .lead { font-size: 14px; line-height: 1.45; margin-top: 10px; }
.v7-question-heading > img, .v7-question-heading > .v7-heading-art {
  display: block; width: 112px; height: 124px; margin: 0; object-fit: cover; object-position: center;
  border-radius: 21px; background: var(--tint);
}
.v7-question-heading > .v7-heading-art img { width: 100%; height: 100%; object-fit: contain; }
.answers { margin-top: 18px; gap: 11px; }
.v7-question-heading + .answers { margin-top: 0; }
.choice, .pressure-page .choice {
  border-radius: 16px; border-color: #ead7c7; background: #fffdf8;
  min-height: 62px; padding: 15px 16px; box-shadow: none;
}
.choice.selected { background: #f7dfcc; border-color: #bd7957; box-shadow: none; }
.two-col .choice, .capacity-page .two-col .choice { border-radius: 16px; min-height: 68px; }
.picture-answers { gap: 12px; }
.picture-answers .choice { padding: 7px; border-radius: 18px; border-color: #ead6c3; background: #fcf0e5; }
.picture-answers .choice > img { border-radius: 12px; aspect-ratio: 1.13; }
.picture-answers .choice > span:not(.chosen-check):not(.choice-number) { min-height: 58px; padding: 11px 5px 5px; font-size: 15px; line-height: 1.3; }
.picture-answers .choice:last-child:nth-child(odd) { min-height: 58px; padding: 13px 16px; }
.choice-illustration { border-radius: 12px; background: #f9e8d8; }
.choice-illustration .v6-object { aspect-ratio: 220 / 160; }
.icon-answers .choice-art { border-radius: 12px; background: #f7e5d4; }
.request-visual { border: 0; border-radius: 18px 18px 18px 5px; margin: 0 0 18px; }
.request-visual p { font-size: 17px; }
.pressure-scene { margin-top: 0; padding: 0; border: 0; }
.pressure-scene .pressure-center { font-size: 16px; }
.safety-scene { border-radius: 20px; margin-top: 12px; }
.pace-answers .choice { min-height: 80px; border-radius: 17px; }
.quiet-note { margin-top: 14px; }

/* A soft tray, with only the interactive edge receiving emphasis. */
.capacity-stage { margin-top: 0; padding: 14px; border: 0; border-radius: 22px; background: #f7e5d4; }
.capacity-pocket { min-height: 112px; border: 1px solid #dbc1a8; border-radius: 15px; border-bottom-width: 2px; background: #fffbf5; }
.capacity-pocket #day-slots { min-height: 55px; }
.capacity-pocket.is-drop-ready { background: #fae2cc; border-color: var(--accent); }
.capacity-token { border-radius: 11px; min-height: 44px; background: #fff9f0; }
.capacity-request { border: 0; border-radius: 12px; min-height: 52px; background: #efcfb5; }
.capacity-status { font-size: 12px; line-height: 1.4; }
.day-picker { gap: 8px; }
.day-picker button { border-color: #e2c6ad; border-radius: 13px; background: #fdf2e7; }
.day-picker button[aria-pressed=true] { border-color: #aaa282; background: #e9e2ce; }
.capacity-drag-ghost { border-radius: 12px; }

/* Each result answer has a small object scene, rather than a symbolic badge. */
.reflection-page, .journey-page { padding-top: calc(64px + env(safe-area-inset-top)); }
.reflection-page h1, .chapter-heading h1 { font-size: 31px; line-height: 1.15; }
.insight-deck { gap: 10px; margin: 22px 0 13px; align-items: stretch; }
.insight-card { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: 8px 8px 13px; border-radius: 17px; background: #fbebdd; border: 1px solid transparent; box-shadow: none; }
.insight-card small { margin: 3px 3px 8px; color: #795945; font-size: 11px; line-height: 1.3; }
.insight-card strong { margin: 0 3px; font-size: 15px; line-height: 1.3; }
.insight-card[aria-pressed=true] { border-color: #b86542; background: #f5dcc7; box-shadow: none; }
.insight-card .v7-card-art { order: -1; display: block; width: 100%; margin: 0 0 5px; color: inherit; }
.insight-card .v7-card-art svg { display: block; width: 100%; height: auto; aspect-ratio: 220 / 160; }
.insight-card .v7-card-art img { width: 100%; height: auto; border-radius: 10px; }
.deck-hint { margin: 0 0 17px; font-size: 11px; }
.insight-detail { min-height: 0; padding: 18px; border: 0; border-radius: 17px; background: #f8e8da; margin-bottom: 16px; }
.insight-detail h2 { font-size: 18px; line-height: 1.3; margin-bottom: 7px; }
.insight-detail p { font-size: 15px; line-height: 1.5; }
.finding { font-size: 15px; line-height: 1.5; }
.insight-more { margin-top: 12px; }
.journey-actions { margin-top: 21px; }

/* Retained wording tools stay quiet around the sentence itself. */
.reply-editor { border: 0; border-radius: 18px 18px 18px 5px; background: #f8e5d5; padding: 22px; }
.reply-editor blockquote { font-size: 24px; line-height: 1.35; }
.reply-tabs { border: 0; gap: 8px; }
.reply-tabs button { border: 0; border-radius: 14px; background: #faeddf; min-width: 76px; }
.reply-tabs button[aria-pressed=true] { border: 0; background: #efcfb5; color: #783f2b; }
.reply-own { border-top-color: #ecd8c7; }
.reply-own textarea { border-radius: 13px; }
.reply-own button[data-action=apply-words] { border-radius: 13px; }
.letter-sheet { border-color: #e8d5c2; border-radius: 17px; }
.letter-sheet [data-reply-anchor] { border-left: 0; padding-left: 0; }
.plan-list { border-top: 0; }
.plan-list > article { border-bottom-color: #ead8c7; }
.plan-list > article.is-chosen { border-left: 0; padding-left: 14px; padding-right: 14px; border-radius: 15px; background: #f8e6d5; }

@media (min-width: 701px) {
  .v7-question-heading:has(> img), .v7-question-heading.has-art { grid-template-columns: minmax(0,1fr) 136px; gap: 24px; }
  .v7-question-heading > img, .v7-question-heading > .v7-heading-art { width: 136px; height: 146px; }
  .v7-question-heading h1 { font-size: 32px; }
  .entry-cover img { max-height: 410px; }
}
@media (max-width: 350px) {
  .entry { padding-left: 20px; padding-right: 20px; }
  .entry-cover { margin-bottom: 21px; border-radius: 19px; }
  .entry h1 { font-size: 31px; }
  .entry-actions > p { font-size: 15px; margin-bottom: 20px; }
  .question { padding-top: 64px; }
  .question .quiz-top { margin-bottom: 20px; }
  .question h1 { font-size: 27px; }
  .v7-question-heading { gap: 12px; }
  .v7-question-heading:has(> img), .v7-question-heading.has-art { grid-template-columns: minmax(0,1fr) 96px; }
  .v7-question-heading > img, .v7-question-heading > .v7-heading-art { width: 96px; height: 110px; border-radius: 18px; }
  .v7-question-heading h1 { font-size: 23px; line-height: 1.18; }
  .v7-question-heading .lead { font-size: 13px; line-height: 1.45; }
  .choice, .pressure-page .choice { min-height: 58px; padding: 14px; }
  .picture-answers { gap: 10px; }
  .picture-answers .choice { padding: 6px; border-radius: 16px; }
  .picture-answers .choice > span:not(.chosen-check):not(.choice-number) { font-size: 14px; min-height: 55px; padding: 9px 4px 4px; }
  .capacity-stage { padding: 11px; }
  .capacity-pocket { min-height: 104px; }
  .insight-deck { gap: 7px; }
  .insight-card { padding: 6px 6px 11px; border-radius: 14px; }
  .insight-card small { font-size: 10px; margin-inline: 2px; }
  .insight-card strong { font-size: 14px; margin-inline: 2px; }
  .reflection-page h1, .chapter-heading h1 { font-size: 28px; }
  .reply-editor { padding: 19px; }
  .reply-editor blockquote { font-size: 22px; }
}
@media (hover:hover) and (pointer:fine) {
  .choice:hover { border-color: #c7916c; background: #faeadb; }
  .insight-card:hover { border-color: #c2835e; }
  .reply-tabs button:hover { border: 0; background: #f1d7c0; }
  .reply-tabs button[aria-pressed=true]:hover { border: 0; background: #edc9ab; }
}
.progress-meta > span:first-child:not(:last-child) { display: none; }
.pace-answers .choice { padding: 8px 16px 8px 8px; gap: 14px; }
.pace-answers .v7-pace-art { display: block; width: 86px; flex: 0 0 86px; }
.pace-answers .v7-pace-art svg { display: block; width: 100%; height: auto; aspect-ratio: 220 / 160; color: inherit; }
.v7-safety-note { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.letter-body { margin: 0; }
.letter-body > summary { padding: 8px 0 14px; min-height: 44px; }
.letter-body[open] > summary { margin-bottom: 5px; }
@media (max-width: 350px) {
  .pace-answers .v7-pace-art { width: 76px; flex-basis: 76px; }
  .pace-answers .choice { gap: 11px; padding-right: 12px; }
}
.day-picker svg { width: 36px; height: 28px; flex: 0 0 36px; }
.capacity-token svg { width: 32px; height: 24px; flex: 0 0 32px; }
.capacity-drag-ghost svg { width: 32px; height: 24px; }
@media (max-width: 350px) {
  .day-picker svg { width: 32px; height: 26px; flex-basis: 32px; }
  .capacity-token svg { width: 28px; height: 22px; flex-basis: 28px; }
}
