/* Published previews contain only the separately generated fictional report pages. */
.report-spread { display: block; position: relative; width: 100%; aspect-ratio: .95; isolation: isolate; }
.report-spread-ground { position: absolute; inset: 14% -5% 0; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse, #dbe8e5 0, #edf2ed80 45%, transparent 72%); }
.report-spread img { position: absolute; box-shadow: 0 20px 42px -18px #163b465c, 0 0 0 1px #17354112; transition: transform .25s ease; }
.report-page-back { width: 56%; top: 3%; left: 5%; transform: rotate(-9deg); }
.report-page-front { width: 65%; top: 8%; right: 3%; transform: rotate(5deg); }
.report-spread:hover .report-page-front { transform: translateY(-5px) rotate(3deg); }
.report-spread-open { position: absolute; right: 0; bottom: 3%; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: white; font-size: 24px; box-shadow: 0 8px 20px #163b4620; }
.report-preview-note { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.report-name { font-family: var(--serif); font-size: clamp(34px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -.02em; color: var(--navy); }
.report-name em { font-style: normal; color: var(--turquoise-ink); }
.report-introduction { margin-top: 18px; max-width: 480px; color: var(--muted); font-size: 17px; }
.report-preview-action { margin: 20px 0 28px; min-height: 44px; }
.report-preview-open { overflow: hidden; }
.report-dialog { width: min(940px, calc(100% - 40px)); max-height: calc(100dvh - 40px); padding: 26px 32px 20px; border: 1px solid var(--line); color: var(--ink); background: var(--paper); box-shadow: 0 30px 120px #0008; }
.report-dialog::backdrop { background: #021521c9; }
.report-dialog:not([open]) { display: none; }
.report-dialog[open] { display: flex; flex-direction: column; }
.report-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex: 0 0 auto; }
.report-dialog-header .eyebrow { font-size: 12px; }
.report-dialog h2 { font-size: clamp(25px, 3vw, 35px); line-height: 1.1; margin-top: 6px; }
.report-close { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; min-height: 44px; padding: 8px 12px; background: white; border: 1px solid var(--line); color: var(--ink); font-size: 14px; }
.report-close span:last-child { font-size: 26px; line-height: 1; }
.report-dialog-description { max-width: 660px; margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.5; flex: 0 0 auto; }
.report-dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 20px 0; flex: 0 0 auto; }
.report-page-buttons { display: flex; gap: 6px; }
.report-page-buttons button { min-height: 44px; padding: 8px 16px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 14px; }
.report-page-buttons button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: white; }
.report-page-buttons button:hover:not([aria-pressed="true"]) { background: white; border-color: var(--turquoise-ink); }
.report-page-number { opacity: .7; font-size: 12px; }
.report-page-status { color: var(--muted); font-size: 13px; white-space: nowrap; }
.report-dialog-pages { min-height: 0; overflow: auto; padding: 2px 8px 8px; }
.report-dialog-page { margin: 0; }
.report-dialog-page[hidden] { display: none; }
.report-dialog-page a { display: block; width: fit-content; margin-inline: auto; cursor: zoom-in; }
.report-dialog-page img { width: auto; max-height: calc(100dvh - 370px); box-shadow: 0 6px 20px #1735411a; background: white; }
.report-dialog-page figcaption { text-align: center; font-size: 14px; color: var(--muted); line-height: 1.5; margin: 14px auto 0; max-width: 560px; }
.report-zoom-hint { text-align: center; margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.5; flex: 0 0 auto; }
@media (max-width: 600px) {
  .report-spread-open { width: 44px; height: 44px; bottom: 4%; }
  .report-preview-note { max-width: 260px; margin-inline: auto; }
  .report-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); padding: 18px 16px 14px; }
  .report-dialog-header { gap: 12px; }
  .report-dialog-header .eyebrow { max-width: 200px; line-height: 1.4; }
  .report-dialog h2 { font-size: 27px; max-width: 220px; }
  .report-close { padding: 8px; gap: 6px; font-size: 12px; }
  .report-dialog-description { font-size: 13px; }
  .report-dialog-toolbar { margin: 16px 0; gap: 8px; }
  .report-page-buttons { flex: 1; gap: 4px; }
  .report-page-buttons button { flex: 1; justify-content: center; font-size: 12px; padding: 8px 5px; }
  .report-page-number { display: none; }
  .report-page-status { font-size: 12px; }
  .report-dialog-page img { max-height: calc(100dvh - 315px); }
  .report-dialog-page figcaption { font-size: 13px; margin-top: 12px; }
}
@media (max-height: 560px) {
  .report-dialog[open] { display: block; overflow: auto; }
  .report-dialog-header { position: sticky; top: -18px; z-index: 1; padding-block: 8px; background: var(--paper); }
  .report-dialog-page img { max-height: none; max-width: 80%; }
}
@media (prefers-reduced-motion: reduce) {
  .report-spread img { transition: none; }
}
