.children-age-filter{margin:1.25rem 0;padding:1.1rem;border:1px solid #b6c6cf;border-radius:14px;background:#f5f9fb;color:#173449}
.children-age-filter h2{font-size:1.15rem;margin:0 0 .65rem}
.children-age-filter p{font-size:.9rem;line-height:1.5;margin:.65rem 0}
.children-age-filter__choices,.children-age-filter__actions{display:flex;flex-wrap:wrap;gap:.65rem;align-items:center}
.children-age-filter__choices label{display:flex;align-items:center;gap:.5rem;border:1px solid currentColor;border-radius:9px;padding:.65rem .8rem;cursor:pointer;max-width:100%;box-sizing:border-box}
.children-age-filter input[type=checkbox]{width:1.1rem;height:1.1rem;accent-color:#17617a;flex-shrink:0}
.children-age-filter label:has(:checked){background:#d8ecf5;font-weight:700}
.children-age-filter label:has(:disabled){opacity:.6;cursor:default}
.children-age-filter__actions{margin-top:.85rem}
.children-age-filter__actions a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.children-age-filter :focus-visible{outline:3px solid #b17d00;outline-offset:4px}
html.front-theme-dark .children-age-filter{background:#102838;color:#edf6fb;border-color:#6b8795}
html.front-theme-dark .children-age-filter label:has(:checked){background:#23485b}
html.front-theme-dark .children-age-filter input[type=checkbox]{accent-color:#9edcf2}

/* Compact actions, with explicit colours in both themes. */
.children-age-filter__actions button[type=submit]{appearance:none;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:auto;max-width:100%;min-height:44px;box-sizing:border-box;padding:.65rem 1.15rem;border:1px solid #17617a;border-radius:9px;background:#17617a;color:#fff;font:inherit;font-weight:650;line-height:1.4;text-align:center;white-space:normal;cursor:pointer;box-shadow:0 2px 4px rgb(16 40 56 / 12%)}
.children-age-filter__actions button[type=submit]:hover{background:#104b61;border-color:#104b61}
.children-age-filter__actions button[type=submit]:active{background:#0d3b4c;box-shadow:none}
.children-age-filter__actions a{display:inline-flex;align-items:center;min-height:44px;max-width:100%;line-height:1.5;overflow-wrap:anywhere}
.children-age-filter__actions a:hover{text-decoration-thickness:2px}
html.front-theme-dark .children-age-filter__actions button[type=submit]{background:#9edcf2;border-color:#9edcf2;color:#071923;box-shadow:none}
html.front-theme-dark .children-age-filter__actions button[type=submit]:hover{background:#c2edfc;border-color:#c2edfc}
html.front-theme-dark .children-age-filter__actions button[type=submit]:active{background:#7fc5df;border-color:#7fc5df}
html.front-theme-dark .children-age-filter :focus-visible{outline-color:#fdc300}
@media(max-width:480px){.children-age-filter{padding:.85rem}.children-age-filter__actions{gap:.35rem 1rem}}
