.skip-link { position:absolute; left:16px; top:-100px; z-index:10; background:#fff; padding:12px; color:var(--ink); }
.skip-link:focus { top:12px; }
.nav-links [aria-current="page"] { color:var(--violet); font-weight:700; }
.centered { justify-content:center; }
.button { font:inherit; font-weight:700; cursor:pointer; }
.button[hidden] { display:none; }
.text-link { color:var(--violet); font-weight:700; }
.handoff-example { border:1px solid #d7d2ee; border-radius:26px; background:#f0edfc; padding:30px; box-shadow:var(--shadow); transform:rotate(1.2deg); }
.example-top { display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; margin-bottom:35px; }
.example-label { font-size:14px; font-weight:750; color:#4d4771; }
.example-tag { font-size:14px; padding:6px 10px; background:#fff; border-radius:8px; color:#4d4771; }
.handoff-example h2 { font-size:clamp(30px,3vw,40px); line-height:1.1; }
.example-note { margin:27px 0 18px; padding:20px; border-radius:12px; background:#fff; }
.example-note p { margin:8px 0 0; }
.example-task { display:flex; gap:12px; padding:16px 0; align-items:center; border-bottom:1px solid #d7d2ee; }
.example-task small { display:block; font-size:14px; color:#4f5b55; }
.sample-check { flex:none; width:23px; height:23px; border:1.5px solid #625a8d; border-radius:6px; }
.sample-check.checked { display:grid; place-items:center; background:#e4f5eb; color:#226141; border-color:#33865c; }
.example-foot { font-size:14px; color:#5f5977; margin:22px 0 0; }
.setup-steps { padding-left:22px; display:grid; gap:21px; margin:25px 0; }
.setup-steps strong,.setup-steps span { display:block; }
.setup-steps span { margin-top:5px; color:var(--muted); }
figure.shot { margin:0; }
figcaption { text-align:center; font-size:14px; margin:20px 0 0; color:var(--muted); }
.template-callout { display:grid; grid-template-columns:1fr auto; gap:35px; align-items:center; }
.template-callout .section-copy { max-width:680px; }
.template-intro { max-width:850px; padding-bottom:32px; border:0; }
.privacy-hint { color:#435e53; padding:16px 20px; border-left:3px solid var(--mint); background:var(--surface-mint); }
.handoff-sheet { max-width:900px; margin:0 auto; border:1px solid #dbdbe5; border-radius:18px; padding:36px; background:#fff; box-shadow:0 10px 35px #201d4020; }
.sheet-heading { display:flex; gap:20px; justify-content:space-between; align-items:flex-end; margin-bottom:28px; }
.sheet-brand { display:block; color:var(--violet); font-size:14px; font-weight:800; letter-spacing:.04em; margin-bottom:8px; }
.sheet-heading h2 { font-size:32px; }
.sheet-subtitle { color:var(--muted); font-size:14px; }
.identity-grid,.notes-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.sheet-field { min-width:0; }
.sheet-field label { display:block; font-size:14px; font-weight:650; margin-bottom:6px; color:#4c4d60; }
.field-control { display:block; width:100%; min-height:44px; border:1px solid #c8c8d5; border-radius:6px; background:#fdfdff; padding:9px 11px; color:var(--ink); font:inherit; }
textarea.field-control { resize:vertical; min-height:112px; }
.field-control::placeholder { color:#71717d; font-size:14px; }
.care-records,.task-fields { border:0; padding:0; margin:28px 0; min-width:0; }
.handoff-sheet legend { font-weight:750; font-size:18px; margin-bottom:12px; padding:0; }
.care-row { display:grid; grid-template-columns:92px 1fr 1.7fr; gap:14px; align-items:end; padding:15px 0; border-top:1px solid var(--rule); }
.care-row h3 { font-size:16px; margin:0 0 11px; }
.task-entry { display:grid; grid-template-columns:22px 1fr; gap:12px; align-items:end; margin:12px 0; }
.task-entry input[type="checkbox"] { width:22px; height:22px; margin:0 0 11px; accent-color:var(--violet); }
.sheet-footnote { font-size:14px; color:#61616b; margin:22px 0 0; }
.print-footer,.print-value { display:none; }
@media (max-width:850px) {
 .template-callout { grid-template-columns:1fr; }
 .template-callout .button { justify-self:start; }
 .handoff-example { transform:none; max-width:600px; }
}
@media (max-width:620px) {
 .handoff-sheet { padding:22px 16px; border-radius:12px; }
 .sheet-heading { display:block; }
 .sheet-subtitle { display:block; margin-top:10px; }
 .identity-grid,.notes-grid { grid-template-columns:1fr; }
 .care-row { grid-template-columns:1fr 1.5fr; gap:10px; }
 .care-row h3 { grid-column:1/-1; margin:0; }
 .template-intro h1 { font-size:42px; }
 .template-intro .actions .button { width:100%; }
 .handoff-example { padding:24px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
@page { size:auto; margin:12mm; }
@media print {
 :root { color-scheme:light; }
 body { background:#fff; color:#111; font-size:10pt; line-height:1.3; }
 .shell { width:100%; max-width:none; margin:0; }
 .nav,footer,.skip-link,.template-intro,.template-help { display:none; }
 .handoff-sheet { padding:0; margin:0; max-width:none; border:0; box-shadow:none; border-radius:0; }
 .sheet-heading { margin-bottom:17px; }
 .sheet-heading h2 { font-size:22pt; }
 .sheet-brand,.sheet-subtitle { font-size:9pt; }
 .identity-grid,.notes-grid { grid-template-columns:1fr 1fr; gap:12px 18px; }
 .sheet-field label { font-size:10pt; margin-bottom:4px; }
 .field-control { background:#fff; min-height:26px; padding:4px; font-size:10pt; }
 .js-ready .field-control { display:none; }
 .js-ready .print-value { display:block; min-height:26px; padding:4px 0; border-bottom:1px solid #aaa; white-space:pre-wrap; overflow-wrap:anywhere; }
 .notes-grid .print-value { min-height:70px; }
 .care-records,.task-fields { margin:18px 0; }
 .handoff-sheet legend { font-size:12pt; margin-bottom:5px; }
 .care-row { grid-template-columns:70px 1fr 1.7fr; gap:12px; padding:10px 0; }
 .care-row h3 { grid-column:auto; font-size:10pt; margin:0 0 5px; }
 .task-entry { margin:8px 0; }
 .task-entry input[type="checkbox"] { margin-bottom:6px; width:17px; height:17px; }
 .sheet-footnote { font-size:9pt; margin:17px 0 0; }
 .print-footer { display:block; font-size:9pt; margin:14px 0 0; color:#444; }
 .identity-grid,.care-row,.notes-grid,.task-entry { break-inside:avoid; }
}
/* Keep small text and keyboard focus clear against the light page surface. */
body { --mint:#237b6e; }
:focus-visible { outline:3px solid var(--violet); outline-offset:4px; }
.task-entry input[type="checkbox"] { width:24px; height:24px; }
@media print { .task-entry input[type="checkbox"] { width:17px; height:17px; } }
