.dept_chart_wrap { position: relative; height: 180px; }
.dept_input_xs   { width: 70px; }
.dept_input_sm   { width: 90px; }
.dept_sel_fiab   { width: auto; min-width: 170px; }

th .tip_icon { margin-left: .3rem; }

.dept_pages { gap: .3rem; align-items: baseline; }
.dept_pg_link { padding: .15rem .4rem; font-size: .82rem; text-decoration: none; color: hsl(var(--muted-foreground)); }
.dept_pg_link:hover { color: hsl(var(--foreground)); }
.dept_pg_cur { padding: .15rem .4rem; font-size: .82rem; font-weight: 700; color: hsl(var(--foreground)); }

@media (max-width: 959px) {
    .dept_chart_wrap { height: 150px; }
    .dept_sel_fiab { min-width: 0; width: 100%; }
    [uk-grid]:has(.dept_sel_fiab) > * { flex: none; width: 100%; }
    [uk-grid]:has(.dept_sel_fiab) > *:has(.dept_sel_fiab) { order: 1; }
    [uk-grid]:has(.dept_sel_fiab) > *:has(.dept_input_sm) { order: 2; }
    [uk-grid]:has(.dept_sel_fiab) > *:has(.dept_input_xs) { width: 50%; order: 3; }
    [uk-grid]:has(.dept_sel_fiab) > *:has(button[type="submit"]) { width: 50%; order: 3; justify-content: flex-end; }
    [uk-grid]:has(.dept_sel_fiab) > .uk-width-expand { display: none; }
}
