/* Public plan review: keep the book and its choices easy to scan. */
.planner-review-page { min-height: 100vh; padding: 100px 24px 64px; background: #f7f8fc; color: #172033; }
.planner-review-container { max-width: 1120px; margin: 0 auto; }
.planner-review-header { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.planner-header-icon { display: grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0; border: 1px solid #ddd9ff; border-radius: 18px; color: #5540e8; background: #eeebff; box-shadow: 0 3px 0 #e3dfff; }
.planner-eyebrow { display: flex; align-items: center; gap: 7px; color: #6554bf; font-size: 11px; line-height: 18px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.planner-review-header h1 { margin-top: 3px; font-size: 34px; line-height: 1.2; font-weight: 750; letter-spacing: -.035em; }
.planner-review-subtitle { margin-top: 8px; color: #657084; font-size: 15px; line-height: 24px; }
.planner-options { margin-bottom: 24px; }
.planner-options-grid { display: grid; gap: 16px; }
.planner-options-pair { grid-template-columns: 1fr 1fr; }
.planner-option { display: flex; flex-direction: column; gap: 18px; padding: 22px 24px; border: 1px solid #e0e4ed; border-radius: 18px; background: white; }
.planner-option-free { border-color: #cfc6fc; background: linear-gradient(115deg, #f0ecff, #faf9ff 75%); }
.planner-option h2 { margin-top: 8px; font-size: 22px; line-height: 29px; font-weight: 700; letter-spacing: -.025em; }
.planner-option-description { margin-top: 8px; color: #566176; font-size: 13px; line-height: 21px; }
.planner-option-note { margin-top: 12px; color: #657084; font-size: 12px; line-height: 19px; }
.planner-option-content { flex: 1; }
.planner-price { display: inline-block; margin-top: 10px; color: #453787; font-size: 13px; line-height: 21px; font-weight: 600; }
.planner-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 11px 18px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; line-height: 22px; font-weight: 650; cursor: pointer; transition: background-color .15s, box-shadow .15s; text-align: center; }
.planner-button-primary { color: white; background: #5a3fe3; box-shadow: 0 2px 3px #4330a31a, inset 0 1px 0 #ffffff26; }
.planner-button-primary:hover { background: #4930cb; box-shadow: 0 3px 8px #4330a326; }
.planner-button-secondary { color: #453787; border-color: #d6cfed; background: white; }
.planner-button-secondary:hover { background: #f5f2ff; border-color: #b8a9ed; }
.planner-button:focus-visible { outline: 3px solid #b8a9ed; outline-offset: 3px; }
.planner-adaptations { display: flex; align-items: flex-start; gap: 12px; margin-top: 14px; padding: 16px 20px; border: 1px solid #e3e6ef; border-radius: 12px; color: #596579; background: #f0f2f8; font-size: 13px; line-height: 21px; }
.planner-adaptations > svg { margin-top: 1px; color: #7a6cae; }
.planner-adaptations h3 { color: #354056; font-weight: 650; }
.planner-adaptations p { margin-top: 4px; }
.planner-editor-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); grid-template-areas: "settings scenes"; gap: 24px; align-items: start; }
.planner-panel { padding: 24px; border: 1px solid #e2e6ef; border-radius: 18px; background: white; box-shadow: 0 3px 12px #19243d03; min-width: 0; }
.planner-settings { grid-area: settings; position: sticky; top: 88px; }
.planner-settings input[type=text], .planner-settings textarea { margin-top: 7px; border-color: #dce1eb; border-radius: 9px; padding: 10px 12px; font-size: 14px; line-height: 22px; background: #fcfcfe; }
.planner-settings label, .planner-settings legend { font-size: 13px; }
.planner-settings input[type=text]:focus, .planner-settings textarea:focus, .planner-scene-input:focus { outline: 2px solid #b7a8f3; outline-offset: 1px; border-color: #8f7cdb; background: white; }
.planner-book-facts { display: grid; gap: 9px; margin-top: 20px; padding: 16px 0; border-top: 1px solid #edf0f5; border-bottom: 1px solid #edf0f5; font-size: 12px; line-height: 19px; }
.planner-setting-options { display: flex; gap: 7px; margin-top: 9px; }
.planner-setting-choice { flex: 1; min-width: 0; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 13px 4px 9px; border: 1px solid #e1e5ee; border-radius: 9px; background: white; color: #5d6779; cursor: pointer; text-align: center; font-size: 11px !important; font-weight: 500; line-height: 16px; }
.planner-setting-choice:hover { border-color: #b7a8f3; background: #faf9ff; }
.planner-setting-choice:has(input:checked) { color: #5036c2; border-color: #9985e8; background: #f4f0ff; box-shadow: 0 0 0 1px #9985e822; }
.planner-setting-choice:has(input:checked)::after { content: ''; position: absolute; top: 5px; right: 5px; width: 4px; height: 4px; border-radius: 50%; background: #7957d5; }
.planner-setting-choice:has(input:focus-visible) { outline: 2px solid #8f7cdb; outline-offset: 2px; }
.planner-shape { display: block; width: 18px; height: 18px; border: 1.5px solid currentColor; border-radius: 2px; }
.planner-shape-portrait { width: 15px; height: 20px; }
.planner-shape-landscape { width: 23px; height: 15px; margin: 2.5px 0; }
.planner-stroke { display: block; width: 28px; height: 20px; position: relative; }
.planner-stroke::before { content: ''; position: absolute; top: 50%; left: 0; width: 100%; border-radius: 4px; background: currentColor; transform: translateY(-50%) rotate(-12deg); }
.planner-stroke-fine::before { height: 1px; }
.planner-stroke-standard::before { height: 2px; }
.planner-stroke-bold::before { height: 3.5px; }
.planner-stroke-extra_bold::before { height: 5.5px; }
.planner-cover-choice { min-height: 45px; padding: 8px; }
.planner-editable-badge { flex-shrink: 0; padding: 4px 9px; border-radius: 6px; color: #667487; background: #f1f4f8; font-size: 11px; line-height: 18px; font-weight: 600; }
.planner-scenes { grid-area: scenes; }
.planner-scenes-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.planner-scenes-header h2 { font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -.025em; }
.planner-scenes-description { margin-top: 8px; color: #657084; font-size: 14px; line-height: 24px; }
.planner-scene-list { margin-top: 22px; }
.planner-scene-row { display: flex; gap: 12px; padding: 15px 0; border-bottom: 1px solid #eef0f5; }
.planner-scene-row:first-child { padding-top: 0; }
.planner-scene-row:last-child { border-bottom: 0; padding-bottom: 0; }
.planner-scene-number { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-top: 10px; flex-shrink: 0; border-radius: 8px; color: #8776b5; background: #f4f1fa; font-size: 11px; font-weight: 650; font-variant-numeric: tabular-nums; }
.planner-scene-input { display: block; width: 100%; min-height: 78px; padding: 12px 14px; border: 1px solid #e2e6ed; border-radius: 10px; background: #fcfcfe; color: #344054; font-size: 14px; line-height: 23px; resize: vertical; }
.planner-review-footer { margin-top: 24px; padding-top: 20px; border-top: 1px solid #edf0f5; }
.planner-review-footer .planner-button { margin-top: 18px; width: 100%; }
.planner-ready-note { display: flex; gap: 9px; font-size: 12px; line-height: 19px; color: #758093; }
.planner-ready-note strong { color: #40524c; font-weight: 600; }
.planner-ready-note p { margin-top: 2px; }
@media (min-width: 768px) {
  .planner-options-grid:not(.planner-options-pair) .planner-option { flex-direction: row; align-items: center; gap: 36px; }
  .planner-options-grid:not(.planner-options-pair) .planner-button { flex-shrink: 0; min-width: 220px; }
}
@media (max-width: 1023px) {
  .planner-editor-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "scenes" "settings"; }
  .planner-settings { position: static; }
}
@media (max-width: 639px) {
  .planner-review-page { padding: 88px 16px 40px; }
  .planner-review-header { gap: 12px; align-items: flex-start; margin-bottom: 22px; }
  .planner-header-icon { width: 38px; height: 38px; border-radius: 12px; margin-top: 3px; }
  .planner-header-icon svg { width: 20px; height: 20px; }
  .planner-review-header h1 { font-size: 26px; line-height: 31px; }
  .planner-review-subtitle { font-size: 13px; line-height: 21px; margin-top: 7px; }
  .planner-eyebrow { font-size: 10px; letter-spacing: .07em; }
  .planner-options-pair { grid-template-columns: minmax(0, 1fr); }
  .planner-options-grid { gap: 12px; }
  .planner-option { padding: 18px; border-radius: 14px; gap: 16px; }
  .planner-option h2 { font-size: 20px; line-height: 26px; }
  .planner-option-note { margin-top: 8px; }
  .planner-panel { padding: 20px 16px; border-radius: 14px; }
  .planner-adaptations { padding: 14px; }
  .planner-scene-row { gap: 8px; }
  .planner-scene-input { padding: 10px; font-size: 16px; line-height: 24px; }
  .planner-scenes h2 { font-size: 19px; }
  .planner-settings input[type=text], .planner-settings textarea { font-size: 16px; }
}
.planner-saved { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1024px; margin: 0 auto 24px; padding: 22px 24px; border: 1px solid #e2dcf5; border-left: 4px solid #8a70dd; border-radius: 14px; background: linear-gradient(100deg, #f6f3ff, #fff); }
.planner-saved-copy { max-width: 580px; }
.planner-saved-copy p { font-size: 13px; line-height: 22px; color: #667085; }
.planner-saved-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; max-width: 270px; text-align: center; }
.planner-saved-actions .planner-button { width: 100%; }
.planner-saved-alternative { cursor: pointer; color: #75648f; font-size: 12px; line-height: 18px; text-decoration: underline; text-underline-offset: 3px; }
.planner-saved-alternative:hover { color: #4e3398; }
@media (max-width: 767px) {
  .planner-saved { align-items: stretch; flex-direction: column; gap: 16px; padding: 18px; }
  .planner-saved-actions { max-width: none; }
}
.planner-credit-actions .planner-button { min-width: 210px; }
@media (max-width: 639px) {
  .planner-credit-actions .planner-button { width: 100%; min-width: 0; }
}
.planner-button.hidden { display: none; }
