/* ---- Fonts, served from this site (no Google Fonts). Both are SIL Open Font License; see assets/fonts/LICENSE-*.txt ---- */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/cormorant-garamond-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/cormorant-garamond-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/cormorant-garamond-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/cormorant-garamond-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/cormorant-garamond-latin-ext-500-italic.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/cormorant-garamond-latin-500-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/source-sans-3-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/source-sans-3-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/source-sans-3-latin-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/source-sans-3-latin-600-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Firstfruits Readers
   Palette and type from the plan's Graphics specs tab. */

:root {
  --cream: #F5EEDC;
  --paper: #FFFDF7;
  --ink: #3B2F2A;
  --ink-soft: #6B5D52;
  --olive: #5E6B3A;
  --olive-dark: #4A552D;
  --wheat: #C9A24B;
  --wheat-light: #EAD9AE;
  --line: #E1D5B8;
  --pomegranate: #9E2B25;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --measure: 38rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }

a { color: var(--olive-dark); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--wheat); outline-offset: 2px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--paper); padding: 0.5rem 1rem; }
.skip:focus { left: 1rem; z-index: 10; }

/* ---- Type ---- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin-top: 1.6em; }
h3 { font-size: 1.35rem; margin-top: 1.4em; }
p, ul, ol { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: var(--measure); }
.prose { max-width: var(--measure); }
.prose blockquote {
  margin: 1.5em 0;
  padding: 0.25em 0 0.25em 1.25em;
  border-left: 3px solid var(--wheat);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.5;
}
.quiet { color: var(--ink-soft); font-size: 0.95rem; }

/* ---- Header and footer ---- */

.site-header { border-bottom: 1px solid var(--line); background: var(--cream); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand img { display: block; width: auto; height: 58px; }
@media (max-width: 520px) { .brand img { height: 46px; } }
.site-header nav { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.site-header nav a { text-decoration: none; color: var(--ink); }
.site-header nav a:hover { text-decoration: underline; }
.site-header nav a.nav-join {
  background: var(--olive); color: var(--paper); padding: 0.4rem 0.9rem; border-radius: 4px;
}
.site-header nav a.nav-join:hover { background: var(--olive-dark); text-decoration: none; }

main.wrap { padding-top: 2.75rem; padding-bottom: 4rem; min-height: 60vh; }

.site-footer { border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.92rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; padding-bottom: 2rem; }
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-inner a { color: var(--ink-soft); }

/* ---- Messages ---- */

.flash {
  max-width: var(--measure);
  padding: 0.8rem 1rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--olive);
  background: var(--paper);
}
.flash-error { border-left-color: var(--pomegranate); }
.flash-info { border-left-color: var(--wheat); }

.notice {
  max-width: var(--measure);
  padding: 1rem 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-bottom: 2rem;
}
.notice p:last-child { margin-bottom: 0; }
.notice-alert { border-left: 4px solid var(--pomegranate); }
.notice-alert ul { margin: 0.25rem 0 0.75rem; padding-left: 1.2rem; }

/* Email plan usage meters */
.usage { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; max-width: var(--measure); margin: 0 0 1.25rem; }
.usage-item { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 0.8rem 1rem; }
.usage-item h3 { font-size: 0.95rem; font-family: inherit; font-weight: 600; margin: 0 0 0.3rem; }
.usage-item p { margin: 0.35rem 0 0; }
.usage-item meter { width: 100%; height: 0.7rem; }

/* ---- Forms ---- */

.form { max-width: 32rem; }
.form-wide { max-width: var(--measure); }
.field { margin-bottom: 1.25rem; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.field .hint { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.93rem; margin-top: -0.15rem; margin-bottom: 0.4rem; }
fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }

input[type=text], input[type=email], input[type=password], input[type=url], textarea, select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #CDBF9F;
  border-radius: 4px;
  padding: 0.6rem 0.75rem;
}
textarea { min-height: 7rem; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid var(--wheat-light); border-color: var(--olive); }

.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--pomegranate); }
.error { color: var(--pomegranate); font-size: 0.95rem; margin: 0.35rem 0 0; }
.form-error { color: var(--pomegranate); font-weight: 600; margin-bottom: 1.25rem; }

.choice, .field label.choice { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.5rem; font-weight: 400; }
.choice input { margin-top: 0.35rem; width: 1.05rem; height: 1.05rem; accent-color: var(--olive); flex: none; }

.checks { columns: 2 14rem; column-gap: 1.5rem; }
.checks .choice { break-inside: avoid; }

.agreement {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1rem 1.25rem 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.97rem;
}
.agreement h3 { margin-top: 0; font-size: 1.2rem; }
.agreement ul { padding-left: 1.2rem; }

.button, button.button {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  background: var(--olive);
  color: var(--paper);
  border: 0;
  border-radius: 4px;
  padding: 0.7rem 1.3rem;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--olive-dark); color: var(--paper); }
.button-secondary, button.button-secondary { background: transparent; color: var(--olive-dark); border: 1.5px solid var(--olive); }
.button-secondary:hover, button.button-secondary:hover { background: var(--paper); color: var(--ink); }

.link-button { font: inherit; background: none; border: 0; padding: 0; color: var(--ink); cursor: pointer; }
.link-button:hover { text-decoration: underline; }
form.inline { display: inline; margin: 0; }

.actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-top: 1.5rem; }

.level-grid { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 1rem; align-items: center; max-width: 30rem; }
.level-grid select { width: auto; min-width: 11rem; }

/* ---- Home ---- */

.home main.wrap { padding-top: 0; }
.hero { padding: 4.5rem 0 3.5rem; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 3rem; align-items: end; }
.hero h1 {
  font-size: clamp(3rem, 7.5vw, 5.6rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 0.35em;
}
.hero .lead { font-size: 1.25rem; }
.hero-side { border-left: 3px solid var(--wheat); padding-left: 1.5rem; }
.hero-side p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; }
.hero-side cite { font-family: var(--sans); font-style: normal; font-size: 0.92rem; color: var(--ink-soft); }

.two-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 3rem 0; }
.two-ways h2 { margin-top: 0; }
.two-ways ol { padding-left: 1.2rem; }

/* ---- Dashboard ---- */

.dash-section { max-width: var(--measure); padding: 1.5rem 0; border-top: 1px solid var(--line); }
.dash-section h2 { margin-top: 0; }
.status { display: inline-block; font-size: 0.9rem; padding: 0.1rem 0.6rem; border-radius: 999px; background: var(--wheat-light); }
.status-approved { background: #DCE3C8; }
.status-rejected { background: #F1D3CF; }

/* ---- Join choice ---- */

.join-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 52rem; margin-top: 2rem; }
.join-choice section { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--olive); border-radius: 4px; padding: 1.5rem 1.5rem 1.75rem; }
.join-choice section:last-child { border-top-color: var(--wheat); }
.join-choice h2 { margin-top: 0; }

@media (max-width: 760px) {
  .hero, .two-ways, .join-choice { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding-top: 2.5rem; }
  .hero-side { border-left: 0; border-top: 3px solid var(--wheat); padding: 1.25rem 0 0; }
  .level-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

.after-form { margin-top: 2.5rem; }
.link-button.underline { text-decoration: underline; }

/* ---- Admin ---- */

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.admin-nav { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; font-size: 0.95rem; }
.admin-nav a { color: var(--ink-soft); text-decoration: none; padding-bottom: 0.2rem; }
.admin-nav a[aria-current="page"] { color: var(--ink); border-bottom: 2px solid var(--olive); }

.tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0.5rem 0 2rem; }
.tabs a { text-decoration: none; color: var(--ink); padding: 0.35rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.tabs a[aria-current="page"] { background: var(--olive); border-color: var(--olive); color: var(--paper); }
.tabs .count { font-variant-numeric: tabular-nums; opacity: 0.75; margin-left: 0.2rem; }

.review-item { max-width: var(--measure); border-top: 1px solid var(--line); padding: 1.5rem 0 1.75rem; }
.review-item header { display: flex; gap: 0.75rem; align-items: baseline; flex-wrap: wrap; }
.review-item h2 { margin: 0 0 0.75rem; font-size: 1.6rem; }
.details { display: grid; grid-template-columns: 7rem 1fr; gap: 0.3rem 1rem; margin: 0 0 1rem; }
.details dt { color: var(--ink-soft); }
.details dd { margin: 0; overflow-wrap: anywhere; }
.bio { margin: 0 0 1rem; padding-left: 1rem; border-left: 3px solid var(--wheat-light); color: var(--ink-soft); }
.decide .field { margin-bottom: 0.5rem; }
.decide .actions { margin-top: 0.75rem; }

.summary { border-collapse: collapse; min-width: 22rem; }
.summary th { text-align: left; font-weight: 400; color: var(--ink-soft); padding: 0.5rem 2rem 0.5rem 0; border-bottom: 1px solid var(--line); }
.summary td { padding: 0.5rem 0; border-bottom: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }

.search { display: flex; gap: 0.5rem; flex-wrap: wrap; max-width: var(--measure); margin-bottom: 1.5rem; }
.search input { flex: 1 1 14rem; width: auto; }
.search select { width: auto; }

.table-scroll { overflow-x: auto; }
.people { border-collapse: collapse; width: 100%; font-size: 0.97rem; }
.people th { text-align: left; font-weight: 600; padding: 0.5rem 1rem 0.5rem 0; border-bottom: 2px solid var(--line); white-space: nowrap; }
.people td { padding: 0.65rem 1rem 0.65rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.people td:last-child { white-space: nowrap; }

@media (max-width: 760px) {
  .details { grid-template-columns: 1fr; }
  .details dt { margin-top: 0.4rem; }
}

/* ---- Books ---- */

.page-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; max-width: 52rem; }
.page-head h1 { margin-bottom: 0.25rem; }
.empty { max-width: var(--measure); margin-top: 2rem; }

.book-row { display: grid; grid-template-columns: 96px 1fr; gap: 1.5rem; max-width: 52rem; padding: 1.75rem 0; border-top: 1px solid var(--line); }
.book-row h2 { margin: 0 0 0.35rem; font-size: 1.6rem; }
.book-cover img { display: block; width: 100%; height: auto; border-radius: 2px; box-shadow: 0 1px 3px rgba(59, 47, 42, 0.25); }
.cover-missing { aspect-ratio: 2 / 3; display: grid; place-items: center; text-align: center; font-size: 0.85rem; color: var(--ink-soft); border: 1px dashed #CDBF9F; border-radius: 2px; padding: 0.5rem; }
.book-meta { color: var(--ink-soft); margin-bottom: 0.75rem; }
.book-meta .status { margin-right: 0.4rem; }
.status-draft { background: #E8E2D3; }
.status-pending { background: var(--wheat-light); }
.admin-feedback { background: var(--paper); border-left: 3px solid var(--pomegranate); padding: 0.6rem 0.9rem; }
.book-row .actions { margin-top: 0.75rem; }

.campaign { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 0.75rem 1rem; margin: 0.5rem 0; }
.campaign p { margin: 0 0 0.25rem; }
.campaign-active { border-left: 4px solid var(--olive); }
.campaign-scheduled { border-left: 4px solid var(--wheat); }
.campaign-ended { color: var(--ink-soft); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field-row input { max-width: 14rem; }
.link-row { display: grid; grid-template-columns: 12rem 1fr; gap: 0.5rem; margin-bottom: 0.5rem; }
.current-file { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; color: var(--ink-soft); margin: 0.25rem 0 0.5rem; }
input[type=file] { font: inherit; font-size: 0.95rem; }
input[type=date] { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid #CDBF9F; border-radius: 4px; padding: 0.55rem 0.7rem; }
.spaced { margin-top: 1.25rem; }
.form h2 { font-size: 1.5rem; margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.form h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 1.5rem; }

.review-book { display: grid; grid-template-columns: 120px 1fr; gap: 1.5rem; max-width: 52rem; }
.subtitle { font-family: var(--serif); font-size: 1.2rem; margin: -0.5rem 0 0.5rem; }
.description { margin: 0 0 1rem; }
.description summary { cursor: pointer; color: var(--olive-dark); }
.description div { margin-top: 0.5rem; max-width: var(--measure); }

@media (max-width: 760px) {
  .book-row, .review-book { grid-template-columns: 72px 1fr; gap: 1rem; }
  .field-row, .link-row { grid-template-columns: 1fr; }
}

/* ---- Catalog and book pages ---- */

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 0.75rem; }
.filters input { flex: 2 1 13rem; width: auto; }
.filters select { flex: 1 1 8.5rem; width: auto; min-width: 0; }
.filters .button { flex: none; }

.book-grid { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: 2.25rem 1.75rem; }
.book-card { display: flex; flex-direction: column; }
.book-card a { text-decoration: none; color: var(--ink); }
.book-card img, .book-card .cover-missing { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 2px; box-shadow: 0 1px 2px rgba(59, 47, 42, 0.18), 0 6px 14px -8px rgba(59, 47, 42, 0.45); }
.book-card .cover-missing { font-family: var(--serif); font-size: 1.1rem; padding: 1rem; background: var(--paper); border: 1px solid var(--line); }
.book-card a:hover img { outline: 3px solid var(--wheat-light); outline-offset: 2px; }
.card-title { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; line-height: 1.2; margin-top: 0.75rem; }
.card-author { color: var(--ink-soft); font-size: 0.95rem; }
.card-left { color: var(--olive-dark); font-size: 0.88rem; margin-top: 0.15rem; }

.pager { display: flex; gap: 1.5rem; align-items: center; margin-top: 2.5rem; }

.open-now { padding: 3rem 0 1rem; border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.open-now .book-grid { grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); }

.book-page { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: 3rem; align-items: start; margin-top: 1rem; }
.book-page-cover img { width: 100%; height: auto; border-radius: 2px; box-shadow: 0 2px 4px rgba(59, 47, 42, 0.2), 0 18px 30px -18px rgba(59, 47, 42, 0.6); }
.book-page-main { max-width: var(--measure); }
.book-page-main h1 { margin-bottom: 0.15em; }
.byline { font-size: 1.15rem; color: var(--ink-soft); }
.request-box { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--olive); border-radius: 4px; padding: 1.1rem 1.25rem 0.6rem; margin: 1.5rem 0 2rem; }
.request-box .quiet { margin-top: 0.6rem; }
.caution { color: var(--pomegranate); }
.description-text { font-size: 1.08rem; margin-bottom: 1.5rem; }
.book-details { grid-template-columns: 6.5rem 1fr; }
.ratings { border-collapse: collapse; margin-bottom: 0.75rem; }
.ratings th { text-align: left; font-weight: 400; color: var(--ink-soft); padding: 0.3rem 2rem 0.3rem 0; }
.ratings td { padding: 0.3rem 0; font-weight: 600; }
.level-none { color: var(--olive-dark); }

/* ---- Shelf ---- */

.shelf-row h3 { margin: 0 0 0.35rem; font-size: 1.45rem; }
.shelf-row h3 a { color: var(--ink); text-decoration: none; }
.shelf-row h3 a:hover { text-decoration: underline; }
.status-approved { background: #DCE3C8; }
.status-finished { background: #DCE3C8; }
.status-set_aside, .status-cancelled, .status-declined { background: #E8E2D3; }
.downloads { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 0.5rem 0; }
.kindle-help { margin: 0.5rem 0; font-size: 0.97rem; }
.kindle-help summary { cursor: pointer; color: var(--olive-dark); }
.after-actions { margin-top: 1rem; }

/* ---- Author: readers ---- */

.request-list { list-style: none; padding: 0; max-width: 52rem; }
.request-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.request-list form { display: flex; gap: 0.5rem; }
.reader-note { max-width: var(--measure); background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 1rem 1.25rem; margin-bottom: 1rem; }
.note-meta { margin-bottom: 0.4rem; }
.flag summary { cursor: pointer; color: var(--ink-soft); font-size: 0.93rem; }
.flag form { margin-top: 0.5rem; min-width: 16rem; white-space: normal; }
.flag textarea { min-height: 3.5rem; margin: 0.25rem 0 0.5rem; }

@media (max-width: 760px) {
  .book-page { grid-template-columns: 1fr; gap: 1.5rem; }
  .book-page-cover { max-width: 12rem; }
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1rem; }
}
.filters #kind { flex: 1 1 11.5rem; }
