:root { --ink: #17201c; --muted: #68716c; --line: #b7bdb9; --accent: #4e6b22; --warning: #9b3f31; }
* { box-sizing: border-box; }
body { margin: 0; background: #d9ddda; color: var(--ink); font-family: Georgia, "Times New Roman", serif; }
.screen-toolbar { position: sticky; z-index: 10; top: 0; display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; min-height: 72px; padding: 12px 28px; border-bottom: 1px solid #c2c8c4; background: rgba(245, 247, 244, 0.96); font-family: "Segoe UI", sans-serif; }
.screen-toolbar a { color: #27352e; font-weight: 700; text-decoration: none; }
.screen-toolbar > div { display: grid; text-align: center; }
.screen-toolbar span { color: var(--muted); font-size: 0.72rem; }
.screen-toolbar button { justify-self: end; min-height: 42px; padding: 0 18px; border: 0; border-radius: 5px; background: #17201c; color: white; cursor: pointer; font-weight: 800; }
main { display: grid; gap: 28px; justify-content: center; padding: 36px 16px 70px; }
.page { position: relative; width: 8.5in; min-height: 11in; padding: 0.55in 0.6in 0.5in; overflow: hidden; background: #fffef9; box-shadow: 0 14px 45px rgba(23, 32, 28, 0.16); }
.sample-mark { position: absolute; top: 4.8in; left: 0.7in; transform: rotate(-34deg); color: rgba(155, 63, 49, 0.075); font: 900 0.54in "Segoe UI", sans-serif; letter-spacing: 0.08em; white-space: nowrap; }
.document-header, .document-footer { position: relative; display: flex; justify-content: space-between; border-bottom: 1px solid var(--ink); padding-bottom: 9px; font: 800 8pt "Segoe UI", sans-serif; letter-spacing: 0.12em; }
.document-kicker { margin: 0.55in 0 0.12in; color: var(--accent); font: 800 8pt "Segoe UI", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; }
h1 { margin: 0; font-size: 29pt; font-weight: 500; line-height: 1.03; }
.document-lede { max-width: 5.8in; margin: 0.18in 0 0.35in; color: var(--muted); font-size: 11pt; line-height: 1.5; }
.warning { position: relative; margin-bottom: 0.35in; padding: 0.17in 0.2in; border-left: 3px solid var(--warning); background: #f5efeb; }
.warning strong { color: var(--warning); font: 800 8pt "Segoe UI", sans-serif; letter-spacing: 0.1em; text-transform: uppercase; }
.warning p { margin: 5px 0 0; font-size: 8.5pt; line-height: 1.4; }
.document-section { position: relative; margin-top: 0.32in; }
.first-section { margin-top: 0.45in; }
.document-section h2 { display: flex; gap: 12px; align-items: baseline; margin: 0 0 0.18in; padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-size: 14pt; font-weight: 600; }
.document-section h2 span { color: var(--accent); font: 800 8pt "Segoe UI", sans-serif; }
.field-grid { position: relative; display: grid; gap: 0.18in 0.28in; }
.two-column { grid-template-columns: 1fr 1fr; }
.field-grid label, .write-area { display: grid; gap: 0.08in; }
.field-grid label > span, .write-area > span { color: var(--muted); font: 700 8pt "Segoe UI", sans-serif; }
.field-grid label i, .write-area i { display: block; height: 0.2in; border-bottom: 1px solid var(--line); }
.prompt { margin: 0 0 0.12in; font-size: 9pt; }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.1in; margin-bottom: 0.2in; }
.check-grid label, .check-list label { display: flex; gap: 8px; align-items: center; font: 8.5pt "Segoe UI", sans-serif; }
.check-grid i, .check-list i { flex: 0 0 auto; width: 0.13in; height: 0.13in; border: 1px solid var(--ink); }
.write-area { margin-top: 0.15in; }
.compact-section { margin-top: 0.25in; }
.check-list { display: grid; gap: 0.1in; }
.acknowledgment { position: relative; margin-top: 0.28in; padding: 0.15in 0.18in; border: 1px solid var(--line); }
.acknowledgment p { margin: 0 0 0.15in; font-size: 8.5pt; line-height: 1.35; }
.acknowledgment div { display: grid; grid-template-columns: 1fr 1.5in; gap: 0.25in; font: 8pt "Segoe UI", sans-serif; }
.document-footer { position: absolute; right: 0.6in; bottom: 0.35in; left: 0.6in; padding: 9px 0 0; border-top: 1px solid var(--ink); border-bottom: 0; color: var(--muted); letter-spacing: 0; }
@media (max-width: 900px) { .screen-toolbar { grid-template-columns: 1fr auto; } .screen-toolbar > div { display: none; } main { justify-content: start; overflow-x: auto; } .page { transform-origin: top left; } }
@media print {
  @page { size: letter; margin: 0; }
  body { background: white; }
  .screen-toolbar { display: none; }
  main { display: block; padding: 0; }
  .page { width: 8.5in; height: 11in; min-height: 0; break-after: page; box-shadow: none; }
  .page:last-child { break-after: auto; }
}
