/* Keep KET study mode and category selection on a dedicated visible row. */
.fr-word-toolbar:has(> .fr-word-filters:nth-child(2)) > .fr-word-sort:first-child{flex:0 0 100%;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:12px 24px;padding:12px 16px;background:#eaf5fc;border:1px solid #c6e2f3;border-radius:14px}
.fr-word-toolbar:has(> .fr-word-filters:nth-child(2)) > .fr-word-sort:first-child .fr-age-field{max-width:100%;flex-wrap:wrap}
.fr-word-toolbar:has(> .fr-word-filters:nth-child(2)) > .fr-word-sort:first-child .fr-age-control{min-width:0;max-width:100%}
.fr-word-toolbar:has(> .fr-word-filters:nth-child(2)) > .fr-word-sort:first-child .fr-age-trigger{max-width:100%}
.fr-word-toolbar:has(> .fr-word-filters:nth-child(2)) > .fr-word-sort:first-child .fr-age-options{left:0;right:auto;max-width:min(560px,80vw)}
.fr-word-toolbar:has(> .fr-word-filters:nth-child(2)) > .fr-word-sort:first-child .fr-age-options [role=option]{white-space:normal}
