.child-hero{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:32px;align-items:center;margin:24px 0}.child-illustration{max-width:100%;object-fit:contain}.child-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.child-badge{font-size:.8rem;letter-spacing:.03em;color:var(--text-muted,inherit)}.child-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:28px 0}.child-sections a{padding:14px;text-align:center;text-decoration:none;border:1px solid var(--line,#8b9e98);border-radius:12px;min-height:48px;color:inherit}.child-fieldset,.child-entry,.child-history{min-width:0;border:1px solid var(--line,#8b9e98);border-radius:14px;margin:20px 0;padding:20px}.child-fieldset legend{padding:0 8px;font-weight:600}.child-fields{margin:20px 0}.child-entry summary{display:flex;flex-direction:column;gap:10px}.child-entry small{font-weight:400;opacity:.8}.child-chart{margin:24px 0}.child-chart svg{display:block;width:100%;max-width:650px;background:#eef4f0;border-radius:14px;color:#173d35}.child-chart text{fill:#173d35;font:12px Arial,sans-serif}.child-axis{fill:none;stroke:#789d8f;stroke-width:1}.child-line{fill:none;stroke:#173d35;stroke-width:3}.child-chart figcaption{margin-top:12px;line-height:1.6}.child-print-entry{border-bottom:1px solid #bdccc5;padding:16px 0}body .child-sections a:hover{background:var(--surface,#edf4ef)}@media(max-width:600px){.child-hero{grid-template-columns:1fr;gap:16px}.child-illustration{width:140px;height:140px;justify-self:center}.child-cards{grid-template-columns:1fr}.child-sections{grid-template-columns:repeat(2,minmax(0,1fr))}.child-fieldset,.child-entry,.child-history{padding:16px}.child-entry summary{overflow-wrap:anywhere}.child-sections a{overflow-wrap:anywhere}}@media print{.child-print-entry{break-inside:avoid}.child-chart{break-inside:avoid}.child-chart svg{max-width:450px}}

/* A compact illustrated cover leaves the records and actions close at hand. */
.child-workspace{min-width:0}
.child-workspace .child-hero{grid-template-columns:minmax(0,1fr) 160px;column-gap:32px;row-gap:20px;padding:32px;margin:0 0 28px;border:1px solid var(--line);border-radius:24px;background:var(--mb-info-surface,#eaf1ee)}
.child-hero-heading{grid-column:1;grid-row:1;min-width:0}
.child-hero-heading .eyebrow{margin-bottom:14px;color:var(--mb-muted,#52675e);font-size:.75rem;line-height:1.5;letter-spacing:.15em}
.child-workspace .child-hero h1{max-width:20ch}
.child-workspace .child-hero .clinical-lead{grid-column:1;grid-row:2;max-width:58ch;font-size:1rem;margin:0}
.child-workspace .child-illustration{grid-column:2;grid-row:1 / span 2;width:160px;height:160px;justify-self:center}
.child-library h2{margin-bottom:22px}
.child-record-link{padding:24px;gap:12px;border-radius:18px;background:var(--mb-background,#f6f3ea);transition:border-color .18s,background-color .18s}
.child-record-link:hover{border-color:var(--mb-primary,#163f3c);background:var(--mb-info-surface,#eaf1ee)}
.child-record-link strong{font-family:var(--mb-font-title,inherit);font-size:1.15rem;line-height:1.4;overflow-wrap:anywhere}
.child-record-link .child-badge{justify-self:start;border:1px solid var(--line);border-radius:100px;padding:5px 10px;color:var(--mb-muted,#52675e)}
.child-record-link>span:last-child{margin-top:6px;font-weight:600;color:var(--mb-primary,#163f3c)}
.child-empty{max-width:48ch;color:var(--mb-muted,#52675e);padding:4px 0 12px}
.child-create>summary{padding:8px 0;line-height:1.5;color:var(--mb-primary,#163f3c)}
.child-signin>p{max-width:58ch;color:var(--mb-muted,#52675e)}
.child-workspace .clinical-notice{font-size:.9rem}
@media(max-width:600px){.child-workspace .child-hero{grid-template-columns:minmax(0,1fr) 76px;padding:24px 20px;gap:20px 12px;margin-bottom:24px;border-radius:20px}.child-workspace .child-hero h1{font-size:1.8rem;line-height:1.25}.child-hero-heading .eyebrow{font-size:.65rem;letter-spacing:.1em;line-height:1.6}.child-workspace .child-illustration{grid-row:1;width:76px;height:90px;align-self:center}.child-workspace .child-hero .clinical-lead{grid-column:1 / -1;grid-row:2;font-size:.95rem;line-height:1.7}.child-record-link{padding:20px}.child-create>summary{font-size:1.1rem}.child-workspace .child-signin .primary{white-space:normal}}
@media(prefers-reduced-motion:reduce){.child-record-link{transition:none}}

@media(max-width:600px){.child-workspace .child-hero{position:relative;grid-template-columns:minmax(0,1fr)}.child-hero-heading{grid-column:1}.child-hero-heading .eyebrow{min-height:52px;padding-right:76px;margin-bottom:16px}.child-workspace .child-illustration{position:absolute;grid-column:auto;grid-row:auto;max-width:none;top:24px;right:20px;width:64px;height:64px}.child-workspace .child-hero .clinical-lead{grid-column:1}}
