/* Pen-written titles and teaching annotations; prose, UI and KaTeX stay typeset. */
.hand,.brand,.hero h1,.page-title,.lesson-heading h1,.section-heading h2,
.explanation h2,.quiz h2,.method h2,.login-intro h1,.admin-main h1,
.sidebar-inner h3,.lesson-card h3,.explain-step h3{font-family:Notebook,serif;font-weight:400;font-synthesis:none}
.lesson-card h3{font-size:18px;line-height:1.65}
.explain-step h3{font-size:21px;line-height:1.6;margin-bottom:9px;color:#3f536f}
.science-observation,.movement-copy,.misconception p{font-family:Notebook,serif;font-size:17px;line-height:1.85;color:#526887}
.science-legend,.lab-legend,.bio-stages button{font-family:Notebook,serif;font-size:14px}
.science-svg text,.diagram svg text{font-family:Notebook,serif}
.hero-paper .paper-bottom .hand{font-size:17px}.hero-note{font-size:18px}
.science-compact .science-legend,.math-lab-compact .lab-legend{font-size:12px}
.science-readout b,.lab-range output,.plot-axis{font-family:Georgia,serif}
@media(max-width:760px){.lesson-card h3{font-size:17px}.explain-step h3{font-size:20px}.science-observation,.movement-copy,.misconception p{font-size:16px}.science-legend,.lab-legend,.bio-stages button{font-size:12px}.hero-note,.hero-paper .paper-bottom .hand{font-size:16px}}
/* Symbols have no handwriting requirement; avoid requesting full CJK font for a symbol outside its cmap. */
.subject-symbol{font-family:Georgia,'Segoe UI Symbol',sans-serif}
.science-intro>.bio-title{display:block;font-family:Notebook,serif;font-size:26px}
@media(max-width:760px){.science-intro>.bio-title{font-size:23px}}

/* Readable teaching annotations, including when the diagrams shrink on phones. */
.science-observation,.lab-observation .movement-copy,.misconception p{font-size:20px;line-height:1.85;color:#354c70}
.explain-step h3{font-size:23px;color:#304867}
.science-intro>.bio-title{color:#354c70}
.science-legend,.lab-legend,.bio-stages button{font-size:16px;color:#405775}
.science-legend,.lab-legend{flex-wrap:wrap;row-gap:8px}
.lab-legend .drag-hint,.math-lab-full .vertex-note{color:#405775;font-size:17px}
.science-legend .axis-caption{font-size:12px;color:#536580}
.bio-stages button.selected{color:#294d81;border-color:#536e98}
.diagram-caption{font-size:20px;line-height:1.7;color:#354c70;text-align:center;min-height:34px;margin:0 0 10px}
.chemistry-svg text{font-size:18px;fill:#354c70}
.science-readout{font-size:13px;color:#536580}.science-readout b{font-size:16px;color:#354c70}
.science-parameters label,.science-check{font-size:13px;color:#405775}
.science-details,.science-details p{font-size:13px;color:#536580}
.science-compact .diagram-caption{font-size:16px}
.science-compact .science-legend,.math-lab-compact .lab-legend{font-size:14px}
@media(max-width:760px){
 .science-observation,.lab-observation .movement-copy,.misconception p{font-size:19px;line-height:1.8}
 .explain-step h3{font-size:22px;line-height:1.65}
 .science-legend,.lab-legend,.bio-stages button{font-size:15px}
 .bio-stages{gap:15px;flex-wrap:wrap}.bio-stages button span{margin-right:5px}
 .diagram-caption{font-size:18px;line-height:1.75;min-height:32px}
 .chemistry-svg text{font-size:20px}
 .science-readout{font-size:12px;gap:12px}.science-readout b{font-size:16px}
 .science-legend .axis-caption{font-size:12px}
 .lab-legend .drag-hint{font-size:15px;margin-left:0}
 .science-parameters label,.science-check{font-size:13px}
}
