/* The client's report reader. Designed to print cleanly — "Save as PDF" is the
   browser's own print dialogue, which is how a PDF is produced without pulling
   in a PDF library. */

.report-paper {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: clamp(1.6rem, 4vw, 3.2rem); box-shadow: var(--shadow-sm);
  max-width: 780px; margin: 0 auto;
}
.report-head { text-align: center; border-bottom: 2px solid var(--gold-soft); padding-bottom: 1.4rem; margin-bottom: 2rem; }
.report-logo { height: 54px; width: auto; margin-bottom: 1rem; }
.report-head h1 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin: 0 0 .4rem; }
.report-for { color: var(--ink-3); font-size: .9rem; margin: 0; }

.report-section { margin-bottom: 2.2rem; }
.report-section h2 {
  font-size: 1.15rem; color: var(--forest); margin: 0 0 .6rem;
  padding-bottom: .35rem; border-bottom: 1px solid var(--line);
}
.report-section p { margin: 0 0 .9rem; line-height: 1.75; }
.report-blank { color: var(--ink-3); font-style: italic; }

.report-figure { margin: 1.2rem 0; text-align: center; }
.report-figure img { max-width: 100%; height: auto; }
.report-figure figcaption { font-size: .85rem; color: var(--ink-3); margin-top: .4rem; }

.report-foot { border-top: 1px solid var(--line); margin-top: 2.4rem; padding-top: 1.2rem; text-align: center; }
.report-foot p { margin: 0 0 .3rem; font-size: .86rem; color: var(--ink-3); }
.report-disclaim { font-size: .8rem; }

.reader-warn {
  margin-top: 1rem; font-size: .82rem; color: var(--ink-3);
  border-top: 1px solid var(--line); padding-top: .8rem; text-align: center;
}

/* --- print ---------------------------------------------------------------
   Everything that is not the report itself is removed, so the saved PDF is the
   reading and nothing else. */
/* --- the greeting, on screen and on paper -------------------------------- */
.report-greeting { margin: 0 0 2rem; padding: 0 0 1.6rem;
  border-bottom: 1px solid var(--gold-soft, #e2d3a8); }
.report-greeting p { margin: 0 0 .8rem; }
.greet-namaste { font-family: var(--serif, Georgia, serif); font-size: 1.15rem;
  color: var(--forest, #14503a); }
.greet-sign { margin-top: 1.2rem; font-style: italic; color: var(--ink-2, #555); }
.greet-sign span { font-family: var(--serif, Georgia, serif); font-style: normal;
  font-size: 1.05rem; color: var(--forest, #14503a); }

/* --- printing, which is how the client gets their PDF -------------------- *
 * The Save-as-PDF button is just the browser print dialogue, so everything
 * about the finished document is decided here. It has to look like something
 * worth paying for and worth keeping.
 * ------------------------------------------------------------------------- */
@media print {
  .no-print, .panel-top { display: none !important; }
  body { background: #fff; color: #1a1a1a; font-size: 11.5pt; line-height: 1.6; }
  .panel-wrap { width: auto; margin: 0; padding: 0; }
  .report-paper { border: none; box-shadow: none; border-radius: 0; padding: 0; max-width: none; }

  /* The masthead, once, at the top of page one. */
  .report-head { page-break-after: avoid; text-align: center;
    border-bottom: 2px solid #b8901e; padding-bottom: 10pt; margin-bottom: 16pt; }
  .report-logo { height: 62px; width: auto; margin: 0 auto 8pt; display: block; }
  .report-head h1 { font-size: 20pt; margin: 0 0 4pt; color: #14503a; }
  .report-for { font-size: 9.5pt; color: #555; margin: 0; }

  .report-greeting { border-bottom: 1px solid #e2d3a8; padding-bottom: 12pt;
    margin-bottom: 16pt; page-break-after: avoid; }
  .greet-namaste { font-size: 13pt; }

  /* Never strand a heading at the foot of a page, or split a chart. */
  .report-section { page-break-inside: avoid; margin-bottom: 14pt; }
  .report-section h2 { page-break-after: avoid; font-size: 13pt; color: #14503a;
    border-left: 3px solid #b8901e; padding-left: 8pt; margin: 0 0 6pt; }
  .report-figure { page-break-inside: avoid; text-align: center; margin: 10pt 0; }
  .report-figure img { max-width: 78%; height: auto; }
  .report-figure figcaption { font-size: 8.5pt; color: #666; margin-top: 4pt; }

  /* Repeats at the foot of every page, so a loose sheet still says whose it is. */
  .report-foot { position: fixed; bottom: 0; left: 0; right: 0; text-align: center;
    font-size: 8pt; color: #777; border-top: 1px solid #e2d3a8; padding-top: 5pt; }
  .report-foot p { margin: 0 0 2pt; }
  .report-disclaim { font-size: 7.5pt; }

  a { text-decoration: none; color: inherit; }
  @page { margin: 16mm 16mm 24mm; }
}

.check{display:flex;align-items:center;gap:.5rem;font-weight:400;font-size:.9rem;margin-top:.5rem;color:var(--ink-2)}
.check input{width:auto;margin:0}
