.family-app{background:#f7f8f8;color:#17232a}.family-head{background:#fff;border-bottom:1px solid #e5e9e9;padding:12px max(20px,calc((100% - 1200px)/2));display:flex;align-items:center;justify-content:space-between}.family-brand{display:flex;align-items:center;gap:10px;text-decoration:none;font:800 18px Manrope,sans-serif}.family-back{color:#465861;text-decoration:none;font-weight:700}.family-main{max-width:1200px;margin:32px auto;padding:0 22px 60px}.family-main>h1{margin:6px 0}.family-lead{color:#62717a;font-size:17px}.family-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0}.family-tabs a{background:#fff;border:1px solid #e0e6e7;border-radius:999px;padding:10px 16px;text-decoration:none;font-weight:700}.family-tabs a:hover,.family-tabs a:focus,.family-tabs a[aria-current=page]{border-color:#d2a900;background:#fff9e8}.family-section{margin-top:20px}.family-hero{display:grid;grid-template-columns:1fr 1fr;background:#fff;border:1px solid #e5e9e9;border-radius:20px;overflow:hidden;box-shadow:0 8px 26px rgba(19,36,42,.06)}.family-hero>img{width:100%;height:310px;object-fit:cover}.family-hero>div{padding:clamp(22px,3vw,38px);align-self:center}.family-hero h2{font-size:32px;margin:8px 0}.family-hero p{color:#62717a;line-height:1.7}.age-selector{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 14px}.age-choice,.prompt-chips button{border:1px solid #d8e0e2;background:#fff;border-radius:999px;padding:10px 15px;font-weight:750;cursor:pointer;color:#33434b}.age-choice.active{background:#ffcf24;border-color:#e5b600;color:#17232a}.age-detail,.age-check-grid article,.teacher-grid article,.teacher-activity,.ask-panel,.resource-cards article{background:#fff;border:1px solid #e5e9e9;border-radius:16px;padding:22px;box-shadow:0 8px 26px rgba(19,36,42,.04)}.age-detail h3{margin-top:0}.age-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.age-check-grid h4{margin:0 0 8px}.age-check-grid ul,.teacher-grid ol,.resource-cards ul{padding-left:20px}.age-check-grid li,.teacher-grid li{margin:8px 0;line-height:1.55}.family-callout,.emergency-banner{margin-top:18px;padding:20px 22px;border-radius:15px;background:#fff6d8;border:1px solid #f0dfa5}.family-callout p,.emergency-banner p{margin:7px 0 0;line-height:1.65}.family-note{color:#62717a;font-size:13px;line-height:1.6;margin-top:18px}.teacher-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0}.teacher-toolbar p{color:#62717a}.teacher-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.teacher-grid h3,.teacher-activity h3{margin-top:0}.teacher-check{display:flex;align-items:flex-start;gap:10px;padding:9px 0;border-top:1px solid #edf0f1;line-height:1.45}.teacher-check input{margin-top:4px;accent-color:#d5a900}.teacher-activity{margin-top:16px}.activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.activity-grid article{background:#f7f8f8;border-radius:12px;padding:15px}.activity-grid p{margin-bottom:0;color:#62717a;line-height:1.55}.ask-panel{max-width:900px;margin:20px auto}.ask-panel label{display:block;font-weight:800;margin-bottom:10px}.prompt-chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.prompt-chips button{font-size:13px;padding:8px 12px}.ask-panel textarea{width:100%;box-sizing:border-box;border:1px solid #ccd5d8;border-radius:12px;padding:14px;font:inherit;resize:vertical;min-height:120px}.ask-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px}.ask-footer button{padding:12px 20px;border:0;border-radius:10px;cursor:pointer;font-weight:800}.ask-answer{white-space:pre-wrap;line-height:1.75;margin-top:18px;padding:20px;background:#f7f8f8;border-radius:12px;border:1px solid #e6ebec}.ask-status-error{color:#a21d2d}.first-aid-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.first-aid-steps article{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid #e5e9e9;border-radius:15px;padding:18px}.first-aid-steps article>span{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:50%;background:#ffcf24;font-weight:900}.first-aid-steps h3{margin:3px 0 7px}.first-aid-steps p{margin:0;color:#62717a;line-height:1.6}.resource-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:18px}.resource-cards h3{margin-top:0}.resource-cards p{line-height:1.65}.family-app [hidden]{display:none!important}@media(max-width:760px){.family-main{margin:20px auto;padding:0 14px 40px}.family-hero{grid-template-columns:1fr}.family-hero>img{height:220px}.family-hero>div{padding:22px}.age-check-grid,.teacher-grid,.resource-cards,.first-aid-steps{grid-template-columns:1fr}.activity-grid{grid-template-columns:1fr}.teacher-toolbar{align-items:flex-start;flex-direction:column}.family-tabs{gap:6px}.family-tabs a{font-size:13px;padding:9px 12px}}@media print{.family-head,.family-tabs,.teacher-toolbar button,.family-note{display:none!important}.family-main{max-width:none;margin:0;padding:0}.family-section[hidden]{display:none!important}.teacher-grid{grid-template-columns:1fr 1fr}.teacher-grid article{break-inside:avoid;box-shadow:none}.teacher-check input{print-color-adjust:exact}}
/* Navegación por una sola sección visible */
.family-section{display:block;scroll-margin-top:24px;margin-top:20px}
.family-tabs a,.family-tabs a:visited,.family-tabs a:hover,.family-tabs a:focus{text-decoration:none!important}
.family-tabs a.active{background:#ffcf24;border-color:#e0b300;color:#17232a}
