.book-page { background: radial-gradient(120% 90% at 75% 0%, var(--deep-2), var(--deep) 65%) fixed; color: #f1e9d7; min-height: 100vh; }
.aurora.fixed { position: fixed; z-index: 0; }
.book-head, .book-main { position: relative; z-index: 1; }
.book-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px max(20px, calc((100% - 1040px) / 2)); }
.book-head .back { font-size: 0.9rem; opacity: 0.75; text-decoration: none; }
.book-head .back:hover { opacity: 1; }
.book-main { width: min(1040px, 100% - 40px); margin: 0 auto; padding: 24px 0 80px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.book-intro { position: sticky; top: 24px; }
.book-intro h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 14px 0 14px; }
.why-list { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 10px; }
.why-list li { position: relative; padding-left: 26px; color: rgba(241, 233, 215, 0.8); }
.why-list li::before { content: ''; position: absolute; left: 3px; top: 6px; width: 6px; height: 11px; border: solid var(--brass); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.book-card { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-d); border-radius: 20px; padding: clamp(18px, 3vw, 30px); backdrop-filter: blur(10px); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); display: grid; gap: 22px; }
.step-box { border: 0; padding: 0; min-width: 0; }
.step-box legend { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; padding: 0; }
.step-box legend span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brass); color: #1b1608; font-family: var(--sans); font-weight: 800; font-size: 0.85rem; }
.step-box legend small { font-family: var(--sans); font-size: 0.78rem; color: rgba(241, 233, 215, 0.6); font-weight: 400; }

.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: grid; place-items: center; text-align: center; min-height: 64px; padding: 10px; border: 1px solid var(--line-d); border-radius: 12px; background: rgba(255, 255, 255, 0.04); font-weight: 700; transition: all 0.2s var(--ease); }
.choice small { font-weight: 400; font-size: 0.72rem; opacity: 0.7; }
.choice:hover span { border-color: rgba(236, 229, 214, 0.4); }
.choice input:focus-visible + span { outline: 2px solid var(--mint); outline-offset: 2px; }
.choice input:checked + span { background: rgba(184, 146, 79, 0.2); border-color: var(--brass); color: #f6e9c8; box-shadow: 0 0 0 1px var(--brass) inset; }

.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.day { flex: none; min-width: 66px; padding: 9px 10px; border-radius: 12px; border: 1px solid var(--line-d); background: rgba(255, 255, 255, 0.04); color: inherit; font: inherit; cursor: pointer; text-align: center; line-height: 1.25; transition: all 0.2s var(--ease); }
.day b { display: block; font-size: 1.15rem; font-family: var(--serif); }
.day small { opacity: 0.7; text-transform: capitalize; }
.day:hover { border-color: rgba(236, 229, 214, 0.4); }
.day[aria-selected='true'] { background: rgba(184, 146, 79, 0.2); border-color: var(--brass); color: #f6e9c8; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; margin-top: 10px; min-height: 8px; }
.time { padding: 10px 6px; border-radius: 10px; border: 1px solid var(--line-d); background: rgba(255, 255, 255, 0.04); color: inherit; font: inherit; font-weight: 700; cursor: pointer; transition: all 0.2s var(--ease); }
.time:hover:not(:disabled) { border-color: var(--mint); transform: translateY(-1px); }
.time[aria-pressed='true'] { background: linear-gradient(180deg, #e9d9b3, var(--brass)); color: #1b1608; border-color: transparent; }
.time:disabled { opacity: 0.3; text-decoration: line-through; cursor: not-allowed; }
.hint { font-size: 0.82rem; color: rgba(241, 233, 215, 0.6); margin-top: 8px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fields label { display: grid; gap: 6px; font-size: 0.84rem; font-weight: 600; color: rgba(241, 233, 215, 0.85); }
.fields label:nth-child(3), .fields label:nth-child(4) { grid-column: 1 / -1; }
.fields small { font-weight: 400; opacity: 0.6; }
input:not([type='radio']):not([type='checkbox']) { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-d); background: rgba(0, 0, 0, 0.22); color: #f6f0e0; font: inherit; font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s; }
input::placeholder { color: rgba(241, 233, 215, 0.35); }
input:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(159, 208, 192, 0.2); }
input[aria-invalid='true'] { border-color: #e08a7a; }
.consent-line { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; margin-top: 14px; color: rgba(241, 233, 215, 0.75); cursor: pointer; }
.consent-line input { margin-top: 3px; accent-color: var(--brass); width: 16px; height: 16px; flex: none; }
.consent-line a { color: var(--brass); }
.error { padding: 12px 14px; border-radius: 10px; background: rgba(224, 138, 122, 0.14); border: 1px solid rgba(224, 138, 122, 0.5); color: #f3c4ba; font-size: 0.9rem; }
.book-card .btn.big { width: 100%; }
.book-card .btn[disabled] { opacity: 0.6; cursor: wait; }

.book-done { grid-column: 1 / -1; text-align: center; display: grid; justify-items: center; gap: 14px; padding: 40px 0; }
.book-done[hidden], .book-card[hidden] { display: none; }
.done-mark { width: 74px; height: 74px; border-radius: 50%; background: var(--mint); position: relative; animation: pop 0.6s var(--ease); }
.done-mark::after { content: ''; position: absolute; left: 26px; top: 12px; width: 18px; height: 34px; border: solid var(--deep); border-width: 0 6px 6px 0; transform: rotate(45deg); }
@keyframes pop { from { transform: scale(0.3); opacity: 0; } }
#done-text { max-width: 52ch; font-size: 1.1rem; color: rgba(241, 233, 215, 0.88); }
.book-done a:not(.btn) { color: var(--brass); }

@media (max-width: 860px) {
  .book-main { grid-template-columns: 1fr; }
  .book-intro { position: static; }
}
@media (max-width: 520px) {
  .fields { grid-template-columns: 1fr; }
  .choices { grid-template-columns: 1fr; }
  .choice span { min-height: 52px; }
}
