/* LP396: category editors retain the existing desktop/mobile layout. */
#lpWorkCustomRole396[hidden]{display:none!important}
.lp-work-form-grid select,.lp-work-form-grid input{min-width:0;max-width:100%}
.lpt-search{grid-template-columns:minmax(150px,2fr) minmax(150px,1.5fr) minmax(140px,1fr) auto}
@media(max-width:760px){.lpt-search{grid-template-columns:1fr}.lpt-search label{min-width:0}.lp-work-form-grid select{width:100%}}

#lpWorkForm .lp-work-intent {border:0; padding:0; margin:0 0 1rem; min-width:0}
#lpWorkForm .lp-work-intent legend {font-weight:700; margin-bottom:.4rem}
#lpWorkForm .lp-work-intent-options {display:flex; flex-wrap:wrap; gap:.5rem}
#lpWorkForm .lp-work-intent-options label {display:inline-flex; align-items:center; gap:.45em; min-height:44px; box-sizing:border-box; padding:.4em .85em; border:1px solid #bac9d6; border-radius:9px; cursor:pointer}
#lpWorkForm .lp-work-intent-options label:has(:checked) {border-color:#ae1939; color:#98142f; background:#fff1f4}
#lpWorkForm .lp-work-intent-options input {width:1.15em; height:1.15em; min-height:0; margin:0; accent-color:#ae1939}
#lpWorkForm .lp-work-form-grid label[hidden] {display:none!important}
