/* Boundaries 09: a small personal notebook, with the original cream/plum identity. */
.question-inner { animation: none !important; transform: none !important; }
.question .quiz-top { margin: 0 0 25px; padding-top: 0; }
.quiz-top .progress-meta, .quiz-top .progress-count, .quiz-top > p { display: none; }
.question .progress { height: 3px; border-radius: 3px; }
.question .answers { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; margin-top: 24px; }
.question .answers > .choice {
  display: grid; grid-template-columns: 33px minmax(0,1fr) 18px;
  align-items: center; gap: 12px; width: 100%; min-height: 65px;
  padding: 13px 16px; border: 1px solid #ddc9c3; border-radius: 13px;
  background: #fffaf5c9; color: var(--ink); text-align: left;
  font: 400 16px/1.35 Switzer,Arial,sans-serif;
  box-shadow: none; position: relative; overflow: visible;
}
.question .answers .answer-emoji {
  display: grid; place-items: center; min-height: 34px; width: 33px; padding: 0;
  font: 27px/1.2 "Apple Color Emoji","Segoe UI Emoji",sans-serif;
}
.question .answers > .choice .answer-label { display: block; min-width: 0; min-height: 0; padding: 0; font: inherit; }
.question .answers .chosen-check { position: static; display: block; width: 18px; height: auto; opacity: 0; color: var(--plum); }
.question .answers > .choice.selected, .question .answers > .choice[aria-pressed=true] {
  background: #f0dfe7; border-color: #a47c93; box-shadow: none;
}
.question .answers > .choice.selected .chosen-check, .question .answers > .choice[aria-pressed=true] .chosen-check { opacity: 1; }
.question .answers > .choice:disabled { color: var(--ink); opacity: 1; }
.question .answers > .choice:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
.bs-choice > .answer-emoji { display: inline-grid; place-items: center; flex: 0 0 30px; margin-right: 12px; font: 26px/1.2 "Apple Color Emoji","Segoe UI Emoji",sans-serif; }
.bs-timing-choice > .bs-calendar-object { display: none; }
.bs-timing-choice { gap: 0; min-height: 65px; }

:is(.v9-checkin,.v9-insight,.v9-journal,.v9-letter,.v9-program,.v9-practice,.v9-done) {
  width: 100%; min-height: 100svh;
  padding: calc(66px + env(safe-area-inset-top)) 24px max(30px,env(safe-area-inset-bottom));
  color: var(--ink); text-align: left;
}
:is(.v9-checkin,.v9-insight,.v9-journal,.v9-letter,.v9-program,.v9-practice,.v9-done) > section {
  width: 100%; max-width: 552px; margin: 0 auto;
}
:is(.v9-checkin,.v9-insight,.v9-journal,.v9-letter,.v9-program,.v9-practice,.v9-done) h1 {
  margin: 0; max-width: none; font: 400 36px/1.12 Gambetta,Georgia,serif;
  letter-spacing: -1px; text-wrap: pretty;
}
:is(.v9-checkin,.v9-insight,.v9-journal,.v9-letter,.v9-program,.v9-practice,.v9-done) p {
  font-size: 15px; line-height: 1.5; color: var(--muted);
}
:is(.v9-checkin,.v9-insight,.v9-journal,.v9-letter,.v9-program,.v9-practice,.v9-done) .lead { margin: 12px 0 0; }
:is(.v9-checkin,.v9-insight,.v9-journal,.v9-letter,.v9-program,.v9-practice,.v9-done) > section > .primary {
  display: block; width: 100%; min-height: 55px; margin-top: 24px;
}
.v9-insight-visual { width: min(100%,320px); margin: 22px auto 18px; }
.v9-insight-visual img { display: block; width: 100%; height: auto; object-fit: contain; }
.v9-insight-summary { margin: 0; font-size: 17px !important; line-height: 1.5 !important; }
.v9-insight-summary strong { color: var(--plum); font-weight: 500; }

/* One content-sized sheet; the binding and page edge carry the notebook metaphor. */
.v9-notebook {
  position: relative; margin: 25px 0 0; padding: 22px 20px 18px 29px;
  border-radius: 5px 15px 15px 5px; border: 1px solid #dbc7bd;
  border-left: 9px solid #87657b; background: #fffaf5;
  box-shadow: 4px 4px 0 -1px #efdfd3, 5px 5px 0 #dbc7bd, 0 12px 25px -20px #754d6555;
}
.v9-notebook::before { content: ''; position: absolute; top: 0; bottom: 0; left: 7px; width: 1px; background: #ead8d6; }
.v9-notebook-header { margin: 0 0 11px; color: var(--plum); font: 400 26px/1.15 Gambetta,Georgia,serif; }
.v9-notebook-header small { display: block; margin-bottom: 7px; color: var(--muted); font: 400 12px/1.3 Switzer,Arial,sans-serif; }
.v9-notebook-days { list-style: none; margin: 0; padding: 0; }
.v9-notebook-days li { display: flex; align-items: baseline; gap: 13px; min-height: 39px; padding: 9px 0; border-bottom: 1px solid #eaddd5; }
.v9-notebook-days li:last-child { border-bottom: 0; }
.v9-notebook-days .day-number { flex: 0 0 15px; color: #9b7b8e; font-size: 12px; font-variant-numeric: tabular-nums; }
.v9-notebook-days .day-title { color: var(--ink); font-size: 15px; line-height: 1.4; }
.v9-journal-status { margin: 17px 0 0; min-height: 21px; text-align: center; font-size: 13px !important; }
.v9-journal > section > .primary { margin-top: 16px; }
.v9-journal > section > .primary:disabled { background: #b99daa; color: #fffaf5; }

.v9-letter-art { width: min(100%,270px); margin: 18px auto 16px; }
.v9-letter-art img { display: block; width: 100%; height: auto; object-fit: contain; }
img.v9-letter-art { display: block; height: auto; object-fit: contain; }
.v9-letter-note { padding: 20px 22px; background: #f2e1e7; border-radius: 3px 15px 15px 15px; }
.v9-letter-note p { margin: 0; }
.v9-letter-note strong { display: block; margin: 12px 0 0; color: var(--plum); font: 400 27px/1.25 Gambetta,Georgia,serif; }
.v9-letter-facts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.v9-letter-facts > * { margin: 0; padding: 7px 10px; border-radius: 8px; background: #f5e7e5; color: var(--muted); font-size: 13px; line-height: 1.35; }
.v9-letter .v8-constraints { margin-top: 15px; }

.v9-program-hero { display: flex; align-items: center; gap: 19px; margin: 15px 0 18px; }
.v9-program-hero img { display: block; flex: 0 0 135px; width: 135px; height: 125px; object-fit: contain; }
.v9-program-hero > div { min-width: 0; }
.v9-program-hero p { margin: 0; font-size: 14px; }
.v9-program-hero strong { color: var(--plum); font-weight: 500; }
.v9-days { display: grid; gap: 0; border-top: 1px solid #dfccc5; }
.v9-day {
  display: grid; grid-template-columns: 32px minmax(0,1fr) auto; gap: 12px; align-items: center;
  width: 100%; min-height: 73px; border: 0; border-bottom: 1px solid #dfccc5;
  border-radius: 0; background: transparent; text-align: left; padding: 12px 0; color: var(--ink);
}
.v9-day-number { display: grid; place-items: center; width: 30px; height: 34px; color: #a07b91; font: 400 23px/1 Gambetta,Georgia,serif; }
.v9-day-copy { min-width: 0; }
.v9-day-copy strong { display: block; font: 500 16px/1.3 Switzer,Arial,sans-serif; color: var(--ink); }
.v9-day-copy small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.v9-day-state { color: var(--plum); font: 400 12px/1.25 Switzer,Arial,sans-serif; max-width: 70px; text-align: right; }
.v9-day[aria-current=step], .v9-day[aria-pressed=true] { background: #f3e4e7; padding-left: 10px; padding-right: 10px; border-radius: 10px; border-bottom-color: transparent; }
.v9-day:disabled { opacity: .68; color: var(--muted); }

.v9-practice-card { position: relative; margin: 24px 0 20px; padding: 0 0 0 57px; min-height: 53px; }
.practice-emoji { position: absolute; left: 0; top: 0; font: 36px/1.2 "Apple Color Emoji","Segoe UI Emoji",sans-serif; }
.v9-practice-card h2 { margin: 0 0 8px; font: 400 25px/1.2 Gambetta,Georgia,serif; letter-spacing: -.5px; }
.v9-practice-card p { margin: 0; }
.v9-practice .reply-editor { margin: 20px 0 12px; padding: 20px; }
.v9-practice .reply-editor blockquote { margin: 0; font-size: 26px; }
.v9-practice .reply-tabs { margin: 0 0 20px; }
.v9-practice .reply-tabs button { min-height: 44px; }
.practice-label { display: block; margin: 22px 0 9px; color: var(--muted); font-size: 14px; }
.v9-practice textarea {
  display: block; width: 100%; min-height: 125px; padding: 14px 15px;
  resize: vertical; border: 1px solid #c8aaba; border-radius: 12px; background: #fffaf5;
  color: var(--ink); font: 400 16px/1.5 Switzer,Arial,sans-serif;
}
.practice-options { display: grid; gap: 9px; margin: 20px 0 0; }
.practice-options button { min-height: 52px; padding: 13px 15px; border: 1px solid #d6bdca; border-radius: 11px; background: #fffaf5; color: var(--ink); text-align: left; font: 400 15px/1.4 Switzer,Arial,sans-serif; }
.practice-options button[aria-pressed=true] { background: #ecd8e2; border-color: #a47c93; }
.v9-practice .reply-status { margin: 12px 0 0; color: var(--plum); font-size: 13px; }
.v9-practice .reply-status:empty { display: none; }
.v9-done-mark { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 23px; border-radius: 50%; background: #ead5e0; color: var(--plum); font-size: 32px; }
.v9-done > section > p { margin: 16px 0 0; }
.v9-saved-note { margin: 23px 0 0; padding: 19px 20px; background: #fffaf5; border-left: 3px solid #b18a9f; border-radius: 0 10px 10px 0; color: var(--plum); font: 400 25px/1.35 Gambetta,Georgia,serif; overflow-wrap: anywhere; }
.v9-saved-note:empty { display: none; }
[hidden] { display: none !important; }
@media (max-width:350px) {
  :is(.v9-checkin,.v9-insight,.v9-journal,.v9-letter,.v9-program,.v9-practice,.v9-done) { padding-left: 20px; padding-right: 20px; }
  :is(.v9-checkin,.v9-insight,.v9-journal,.v9-letter,.v9-program,.v9-practice,.v9-done) h1 { font-size: 32px; }
  .question .answers { gap: 9px; margin-top: 20px; }
  .question .answers > .choice { grid-template-columns: 30px minmax(0,1fr) 16px; gap: 10px; min-height: 61px; padding: 12px 13px; font-size: 15px; }
  .v9-insight-visual { width: 270px; }
  .v9-notebook { padding: 20px 15px 16px 23px; }
  .v9-notebook-days li { gap: 10px; }
  .v9-notebook-days .day-title { font-size: 14px; }
  .v9-letter-art { width: 235px; }
  .v9-letter-note { padding: 18px; }
  .v9-program-hero { gap: 12px; }
  .v9-program-hero img { flex-basis: 106px; width: 106px; height: 115px; }
  .v9-day { gap: 8px; grid-template-columns: 28px minmax(0,1fr) auto; }
  .v9-day-copy strong { font-size: 15px; }
  .v9-practice .reply-editor blockquote { font-size: 24px; }
}
@media (hover:hover) and (pointer:fine) {
  .question .answers > .choice:hover { border-color: #b394a5; background: #f7e9eb; }
  .question .answers > .choice.selected:hover { background: #f0dfe7; }
  .v9-day:not(:disabled):hover { background: #f5e6e8; }
  .practice-options button:hover { border-color: #a47c93; }
}
/* The cover opens once; subsequent page reveals follow actual prepared practices. */
.v9-notebook { perspective: 1100px; perspective-origin: left center; }
.v9-notebook-cover {
  position: absolute; inset: -1px -1px -1px -9px; z-index: 2;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  padding: 28px 30px 26px; border-radius: 5px 15px 15px 5px;
  background: #79556d; color: #fff3e8; transform-origin: left center;
  box-shadow: inset 8px 0 0 #68445d, inset 9px 0 0 #9c788f;
  backface-visibility: hidden; transform: rotateY(0deg); opacity: 1;
  transition: transform 2.4s cubic-bezier(.4,0,.2,1),opacity .5s 1.9s;
}
.v9-notebook-cover > span { font: 400 23px/1 Gambetta,Georgia,serif; letter-spacing: -.5px; }
.v9-notebook-cover strong { display: block; font: 400 47px/1.04 Gambetta,Georgia,serif; letter-spacing: -1px; }
.v9-notebook-cover em { color: #e6c5cc; font-style: italic; }
.v9-notebook-cover small { font: 400 10px/1.4 Switzer,Arial,sans-serif; letter-spacing: 1.5px; }
.v9-notebook.is-open .v9-notebook-cover { transform: rotateY(-88deg); opacity: 0; pointer-events: none; }
.v9-notebook-days li { opacity: 0; transform: translateY(6px); transition: opacity 1s cubic-bezier(.4,0,.2,1),transform 1s cubic-bezier(.4,0,.2,1); }
.v9-notebook-days li.is-ready { opacity: 1; transform: none; }
.v9-journal > section > .text-button { display: block; margin: 5px auto 0; min-height: 44px; font-size: 13px; }
.v9-insight-switch { display: flex; gap: 7px; margin: 0 0 13px; }
.v9-insight-switch button { flex: 1; min-height: 44px; padding: 10px 12px; border: 1px solid #d8becb; border-radius: 10px; background: #fffaf5; color: var(--muted); font: 400 14px/1.3 Switzer,Arial,sans-serif; }
.v9-insight-switch button[aria-pressed=true] { background: #e9d2df; border-color: #ab829a; color: #643d56; }
.v9-insight-answer { display: flex; gap: 14px; align-items: center; min-height: 80px; margin: 0 0 14px; padding: 15px 17px; background: #f3e3e7; border-radius: 13px; }
.v9-insight-answer > span { flex: 0 0 40px; font: 35px/1.2 "Apple Color Emoji","Segoe UI Emoji",sans-serif; }
.v9-insight-answer strong { font: 400 24px/1.2 Gambetta,Georgia,serif; color: var(--plum); }
.v9-insight .v9-insight-visual { width: min(100%,260px); margin-top: 16px; margin-bottom: 15px; }
.v9-letter-facts i { margin-right: 7px; font-style: normal; }
.v9-private-note { padding: 12px 14px; background: #f0e1e6; border-radius: 9px; color: #6b4a5e !important; font-size: 13px !important; line-height: 1.45 !important; }
.v9-program-hero small { display: block; margin: 10px 0 3px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.v9-program-hero strong { display: block; font-size: 15px; line-height: 1.35; }
.v9-program .v9-days { margin-top: 21px; }
.v9-practice-constraints { list-style: none; margin: 0 0 20px; padding: 13px 15px; background: #f0e4e2; border-radius: 11px; color: #68535e; font-size: 13px; line-height: 1.5; }
.v9-practice-constraints li + li { margin-top: 7px; }
.v9-practice .reply-editor > small { display: block; margin-bottom: 12px; color: var(--muted); font-size: 11px; }
.v9-local-note { margin: 15px 0 0; text-align: center; font-size: 12px !important; }
.v9-plan-links { display: flex; justify-content: center; gap: 12px; margin-top: 5px; }
.v9-plan-links .text-button { min-height: 44px; font-size: 12px; }
.v9-done > section > .text-button { display: block; min-height: 44px; margin: 8px auto 0; font-size: 13px; }
.v9-done-empty { padding: 18px 0; color: var(--plum) !important; }
body.motion-off .v9-notebook-cover { transition: none; }
body.motion-off .v9-notebook-days li { transition: none; }
@media (prefers-reduced-motion:reduce) {
  .v9-notebook-cover, .v9-notebook-days li { transition: none; }
}
@media (max-width:350px) {
  .v9-notebook-cover { padding: 25px; }
  .v9-notebook-cover strong { font-size: 43px; }
  .v9-insight-answer { gap: 11px; padding: 14px; }
  .v9-insight-answer strong { font-size: 23px; }
  .v9-plan-links { gap: 7px; }
}

/* Assembly uses a continuous elapsed-time fill rather than answer-sized jumps. */
.bs-gather .bs-progress > i { transition: none; }
