/* Boundaries 08: one short check-in, one answer to keep. */
.v8-back {
  position: absolute; top: calc(8px + env(safe-area-inset-top));
  left: max(20px, calc((100vw - 552px) / 2)); z-index: 30;
  display: inline-flex; align-items: center; gap: 7px; min-width: 60px; min-height: 44px;
  padding: 9px 0; border: 0; border-radius: 11px; background: transparent;
  color: #806352; font: 400 13px/1.4 Switzer,Arial,sans-serif;
}
.v8-back svg { width: 16px; height: 16px; flex: 0 0 16px; }
.v8-back:active { color: var(--accent); background: #f8e5d5; }
.v8-checkin, .v8-result {
  width: 100%; min-height: 100svh;
  padding: calc(64px + env(safe-area-inset-top)) 24px max(28px,env(safe-area-inset-bottom));
  text-align: left;
}
.v8-checkin > section, .v8-result > section { width: 100%; max-width: none; margin: 0; }
.v8-checkin h1, .v8-result h1 {
  font: 500 31px/1.13 Switzer,Arial,sans-serif; letter-spacing: -.035em;
  max-width: none; margin: 0; text-wrap: pretty;
}
.v8-checkin-art { width: min(100%,300px); margin: 20px auto 18px; }
.v8-checkin-art img { display: block; width: 100%; height: auto; aspect-ratio: 1.42; object-fit: cover; border-radius: 23px; }
.v8-checkin > img, .v8-checkin > section > img {
  display: block; width: min(100%,300px); height: auto; aspect-ratio: 1.42;
  object-fit: cover; border-radius: 23px; margin: 20px auto 18px;
}
.v8-answer-chips { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 18px 0 0; }
.v8-answer-chip { min-width: 0; padding: 14px 15px; border: 0; border-radius: 16px; background: #fae7d6; }
.v8-answer-chip small, .v8-answer-chip > span { display: block; margin-bottom: 7px; color: #816049; font-size: 11px; line-height: 1.35; }
.v8-answer-chip strong { display: block; color: var(--ink); font: 500 17px/1.3 Switzer,Arial,sans-serif; }
.v8-checkin .summary { color: var(--muted); font-size: 16px; line-height: 1.5; margin: 18px 0 0; }
.v8-checkin .journey-actions { margin-top: 23px; }
.v8-checkin > section > .primary, .v8-checkin > .primary { margin-top: 23px; }

.v8-result-hero { display: grid; grid-template-columns: 140px minmax(0,1fr); align-items: center; gap: 17px; margin: 20px 0 18px; }
.v8-result-hero > img { display: block; width: 140px; height: 140px; object-fit: cover; object-position: center; border-radius: 22px; }
.v8-result-summary { min-width: 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.v8-result-summary > p { margin: 0; font-size: inherit; line-height: inherit; }
.v8-result-summary > p + p { margin-top: 9px; }
.v8-result-summary strong { font-weight: 500; color: var(--ink); }
.v8-result-summary h2 { margin: 0 0 8px; font: 500 18px/1.25 Switzer,Arial,sans-serif; color: var(--ink); }
.v8-constraints { margin: 0 0 18px; padding: 13px 15px; border: 0; border-radius: 13px; background: #eee8d7; color: #5f5b40; font-size: 13px; line-height: 1.5; }
.v8-constraints:empty { display: none; }
.v8-constraints p { margin: 0; font-size: inherit; line-height: inherit; }
.v8-constraints p + p { margin-top: 7px; }
.v8-constraints ul { list-style: none; padding: 0; margin: 0; }
.v8-constraints li + li { margin-top: 7px; }
.v8-result .reply-editor { margin-top: 0; padding: 19px 20px; border-radius: 18px 18px 18px 5px; }
.v8-result .reply-editor .reply-label { margin-bottom: 12px; font-size: 11px; }
.v8-result .reply-editor blockquote { font-size: 23px; line-height: 1.34; }
.v8-result .reply-editor #reply-why { margin-top: 13px; font-size: 12px; line-height: 1.45; }
.v8-result .reply-tabs { margin-top: 10px; gap: 8px; }
.v8-result .reply-tabs button { min-height: 44px; font-size: 13px; padding: 10px 17px; }
.v8-result .reply-own { margin-top: 15px; padding-top: 0; border: 0; }
.v8-result .reply-own > summary { min-height: 44px; padding: 11px 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.v8-result .reply-own > label { font-size: 13px; }
.v8-result .reply-own textarea { min-height: 116px; }
.v8-result .reply-status { margin-top: 10px; color: var(--accent); font-size: 13px; line-height: 1.4; }
.v8-result .reply-status:empty { display: none; }
.v8-result-actions { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin-top: 18px; }
.v8-result-actions .primary { max-width: none; width: 100%; }
.v8-result-actions .text-button { align-self: center; min-height: 44px; font-size: 12px; }
.v8-result .quiet-note { margin: 12px 0 0; max-width: none; font-size: 12px; line-height: 1.4; }
.v8-saved-note { margin: 12px 0 0; color: #656340; font-size: 13px; line-height: 1.4; text-align: center; }

@media (min-width: 701px) {
  .v8-checkin, .v8-result { padding-top: 70px; }
  .v8-checkin-art, .v8-checkin > img, .v8-checkin > section > img { width: 330px; }
  .v8-result-hero { grid-template-columns: 150px minmax(0,1fr); gap: 22px; }
  .v8-result-hero > img { width: 150px; height: 150px; }
}
@media (max-width: 350px) {
  .v8-checkin, .v8-result { padding-left: 20px; padding-right: 20px; padding-bottom: max(24px,env(safe-area-inset-bottom)); }
  .v8-checkin h1, .v8-result h1 { font-size: 28px; }
  .v8-checkin-art, .v8-checkin > img, .v8-checkin > section > img { width: min(100%,270px); margin-top: 17px; margin-bottom: 15px; }
  .v8-answer-chips { gap: 8px; margin-top: 15px; }
  .v8-answer-chip { padding: 13px 12px; }
  .v8-answer-chip strong { font-size: 15px; }
  .v8-checkin .summary { font-size: 15px; line-height: 1.45; margin-top: 15px; }
  .v8-result-hero { grid-template-columns: 112px minmax(0,1fr); gap: 13px; margin-top: 17px; margin-bottom: 16px; }
  .v8-result-hero > img { width: 112px; height: 124px; border-radius: 18px; }
  .v8-result-summary { font-size: 14px; line-height: 1.4; }
  .v8-constraints { padding: 12px 13px; font-size: 13px; margin-bottom: 15px; }
  .v8-result .reply-editor { padding: 17px; }
  .v8-result .reply-editor blockquote { font-size: 21px; }
  .v8-result-actions { margin-top: 16px; }
}

/* Owner-selected Preview03 identity: the original sofa illustration and plum ink. */
:root {
  --paper: #fff3e8; --tint: #f4e5e5; --ink: #44343b; --muted: #736168;
  --accent: #754d65; --plum: #754d65; --blue: #754d65;
  --line: #d9c8bf; --white: #fffaf5; --rose: #f0e2e8; --olive: #7d746b;
}
body { background: var(--paper); color: var(--ink); }
h1, h2, .question h1, .v7-question-heading h1, .v8-checkin h1, .v8-result h1 {
  font-family: Gambetta,Georgia,serif; font-weight: 400; letter-spacing: -1px;
}
h1 em { color: var(--plum); }
.question h1 { font-size: 36px; line-height: 1.13; }
.v7-question-heading h1 { font-size: 32px; line-height: 1.13; }
.v8-checkin h1, .v8-result h1 { font-size: 36px; line-height: 1.12; }
.eyebrow, .question .eyebrow, .chapter-heading .eyebrow { color: var(--plum); }
.us-sound, .v8-back { color: var(--muted); }
.us-sound:active, .v8-back:active { background: var(--rose); color: var(--plum); }
button:focus-visible, a:focus-visible, summary:focus-visible, textarea:focus-visible { outline-color: var(--plum); }
::selection { background: #d9bccb; color: var(--ink); }
.entry { padding-top: calc(64px + env(safe-area-inset-top)); }
.entry-heading { order: 1; text-align: center; }
.entry h1 { font: 400 45px/1.06 Gambetta,Georgia,serif; letter-spacing: -1.6px; margin: 0; max-width: none; }
.entry-cover { order: 2; width: calc(100% + 32px); max-width: none; margin: 18px -16px 20px; border: 0; border-radius: 0; overflow: visible; background: transparent; }
.entry-cover img { width: 100%; height: auto; max-height: none; aspect-ratio: auto; object-fit: contain; object-position: center; background: transparent; border-radius: 0; }
.entry-message { background: #fffaf5f2; color: var(--ink); border: 1px solid var(--line); border-radius: 10px 10px 3px 10px; }
.entry-message small { color: var(--muted); }
.entry-actions { order: 3; text-align: center; }
.entry-actions > p { color: var(--muted); max-width: 34ch; margin: 0 auto 21px; font-size: 15px; line-height: 1.5; }
.primary, .journey-actions > .primary { background: var(--plum); color: #fffaf5; border-radius: 11px; box-shadow: none; }
.text-button, .replay { color: var(--muted); }
.progress { background: #e9d7d2; }
.progress i { background: var(--plum); }
.choice, .pressure-page .choice { border-radius: 11px; border-color: var(--line); background: #fffaf5c9; color: var(--ink); }
.choice.selected { background: var(--rose); border-color: var(--plum); box-shadow: none; }
.choice .chosen-check { color: var(--plum); }
.two-col .choice, .capacity-page .two-col .choice { border-radius: 11px; }
.picture-answers .choice { border-radius: 13px; background: #fbede4; border-color: var(--line); }
.picture-answers .choice > img { object-fit: contain; background: transparent; border-radius: 0; }
.choice-illustration, .icon-answers .choice-art { background: #f5e7de; border-radius: 8px; }
.icon-answers .choice-art { color: var(--plum); }
.v7-question-heading > img, .v7-question-heading > .v7-heading-art { background: transparent; border-radius: 0; object-fit: contain; }
.request-visual { background: #f5e5e4; border-color: var(--line); }
.request-orbit, .request-visual p { color: var(--plum); }
.pressure-scene { border-color: #b497a7; }
.pressure-scene .pressure-center { color: var(--ink); }
.pressure-scene > span:not(.pressure-center) { color: var(--muted); }
.safety-scene { background: transparent; border-radius: 0; }
.safety-scene img { object-fit: contain; }
.v8-checkin-art img, .v8-checkin > img, .v8-checkin > section > img {
  aspect-ratio: auto; object-fit: contain; background: transparent; border: 0; border-radius: 0;
}
.v8-answer-chip { background: #f2e3e7; }
.v8-answer-chip small, .v8-answer-chip > span { color: var(--muted); }
.v8-result-hero > img { object-fit: contain; background: transparent; border-radius: 0; }
.v8-constraints { background: #f0e4e2; color: #68535e; }
.v8-saved-note { color: var(--plum); }
.phone-caption { color: var(--muted); }
.phone-caption i { background: #ad8b9e; }
.reply-editor, .v8-result .reply-editor { background: #f1dfe3; border: 0; border-radius: 14px 14px 14px 4px; }
.reply-editor .reply-label { color: var(--muted); }
.reply-editor blockquote, .v8-result .reply-editor blockquote { font: 400 27px/1.3 Gambetta,Georgia,serif; color: var(--plum); }
.reply-editor #reply-why { color: var(--muted); }
.reply-tabs button { background: #f6e8e6; color: var(--muted); border-color: var(--line); }
.reply-tabs button[aria-pressed=true] { background: #e7cfdc; color: #623b54; border-color: #b38c9f; }
.reply-own { border-color: var(--line); }
.reply-own textarea { background: var(--white); color: var(--ink); border-color: #c6a7b6; }
.reply-own button[data-action=apply-words] { color: var(--plum); border-color: #ba99ac; }
.reply-status, .v8-result .reply-status { color: var(--plum); }
.review-page .evidence-list button { color: var(--plum); }
dialog { color: var(--ink); background: var(--paper); border-color: var(--line); }
@media (max-width: 350px) {
  .entry h1 { font-size: 40px; letter-spacing: -1.3px; }
  .question h1 { font-size: 32px; }
  .v7-question-heading h1 { font-size: 28px; }
  .v8-checkin h1, .v8-result h1 { font-size: 32px; }
  .v8-result .reply-editor blockquote { font-size: 25px; }
}
@media (hover:hover) and (pointer:fine) {
  .primary:hover, .journey-actions > .primary:hover { background: #633c54; }
  .choice:hover { background: #f5e7e7; border-color: #b89aa9; }
  .choice.selected:hover { background: var(--rose); border-color: var(--plum); }
  .reply-tabs button:hover { background: #eddae3; color: var(--plum); border-color: #b89aa9; }
  .reply-tabs button[aria-pressed=true]:hover { background: #e4c9d7; }
  .reply-own button[data-action=apply-words]:hover { background: #f0e0e7; }
}
.v8-constraints { list-style: none; }
.v8-result-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px 10px; align-items: center; }
.v8-result-actions .primary, .v8-result-actions [data-action=start] { grid-column: 1 / -1; }
.v8-result-actions .text-button { justify-self: stretch; width: 100%; }
/* Keep the back control anchored to the page, not an animated containing block. */
.question-inner { animation: none !important; transform: none !important; }
