.skip-link { position: absolute; top: -100px; left: 20px; padding: 12px; background: var(--surface); z-index: 2; }
.skip-link:focus { top: 12px; }
.eyebrow { color: var(--cedar); font-size: 12px; font-weight: 750; letter-spacing: .1em; }
.resource-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 28px; }
.resource-actions a { min-height: 44px; display: inline-flex; align-items: center; }
button.button { font: inherit; font-weight: 700; border: 0; cursor: pointer; min-height: 48px; }
button:focus-visible { outline: 3px solid var(--cedar); outline-offset: 5px; }
[hidden] { display: none !important; }
.print-help { color: var(--muted); font-size: 14px; }
.how-to { margin: 44px 0; border-top: 1px solid var(--line); }
.instruction-list { padding-left: 22px; }
.instruction-list li { padding-left: 6px; margin-bottom: 12px; }
.worksheet { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px; scroll-margin-top: 20px; }
.worksheet-heading h2 { margin: 0; font-size: 28px; }
.worksheet-heading .eyebrow { margin-top: 0; }
.worksheet-period { margin-bottom: 16px; font-size: 14px; }
.worksheet-period span { display: inline-block; }
.worksheet-key { font-size: 13px; color: var(--muted); }
.diary-days { margin-top: 24px; }
.diary-day { border-top: 1px solid var(--line); padding: 16px 0; break-inside: avoid; }
.diary-day h3 { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0 0 12px; font-size: 15px; }
.diary-day h3 span { font-weight: 400; color: var(--muted); }
.day-fields { display: grid; grid-template-columns: .7fr 1.3fr 1fr 1.3fr; gap: 16px; }
.day-fields > div { min-width: 0; }
.day-fields span { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
.day-fields i { display: block; height: 24px; border-bottom: 1px solid var(--line); }
.day-fields b { display: block; font-size: 13px; font-weight: 400; padding-top: 4px; }
.worksheet-footer { font-size: 11px; margin-bottom: 0; color: var(--muted); }
.example-section { margin: 48px 0; scroll-margin-top: 20px; }
.example-section h2 { margin-top: 12px; }
.example-entry { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; background: var(--soft); border-radius: 16px; padding: 24px; }
.example-score { margin: 0; }
.example-score strong { display: block; font-size: 72px; line-height: 1.1; color: var(--cedar-dark); }
.example-score span { font-size: 14px; color: var(--muted); }
.example-entry dl { margin: 0; }
.example-entry dl div + div { margin-top: 10px; }
.example-entry dt { font-size: 12px; color: var(--muted); }
.example-entry dd { margin: 0; font-size: 16px; }
.app-continuation { background: var(--soft); }
@media (max-width: 520px) {
  .worksheet { padding: 18px; }
  .worksheet-heading h2 { font-size: 24px; }
  .day-fields { grid-template-columns: 1fr 1fr; gap: 12px; }
  .diary-day { padding: 20px 0; }
  .example-entry { grid-template-columns: 1fr; }
  .example-score { display: flex; align-items: center; gap: 16px; }
}
@page { size: auto; margin: 12mm; }
@media print {
  :root { color-scheme: light; }
  body { background: white; color: black; font-size: 10pt; line-height: 1.35; }
  header, footer, .skip-link, .resource-intro, .how-to, .example-section, .app-continuation, .resource-notice { display: none !important; }
  main { width: 100%; margin: 0; padding: 0; }
  .worksheet { border: 0; border-radius: 0; padding: 0; }
  .worksheet-heading h2 { font-size: 20pt; color: black; }
  .worksheet-heading .eyebrow { font-size: 8pt; margin: 0 0 3mm; color: black; }
  .worksheet-period { font-size: 10pt; margin: 3mm 0; }
  .worksheet-key { font-size: 8pt; margin: 3mm 0; color: black; }
  .diary-days { margin-top: 3mm; }
  .diary-day { padding: 3mm 0; min-height: 23mm; border-color: #777; }
  .diary-day h3 { margin: 0 0 2mm; font-size: 10pt; color: black; }
  .diary-day h3 span, .day-fields span { color: black; }
  .day-fields { grid-template-columns: .7fr 1.3fr 1fr 1.3fr; gap: 4mm; }
  .day-fields span { font-size: 7.5pt; }
  .day-fields i { height: 6mm; border-color: #999; }
  .day-fields b { font-size: 9pt; padding-top: 2mm; }
  .worksheet-footer { font-size: 7.5pt; margin-top: 3mm; color: black; }
}
