body[data-role="ADMIN"] .order-monitor-table { font-size: 12px; }
body[data-role="ADMIN"] .order-monitor-table td { font-size: 12px; }
body[data-role="ADMIN"] .order-monitor-order-table { min-width: 0; }
body[data-role="ADMIN"] .order-monitor-table.order-monitor-racing-records :is(th, td) {
  height: 34px;
  padding: 6px 7px;
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
  vertical-align: middle;
}
body[data-role="ADMIN"] .order-monitor-racing-records th { white-space: nowrap; }
body[data-role="ADMIN"] .order-monitor-racing-records td.number { text-align: right; }
body[data-role="ADMIN"] .order-monitor-racing-records .table-primary-link { width: 100%; min-height: 22px; justify-content: center; }
body[data-role="ADMIN"] .order-monitor-racing-records .order-record-text { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body[data-role="ADMIN"] .order-monitor-racing-records td.number { overflow-wrap: normal; }
body[data-role="ADMIN"] .order-monitor-table th {
  height: 38px;
  padding: 6px 7px;
  font-size: 14px;
  line-height: 1.35;
  white-space: normal;
}
body[data-role="ADMIN"] .order-monitor-filters { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); align-items: end; }
body[data-role="ADMIN"] .order-monitor-date-fields,
body[data-role="ADMIN"] .order-monitor-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; min-width: 0; }
body[data-role="ADMIN"] .order-monitor-date-fields,
body[data-role="ADMIN"] .order-monitor-product-filters { grid-column: 1 / -1; min-width: 0; }
body[data-role="ADMIN"] .order-monitor-filters [hidden] { display: none !important; }
body[data-role="ADMIN"] .order-monitor-filters input,
body[data-role="ADMIN"] .order-monitor-filters select { width: 100%; min-width: 0; }
body[data-role="ADMIN"] .order-monitor-product-filters summary { cursor: pointer; padding: 8px 0; }
@media (max-width: 600px) {
  body[data-role="ADMIN"] .order-monitor-date-fields,
  body[data-role="ADMIN"] .order-monitor-product-grid { grid-template-columns: minmax(0, 1fr); }
}
body[data-role="ADMIN"]:has(.order-monitor-detail-backdrop) { overflow: hidden; }
body[data-role="ADMIN"] .order-monitor-detail-backdrop { overflow: hidden; overscroll-behavior: contain; }
body[data-role="ADMIN"] .order-monitor-detail-modal {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  height: min(860px, calc(100dvh - 28px));
  min-height: 0;
  max-height: calc(100dvh - 28px);
  overflow: hidden;
}
body[data-role="ADMIN"] .order-monitor-detail-modal .order-monitor-detail-body { min-height: 0; overflow: auto; overscroll-behavior: contain; }
body[data-role="ADMIN"] .order-monitor-detail-modal .modal-actions { position: static; }
body[data-role="ADMIN"] .order-monitor-detail-summary { grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--surface); }
body[data-role="ADMIN"] .order-monitor-detail-head { min-width: 0; }
body[data-role="ADMIN"] .order-monitor-detail-head h2 { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  body[data-role="ADMIN"] .order-monitor-detail-modal { width: 100%; height: 100dvh; max-height: 100dvh; }
  body[data-role="ADMIN"] .order-monitor-detail-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
