/* ChiroTrack printable one-pagers: advisor-one-pager.html, host-doctor-sheet.html,
   program-one-pager.html. On screen: a sheet on a gray desk. In print: exactly one
   US Letter page, no navigation, no controls. Every figure carries its source and
   the date it was checked, inline, in .src. */
:root {
  --ink: #111827;
  --muted: #3F4A5A;
  --rule: #D5DBE3;
  --accent: #1647A8;
  --accent-soft: #EEF3FC;
  --desk: #E9EDF2;
  --display: 'Bricolage Grotesque', Georgia, serif;
  --body: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--desk); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }

.op-bar { max-width: 8.5in; margin: 0 auto; padding: 16px 16px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.op-bar a { font-weight: 600; text-decoration: none; padding: 6px 0; }
.op-bar a:hover { text-decoration: underline; }
.op-print { font: inherit; font-weight: 700; color: #fff; background: var(--accent); border: 0; border-radius: 999px; padding: 10px 18px; min-height: 44px; cursor: pointer; }
.op-print:hover { background: #10377F; }
.op-print:focus-visible, .op-bar a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.sheet { max-width: 8.5in; margin: 14px auto 40px; background: #fff; padding: 0.55in 0.6in; box-shadow: 0 2px 4px rgba(17,24,39,.06), 0 12px 32px rgba(17,24,39,.10); }
@media (max-width: 640px) { .sheet { padding: 24px 18px; margin: 12px 0 24px; } }

.op-kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.sheet h1 { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.1; letter-spacing: -.02em; margin: 6px 0 8px; }
.op-lede { color: var(--muted); font-size: 15px; max-width: 62ch; }
.sheet h2 { font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: -.01em; margin: 16px 0 6px; padding-top: 12px; border-top: 1px solid var(--rule); }
.sheet p { margin: 0 0 6px; }
.sheet ul, .sheet ol { margin: 0 0 6px 18px; }
.sheet li { margin: 0 0 4px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
@media (max-width: 640px) { .cols { grid-template-columns: 1fr; } }
.cols > div > h2:first-child { margin-top: 16px; }

.figs { list-style: none; margin: 4px 0 6px; display: grid; gap: 8px; }
.figs li { margin: 0; padding: 8px 10px; background: var(--accent-soft); border-left: 3px solid var(--accent); }
.figs b { font-family: var(--display); font-size: 17px; font-weight: 800; color: var(--ink); }
.src { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

.op-foot { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--rule); font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }

@page { size: letter; margin: 0.45in 0.5in; }
@media print {
  html, body { background: #fff; }
  body { font-size: 9.6pt; line-height: 1.38; }
  .op-bar, .no-print { display: none !important; }
  .sheet { max-width: none; margin: 0; padding: 0; box-shadow: none; }
  .op-kicker { font-size: 8pt; }
  .sheet h1 { font-size: 19pt; margin: 2pt 0 4pt; }
  .op-lede { font-size: 9.8pt; }
  .sheet h2 { font-size: 11pt; margin: 7pt 0 3pt; padding-top: 5pt; }
  .cols > div > h2:first-child { margin-top: 7pt; }
  .figs { gap: 4pt; }
  .figs li { padding: 4pt 7pt; }
  .figs b { font-size: 11pt; }
  .src { font-size: 7.6pt; }
  .op-foot { font-size: 7.6pt; margin-top: 7pt; padding-top: 5pt; }
  a { color: inherit; text-decoration: none; }
  .figs li, h2 { break-inside: avoid; }
  h2 { break-after: avoid; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
