/* The report preview uses the actual downloadable page images. All amounts remain live text. */
.sample-review {
  --serif: Georgia, 'Times New Roman', serif;
  --glass-tint: #edf7f2;
}
.sample-review main { width: min(74rem, calc(100% - 2rem)); }
.sample-review h1, .sample-review h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.048em; }
.sample-review h1 { max-width: 14ch; font-size: clamp(2.65rem, 6vw, 5.25rem); line-height: 1.04; }
.sample-review h2 { max-width: 19ch; font-size: clamp(2.05rem, 4.2vw, 3.7rem); line-height: 1.09; }
.sample-review h3 { font: 650 clamp(1.17rem, 2vw, 1.55rem)/1.32 var(--sans); letter-spacing: -.025em; }
.sample-lead, .editorial-section, .purchase-notes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 4.2vw, 4.3rem);
}
.sample-lead { align-items: center; padding: clamp(2.1rem, 5.5vw, 5.25rem) 0; }
.lead-excerpt { margin: 1.4rem 0 0; padding: .9rem 1rem 1rem; background: var(--glass-tint); border-left: .22rem solid var(--action); }
.lead-excerpt figcaption { color: var(--muted); font-size: 1rem; font-weight: 650; }
.lead-excerpt blockquote { margin: .35rem 0 0; padding: 0; border: 0; color: var(--ink); font: 400 clamp(1.15rem, 1.6vw, 1.4rem)/1.46 var(--serif); }
.sample-review .sample-price { color: var(--muted); font-size: 1rem; line-height: 1.55; max-width: 43ch; margin-top: 1.45rem; }
.sample-price strong { color: var(--ink); }
.report-object { min-width: 0; }
.report-object .paperframe {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  background: var(--pale);
  border: 1px solid #accbc4;
  border-radius: .6rem 2.25rem .6rem .6rem;
  padding: 8.5% 0 7%;
}
.paperframe .back-page {
  position: absolute;
  width: 54%;
  right: 11%;
  top: 11%;
  transform: rotate(7deg);
  box-shadow: 0 6px 12px #153a3f29;
}
.paperframe .front-page {
  width: 56%;
  position: relative;
  left: -5%;
  display: block;
  transform: rotate(-3deg);
  background: #fff;
  box-shadow: 0 8px 18px #153a3f26;
}
.paperframe .front-page img { box-shadow: none; }
.report-object figcaption, .report-spread figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: .7rem;
  color: var(--muted);
  font-size: 1rem;
}
.report-object figcaption { padding-top: .35rem; align-items: center; }
.report-object figcaption a, .section-copy > a, .message-download { display: inline-flex; align-items: center; min-height: 2.75rem; }
.editorial-section { border-top: 1px solid var(--line); padding: clamp(2.3rem, 5.4vw, 5rem) 0; align-items: start; }
.section-copy > p:not(.eyebrow), .purchase-notes p { max-width: 58ch; }
.specimen-ledger { background: #fff; border: 1px solid var(--line); border-radius: .85rem; padding: clamp(1rem, 3vw, 2.35rem); }
.specimen-ledger dl { margin: 0; }
.specimen-ledger dl > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .15rem 1rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--line);
}
.specimen-ledger dd { color: var(--ink); font: 600 clamp(1.2rem, 2vw, 1.6rem)/1.3 var(--sans); }
.specimen-ledger .result-row { padding: .85rem .65rem; border: 0; background: var(--glass-tint); color: var(--ink); font-weight: 700; }
.specimen-ledger .result-row dd { font-size: clamp(1.55rem, 3vw, 2.15rem); }
.specimen-ledger > p:first-of-type { color: var(--ink); font: 400 clamp(1.34rem,2.7vw,1.83rem)/1.36 var(--serif); margin-top: 1.4rem; }
.specimen-ledger > p:last-of-type { font-size: 1rem; }
.message-examples { min-width: 0; }
.recipient-picker { min-width: 0; margin: 0; border: 0; padding: 0; }
.recipient-picker legend { font: 650 1rem/1.4 var(--sans); color: var(--ink); padding: 0 0 .6rem; }
.recipient-picker > input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}
.recipient-picker > label {
  display: inline-flex;
  align-items: center;
  min-height: 2.9rem;
  max-width: 100%;
  padding: .4rem 1rem;
  margin: .15rem .25rem .15rem 0;
  background: var(--paper);
  color: var(--action);
  border: 1px solid var(--action);
  border-radius: 2rem;
  font-weight: 650;
  cursor: pointer;
}
.recipient-picker > input:checked + label { background: var(--ink); color: #fff; border-color: var(--ink); }
.recipient-picker > input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 3px; }
#sample-data-note { color: var(--muted); font-size: 1rem; margin: .6rem 0 1.1rem; }
#pick-provider:checked ~ .draft-panels .letter-insurer, #pick-insurer:checked ~ .draft-panels .letter-provider { display: none; }
.letter-envelope { padding: 0 0 .95rem; }
.letter-envelope p { font-size: 1rem; margin: 0; color: var(--muted); }
.letter-envelope strong { font-weight: 650; color: var(--ink); }
.letter-envelope h3 { margin: .45rem 0 0; }
.sample-review .letter { padding: clamp(1rem,2.7vw,2.2rem); border-radius: .85rem; border-top: .32rem solid var(--apricot); }
.sample-review .letter-insurer { border-top-color: var(--action); }
.sample-editor { border-top: 1px solid var(--line); padding-top: 1rem; }
.sample-editor > label { display: block; margin-bottom: .45rem; font-size: 1rem; font-weight: 650; color: var(--ink); }
.sample-editor textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 8.15rem;
  padding: .85rem;
  border: 1px solid #688781;
  border-radius: .5rem;
  color: #223e43;
  background: #fcfdfb;
  font: inherit;
  line-height: 1.5;
  resize: vertical;
}
.sample-editor button {
  margin-top: .5rem;
  min-height: 2.85rem;
  background: #fff;
  color: var(--action);
  border: 1px solid #77918b;
  border-radius: .5rem;
  padding: .35rem .8rem;
  font: 650 1rem/1.4 var(--sans);
  cursor: pointer;
}
.sample-editor button:hover { background: var(--glass-tint); }
.letter .original-draft p { margin: .9rem 0; }
.sample-review .letter details { margin: 1rem 0 0; }
.message-download { margin-top: .45rem; }
.report-spread { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-items: start; gap: clamp(.9rem,2.4vw,2rem); }
.report-spread figure > a { display: block; padding: 9%; background: var(--glass-tint); border-radius: .6rem; border: 1px solid var(--line); }
.report-spread figure:nth-child(2) > a { background: #fcebdc; }
.report-spread img { width: 100%; box-shadow: 0 3px 11px #22433824; }
.report-spread figcaption { flex-direction: column; padding-top: .65rem; }
.report-spread figcaption strong { color: var(--ink); font-weight: 650; }
.sample-review .transcript { grid-column: 1 / -1; border-block: 1px solid var(--line); margin: 0; }
.sample-review .transcript > div { max-width: 72ch; }
.purchase-notes { padding: clamp(1.35rem,3.8vw,3.8rem); border-radius: 1rem; background: var(--glass-tint); border: 1px solid var(--line); }
.purchase-notes h3 { margin: 0 0 .7rem; }
.purchase-notes details { margin: .9rem 0; }
.sample-review .finish h2 { margin-inline: auto; }
@media (min-width: 51rem) {
  .sample-review main { width: min(74rem, calc(100% - 4.5rem)); }
  .sample-lead { grid-template-columns: minmax(0,1.07fr) minmax(0,.93fr); }
  .editorial-section { grid-template-columns: minmax(0,.83fr) minmax(0,1.17fr); }
  .purchase-notes { grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); }
}
@media (max-width: 35rem) {
  .report-spread { grid-template-columns: minmax(0,1fr); }
  .report-spread figure { width: min(100%, 24rem); }
  .sample-review .lead-copy .actions { align-items: flex-start; column-gap: 1rem; row-gap: .3rem; }
}
@media print {
  .sample-review .sample-lead, .sample-review .editorial-section, .sample-review .purchase-notes { display: block; padding: 1rem 0; }
  .report-object, .report-spread, .sample-editor, .recipient-picker > label, .recipient-picker legend { display: none; }
  .sample-review .letter { border: 1px solid #999; break-inside: avoid; }
}
