.book-page { background: var(--cream); }
.book-page [hidden] { display: none !important; }
.book-content { max-width: 960px; padding-block: clamp(24px, 5vw, 62px); }
.book-content a:not(.button) { text-decoration: underline; text-underline-offset: 3px; }
.book-title {
  padding: clamp(21px, 5vw, 46px);
  margin-bottom: 18px;
  border-radius: 24px;
  color: #fff;
  background: #0b4039;
}
.book-title h1 { margin-bottom: 12px; font-size: clamp(1.95rem, 5vw, 3.25rem); }
.book-title p { max-width: 65ch; margin: 0; }
.book-panel {
  min-width: 0;
  margin: 0 0 16px;
  padding: clamp(16px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.book-panel h2 { margin: 0 0 14px; font-size: clamp(1.25rem, 3vw, 1.75rem); letter-spacing: -.025em; color: #0b4039; }
.book-panel p:last-child { margin-bottom: 0; }
.book-grid, .book-provider { display: grid; gap: 14px 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.book-grid > *, .book-provider > div { min-width: 0; }
.book-provider { margin: 0; }
.book-provider dt { font-weight: 700; }
.book-provider dd { margin: 0; overflow-wrap: anywhere; }
.book-wide { grid-column: 1 / -1; }
.book-fields, .book-options { min-width: 0; padding: 0; margin: 0; border: 0; }
.book-options { margin-bottom: 16px; }
.book-representative {
  min-width: 0;
  margin: 12px 0 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.book-representative legend, .book-options legend { padding: 0 3px; font-weight: 700; }
.book-content label { display: block; font-weight: 500; }
.book-content input:not([type=checkbox], [type=radio]), .book-content select, .book-content textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin-top: 5px;
  padding: 9px 11px;
  border: 1px solid #aaa397;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.book-content textarea { resize: vertical; }
.book-content .book-check { display: flex; gap: 8px; align-items: baseline; margin-block: 12px; }
.book-check input { flex: none; accent-color: var(--green); }
.book-content [aria-invalid=true] { border-color: #98402c; }
.book-content [type=submit]:disabled { opacity: .55; cursor: not-allowed; }
.book-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.book-content #book-status { margin: 0 0 12px; font-weight: 600; }
.book-content #book-status:empty { display: none; }
.book-content .button { white-space: normal; max-width: 100%; }
.book-content .button-outline { border-color: var(--green); color: var(--deep); }
.book-content #book-amount-note, .book-content #book-file-rules { margin-bottom: 0; font-size: .9em; }
@media (max-width: 650px) {
  .book-grid, .book-provider { grid-template-columns: minmax(0, 1fr); }
}
