/* F13: all cards remain in the DOM; collapsed professions hide only the tail. */
#bd_grid>[data-bd=yrke]{grid-column:1/-1;min-height:48px}@media(max-width:759px){#bd_grid>button:nth-child(9):nth-last-child(2){grid-column:1/-1}}#bd_grid>[data-bd=alla]{display:none}html[data-yrke=snickare] #bd_grid>[data-bd=alla],html[data-yrke=tak] #bd_grid>[data-bd=alla]{display:block}html[data-yrke]:not([data-alla]) #bd_grid>[data-bd=alla]~button{display:none}html[data-yrke=projekt] #bd_grid>[data-bd=alla]~button{display:block}#jobs[data-yrkesval] .job span{display:block}
#jobs>[data-yrke-till]{min-height:44px}
/* F13: reserve the profession row before the parser-blocking task script arrives. */
#bd_grid>[data-bd=yrke],#bd_grid:not(:has(>[data-bd=yrke]))::after{min-height:76px}#bd_grid:not(:has(>[data-bd=yrke]))::after{content:"";display:block;grid-column:1/-1}
