/* Desktop completion belongs to the title row; phones retain original footer. */
@media(min-width:769px){
.rs-popup-header-with-actions{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:12px!important}
.rs-popup-header-with-actions>div:first-child{min-width:0;flex:1 1 180px}
.rs-popup-header-actions{display:flex!important;align-items:center!important;gap:8px!important;margin-left:auto!important;flex:0 0 auto!important;background:transparent!important;border:0!important}
.rs-popup .rs-popup-header-actions button{width:auto!important;height:40px!important;min-height:40px!important;max-width:100%!important;flex:0 0 auto!important;padding:0 18px!important;border-radius:999px!important;font-size:15px!important;font-weight:500!important;letter-spacing:0!important;white-space:nowrap!important;box-shadow:none!important;transform:none!important}
.rs-popup .rs-popup-header-actions button:not([data-close]):not([id*=cancel]){background:#8b1515!important;color:#fff!important;border:1px solid #8b1515!important}
.rs-popup .rs-popup-header-actions button:is([data-close],[id*=cancel]){background:#faf8f5!important;color:#44403c!important;border:1px solid #e5dfd5!important}
.rs-popup .rs-popup-header-actions button svg{color:inherit!important;width:17px!important;height:17px!important}
.rs-popup-footer-empty{display:none!important}
#category-management-modal .rs-popup-header-with-actions{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important}
#category-management-modal .rs-popup-header-with-actions>div:first-child{grid-column:1;grid-row:1}
#category-management-modal .rs-popup-header-actions{grid-column:2;grid-row:1}
#category-management-modal .cat-menu-create{grid-column:1/-1;grid-row:2}
}
