.order-repeat-button { white-space: nowrap; }
.order-repeat-dialog {
  width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  padding: 24px; margin: auto; overflow: auto; border-radius: 20px;
  border: 1px solid var(--rus-border); background: var(--rus-bg-elev);
  color: var(--rus-fg); box-shadow: 0 28px 90px rgba(0,0,0,.5);
}
.order-repeat-dialog::backdrop { background: rgba(5,10,22,.75); backdrop-filter: blur(6px); }
.order-repeat-name { display: block; margin: 20px 0 10px; font-size: 18px; overflow-wrap: anywhere; }
.order-repeat-details { padding-left: 20px; display: grid; gap: 7px; overflow-wrap: anywhere; }
.order-repeat-total { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 20px 0 12px; padding-top: 16px; border-top: 1px solid var(--rus-border); font-weight: 700; }
.order-repeat-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.order-repeat-error:empty { display: none; }
.order-repeat-error { margin-top: 14px; color: var(--rus-fg); }
.order-repeat-dialog button:focus-visible { outline: 2px solid var(--rus-accent); outline-offset: 3px; }
.cab-orders-scroll { overflow-x: auto; }
.pal-order__side { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.pal-order__side .order-repeat-button { flex-basis: 100%; }
@media (max-width: 480px) {
  .order-repeat-dialog { padding: 20px; }
  .order-repeat-actions { flex-direction: column-reverse; }
  .order-repeat-actions button { width: 100%; }
}
