#dialog.branch-order-dialog854{width:min(720px,calc(100vw - 32px));max-width:720px;padding:0;overflow:hidden}
#dialog.branch-order-dialog854 #dialog-body{padding:0}
#dialog.branch-order-dialog854 .branch-order-content854{padding:22px 24px 24px}
#dialog.branch-order-dialog854 .branch-order-intro854{margin:0 0 18px;color:#526d88;font-size:14px;line-height:1.5}
#dialog.branch-order-dialog854 #branch-order-list854{border:1px solid #cbd9e8;border-radius:5px;overflow:hidden}
#dialog.branch-order-dialog854 .branch-order-row854{display:flex;align-items:center;gap:14px;min-height:58px;padding:12px 16px;background:#fff}
#dialog.branch-order-dialog854 .branch-order-row854+.branch-order-row854{border-top:1px solid #dbe5ef}
#dialog.branch-order-dialog854 .branch-order-row854:nth-child(even){background:#f4f7fb}
#dialog.branch-order-dialog854 .branch-order-number854{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:4px;background:#e3eef9;color:#245d9c;font-size:14px;font-weight:700}
#dialog.branch-order-dialog854 .branch-order-row854>strong{flex:1;color:#173c60;font-size:15px}
#dialog.branch-order-dialog854 .branch-order-moves854{display:flex;align-items:center;gap:6px;min-width:34px;justify-content:flex-end}
#dialog.branch-order-dialog854 .branch-order-moves854 button{display:grid;place-items:center;width:34px;height:34px;min-height:34px;padding:0;background:#fff;color:#173c60;border:1px solid #b9cce0;border-radius:5px;font-size:18px;line-height:1}
#dialog.branch-order-dialog854 .location-footer736{margin:0;padding:18px 24px;background:#f3f6fa;border-top:1px solid #d5e0eb}
#dialog.branch-order-dialog854 .location-footer736 button{min-height:42px}
#dialog.branch-order-dialog854 .location-footer736 .primary{display:inline-flex;align-items:center;gap:8px}
#dialog.branch-order-dialog854 .location-footer736 .primary svg{width:18px;height:18px;flex:0 0 18px}
@media(max-width:520px){#dialog.branch-order-dialog854 .branch-order-content854,#dialog.branch-order-dialog854 .location-footer736{padding-left:16px;padding-right:16px}}

/* Mirror the dimensions of the standard “Dodaj filię” dialog exactly. */
html body #dialog.branch-order-dialog854{width:min(720px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important}
html body #dialog.branch-order-dialog854 .modal-head446{min-height:84px!important;padding:24px!important;margin:0!important;box-sizing:border-box}
html body #dialog.branch-order-dialog854 .branch-order-content854{padding:22px 24px 24px!important}
html body #dialog.branch-order-dialog854 .location-footer736{min-height:76px!important;margin:0!important;padding:16px 20px!important;background:#f3f6fa!important;border-top:1px solid #d5e0eb!important;box-sizing:border-box}
html body #dialog.branch-order-dialog854 .location-footer736 button{height:44px!important;min-height:44px!important;padding:10px 16px!important}
#dialog:has(.preschool-link-body867){padding:0!important;width:min(620px,calc(100vw - 32px));max-width:620px}
#dialog:has(.preschool-link-body867) .modal-head446{margin:0;padding:18px 24px;min-height:64px}
#dialog:has(.preschool-link-body867)>#dialog-close{display:none}
.preschool-link-body867{padding:24px}.preschool-link-body867>p{margin:0 0 16px}.preschool-link-body867 label{margin:0 0 16px;color:#173c60}.preschool-link-body867 input{margin-top:7px}.preschool-link-body867 [role=status]{margin:0;color:#245d73}.preschool-link-body867+.location-footer736{padding:16px 24px;display:flex;justify-content:flex-end;gap:10px;background:#eef3f8;border-top:1px solid #c7d6e8;flex-wrap:wrap}
#main .location-menu199 [data-preschool-link867]{display:flex;align-items:center;gap:8px}
#main .location-menu199 [data-preschool-link867]>svg{display:block;width:18px;height:18px;flex:0 0 18px}
html body #dialog:has(.preschool-link-body867) .location-footer736{min-height:76px!important;margin:0!important;padding:16px 24px!important;background:#f3f6fa!important;border-top:1px solid #d5e0eb!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;flex-wrap:wrap!important}
html body #dialog:has(.preschool-link-body867) .location-footer736 button{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:44px!important;min-height:44px!important;padding:10px 16px!important;margin:0!important;border-radius:5px!important;font-size:14px!important;line-height:1.4!important}
@media(max-width:520px){html body #dialog:has(.preschool-link-body867) .location-footer736{padding:16px!important}}
