@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Franklin:wght@500;600;700&display=swap');

:root {
  color-scheme: light;
  --forest-950: #0a2b23;
  --forest-900: #143d32;
  --forest-800: #1c4d40;
  --forest-700: #286454;
  --forest-100: #e3eee9;
  --cream: #f7f3e9;
  --paper: #fffdf8;
  --gold: #c79a43;
  --gold-soft: #f1dfb9;
  --ink: #173129;
  --muted: #65736e;
  --line: #dbe3df;
  --danger: #9d4941;
  --shadow: 0 18px 50px rgba(13, 51, 42, 0.12);
  --radius-lg: 24px;
  --radius-md: 17px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }

html { background: #e6ece8; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% -10%, rgba(199, 154, 67, .16), transparent 28rem),
    linear-gradient(145deg, #e6ece8 0%, #f2efe7 100%);
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(199, 154, 67, .48);
  outline-offset: 3px;
}

.app-shell {
  position: relative;
  width: min(100%, 760px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px 20px;
  background: rgba(247, 243, 233, .92);
  border-bottom: 1px solid rgba(20, 61, 50, .08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.brand-mark, .profile-chip {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--forest-900);
  color: var(--gold-soft);
  font-family: "Libre Franklin", sans-serif;
  font-weight: 700;
}

.brand-name {
  font-family: "Libre Franklin", sans-serif;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.profile-chip {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(199, 154, 67, .4);
  background: var(--paper);
  color: var(--forest-900);
  cursor: pointer;
}

.main-content {
  min-height: calc(100vh - 152px);
  padding: 18px 20px calc(112px + var(--safe-bottom));
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--forest-700);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Libre Franklin", "DM Sans", sans-serif;
  line-height: 1.15;
  letter-spacing: -.025em;
}
h1 { margin-bottom: 10px; font-size: clamp(1.85rem, 7vw, 2.65rem); }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.05rem; }

.muted { color: var(--muted); }
.view-header { margin: 10px 2px 22px; }
.view-header p:last-child { margin-bottom: 0; }

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 26px 24px;
  border-radius: 28px;
  background: var(--forest-900);
  color: #fff;
  box-shadow: 0 20px 36px rgba(20, 61, 50, .2);
}

.hero-card::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -76px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(241, 223, 185, .22);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(241, 223, 185, .06), 0 0 0 56px rgba(241, 223, 185, .035);
}

.hero-card .eyebrow { color: var(--gold-soft); }
.hero-card h1 { max-width: 520px; margin-bottom: 10px; }
.hero-card p { max-width: 500px; color: rgba(255,255,255,.76); }

.day-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.progress-ring {
  --progress: 14;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: conic-gradient(var(--gold) calc(var(--progress) * 1%), rgba(255,255,255,.16) 0);
}
.progress-ring::before {
  content: "";
  grid-area: 1 / 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--forest-900);
}
.progress-ring span { z-index: 1; font-weight: 700; }
.day-meta strong, .day-meta small { display: block; }
.day-meta small { color: rgba(255,255,255,.62); }

.section { margin-top: 26px; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 13px;
}
.section-heading h2, .section-heading p { margin-bottom: 0; }

.checkin-card, .content-card, .journal-card, .route-card, .empty-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 9px 26px rgba(18, 59, 49, .055);
}

.checkin-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.state-button {
  display: flex;
  min-width: 0;
  min-height: 74px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.state-button:hover { transform: translateY(-2px); border-color: var(--gold); }
.state-button.is-selected { border-color: var(--forest-700); background: var(--forest-100); }
.state-icon { font-size: 1.35rem; }
.state-label { overflow: hidden; max-width: 100%; font-size: .68rem; text-overflow: ellipsis; }

.continue-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--gold-soft);
}
.continue-card p { margin-bottom: 0; color: #5e553f; }
.continue-arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--forest-900);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
}

.button {
  min-height: 50px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.button:active { transform: scale(.98); }
.button-primary { background: var(--forest-900); color: #fff; }
.button-primary:hover { background: var(--forest-800); }
.button-secondary { border-color: var(--forest-900); background: transparent; color: var(--forest-900); }
.button-ghost { background: transparent; color: var(--muted); }
.button-wide { width: 100%; }
.button[disabled] { opacity: .45; cursor: not-allowed; }

.day-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.back-button, .text-button {
  padding: 8px 2px;
  border: 0;
  background: transparent;
  color: var(--forest-700);
  font-weight: 700;
  cursor: pointer;
}
.step-pills { display: flex; gap: 6px; }
.step-dot { width: 22px; height: 5px; border-radius: 10px; background: var(--line); }
.step-dot.is-active, .step-dot.is-done { background: var(--gold); }

.practice-block {
  margin: 18px 0;
  padding: 20px;
  border-radius: 20px;
  background: var(--forest-100);
}
.practice-number {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--forest-900);
  color: #fff;
  font-weight: 700;
}
.practice-block p:last-child { margin-bottom: 0; }

.field-label { display: block; margin: 16px 0 7px; font-weight: 700; }
.text-area, .text-input {
  width: 100%;
  border: 1px solid #cfdad5;
  border-radius: 15px;
  background: #fff;
  color: var(--ink);
}
.text-area { min-height: 132px; padding: 14px; resize: vertical; line-height: 1.55; }
.text-input { min-height: 50px; padding: 11px 14px; }
.counter { display: block; margin-top: 5px; color: var(--muted); font-size: .75rem; text-align: right; }

.completion-card { text-align: center; }
.completion-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 4px auto 18px;
  border-radius: 50%;
  background: var(--forest-100);
  color: var(--forest-800);
  font-size: 2rem;
  font-weight: 700;
}

.route-list { display: grid; gap: 11px; }
.route-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  text-align: left;
}
button.route-card { width: 100%; color: inherit; cursor: pointer; }
.route-card.is-current { border-color: var(--gold); background: #fffaf0; }
.route-card.is-locked { opacity: .55; }
.route-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--forest-100);
  color: var(--forest-900);
  font-weight: 700;
}
.route-card.is-complete .route-number { background: var(--forest-900); color: #fff; }
.route-card h3, .route-card p { margin-bottom: 2px; }
.route-card p { color: var(--muted); font-size: .84rem; }
.route-status { color: var(--forest-700); font-size: 1.1rem; }

.journal-list { display: grid; gap: 15px; }
.journal-card { padding: 20px; }
.journal-card header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.journal-card time { color: var(--muted); font-size: .8rem; }
.journal-entry { padding: 13px 0; border-top: 1px solid var(--line); }
.journal-entry:first-of-type { border-top: 0; }
.journal-entry span { display: block; margin-bottom: 4px; color: var(--forest-700); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.journal-entry p { margin-bottom: 0; white-space: pre-wrap; }
.empty-card { padding: 34px 24px; text-align: center; }

.privacy-card {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 15px;
  background: rgba(20, 61, 50, .06);
  color: var(--muted);
  font-size: .83rem;
}
.privacy-card p { margin: 0; }

.bottom-nav {
  position: fixed;
  z-index: 30;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, 760px);
  min-height: calc(72px + var(--safe-bottom));
  margin: 0 auto;
  padding: 8px 14px var(--safe-bottom);
  border-top: 1px solid rgba(20, 61, 50, .1);
  background: rgba(255, 253, 248, .96);
  backdrop-filter: blur(16px);
}

/* Explicitly honour review/access mode even in browsers whose author styles
   override the native [hidden] rule. */
.bottom-nav[hidden],
.profile-chip[hidden] {
  display: none !important;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 0;
  background: transparent;
  color: #718079;
  font-size: .72rem;
  font-weight: 600;
  cursor: pointer;
}
.nav-item svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-item.is-active { color: var(--forest-900); }
.nav-item.is-active svg { stroke-width: 2.25; }

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 26, 21, .5);
  backdrop-filter: blur(4px);
}
.modal-backdrop[hidden] { display: none; }
.modal-card {
  width: min(100%, 520px);
  padding: 24px;
  border-radius: 26px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.modal-handle { width: 40px; height: 4px; margin: -8px auto 20px; border-radius: 10px; background: var(--line); }
.modal-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; margin-top: 20px; }
.privacy-line { margin: 10px 0 0; color: var(--muted); font-size: .8rem; }

.toast {
  position: fixed;
  z-index: 120;
  right: 16px;
  bottom: calc(90px + var(--safe-bottom));
  left: 16px;
  max-width: 460px;
  margin: 0 auto;
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--forest-950);
  color: #fff;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 700px) {
  .app-shell { min-height: calc(100vh - 36px); margin-block: 18px; border-radius: 30px; overflow: hidden; }
  .bottom-nav { bottom: 18px; border-radius: 0 0 30px 30px; }
  .main-content { padding-inline: 36px; }
  .topbar { padding-inline: 36px; }
  .modal-backdrop { align-items: center; }
}

@media (max-width: 430px) {
  .checkin-options { grid-template-columns: repeat(3, 1fr); }
  .state-button:nth-child(4), .state-button:nth-child(5) { min-height: 66px; }
  .hero-card { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* The visual identity stays; the reading and writing space grows. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.question-card { padding: 22px; }
.question-field + .question-field { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.question-field .field-label { margin-top: 0; font-size: 1.08rem; line-height: 1.45; }
.question-help { color: var(--muted); font-size: 1rem; line-height: 1.65; margin: 8px 0 14px; }
.question-field .text-area { min-height: 158px; line-height: 1.65; }
.question-field input, .question-field select, .question-field textarea { max-width: 100%; min-width: 0; }
.question-field select { text-overflow: ellipsis; }
.example { margin-bottom: 14px; padding: 10px 14px; background: #f2f5f1; border-radius: 10px; }
details > summary { cursor: pointer; padding: 9px 0; font-weight: 700; line-height: 1.5; }
details > summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.example > summary { font-size: .875rem; color: var(--forest-700); }
.example p { margin-top: 10px; margin-bottom: 8px; }
.example .example-note { font-size: .875rem; color: var(--muted); }
.introduction p { line-height: 1.75; }
.purpose-note { margin-top: 20px; padding: 18px; background: var(--forest-100); border-radius: 14px; }
.purpose-note p, .section-intro p:last-child { margin-bottom: 0; }
.section-intro { padding: 0 3px; margin-bottom: 22px; line-height: 1.75; }
.block-index { padding-left: 20px; }
.block-index .text-button { text-align: left; }
.field-cluster { border-bottom: 1px solid var(--line); padding: 12px 0; }
.field-cluster:last-child { border-bottom: 0; }
.field-cluster > div { padding: 20px 0 8px; }
.step-label { color: var(--muted); font-size: .875rem; text-align: right; }
.day-topline { gap: 16px; }
.flow-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.flow-actions .button { flex: 1 1 170px; }
.save-status { margin: 12px 0 0; color: var(--muted); font-size: .875rem; text-align: center; }
.review-guidance, .revision-note { padding: 20px; margin: 22px 0; background: #ede7d5; border-radius: 18px; }
.review-guidance li { margin: 8px 0; }
.review-guidance ul { padding-left: 22px; }
.review-guidance p:last-child, .revision-note p:last-child { margin-bottom: 0; }
.revision-note h2 { font-size: 1.15rem; }
.revision-note p { font-size: .9375rem; line-height: 1.6; }
.review-block { margin: 24px 0; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.review-block h2 { font-size: 1.25rem; }
.review-block h3, .journal-entry h3 { font-size: 1rem; line-height: 1.5; margin-bottom: 8px; }
.review-block .section-heading { align-items: flex-start; flex-wrap: wrap; }
.review-block .section-heading .text-button { flex-shrink: 0; font-size: .875rem; }
.journal-entry p { overflow-wrap: anywhere; line-height: 1.65; }
.unanswered { color: var(--muted); font-style: italic; }
.review-check { display: flex; gap: 12px; margin: 22px 0; align-items: flex-start; line-height: 1.6; }
.review-check input { width: 22px; height: 22px; margin-top: 3px; flex-shrink: 0; accent-color: var(--forest-900); }
.closing-line { margin: 26px 4px; font-style: italic; line-height: 1.7; }
.route-description { display: block; color: var(--muted); font-size: .875rem; margin-top: 4px; }
.reference-box { background: var(--forest-100); border-radius: 16px; padding: 14px 18px; margin: 18px 0; }
.reference-box > p { margin-top: 14px; }
.comparison-wrap { margin: 20px 0; }
.comparison { border-collapse: collapse; width: 100%; background: var(--paper); }
.comparison caption { text-align: left; padding: 10px 0; font-weight: 700; }
.comparison th, .comparison td { border-bottom: 1px solid var(--line); padding: 12px 8px; text-align: left; font-size: .9375rem; overflow-wrap: anywhere; }
.comparison thead { background: var(--forest-100); }
.comparison tbody th { font-weight: 500; }
.comparison th:first-child { width: 64%; }
.comparison td { font-variant-numeric: tabular-nums; }
.legacy-section .journal-card { margin: 14px 0; }
.legacy-section .journal-card, .journal-list .journal-card { padding: 18px; }
.journal-card .review-block { border: 0; padding: 0; }
.journal-card > summary { font-size: 1rem; }
.profile-dialog { padding: 0; border: 0; border-radius: 26px; width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 40px); color: var(--ink); background: var(--paper); }
.profile-dialog::backdrop { background: rgba(5, 26, 21, .5); backdrop-filter: blur(4px); }
.profile-dialog .modal-card { width: 100%; box-shadow: none; }
.save-error { position: fixed; z-index: 130; bottom: calc(84px + var(--safe-bottom)); left: 16px; right: 16px; max-width: 650px; margin: auto; padding: 16px; background: #fff2e1; color: #5d3525; border: 2px solid #a26542; border-radius: 16px; box-shadow: var(--shadow); }
.save-error[hidden] { display: none; }
.save-error p { margin: 0 0 12px; }
.state-label { font-size: .875rem; white-space: normal; overflow: visible; }
.state-button { min-height: 90px; }
.nav-item { font-size: .875rem; }
.privacy-card { font-size: .875rem; }
.media-section { margin: 24px 0 30px; }
.media-section > h2 { margin-bottom: 8px; font-size: 1.35rem; }
.media-guidance { color: var(--muted); font-size: .9375rem; line-height: 1.65; margin: 0 0 18px; }
.media-list { display: grid; gap: 18px; }
.media-card { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); overflow: hidden; min-width: 0; }
.media-card-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.media-kind { color: var(--forest-700); background: var(--forest-100); border-radius: 7px; padding: 4px 9px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.media-availability { color: var(--muted); font-size: .8125rem; }
.media-card h3 { font-size: 1.25rem; line-height: 1.35; margin: 0 0 12px; }
.media-purpose { line-height: 1.65; font-size: .9375rem; margin: 0 0 20px; }
.media-open { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 104px; border: 1px solid #cad9c9; border-radius: 13px; color: var(--forest-900); background: #edf2e9; font-weight: 700; font-size: 1rem; }
.media-open:hover { background: #e1eadb; }
.media-open:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.media-drive-link { min-height: 76px; padding: 16px; text-align: center; text-decoration: none; line-height: 1.5; }
.media-access-note { margin: 12px 0; color: var(--muted); font-size: .875rem; line-height: 1.65; }
.media-inline-option { margin: 0 0 10px; padding: 8px 0; min-height: 44px; font-size: .875rem; text-align: left; }
.media-access-help { padding: 12px 14px; margin: 4px 0 14px; border-radius: 10px; background: var(--forest-100); font-size: .875rem; line-height: 1.65; }
.media-play-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--forest-900); color: white; font-size: .875rem; padding-left: 2px; flex-shrink: 0; }
.media-slot:empty { display: none; }
.media-slot iframe { display: block; border: 0; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; }
.media-slot-video { display: grid; place-items: center; }
.media-slot-video video { display: block; border: 0; width: min(100%, 360px); aspect-ratio: 9 / 16; object-fit: contain; border-radius: 12px; background: #10291f; }
.media-slot iframe { min-height: 360px; background: #fff; color-scheme: light; }
.media-slot-audio iframe { aspect-ratio: auto; height: 360px; }

.connected-card { border: 1px solid rgba(183, 137, 51, .38); background: linear-gradient(145deg, rgba(252, 248, 237, .98), rgba(236, 243, 238, .98)); }
.remote-loading { margin-top: 18vh; text-align: center; }
.admin-review .main-content { max-width: 900px; padding-bottom: calc(72px + var(--safe-bottom)); }
.review-admin-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin: 18px 0 28px; }
.review-admin-header h1 { margin-bottom: 8px; }
.review-admin-header .button { flex: 0 0 auto; }
.review-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.review-metrics div { display: flex; min-height: 118px; flex-direction: column; justify-content: space-between; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.review-metrics strong { color: var(--forest); font-family: var(--font-display); font-size: 2rem; }
.review-metrics span { color: var(--muted); font-size: .88rem; line-height: 1.35; }
.review-summary { margin-bottom: 24px; border-color: rgba(199, 154, 67, .42); background: linear-gradient(145deg, rgba(255, 253, 248, .98), rgba(246, 242, 229, .98)); }
.review-summary h2 { margin-bottom: 8px; }
.review-summary-note { max-width: 66ch; margin-bottom: 20px; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.review-summary-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.review-summary-list article { min-width: 0; padding: 16px; border: 1px solid rgba(20, 61, 50, .11); border-radius: 14px; background: rgba(255, 255, 255, .58); }
.review-summary-list h3 { margin-bottom: 8px; color: var(--forest-900); font-size: .9375rem; line-height: 1.35; }
.review-summary-list p { margin-bottom: 10px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.58; }
.review-summary-list span { color: var(--muted); font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.review-source { margin-bottom: 24px; }
.review-source p { margin: 6px 0; }
.review-day { margin-bottom: 12px; }

@media (max-width: 640px) {
  .review-admin-header { display: block; }
  .review-admin-header .button { margin-top: 16px; width: 100%; }
  .review-metrics { grid-template-columns: 1fr; }
  .review-metrics div { min-height: 94px; }
  .review-summary-list { grid-template-columns: 1fr; }
}
.media-slot audio { display: block; width: 100%; min-height: 54px; }
.media-footer { display: flex; gap: 8px 18px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.media-footer a, .media-footer .text-button { font-size: .8125rem; line-height: 1.5; color: var(--forest-700); }
.media-footer a { padding-block: 8px; text-underline-offset: 3px; }
.media-card [hidden] { display: none; }
.media-pending { background: #f5f2e9; }
.media-pending .media-purpose { margin-bottom: 12px; }
.media-pending-note { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.65; }
.media-error { padding: 12px; background: #fff2e1; border-radius: 8px; color: #5d3525; font-size: .875rem; line-height: 1.6; }
.media-return { margin: -6px 0 28px; }
.media-revisit { display: block; margin: 0 0 16px; text-align: left; font-size: .875rem; }
@media (max-width: 430px) {
  .media-card { padding: 18px 16px; }
  .question-card, .review-block { padding: 18px 16px; }
  .main-content { padding-inline: 16px; }
  .comparison th, .comparison td { padding-inline: 5px; }
}
