/* Personal outcome records and a distinct, optional contribution step. */
.live-outcomes { min-width: 0; }
.lo-page-heading { align-items: flex-start; }
.lo-layout { display: grid; grid-template-columns: minmax(0, 1fr) 264px; gap: 24px; align-items: start; min-width: 0; }
.lo-layout > *, .lo-card, .lo-history-card { min-width: 0; }
.lo-card { padding: 26px; border: 1px solid #ead5df; border-radius: 16px; background: #fffdfd; }
.lo-card-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 10px; }
.lo-card-heading h2 { color: #684352; font-size: 17px; font-weight: 500; line-height: 1.7; }
.lo-optional-note { flex-shrink: 0; color: #9a7b8a; font-size: 10px; white-space: nowrap; }
.lo-intro { color: #8d7280; font-size: 11px; line-height: 1.95; margin-bottom: 22px; }
.live-outcomes .field { min-width: 0; }
.live-outcomes .field > span { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.live-outcomes .optional { margin-left: 0; }
.live-outcomes .input { min-width: 0; max-width: 100%; }
.live-outcomes textarea.input { min-height: 112px; resize: vertical; }
.lo-feedback { min-width: 0; margin-top: 23px; border: 1px solid #e7d4de; border-radius: 11px; background: #fff9fc; }
.lo-feedback > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; color: #83596f; font-size: 12px; font-weight: 500; cursor: pointer; list-style: none; }
.lo-feedback > summary::-webkit-details-marker { display: none; }
.lo-feedback > summary > span:last-child { color: #a18794; font-size: 10px; font-weight: 400; }
.lo-feedback[open] > summary { border-bottom: 1px solid #eddee5; }
.lo-feedback > p { margin: 14px 16px; color: #917785; font-size: 10px; line-height: 1.9; }
.lo-feedback > .form-grid { padding: 0 16px 17px; }
.lo-form-error { margin: 13px 0 0; padding: 11px 13px; border: 1px solid #e5b9ca; border-radius: 8px; background: #fff1f5; color: #8c3e59; font-size: 11px; line-height: 1.9; overflow-wrap: anywhere; }
.lo-form-error:empty { display: none; }
.lo-privacy { display: flex; align-items: flex-start; gap: 7px; margin-top: 19px; color: #8a7080; font-size: 10px; line-height: 1.85; }
.lo-privacy > .icon { width: 13px; height: 13px; margin-top: 3px; color: #a58150; }
.lo-form-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 21px; padding-top: 19px; border-top: 1px solid #eddee5; }
.lo-form-actions > span { color: #9b7e8d; font-size: 10px; }
.lo-form-actions .button { flex-shrink: 0; }
.lo-aside { position: sticky; top: 24px; }
.lo-promise { position: relative; overflow: hidden; padding: 25px 22px; border: 1px solid #904a63; border-radius: 15px; background: linear-gradient(145deg, #954964, #6f2d46); color: #fff6f9; }
.lo-promise::after { content: ''; position: absolute; width: 120px; height: 120px; right: -76px; top: -67px; border: 1px solid #ebc98e4a; border-radius: 50%; box-shadow: 0 0 0 22px #ebc98e08; pointer-events: none; }
.lo-promise .eyebrow { color: #efd2a4; font-size: 8px; line-height: 1.8; }
.lo-promise h2 { margin: 14px 0; color: #fff7fa; font-family: 'Noto Serif JP', serif; font-size: 20px; font-weight: 400; line-height: 1.9; }
.lo-promise p { margin-top: 12px; color: #f2dbe5; font-size: 11px; line-height: 1.95; }
.lo-aside-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 17px; padding: 0 3px; color: #9b818e; }
.lo-aside-note > .icon { width: 15px; height: 15px; margin-top: 3px; color: #a58450; }
.lo-aside-note p { font-size: 10px; line-height: 1.95; }
.lo-history-section { min-width: 0; margin-top: 34px; }
.lo-history-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; min-width: 0; }
.lo-history-card { padding: 21px; border: 1px solid #ead5df; border-radius: 13px; background: #fffdfd; }
.lo-history-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.lo-history-top > div { min-width: 0; }
.lo-record-label { display: block; color: #9c818e; font-size: 10px; line-height: 1.8; }
.lo-history-top h3 { margin-top: 4px; color: #704c60; font-size: 14px; font-weight: 500; line-height: 1.8; overflow-wrap: anywhere; }
.lo-private-badge { display: inline-flex; align-items: center; flex-shrink: 0; padding: 3px 7px; border: 1px solid #e4cdab; border-radius: 5px; background: #faf1e1; color: #94703d; font-size: 9px; line-height: 1.7; white-space: nowrap; }
.lo-history-summary { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin: 15px 0 17px; color: #866978; font-size: 11px; line-height: 1.95; white-space: pre-wrap; overflow-wrap: anywhere; }
.lo-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; min-width: 0; margin: 0; }
.lo-figures > div { min-width: 0; }
.lo-figures dt { margin: 0 0 4px; color: #9c818e; font-size: 9px; line-height: 1.8; }
.lo-figures dd { min-width: 0; margin: 0; color: #755062; font-size: 15px; font-weight: 500; line-height: 1.7; overflow-wrap: anywhere; }
.lo-figures dd small { margin-left: 4px; font-size: 9px; font-weight: 400; }
.lo-figures .lo-contribution-figure { grid-column: 1 / -1; padding-top: 10px; border-top: 1px solid #f0e3e9; }
.lo-contribution-figure dd { color: #a07b42; font-size: 13px; }
.lo-history-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 17px; padding-top: 13px; border-top: 1px solid #eee0e7; }
.lo-history-actions .text-link { font-size: 10px; }
.lo-helper { margin-top: 13px; color: #927987; font-size: 10px; line-height: 1.95; }
.lo-state, .lo-history-empty { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; padding: 33px 24px; border: 1px dashed #dfc1d0; border-radius: 13px; background: #fffafd; text-align: center; }
.lo-state > .icon, .lo-history-empty > .icon { width: 28px; height: 28px; color: #b28d58; }
.lo-state p, .lo-history-empty p { max-width: 480px; color: #8e7382; font-size: 11px; line-height: 1.95; overflow-wrap: anywhere; }
.lo-state.is-error { border-color: #dcb0c1; background: #fff5f8; }
.lo-state.is-error p { color: #8e4e68; }
.lo-history-empty h3 { color: #7d546b; font-size: 15px; font-weight: 500; }
.lo-complete { width: min(100%, 780px); margin: 5px auto 0; padding: 34px; text-align: center; }
.lo-complete-mark { display: grid; place-items: center; width: 59px; height: 59px; margin: 0 auto 22px; border: 1px solid #d9ba86; border-radius: 50%; background: #fbf1de; color: #a17b3f; }
.lo-complete-mark .icon { width: 27px; height: 27px; }
.lo-complete > .eyebrow { color: #a07a42; }
.lo-complete > h1 { margin-top: 11px; color: #704457; font-family: 'Noto Serif JP', serif; font-size: 28px; font-weight: 500; line-height: 1.75; }
.lo-complete > p { margin-top: 10px; color: #8d7181; font-size: 12px; line-height: 1.95; }
.lo-report-detail { margin: 28px 0 20px; padding: 23px; border: 1px solid #eddae4; border-radius: 11px; background: #fff8fb; text-align: left; }
.lo-report-detail > h2 { margin: 5px 0 12px; color: #7c5369; font-size: 16px; font-weight: 500; line-height: 1.8; overflow-wrap: anywhere; }
.lo-detail-prose { margin: 0 0 20px; color: #846777; font-size: 12px; line-height: 2; white-space: pre-wrap; overflow-wrap: anywhere; }
.lo-feedback-record { margin-top: 18px; padding-top: 16px; border-top: 1px solid #ecd8e2; }
.lo-feedback-record h3 { color: #8d6a7f; font-size: 11px; font-weight: 500; }
.lo-feedback-record p { margin-top: 7px; color: #937987; font-size: 11px; line-height: 1.95; white-space: pre-wrap; overflow-wrap: anywhere; }
.lo-complete-actions { display: flex; justify-content: center; align-items: center; gap: 11px; flex-wrap: wrap; margin-top: 24px; }
.lo-complete-actions > .text-link { flex-basis: 100%; justify-content: center; font-size: 10px; margin-top: 3px; }
.lo-gratitude { width: min(100%, 615px); min-width: 0; margin: 0 auto; }
.lo-gratitude-heading { padding: 13px 10px 28px; text-align: center; }
.lo-gratitude-heading > .eyebrow { color: #a17d45; font-size: 8px; }
.lo-gratitude-heading h1 { margin-top: 15px; color: #77495f; font-family: 'Noto Serif JP', serif; font-size: 32px; font-weight: 500; line-height: 1.8; letter-spacing: .04em; }
.lo-gratitude-heading p { margin-top: 16px; color: #927383; font-size: 12px; line-height: 2; }
.lo-gratitude-card { padding: 29px; }
.lo-gratitude-card > .lo-private-badge { margin-bottom: 23px; }
.lo-gratitude-total { min-width: 0; margin-top: 24px; padding: 20px 0 17px; border-top: 1px solid #eddae4; border-bottom: 1px solid #eddae4; text-align: center; }
.lo-gratitude-total > span { display: block; color: #967b89; font-size: 11px; line-height: 1.8; }
.lo-gratitude-total > strong { display: block; margin-top: 11px; color: #a27b3d; font-family: Georgia, serif; font-size: clamp(28px, 4vw, 37px); font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; }
.lo-gratitude-total small { margin-left: 5px; color: #92734c; font-family: var(--font, sans-serif); font-size: 11px; }
.lo-calculation-note { margin: 13px 0 19px; color: #927887; font-size: 10px; line-height: 1.95; }
.lo-unsaved-note { margin: -5px 0 16px; color: #946f3c; font-size: 10px; line-height: 1.9; }
.lo-payment-section { min-width: 0; margin-top: 23px; padding-top: 22px; border-top: 1px solid #eddae4; }
.lo-payment-message { display: flex; flex-direction: column; gap: 7px; margin-bottom: 17px; padding: 15px; border: 1px solid #e8d2b1; border-radius: 10px; background: #fdf6e9; color: #8b6b3d; }
.lo-payment-message strong { font-size: 12px; font-weight: 500; line-height: 1.9; }
.lo-payment-message p { margin: 0; font-size: 10px; line-height: 1.95; }
.lo-payment-message.is-paid { flex-direction: row; align-items: flex-start; gap: 10px; }
.lo-payment-message.is-paid > .icon { width: 20px; height: 20px; margin-top: 3px; }
.lo-payment-message.is-paid p { margin-top: 5px; }
.lo-payment-section > .lo-state { margin-bottom: 17px; padding: 21px 15px; }
.lo-payment-section > .button { margin-top: 15px; }
.lo-return-note { margin: 0 0 20px; padding: 13px 15px; border: 1px solid #e7ceda; border-radius: 9px; background: #fff6fa; color: #8d6c7f; font-size: 11px; line-height: 1.9; }
.lo-skip { display: block; width: 100%; min-height: 44px; margin-top: 19px; padding: 10px 7px; border: 1px solid #dcc0ce; border-radius: 8px; background: #fffdfd; color: #865b73; font-size: 12px; font-weight: 500; line-height: 1.8; }
.lo-skip:hover { background: #faedf3; }
.lo-back-link { display: flex; justify-content: center; margin-top: 15px; font-size: 10px; }
@media (max-width: 1080px) { .lo-layout { grid-template-columns: minmax(0, 1fr) 235px; gap: 20px; } .lo-card { padding: 23px; } .lo-promise { padding: 22px 19px; } .lo-history-list { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .lo-layout { grid-template-columns: minmax(0, 1fr); } .lo-aside { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 19px; align-items: center; } .lo-aside-note { margin: 0; } }
@media (max-width: 620px) {
  .lo-page-heading .page-title { font-size: 23px; }
  .lo-card { padding: 22px 18px; border-radius: 13px; }
  .lo-card-heading { gap: 9px; align-items: flex-start; }
  .lo-card-heading h2 { font-size: 16px; }
  .lo-optional-note { margin-top: 3px; font-size: 9px; }
  .lo-intro { font-size: 11px; margin-bottom: 21px; }
  .live-outcomes .input { font-size: 16px; }
  .live-outcomes .form-grid { grid-template-columns: minmax(0, 1fr); gap: 19px; }
  .lo-feedback { margin-top: 22px; }
  .lo-feedback > summary { padding: 13px; font-size: 11px; }
  .lo-feedback > p { margin: 13px; }
  .lo-feedback > .form-grid { padding: 0 13px 15px; }
  .lo-privacy { font-size: 10px; }
  .lo-form-actions { flex-direction: column; align-items: stretch; gap: 11px; }
  .lo-form-actions > span { text-align: center; }
  .lo-form-actions .button { min-height: 45px; }
  .lo-aside { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .lo-promise { padding: 24px; }
  .lo-promise h2 { font-size: 21px; margin: 12px 0; }
  .lo-promise p { font-size: 11px; }
  .lo-history-section { margin-top: 29px; }
  .lo-history-card { padding: 20px 18px; }
  .lo-history-top h3 { font-size: 14px; }
  .lo-history-summary { font-size: 12px; }
  .lo-figures { gap: 13px 12px; }
  .lo-figures dd { font-size: 14px; }
  .lo-figures dt { font-size: 9px; }
  .lo-history-actions { gap: 9px; }
  .lo-history-actions .text-link { font-size: 10px; }
  .lo-complete { padding: 28px 20px; }
  .lo-complete > h1 { font-size: 23px; }
  .lo-complete > p { font-size: 11px; }
  .lo-report-detail { padding: 19px 16px; margin-top: 24px; }
  .lo-report-detail > h2 { font-size: 15px; }
  .lo-detail-prose { font-size: 12px; }
  .lo-complete-actions { flex-direction: column; align-items: stretch; }
  .lo-complete-actions > .button { min-height: 44px; font-size: 11px; }
  .lo-complete-actions > .text-link { margin-top: 6px; }
  .lo-gratitude-heading { padding: 9px 3px 25px; }
  .lo-gratitude-heading h1 { font-size: 27px; }
  .lo-gratitude-heading p { font-size: 11px; }
  .lo-gratitude-card { padding: 23px 20px; }
  .lo-gratitude-total > span { font-size: 10px; }
  .lo-gratitude-total > strong { font-size: 32px; }
  .lo-payment-message { padding: 14px; }
  .lo-payment-message strong { font-size: 11px; }
  .lo-skip { min-height: 45px; font-size: 11px; }
}
