/* Dedicated examination room — one thread, full viewport, saved on device. */

html,
body {
  height: 100%;
}

body.edition.examine-page .page {
  width: 100%;
  max-width: none;
  min-height: var(--vvh, 100dvh);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.examine-shell {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  max-width: var(--shell-classroom);
  width: min(100%, var(--shell-classroom));
  margin: 0 auto;
  min-height: 0;
  min-width: 0;
  padding: 0 max(18px, calc(50vw - 480px)) calc(72px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

.examine-head {
  flex: 0 0 auto;
  padding: clamp(18px, 4vw, 32px) 0 12px;
  border-bottom: var(--rule);
}

.examine-head .exam-eyebrow {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.examine-head h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.room-meta {
  margin: 10px 0 0;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 36em;
}

.room-meta a {
  color: var(--bronze);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.examine-room {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 16px 0 0;
}

.examine-room .thread {
  flex: 1;
  min-height: 220px;
  max-height: none;
  margin-bottom: 12px;
}

.examine-room .compose {
  flex: 0 0 auto;
}

.examine-foot {
  flex: 0 0 auto;
  padding: 14px 0 0;
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
}

.examine-foot a {
  color: var(--bronze);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.source-list .citation-link {
  font-weight: 500;
}

@media (max-width: 760px) {
  .examine-shell {
    padding-inline: 16px;
  }

  .examine-head {
    padding-top: 14px;
  }
}
