body:is(.vendor-view, .rider-view) { background: #f3f5f8; }
.rider-view .food-toolbar { justify-content: flex-end; }
.rider-view .food-toolbar h1 { display: none; }
.rider-map-card { overflow: hidden; border: 1px solid #e6ede8; border-radius: 16px; background: #fff; }
.rider-map-heading { display: flex; justify-content: flex-end; align-items: center; gap: 12px; padding: 12px; }
.rider-map-heading strong { min-width: 0; overflow-wrap: anywhere; text-align: right; font-size: 16px; }
.rider-map-heading button { flex: 0 0 auto; min-height: 40px; border: 0; }
.rider-live-map { width: 100%; height: 320px; z-index: 0; background: #edf3ef; }
.rider-map-footer { display: flex; align-items: center; gap: 8px; padding: 8px 12px; }
.rider-map-footer p { flex: 1; margin: 0; font-size: 12px; color: #586960; }
.rider-map-footer [role="alert"] { color: #a52828; }
.rider-map-footer button { display: grid; place-items: center; width: 40px; min-height: 40px; padding: 8px; }
.rider-map-footer svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.rider-live-pin, .rider-vendor-pin { border: 0; background: transparent; }
.rider-live-pin img, .rider-vendor-pin img { display: block; width: 100%; height: 100%; object-fit: contain; }
:is(.vendor-view, .rider-view) > main { width: min(calc(100% - 24px), 760px); margin-top: 18px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
:is(.vendor-view, .rider-view) .food-toolbar { margin: 0 0 12px; }
:is(.vendor-view, .rider-view) .food-toolbar h1 { font-size: 14px; color: #66766e; }
:is(.vendor-view, .rider-view) .food-toolbar button { min-height: 36px; padding: 6px 10px; font-size: 12px; background: #fff; }
.vendor-header-profile { display: grid; width: 42px; height: 42px; flex: 0 0 auto; overflow: hidden; place-items: center; border: 2px solid #d1edda; border-radius: 50%; color: #075e3b; background: #effaf3; font-size: 10px; text-decoration: none; }
.vendor-header-profile img { width: 100%; height: 100%; object-fit: cover; }
.vendor-shop-card { display: grid; grid-template-columns: 74px minmax(0, 1fr) 18px; width: 100%; gap: 14px; padding: 20px; text-align: left; color: #171d1a; background: #fff; border: 1px solid #e9edf2; border-radius: 22px; box-shadow: 0 6px 18px #22364409; }
.vendor-shop-card svg, .vendor-panel svg, .vendor-tabs svg { width: 28px; height: 28px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vendor-shop-card > svg { width: 18px; align-self: center; }
.vendor-shop-image { display: grid; width: 74px; height: 74px; align-self: center; place-items: center; overflow: hidden; border-radius: 18px; background: #eaf5f1; color: #007940; }
.vendor-shop-image svg { width: 48px; height: 48px; }
.vendor-shop-image img { width: 100%; height: 100%; object-fit: cover; }
.vendor-shop-copy { display: grid; min-width: 0; gap: 8px; }
.vendor-shop-copy > strong { font-size: clamp(18px, 3.2vw, 25px); line-height: 1.25; }
.vendor-approved { display: inline-flex; color: #11982c; vertical-align: middle; }
.vendor-approved svg { width: 22px; height: 22px; }
.vendor-cuisine { display: flex; align-items: center; gap: 6px; color: #59616a; font-size: 14px; }
.vendor-cuisine svg { width: 20px; height: 20px; }
.vendor-shop-status { justify-self: start; border-radius: 30px; padding: 3px 12px; background: #eef0f4; color: #67716c; font-size: 13px; }
.vendor-shop-status::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: currentColor; }
.vendor-shop-status.is-open { color: #fff; background: #129d2c; }
.vendor-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 20px 0; padding: 4px; border-radius: 20px; background: #fff; box-shadow: 0 5px 18px #22364409; }
.vendor-tabs button { position: relative; display: grid; justify-items: center; gap: 6px; padding: 12px 4px; border: 0; border-radius: 16px; color: #59616a; background: transparent; font-size: 15px; }
.vendor-tabs button[aria-pressed="true"] { color: #fff; background: linear-gradient(110deg, #009454, #006f3d); }
.vendor-tabs button[aria-pressed="true"]::after { content: ""; position: absolute; width: 62%; height: 4px; bottom: -10px; border-radius: 6px; background: #12a032; }
.vendor-panel { margin-top: 24px; padding: 22px; border-radius: 22px; background: #fff; box-shadow: 0 6px 20px #22364408; }
.vendor-panel h2 { margin: 0 0 8px; color: #151a17; font-size: 25px; }
.vendor-subtitle { margin: 0 0 24px; color: #5b6570; font-size: 16px; }
.vendor-overview-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.vendor-overview-heading h2 { margin-bottom: 8px; }
.vendor-view .vendor-panel .vendor-overview-heading .vendor-order-board-open { display: grid; width: 36px; height: 36px; min-height: 36px; flex: 0 0 36px; place-items: center; padding: 0; border: 0; border-radius: 0; color: #086c47; background: transparent; box-shadow: none; }
.vendor-view .vendor-panel .vendor-overview-heading .vendor-order-board-open .vendor-icon { width: 16px; height: 16px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.vendor-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.vendor-overview .vendor-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vendor-stat { display: flex; align-items: center; gap: 12px; padding: 16px 12px; text-align: left; color: #17201b; background: #f3f5f8; border: 1px solid #e4e8ef; border-radius: 18px; }
.vendor-stat:first-child { background: #eaf8f1; border-color: #d4eee1; }
.vendor-stat > svg { color: #14773b; width: 38px; height: 38px; }
.vendor-stat[data-filter="cancelled"] { background: #fff1f1; border-color: #f0d7d7; }
.vendor-stat[data-filter="cancelled"] > svg { color: #a12e38; }
.vendor-stat span { font-size: 13px; }
.vendor-stat strong { display: block; margin-top: 4px; font-size: 32px; color: #080e0a; }
.vendor-board-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.vendor-board-heading h2 { margin: 0; }
.vendor-view .vendor-panel .vendor-board-heading .vendor-board-close { display: grid; flex: 0 0 36px; width: 36px; height: 36px; min-height: 36px; place-items: center; padding: 7px; border: 1px solid #dce7e0; border-radius: 50%; color: #086c47; background: #f7fbf8; box-shadow: none; }
.vendor-board-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.vendor-view .vendor-panel .vendor-board-heading .vendor-board-close:hover { color: #fff; background: #087f52; }
.vendor-order-board-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 10px; }
.vendor-order-board-column { min-width: 0; padding: 8px; border: 1px solid #e5e9ef; border-radius: 16px; background: #f7f9fc; }
.vendor-order-board-column > header { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 8px; margin: -8px -8px 8px; padding: 8px 12px; border-radius: 15px 15px 0 0; }
.vendor-order-board-column h3 { margin: 0; font-size: 15px; }
.vendor-order-board-column > header > span { display: grid; min-width: 26px; height: 26px; place-items: center; padding: 0 6px; border-radius: 50%; color: #fff; background: #263648; font-size: 13px; font-weight: 750; }
.vendor-order-board-new { background: #fff7f6; border-color: #f3dddd; }
.vendor-order-board-new > header { color: #fff; background: #ff5b5b; }
.vendor-order-board-confirmed { background: #fffbef; border-color: #f1e7c7; }
.vendor-order-board-confirmed > header { color: #60430b; background: #ffdc65; }
.vendor-order-board-ready { background: #f1fbf2; border-color: #d7edda; }
.vendor-order-board-ready > header { color: #10451f; background: #93eb9c; }
.vendor-order-board-list { display: grid; gap: 8px; }
.vendor-board-order { min-width: 0; padding: 7px 0; border: 0; border-bottom: 1px solid #e8e5d7; border-radius: 0; background: transparent; box-shadow: none; }
.vendor-board-order-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.vendor-board-order-identity { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.vendor-view .vendor-panel .vendor-board-order .vendor-board-order-number { display: block; min-width: 0; min-height: 24px; padding: 2px 0; border: 0; border-radius: 0; color: #182332; background: transparent; box-shadow: none; font-size: 14px; font-weight: 750; text-align: left; text-decoration: underline; text-decoration-color: #9cabbf; text-underline-offset: 3px; overflow-wrap: anywhere; }
.vendor-view .vendor-panel .vendor-board-order .vendor-board-order-number:hover { color: #087f52; }
.vendor-board-order-status { display: inline-flex; margin: 0; padding: 3px 7px; border-radius: 999px; font-size: 10px; font-weight: 700; line-height: 1.2; }
.vendor-board-order-actions { display: grid; justify-items: end; gap: 1px; min-width: 0; }
.vendor-board-order-action-buttons { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.vendor-board-order-actions time { color: #5b6570; font-size: 10px; line-height: 1.2; white-space: nowrap; }
.vendor-board-action { display: inline-flex; align-items: center; justify-content: center; min-width: 0; min-height: 26px; padding: 3px 8px; border: 1px solid #d5e6db; border-radius: 8px; color: #08734c; background: #f8fcf9; box-shadow: 0 1px 3px rgb(23 65 44 / 8%); font-size: 11px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.vendor-board-action:hover { background: #eaf5ee; }
.vendor-board-action:focus-visible { outline: 2px solid #087f52; outline-offset: 1px; }
.vendor-totals { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; margin-top: 20px; }
.vendor-totals button { display: flex; align-items: center; gap: 12px; padding: 20px 16px; border: 0; border-radius: 18px; text-align: left; }
.vendor-totals svg { width: 34px; height: 34px; }
.vendor-totals span { font-size: 13px; }
.vendor-totals strong { display: block; margin-top: 6px; font-size: clamp(20px, 4vw, 30px); }
.vendor-total-sales { color: #fff; background: linear-gradient(115deg, #079864, #006639); }
.vendor-total-sales > svg:last-child { margin-left: auto; opacity: .3; }
.vendor-total-debt { color: #17201b; background: #edf0f5; }
.vendor-total-debt > svg { color: #116b37; }
.vendor-metric-note { margin: 12px 0 24px; color: #77827c; font-size: 11px; }
.vendor-recent-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 24px 0 14px; }
.vendor-recent-heading h3 { display: flex; align-items: center; gap: 8px; font-size: 21px; }
.vendor-recent-heading h3 svg { color: #167536; }
.vendor-recent-heading button { display: flex; align-items: center; gap: 4px; min-height: 38px; padding: 7px 12px; border: 0; border-radius: 24px; font-size: 12px; }
.vendor-recent-heading button svg { width: 16px; height: 16px; }
.vendor-recent-order { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto 16px; align-items: center; width: 100%; gap: 12px; margin-top: 10px; padding: 16px; text-align: left; border-color: #e5e9ef; background: #fafbfd; color: #19231d; box-shadow: 0 3px 7px #22364405; }
.vendor-recent-order > svg { width: 16px; height: 16px; }
.vendor-order-id, .vendor-order-items { display: grid; min-width: 0; gap: 4px; }
.vendor-order-id { font-size: 13px; padding-right: 10px; border-right: 1px solid #dbe1e8; }
.vendor-order-items { font-size: 14px; overflow-wrap: anywhere; }
.vendor-order-status { padding: 6px 10px; border-radius: 20px; background: #eef0f4; font-size: 12px; }
.status-vendor_review { color: #c5132e; background: #ffe0e5; }
.status-finding_rider, .status-awaiting_payment, .status-preparing { color: #195cad; background: #dfedff; }
.status-ready, .status-delivered { color: #116c30; background: #dcf5e3; }
.vendor-empty { padding: 20px; text-align: center; color: #67766d; background: #f6faf8; border-radius: 14px; }
.vendor-order-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.vendor-order-filters .vendor-filter-count { display: inline-grid; min-width: 22px; height: 22px; place-items: center; padding: 0 5px; border-radius: 999px; color: #075c3c; background: #e6f3eb; font-size: 12px; font-weight: 750; font-variant-numeric: tabular-nums; }
.vendor-order-filters button[aria-pressed="true"] .vendor-filter-count { color: #086c47; background: #fff; }
.vendor-view .vendor-order-summary { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 12px 16px; border: 1px solid #e5e9ef; border-radius: 12px; color: #19231d; background: #fafbfd; text-align: left; }
.vendor-order-identity { display: flex; min-width: 0; align-items: center; flex-wrap: wrap; gap: 7px; }
.vendor-order-summary strong { font-size: 14px; }
.vendor-order-payment { padding: 5px 8px; border-radius: 20px; font-size: 11px; font-weight: 700; line-height: 1.3; }
.status-payment-pending { color: #8a5a08; background: #fff3d8; }
.status-payment-receipt { color: #17653a; background: #e4f5e9; }
.status-payment-confirmed { color: #17653a; background: #d7f0df; }
.status-rider-assigned { color: #17653a; background: #d7f0df; }
.status-order-cancelled { color: #a52828; background: #fff0ef; }
.vendor-order-timer { color: #08734c; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vendor-order-dialog { width: min(calc(100% - 24px), 620px); max-height: calc(100dvh - 24px); box-sizing: border-box; padding: 16px; border: 0; border-radius: 18px; color: #19231d; background: #fff; overflow-y: auto; }
.vendor-order-dialog::backdrop { background: #142d25a6; }
.vendor-order-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vendor-view .vendor-order-heading h2 { margin: 0; font-size: 20px; }
.vendor-order-heading button { min-height: 44px; }
.vendor-order-dialog article { margin-bottom: 0; overflow-wrap: anywhere; }
.vendor-action-short-label { display: none; }
.vendor-view .vendor-order-dialog .vendor-payment-actions { display: grid; width: min(100%, 360px); max-width: 100%; grid-template-columns: minmax(0, .9fr) minmax(0, .9fr) minmax(0, 1.3fr); align-items: stretch; gap: 8px; margin-top: 10px; }
.vendor-view .vendor-order-dialog .vendor-payment-actions > .vendor-action { display: flex; align-items: center; justify-content: center; width: auto; min-width: 0; height: auto; min-height: 48px; flex: 1 1 0; gap: 5px; padding: 7px 5px; border: 1px solid #dce7df; border-radius: 13px; color: #14633f; background: linear-gradient(145deg, #fff, #f0f7f2); box-shadow: inset 0 1px 0 #fff, 0 3px 8px #163b2512; text-decoration: none; }
.vendor-view .vendor-order-dialog .vendor-payment-actions [data-step="refund"] { border-color: #edd4d8; color: #9c3c4a; background: linear-gradient(145deg, #fff, #fff2f3); }
.vendor-view .vendor-order-dialog .vendor-payment-actions .vendor-icon { width: 22px; height: 22px; flex: 0 0 22px; }
.vendor-view .vendor-order-dialog .vendor-payment-actions .vendor-icon-depth { display: initial; }
.vendor-view .vendor-order-dialog .vendor-payment-actions .vendor-action-text { display: none; }
.vendor-view .vendor-order-dialog .vendor-payment-actions .vendor-action-short-label { display: block; color: inherit; font-size: 10px; font-weight: 750; line-height: 1.1; text-align: center; overflow-wrap: anywhere; }
.vendor-view .vendor-order-dialog .vendor-payment-actions .vendor-whatsapp-icon { width: 22px; height: 22px; flex: 0 0 22px; padding: 3px; border: 1px solid #c8e9d8; border-radius: 9px; color: #128c7e; background: linear-gradient(145deg, #f3fff8, #d9f3e5); box-shadow: 0 2px 4px #128c7e20; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vendor-view .vendor-order-dialog .vendor-payment-actions .vendor-whatsapp-action { color: #087c60; }
.vendor-view .vendor-order-dialog .vendor-payment-actions .vendor-whatsapp-label { min-width: 0; color: inherit; font-size: 10px; font-weight: 750; line-height: 1.1; text-align: left; white-space: normal; overflow-wrap: anywhere; }
.vendor-view .vendor-order-dialog .vendor-payment-actions .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.vendor-order-dialog [data-order-status] { padding: 10px; border-radius: 10px; background: #edf8f1; }
.vendor-order-dialog [data-order-status].error { color: #a23b33; background: #fff0ef; }
.food-notification-control { display: inline-flex; min-height: 38px; align-items: center; padding: 7px 11px; border: 1px solid #d6e7dc; border-radius: 12px; color: #086c47; background: #fff; font-size: 12px; font-weight: 700; }
.food-notification-control:disabled { color: #6d7d74; background: #edf1ee; }
.food-order-alerts { position: fixed; z-index: 1100; top: max(12px, env(safe-area-inset-top)); right: 12px; display: grid; width: min(360px, calc(100vw - 24px)); gap: 8px; pointer-events: none; }
.food-order-toast { position: relative; display: grid; gap: 5px; padding: 14px 42px 14px 16px; border: 1px solid #cce5d5; border-left: 5px solid #07844f; border-radius: 14px; color: #183a2a; background: #fff; box-shadow: 0 8px 26px #183b2528; pointer-events: auto; animation: food-order-toast-in .2s ease-out; }
.food-order-toast-rider { border-color: #cddcf2; border-left-color: #2464a7; color: #1b3859; }
.food-order-toast > strong { font-size: 14px; }
.food-order-toast > span { font-size: 13px; line-height: 1.45; }
.food-order-toast-close { position: absolute; top: 7px; right: 7px; width: 34px; height: 34px; border: 0; border-radius: 50%; color: inherit; background: transparent; font-size: 23px; }
.vendor-new-order-dialog { width: min(440px, calc(100vw - 28px)); max-width: none; max-height: min(680px, calc(100dvh - 28px)); padding: 0; overflow-y: auto; border: 1px solid #d9e8df; border-radius: 20px; color: #183a2a; background: #fff; box-shadow: 0 18px 60px #102a1e35; }
.vendor-new-order-dialog::backdrop { background: #10251acc; backdrop-filter: blur(3px); }
.vendor-new-order-popup { padding: 22px; }
.vendor-new-order-eyebrow { margin: 0 0 7px; color: #087f52; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.vendor-new-order-popup h2 { margin: 0; font-size: 22px; }
.vendor-new-order-subtitle { margin: 6px 0 16px; color: #687b70; font-size: 13px; }
.vendor-new-order-items { display: grid; gap: 9px; max-height: 30vh; overflow-y: auto; margin: 0; padding: 0; list-style: none; }
.vendor-new-order-items li, .vendor-new-order-total { display: flex; justify-content: space-between; gap: 12px; margin: 0; font-size: 14px; }
.vendor-new-order-items li span { min-width: 0; overflow-wrap: anywhere; }
.vendor-new-order-items li strong { flex: 0 0 auto; }
.vendor-new-order-total { margin-top: 15px; padding-top: 13px; border-top: 1px solid #e7eee9; font-weight: 700; }
.vendor-new-order-total strong { color: #087f52; font-size: 18px; }
.vendor-new-order-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 20px; }
.vendor-new-order-actions button { min-height: 46px; padding: 10px 12px; border: 1px solid #d3e4da; border-radius: 12px; color: #46594e; background: #fff; font-size: 14px; font-weight: 750; }
.vendor-new-order-actions .primary { border-color: #087f52; color: #fff; background: #087f52; }
@keyframes food-order-toast-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.vendor-panel .error { padding: 12px; background: #fff0f1; border-radius: 12px; }
.rider-tabs button { min-width: 0; }
.rider-tabs span { overflow-wrap: anywhere; }
.rider-debt-vendor { margin: 24px 0 8px; color: #087f52; }
.rider-view .vendor-shop-card { grid-template-columns: 52px minmax(0, 1fr) 18px; gap: 10px; padding: 14px; border-radius: 16px; }
.rider-view .vendor-shop-image { width: 52px; height: 52px; border-radius: 12px; }
.rider-view .vendor-shop-image svg { width: 32px; height: 32px; }
.rider-view .vendor-shop-copy { gap: 3px; }
.rider-view .vendor-shop-copy > strong { font-size: 18px; }
.rider-view .vendor-tabs { margin: 12px 0; border-radius: 14px; }
.rider-view .vendor-tabs button { min-height: 54px; padding: 6px 3px; gap: 3px; border-radius: 10px; font-size: 12px; }
.rider-view .vendor-tabs svg { width: 22px; height: 22px; }
.rider-view .vendor-panel { margin-top: 12px; padding: 16px; border: 1px solid #e6ede8; border-radius: 16px; }
.rider-view .vendor-panel h2 { font-size: 20px; }
.rider-view .vendor-subtitle { margin-bottom: 12px; font-size: 14px; }
.rider-view .vendor-stats { gap: 6px; }
.rider-view .vendor-stat { display: grid; align-content: start; gap: 6px; padding: 12px 8px; border-radius: 12px; }
.rider-view .vendor-stat > svg { width: 26px; height: 26px; }
.rider-view .vendor-stat span { font-size: 12px; }
.rider-view .vendor-stat strong { font-size: 24px; }
.rider-view .vendor-totals { gap: 8px; margin-top: 12px; }
.rider-view .vendor-totals button { min-width: 0; padding: 12px; border-radius: 12px; }
.rider-view .vendor-totals strong { font-size: clamp(16px, 4vw, 22px); overflow-wrap: anywhere; }
.rider-view .vendor-totals svg { width: 24px; height: 24px; }
.rider-view .vendor-metric-note { margin: 10px 0 16px; }
.rider-view .vendor-recent-heading { margin: 16px 0 10px; }
.rider-view .vendor-recent-heading h3 { font-size: 17px; }
.rider-view .vendor-recent-order { gap: 8px; padding: 10px; }
.rider-view .rider-offer { margin: 10px 0; padding: 14px; border-radius: 12px; }
.rider-view .rider-offer p { margin: 6px 0; font-size: 13px; }
.rider-view .rider-offer [data-action="accept-rider"] { width: 100%; color: #fff; background: #087f52; border-color: #087f52; }
@media (max-width: 700px) and (hover: none) and (pointer: coarse) {
  .rider-view .food-toolbar h1 { display: none; }
  .rider-view .food-toolbar { margin: 0; }
  .rider-view .food-toolbar #refresh:not(:focus-visible) { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
}
.vendor-profile-form { display: grid; gap: 20px; padding: 0; margin: 24px 0 0; border: 0; background: transparent; }
.vendor-profile-form fieldset { min-width: 0; margin: 0; padding: 18px; border: 1px solid #e2ebe6; border-radius: 16px; background: #fafcfb; }
.vendor-profile-form legend { display: flex; align-items: center; gap: 8px; padding: 0 8px; color: #08683d; font-weight: 700; }
.vendor-profile-form legend svg { width: 22px; height: 22px; }
.vendor-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.vendor-profile-form label { color: #475e51; }
.vendor-profile-form input, .vendor-profile-form textarea { margin-top: 6px; border-color: #dce7e0; background: #fff; }
.vendor-profile-form .vendor-info-card { padding: 20px; border-color: #e0e9e4; border-radius: 18px; background: #fff; box-shadow: 0 3px 12px #17432c06; }
.vendor-info-card legend { gap: 10px; padding: 0 6px; color: #183f2b; font-size: 16px; letter-spacing: -.2px; }
.vendor-info-icon { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #dceee3; border-radius: 11px; color: #087f52; background: #eef8f2; }
.vendor-info-card .vendor-profile-grid { gap: 16px; padding-top: 8px; }
.vendor-info-card label { min-width: 0; gap: 8px; margin: 0; color: #52655b; font-size: 13px; font-weight: 600; }
.vendor-profile-form .vendor-info-card input { min-height: 48px; margin: 0; padding: 12px 14px; border-color: #e2e9e5; border-radius: 12px; color: #243b2e; background: #f7f9f8; font-size: 15px; font-weight: 400; transition: border-color .15s, background .15s; }
.vendor-info-card input:hover { border-color: #abcbb8; }
.vendor-profile-form .vendor-info-card input:focus { border-color: #087f52; background: #fff; outline: 2px solid #087f5240; outline-offset: 2px; }
.vendor-profile-form .vendor-info-card input:disabled { color: #66766d; background: #edf1ee; }
.vendor-location-card > label { margin-top: 10px; }
.vendor-profile-form .vendor-location-card textarea { margin: 0; padding: 12px 14px; border-radius: 12px; border-color: #e2e9e5; background: #f7f9f8; font-size: 15px; font-weight: 400; line-height: 1.5; }
.vendor-location-card [data-vendor-gps-address] { display: block; margin-top: 5px; color: #087f52; font-size: 8px; line-height: 1.4; font-weight: 600; }
.vendor-location-card [data-vendor-gps-address][role="alert"] { color: #b42318; }
.vendor-location-actions, .vendor-coordinate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.vendor-location-actions button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 8px; border-color: #dceee3; background: #eef8f2; font-size: 13px; }
.vendor-location-actions svg { width: 20px; height: 20px; }
.vendor-coordinate-grid input { font-variant-numeric: tabular-nums; }
.vendor-map-dialog { width: min(calc(100% - 24px), 680px); max-height: calc(100dvh - 32px); padding: 20px; border: 1px solid #dfe9e3; border-radius: 22px; color: #243b2e; background: #fff; box-shadow: 0 20px 80px #102b2740; overflow-y: auto; }
.vendor-map-dialog::backdrop { background: #102b2766; }
.vendor-map-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.vendor-map-heading h2 { margin: 0; font-size: 20px; }
.vendor-map-heading p, .vendor-map-status { color: #52655b; font-size: 13px; line-height: 1.5; }
.vendor-map-heading button { flex: 0 0 auto; width: 44px; height: 44px; padding: 0; background: #f3f7f4; font-size: 24px; }
.vendor-map-dialog .vendor-location-map { height: min(420px, 50dvh); min-height: 200px; margin: 16px 0; }
.vendor-location-map .leaflet-top.leaflet-right { z-index: 1000; }
.vendor-map-dialog .vendor-map-locate { display: grid; width: 44px; height: 44px; min-height: 44px; place-items: center; padding: 8px; border: 1px solid #b9dfcb; border-radius: 10px; color: #087f52; background: #effaf3; box-shadow: 0 3px 10px #163c2a1f; }
.vendor-map-locate svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.vendor-map-locate:hover { background: #dff4e7; border-color: #87c8a4; }
.vendor-map-locate:disabled { opacity: .6; cursor: wait; }
.vendor-map-status[role="alert"] { color: #b42318; }
.vendor-map-dialog footer { display: flex; justify-content: end; margin-top: 16px; }
.vendor-map-dialog footer button { min-width: 120px; }
.vendor-payment-qr { display: block; width: min(100%, 280px); height: auto; max-height: 320px; object-fit: contain; margin: 16px auto; padding: 12px; border: 1px solid #e2e9e5; border-radius: 14px; background: white; }
.food-payment-dialog p { font-size: 14px; line-height: 1.6; white-space: pre-line; }
.food-payment-dialog form { margin-top: 20px; }
.food-receipt-image { display: block; width: 100%; max-height: 65dvh; object-fit: contain; margin: 16px 0; }
.food-receipt-dialog { width: min(calc(100% - 24px), 400px); padding: 12px; border-radius: 14px; }
.food-receipt-heading { display: flex; align-items: center; gap: 8px; }
.food-receipt-summary { display: flex; flex: 1; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; white-space: nowrap; }
.food-receipt-heading button { width: 36px; min-height: 36px; height: 36px; flex: 0 0 auto; padding: 0; font-size: 18px; }
.food-receipt-dialog .food-receipt-image { width: 100%; max-height: 48dvh; margin: 6px 0; }
.food-receipt-dialog [data-receipt-image] > a { display: inline-block; font-size: 12px; line-height: 1.3; }
.food-receipt-dialog p { margin: 6px 0; font-size: 12px; line-height: 1.3; }
.food-receipt-dialog footer { margin-top: 8px; }
.food-receipt-dialog footer button { width: auto; min-width: 0; min-height: 36px; padding: 7px 12px; font-size: 12px; }
@media (max-width: 360px) { .vendor-coordinate-grid { grid-template-columns: minmax(0, 1fr); } }
.vendor-profile-form textarea { min-height: 90px; resize: vertical; }
.vendor-profile-save { justify-self: end; padding: 12px 24px; }
.vendor-location-map { height: 320px; width: 100%; margin: 12px 0; border: 1px solid #dce7e0; border-radius: 14px; z-index: 0; }
.vendor-location-map .leaflet-control a { padding: 0; }
.vendor-map-pin span { display: block; width: 30px; height: 30px; background: #008f4c; border: 3px solid white; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 2px 6px #0006; }
.vendor-map-pin span::after { content: ""; display: block; width: 8px; height: 8px; margin: 8px; border-radius: 50%; background: white; }
.vendor-map-pin:focus-visible { outline: 3px solid #1260c4; outline-offset: 5px; }
.vendor-icon-depth { display: none; }
body.vendor-view { background: #f4f7f5; }
.vendor-view > main { margin-top: 10px; }
.vendor-view .vendor-shop-card { gap: 8px; padding: 10px; border-radius: 16px; }
.vendor-view .vendor-shop-copy { gap: 3px; }
.vendor-view .vendor-shop-copy > strong { font-size: clamp(18px, 3vw, 23px); }
.vendor-view .vendor-shop-image { padding: 0; border: 0; }
.vendor-view .vendor-shop-edit { align-self: center; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #59616a; }
.vendor-view .vendor-shop-edit .vendor-icon { width: 18px; height: 18px; }
.vendor-view .vendor-shop-card { grid-template-columns: 74px minmax(0, 1fr) 44px; }
.vendor-view .vendor-open-switch { display: inline-flex; align-items: center; justify-self: start; gap: 8px; min-height: 44px; padding: 4px 10px 4px 0; border: 0; border-radius: 24px; background: transparent; color: #67716c; font-size: 13px; font-weight: 600; }
.vendor-switch-track { display: block; width: 48px; height: 28px; padding: 3px; box-sizing: border-box; border-radius: 20px; background: #dce3df; box-shadow: inset 0 1px 3px #183b2520; transition: background .18s ease; }
.vendor-switch-thumb { display: block; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px #183b2530; transition: transform .18s ease; }
.vendor-view .vendor-open-switch[aria-checked="true"] { color: #087f52; }
.vendor-open-switch[aria-checked="true"] .vendor-switch-track { background: #11985a; }
.vendor-open-switch[aria-checked="true"] .vendor-switch-thumb { transform: translateX(20px); }
.vendor-open-switch:disabled { opacity: .55; cursor: wait; }
.vendor-view .vendor-tabs { box-sizing: border-box; min-height: 68px; align-items: center; gap: 4px; margin: 6px 0; padding: 3px 8px calc(4px + env(safe-area-inset-bottom)); border: 0; border-radius: 14px 14px 0 0; background: #fffffff5; box-shadow: 0 -3px 20px #334a5210; }
.vendor-view .vendor-tabs button { display: grid; align-content: center; justify-items: center; gap: 1px; min-height: 50px; padding: 2px 1px; border-radius: 10px; font-size: 11px; }
.vendor-view .vendor-tabs .vendor-tab-art { display: block; width: 26px; height: 26px; object-fit: contain; border-radius: 6px; filter: drop-shadow(0 2px 1px #154c3626); }
.vendor-view .vendor-tabs button[aria-pressed="true"] { color: #075c3c; background: #eaf6ef; box-shadow: inset 0 1px 0 #fff, 0 2px 5px #163b2515; }
.vendor-view .vendor-tabs button[aria-pressed="true"]::after { display: none; }
.vendor-view .vendor-panel { margin-top: 6px; padding: 12px; border: 1px solid #e6ede8; border-radius: 16px; box-shadow: 0 4px 16px #183b2510; }
.vendor-view .vendor-panel h2 { font-size: 20px; margin: 0 0 8px; }
.vendor-view .vendor-overview-heading { align-items: center; gap: 6px; }
.vendor-view .vendor-overview-heading h2 { margin: 0; }
.vendor-view .vendor-subtitle { margin-bottom: 12px; font-size: 13px; }
.vendor-view .vendor-stats, .vendor-view .vendor-totals { gap: 4px; }
.vendor-view .vendor-stat { gap: 8px; padding: 12px 8px; border-radius: 14px; background: #f6f8f7; }
.vendor-view .vendor-stat strong { font-size: 25px; margin-top: 2px; }
.vendor-view .vendor-stat span { font-size: 12px; }
.vendor-view .vendor-totals { margin-top: 4px; }
.vendor-view .vendor-totals button { gap: 8px; padding: 14px 10px; border-radius: 14px; }
.vendor-view .vendor-totals strong { font-size: clamp(18px, 4vw, 26px); margin-top: 3px; }
.vendor-view .vendor-total-sales { color: #075c3c; background: #eaf6ef; border: 1px solid #d5e9dd; }
.vendor-view .vendor-total-debt { background: #f5f1e9; border: 1px solid #ebe2d2; }
.vendor-view .vendor-metric-note { margin: 8px 0 12px; line-height: 1.5; color: #596b61; }
.vendor-view .vendor-recent-heading { margin: 8px 0 4px; }
.vendor-view .vendor-recent-heading h3 { font-size: 16px; margin: 0; }
.vendor-view .vendor-recent-order { margin-top: 6px; gap: 8px; padding: 12px; border-radius: 12px; }
.vendor-view .vendor-profile-form { gap: 8px; margin-top: 8px; }
.vendor-view .vendor-profile-form fieldset, .vendor-view .vendor-profile-form .vendor-info-card { padding: 8px; border-radius: 12px; box-shadow: none; }
.vendor-view .vendor-profile-grid, .vendor-view .vendor-info-card .vendor-profile-grid, .vendor-view .vendor-coordinate-grid { gap: 6px; }
.vendor-view .vendor-info-card .vendor-profile-grid { padding-top: 0; }
.vendor-view .vendor-profile-form legend { font-size: 13px; gap: 6px; }
.vendor-view .vendor-info-icon { width: 26px; height: 26px; border: 0; background: transparent; }
.vendor-view .vendor-info-icon .vendor-icon { width: 18px; height: 18px; padding: 0; background: none; box-shadow: none; }
.vendor-view .vendor-profile-form label { margin: 3px 0; font-size: 12px; gap: 4px; }
.vendor-view .vendor-profile-form input, .vendor-view .vendor-profile-form textarea, .vendor-view .vendor-profile-form select { box-sizing: border-box; min-height: 36px; margin: 0; padding: 6px 8px; font-size: 13px; line-height: 18px; border-radius: 8px; background: #f8faf9; border-color: #dfe8e2; }
.vendor-view .vendor-profile-form .vendor-profile-grid .vendor-name-field, .vendor-view .vendor-profile-form .vendor-profile-grid select { min-height: 36px; height: 36px; padding: 6px 8px; font-size: 13px; line-height: 18px; }
.vendor-view .vendor-profile-form .vendor-profile-grid .vendor-name-field { resize: none; overflow-y: auto; overflow-wrap: anywhere; }
.vendor-view .vendor-profile-form .vendor-profile-grid label { margin: 0; font-size: 12px; }
.vendor-view .vendor-profile-form textarea { min-height: 36px; }
.vendor-view .vendor-location-actions { gap: 8px; margin-top: 8px; }
.vendor-view .vendor-coordinate-grid { margin-top: 8px; }
.vendor-view .vendor-media-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.vendor-view .vendor-media-item { min-width: 0; }
.vendor-view .vendor-profile-form .vendor-media-item { display: grid; grid-template-columns: minmax(0, 1fr) 32px; align-content: start; align-items: end; gap: 6px; padding: 8px; border: 1px solid #e6eee8; border-radius: 10px; background: #fafcfb; }
.vendor-view .vendor-profile-form .vendor-media-item > .upload-preview { grid-column: 1 / -1; grid-row: 1; width: 100%; min-height: 72px; display: grid; place-items: center; }
.vendor-view .vendor-profile-form .vendor-media-item > label { grid-column: 1; grid-row: 2; margin: 0; }
.vendor-view .vendor-profile-form .vendor-media-item input[type="file"] { min-height: 38px; padding: 4px; font-size: 11px; }
.vendor-view .vendor-profile-form .vendor-media-item .upload-preview { min-width: 0; margin: 0; }
.vendor-view .vendor-profile-form .vendor-media-item .upload-preview img { display: block; width: auto; height: auto; max-width: 100%; max-height: 72px; padding: 3px; object-fit: contain; }
.vendor-view .vendor-profile-form .vendor-media-item > button { grid-column: 2; grid-row: 2; width: 32px; height: 32px; min-height: 32px; padding: 7px; border-radius: 8px; }
.vendor-view .vendor-profile-form .vendor-media-item > button .vendor-icon { width: 16px; height: 16px; }
.vendor-view input[type="file"] { padding: 6px; font-size: 11px; overflow: hidden; }
.vendor-view input[type="file"]::file-selector-button { margin-right: 6px; padding: 8px; border: 0; border-radius: 7px; color: #076441; background: #e4f2e9; cursor: pointer; font: inherit; font-weight: 600; }
.vendor-view .upload-preview:empty { display: none; }
.vendor-view .upload-preview { margin: 6px 0; }
.vendor-view .upload-preview img { width: min(100%, 160px); height: 100px; object-fit: contain; background: #f7f9f8; border: 1px solid #e6ece8; padding: 4px; }
.vendor-view .upload-preview img.vendor-payment-qr { width: 180px; height: 180px; margin: 8px 0; padding: 8px; }
.vendor-view .vendor-panel button:not(.vendor-stat, .vendor-total-sales, .vendor-total-debt, .vendor-recent-order, .vendor-sales-calendar-day, .vendor-sales-calendar-apply, .vendor-sales-calendar-nav, .vendor-sales-calendar-toggle), .vendor-view .vendor-map-dialog button { min-height: 44px; padding: 9px 12px; border-radius: 11px; background: linear-gradient(#fff, #f1f6f3); border: 1px solid #dce7df; color: #14633f; box-shadow: inset 0 1px 0 #fff, 0 2px 4px #163b250d; font-size: 12px; }
.vendor-view .vendor-panel button.primary { color: #fff; background: linear-gradient(#11845a, #086c47); border-color: #086c47; box-shadow: inset 0 1px 0 #ffffff38, 0 3px 7px #086c4720; }
.vendor-view .vendor-action, .vendor-view .vendor-panel .primary { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.vendor-view .vendor-panel .vendor-location-actions { display: flex; grid-template-columns: none; align-items: center; gap: 16px; margin-top: 8px; }
.vendor-view .vendor-panel .vendor-location-actions > button { display: inline-flex; width: auto; min-height: 32px; align-items: center; justify-content: flex-start; gap: 6px; padding: 2px 0; border: 0; border-radius: 0; color: #14633f; background: transparent; box-shadow: none; font-size: 12px; }
.vendor-view .vendor-panel .vendor-location-actions > button > svg.vendor-icon { width: 18px; height: 18px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.vendor-view .vendor-panel[data-vendor-panel="orders"] .row > .vendor-action { box-sizing: border-box; height: 34px; min-height: 34px; gap: 4px; padding: 3px 8px; border-radius: 8px; font-size: 10px; }
.vendor-view .vendor-panel[data-vendor-panel="orders"] .row > .vendor-action .vendor-icon { width: 16px; height: 16px; }
.vendor-view .vendor-panel a.vendor-action { min-height: 44px; padding: 9px 12px; border: 1px solid #dce7df; border-radius: 11px; color: #14633f; background: linear-gradient(#fff, #f1f6f3); box-shadow: inset 0 1px 0 #fff, 0 2px 4px #163b250d; font-size: 12px; text-decoration: none; }
.vendor-view .vendor-panel a.vendor-action:focus-visible { outline: 3px solid #41976f; outline-offset: 2px; }
.vendor-view .vendor-panel button.vendor-icon-button { width: 44px; height: 44px; padding: 10px; flex: 0 0 auto; }
.vendor-view .food-toolbar #refresh { display: grid; place-items: center; width: 44px; height: 44px; padding: 7px; }
.vendor-view .vendor-panel button.vendor-action-danger { color: #a23d43; border-color: #eadade; background: linear-gradient(#fff, #fbf1f2); }
.vendor-view button:active:not(:disabled) { transform: translateY(1px); box-shadow: none; }
.vendor-view button:focus-visible { outline: 3px solid #41976f; outline-offset: 2px; }
.vendor-view .vendor-icon { --icon-light: #f4fff7; --icon-mid: #c3e8cf; --icon-edge: #18794a; --icon-depth: #a2c9b0; width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.vendor-view .vendor-icon:not([data-icon="arrow"]) { padding: 4px; border-radius: 9px; color: var(--icon-edge); background: linear-gradient(145deg, var(--icon-light), var(--icon-mid)); box-shadow: inset 0 1px 1px #fff, inset -1px -2px 2px #174b2920, 0 2px 0 var(--icon-depth), 0 3px 5px #193b2520; }
.vendor-view .vendor-icon-depth { display: initial; stroke: var(--icon-depth); stroke-width: 2.5; }
.vendor-view .vendor-icon[data-icon="arrow"] .vendor-icon-depth { display: none; }
.vendor-view .vendor-icon[data-icon="money"], .vendor-view .vendor-icon[data-icon="sales"] { --icon-light: #fffbed; --icon-mid: #f3ddb0; --icon-edge: #8c6115; --icon-depth: #dbc394; }
.vendor-view .vendor-icon[data-icon="paid"] { --icon-light: #f1fff5; --icon-mid: #b7e9c8; --icon-edge: #087343; --icon-depth: #9dcfad; }
.vendor-view .vendor-icon[data-icon="refund"] { --icon-light: #fff6f7; --icon-mid: #f2d5da; --icon-edge: #a23d4b; --icon-depth: #d7b4bc; }
.vendor-view .vendor-icon[data-icon="orders"], .vendor-view .vendor-icon[data-icon="accepted"], .vendor-view .vendor-icon[data-icon="rider"] { --icon-light: #f1f8ff; --icon-mid: #cbdff3; --icon-edge: #38689a; --icon-depth: #b4cbe3; }
.vendor-view .vendor-icon[data-icon="trash"] { --icon-light: #fff8f8; --icon-mid: #f1d5d9; --icon-edge: #a23d43; --icon-depth: #dab7bf; }
.vendor-view .food-toolbar { justify-content: flex-end; }
.vendor-view .food-toolbar h1 { display: none; }
.vendor-view .food-toolbar #refresh { min-height: 44px; border: 0; background: transparent; box-shadow: none; color: #087f52; }
.vendor-view .food-toolbar #refresh svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vendor-view .food-toolbar #refresh:focus-visible { outline: 2px solid #087f52; outline-offset: 2px; }
.vendor-view .vendor-shop-banner { position: relative; height: clamp(150px, 35vw, 260px); overflow: hidden; border-radius: 18px; background: #eaf5f1; }
.vendor-view .vendor-shop-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vendor-view .vendor-shop-banner + .vendor-shop-card { position: relative; width: calc(100% - 24px); margin: -24px 12px 0; }
.vendor-cover-view > main { margin-top: 0; }
.vendor-cover-view .food-toolbar { display: none; }
.vendor-cover-view .vendor-shop-banner #refresh { position: absolute; z-index: 1; top: 8px; right: 8px; display: grid; width: 44px; height: 44px; min-height: 44px; place-items: center; padding: 8px; border: 0; border-radius: 50%; color: #087f52; background: #fff; box-shadow: 0 2px 8px #183b2530; }
.vendor-cover-view .vendor-shop-banner #refresh svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vendor-cover-view .vendor-shop-banner #refresh:focus-visible { outline: 2px solid #087f52; outline-offset: 2px; }
.vendor-view .vendor-shop-card { grid-template-columns: 84px minmax(0, 1fr) 44px; }
.vendor-view .vendor-shop-image { width: 84px; height: 84px; }
.vendor-view .vendor-panel .vendor-action .vendor-icon, .vendor-view .vendor-panel .primary .vendor-icon { width: 22px; height: 22px; padding: 0; background: none; box-shadow: none; border-radius: 0; color: inherit; }
.vendor-view .vendor-panel .vendor-action .vendor-icon-depth, .vendor-view .vendor-panel .primary .vendor-icon-depth { display: none; }
.vendor-view .vendor-menu-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 6px 0; padding: 10px; background: #fafcfb; border-radius: 12px; }
.vendor-view .vendor-menu-thumbnail { width: 48px; height: 48px; flex: 0 0 48px; object-fit: cover; border-radius: 10px; background: #eef3ef; }
.vendor-view .vendor-menu-copy { display: grid; flex: 1; gap: 4px; min-width: 0; overflow-wrap: anywhere; font-size: 13px; }
.vendor-view .vendor-menu-row .actions { display: flex; flex: 0 0 auto; flex-wrap: nowrap; gap: 4px; margin: 0; }
.vendor-view .vendor-panel[data-vendor-panel="menu"] .vendor-menu-heading-actions > button:not(.vendor-icon-button) { min-height: 34px; padding: 5px 8px; border-radius: 8px; font-size: 11px; }
.vendor-view .vendor-panel[data-vendor-panel="menu"] .vendor-menu-heading-actions > button.vendor-icon-button { width: 34px; height: 34px; min-height: 34px; padding: 7px; border-radius: 8px; }
.vendor-view .vendor-panel[data-vendor-panel="menu"] .vendor-menu-heading-actions > button.vendor-icon-button .vendor-icon { width: 16px; height: 16px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.vendor-view .vendor-menu-row .actions > button.vendor-icon-button { display: grid; width: 32px; height: 32px; min-height: 32px; flex: 0 0 32px; place-items: center; padding: 6px; border: 0; border-radius: 8px; background: transparent; box-shadow: none; }
.vendor-view .vendor-menu-row .actions > button.vendor-icon-button .vendor-icon { width: 16px; height: 16px; padding: 0; border-radius: 0; color: inherit; background: none; box-shadow: none; }
.vendor-view .vendor-menu-row .actions > button.vendor-icon-button .vendor-icon-depth { display: none; }
.vendor-view .vendor-panel .vendor-menu-row .actions > button.vendor-menu-availability { display: flex; box-sizing: border-box; width: 42px; height: 24px; min-width: 42px; min-height: 24px; flex: 0 0 42px; align-items: center; justify-content: flex-start; padding: 3px; border: 1px solid #cbd6ce; border-radius: 999px; background: #dfe5e0; box-shadow: none; line-height: 0; appearance: none; transition: background .16s ease, border-color .16s ease; }
.vendor-view .vendor-panel .vendor-menu-row .actions > button.vendor-menu-availability > span { display: block; width: 16px; height: 16px; flex: 0 0 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px #20352930; pointer-events: none; transition: transform .16s ease; }
.vendor-view .vendor-panel .vendor-menu-row .actions > button.vendor-menu-availability[aria-checked="true"] { border-color: #087f52; background: #087f52; }
.vendor-view .vendor-panel .vendor-menu-row .actions > button.vendor-menu-availability[aria-checked="true"] > span { transform: translateX(18px); }
.vendor-view .vendor-menu-copy > span { color: #607166; font-size: 12px; }
.vendor-stock-ready { color: #14633f; }
.vendor-stock-empty { color: #a23d43; }
.vendor-view .vendor-menu-editor { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px; background: #fafcfb; }
.vendor-view .vendor-menu-editor > label { margin: 0; min-width: 0; }
.vendor-view .vendor-menu-editor > :not(label) { grid-column: 1 / -1; }
.vendor-view .vendor-menu-editor input, .vendor-view .vendor-menu-editor select, .vendor-view .vendor-menu-editor textarea { font-size: 13px; min-height: 44px; }
.vendor-view .vendor-menu-editor fieldset { padding: 10px; margin: 8px 0; }
.vendor-menu-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vendor-menu-heading-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.vendor-view .vendor-menu-heading h2 { margin: 0; }
.vendor-view .vendor-menu-dialog { width: min(620px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 16px; color: #23392c; border: 1px solid #dce7df; border-radius: 20px; background: #fff; overflow-y: auto; scrollbar-width: none; }
.vendor-view .vendor-menu-dialog::-webkit-scrollbar { display: none; width: 0; height: 0; }
.vendor-menu-dialog::backdrop { background: #142d25a6; backdrop-filter: blur(3px); }
.vendor-view .vendor-menu-dialog > .vendor-menu-heading { position: sticky; top: -16px; padding: 0 0 10px; background: #fff; z-index: 1; border-bottom: 1px solid #e8eeea; }
.vendor-view .vendor-menu-dialog > .vendor-menu-heading h2 { font-size: 18px; }
.vendor-menu-dialog > .vendor-menu-heading p { margin: 3px 0 0; color: #617369; font-size: 12px; }
.vendor-view .vendor-menu-dialog [data-action="close-menu"], .vendor-view .vendor-menu-dialog [data-action="close-add-option-group"] { min-width: 44px; }
.vendor-view .vendor-menu-dialog > header [data-action="close-menu"], .vendor-view .vendor-menu-dialog > header [data-action="close-add-option-group"] { width: 44px; height: 44px; padding: 10px; }
.vendor-view .vendor-add-option-group-dialog > .vendor-menu-heading { padding-bottom: 4px; }
.vendor-view .vendor-add-option-group-dialog .vendor-menu-editor { margin-top: 4px; }
.vendor-view .vendor-add-option-group-dialog > .vendor-menu-heading [data-action="close-add-option-group"] { display: grid; width: 32px; height: 32px; min-width: 32px; min-height: 32px; place-items: center; padding: 0; border: 0; border-radius: 0; color: #087f52; background: transparent; box-shadow: none; }
.vendor-view .vendor-add-option-group-dialog > .vendor-menu-heading [data-action="close-add-option-group"] .vendor-icon { width: 20px; height: 20px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.vendor-view .vendor-menu-dialog > .vendor-menu-heading [data-action="close-menu"] { display: grid; width: 32px; height: 32px; min-width: 32px; min-height: 32px; place-items: center; padding: 0; border: 0; border-radius: 0; color: #087f52; background: transparent; box-shadow: none; }
.vendor-view .vendor-menu-dialog > .vendor-menu-heading [data-action="close-menu"] .vendor-icon { width: 20px; height: 20px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.vendor-menu-dialog > header [data-action="close-menu"] .vendor-icon { transform: rotate(45deg); padding: 0; background: none; box-shadow: none; }
.vendor-view .vendor-menu-dialog .vendor-menu-editor { margin: 12px 0 0; padding: 0; gap: 10px; background: transparent; border: 0; }
.vendor-view .vendor-menu-dialog .vendor-menu-editor label { font-size: 12px; font-weight: 600; gap: 5px; margin: 0; }
.vendor-view .vendor-menu-dialog .vendor-menu-editor input:not([type="hidden"]), .vendor-view .vendor-menu-dialog .vendor-menu-editor select, .vendor-view .vendor-menu-dialog .vendor-menu-editor textarea { box-sizing: border-box; font-size: 14px; min-height: 38px; padding: 5px 8px; border-radius: 10px; line-height: 18px; font-weight: 400; }
.vendor-view .vendor-menu-dialog .vendor-menu-editor .option-group input:not([type="hidden"]):not([type="file"]) { box-sizing: border-box; height: 34px; min-height: 34px; padding: 4px 8px; line-height: 20px; }
.vendor-view .vendor-menu-dialog .vendor-menu-wide { grid-column: 1 / -1; }
.vendor-view .vendor-menu-dialog .vendor-media-menu { display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; gap: 8px; padding: 10px; background: #f5f9f6; border: 1px dashed #cbded1; border-radius: 12px; }
.vendor-view .vendor-menu-dialog .vendor-media-item > .upload-preview { grid-column: 1 / -1; grid-row: 1; min-height: 72px; }
.vendor-view .vendor-menu-dialog .vendor-media-menu > .vendor-media-input-row { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: flex-end; gap: 4px; min-width: 0; }
.vendor-view .vendor-menu-dialog .vendor-media-menu .vendor-media-input-row > label { flex: 1 1 0; min-width: 0; margin: 0; }
.vendor-view .vendor-menu-dialog .vendor-media-menu .vendor-media-input-row input[type="file"] { width: 100%; min-width: 0; }
.vendor-view .vendor-menu-dialog .vendor-media-menu .vendor-media-input-row > button { flex: 0 0 32px; width: 32px; height: 32px; min-height: 32px; padding: 7px; border-radius: 8px; }
.vendor-view .vendor-menu-dialog .vendor-media-menu .vendor-media-input-row > button .vendor-icon { width: 16px; height: 16px; }
.vendor-view .vendor-menu-dialog .upload-preview { margin: 0; }
.vendor-view .vendor-menu-dialog .upload-preview img { display: block; width: auto; height: auto; max-width: 100%; max-height: 72px; padding: 0; border-radius: 10px; object-fit: contain; }
.vendor-view .vendor-menu-dialog .vendor-menu-editor input[type="file"] { font-size: 12px; padding: 4px; background: transparent; border: 0; }
.vendor-menu-options-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 10px; border-top: 1px solid #e8eeea; }
.vendor-menu-options-heading h3 { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 14px; }
.vendor-view .vendor-menu-dialog .vendor-menu-options-heading > button.vendor-icon-button { display: grid; width: 32px; height: 32px; min-height: 32px; flex: 0 0 32px; place-items: center; padding: 5px; border-radius: 9px; }
.vendor-menu-options-heading > .vendor-icon-button .vendor-icon { width: 20px; height: 20px; }
.vendor-option-library { display: grid; gap: 4px; max-height: 260px; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; scrollbar-gutter: stable; }
.vendor-view .vendor-menu-dialog .vendor-option-library-item { display: grid; grid-template-columns: minmax(0, 1fr) 24px; align-items: center; gap: 3px 6px; margin: 0; padding: 4px 8px; border: 1px solid #e1ebe4; border-radius: 9px; background: #f7faf8; }
.vendor-view .vendor-menu-dialog .vendor-option-library-choice { display: flex; align-items: center; gap: 7px; min-width: 0; cursor: pointer; font-size: 12px; line-height: 1.25; }
.vendor-view .vendor-menu-dialog .vendor-menu-editor .vendor-option-library-choice input[type="checkbox"] { width: 16px; height: 16px; min-height: 16px; margin: 0; padding: 0; flex: 0 0 16px; accent-color: #087f52; }
.vendor-option-library-choice > span { min-width: 0; font-size: 12px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.vendor-option-library-choice strong { font-size: 12px; font-weight: 600; line-height: 1.25; }
.vendor-view .vendor-menu-dialog .vendor-option-library-item > .vendor-option-info { display: grid; place-items: center; width: 24px; height: 24px; min-height: 24px; padding: 0; border: 0; border-radius: 0; color: #087f52; background: transparent; box-shadow: none; }
.vendor-view .vendor-option-info .vendor-icon:not([data-icon="arrow"]) { width: 16px; height: 16px; padding: 0; border-radius: 0; color: inherit; background: none; box-shadow: none; }
.vendor-option-info .vendor-icon-depth { display: none; }
.vendor-option-details { display: grid; grid-column: 1 / -1; gap: 5px; margin-top: 3px; padding: 8px 10px 8px 27px; border: 1px solid #e6eee8; border-radius: 8px; background: #fcfefd; }
.vendor-option-details[hidden] { display: none; }
.vendor-option-details > small { color: #617369; font-size: 11px; font-weight: 500; }
.vendor-option-detail-item { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px solid #e6eee8; color: #43584a; font-size: 12px; overflow-wrap: anywhere; }
.vendor-option-detail-item:last-child { border-bottom: 0; }
.vendor-option-detail-item strong { flex: 0 0 auto; color: #617369; font-weight: 500; }
.vendor-option-groups-editor { display: grid; gap: 8px; }
.vendor-option-groups-dialog > .vendor-menu-heading { margin-bottom: 10px; }
.vendor-view .vendor-option-groups-dialog > .vendor-menu-heading > .vendor-option-group-add { display: grid; width: 36px; height: 36px; min-width: 36px; min-height: 36px; place-items: center; padding: 6px; border: 0; border-radius: 10px; color: #087f52; background: #eaf6ef; box-shadow: none; }
.vendor-option-groups-dialog > .vendor-menu-heading > .vendor-option-group-add .vendor-icon { width: 20px; height: 20px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.vendor-option-groups-list { display: grid; gap: 5px; max-height: min(56vh, 420px); overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; scrollbar-gutter: stable; }
.vendor-option-group-library-row { display: flex; min-height: 40px; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 7px 4px 10px; border: 1px solid #e1ebe4; border-radius: 9px; background: #f7faf8; }
.vendor-option-group-library-name { flex: 1 1 auto; min-width: 0; color: #27392e; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.vendor-option-group-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 2px; }
.vendor-view .vendor-option-groups-dialog .vendor-option-group-actions > button.vendor-option-group-icon { display: grid; width: 30px; height: 30px; min-width: 30px; min-height: 30px; flex: 0 0 30px; place-items: center; padding: 6px; border: 0; border-radius: 7px; color: #087f52; background: transparent; box-shadow: none; }
.vendor-view .vendor-option-groups-dialog .vendor-option-group-actions > button.vendor-action-danger { color: #a23d43; }
.vendor-option-groups-dialog .vendor-option-group-icon .vendor-icon { width: 16px; height: 16px; padding: 0; border-radius: 0; color: inherit; background: none; box-shadow: none; }
.vendor-option-groups-dialog .vendor-option-group-icon .vendor-icon-depth { display: none; }
.vendor-view .vendor-option-group-popup > .vendor-menu-heading [data-action="close-option-group-popup"] { display: grid; width: 32px; height: 32px; min-width: 32px; min-height: 32px; place-items: center; padding: 0; border: 0; border-radius: 0; color: #087f52; background: transparent; box-shadow: none; }
.vendor-option-group-popup > .vendor-menu-heading [data-action="close-option-group-popup"] .vendor-icon { width: 20px; height: 20px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.vendor-option-group-popup .vendor-option-group-popup-details, .vendor-option-group-popup .vendor-option-group-delete-prompt { margin-top: 12px; color: #43584a; font-size: 13px; }
.vendor-option-group-popup-details > p, .vendor-option-group-delete-prompt > p { margin: 0 0 10px; }
.vendor-option-group-popup-details .vendor-option-detail-item { padding: 8px 0; }
.vendor-option-group-popup-actions { display: flex; justify-content: flex-end; gap: 8px; }
.vendor-view .vendor-menu-dialog .option-group { margin: 0 0 10px; background: #f7faf8; }
.vendor-view .vendor-menu-dialog .vendor-menu-editor .option-group input:focus { outline: 1px solid #dce7df; outline-offset: 0; }
.vendor-menu-dialog .option-group legend { font-size: 12px; font-weight: 600; }
.vendor-menu-dialog .option-group > label, .vendor-menu-dialog .field-pair { margin-bottom: 8px; }
.vendor-menu-dialog .field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.vendor-menu-dialog .option-choice { margin: 8px 0; }
.vendor-menu-dialog [data-menu-status] { margin: 0; padding: 9px; border-radius: 10px; background: #f1f7f3; font-size: 13px; overflow-wrap: anywhere; }
.vendor-menu-dialog [data-menu-status].error { background: #fff0ef; color: #a23b33; }
.vendor-view .vendor-menu-dialog .secondary-copy { margin: 0; font-size: 12px; color: #617369; }
.vendor-menu-footer { display: flex; justify-content: end; gap: 8px; position: sticky; bottom: -16px; padding: 12px 0 0; background: #fff; border-top: 1px solid #e8eeea; }
.vendor-view .vendor-menu-dialog .vendor-menu-footer .primary { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: auto; min-width: 140px; }
.vendor-menu-dialog .vendor-menu-footer .vendor-icon { width: 20px; height: 20px; padding: 0; background: none; box-shadow: none; color: inherit; }
.vendor-view .option-choice { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 6px; }
.vendor-view .vendor-menu-dialog .option-group .actions > button.vendor-icon-button { display: grid; width: 32px; height: 32px; min-height: 32px; flex: 0 0 32px; place-items: center; padding: 6px; border-radius: 8px; }
.vendor-view .vendor-menu-dialog .option-group .actions > button.vendor-icon-button .vendor-icon { width: 16px; height: 16px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.vendor-view .vendor-menu-dialog .option-group .actions > button.vendor-icon-button .vendor-icon-depth { display: none; }
.vendor-view .vendor-menu-dialog .option-group .actions > button[data-action="option-choice"] { min-height: 34px; gap: 5px; padding: 5px 9px; border-radius: 8px; font-size: 11px; }
.vendor-view .vendor-menu-dialog .option-group .actions > button[data-action="option-choice"] .vendor-icon { width: 16px; height: 16px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
@media (max-width: 520px) {
  .vendor-view .vendor-menu-dialog .vendor-menu-editor input:not([type="hidden"]):not([type="file"]), .vendor-view .vendor-menu-dialog .vendor-menu-editor select, .vendor-view .vendor-menu-dialog .vendor-menu-editor textarea { font-size: 16px; min-height: 38px; padding: 5px 8px; line-height: 20px; }
}
@media (max-width: 360px) {
  .vendor-view .vendor-menu-dialog { padding: 12px; }
  .vendor-view .vendor-menu-dialog > .vendor-menu-heading { top: -12px; }
  .vendor-view .vendor-menu-dialog .vendor-menu-editor { gap: 8px; }
  .vendor-view .vendor-menu-dialog .option-choice { grid-template-columns: minmax(0, 1fr); }
}
.vendor-view .vendor-panel article { margin: 8px 0; padding: 12px; border-radius: 12px; }
.vendor-view .vendor-panel article p { font-size: 13px; margin: 5px 0; }
.vendor-view .vendor-order-filters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin-bottom: 10px; }
.vendor-view .vendor-panel .vendor-order-filters > button { display: flex; width: 100%; min-width: 0; min-height: 38px; align-items: center; justify-content: center; gap: 2px; padding: 5px 1px; border-radius: 10px; font-size: clamp(7px, 1.8vw, 11px); white-space: nowrap; }
.vendor-view .vendor-order-filters > button .vendor-icon { display: none; }
.vendor-view .vendor-order-filters > button .vendor-action-text { flex: 0 0 auto; min-width: 0; overflow: visible; text-overflow: clip; white-space: nowrap; }
.vendor-view .vendor-order-filters .vendor-filter-count { min-width: 16px; height: 16px; padding: 0 2px; font-size: 9px; }
.vendor-view .vendor-order-filters button[aria-pressed="true"] { color: #fff; background: #086c47; }
.vendor-view .vendor-payment-qr-row { display: flex; align-items: flex-end; gap: 12px; width: 100%; }
.vendor-settlement-qr { margin: 12px 0; }
.vendor-settlement-qr[hidden] { display: none; }
.vendor-settlement-qr p, .vendor-settlement-receipt { margin: 10px 0; }
.vendor-settlement-receipt { display: grid; gap: 8px; }
.vendor-settlement-qr label, .vendor-settlement-receipt label { display: grid; gap: 6px; font-size: 13px; }
.rider-settlement-receipt-dialog { width: min(560px, calc(100vw - 28px)); }
.rider-settlement-receipt-dialog footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.rider-settlement-receipt-dialog [data-receipt-status] { color: #a32626; }
.vendor-view .vendor-payment-qr-frame { position: relative; flex: 0 1 auto; width: max-content; max-width: 100%; margin: 8px 0; }
.vendor-view .vendor-payment-qr-frame .upload-preview { margin: 0; }
.vendor-view .vendor-payment-qr-frame .upload-preview img.vendor-payment-qr { margin: 0; }
.vendor-view .vendor-panel .vendor-payment-qr-frame > .vendor-action { position: absolute; right: 4px; bottom: 4px; z-index: 2; display: grid; width: 40px; height: 40px; min-height: 40px; place-items: center; padding: 8px; border: 0; background: transparent; box-shadow: none; color: #075c41; }
.vendor-view .vendor-payment-qr-frame > .vendor-action .vendor-icon { width: 20px; height: 20px; stroke-width: 2.5; filter: drop-shadow(0 0 1px #fff); }
.vendor-view .vendor-receipt-info { position: relative; flex: 0 0 auto; margin: 0 0 8px auto; }
.vendor-view .vendor-receipt-info > summary { display: grid; width: 36px; height: 36px; min-height: 36px; place-items: center; border: 1px solid #dceee3; border-radius: 50%; color: #087f52; background: #eef8f2; cursor: pointer; list-style: none; }
.vendor-view .vendor-receipt-info > summary::-webkit-details-marker { display: none; }
.vendor-view .vendor-receipt-info > summary svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vendor-view .vendor-receipt-info > summary:hover, .vendor-view .vendor-receipt-info[open] > summary { background: #dff4e7; border-color: #87c8a4; }
.vendor-view .vendor-receipt-info > summary:focus-visible { outline: 2px solid #087f52; outline-offset: 3px; }
.vendor-view .vendor-receipt-info-content { position: absolute; top: calc(100% + 8px); right: 0; z-index: 3; width: min(340px, calc(100vw - 56px)); padding: 8px 10px; border: 1px solid #dce7df; border-radius: 9px; background: #f7faf8; box-shadow: 0 6px 18px #163b251a; }
.vendor-view .vendor-receipt-info-content p { margin: 5px 0; overflow-wrap: anywhere; }
.vendor-view .secondary-copy { font-size: 12px; line-height: 1.5; }
@media (max-width: 520px) {
  .vendor-view .vendor-panel { padding: 12px; }
  .vendor-view .vendor-overview { padding: 8px; }
  .vendor-view .vendor-shop-card { grid-template-columns: 60px minmax(0, 1fr) 36px; gap: 6px; padding: 8px; }
  .vendor-view .vendor-overview .vendor-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(68px, auto); gap: 4px; }
  .vendor-view .vendor-shop-image { width: 60px; height: 60px; border-radius: 12px; }
  .vendor-view .vendor-shop-edit { width: 36px; height: 36px; }
  .vendor-view .vendor-open-switch { min-height: 36px; gap: 5px; }
  .vendor-view .vendor-stat { display: grid; gap: 6px; }
  .vendor-view .vendor-overview .vendor-stat { display: grid; grid-template-columns: 18px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; column-gap: 4px; row-gap: 0; min-width: 0; min-height: 68px; padding: 5px 3px; border-radius: 12px; }
  .vendor-view .vendor-overview .vendor-stat > .vendor-icon { grid-column: 1; grid-row: 1; width: 18px; height: 18px; padding: 2px; border-radius: 7px; }
  .vendor-view .vendor-overview .vendor-stat-label { grid-column: 2; grid-row: 1; display: block; min-width: 0; overflow: hidden; text-align: left; text-overflow: ellipsis; white-space: nowrap; font-size: clamp(7px, 1.9vw, 10px); line-height: 1.1; }
  .vendor-view .vendor-overview .vendor-stat strong { grid-column: 2; grid-row: 2; margin-top: 0; font-size: clamp(17px, 3.8vw, 21px); }
  .vendor-view .vendor-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin-top: 4px; }
  .vendor-view .vendor-totals button { display: flex; align-items: center; gap: 5px; min-width: 0; min-height: 68px; padding: 5px 6px; border-radius: 12px; }
  .vendor-view .vendor-totals svg { width: 20px; height: 20px; flex: 0 0 20px; }
  .vendor-view .vendor-totals span { display: grid; min-width: 0; gap: 0; font-size: clamp(8px, 2vw, 10px); line-height: 1.1; }
  .vendor-view .vendor-totals strong { margin-top: 0; font-size: clamp(17px, 3.8vw, 21px); }
  .vendor-view .vendor-stat span { font-size: 10px; }
  .vendor-view .vendor-stat strong { font-size: 23px; }
  .vendor-view .vendor-totals span { font-size: 11px; }
  .vendor-view .vendor-profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vendor-view .vendor-recent-order { grid-template-columns: 68px minmax(0, 1fr) 16px; padding: 10px 8px; }
}
@media (max-width: 700px) {
  .vendor-order-board-columns { grid-template-columns: minmax(0, 1fr); }
  .vendor-view .vendor-shop-banner + .vendor-shop-card { z-index: 1; margin-top: -56px; }
}
@media (max-width: 360px) {
  .vendor-view .vendor-media-fields, .vendor-view .vendor-profile-grid { grid-template-columns: minmax(0, 1fr); }
  .vendor-view .vendor-totals { grid-template-columns: minmax(0, 1fr); }
}
.vendor-view .vendor-recent-heading { margin: 12px 0 6px; }
.vendor-view .vendor-recent-heading h3 { gap: 6px; font-size: 15px; }
.vendor-view .vendor-recent-heading h3 .vendor-icon { width: 22px; height: 22px; padding: 3px; border-radius: 6px; }
.vendor-view .vendor-panel .vendor-recent-heading > button { min-height: 28px; gap: 2px; padding: 3px 6px; border-radius: 8px; font-size: 10px; }
.vendor-view .vendor-recent-heading button .vendor-icon { width: 12px; height: 12px; }
.vendor-view .vendor-recent-order { grid-template-columns: minmax(0, 1fr) auto 14px; min-height: 0; gap: 6px; margin-top: 5px; padding: 6px 10px; border-radius: 11px; }
.vendor-view .vendor-recent-order .vendor-order-id { display: flex; grid-row: 1; align-items: center; flex-wrap: nowrap; gap: 6px; min-width: 0; padding-right: 0; border-right: 0; font-size: 11px; white-space: nowrap; }
.vendor-view .vendor-recent-order .vendor-order-id strong { font-size: 12px; line-height: 1.1; white-space: nowrap; }
.vendor-view .vendor-recent-order .vendor-order-id small { font-size: 10px; white-space: nowrap; }
.vendor-view .vendor-recent-order .vendor-order-status { grid-column: 2; grid-row: 1; justify-self: end; max-width: 120px; padding: 4px 7px; font-size: 10px; line-height: 1.15; text-align: center; overflow-wrap: anywhere; }
.vendor-view .vendor-recent-order > .vendor-icon { grid-column: 3; grid-row: 1; width: 14px; height: 14px; }
@media (prefers-reduced-motion: reduce) { .vendor-view button:active:not(:disabled) { transform: none; } }
@media (prefers-reduced-motion: reduce) { .vendor-switch-track, .vendor-switch-thumb { transition: none; } }
.food-cuisine-admin { margin: 16px 0; padding: 16px; border: 1px solid #e2ebe6; border-radius: 16px; background: #fff; }
.food-cuisine-admin h2 { margin: 0 0 8px; }
.food-cuisine-admin p { color: #52655b; font-size: 13px; }
.food-cuisine-admin form { display: flex; align-items: end; gap: 8px; padding: 0; margin: 12px 0; border: 0; }
.food-cuisine-admin form label { flex: 1; min-width: 0; margin: 0; }
.food-cuisine-admin ul { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.food-cuisine-admin li { display: flex; align-items: center; gap: 6px; padding: 0 2px 0 10px; border: 1px solid #e6eee8; border-radius: 10px; font-size: 13px; }
.food-cuisine-admin li span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.food-cuisine-admin li button { min-height: 44px; padding: 6px 10px; color: #a23d43; background: #fff4f4; border-color: #eadade; font-size: 12px; }
@media (max-width: 400px) { .food-cuisine-admin form { align-items: stretch; flex-direction: column; } }
.vendor-sales-heading { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: -22px -22px 18px; padding: 10px 14px; border-radius: 18px 18px 0 0; color: #fff; background: linear-gradient(110deg, #006b42, #159c39); }
.vendor-sales-heading h2 { margin: 0; color: inherit; font-size: 18px; line-height: 1.2; }
.vendor-sales-period-control { position: relative; display: flex; align-items: center; gap: 7px; }
.vendor-sales-heading label { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 12px; font-weight: 650; }
.vendor-sales-heading select { box-sizing: border-box; width: max-content; max-width: 145px; min-height: 34px; padding: 0 7px; border: 0; background: #fff; color: #18251e; }
.vendor-view .vendor-sales-heading .vendor-sales-calendar-toggle { min-width: 0; min-height: 30px; padding: 3px 7px; border: 1px solid #d7e8dc; border-radius: 7px; color: #14633f; background: #fff; box-shadow: none; font-size: 11px; }
.vendor-sales-custom-range { position: absolute; top: calc(100% + 5px); right: 0; margin: 0; z-index: 10; }
.vendor-sales-custom-range[hidden] { display: none; }
.vendor-sales-calendar { box-sizing: border-box; width: min(100%, 250px); padding: 8px; border: 1px solid #dce8df; border-radius: 10px; background: #f7fbf8; box-shadow: 0 8px 22px #143b2826; }
.vendor-sales-calendar-heading { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 5px; color: #17432d; }
.vendor-sales-calendar-heading strong { font-size: 12px; text-transform: capitalize; }
.vendor-view .vendor-sales-calendar-heading .vendor-sales-calendar-nav { display: grid; width: 26px; min-width: 26px; min-height: 26px; place-items: center; padding: 0; border: 1px solid #dce8df; border-radius: 7px; color: #17432d; background: #fff; font-size: 16px; }
.vendor-view .vendor-sales-calendar-heading button:disabled { opacity: .4; }
.vendor-sales-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.vendor-sales-calendar-weekday { display: grid; min-height: 20px; place-items: center; color: #637568; font-size: 9px; font-weight: 700; }
.vendor-sales-calendar-empty { min-height: 26px; }
.vendor-view .vendor-panel .vendor-sales-calendar .vendor-sales-calendar-day { min-width: 0; min-height: 26px; padding: 0; border: 0; border-radius: 6px; color: #243b2e; background: transparent; box-shadow: none; font-size: 11px; }
.vendor-view .vendor-sales-calendar-day:hover:not(:disabled) { background: #e2f1e7; }
.vendor-view .vendor-panel .vendor-sales-calendar .vendor-sales-calendar-day.is-in-range { border-radius: 0; color: #583300; background: #ffe08a; }
.vendor-view .vendor-panel .vendor-sales-calendar .vendor-sales-calendar-day.is-range-edge { border-radius: 6px; color: #fff; background: #c2410c; font-weight: 700; }
.vendor-view .vendor-sales-calendar-day:disabled { color: #aeb8b1; cursor: not-allowed; }
.vendor-sales-calendar-day:focus-visible, .vendor-view .vendor-sales-calendar-heading button:focus-visible { outline: 2px solid #087c49; outline-offset: 2px; }
.vendor-sales-calendar [data-sales-range-status] { margin: 6px 0 0; color: #53665a; font-size: 10px; }
.vendor-view .vendor-panel .vendor-sales-calendar .vendor-sales-calendar-apply { display: block; width: min(100%, 140px); min-height: 30px; margin: 6px auto 0; padding: 4px 8px; border: 0; border-radius: 6px; color: #fff; background: #087c49; font-size: 11px; font-weight: 700; }
.vendor-view .vendor-sales-calendar-apply:hover { background: #06633c; }
.vendor-sales-calendar-apply:focus-visible { outline: 2px solid #087c49; outline-offset: 2px; }
.vendor-sales-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.vendor-view .vendor-sales-kpi { display: grid; align-content: center; min-width: 0; gap: 6px; margin: 0; padding: 16px; border-radius: 16px; }
.vendor-sales-kpi span { font-size: 13px; font-weight: 650; line-height: 1.3; }
.vendor-sales-kpi strong { font-size: clamp(23px, 3.2vw, 29px); line-height: 1.15; overflow-wrap: anywhere; }
.vendor-sales-money { color: #075b23; border-color: #baf1b9; background: linear-gradient(135deg, #f1fff0, #dcf8d7); }
.vendor-sales-period-sales { color: #164578; border-color: #bdd9f3; background: linear-gradient(135deg, #f3f8ff, #e1eeff); }
.vendor-sales-items { color: #092d54; border-color: #b8dcff; background: linear-gradient(135deg, #f1f8ff, #dceeff); }
.vendor-sales-foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(160px, 1.4fr); align-items: center; gap: 12px; margin-top: 16px; padding: 10px 14px; border-radius: 14px; background: #f3f5f7; }
.vendor-sales-foot p { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; }
.vendor-sales-foot p:not(:last-child) { padding-right: 12px; border-right: 1px solid #cbd2d8; }
.vendor-sales-foot strong { font-size: 18px; }
.vendor-sales-foot .vendor-metric-note { display: block; margin: 0; font-size: 12px; line-height: 1.4; }
.vendor-debt-card { position: relative; overflow: visible; margin: 14px 0 0; padding: 0; border: 1px solid #dfe9e3; border-radius: 16px; background: #fff; box-shadow: 0 3px 12px #16332110; }
.vendor-debt-card > header { padding: 9px 14px; border-radius: 15px 15px 0 0; color: #fff; background: linear-gradient(110deg, #006b42, #159c39); }
.vendor-debt-card > header h2 { margin: 0; color: inherit; font-size: 18px; }
.vendor-debt-body { padding: 10px 14px; }
.vendor-debt-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, .8fr) auto; align-items: end; gap: 8px; }
.vendor-debt-controls label { min-width: 0; margin: 0; font-size: 13px; font-weight: 650; }
.vendor-debt-controls select { min-width: 0; font-size: 14px; }
.vendor-debt-rider-picker { position: relative; display: grid; min-width: 0; align-self: end; gap: 3px; }
.vendor-debt-rider-label { font-size: 13px; font-weight: 650; }
.vendor-view .vendor-panel .vendor-debt-rider-picker > button.vendor-debt-rider-trigger { display: flex; box-sizing: border-box; width: 100%; height: 42px; min-width: 0; min-height: 42px; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 9px; border: 1px solid #dce7e0; border-radius: 9px; color: #243b2e; background: #fff; text-align: left; font-size: 12px; }
.vendor-debt-rider-current { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vendor-debt-rider-trigger > .vendor-icon { width: 16px; height: 16px; flex: 0 0 16px; padding: 0; background: none; box-shadow: none; transform: rotate(90deg); }
.vendor-debt-rider-options { position: absolute; top: calc(100% + 3px); left: 0; z-index: 20; display: grid; width: max-content; min-width: 100%; max-width: calc(100vw - 32px); max-height: min(280px, 45vh); overflow: auto; padding: 4px; border: 1px solid #d7e1da; border-radius: 10px; background: #fff; box-shadow: 0 8px 22px #14271d30; }
.vendor-debt-rider-options[hidden] { display: none; }
.vendor-view .vendor-debt-rider-options > [role="option"] { display: flex; width: 100%; min-width: 0; min-height: 38px; align-items: center; justify-content: space-between; gap: 14px; padding: 7px 10px; border: 0; border-radius: 6px; color: #243b2e; background: transparent; box-shadow: none; text-align: left; font-size: 12px; font-weight: 500; white-space: nowrap; }
.vendor-view .vendor-debt-rider-options > [role="option"].vendor-debt-rider-overdue { color: #84474a; background: rgba(203, 54, 64, .12); font-weight: 650; }
.vendor-view .vendor-debt-rider-options > [role="option"].vendor-debt-rider-overdue[aria-selected="true"],
.vendor-view .vendor-debt-rider-options > [role="option"].vendor-debt-rider-overdue:focus-visible { color: #76383d; background: rgba(203, 54, 64, .2); }
.vendor-view .vendor-debt-rider-options > [role="option"]:not(.vendor-debt-rider-overdue)[aria-selected="true"],
.vendor-view .vendor-debt-rider-options > [role="option"]:not(.vendor-debt-rider-overdue):focus-visible { background: #edf6f0; }
.vendor-debt-rider-options > [role="option"]:focus-visible { outline: 2px solid #956066; outline-offset: -2px; }
.vendor-debt-total { display: grid; box-sizing: border-box; align-self: end; align-content: center; height: 42px; min-height: 42px; gap: 1px; padding: 4px 8px; border-radius: 9px; color: #075b23; background: #e4f8e1; }
.vendor-debt-total span { font-size: 10px; font-weight: 650; }
.vendor-debt-total strong { font-size: clamp(16px, 2.8vw, 20px); line-height: 1.05; overflow-wrap: anywhere; }
.vendor-debt-pay { min-width: 90px; min-height: 40px; padding: 7px 12px; color: #fff; border-color: #00633d; background: linear-gradient(110deg, #007345, #005b34); font-size: 14px; font-weight: 750; box-shadow: 0 2px 5px #004a2e24; }
.vendor-debt-pay:hover:not(:disabled) { background: #004f31; }
.vendor-debt-pending { padding: 10px 12px; border-radius: 10px; color: #79500a; background: #fff6df; font-size: 13px; }
.vendor-debt-manual, .vendor-debt-orders { margin-top: 10px; }
.vendor-debt-manual > summary, .vendor-debt-orders > summary { color: #154e36; }
.vendor-debt-orders > summary { font-size: 13px; }
.vendor-debt-card .vendor-empty { margin: 8px 0; padding: 8px 10px; border-radius: 10px; font-size: 12px; line-height: 1.35; }
.vendor-debt-manual form { margin: 12px 0 0; padding: 12px; background: #f7faf8; }
.vendor-debt-orders-list { display: grid; gap: 8px; margin-top: 12px; }
.vendor-debt-order { min-width: 0; padding: 12px; border: 1px solid #e1e9e4; border-radius: 12px; background: #fbfdfb; }
.vendor-debt-order-heading, .vendor-debt-order-delivery { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; margin: 0; }
.vendor-debt-order-heading { color: #173a29; }
.vendor-debt-order-delivery { margin-top: 5px; font-size: 13px; }
.vendor-debt-order-address, .vendor-debt-order-payment { margin: 6px 0 0; font-size: 13px; overflow-wrap: anywhere; }
.vendor-debt-order-payment { color: #315d43; font-weight: 650; }
.vendor-debt-card .vendor-debt-dialog { width: min(440px, calc(100vw - 32px)); max-width: 100%; padding: 0; border: 1px solid #dfe9e3; border-radius: 18px; box-shadow: 0 18px 60px #10271a45; }
.vendor-debt-card .vendor-debt-dialog::backdrop { background: #11251bc2; }
.vendor-debt-dialog form { margin: 0; padding: 22px; border: 0; background: #fff; }
.vendor-debt-dialog h2 { margin: 0 0 14px; color: #143b28; font-size: 22px; }
.vendor-debt-dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.vendor-debt-dialog-actions button { min-width: 100px; }
@media (max-width: 520px) {
  .vendor-sales-heading { margin: -12px -12px 12px; padding: 9px 10px; gap: 8px; }
  .vendor-sales-heading h2 { font-size: 17px; }
  .vendor-sales-heading label { gap: 5px; font-size: 11px; }
  .vendor-sales-heading select { max-width: 130px; min-height: 32px; padding: 0 5px; }
  .vendor-view .vendor-sales-heading .vendor-sales-calendar-toggle { min-height: 28px; padding: 2px 6px; }
  .vendor-sales-calendar { width: min(100vw - 32px, 250px); }
  .vendor-sales-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .vendor-view .vendor-sales-kpi { gap: 4px; padding: 8px 5px; border-radius: 10px; }
  .vendor-sales-kpi span { font-size: 9px; line-height: 1.2; }
  .vendor-sales-kpi strong { font-size: clamp(12px, 3.6vw, 17px); line-height: 1.1; }
  .vendor-sales-foot { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; padding: 9px; }
  .vendor-sales-foot p { font-size: 12px; }
  .vendor-sales-foot p:not(:last-child) { padding-right: 8px; }
  .vendor-sales-foot .vendor-metric-note { grid-column: 1 / -1; padding-top: 8px; border-top: 1px solid #d9e0dc; }
  .vendor-debt-body { padding: 8px 10px; }
  .vendor-debt-controls { grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: 6px; }
  .vendor-debt-controls > label { grid-column: 1 / -1; }
  .vendor-debt-controls label, .vendor-debt-rider-label { font-size: 12px; }
  .vendor-debt-rider-picker { gap: 2px; }
  .vendor-view .vendor-panel .vendor-debt-rider-picker > button.vendor-debt-rider-trigger { height: 42px; min-height: 42px; gap: 4px; padding: 6px 7px; font-size: 11px; }
  .vendor-debt-rider-trigger > .vendor-icon { width: 14px; height: 14px; flex-basis: 14px; }
  .vendor-debt-total { height: 42px; min-height: 42px; gap: 1px; padding: 4px 7px; border-radius: 8px; }
  .vendor-debt-total span { font-size: 9px; }
  .vendor-debt-total strong { font-size: clamp(14px, 4vw, 18px); }
  .vendor-debt-pay { grid-column: 1; min-width: 0; min-height: 34px; padding: 5px 8px; font-size: 12px; }
  .vendor-debt-card > header { padding: 8px 11px; }
  .vendor-debt-card > header h2 { font-size: 17px; }
}
@media (max-width: 360px) {
  .vendor-sales-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .vendor-view .vendor-sales-kpi { grid-template-columns: minmax(0, 1fr); padding: 7px 4px; }
  .vendor-sales-kpi span { font-size: 8px; }
  .vendor-sales-kpi strong { font-size: clamp(11px, 3.8vw, 14px); }
  .vendor-debt-controls { grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: 5px; }
  .vendor-debt-total strong { font-size: clamp(14px, 4.2vw, 17px); }
}
@media (max-width: 700px) {
  :is(.vendor-view, .rider-view) > main { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .vendor-view .vendor-tabs {
    position: fixed;
    z-index: 1000;
    bottom: 0;
    left: 50%;
    width: min(100%, 784px);
    transform: translateX(-50%);
    margin: 0;
    box-sizing: border-box;
  }
}
@media (max-width: 520px) {
  .vendor-board-order { padding: 9px; }
  .vendor-shop-card { padding: 16px 12px; gap: 10px; grid-template-columns: 58px minmax(0, 1fr) 16px; }
  .vendor-shop-image { width: 58px; height: 58px; }
  .vendor-panel { padding: 18px 12px; }
  .vendor-panel h2 { font-size: 22px; }
  .vendor-subtitle { font-size: 14px; }
  .vendor-stat { display: grid; justify-items: start; gap: 6px; padding: 12px 8px; }
  .vendor-stat > svg { width: 28px; height: 28px; }
  .vendor-stat span { font-size: 11px; }
  .vendor-totals button { padding: 14px 10px; gap: 8px; }
  .vendor-totals svg { width: 25px; height: 25px; }
  .vendor-total-sales > svg:last-child { display: none; }
  .vendor-totals span { font-size: 11px; }
  .vendor-recent-heading h3 { font-size: 17px; }
  .vendor-recent-order { grid-template-columns: 72px minmax(0, 1fr) 16px; gap: 8px; padding: 12px 8px; }
  .vendor-order-status { grid-column: 2; justify-self: start; }
  .vendor-recent-order > svg { grid-column: 3; grid-row: 1 / 3; }
  .vendor-order-id { font-size: 11px; grid-row: 1 / 3; }
  .rider-tabs button { font-size: 12px; }
  .vendor-profile-grid { grid-template-columns: minmax(0, 1fr); }
  .vendor-profile-form fieldset { padding: 14px 10px; }
  .vendor-profile-form .vendor-info-card { padding: 16px; }
  .vendor-profile-save { width: 100%; }
}
.vendor-view .vendor-panel article.vendor-board-order { margin: 0; padding: 6px 0; border: 0; border-bottom: 1px solid #e8e5d7; border-radius: 0; background: transparent; box-shadow: none; }
.vendor-view .vendor-panel article.vendor-board-order:last-child { border-bottom: 0; }
.vendor-view .vendor-panel .vendor-board-order .vendor-board-order-actions .vendor-board-action { display: inline-flex; min-width: 0; min-height: 26px; height: auto; padding: 3px 8px; border: 1px solid #d5e6db; border-radius: 8px; color: #08734c; background: #f8fcf9; box-shadow: 0 1px 3px rgb(23 65 44 / 8%); font-size: 11px; font-weight: 700; line-height: 1.2; }
.vendor-view .vendor-panel .vendor-board-order .vendor-board-order-actions .vendor-board-action:hover { background: #eaf5ee; }
