.sales-page{min-width:0;max-width:100%}.sales-filters{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin-bottom:16px}.sales-filters label{min-width:130px;flex:1 1 150px;margin:0}.sales-filters label:has([name=q]){flex:2 1 230px}.sales-filters input,.sales-filters select{height:46px;width:100%;border:1px solid var(--border,#d9d9d9);border-radius:12px;padding:8px 12px}.sales-filters .btn{min-height:46px;white-space:nowrap}.sales-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}.sales-kpis article{min-width:0;background:#fff;border:1px solid #ddd;border-radius:12px;padding:12px}.sales-kpis small{display:block;color:#555}.sales-kpis strong{display:block;font-size:21px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.sales-note{font-size:13px;line-height:1.6;color:#555;margin:12px 0}.sales-grid{width:100%;max-width:100%;overflow:auto;max-height:64vh;border:1px solid #ddd;border-radius:12px;direction:rtl;background:#fff}.sales-grid table{border-collapse:separate;border-spacing:0;min-width:1680px;width:100%;font-size:14px;margin:0}.sales-grid th{position:sticky;top:0;background:#f5f5f5;z-index:1;white-space:nowrap}.sales-grid th,.sales-grid td{padding:9px 10px;border-bottom:1px solid #e7e7e7;text-align:right;vertical-align:middle;line-height:1.4}.sales-grid th button{background:transparent;border:0;padding:4px;min-height:44px;font:inherit;font-weight:700;color:inherit;cursor:pointer}.sales-grid tbody tr:nth-child(even){background:#fafafa}.sales-grid td.sales-money{direction:ltr;text-align:end;unicode-bidi:isolate;white-space:nowrap;font-variant-numeric:tabular-nums}.sales-grid td.sales-count{text-align:center}.sales-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:14px;margin:14px 0}.sales-pagination .btn{min-height:44px;min-width:90px}.sales-segments{display:flex;gap:10px;flex-wrap:wrap;border:0;margin:12px 0;padding:0}.sales-segments .btn,.sales-segments>label{flex:1 1 120px;min-height:48px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #ccc;border-radius:12px;padding:10px;font-weight:700;cursor:pointer}.sales-segments>label:has(:checked),.sales-segments .active{background:#222;color:#fff;border-color:#222}.sales-segments legend{font-size:14px;font-weight:700}.sales-takeaway{display:grid;gap:12px;min-width:0}.sales-takeaway input:not([type=radio],[type=checkbox]),.sales-takeaway textarea{width:100%;min-height:48px;border-radius:12px;padding:10px 12px;min-width:0}.sales-takeaway [name=phone]{font-size:20px}.sales-takeaway label>span{display:block;margin-bottom:5px}.sales-takeaway #delivery-fields{min-width:0}.sales-takeaway #delivery-fields[hidden]{display:none}.sales-update-address{display:flex;align-items:center;gap:10px;min-height:44px}.sales-update-address input{width:20px;height:20px}.sales-takeaway #customer-lookup-state{margin:0;font-size:14px}.sales-takeaway #customer-lookup-options{display:flex;gap:8px;flex-wrap:wrap}.sales-takeaway small{display:block;font-size:13px;line-height:1.5;margin-top:6px}.sales-payment #settlement-error{color:#a52828;line-height:1.5}.sales-details{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px}.sales-details dd{margin:0;overflow-wrap:anywhere}@media(max-width:820px){.sales-filters label{flex-basis:calc(50% - 10px);min-width:0}.sales-filters label:has([name=q]){flex-basis:100%}.sales-kpis{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.sales-grid{max-height:60vh}.sales-segments{gap:6px}.sales-segments .btn,.sales-segments>label{flex-basis:90px}.sales-takeaway .modal-actions{position:sticky;bottom:0}}@media(max-width:450px){.sales-filters label{flex-basis:100%}.sales-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}

#modal .modal-body:has(.sales-takeaway) .modal-actions .btn{min-height:48px}

#modal .sales-segments>label{display:flex!important;flex-direction:row!important;align-items:center;color:#222!important;min-height:48px}#modal .sales-segments>label:has(:checked){color:#fff!important}#modal .sales-segments>label input[type=radio]{width:22px!important;height:22px!important;min-height:22px!important;margin:0;flex:0 0 22px}#modal .sales-update-address{display:flex!important;flex-direction:row!important;align-items:center}#modal .sales-update-address input{width:22px!important;height:22px!important;min-height:22px!important;flex:0 0 22px}

.closed-reprint-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.closed-reprint-actions .btn{min-height:44px;max-width:100%;white-space:normal}

/* Derived review state: neutral, separate from rush/cancel/error. */
.stale-review-badge{display:inline-block;background:#eef1f3;color:#475569;border:1px solid #dbe1e7;border-radius:8px;padding:4px 7px;font-size:12px;line-height:1.4}
.stale-review-age{color:#475569;font-size:13px;margin:6px 0}
.stale-kitchen-note{color:#526071;background:#f4f6f8;border-radius:8px;padding:8px;font-size:13px;line-height:1.5;margin:6px 0}
.stale-review-actions{display:flex;justify-content:flex-end;margin-top:6px}.stale-review-actions .btn{min-height:44px}
.v9911-orders-toolbar .tabs{flex-wrap:wrap;max-width:100%}.v9911-orders-toolbar .tab{min-height:44px}
.sales-order-notes{margin:12px 0;padding:12px 16px;border:1px solid #e5e1d7;border-radius:12px;background:#fff}.sales-order-notes p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}.sales-takeaway #customer-lookup-options{display:grid;gap:6px}.sales-takeaway #customer-profile-actions{display:grid;gap:7px;margin:10px 0}
.sales-takeaway #customer-profile-actions[hidden],#modal .sales-takeaway #customer-address-action[hidden]{display:none!important}
.sales-takeaway input:not([type=radio],[type=checkbox]),.sales-takeaway textarea{border:1px solid #6d665a;background:rgba(255,255,255,.06);color:inherit}.sales-takeaway input:focus,.sales-takeaway textarea:focus{outline:2px solid #b79339;outline-offset:1px}
