/* APP-P2: 목업 15·16·12단계(예약 여러 개·혼자 공부·WOW)와 정원 숫자. 주 버튼 색은 D084 #B73935. */
:root { --primary: #b73935; }
.brandbar h1 + .seedchip { margin-left: auto; }
.seedchip { display: inline-flex; align-items: center; gap: 3px; height: 28px; padding: 0 10px; border-radius: 999px; background: #eef7ea; color: #2f6b3a; font-size: 13px; text-decoration: none; }
.seedchip b { font-weight: 800; }
/* 15단계 첫 예약 카드·예약 목록 */
.first-days button.chip { display: inline-flex; align-items: center; justify-content: center; gap: 2px; border-radius: 999px; font: inherit; font-size: 14px; cursor: pointer; padding: 0 10px; }
.first-days [aria-pressed="true"] { background: #176d68; color: #fff; border: 2px solid #176d68; font-weight: 700; }
.first-days [aria-pressed="false"] { background: transparent; color: var(--ink); border: 2px solid #8a837a; }
.first-days button:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.first-overlap { color: #9a3d32; }
.lounge { background: #f3f8f7; border: 1px solid #d9ecea; }
.tt-big { font-size: 24px; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; }
.btn-row { display: flex; gap: 8px; }
.btn-row > .btn { flex: 1; }
/* 16단계 혼자 공부·이어 세기 */
.solo-entry { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.solo-entry .btn { min-height: 64px; padding: 10px 8px; font-size: 16px; }
.solo-presence { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; padding: 12px 0; font-size: 12px; color: var(--ink-2); }
.solo-presence .label { flex-basis: 100%; text-align: center; }
.solo-public-preview { justify-content: flex-start; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--blue-bg); }
.session-extensions { margin: 12px 0; gap: 10px; }
.session-extensions .btn-row { flex-wrap: wrap; }
.session-extensions .btn-row .btn { flex: 1; min-width: 78px; padding: 8px; }
.continue-study { min-height: 58px; box-shadow: 0 4px 14px #176d6820; }
.banner { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; font-size: 13.5px; color: var(--ink); background: var(--blue-bg); }
.session-dial.flowing .session-segment.on { fill: #a8ccc5; }
.session-dial.flowing [data-session-clock] { font-size: 30px; line-height: 1.1; letter-spacing: -1px; white-space: pre-line; text-align: center; }
.session-dial.flowing [data-session-phase] { color: #c9bce6; }
.session-dial-screen { position: relative; }
.dial-lap { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; transform: rotate(-90deg); }
.dial-lap circle { fill: none; stroke: #8575b3; stroke-width: 18; stroke-linecap: round; }
/* 공부 화면: 헤더 아래 고정 알림 칸, 내용만 스크롤 */
.session-panel.study-view { display: flex; flex-direction: column; height: 100%; min-height: 0; overflow: hidden; }
.session-panel.study-view > .session-garden-header, .session-panel.study-view > .toast-reserve { flex: none; }
.toast-reserve { height: 56px; pointer-events: none; }
.study-content { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; }
.toast.in-reserve { max-width: calc(100% - 32px); }
/* 12단계 WOW: W01 정각 같이 시작, W02 공부가 정원으로, W04 돌아온 날 */
.seat.sit-start { animation: seat-start 1.4s ease-out both; }
.seat .pic { position: relative; }
.start-book { position: absolute; z-index: 4; top: 43%; left: 42%; font-size: 28px; transform-origin: center bottom; animation: book-open 1.4s ease-out both; }
.start-lamp { position: absolute; z-index: 4; top: 20%; right: 12%; width: 13px; height: 13px; border-radius: 50%; background: #f0bd4f; box-shadow: 0 0 24px 12px #f0bd4f88; animation: lamp-on 1.4s both; }
.seat.start-quiet, .start-quiet .start-book, .start-quiet .start-lamp { animation: none; }
.start-countdown .link { pointer-events: auto; }
@keyframes book-open { 0% { transform: scaleX(.1); opacity: 0; } 40%, 100% { transform: scaleX(1); opacity: 1; } }
@keyframes lamp-on { 0% { opacity: 0; } 25%, 100% { opacity: 1; } }
@keyframes seat-start { 0% { transform: translateY(-8px); filter: brightness(.88); } 58% { transform: translateY(2px); box-shadow: 0 0 0 4px #79c8b8; } 100% { transform: translateY(0); box-shadow: 0 0 0 2px #79c8b8; } }
.wow-result { border-radius: 20px; padding: 16px; background: #edf7ef; text-align: center; }
.wow-record { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.wow-record > b { font-size: 24px; color: var(--ink); }
.wow-drops { display: flex; flex-wrap: wrap; justify-content: center; max-width: 140px; }
.wow-drops i { font-style: normal; font-size: 20px; }
.wow-plant { position: relative; width: 64px; height: 64px; flex-shrink: 0; }
.wow-plant img { width: 64px; height: 64px; object-fit: contain; }
.wow-plant-before, .wow-plant-after { position: absolute; inset: 0; }
.wow-plant-before { opacity: 0; }
.wow-recorded { margin: 8px 0; font-weight: 700; }
.wow-wake > span { display: inline-block; position: relative; font-size: 36px; margin-right: 12px; }
.wow-wake i { position: absolute; inset: 0; font-style: normal; }
.wow-wake p { margin: 8px 0; }
@media (prefers-reduced-motion: no-preference) {
  .wow-result.is-playing .wow-drops i { animation: wow-water 1.8s both; animation-delay: var(--wow-elapsed); }
  .wow-result.is-playing .wow-plant { animation: wow-grow 1.8s both; animation-delay: var(--wow-elapsed); }
  .wow-result.is-playing .wow-plant-before { animation: wow-before 1.8s both; animation-delay: var(--wow-elapsed); }
  .wow-result.is-playing .wow-plant-after { animation: wow-after 1.8s both; animation-delay: var(--wow-elapsed); }
  .wow-result.is-playing .wow-recorded { animation: wow-recorded 1.8s both; animation-delay: var(--wow-elapsed); }
  .wow-result.is-playing .wow-wake i { animation: wow-grow 1.8s both; animation-delay: var(--wow-elapsed); }
}
.wow-result:not(.is-playing) .wow-plant-before { opacity: 0; }
.wow-result:not(.is-playing) .wow-plant-after { opacity: 1; }
@keyframes wow-water { 0%, 15% { opacity: 0; transform: translateX(-32px); } 35% { opacity: 1; transform: translateX(0); } 65%, 100% { opacity: 0; transform: translateX(45px) translateY(12px); } }
@keyframes wow-grow { 0%, 50% { transform: scale(.65); opacity: .4; } 85%, 100% { transform: scale(1); opacity: 1; } }
@keyframes wow-recorded { 0%, 75% { opacity: 0; } 100% { opacity: 1; } }
@keyframes wow-before { 0%, 45% { opacity: 1; } 75%, 100% { opacity: 0; } }
@keyframes wow-after { 0%, 45% { opacity: 0; } 75%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .seat.sit-start, .start-book, .start-lamp { animation: none; } }
/* 14·15단계 다이어리 쓰기: 조작부 44px, 직접 추가 빗금, 블록 버튼 */
.diary-todo input { width: 44px; height: 44px; margin: 0; }
button.diary-block { width: 100%; text-align: left; font: inherit; cursor: pointer; }
.week-attendance { gap: 10px; }
.week-day-dots { display: flex; align-items: center; gap: 7px; }
.week-day-dot { display: grid; justify-items: center; gap: 3px; min-width: 10px; color: #77877f; font-size: 10px; line-height: 1; }
.week-day-dot i { width: 8px; height: 8px; border-radius: 50%; background: #dfe6e1; }
.week-day-dot.is-on i { background: #52c8c4; box-shadow: 0 0 0 2px #52c8c433; }
.yesterday-next { border-color: #b6ddd0; background: #f0fbf6; }
form.diary-paper { margin: 0; }
.diary-dday-chip[disabled] { opacity: .7; }
/* 목업 대비 보정: D-day 칩, 의식 하단 고정 버튼, 정원 요약 */
button.link.diary-dday-chip { background: #ffe6dc; border-radius: 9px; padding: 7px 12px; min-height: 44px; color: var(--ink); }
.ritual-panel .ritual-return { position: sticky; bottom: 0; z-index: 6; padding: 10px 0; background: var(--bg, #fbf8f2); }
.ritual-visual .ritual-growth > b { font-size: 15px; }
.session-panel .pic .start-book { top: auto; bottom: 8%; left: 42%; }
.session-panel .seat.sit-start { border-color: #79c8b8; }
