/* The Sponsorship Prospectus (card 741, docs/prospectus-spec.md): /prospectus, over site.css so the rich text blocks
   print the way they do on the site. Everything here is namespaced ps-. */
.ps-page { background: var(--surface-alt); }
.ps-sheet { max-width: 880px; margin: 0 auto; padding: 24px 24px 72px; }
.ps-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.ps-back { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.ps-back:hover { color: var(--ink); }
/* a brand fill takes the site's luminance rule for its text, so a light Primary prints dark words on it (card 750) */
.ps-bar .btn-primary { color: var(--check-fg, #fff); }

.ps-head { padding: 8px 0 34px; text-align: center; }
.ps-logo { max-height: 84px; max-width: 280px; margin: 0 auto 26px; object-fit: contain; }
/* an eyebrow: --eb is the panel's chosen eyebrow color, else the Secondary, set per page by docVars in src/site.js */
.ps-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--eb, var(--accent)); }
.ps-event { margin-top: 10px; font-family: var(--font-display); font-size: clamp(32px, 5vw, 46px); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; color: var(--font-dark, var(--ink)); }
.ps-facts { margin-top: 12px; font-size: 15px; color: var(--ink-soft); }

.ps-list { display: grid; gap: 18px; }
.ps-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow-sm); }
.ps-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px; align-items: center; }
.ps-top.has-img { grid-template-columns: 148px minmax(0, 1fr) auto; }
.ps-img { width: 148px; height: 104px; object-fit: contain; border-radius: 10px; }
.ps-name { font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.2; color: var(--font-dark, var(--ink)); }
.ps-price { margin-top: 6px; font-size: 22px; font-weight: 750; letter-spacing: -.01em; color: var(--brand-ink, var(--brand)); }
.ps-types { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.ps-types strong { font-weight: 650; color: var(--font-dark, var(--ink)); }
.ps-act { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.ps-left, .ps-opens { font-size: 13px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.ps-sold { padding: 9px 16px; border-radius: 10px; background: #eceef2; font-size: 14px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.ps-buy { white-space: nowrap; }
.ps-body { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); }
.ps-body > * + * { margin-top: 12px; }
.ps-body .checklist { margin-top: 12px; }
.ps-body .custom-h { margin-top: 20px; font-size: 18px; color: var(--font-dark, var(--ink)); }
.ps-body > .custom-h:first-child { margin-top: 0; }
/* a link is the Primary, held to the same paper bar as the price */
.ps-body a, .sp-lead a { color: var(--brand-ink, var(--brand)); }

/* The printed schedule (card 739, docs/schedule-overview-spec.md): the same document page, sp- for what only it carries. */
.sp-zone { margin-top: 8px; font-size: 13.5px; color: var(--ink-faint); }
.sp-lead { margin: 0 0 22px; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); }
.sp-lead > * + * { margin-top: 10px; }
.sp-days { display: grid; gap: 18px; }
.sp-day { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 8px 26px 12px; box-shadow: var(--shadow-sm); }
.sp-table { width: 100%; border-collapse: collapse; }
.sp-table th, .sp-table td { padding: 0; font-weight: inherit; text-align: left; }
.sp-dayhead { display: flex; align-items: baseline; gap: 10px; padding: 14px 0 12px; font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--font-dark, var(--ink)); }
.sp-date { font-family: var(--font-body); font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.sp-row { display: grid; grid-template-columns: 160px 172px minmax(0, 1fr); gap: 4px 16px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line-soft); }
.sp-nopill .sp-row { grid-template-columns: 160px minmax(0, 1fr); }
.sp-when { font-size: 14px; font-weight: 650; color: var(--brand-ink, var(--brand)); white-space: nowrap; }
/* block, not inline-block: an inline-block's baseline is its LAST line, which drops a wrapped pill's neighbors to the bottom */
.sp-kind .sch-cat { display: block; width: fit-content; white-space: normal; }
.sp-what { font-size: 15px; color: var(--ink); }
.sp-what strong { font-weight: 650; }
.sp-what p { margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }

/* the way back from paper to what is still on offer: nothing on screen needs it */
.ps-foot { display: none; }

@media (max-width: 680px) {
  .ps-item { padding: 22px 20px; }
  .ps-top, .ps-top.has-img { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ps-img { width: 100%; height: 150px; }
  .ps-act { align-items: stretch; text-align: left; }
  .ps-sold { align-self: flex-start; }
  .ps-buy { text-align: center; }
}

/* screen only: a narrow sheet of paper keeps its columns */
@media screen and (max-width: 680px) {
  .sp-day { padding: 6px 18px 10px; }
  .sp-row, .sp-nopill .sp-row { grid-template-columns: minmax(0, 1fr); }
}

@media print {
  /* the dialog's default is background graphics off, which would drop the check badges */
  .ps-sheet, .ps-sheet * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .ps-page { background: #fff; }
  .ps-sheet { max-width: none; padding: 0; }
  .ps-bar, .ps-left, .ps-opens, .ps-buy { display: none; }
  .ps-head { padding-top: 0; }
  .ps-list { display: block; }
  .ps-item { border: 0; border-top: 1px solid #c9ccd8; border-radius: 0; box-shadow: none; padding: 18px 0; }
  /* a package reads whole where it fits; one that runs past a page may break, but never just under its own name */
  .ps-item { break-inside: avoid; }
  .ps-top { break-after: avoid; }
  .ps-body { border-top: 0; padding-top: 0; margin-top: 12px; }
  .ps-foot { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #c9ccd8; break-inside: avoid; font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); }
  .ps-qr { flex: none; width: 76px; height: 76px; fill: var(--qr-ink, #14161c); }
  .sp-lead { margin-bottom: 14px; font-size: 13px; }
  .sp-days { display: block; }
  .sp-day { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
  .sp-day + .sp-day { margin-top: 14px; }
  .sp-dayhead { padding: 0 0 6px; font-size: 18px; }
  .sp-row { grid-template-columns: 1.45in 1.4in minmax(0, 1fr); gap: 2px 12px; padding: 6px 0; border-top-color: #c9ccd8; }
  .sp-nopill .sp-row { grid-template-columns: 1.45in minmax(0, 1fr); }
  .sp-when { font-size: 12px; }
  .sp-what { font-size: 13px; }
  .sp-what p { font-size: 11.5px; }
  .sp-row { break-inside: avoid; }
}
