/* doc-style.css — POA Caregiver™ printable document system (letter, black/white/taupe) */
body { margin: 0; background: #FFFFFF; font-family: 'Source Sans 3', 'Source Sans Pro', -apple-system, sans-serif; color: #000000; -webkit-print-color-adjust: exact; print-color-adjust: exact; counter-reset: docpage; }
* { box-sizing: border-box; }
.toolbar { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px 28px; background: #000000; color: #FFFFFF; font-size: 14px; z-index: 10; }
.toolbar a { color: #9C8070; text-decoration: none; font-weight: 500; }
.toolbar a:hover { color: #FFFFFF; }
.toolbar button { background: #9C8070; color: #FFFFFF; border: none; border-radius: 8px; padding: 10px 18px; font: inherit; font-weight: 600; cursor: pointer; }
.toolbar button:hover { background: #21202C; }
.page { width: 8.5in; min-height: 11in; padding: 0.85in 0.9in; background: #FFFFFF; margin: 28px auto; box-shadow: 0 10px 40px rgba(0,0,0,0.15); display: flex; flex-direction: column; counter-increment: docpage; }
.brand { font-size: 10pt; letter-spacing: 0.25em; font-weight: 600; color: #9C8070; text-transform: uppercase; margin-bottom: 4pt; }
.brand b { color: #000000; font-weight: 600; }
h1 { font-family: 'Playfair Display', Georgia, serif; font-size: 23pt; line-height: 1.18; margin: 6pt 0 8pt; font-weight: 600; letter-spacing: 0; }
.subtitle { font-size: 11.5pt; color: rgba(0,0,0,0.66); line-height: 1.55; margin: 0 0 8pt; }
h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 14.5pt; font-weight: 600; margin: 18pt 0 6pt; border-top: 1pt solid rgba(156,128,112,0.5); padding-top: 10pt; }
h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 12pt; font-weight: 600; margin: 12pt 0 4pt; }
p { font-size: 10.5pt; line-height: 1.65; color: #21202C; margin: 5pt 0; }
ul { margin: 6pt 0; padding-left: 15pt; }
li { font-size: 10.5pt; line-height: 1.6; color: #21202C; margin: 4.5pt 0; padding-left: 2pt; }
.script { border-left: 3pt solid #9C8070; padding: 7pt 14pt; font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: 12pt; line-height: 1.55; color: #21202C; background: #FFFFFF; margin: 8pt 0; }
.check { display: flex; gap: 11pt; align-items: flex-start; padding: 9pt 0; border-bottom: 1pt solid rgba(0,0,0,0.08); font-size: 10.5pt; line-height: 1.6; color: #21202C; }
.check .box { width: 12.5pt; height: 12.5pt; border: 1.5pt solid #000000; border-radius: 3pt; flex: none; margin-top: 2.5pt; }
.check b { font-weight: 600; color: #000000; }
.tag { display: inline-block; align-self: flex-start; width: fit-content; font-size: 8.5pt; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #9C8070; background: rgba(156,128,112,0.16); border-radius: 4pt; padding: 3pt 7pt; margin: 12pt 0 8pt; }
table { width: 100%; border-collapse: collapse; margin: 8pt 0; }
th { font-size: 8pt; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(0,0,0,0.66); background: #FFFFFF; border: 1pt solid rgba(156,128,112,0.45); padding: 5pt 7pt; text-align: left; }
td { border: 1pt solid rgba(156,128,112,0.45); padding: 5pt 7pt; height: 20pt; font-size: 9.5pt; color: #21202C; }
.note { font-size: 9pt; color: rgba(0,0,0,0.5); line-height: 1.55; }
.docfoot { margin-top: auto; border-top: 1pt solid rgba(156,128,112,0.45); padding-top: 9pt; font-size: 7.5pt; letter-spacing: 0.03em; color: rgba(0,0,0,0.5); line-height: 1.6; text-align: center; }
.docfoot span { display: block; }
.docfoot::after { content: "poacaregiver.com · Page " counter(docpage); display: block; margin-top: 5pt; font-size: 7.5pt; letter-spacing: 0.04em; color: rgba(0,0,0,0.42); }
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28pt; }
@media print {
  body { background: #FFFFFF; }
  .toolbar { display: none; }
  .page { margin: 0; box-shadow: none; width: auto; min-height: auto; padding: 0; page-break-after: always; }
  .page:last-child { page-break-after: auto; }
  @page { size: letter; margin: 0.7in; }
}
/* On-screen only: let the fixed 8.5in "page" shrink to fit phones/tablets.
   Print output is unchanged (this is scoped to screen). */
@media screen and (max-width: 820px) {
  .page { width: auto; min-height: 0; margin: 16px; padding: 30px 22px; box-shadow: 0 6px 24px rgba(0,0,0,0.12); }
  .toolbar { padding: 12px 16px; font-size: 13px; }
  .toolbar button { padding: 9px 14px; }
  h1 { font-size: 21pt; }
  .twocol { grid-template-columns: 1fr; gap: 0; }
}
