/* === deliveryViews.css ===
   Generated by scratchpad/extract_delivery_css.py from
   delivery-design/billing-2.html — LIST view + GRID view rules only.
   Every selector scoped under .dvx-root so it cannot affect any existing
   screen (BillingSkin1 / BillingSkinUsa / etc). Inter font already loaded. */

.dvx-root .delivery-view-inner {
            display: grid;
            grid-template-columns: 40% 35% 25%;
            gap: 0;
            height: 100%;
            align-items: stretch;
        }
.dvx-root .delivery-list-col {
            display: flex;
            flex-direction: column;
            gap: 10px;
            min-height: 0;
            overflow-y: auto;
            padding: 16px 20px 0;   
            background: #FFFFFF;
            position: relative;
        }
.dvx-root .dv-bottom-bar {
            position: sticky;
            bottom: 0;
            display: flex;
            align-items: stretch;
            gap: 0;
            margin: 12px -20px 0;
            padding: 0;
            background: linear-gradient(90deg, #F1F5F9 0%, #FFFFFF 100%);
            border-top: 1px solid #E7EAEE;
            z-index: 3;
            flex-shrink: 0;
        }
.dvx-root .dv-bottom-tab {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            height: 56px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0 8px;
            font-family: 'Inter', sans-serif;
            font-size: 12.5px;
            font-weight: 700;
            color: #4A5568;
            letter-spacing: -0.1px;
            transition: all 0.15s;
        }
.dvx-root .dv-bottom-tab:hover { background: rgba(15,23,42,0.05); color: #0F172A; }
.dvx-root .dv-bottom-tab:active { background: rgba(15,23,42,0.10); }
.dvx-root .dv-bottom-tab svg {
            width: 18px;
            height: 18px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            flex-shrink: 0;
        }
.dvx-root .dv-bottom-tab.primary {
            background: transparent;
            color: #0F172A;
        }
.dvx-root .dv-bottom-tab.primary:hover { background: rgba(15,23,42,0.05); color: #0F172A; }
.dvx-root .dv-bottom-tab.primary svg { stroke-width: 2.6; }
.dvx-root .dv-bottom-divider {
            width: 1px;
            background: #E7EAEE;
            flex-shrink: 0;
        }
.dvx-root .dv-action-row {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 2px 0 12px;
            position: sticky;
            top: 0;
            background: #FFFFFF;
            z-index: 2;
            font-family: 'Inter', sans-serif;
            flex-wrap: wrap;
        }
.dvx-root .dv-hdr-left {
            display: flex;
            align-items: center;
            gap: 8px;
            flex: 1 1 auto;
            min-width: 0;
        }
.dvx-root .dv-hdr-icon {
            width: 38px;
            height: 38px;
            border-radius: 10px;
            background: #E7F7F4;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
.dvx-root .dv-hdr-icon svg {
            width: 18px;
            height: 18px;
            stroke: #10B48F;
            fill: none;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
.dvx-root .dv-hdr-title {
            font-size: 16px;
            font-weight: 800;
            color: #1F2328;
            letter-spacing: -0.4px;
            margin: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            min-width: 0;
        }
.dvx-root .dv-hdr-count {
            display: inline-flex;
            align-items: center;
            padding: 6px 14px;
            background: #FFF0E7;
            color: #E06A3E;
            border: 1.5px solid #FFC4A8;
            border-radius: 999px;
            font-size: 12.5px;
            font-weight: 700;
            white-space: nowrap;
            flex-shrink: 0;
            letter-spacing: -0.1px;
        }
.dvx-root .dv-hdr-right {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-shrink: 0;
            margin-left: auto;
        }
.dvx-root .dv-hdr-select {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            height: 48px;
            padding: 0 14px;
            background: #fff;
            border: 1px solid #E2E8F0;
            border-radius: 10px;
            font-family: 'Inter', sans-serif;
            font-size: 12.5px;
            font-weight: 700;
            color: #1F2328;
            cursor: pointer;
            transition: all 0.15s;
            white-space: nowrap;
        }
.dvx-root .dv-hdr-select:hover {
            background: #F8FAFC;
            border-color: #CBD5E1;
        }
.dvx-root .dv-hdr-select svg {
            width: 14px;
            height: 14px;
            stroke: #4A5568;
            fill: none;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
.dvx-root .dv-hdr-select .chev {
            width: 12px;
            height: 12px;
            stroke: #94A3B8;
        }
.dvx-root .dv-hdr-plus {
            width: 34px;
            height: 34px;
            border-radius: 10px;
            background: #10B48F;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.15s;
            box-shadow: 0 2px 8px rgba(16,180,143,0.28);
            flex-shrink: 0;
        }
.dvx-root .dv-hdr-plus:hover {
            background: #0EA680;
            box-shadow: 0 4px 12px rgba(16,180,143,0.36);
            transform: translateY(-1px);
        }
.dvx-root .dv-hdr-plus:active { transform: translateY(0); }
.dvx-root .dv-hdr-plus svg {
            width: 18px;
            height: 18px;
            stroke: #fff;
            fill: none;
            stroke-width: 2.6;
            stroke-linecap: round;
        }
.dvx-root .delivery-list-col::-webkit-scrollbar { width: 6px; }
.dvx-root .delivery-list-col::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
.dvx-root .delivery-right-col {
            
        }
.dvx-root .delivery-mid-col {
            background: #FFFFFF;
            min-height: 0;
            overflow: hidden;
            order: 3;
            display: flex;
            flex-direction: column;
            font-family: 'Inter', sans-serif;
            border-left: 1px solid #F1F5F9;
            border-right: 1px solid #F1F5F9;
        }
.dvx-root .dvm-empty {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #94A3B8;
            font-size: 12.5px;
            font-weight: 500;
            text-align: center;
            padding: 24px;
        }
.dvx-root .dvm-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 0;
        }
.dvx-root .dvm-head {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px;
            padding: 18px 22px;
            border-bottom: 1px solid #E7EAEE;
            flex-shrink: 0;
        }
.dvx-root .dvm-head-info {
            display: flex;
            flex-direction: column;
            gap: 3px;
            min-width: 0;
            flex: 1;
        }
.dvx-root .dvm-head-info .dvm-lbl {
            font-size: 10px;
            font-weight: 800;
            color: #8A8F99;
            text-transform: uppercase;
            letter-spacing: 0.6px;
        }
.dvx-root .dvm-head-info .dvm-val {
            font-size: 15px;
            font-weight: 800;
            color: #1F2328;
            line-height: 1.25;
        }
.dvx-root .dvm-head-info .dvm-val.sub {
            font-size: 13px;
            font-weight: 700;
            color: #4A5568;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.dvx-root .dvm-body {
            flex: 1;
            overflow-y: auto;
            padding: 18px 22px;
        }
.dvx-root .dvm-title {
            font-size: 11px;
            font-weight: 800;
            color: #8A8F99;
            text-transform: uppercase;
            letter-spacing: 0.6px;
            padding-bottom: 10px;
            border-bottom: 1px solid #F1F5F9;
            margin-bottom: 4px;
        }
.dvx-root .dvm-list {
            display: flex;
            flex-direction: column;
        }
.dvx-root .dvm-row {
            display: flex;
            flex-direction: column;
            gap: 4px;
            padding: 10px 0;
            border-bottom: 1px dashed #E7EAEE;
        }
.dvx-root .dvm-row:last-child { border-bottom: none; }
.dvx-root .dvm-lbl {
            font-size: 10px;
            font-weight: 800;
            color: #8A8F99;
            text-transform: uppercase;
            letter-spacing: 0.6px;
        }
.dvx-root .dvm-val {
            font-size: 12.5px;
            font-weight: 600;
            color: #1F2328;
            line-height: 1.35;
        }
.dvx-root .dvm-val.sub {
            font-size: 12.5px;
            font-weight: 800;
            color: #1F2328;
        }
.dvx-root .dvm-val.bold {
            font-size: 15px;
            font-weight: 800;
            color: #4185F4;
            text-align: right;
        }
.dvx-root .dvm-val.muted { color: #94A3B8; font-weight: 500; }
.dvx-root .dvm-val.status {
            color: #E14848;
            font-weight: 700;
            font-size: 12px;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            align-self: flex-start;
            animation: dvx-dvmStatusFade 1.8s ease-in-out infinite;
        }
.dvx-root .dvm-val.status::before {
            content: '';
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #E14848;
            flex-shrink: 0;
        }
.dvx-root .dvm-val.time-pill {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 5px 10px;
            background: #F1F5F9;
            color: #1F2328;
            border: 1px solid #E2E8F0;
            border-radius: 20px;
            font-size: 11.5px;
            font-weight: 700;
            font-variant-numeric: tabular-nums;
            align-self: flex-start;
        }
.dvx-root .dvm-val.time-pill svg {
            width: 11px;
            height: 11px;
            stroke: #6A6F77;
            fill: none;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            flex-shrink: 0;
        }
.dvx-root .dvm-row.split {
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
        }
.dvx-root .dvm-row.split .dvm-lbl { padding-top: 2px; }
.dvx-root .dvm-row.dvm-row-delivery {
            margin-top: 12px;
            margin-bottom: 12px;
        }
.dvx-root .dvm-rider-phone {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            font-size: 12.5px;
            font-weight: 700;
            color: #4185F4;
            letter-spacing: -0.1px;
            font-variant-numeric: tabular-nums;
            text-decoration: underline;
            text-decoration-color: rgba(65,133,244,0.5);
            text-underline-offset: 3px;
            transition: color 0.12s, text-decoration-color 0.12s;
            align-self: flex-start;
        }
.dvx-root .dvm-rider-phone:hover {
            color: #2A56A8;
            text-decoration-color: #2A56A8;
        }
.dvx-root .dvm-rider-phone svg {
            width: 12px;
            height: 12px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            flex-shrink: 0;
        }
.dvx-root .dvm-track-btn {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 7px 14px;
            background: #FF9772;
            color: #fff;
            border: none;
            border-radius: 20px;
            font-family: 'Inter', sans-serif;
            font-size: 11.5px;
            font-weight: 700;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.15s;
            box-shadow: 0 2px 6px rgba(255,151,114,0.35);
        }
.dvx-root .dvm-track-btn:hover {
            background: #F27F55;
            box-shadow: 0 4px 10px rgba(255,151,114,0.45);
            transform: translateY(-1px);
        }
.dvx-root .dvm-track-btn svg {
            width: 12px;
            height: 12px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2.4;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
.dvx-root .dv2-view-inner {
            height: 100%;
            overflow-y: auto;
            padding: 10px 10px;
            display: flex;
            flex-direction: column;
            gap: 5px;
            font-family: 'Inter', sans-serif;
            background: #F5F7FA;
        }
.dvx-root .dv2-view-head {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            position: sticky;
            top: -10px;
            background: #F5F7FA;
            padding: 10px 0;
            margin: -10px 0 0;
            z-index: 5;
        }
.dvx-root .dv-hdr-select.brand {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 0 16px;
            background: #FFFFFF;
            border-color: #E2E8F0;
            color: #6A6F77;
            transition: all 0.15s ease;
        }
.dvx-root .dv-hdr-select.brand:hover { background: #F8FAFC; border-color: #CBD5E1; }
.dvx-root .dv-hdr-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            flex-shrink: 0;
            background: #CBD5E1;
            transition: all 0.15s ease;
        }
.dvx-root .dv-hdr-select.brand.swiggy.active {
            background: #FFF3E8;
            border-color: #FDD3AA;
            color: #C45A0F;
        }
.dvx-root .dv-hdr-select.brand.swiggy.active .dv-hdr-dot { background: #FC8019; box-shadow: 0 0 0 3px rgba(252,128,25,0.18); }
.dvx-root .dv-hdr-select.brand.swiggy.active:hover { background: #FCE7D0; border-color: #FC8019; }
.dvx-root .dv-hdr-select.brand.zomato.active {
            background: #FDECEE;
            border-color: #F5B1B7;
            color: #B22530;
        }
.dvx-root .dv-hdr-select.brand.zomato.active .dv-hdr-dot { background: #E23744; box-shadow: 0 0 0 3px rgba(226,55,68,0.18); }
.dvx-root .dv-hdr-select.brand.zomato.active:hover { background: #FBD5D8; border-color: #E23744; }
.dvx-root .dv-hdr-select.brand.ubereats.active {
            background: #E8F9EE;
            border-color: #A6E5BE;
            color: #068A48;
        }
.dvx-root .dv-hdr-select.brand.ubereats.active .dv-hdr-dot { background: #06C167; box-shadow: 0 0 0 3px rgba(6,193,103,0.18); }
.dvx-root .dv-hdr-select.brand.ubereats.active:hover { background: #D3F2DF; border-color: #06C167; }
.dvx-root .dv-hdr-select.all-channels.active {
            background: #1F2328;
            border-color: #1F2328;
            color: #FFFFFF;
        }
.dvx-root .dv-hdr-select.all-channels.active svg { stroke: #FFFFFF; }
.dvx-root .dv2-page-ctrl {
            display: inline-flex;
            align-items: stretch;
            height: 48px;
            border: 1px solid #E2E8F0;
            border-radius: 10px;
            background: #FFFFFF;
            overflow: hidden;
        }
.dvx-root .dv2-page-btn {
            width: 44px;
            height: 100%;
            border: none;
            background: transparent;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.12s;
            padding: 0;
            border-right: 1px solid #EEF1F5;
        }
.dvx-root .dv2-page-btn:last-child { border-right: none; }
.dvx-root .dv2-page-btn:hover { background: #F1F5F9; }
.dvx-root .dv2-page-btn:active { background: #E2E8F0; }
.dvx-root .dv2-page-btn svg {
            width: 15px;
            height: 15px;
            stroke: #4A5568;
            fill: none;
            stroke-width: 2.2;
            stroke-linecap: round;
            stroke-linejoin: round;
            transition: stroke 0.12s;
        }
.dvx-root .dv2-page-btn:hover svg { stroke: #1F2328; }
.dvx-root .dv2-card-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 12px;
            align-items: stretch;
        }
/* 1024x768-class screens: 4 cards per row */
@media (max-width: 1120px) {
.dvx-root .dv2-card-grid { grid-template-columns: repeat(4, 1fr); }
}
.dvx-root .dv2-card {
            background: #FFFFFF;
            border: 1px solid #E7EAEE;
            border-radius: 14px;
            padding: 0px 10px 15px;
            display: flex;
            flex-direction: column;
            gap: 8px;
            font-family: 'Inter', sans-serif;
            transition: box-shadow 0.22s, transform 0.22s, opacity 0.22s;
            overflow: hidden;
            position: relative;
            box-shadow: 0 2px 8px rgba(15,23,42,0.04);
        }
.dvx-root .dv2-card::before {
            content: '';
            position: absolute;
            left: 0; right: 0; top: 0;
            height: 1.5px;
            background: #6DCEA5;
        }
.dvx-root .dv2-card:hover {
            box-shadow: 0 10px 30px rgba(15,23,42,0.12);
            transform: translateY(-3px);
        }
.dvx-root .dv2-card.removing {
            opacity: 0;
            transform: scale(0.94) translateY(-2px);
            pointer-events: none;
        }
.dvx-root .dv2-card.purple {
            background: #FFFFFF;
            border-color: #E3D5F9;
        }
.dvx-root .dv2-card.purple::before {
            background: #B8A0EE;
        }
.dvx-root .dv2-card.purple .dv2-card-header {
            background: linear-gradient(180deg, #F7F2FE 0%, #EDE3FB 100%);
            border-bottom: 1px solid #DECEF6;
        }
.dvx-root .dv2-card.red {
            background: #FFFFFF;
            border-color: #F9DDE1;
        }
.dvx-root .dv2-card.red::before {
            background: #EF9BA8;
        }
.dvx-root .dv2-card.red .dv2-card-header {
            background: linear-gradient(180deg, #FCEFF1 0%, #F9E1E5 100%);
            border-bottom: 1px solid #F3C7CD;
        }
.dvx-root .dv2-card-header {
            background: linear-gradient(180deg, #F3FBF7 0%, #E9F6EE 100%);
            margin: 0 -10px 4px;
            padding: 14px 14px;
            border-bottom: 1px solid #D6ECDF;
        }
.dvx-root .dv2-card-head {
            display: grid;
            grid-template-columns: 1fr auto;
            align-items: center;
            gap: 12px;
        }
.dvx-root .dv2-head-left {
            display: flex;
            flex-direction: column;
            gap: 3px;
            min-width: 0;
        }
.dvx-root .dv2-head-num {
            font-size: 9.5px;
            font-weight: 700;
            color: #64748B;
            letter-spacing: 0.7px;
            text-transform: uppercase;
        }
.dvx-root .dv2-head-id {
            font-size: 18px;
            font-weight: 800;
            color: #1F2328;
            letter-spacing: -0.4px;
            line-height: 1.4;
        }
.dvx-root .dv2-head-meta {
            font-size: 11.5px;
            color: #6A6F77;
            font-weight: 600;
        }
.dvx-root .dv2-head-meta .src { color: #1F2328; }
.dvx-root .dv2-head-meta .sep {
            color: #CBD5E1;
            font-weight: 500;
            margin: 0 3px;
        }
.dvx-root .dv2-head-meta .status-txt {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 3px 10px 3px 8px;
            background: #FFFFFF;
            border: 1px solid #D6ECDF;
            border-radius: 12px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 9.5px;
            font-weight: 700;
            color: #3EB47A;
            line-height: 1;
        }
.dvx-root .dv2-head-meta .status-txt::before {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #3EB47A;
            flex-shrink: 0;
            animation: dvx-dvmStatusFade 1.6s ease-in-out infinite;
        }
.dvx-root .dv2-head-right-col {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 8px;
            align-self: center;
        }
.dvx-root .dv2-head-monogram {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: #FFFFFF;
            border: 1.5px solid #FDD3AA;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 8px rgba(252,128,25,0.16);
            overflow: hidden;
            padding: 4px;
            flex-shrink: 0;
        }
.dvx-root .dv2-head-monogram img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
        }
/* a bill with no created timestamp yields an empty lapsed-time chip — hide it */
.dvx-root .dv2-head-timer:empty,
.dvx-root .dc-timer:empty {
            display: none;
        }
.dvx-root .dv2-head-timer {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 3px 10px;
            background: #10B48F;
            color: #FFFFFF;
            border: 1px solid #10B48F;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 700;
            font-variant-numeric: tabular-nums;
            box-shadow: 0 2px 6px rgba(16,180,143,0.28);
        }
.dvx-root .dv2-head-status {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            font-size: 10.5px;
            font-weight: 700;
            color: #E14848;
            animation: dvx-dvmStatusFade 1.8s ease-in-out infinite;
        }
.dvx-root .dv2-head-status::before {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #E14848;
            flex-shrink: 0;
        }
.dvx-root .dv2-source-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }
.dvx-root .dv2-source-lbl {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            font-weight: 700;
            color: #1F2328;
            letter-spacing: -0.1px;
        }
.dvx-root .dv2-items {
            border: 1px solid #EEF1F5;
            border-radius: 10px;
            overflow-y: auto;
            max-height: 172px;
            scrollbar-width: thin;
            scrollbar-color: #94A3B8 #F1F5F9;
            /* scroll shadows: a soft shade appears at the cut-off edge whenever
               more rows are hidden in that direction, and slides away at the
               end of the scroll (local covers ride with the content) */
            background:
                linear-gradient(#FFFFFF 30%, rgba(255,255,255,0)) center top,
                linear-gradient(rgba(255,255,255,0), #FFFFFF 70%) center bottom,
                radial-gradient(farthest-side at 50% 0, rgba(15,23,42,0.3), rgba(15,23,42,0)) center top,
                radial-gradient(farthest-side at 50% 100%, rgba(15,23,42,0.3), rgba(15,23,42,0)) center bottom;
            background-repeat: no-repeat;
            background-size: 100% 36px, 100% 36px, 100% 16px, 100% 16px;
            background-attachment: local, local, scroll, scroll;
        }
.dvx-root .dv2-items::-webkit-scrollbar { width: 6px; }
.dvx-root .dv2-items::-webkit-scrollbar-track { background: #F1F5F9; border-radius: 3px; }
.dvx-root .dv2-items::-webkit-scrollbar-thumb { background: #94A3B8; border-radius: 3px; }
.dvx-root .dv2-items::-webkit-scrollbar-thumb:hover { background: #64748B; }
.dvx-root .dv2-item {
            display: grid;
            grid-template-columns: 22px 1fr auto;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            border-top: 1px solid #EEF1F5;
            font-size: 12.5px;
            color: #1F2328;
        }
.dvx-root .dv2-item:first-child { border-top: none; }
/* addon / combo-component sub-rows tuck under their parent item */
.dvx-root .dv2-item.sub {
            border-top: none;
            padding-top: 0;
            padding-bottom: 5px;
        }
.dvx-root .dv2-item.sub .dv2-item-name {
            font-weight: 500;
            font-size: 10.5px;
            color: #64748B;
        }
.dvx-root .dv2-item.sub .dv2-item-qty {
            padding: 1px 6px;
            min-width: 22px;
            font-size: 10.5px;
            font-weight: 700;
            color: #64748B;
        }
.dvx-root .dv2-item-n {
            font-size: 11px;
            font-weight: 500;
            color: #B8C4D4;
            font-variant-numeric: tabular-nums;
            text-align: left;
            padding-left: 2px;
        }
.dvx-root .dv2-item.sub .dv2-item-n { text-align: right; padding-left: 0; }
.dvx-root .dv2-item-name {
            font-weight: 500;
            font-size: 11.5px;
            color: #1F2328;
            white-space: normal;
            overflow: visible;
            word-break: break-word;
            line-height: 1.35;
        }
/* placeholder rows (Loading… / Tap to load items) hold a single name span —
   let it span the whole row grid instead of squeezing into the 22px № column */
.dvx-root .dv2-item > .dv2-item-name:only-child {
            grid-column: 1 / -1;
        }
.dvx-root .dv2-item-qty {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            justify-self: center;
            padding: 3px 8px;
            min-width: 28px;
            background: #F1F5F9;
            border: 1px solid #E2E8F0;
            border-radius: 10px;
            font-weight: 800;
            font-size: 11.5px;
            color: #1F2328;
            font-variant-numeric: tabular-nums;
        }
.dvx-root .dv2-item-amt {
            font-weight: 600;
            text-align: right;
            font-size: 11.5px;
            color: #1F2328;
            letter-spacing: -0.1px;
            font-variant-numeric: tabular-nums;
        }
.dvx-root .dv2-comments-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }
.dvx-root .dv2-comment {
            padding: 8px 10px;
            border-radius: 8px;
            border: 1px solid;
            display: flex;
            flex-direction: column;
            gap: 3px;
            min-width: 0;
        }
.dvx-root .dv2-comment.bill { background: #F7FAFE; border-color: #DDE7F7; }
.dvx-root .dv2-comment.kot { background: #FEF6EE; border-color: #FBDCB0; }
.dvx-root .dv2-comment-lbl {
            font-size: 9.5px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.6px;
        }
.dvx-root .dv2-comment.bill .dv2-comment-lbl { color: #3A6BC7; }
.dvx-root .dv2-comment.kot .dv2-comment-lbl { color: #C77118; }
.dvx-root .dv2-comment-text {
            font-size: 11px;
            color: #1F2328;
            line-height: 1.35;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
.dvx-root .dv2-rider-box {
            background: #EFF6FF;
            border: 1px solid #C9DAF7;
            border-radius: 10px;
            padding: 8px 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
.dvx-root .dv2-rider-box.unassigned {
            background: #FEF6F7;
            border-color: #F3C7CD;
            justify-content: center;
        }
.dvx-root .dv2-rider-avatar {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: #FFFFFF;
            border: 1px solid #C9DAF7;
            flex-shrink: 0;
        }
.dvx-root .dv2-rider-avatar svg {
            width: 15px;
            height: 15px;
            stroke: #4185F4;
            fill: none;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
.dvx-root .dv2-rider-name {
            font-size: 11px;
            font-weight: 600;
            color: #1F2328;
            min-width: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            flex-shrink: 1;
        }
.dvx-root .dv2-rider-mobile {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 11px;
            font-weight: 600;
            color: #4185F4;
            letter-spacing: -0.1px;
            font-variant-numeric: tabular-nums;
            margin-left: auto;
            flex-shrink: 0;
            text-decoration: underline;
            text-decoration-color: rgba(65,133,244,0.5);
            text-underline-offset: 3px;
            transition: color 0.12s, text-decoration-color 0.12s;
        }
.dvx-root .dv2-rider-mobile:hover {
            color: #2A56A8;
            text-decoration-color: #2A56A8;
        }
.dvx-root .dv2-rider-mobile svg {
            width: 11px;
            height: 11px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            flex-shrink: 0;
        }
.dvx-root .dv2-source-total {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 14px;
            background: linear-gradient(180deg, #475569 0%, #0F172A 100%);
            border: 1px solid #0F172A;
            border-radius: 10px;
            margin-top: auto;
        }
.dvx-root .dv2-source-total-lbl {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 10.5px;
            
            color: #E7EAEE;
            letter-spacing: 0.2px;
        }
.dvx-root .dv2-source-total-lbl::before {
            content: '';
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: #10B48F url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='8' r='4'/><path d='M4 21v-2a4 4 0 014-4h8a4 4 0 014 4v2'/></svg>") center/14px no-repeat;
            flex-shrink: 0;
        }
.dvx-root .dv2-source-total-amt {
            font-size: 16px;
            font-weight: 800;
            color: #6DCEA5;
            letter-spacing: -0.3px;
            font-variant-numeric: tabular-nums;
        }
.dvx-root .dv2-actions {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 8px;
            /* cards stretch to their grid row's height — keep the action row
               pinned to the bottom edge instead of floating after the content */
            margin-top: auto;
        }
.dvx-root .dv2-action {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 10px 12px;
            border-radius: 10px;
            font-family: 'Inter', sans-serif;
            font-size: 12.5px;
            font-weight: 800;
            letter-spacing: 0.4px;
            text-transform: uppercase;
            cursor: pointer;
            border: 1.5px solid;
            transition: all 0.15s;
        }
.dvx-root .dv2-action svg {
            width: 14px; height: 14px;
            stroke: currentColor; fill: none;
            stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
        }
.dvx-root .dv2-action.accept {
            background: #F0FAF5;
            color: #2E8F5F;
            border-color: #B6E2CB;
        }
.dvx-root .dv2-action.accept:hover { background: #E1F4EB; border-color: #3EB47A; color: #26754C; }
.dvx-root .dv2-action.reject {
            background: #FDF3F4;
            color: #B85466;
            border-color: #F3C5CC;
        }
.dvx-root .dv2-action.reject:hover { background: #FBE7EA; border-color: #DC7878; color: #A44050; }
.dvx-root .dv2-action.view {
            background: #F1F5F9;
            color: #4A5568;
            border-color: #CBD5E1;
        }
.dvx-root .dv2-action.view:hover { background: #E2E8F0; border-color: #94A3B8; color: #1F2328; }
.dvx-root .dv2-actions[data-actions="accepted"] {
            grid-template-columns: auto 1fr;
        }
.dvx-root .dv2-action.mark-ready {
            background: #3EB47A;
            color: #FFFFFF;
            border-color: #3EB47A;
            padding: 12px 16px;
            font-size: 13px;
            box-shadow: 0 2px 10px rgba(62,180,122,0.28);
        }
.dvx-root .dv2-action.mark-ready:hover {
            background: #359D6A;
            border-color: #359D6A;
            box-shadow: 0 4px 14px rgba(62,180,122,0.36);
            transform: translateY(-1px);
        }
.dvx-root .dv2-action.mark-ready svg { width: 15px; height: 15px; }
.dvx-root .dv2-reject-back {
            position: fixed;
            inset: 0;
            background: rgba(15,23,42,0.48);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            z-index: 295;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 24px;
            opacity: 0;
            transition: opacity 0.2s ease;
        }
.dvx-root .dv2-reject-back.open { display: flex; opacity: 1; }
.dvx-root .dv2-reject-modal {
            width: 100%;
            max-width: 420px;
            background: #FFFFFF;
            border-radius: 16px;
            padding: 28px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            text-align: center;
            box-shadow: 0 24px 60px rgba(15,23,42,0.28);
            transform: scale(0.94);
            transition: transform 0.22s cubic-bezier(0.32, 0.72, 0.28, 1);
            font-family: 'Inter', sans-serif;
        }
.dvx-root .dv2-reject-back.open .dv2-reject-modal { transform: scale(1); }
.dvx-root .dv2-reject-icon {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: #FDECEF;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 4px;
        }
.dvx-root .dv2-reject-icon svg {
            width: 28px; height: 28px;
            stroke: #DC5A6D;
            fill: none;
            stroke-width: 2.2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
.dvx-root .dv2-reject-title {
            font-size: 18px;
            font-weight: 800;
            color: #1F2328;
            letter-spacing: -0.3px;
        }
.dvx-root .dv2-reject-msg {
            font-size: 13px;
            color: #6A6F77;
            line-height: 1.5;
            max-width: 320px;
        }
.dvx-root .dv2-reject-actions {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            width: 100%;
            margin-top: 12px;
        }
.dvx-root .dv2-reject-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 12px 16px;
            border-radius: 10px;
            font-family: 'Inter', sans-serif;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.15s;
            border: 1.5px solid;
        }
.dvx-root .dv2-reject-btn svg {
            width: 14px; height: 14px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2.4;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
.dvx-root .dv2-reject-btn.cancel {
            background: #FFFFFF;
            color: #1F2328;
            border-color: #E2E8F0;
        }
.dvx-root .dv2-reject-btn.cancel:hover { background: #F1F5F9; border-color: #CBD5E1; }
.dvx-root .dv2-reject-btn.confirm {
            background: #DC5A6D;
            color: #FFFFFF;
            border-color: #DC5A6D;
            box-shadow: 0 2px 8px rgba(220,90,109,0.28);
        }
.dvx-root .dv2-reject-btn.confirm:hover {
            background: #C34557;
            border-color: #C34557;
            box-shadow: 0 4px 12px rgba(220,90,109,0.36);
        }
.dvx-root .dv2-toast {
            position: fixed;
            top: 24px;
            left: 50%;
            transform: translateX(-50%) translateY(-14px);
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 18px;
            background: #1F2328;
            color: #FFFFFF;
            border-radius: 12px;
            font-family: 'Inter', sans-serif;
            font-size: 13px;
            font-weight: 600;
            box-shadow: 0 12px 32px rgba(15,23,42,0.28);
            z-index: 300;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.24s, transform 0.24s cubic-bezier(0.32, 0.72, 0.28, 1);
        }
.dvx-root .dv2-toast.show {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }
.dvx-root .dv2-toast-icon {
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: #DC5A6D;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
.dvx-root .dv2-toast-icon svg {
            width: 12px; height: 12px;
            stroke: #FFFFFF;
            fill: none;
            stroke-width: 3;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
.dvx-root .dv2-toast.reject .dv2-toast-icon { background: #DC5A6D; }
.dvx-root .dv2-toast.success .dv2-toast-icon { background: #3EB47A; }
.dvx-root .dv2-drawer-back {
            position: fixed;
            inset: 0;
            background: rgba(15,23,42,0.42);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            z-index: 290;
            display: none;
            opacity: 0;
            transition: opacity 0.22s ease;
        }
.dvx-root .dv2-drawer-back.open { display: block; opacity: 1; }
.dvx-root .dv2-drawer {
            position: fixed;
            top: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            max-width: 900px;
            background: #FFFFFF;
            z-index: 293;
            display: flex;
            flex-direction: column;
            transform: translateX(105%);
            transition: transform 0.28s cubic-bezier(0.32, 0.72, 0.28, 1);
            box-shadow: -20px 0 60px rgba(15,23,42,0.15);
            border-left: 4px solid #CBD5E1;
            font-family: 'Inter', sans-serif;
        }
.dvx-root .dv2-drawer-two-col {
            display: flex;
            flex: 1;
            min-height: 0;
        }
.dvx-root .dv2-drawer-col-left {
            flex: 1 1 50%;
            min-width: 0;
            display: flex;
            flex-direction: column;
            background: #F5F7FA;
            border-right: 1px solid #E7EAEE;
            min-height: 0;
            order: 1;
        }
.dvx-root .dv2-drawer-col-right {
            flex: 1 1 50%;
            min-width: 0;
            display: flex;
            flex-direction: column;
            background: #FFFFFF;
            min-height: 0;
            order: 2;
        }
.dvx-root .dv2-drawer-left-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 18px 22px;
            background: #FFFFFF;
            border-bottom: 1px solid #E7EAEE;
            flex-shrink: 0;
        }
.dvx-root .dv2-drawer-left-title {
            font-size: 16px;
            font-weight: 800;
            color: #1F2328;
            letter-spacing: -0.2px;
        }
.dvx-root .dv2-drawer-left-body {
            flex: 1;
            overflow-y: auto;
            padding: 16px 20px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            min-height: 0;
        }
.dvx-root .dv2-drawer-left-body::-webkit-scrollbar { width: 6px; }
.dvx-root .dv2-drawer-left-body::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 3px; }
@media (max-width: 860px) {
.dvx-root .dv2-drawer-two-col { flex-direction: column; }
.dvx-root .dv2-drawer-col-left { border-right: none; border-bottom: 1px solid #E7EAEE; }
}
.dvx-root .dv2-drawer.open { transform: translateX(0); }
.dvx-root .dv2-drawer-head {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px;
            padding: 18px 22px;
            border-bottom: 1px solid #E7EAEE;
        }
.dvx-root .dv2-drawer-head-info {
            display: flex;
            flex-direction: column;
            gap: 3px;
            min-width: 0;
            flex: 1;
        }
.dvx-root .dv2-drawer-head-info .dvm-lbl {
            font-size: 10px;
            font-weight: 800;
            color: #8A8F99;
            text-transform: uppercase;
            letter-spacing: 0.6px;
        }
.dvx-root .dv2-drawer-head-info .dvm-val {
            font-size: 15px;
            font-weight: 800;
            color: #1F2328;
            line-height: 1.25;
        }
.dvx-root .dv2-drawer-head-info .dvm-val.sub {
            font-size: 13px;
            font-weight: 700;
            color: #4A5568;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.dvx-root .dv2-drawer-close {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: #F1F5F9;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.12s;
        }
.dvx-root .dv2-drawer-close:hover { background: #E2E8F0; }
.dvx-root .dv2-drawer-close svg {
            width: 16px; height: 16px;
            stroke: #4A5568; fill: none;
            stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
        }
.dvx-root .dv2-drawer-body {
            flex: 1;
            overflow-y: auto;
            padding: 18px 22px;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
.dvx-root .dvm-box {
            background: #FFFFFF;
            border: 1px solid #E7EAEE;
            border-radius: 10px;
            padding: 12px 14px;
            display: flex;
            flex-direction: column;
            gap: 6px;
            margin-bottom: 12px;
        }
.dvx-root .dvm-box:last-of-type { margin-bottom: 0; }
.dvx-root .dvm-box-title {
            font-size: 10.5px;
            font-weight: 800;
            color: #8A8F99;
            text-transform: uppercase;
            letter-spacing: 0.6px;
            padding-bottom: 6px;
            border-bottom: 1px solid #F1F5F9;
        }
.dvx-root .dvm-name-with-icon {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            min-width: 0;
        }
.dvx-root .dvm-name-icon {
            width: 16px;
            height: 16px;
            stroke: #4A5568;
            fill: none;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round;
            flex-shrink: 0;
        }
.dvx-root .dv2-drawer-foot {
            padding: 14px 22px;
            border-top: 1px solid #E7EAEE;
            background: #FFFFFF;
            flex-shrink: 0;
        }
.dvx-root .dv2-edit-btn {
            width: 100%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            height: 48px;
            padding: 0 20px;
            background: #1F2328;
            color: #FFFFFF;
            border: none;
            border-radius: 10px;
            font-family: 'Inter', sans-serif;
            font-size: 13.5px;
            font-weight: 800;
            letter-spacing: -0.1px;
            cursor: pointer;
            transition: all 0.15s;
            box-shadow: 0 2px 8px rgba(15,23,42,0.20);
        }
.dvx-root .dv2-edit-btn:hover {
            background: #0F172A;
            box-shadow: 0 4px 12px rgba(15,23,42,0.28);
            transform: translateY(-1px);
        }
.dvx-root .dv2-edit-btn svg {
            width: 15px; height: 15px;
            stroke: currentColor; fill: none;
            stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
        }
.dvx-root .dv2-edit-panel {
            position: fixed;
            top: 0;
            right: 420px;
            bottom: 0;
            width: 100%;
            max-width: 520px;
            min-height: 0;
            background: #F5F7FA;
            z-index: 291;
            display: flex;
            flex-direction: column;
            transform: translateX(120%);
            visibility: hidden;
            pointer-events: none;
            transition: transform 0.28s cubic-bezier(0.32, 0.72, 0.28, 1), visibility 0s linear 0.28s;
            box-shadow: -12px 0 40px rgba(15,23,42,0.12);
            font-family: 'Inter', sans-serif;
        }
.dvx-root .dv2-edit-panel.open {
            transform: translateX(0);
            visibility: visible;
            pointer-events: auto;
            transition: transform 0.28s cubic-bezier(0.32, 0.72, 0.28, 1), visibility 0s linear 0s;
        }
.dvx-root .dv2-edit-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 18px 22px;
            background: #FFFFFF;
            border-bottom: 1px solid #E7EAEE;
            flex-shrink: 0;
        }
.dvx-root .dv2-edit-title {
            font-size: 16px;
            font-weight: 800;
            color: #1F2328;
            letter-spacing: -0.2px;
        }
.dvx-root .dv2-edit-body {
            flex: 1 1 auto;
            min-height: 0;
            overflow-y: auto;
            padding: 16px 20px 24px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            -webkit-overflow-scrolling: touch;
        }
.dvx-root .dv2-edit-body::-webkit-scrollbar { width: 6px; }
.dvx-root .dv2-edit-body::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 3px; }
.dvx-root .dv2-edit-body::-webkit-scrollbar-thumb:hover { background: #94A3B8; }
@media (max-width: 980px) {
.dvx-root .dv2-edit-panel { right: 0; max-width: 100%; }
}
.dvx-root .dvm-row-flex {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            flex-wrap: wrap;
        }
.dvx-root .dvm-call-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 18px;
            height: 48px;
            background: #E7F7F4;
            color: #0B9977;
            border: 1.5px solid #A8DFD1;
            border-radius: 10px;
            font-family: 'Inter', sans-serif;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.15s;
            box-shadow: 0 1px 3px rgba(16,180,143,0.10);
        }
.dvx-root .dvm-call-btn:hover {
            background: #D3F0E9;
            box-shadow: 0 3px 8px rgba(16,180,143,0.20);
            transform: translateY(-1px);
        }
.dvx-root .dvm-call-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dvx-root .dvm-call-btn.dvm-call-btn-wide {
            width: 100%;
            justify-content: center;
        }
.dvx-root .dvm-val.dvm-name {
            font-size: 12.5px;
            font-weight: 600;
            color: #1F2328;
            letter-spacing: -0.1px;
            line-height: 1.3;
        }
.dvx-root .dvm-otp {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            align-self: flex-start;
            padding: 6px 14px;
            background: #FFF7DA;
            border: 1px solid #F5D98C;
            border-radius: 6px;
            font-size: 11.5px;
        }
.dvx-root .delivery-mid-col .dvm-otp {
            padding: 3px 8px;
            font-size: 10.5px;
            border-radius: 5px;
            gap: 4px;
        }
.dvx-root .delivery-mid-col .dvm-otp-lbl { font-size: 9.5px; }
.dvx-root .delivery-mid-col .dvm-otp-val { font-size: 10.5px; }
.dvx-root .dvm-otp-lbl { color: #8A6A17; font-weight: 700; }
.dvx-root .dvm-otp-val { color: #6C4E0F; font-weight: 800; letter-spacing: 0.5px; }
.dvx-root .dvm-action-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            height: 48px;
            padding: 0 18px;
            background: #fff;
            color: #4185F4;
            border: 1.5px solid #A0C2F9;
            border-radius: 10px;
            font-family: 'Inter', sans-serif;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.12s;
        }
.dvx-root .dvm-action-btn:hover { background: #EEF3FE; border-color: #4185F4; }
.dvx-root .dvm-link {
            display: inline-flex;
            align-items: center;
            gap: 3px;
            color: #4185F4;
            font-size: 12px;
            font-weight: 700;
            text-decoration: underline;
            text-decoration-color: rgba(65,133,244,0.5);
            text-underline-offset: 3px;
            align-self: flex-start;
        }
.dvx-root .dvm-link:hover { color: #3A6BC7; text-decoration-color: #3A6BC7; }
.dvx-root .dv-cart {
            display: none;
            flex-direction: column;
            gap: 10px;
            background: #F5F7FA;
            min-height: 0;
            overflow-y: auto;
            padding: 16px 20px;
            order: 2;
            font-family: 'Inter', sans-serif;
        }
.dvx-root .dv-cart.open { display: flex; }
.dvx-root .dv-cart::-webkit-scrollbar { width: 6px; }
.dvx-root .dv-cart::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
.dvx-root .dvc-section {
            background: #fff;
            border: 1px solid #E7EAEE;
            border-radius: 10px;
            padding: 12px 14px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
.dvx-root .dvc-section-title {
            font-size: 10.5px;
            font-weight: 800;
            color: #8A8F99;
            text-transform: uppercase;
            letter-spacing: 0.6px;
            padding-bottom: 4px;
            border-bottom: 1px solid #F1F5F9;
        }
.dvx-root .dvc-top {
            display: grid;
            grid-template-columns: 1fr auto auto;
            gap: 6px;
            padding: 10px 10px 8px;
            border-bottom: 1px solid #F1F5F9;
        }
.dvx-root .dvc-search {
            width: 100%;
            padding: 8px 12px;
            border: 1px solid #E2E8F0;
            border-radius: 8px;
            font-family: inherit;
            font-size: 12px;
            color: #1F2328;
            background: #fff;
            outline: none;
            min-width: 0;
        }
.dvx-root .dvc-search::placeholder { color: #94A3B8; }
.dvx-root .dvc-qty-btn {
            padding: 8px 10px;
            border: 1px solid #E2E8F0;
            border-radius: 8px;
            background: #fff;
            color: #1F2328;
            font-family: inherit;
            font-size: 11px;
            font-weight: 600;
            cursor: pointer;
            white-space: nowrap;
        }
.dvx-root .dvc-add-btn {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 8px 10px;
            background: #10B48F;
            color: #fff;
            border: 1.5px solid #10B48F;
            border-radius: 8px;
            font-family: inherit;
            font-size: 11.5px;
            font-weight: 700;
            cursor: pointer;
            white-space: nowrap;
        }
.dvx-root .dvc-add-btn:hover { background: #0EA680; border-color: #0EA680; }
.dvx-root .dvc-add-btn svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; }
.dvx-root .dvc-hf-row { display: flex; justify-content: flex-end; padding: 8px 10px; }
.dvx-root .dvc-hf-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 7px 12px;
            background: #EEF3FE;
            color: #3A6BC7;
            border: 1px solid #C3D6F5;
            border-radius: 8px;
            font-family: inherit;
            font-size: 11px;
            font-weight: 700;
            cursor: pointer;
        }
.dvx-root .dvc-hf-btn:hover { background: #DEE9FC; }
.dvx-root .dvc-hf-btn svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }
.dvx-root .dvc-kot-head {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 8px 10px;
            background: #F5F1FE;
            border: 1px solid #E4D9FA;
            border-radius: 8px;
            flex-wrap: wrap;
        }
.dvx-root .dvc-kot-gear {
            width: 26px; height: 26px;
            border-radius: 6px;
            background: #fff;
            border: 1px solid #E4D9FA;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            padding: 0;
            flex-shrink: 0;
        }
.dvx-root .dvc-kot-gear svg { width: 13px; height: 13px; stroke: #6D53C7; fill: none; stroke-width: 2; }
.dvx-root .dvc-kot-num {
            font-size: 11.5px;
            font-weight: 800;
            color: #4A3EAB;
        }
.dvx-root .dvc-kot-time {
            font-size: 10.5px;
            color: #4A3EAB;
        }
.dvx-root .dvc-kot-reorder {
            padding: 5px 10px;
            background: #fff;
            border: 1px solid #A8B8E6;
            border-radius: 6px;
            font-family: inherit;
            font-size: 10.5px;
            font-weight: 700;
            color: #3A6BC7;
            cursor: pointer;
        }
.dvx-root .dvc-kot-reorder:hover { background: #EEF3FE; }
.dvx-root .dvc-kot-note {
            width: 100%;
            font-size: 10.5px;
            font-style: italic;
            color: #6D53C7;
            font-weight: 600;
            margin-top: 2px;
        }
.dvx-root .dvc-items {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
.dvx-root .dvc-items::-webkit-scrollbar { width: 4px; }
.dvx-root .dvc-items::-webkit-scrollbar-thumb { background: #E7EAEE; border-radius: 2px; }
.dvx-root .dvc-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 4px;
            border-top: 1px solid #F1F5F9;
        }
.dvx-root .dvc-item:first-child { border-top: none; }
/* addon / combo-component sub-rows in the read-only cart */
.dvx-root .dvc-item.sub {
            padding: 2px 4px 6px 14px;
            border-top: none;
        }
.dvx-root .dvc-item.sub .dvc-item-name,
.dvx-root .dvc-item.sub .dvc-item-qty,
.dvx-root .dvc-item.sub .dvc-item-rate,
.dvx-root .dvc-item.sub .dvc-item-amt {
            font-size: 11px;
            color: #64748B;
            font-weight: 500;
        }
.dvx-root .dvc-item.sub .dvc-item-num { color: #B8C4D4; }
.dvx-root .dvc-item-del, .dvx-root .dvc-item-plus, .dvx-root .dvc-item-minus, .dvx-root .dvc-item-more {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            padding: 0;
            flex-shrink: 0;
            transition: transform 0.12s;
        }
.dvx-root .dvc-item-del:active, .dvx-root .dvc-item-plus:active, .dvx-root .dvc-item-minus:active, .dvx-root .dvc-item-more:active { transform: scale(0.94); }
.dvx-root .dvc-item-del { background: #FDECEF; border: none; }
.dvx-root .dvc-item-del svg { width: 14px; height: 14px; stroke: #DC5A6D; fill: none; stroke-width: 2; }
.dvx-root .dvc-item-plus { background: #E7F7F4; border: 1.5px solid #A8DFD1; }
.dvx-root .dvc-item-plus svg { width: 14px; height: 14px; stroke: #0B9977; fill: none; stroke-width: 2.6; stroke-linecap: round; }
.dvx-root .dvc-item-plus:hover { background: #D3F0E9; }
.dvx-root .dvc-item-minus { background: #FDECEF; border: 1.5px solid #F5A5B4; }
.dvx-root .dvc-item-minus svg { width: 14px; height: 14px; stroke: #DC5A6D; fill: none; stroke-width: 2.6; stroke-linecap: round; }
.dvx-root .dvc-item-minus:hover { background: #FDD9E0; }
.dvx-root .dvc-item-more { background: #fff; border: 1.5px solid #C3D6F5; color: #4185F4; font-size: 13px; letter-spacing: 1px; font-weight: 800; line-height: 0; }
.dvx-root .dvc-item-more:hover { background: #EEF3FE; }
.dvx-root .dvc-item-num {
            font-size: 12px;
            font-weight: 700;
            color: #1F2328;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            flex-shrink: 0;
        }
.dvx-root .dvc-item-num svg { width: 13px; height: 13px; stroke: #8A8F99; fill: none; stroke-width: 2; }
.dvx-root .dvc-item-name {
            flex: 1;
            font-size: 12px;
            font-weight: 800;
            color: #1F2328;
            text-decoration: underline;
            text-decoration-color: rgba(31,35,40,.4);
            text-underline-offset: 2px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            min-width: 0;
        }
.dvx-root .dvc-item-qty {
            font-size: 13px;
            font-weight: 800;
            color: #1F2328;
            text-align: center;
            min-width: 18px;
            font-variant-numeric: tabular-nums;
        }
.dvx-root .dvc-item-rate {
            padding: 6px 10px;
            background: #F1F5F9;
            color: #94A3B8;
            border: 1px solid #E2E8F0;
            border-radius: 8px;
            font-size: 11px;
            font-weight: 500;
            font-variant-numeric: tabular-nums;
            white-space: nowrap;
        }
.dvx-root .dvc-item-amt {
            font-size: 13px;
            font-weight: 800;
            color: #1F2328;
            text-align: right;
            white-space: nowrap;
            font-variant-numeric: tabular-nums;
            min-width: 60px;
        }
.dvx-root .dvc-tabs {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 6px;
        }
.dvx-root .dvc-comment-value {
            display: flex;
            flex-direction: column;
            gap: 6px;
            padding: 10px 12px;
            border-radius: 8px;
            border: 1px solid;
        }
.dvx-root .dvc-comment-value.bill {
            background: #EEF3FE;
            border-color: #C3D6F5;
        }
.dvx-root .dvc-comment-value.kot {
            background: #FEF6EE;
            border-color: #FBDCB0;
        }
.dvx-root .dvc-comment-lbl {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            font-size: 10.5px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            padding-bottom: 5px;
            border-bottom: 1px dashed;
        }
.dvx-root .dvc-comment-lbl svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }
.dvx-root .dvc-comment-lbl.bill { color: #3A6BC7; border-bottom-color: #C3D6F5; }
.dvx-root .dvc-comment-lbl.kot { color: #C77118; border-bottom-color: #FBDCB0; }
.dvx-root .dvc-comment-text {
            font-size: 11.5px;
            color: #1F2328;
            line-height: 1.45;
            font-weight: 500;
        }
.dvx-root .dvc-tab {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            padding: 8px 8px;
            border-radius: 8px;
            font-family: inherit;
            font-size: 10.5px;
            font-weight: 700;
            cursor: pointer;
        }
.dvx-root .dvc-tab svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }
.dvx-root .dvc-tab.bill { background: #EEF3FE; color: #3A6BC7; border: 1px solid #C3D6F5; }
.dvx-root .dvc-tab.kot { background: #E7F7F4; color: #0B9977; border: 1px solid #A8DFD1; }
.dvx-root .dvc-bottom-split { display: contents; }
.dvx-root .dvc-mobile-row { display: grid; grid-template-columns: 1fr auto; gap: 4px; }
.dvx-root .dvc-mobile-input {
            padding: 8px 10px;
            border: 1px solid #E2E8F0;
            border-radius: 6px;
            font-family: inherit;
            font-size: 11px;
            color: #1F2328;
            outline: none;
            min-width: 0;
        }
.dvx-root .dvc-mobile-input::placeholder { color: #94A3B8; }
.dvx-root .dvc-mobile-search-btn {
            width: 32px;
            border: 1px solid #E2E8F0;
            border-radius: 6px;
            background: #fff;
            cursor: pointer;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }
.dvx-root .dvc-mobile-search-btn svg { width: 12px; height: 12px; stroke: #6A6F77; fill: none; stroke-width: 2; }
.dvx-root .dvc-cust {
            padding: 8px 10px;
            background: #EFF4FE;
            border: 1px solid #C3D6F5;
            border-radius: 8px;
            display: flex;
            flex-direction: column;
            gap: 4px;
            font-size: 11px;
        }
.dvx-root .dvc-cust-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-weight: 800;
            color: #3A6BC7;
            font-size: 11.5px;
        }
.dvx-root .dvc-cust-head-l { display: flex; align-items: center; gap: 5px; }
.dvx-root .dvc-cust-head svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 2; }
.dvx-root .dvc-cust-close {
            width: 20px; height: 20px;
            border-radius: 50%;
            background: #fff;
            border: 1px solid #C3D6F5;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            color: #3A6BC7;
            cursor: pointer;
        }
.dvx-root .dvc-cust-phone, .dvx-root .dvc-cust-comment, .dvx-root .dvc-cust-address {
            display: flex;
            align-items: center;
            gap: 5px;
            color: #1F2328;
            font-weight: 600;
            padding-top: 3px;
            border-top: 1px dashed #C3D6F5;
        }
.dvx-root .dvc-cust-phone svg, .dvx-root .dvc-cust-comment svg, .dvx-root .dvc-cust-address svg { width: 11px; height: 11px; stroke: #3A6BC7; fill: none; stroke-width: 2; flex-shrink: 0; }
.dvx-root .dvc-cust-address { justify-content: space-between; }
.dvx-root .dvc-cust-addr-left { display: flex; align-items: center; gap: 5px; font-size: 10.5px; letter-spacing: 0.4px; text-transform: uppercase; }
.dvx-root .dvc-cust-addr-badge {
            padding: 2px 6px;
            background: #4185F4;
            color: #fff;
            border-radius: 4px;
            font-size: 9px;
            font-weight: 800;
            letter-spacing: 0.4px;
        }
.dvx-root .dvc-cust-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 3px; }
.dvx-root .dvc-cust-actions button {
            padding: 6px 8px;
            border: 1px solid #C3D6F5;
            border-radius: 5px;
            background: #fff;
            color: #1F2328;
            font-family: inherit;
            font-size: 10.5px;
            font-weight: 600;
            cursor: pointer;
        }
.dvx-root .dvc-totals { display: flex; flex-direction: column; gap: 4px; padding: 4px 0 0; }
.dvx-root .dvc-total-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 11.5px;
            color: #1F2328;
        }
.dvx-root .dvc-total-row.divider { border-bottom: 1px dashed #E2E8F0; padding-top: 8px; padding-bottom: 10px; }
.dvx-root .dvc-total-l { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.dvx-root .dvc-total-pill-dark {
            padding: 2px 6px;
            background: #1F2328;
            color: #fff;
            border-radius: 10px;
            font-size: 9.5px;
            font-weight: 800;
        }
.dvx-root .dvc-total-pill-green {
            padding: 3px 10px;
            background: #10B48F;
            color: #fff;
            border-radius: 6px;
            font-size: 10.5px;
            font-weight: 800;
        }
.dvx-root .dvc-total-pill-pink {
            padding: 3px 10px;
            background: #FFE4E9;
            color: #E14848;
            border: 1px solid #FFB7C9;
            border-radius: 6px;
            font-size: 10.5px;
            font-weight: 800;
        }
.dvx-root .dvc-total-amt {
            font-weight: 800;
            font-size: 12px;
            font-variant-numeric: tabular-nums;
        }
.dvx-root .dvc-total-net {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 6px 0;
            margin-top: 2px;
        }
.dvx-root .dvc-total-net-lbl { font-size: 12px; font-weight: 700; color: #1F2328; }
.dvx-root .dvc-total-net-val { font-size: 14px; font-weight: 800; color: #1F2328; }
.dvx-root .dvc-waiter {
            padding: 8px 10px;
            border: 1px solid #E2E8F0;
            border-radius: 6px;
            background: #fff;
            font-family: inherit;
            font-size: 11.5px;
            color: #1F2328;
            outline: none;
            cursor: pointer;
        }
.dvx-root .dvc-settle {
            padding: 12px 16px;
            background: #10B48F;
            color: #fff;
            border: none;
            border-radius: 8px;
            font-family: inherit;
            font-size: 15px;
            font-weight: 800;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(16,180,143,0.25);
            transition: all 0.15s;
        }
.dvx-root .dvc-settle:hover { background: #0EA680; box-shadow: 0 6px 16px rgba(16,180,143,0.32); transform: translateY(-1px); }
.dvx-root .dvc-settle svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.dvx-root .dvc-actions-row {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 8px;
        }
.dvx-root .dvc-act {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 10px 12px;
            border-radius: 10px;
            font-family: 'Inter', sans-serif;
            font-size: 12.5px;
            font-weight: 800;
            letter-spacing: 0.3px;
            text-transform: uppercase;
            cursor: pointer;
            border: 1.5px solid;
            transition: all 0.15s;
        }
.dvx-root .dvc-act svg {
            width: 14px;
            height: 14px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2.4;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
.dvx-root .dvc-act.modify {
            background: #F1F5F9;
            color: #4A5568;
            border-color: #CBD5E1;
        }
.dvx-root .dvc-act.modify:hover { background: #E2E8F0; border-color: #94A3B8; color: #1F2328; }
.dvx-root .dvc-act.reject {
            background: #FDF3F4;
            color: #B85466;
            border-color: #F3C5CC;
        }
.dvx-root .dvc-act.reject:hover { background: #FBE7EA; border-color: #DC7878; color: #A44050; }
.dvx-root .dvc-act.accept {
            background: #F0FAF5;
            color: #2E8F5F;
            border-color: #B6E2CB;
        }
.dvx-root .dvc-act.accept:hover { background: #E1F4EB; border-color: #3EB47A; color: #26754C; }
.dvx-root .dvc-foot-btns { display: grid; grid-template-columns: 1fr; gap: 6px; }
.dvx-root .dvc-foot-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            padding: 8px 8px;
            border-radius: 6px;
            font-family: inherit;
            font-size: 10.5px;
            font-weight: 700;
            cursor: pointer;
            background: #fff;
        }
.dvx-root .dvc-foot-btn svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }
.dvx-root .dvc-foot-btn.summary { color: #6D53C7; border: 1px solid #C7B8F5; }
.dvx-root .dvc-foot-btn.summary:hover { background: #F5F1FE; }
.dvx-root .dvc-foot-btn.call { color: #0B9977; border: 1px solid #A8DFD1; background: #F0FAF7; }
.dvx-root .dvc-foot-btn.call:hover { background: #DDF3EC; }
.dvx-root .delivery-card.selected {
            border-color: #10B48F;
            border-width: 2px;
            box-shadow: 0 8px 22px rgba(16,180,143,0.24);
            transform: translateY(-2px);
        }
.dvx-root .delivery-card.selected::before {
            background: #10B48F;
            box-shadow: 0 0 12px rgba(16,180,143,0.7);
        }
.dvx-root .delivery-card.selected .dc-header {
            background: linear-gradient(180deg, #E4F6EC 0%, #D3EDDE 100%);
        }
.dvx-root .delivery-card.selected .dc-id {
            color: #0B7057;
        }
.dvx-root .delivery-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }
.dvx-root .delivery-card {
            background: #fff;
            border: 1px solid #E7EAEE;
            border-radius: 12px;
            padding: 0;
            display: flex;
            flex-direction: column;
            gap: 0;
            cursor: pointer;
            transition: box-shadow 0.18s, transform 0.18s;
            font-family: 'Inter', sans-serif;
            position: relative;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(15,23,42,0.04);
        }
.dvx-root .delivery-card:hover {
            box-shadow: 0 6px 16px rgba(15,23,42,0.10);
            transform: translateY(-2px);
        }
.dvx-root .dc-header {
            display: grid;
            grid-template-columns: 1fr auto;
            align-items: flex-start;
            gap: 10px;
            padding: 10px 12px 10px;
            background: linear-gradient(180deg, #F3FBF7 0%, #E9F6EE 100%);
            border-bottom: 1px solid #D6ECDF;
        }
.dvx-root .dc-header-left {
            display: flex;
            flex-direction: column;
            gap: 2px;
            min-width: 0;
        }
.dvx-root .dc-header-right {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 8px;
        }
.dvx-root .dc-num {
            font-size: 9.5px;
            color: #64748B;
            font-weight: 700;
            letter-spacing: 0.7px;
            text-transform: uppercase;
        }
.dvx-root .dc-id {
            font-size: 15px;
            font-weight: 800;
            color: #1F2328;
            letter-spacing: -0.3px;
            line-height: 1.25;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.dvx-root .dc-timer {
            display: inline-flex;
            align-items: center;
            padding: 3px 10px;
            background: #10B48F;
            color: #FFFFFF;
            border: 1px solid #10B48F;
            border-radius: 12px;
            font-size: 10.5px;
            font-weight: 700;
            font-variant-numeric: tabular-nums;
            flex-shrink: 0;
            box-shadow: 0 1px 4px rgba(16,180,143,0.28);
        }
.dvx-root .dc-meta {
            font-size: 10px;
            color: #6A6F77;
            font-weight: 600;
            line-height: 1;
        }
.dvx-root .dc-meta .dc-source { color: #1F2328; }
.dvx-root .dc-meta .dc-sep { color: #CBD5E1; font-weight: 500; margin: 0 3px; }
.dvx-root .dc-meta .dc-status {
            text-transform: uppercase;
            letter-spacing: 0.4px;
            font-weight: 700;
            color: #3EB47A;
        }
.dvx-root .dc-footer {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 12px;
        }
.dvx-root .dc-tag {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            font-size: 11px;
            font-weight: 600;
            color: #494b4d;
            letter-spacing: -0.1px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 140px;
        }
.dvx-root .dc-amount {
            font-size: 13px;
            font-weight: 800;
            color: #4a5568;
            letter-spacing: -0.3px;
            white-space: nowrap;
            font-variant-numeric: tabular-nums;
            margin-left: auto;
        }
.dvx-root .dc-menu {
            color: #8A8F99;
            font-size: 16px;
            letter-spacing: 1px;
            cursor: pointer;
            line-height: 1;
            padding: 2px 6px;
            border-radius: 6px;
            transition: background 0.12s, color 0.12s;
            flex-shrink: 0;
        }
.dvx-root .dc-menu:hover { background: #F1F5F9; color: #2A2E33; }
.dvx-root .dc-head-monogram {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: #FFFFFF;
            border: 1px solid #FDD3AA;
            box-shadow: 0 1px 4px rgba(252,128,25,0.14);
            overflow: hidden;
            padding: 3px;
            flex-shrink: 0;
        }
.dvx-root .dc-head-monogram img { width: 100%; height: 100%; object-fit: contain; display: block; }
.dvx-root .dc-rider-box {
            background: #f6f7fa;
            border: none;
            border-radius: 0;
            
            border-bottom: 1px solid #DDE2E9;
            padding: 7px 12px;
            display: flex;
            align-items: center;
            gap: 8px;
            margin: 0;
        }
.dvx-root .dc-rider-box.unassigned {
            background: #fff3f5;
            
            
            justify-content: center;
            padding: 9px 12px;
        }
.dvx-root .dc-rider-avatar {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
.dvx-root .dc-rider-avatar svg {
            width: 16px;
            height: 16px;
            stroke: #4A5568;
            fill: none;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
.dvx-root .dc-rider-name {
            font-size: 11px;
            font-weight: 600;
            color: #1F2328;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            min-width: 0;
            flex-shrink: 1;
        }
.dvx-root .dc-rider-mobile {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 11px;
            font-weight: 600;
            color: #4185F4;
            letter-spacing: -0.1px;
            font-variant-numeric: tabular-nums;
            margin-left: auto;
            flex-shrink: 0;
            text-decoration: underline;
            text-decoration-color: rgba(65,133,244,0.5);
            text-underline-offset: 3px;
            transition: color 0.12s;
        }
.dvx-root .dc-rider-mobile:hover { color: #2A56A8; text-decoration-color: #2A56A8; }
.dvx-root .dc-rider-mobile svg {
            width: 11px;
            height: 11px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            flex-shrink: 0;
        }
.dvx-root .delivery-card.purple {
            border-color: #E3D5F9;
        }
.dvx-root .delivery-card.purple::before {
            background: #B8A0EE;
        }
.dvx-root .delivery-card.purple .dc-header {
            background: linear-gradient(180deg, #F7F2FE 0%, #EDE3FB 100%);
            border-bottom: 1px solid #DECEF6;
        }
.dvx-root .delivery-card.purple .dc-timer {
            background: #8A6EDD;
            border-color: #8A6EDD;
            box-shadow: 0 1px 4px rgba(138,110,221,0.28);
        }
.dvx-root .delivery-card.purple .dc-status { color: #7C5EDD; }
.dvx-root .delivery-card.purple .dc-amount { color: #7C5EDD; }
.dvx-root .delivery-card.red {
            border-color: #F9DDE1;
        }
.dvx-root .delivery-card.red::before {
            background: #EF9BA8;
        }
.dvx-root .delivery-card.red .dc-header {
            background: linear-gradient(180deg, #FCEFF1 0%, #F9E1E5 100%);
            border-bottom: 1px solid #F3C7CD;
        }
.dvx-root .delivery-card.red .dc-timer {
            background: #DC5A6D;
            border-color: #DC5A6D;
            box-shadow: 0 1px 4px rgba(220,90,109,0.28);
        }
.dvx-root .delivery-card.red .dc-status { color: #DC5A6D; }
.dvx-root .delivery-card.red .dc-amount { color: #DC5A6D; }
@keyframes dvx-dvmStatusFade {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.30; }
        }

/* ==================== deliveryViews fixes (fit + monogram) ==================== */
/* Actions fit any button count (flex share) instead of a fixed 3-col grid that
   clipped ACCEPT and left a gap on the 2-button (accepted) state. */
.dvx-root .dv2-actions {
    display: flex;
    gap: 8px;
}
.dvx-root .dv2-actions .dv2-action {
    flex: 1 1 0;
    min-width: 0;
    padding: 9px 8px;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
}
.dvx-root .dv2-actions .dv2-action.mark-ready {
    flex: 1.4 1 0;
    padding: 9px 10px;
}
.dvx-root .dvc-actions-row .dvc-act {
    flex: 1 1 0;
    min-width: 0;
    padding: 9px 8px;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
}
/* Single-letter source monogram (logo image not available in-app) reads clean in the round chip */
.dvx-root .dv2-head-monogram,
.dvx-root .dc-head-monogram {
    font-weight: 800;
    font-size: 13px;
    color: #E8833C;
    text-transform: uppercase;
    overflow: hidden;
}

/* ==================== In-app shell fixes ==================== */
/* The mockup sized panels with height:100% assuming a full-page host. Inside the
   billing shell (legend bar on top) that has no definite parent height, so size the
   grid-view scroll area via flex instead. (List view uses a flex sizing wrapper.) */
.dvx-root .dv2-view-inner {
    height: auto;
}

/* ==================== Source monogram: logo image OR name fallback ==================== */
.dvx-root .dvx-src {
    width: auto;
    min-width: 28px;
    max-width: 110px;
    height: 28px;
    padding: 0 4px;
    border-radius: 14px;
    overflow: hidden;
}
.dvx-root .dv2-head-monogram.dvx-src {
    height: 34px;
    border-radius: 17px;
    min-width: 34px;
}
.dvx-root .dvx-src img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}
.dvx-root .dv2-head-monogram.dvx-src img {
    width: 26px;
    height: 26px;
}
.dvx-root .dvx-src .dvx-src-name {
    display: none;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    color: #E8833C;
    white-space: nowrap;
    padding: 0 4px;
}
.dvx-root .dvx-src.img-missing img { display: none; }
.dvx-root .dvx-src.img-missing .dvx-src-name { display: inline; }

/* MFR time chip (shown once food is marked ready) */
.dvx-root .dvx-mfr-time {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: #3EB47A;
    background: rgba(62,180,122,0.10);
    border: 1px solid rgba(62,180,122,0.25);
    border-radius: 8px;
    padding: 5px 8px;
    margin-bottom: 8px;
}

/* Card identity: serial small on top, aggregator order-id big & bold below */
.dvx-root .dv2-head-num,
.dvx-root .dc-num {
    font-weight: 800;
    letter-spacing: 0.2px;
}
/* No avatar/green dot before the name in the dark footer bar (user request) */
.dvx-root .dv2-source-total-lbl::before {
    display: none;
    content: none;
}

/* Identity hierarchy: #last5 is the hero; serial line on top is small and muted */
.dvx-root .dv2-head-id,
.dvx-root .dc-id {
    font-size: 10px;
    font-weight: 600;
    color: #8A93A2;
    letter-spacing: 0.3px;
}
.dvx-root .dv2-head-num,
.dvx-root .dc-num {
    font-size: 19px;
    font-weight: 800;
}

/* Drawer/list cart actions: flex share (the fixed 3-col grid overflowed the
   long Mark Food Ready / Settle buttons and left holes with 2 buttons) */
.dvx-root .dvc-actions-row {
    display: flex;
    gap: 8px;
}
.dvx-root .dvc-actions-row .dvc-act {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    padding: 10px 8px;
}

/* ==================== Compact pass (~15% shorter cards) ==================== */
/* Vertical paddings/gaps trimmed ~30% through the card anatomy; fonts kept. */

/* Grid card */
.dvx-root .dv2-card { padding: 0 10px 10px; gap: 6px; }
.dvx-root .dv2-card-header { padding: 9px 14px; margin: 0 -10px 3px; }
.dvx-root .dv2-item { padding: 7px 12px; }
.dvx-root .dv2-items { max-height: 150px; }
.dvx-root .dv2-comment { padding: 5px 10px; gap: 2px; }
.dvx-root .dv2-rider-box { padding: 5px 12px; gap: 8px; }
.dvx-root .dv2-source-total { padding: 7px 14px; }
.dvx-root .dv2-actions .dv2-action { padding: 7px 8px; }
.dvx-root .dv2-actions .dv2-action.mark-ready { padding: 7px 10px; }
.dvx-root .dvx-mfr-time { padding: 3px 8px; margin-bottom: 5px; }

/* List card */
.dvx-root .dc-header { padding: 7px 12px; gap: 8px; }
.dvx-root .dc-rider-box { padding: 5px 12px; }
.dvx-root .dc-footer { padding: 7px 12px; }

/* Identity block: tighter big number */
.dvx-root .dv2-head-num, .dvx-root .dc-num { font-size: 17px; line-height: 1.15; }

/* ==================== Action buttons (compact) ==================== */
.dvx-root .dv2-actions .dv2-action,
.dvx-root .dvc-actions-row .dvc-act {
    padding: 8px 8px;
    font-size: 11px;
    font-weight: 700;
    min-height: 34px;
}
.dvx-root .dv2-actions .dv2-action svg,
.dvx-root .dvc-actions-row .dvc-act svg {
    width: 14px;
    height: 14px;
}
.dvx-root .dv2-actions .dv2-action.mark-ready {
    padding: 8px 8px;
}

/* 3-button KOT row: MFR is short, Print Bill needs the extra share */
.dvx-root .dv2-actions .dv2-action.mark-ready { flex: 0.85 1 0; }
.dvx-root .dv2-actions .dv2-action.accept { flex: 1.25 1 0; }
.dvx-root .dv2-actions .dv2-action { padding-left: 6px; padding-right: 6px; font-size: 11px; }
.dvx-root .dvc-actions-row .dvc-act { padding-left: 6px; padding-right: 6px; font-size: 11px; }

/* MFR gets its own colour (amber) — distinct from Accept/Settle green and Reject red */
.dvx-root .dv2-action.mfr,
.dvx-root .dvc-act.mfr {
    background: #F59E0B;
    border: 1.5px solid #F59E0B;
    color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(245,158,11,0.28);
}
.dvx-root .dv2-action.mfr:hover,
.dvx-root .dvc-act.mfr:hover {
    background: #D97706;
    border-color: #D97706;
}
.dvx-root .dv2-action.mfr svg,
.dvx-root .dvc-act.mfr svg {
    stroke: #FFFFFF;
}
/* keep the wider flex share MFR had via mark-ready */
.dvx-root .dv2-actions .dv2-action.mfr {
    flex: 0.85 1 0;
    padding: 12px 10px;
}

/* ==================== Order/accept time chips + order-flow timeline ==================== */
.dvx-root .dvx-times {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    font-size: 10.5px;
    font-weight: 600;
    color: #6A7280;
    background: #F4F6F9;
    border: 1px solid #E7EBF0;
    border-radius: 8px;
    padding: 4px 8px;
    margin-bottom: 6px;
}
.dvx-root .dvx-times em {
    font-style: normal;
    color: #3EB47A;
    font-weight: 700;
}
.dvx-root .dvx-times.slim {
    margin: 0 10px 6px;
    padding: 3px 8px;
}

/* Flow timeline (More drawer / list detail panel) */
.dvx-root .dvx-flow {
    padding: 10px 12px;
}
.dvx-root .dvx-flow-title {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #8A93A2;
    margin-bottom: 8px;
}
.dvx-root .dvx-flow-node {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0 5px 2px;
}
.dvx-root .dvx-flow-node + .dvx-flow-node::before {
    content: '';
    position: absolute;
    left: 6px;
    top: -8px;
    height: 12px;
    width: 2px;
    background: #E2E7EE;
}
.dvx-root .dvx-flow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D5DBE3;
    flex-shrink: 0;
}
.dvx-root .dvx-flow-node.done .dvx-flow-dot {
    background: #3EB47A;
    box-shadow: 0 0 0 3px rgba(62,180,122,0.18);
}
.dvx-root .dvx-flow-label {
    font-size: 12px;
    font-weight: 700;
    color: #3A4351;
    min-width: 84px;
}
.dvx-root .dvx-flow-node:not(.done) .dvx-flow-label {
    color: #A2AAB6;
    font-weight: 600;
}
.dvx-root .dvx-flow-gap {
    font-size: 10px;
    font-weight: 700;
    color: #3EB47A;
    background: rgba(62,180,122,0.10);
    border-radius: 6px;
    padding: 1px 6px;
}
.dvx-root .dvx-flow-time {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    color: #56606E;
}
.dvx-root .dvx-flow-time.pending {
    color: #B3BAC5;
    font-style: italic;
}

/* ==================== Flow beautify + single-line time chip ==================== */
/* Card time chip: always ONE line */
.dvx-root .dvx-times {
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dvx-root .dvx-times span {
    flex-shrink: 0;
}

/* Flow panel */
.dvx-root .dvx-flow {
    padding: 12px 14px;
    background: linear-gradient(180deg, #FBFCFE 0%, #F6F8FB 100%);
    border-radius: 12px;
}
.dvx-root .dvx-flow-node {
    padding: 7px 0 7px 2px;
    gap: 10px;
}
.dvx-root .dvx-flow-node + .dvx-flow-node::before {
    left: 7px;
    top: -12px;
    height: 18px;
}
.dvx-root .dvx-flow-node.done + .dvx-flow-node.done::before {
    background: #3EB47A;
    opacity: 0.45;
}
.dvx-root .dvx-flow-dot {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: transparent;
}
.dvx-root .dvx-flow-node.done .dvx-flow-dot::after {
    content: '✓';
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
}
.dvx-root .dvx-flow-main {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.dvx-root .dvx-flow-when {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.25;
}
.dvx-root .dvx-flow-when .dvx-flow-time {
    margin-left: 0;
    font-size: 12px;
    font-weight: 700;
    color: #3A4351;
}
.dvx-root .dvx-flow-date {
    font-size: 9.5px;
    font-weight: 600;
    color: #A2AAB6;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.dvx-root .dvx-flow > .dvx-flow-node:last-child {
    padding-bottom: 2px;
}

/* Time chip refinement: tiny uppercase labels + bold times, two justified
   segments on ONE line (replaces the ugly Ord/Acc short forms) */
.dvx-root .dvx-times {
    justify-content: space-between;
    gap: 6px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 700;
    color: #3A4351;
}
.dvx-root .dvx-times span {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    min-width: 0;
}
.dvx-root .dvx-times i {
    font-style: normal;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #8A93A2;
}
.dvx-root .dvx-times em {
    font-size: 10px;
    margin-left: 2px;
}

/* squeeze the chip so ACCEPTED + gap never clips at 5-column width */
.dvx-root .dvx-times {
    padding: 5px 6px;
    gap: 4px;
    font-size: 10.5px;
}
.dvx-root .dvx-times i {
    letter-spacing: 0.3px;
    font-size: 8px;
}
.dvx-root .dvx-times span {
    gap: 3px;
}

/* ==================== List view polish ==================== */
/* Rail: soft background, consistent rhythm */
.dvx-root .delivery-list-col {
    background: #F7F9FB;
   
}
.dvx-root .delivery-grid {
    gap: 8px;
    align-content: start;
}
.dvx-root .delivery-card {
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15,23,42,0.06);
}
.dvx-root .delivery-card.selected {
    box-shadow: 0 2px 10px rgba(62,180,122,0.22);
}

/* Middle cart column: ALWAYS present (no dead hole when nothing selected) */
.dvx-root .dv-cart {
    display: flex;
    padding: 12px;
    gap: 10px;
}
.dvx-root .dv-cart .dvm-empty {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A2AAB6;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    padding: 24px;
}
.dvx-root .dvc-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-height: 0;
}
/* actions always live at the bottom of the cart column */
.dvx-root .dvc-body .dvc-actions-row {
    margin-top: auto;
    position: sticky;
    bottom: 0;
    background: #F5F7FA;
    padding-top: 8px;
}

/* Detail column: consistent breathing room */
.dvx-root .delivery-mid-col {
    background: #FFFFFF;
}
.dvx-root .dvm-content {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}
.dvx-root .dvm-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
}
.dvx-root .dvm-box {
    border: 1px solid #EDF0F4;
    border-radius: 10px;
    background: #FBFCFE;
}
.dvx-root .dvm-head {
    padding: 12px 14px;
    border-bottom: 1px solid #EDF0F4;
}

/* OTP pill pinned to the right edge of the rider strip (both views) */
.dvx-root .dc-rider-box .dvm-otp,
.dvx-root .dv2-rider-box .dvm-otp {
    margin-left: auto;
    flex-shrink: 0;
}

/* List-card MFR quick action (amber, matches the grid MFR) */
.dvx-root .dvx-card-mfr {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 10px 6px;
    padding: 7px 8px;
    border-radius: 8px;
    background: #F59E0B;
    border: 1.5px solid #F59E0B;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
}
.dvx-root .dvx-card-mfr:hover { background: #D97706; border-color: #D97706; }
.dvx-root .dvx-card-mfr svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.5; }
.dvx-root .dvx-mfr-time.slim { margin: 0 10px 6px; padding: 3px 8px; }

/* Call Customer: compact button, not a banner */
.dvx-root .dvm-call-btn,
.dvx-root .dvm-call-btn-wide {
    height: 34px;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
    width: auto;
    align-self: flex-start;
}
.dvx-root .dvm-call-btn svg,
.dvx-root .dvm-call-btn-wide svg {
    width: 13px;
    height: 13px;
}

/* ==================== MFR buttons match the Call Customer button ==================== */
.dvx-root .dv2-action.mfr,
.dvx-root .dvc-act.mfr,
.dvx-root .dvx-card-mfr {
    background: #E7F7F4;
    color: #0B9977;
    border: 1.5px solid #A8DFD1;
    box-shadow: none;
}
.dvx-root .dv2-action.mfr:hover,
.dvx-root .dvc-act.mfr:hover,
.dvx-root .dvx-card-mfr:hover {
    background: #D3F0E9;
    border-color: #A8DFD1;
    box-shadow: 0 3px 8px rgba(16,180,143,0.20);
}
.dvx-root .dv2-action.mfr svg,
.dvx-root .dvc-act.mfr svg,
.dvx-root .dvx-card-mfr svg {
    stroke: #0B9977;
}

/* ==================== Times chip / food-ready / OTP uniformity ==================== */
/* Times chip: plain text, no pill box */
.dvx-root .dvx-times {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 2px 2px 0;
    margin-bottom: 4px;
}
.dvx-root .dvx-times.slim {
    padding: 10px 10px 0;
}

/* Food Ready chip: solid green with white text (like the Offers pill) */
.dvx-root .dvx-mfr-time {
    background: #10B48F;
    color: #FFFFFF;
    border: none;
    font-weight: 700;
}
.dvx-root .dvx-mfr-time em {
    color: #FFFFFF;
    opacity: 0.9;
}

/* OTP pill: identical size on card AND side panel */
.dvx-root .dvm-otp {
    padding: 4px 10px;
    font-size: 11px;
}
.dvx-root .dvm-otp-lbl { font-size: 11px; }
.dvx-root .dvm-otp-val { font-size: 12px; }

/* Only "Ordered" remains in the card chip — left-align it */
.dvx-root .dvx-times {
    justify-content: flex-start;
}

/* ==================== Food Ready chip ==================== */
/* Grid card: compact status PILL — deliberately not button-sized, so it reads
   as state, not as something tappable (list keeps its .slim variant below) */
.dvx-root .dv2-card .dvx-mfr-time {
    min-height: 0;
    align-self: center;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    gap: 6px;
}
/* List card: same box as the card MFR button (.dvx-card-mfr) */
.dvx-root .dvx-mfr-time.slim {
    min-height: 0;
    height: auto;
    padding: 7px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
}

/* ==================== Order Time moved to header top-right ==================== */
.dvx-root .dv2-head-right-col,
.dvx-root .dc-header-right {
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}
.dvx-root .dvx-hr-top {
    display: flex;
    align-items: center;
    gap: 8px;
}
.dvx-root .dvx-ordtime {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    font-size: 11px;
    font-weight: 800;
    color: #3A4351;
    white-space: nowrap;
}
.dvx-root .dvx-ordtime i {
    font-style: normal;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #8A93A2;
}

/* ==================== OTP: identical in card AND side panel (override the mockup's
   .delivery-mid-col shrink + match the .dv2-drawer side panel too) ==================== */
.dvx-root .delivery-mid-col .dvm-otp,
.dvx-root .dv2-drawer .dvm-otp {
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 6px;
    gap: 6px;
}
.dvx-root .delivery-mid-col .dvm-otp-lbl,
.dvx-root .dv2-drawer .dvm-otp-lbl { font-size: 11px; }
.dvx-root .delivery-mid-col .dvm-otp-val,
.dvx-root .dv2-drawer .dvm-otp-val { font-size: 12px; }

/* Top margin so MFR button / Food Ready chip don't butt against the bar above */
.dvx-root .dvx-mfr-time { margin-top: 8px; }
.dvx-root .dvx-mfr-time.slim { margin-top: 6px; }
.dvx-root .dvx-card-mfr { margin-top: 6px; }
/* auto pins the action row to the card's bottom edge (cards stretch to their
   grid row height); the card's own gap keeps the breathing space above */
.dvx-root .dv2-actions { margin-top: auto; }

/* ==================== Selected state per variant (green/violet/red) ==================== */
.dvx-root .delivery-card.purple.selected {
    border-color: #8A6EDD;
    border-width: 2px;
    box-shadow: 0 8px 22px rgba(138,110,221,0.30);
    transform: translateY(-2px);
}
.dvx-root .delivery-card.purple.selected .dc-header {
    background: linear-gradient(180deg, #EDE1FC 0%, #DEC9F6 100%);
}
.dvx-root .delivery-card.red.selected {
    border-color: #DC5A6D;
    border-width: 2px;
    box-shadow: 0 8px 22px rgba(220,90,109,0.30);
    transform: translateY(-2px);
}
.dvx-root .delivery-card.red.selected .dc-header {
    background: linear-gradient(180deg, #FBE4E7 0%, #F6CFD5 100%);
}

/* ==================== Scroll: the column scrolls (restored), bottom bar pinned ==================== */
/* NOTE: do NOT make .delivery-grid the flex/overflow scroll container — when the
   column height isn't definite it collapses the cards to the header only. Keep the
   column as the scroll area (its base overflow-y:auto) and pin the bar with sticky. */
.dvx-root .dv-bottom-bar {
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    z-index: 2;
}

/* ==================== Action-icon uniformity ==================== */
/* One icon spec for EVERY card/drawer action button, whatever the variant
   (More/Reject/Accept/MFR/Print Bill/Settle) and however many share the row.
   Earlier passes drifted: .mark-ready svg was 15px, .dvx-card-mfr stroke 2.5,
   and MFR carried taller padding — appended last, these win every tie. */
.dvx-root .dv2-action svg,
.dvx-root .dv2-actions .dv2-action svg,
.dvx-root .dv2-action.mark-ready svg,
.dvx-root .dv2-actions .dv2-action.mark-ready svg,
.dvx-root .dv2-actions .dv2-action.mfr svg,
.dvx-root .dvc-act svg,
.dvx-root .dvc-actions-row .dvc-act svg,
.dvx-root .dvc-act.mfr svg,
.dvx-root .dvx-card-mfr svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.4;
    flex-shrink: 0;
}
/* MFR sat taller than its row-mates (12px vertical padding vs 8px) — same box
   as the rest; its flex share from the 3-button row is preserved. */
.dvx-root .dv2-actions .dv2-action.mfr {
    padding: 8px 8px;
}

/* Food Ready pill (grid card AND list card): match the legacy skin1 "Mark Food
   Ready" button (bs1-order-action-btn.mfr — light blue bg, dark blue
   text/border) instead of the earlier solid green. */
.dvx-root .dvx-mfr-time,
.dvx-root .dvx-mfr-time.slim {
    background: #ECF3FE;
    color: #2E6CD9;
    border: 1.5px solid #A0C2F9;
}
.dvx-root .dvx-mfr-time em {
    color: #2E6CD9;
    opacity: 0.75;
}

/* Food Ready as a COMPACT pill: shrink-wrapped and centered (display:table +
   auto margins shrink-wraps in every Chromium vintage, unlike fit-content),
   full pill radius, tighter type — replaces the earlier full-width bar look. */
.dvx-root .dvx-mfr-time,
.dvx-root .dvx-mfr-time.slim {
    display: table;
    width: auto;
    min-height: 0;
    height: auto;
    margin: 6px auto 5px;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-align: center;
}

/* Un-accepted (red) cards hide the rider / food-ready / customer-total rows
   (all meaningless pre-accept) — give that vertical space to the items list. */
.dvx-root .dv2-card.red .dv2-items {
    max-height: 300px;
}

/* ==================== Read-only cart row alignment ==================== */
/* Fixed grid columns (num | name | qty | rate | amount) so qty/rate/amount
   line up across MAIN rows, ADDON sub-rows and COMBO-component rows even when
   a row omits its rate/amount spans — flex let qty drift to the far right on
   those rows. Sub-row indent moves into the name cell so the columns
   themselves never shift. */
.dvx-root .dvc-item,
.dvx-root .dvc-item.sub {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 30px 70px 64px;
    align-items: center;
    gap: 6px;
}
.dvx-root .dvc-item.sub { padding: 2px 4px 6px 4px; }
.dvx-root .dvc-item.sub .dvc-item-name { padding-left: 10px; }
.dvx-root .dvc-item-qty { justify-self: center; }
.dvx-root .dvc-item-rate { justify-self: end; text-align: right; }
.dvx-root .dvc-item-amt { justify-self: end; }
/* Full item names — wrap instead of truncating with an ellipsis */
.dvx-root .dvc-item-name {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
    line-height: 1.3;
}

/* ==================== List-card item preview (un-accepted orders) ==================== */
.dvx-root .dc-mini-items {
    padding: 5px 12px 7px;
    border-top: 1px dashed #E5E9EF;
}
.dvx-root .dc-mini-item {
    display: flex;
    align-items: baseline;
    gap: 7px;
    padding: 2px 0;
    font-size: 11.5px;
    line-height: 1.35;
}
.dvx-root .dc-mini-qty {
    font-weight: 800;
    color: #B85466;
    min-width: 24px;
    text-align: right;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}
.dvx-root .dc-mini-name {
    flex: 1;
    color: #334155;
    font-weight: 600;
    word-break: break-word;
}
.dvx-root .dc-mini-more {
    padding: 2px 0 0 31px;
    font-size: 10.5px;
    color: #94A3B8;
    font-weight: 600;
}

/* Full order id in the More header — long composite ids wrap, never overflow
   (matches the .dvm-head-info nowrap rule's specificity to override it) */
.dvx-root .dvm-val.sub,
.dvx-root .dvm-head-info .dvm-val.sub,
.dvx-root .dv2-drawer-head-info .dvm-val.sub {
    word-break: break-all;
    white-space: normal;
}

/* ==================== Tablet pass (1024x768-class screens) ====================
   MUST stay at the END of the file: media queries add no specificity, so these
   only win over the equal-specificity desktop overrides above by source order. */

/* Always leave scroll runway after the last card row so its action buttons
   clear the bottom edge (tablet browser chrome / bottom bars eat into 100vh). */
.dvx-root .dv2-view-inner {
    padding-bottom: 40px;
}

@media (max-width: 1120px) {
/* extra runway on tablets — the visible viewport is shorter than the layout
   viewport, which is what hid the last row's buttons */
.dvx-root .dv2-view-inner {
    padding-bottom: 90px;
}

/* card header: smaller identity + clamped source chip so the order number can
   never ride over the timer / order-time column */
.dvx-root .dv2-card-header { padding: 10px 12px; }
.dvx-root .dv2-card-head { gap: 8px; }
.dvx-root .dv2-head-num, .dvx-root .dc-num {
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dvx-root .dvx-src { max-width: 68px; }
.dvx-root .dv2-head-timer { padding: 3px 8px; font-size: 10.5px; }
.dvx-root .dvx-hr-top { gap: 6px; }
.dvx-root .dvx-ordtime { font-size: 10px; }

/* action buttons: drop the decorative icons + tighter type so PRINT BILL
   fits inside its box on 4-across cards */
.dvx-root .dv2-actions .dv2-action {
    padding: 8px 4px;
    font-size: 11px;
    letter-spacing: 0.1px;
    gap: 4px;
}
.dvx-root .dv2-actions .dv2-action svg { display: none; }
}

/* ==================== Grid rider box: name + number on two lines ====================
   With name AND number in one row the name was squeezed to nothing on narrow
   cards. Stack them: name on top, tappable number below in a smaller font. */
.dvx-root .dv2-rider-lines {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1;
}
.dvx-root .dv2-rider-lines .dv2-rider-mobile {
    margin-left: 0;          /* left-align under the name (was pushed right) */
    font-size: 10px;
    white-space: nowrap;     /* long numbers clip instead of wrapping to a 3rd line */
    overflow: hidden;
    max-width: 100%;
}

/* ==================== Swiggy Mark OOS button (drawer / detail panel) ====================
   Red-tinted variant of the call button — a caution action, not a call action. */
.dvx-root .dvm-oos-btn {
    background: #FDF3F4;
    color: #B85466;
    border-color: #F3C5CC;
    box-shadow: 0 1px 3px rgba(220,90,109,0.10);
}
.dvx-root .dvm-oos-btn:hover {
    background: #FBE7EA;
    border-color: #DC7878;
    color: #A44050;
}
.dvx-root .dvm-oos-btn svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}
