/* Règles de placement (Coin du bureau, onglet « regles ») : formulaire par groupes de règles. */

.bu-regle-groupe{border:1px solid #e5e7eb;border-radius:10px;padding:10px 14px 14px;margin:0 0 12px;min-width:0}
.bu-regle-groupe legend{font-size:13px;font-weight:700;color:#1e3a5f;padding:0 6px}
.bu-regle-groupe .bu-grid{margin-top:4px}
#bu-tab-regles .bu-field label.bu-regle-choix{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:400;color:#1f2937;min-height:36px;cursor:pointer}
#bu-tab-regles .bu-field input[type=number]{max-width:160px}
.bu-regles-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
#bu-regles-notice{margin-top:4px}
#bu-regles-notice .bu-notice-ok,#bu-regles-notice .bu-notice-err{margin-bottom:8px}

@media (max-width:720px){
    .bu-regles-actions .bu-btn-save{flex:1 1 100%}
    #bu-tab-regles .bu-field input[type=number]{max-width:none}
}
