.order-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.order-filters { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; }
.order-filters label { flex: 1; min-width: 180px; }
.order-action { margin: 18px 0; max-width: 680px; }
.order-action label { display: block; margin-bottom: 7px; }
.order-action input, .order-action select, .order-action textarea { max-width: 100%; }
.order-capture { white-space: pre-wrap; overflow-wrap: anywhere; padding: 16px; background: #f3f6f8; color: #263b49; }
.order-history li, .order-mail, .order-refund { padding: 18px 0; border-bottom: 1px solid #dce5ea; }
.order-history p, .order-number, .order-identity, .order-table td, .order-summary, .order-grid p { overflow-wrap: anywhere; }
.order-history { padding-left: 20px; }
.order-table { min-width: 1120px; font-size: 13px; }
.order-table th { background: #edf3f6; vertical-align: middle; }
.order-table th button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px 8px; border: 0; background: transparent; color: #183340; font: inherit; font-weight: 600; text-align: left; }
.order-table th[aria-sort]:not([aria-sort="none"]) { background: #dbeaf2; }
.order-table th form { margin: 0; }
.order-table td { padding: 14px 8px; }
.order-table tbody tr:nth-child(even) { background: #f7fafb; }
.order-table-scroll { border: 1px solid #dce5ea; border-radius: 6px; }
.order-table-toolbar, .order-pagination, .order-page-size { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.order-table-toolbar { justify-content: space-between; margin-top: 24px; }
.order-page-size label, .order-page-size > .btn, .order-pagination form > .btn { margin: 0; }
.order-page-size select { width: auto; }
.order-pagination { margin-top: 20px; }
.order-pagination form { margin: 0; }
.order-pagination [aria-current="page"] { background: #147ca6; color: white; }
.admin-main.admin-main-wide { max-width: none; }
.order-date { min-width: 155px; }
.order-date time { display: block; font-weight: 600; white-space: nowrap; }
.order-purchases { list-style: none; margin: 6px 0; padding: 0; font-size: 13px; line-height: 1.5; }
.order-purchases li + li { margin-top: 5px; }
.order-reference p { overflow-wrap: anywhere; }
.order-identifiers dd { margin-left: 0; overflow-wrap: anywhere; }
.order-identifiers code, .order-payment-history code { white-space: normal; overflow-wrap: anywhere; }
.order-payment-history li + li { margin-top: 14px; }
.order-summary .shop-checkout-line { border-bottom: 1px solid #dce5ea; padding: 12px 0; margin-bottom: 16px; }
.order-action .reauth { margin-top: 22px; }
.refund-status { display: inline-block; padding: 5px 10px; border-radius: 6px; font-weight: 600; font-size: 13px; background: #edf2f5; color: #344e5c; }
.refund-status-full, .refund-status-partial { background: #dff2e7; color: #20583c; }
.refund-status-pending { background: #fff0c7; color: #674300; }
.refund-status-unknown, .refund-status-failed { background: #fbe3e1; color: #842f2a; }
.order-refund-cell { min-width: 185px; }
.order-refund-cell small { margin-top: 5px; }
.order-money-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.order-money-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 22px 0; }
.order-money-grid div { padding: 16px; background: #f3f6f8; border-radius: 8px; }
.order-money-grid dt { font-size: 13px; font-weight: 400; line-height: 1.5; }
.order-money-grid dd { font-size: 21px; font-weight: 650; margin: 8px 0 0; overflow-wrap: anywhere; }
.refund-message { padding: 16px; border-left: 4px solid #ad7600; background: #fff7df; }
@media (max-width: 1100px) { .order-money-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 750px) {
    .order-refund-cell { min-width: 0; }
    .order-money-grid { grid-template-columns: minmax(0, 1fr); }
    .order-grid { grid-template-columns: minmax(0, 1fr); }
    .order-filters { display: grid; }
}

.order-date-presets { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 22px; }
.order-date-presets p { margin: 0 0 4px 12px; font-size: 12px; color: #526873; }
.order-date-presets form { display: flex; border: 1px solid #aebfc9; border-radius: 24px; overflow: hidden; }
.order-date-presets form > .order-date-preset { margin: 0; padding: 7px 13px; border: 0; border-right: 1px solid #aebfc9; border-radius: 0; background: white; color: #183340; font-size: 12px; }
.order-date-presets form > .order-date-preset:last-child { border-right: 0; }
.order-date-presets .order-date-preset[aria-pressed="true"] { background: #147ca6; color: white; }
