html:root.orders-crystal[data-orders-theme] body :is(.dialog,.orders-dialog,#dialog-content) :is(.modal-footer,.dialog-footer) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
html:root.orders-crystal[data-orders-theme] body :is(.dialog,.orders-dialog,#dialog-content) :is(.modal-footer,.dialog-footer)::before,
html:root.orders-crystal[data-orders-theme] body :is(.dialog,.orders-dialog,#dialog-content) :is(.modal-footer,.dialog-footer)::after { content:none !important; }
html:root.orders-crystal[data-orders-theme] body :is(#dialog-content,#page-content) .data-table thead,
html:root.orders-crystal[data-orders-theme] body :is(#dialog-content,#page-content) .data-table th {
  color:var(--ink) !important;
  background:var(--orders-glass-inset) !important;
  border-color:var(--orders-glass-divider) !important;
}
html:root.orders-crystal[data-orders-theme] body :is(#dialog-content,#page-content) .catalog-type-tabs .status-filter {
  color:var(--ink) !important;
  border-color:transparent !important;
  border-radius:999px !important;
  background:var(--orders-glass-control) !important;
}
html:root.orders-crystal[data-orders-theme] body :is(#dialog-content,#page-content) .catalog-type-tabs .status-filter:is(.active,[aria-pressed="true"]) {
  background:var(--orders-glass-selected) !important;
}

.order-payment-target-card {position:relative;min-width:0;display:flex}
.payment-method-cards .order-payment-target-card .payment-method-card {width:100%;min-width:0;height:auto;touch-action:manipulation;-webkit-touch-callout:none;user-select:none}
.order-payment-target-card:has(.order-payment-target-menu) .payment-method-card {padding-inline-end:48px}
.payment-method-cards .order-payment-target-card .order-payment-target-menu {
  position:absolute;inset-inline-end:4px;top:50%;transform:translateY(-50%);width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;
}
.order-payment-target-card small {text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%}
.order-payment-target-name {margin:12px 0 0;font-weight:600;overflow-wrap:anywhere}
[data-payment-target-settings] form:not([hidden]) {display:grid;gap:8px}
[data-payment-target-settings] form .button {justify-self:start;margin-top:6px}
[data-payment-target-settings] form select {width:100%;min-width:0}
[data-payment-target-settings] form .field-label {margin:6px 0 0}

@media (max-width:760px) {
  html:root.orders-crystal[data-orders-theme] body #dialog-content .modal-footer {
    display:flex;gap:8px !important;flex-wrap:wrap;align-items:stretch;
  }
  html:root.orders-crystal[data-orders-theme] body #dialog-content .modal-footer > :is(.button,button) {
    min-width:0;flex:1 1 0;min-height:44px;max-width:100%;line-height:1.25;white-space:normal;text-wrap:balance;
  }
  html:root.orders-crystal[data-orders-theme] body #dialog-content .modal-footer:has([data-act="manager-shift-save"]):has([data-act="manager-shift-close"]) > [data-act="modal-close"] {display:none}
  html:root.orders-crystal[data-orders-theme] body .order-team-page .team-row {
    background:transparent !important;box-shadow:none !important;border:0 !important;border-bottom:1px solid var(--orders-glass-divider) !important;border-radius:0 !important;
  }
  html:root.orders-crystal[data-orders-theme] body .order-team-page .team-row:is(.active,[aria-pressed="true"],:focus-visible) {
    background:var(--orders-glass-selected) !important;border-radius:14px !important;
  }
  .order-team-page .team-row :is(strong,small) {min-width:0;overflow-wrap:anywhere}

  html:root.orders-crystal body #page-content .inventory-management > summary,
  html:root.orders-crystal body #page-content .mobile-shift-actions > summary,
  html:root.orders-crystal body #page-content .mobile-transaction-filter,
  html:root.orders-crystal body #dialog-content .mobile-stock-picker-filters > summary {
    display:grid !important;place-items:center;min-height:44px !important;min-width:44px !important;width:44px !important;height:44px !important;
    position:relative !important;overflow:hidden;font-size:0 !important;padding:0 !important;border-radius:50% !important;cursor:pointer;list-style:none;
  }
  :is(.inventory-management,.mobile-shift-actions,.mobile-stock-picker-filters) > summary::-webkit-details-marker {display:none}
  html:root.orders-crystal body :is(.inventory-management,.mobile-shift-actions,.mobile-stock-picker-filters) > summary svg:not(.orders-mobile-action-icon),
  html:root.orders-crystal body .mobile-transaction-filter > :not(.orders-mobile-action-icon) {display:none !important}
  :is(.inventory-management,.mobile-shift-actions,.mobile-stock-picker-filters) > summary .orders-mobile-action-icon,
  .mobile-transaction-filter .orders-mobile-action-icon {position:absolute;inset:0;margin:auto;width:20px;height:20px;display:block;pointer-events:none}
  .mobile-shift-actions,.mobile-stock-picker-filters {position:relative;flex:none}
  :is(.mobile-shift-actions,.mobile-stock-picker-filters) > .orders-mobile-menu {
    position:absolute;inset-inline-end:0;top:calc(100% + 6px);z-index:8;
    min-width:min(260px,calc(100vw - 48px));padding:8px;border-radius:16px;
    background:var(--menu-surface,var(--orders-glass-inset));
    border:1px solid var(--orders-glass-divider);box-shadow:var(--orders-glass-contact);
    -webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);
  }
  .orders-mobile-menu > .button {width:100%}
  html:root.orders-crystal body #dialog-content .recipe-picker-filters:has(.mobile-stock-picker-filters) {position:relative;display:block;height:0;margin:0!important;z-index:2}
  .mobile-stock-picker-filters {position:absolute;inset-inline-end:0;top:0}
  #dialog-content .recipe-picker-filters:has(.mobile-stock-picker-filters) + .search-shell {margin-inline-end:52px;width:auto}
  #dialog-content .mobile-stock-picker-filters .catalog-type-tabs {margin:0 0 8px;gap:4px}
  html:root.orders-crystal body #page-content .transactions-filter-disclosure:has(.mobile-transaction-filter) {align-self:center}
  .transactions-filter-fields .transactions-cash-details {grid-column:1/-1;margin:8px 0 0;width:100%;max-width:100%}
  .transactions-tabs {min-width:0}
  .transactions-tabs .button {min-width:0;white-space:normal}
}
