:root{--panda-primary: #63be3f;--panda-primary-dark: #4faa32;--panda-primary-soft: #f0faed;--panda-primary-border: #ccecc2;--type-caption: 12px;--type-meta: 13px;--type-helper: 14px;--type-body: 16px;--type-item: 18px;--type-page: 20px;--type-voucher: 24px;--line-tight: 1.22;--line-body: 1.45;--tap-target: 44px;--tap-primary: 52px;color:#17221c;background:#f3f6f2;font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,-apple-system,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;touch-action:manipulation}*{box-sizing:border-box;touch-action:manipulation}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0;min-width:320px;min-height:100vh;background:#f3f6f2;font-size:var(--type-body);line-height:var(--line-body);overscroll-behavior:none;-webkit-tap-highlight-color:transparent}#root{min-height:100vh;background:#f3f6f2}button,input,select,textarea{font:inherit}button{border:0;line-height:1.15;-webkit-tap-highlight-color:transparent}.merchant-login,.merchant-session-boot{min-height:100vh;display:grid;place-items:center;padding:24px;background:#edf4ef}.login-panel,.session-boot-panel{width:min(420px,100%);display:grid;gap:18px;padding:28px;background:#fff;border:1px solid #dbe5dd;border-radius:8px;box-shadow:0 18px 50px #25362c1f}.session-boot-panel{grid-template-columns:50px minmax(0,1fr) auto;align-items:center}.login-mark{width:50px;height:50px;display:grid;place-items:center;color:#fff;background:var(--panda-primary);border-radius:8px}.login-panel p,.session-boot-panel p,.brand-block p,.detail-head p,.dialog header p{margin:0 0 4px;color:#66736b;font-size:var(--type-caption);font-weight:700;letter-spacing:0;text-transform:uppercase}.login-panel h1,.session-boot-panel h1,.brand-block h1,.detail-head h2,.dialog header h2{margin:0;color:#17221c;font-size:var(--type-page);line-height:var(--line-tight)}.brand-version{display:block;margin-top:3px;color:#6b766f;font-size:var(--type-helper);font-weight:650;line-height:1.2}.brand-version.beta{color:#3f8f2c}.login-panel small{color:#66736b;font-size:var(--type-meta);font-weight:700}label{display:grid;gap:8px;color:#4d5a52;font-size:var(--type-helper);font-weight:700}input,select,textarea{width:100%;min-height:var(--tap-target);border:1px solid #ccd8d0;border-radius:8px;padding:0 12px;color:#17221c;background:#fff;outline:none}textarea{min-height:86px;padding:12px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--panda-primary);box-shadow:0 0 0 3px #63be3f38}.login-panel button,.action-section button,.receipt-actions button,.action-grid button,.dialog footer button,.queue-tools button,.segmented-control button,.text-icon-button{min-height:var(--tap-target);display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;border-radius:8px;color:#26332b;background:#eef3ef;cursor:pointer;font-size:var(--type-helper);font-weight:800}.login-panel button,.action-section button.primary,.action-grid button.primary,.dialog footer button.primary{min-height:var(--tap-primary);color:#fff;background:var(--panda-primary)}button.danger,.action-grid button.danger{color:#fff;background:#b83a31}button:disabled{cursor:not-allowed;opacity:.52}.merchant-shell{min-height:100vh;display:grid;grid-template-rows:auto auto 1fr;background:#f3f6f2}@media(min-width:761px){body{padding:12px}.merchant-shell{min-height:calc(100vh - 24px);overflow:hidden;border:1px solid #d4e3d6;border-radius:14px;box-shadow:0 18px 54px #17221c1a}}.topbar{min-height:76px;display:grid;grid-template-columns:minmax(230px,1fr) auto auto;gap:18px;align-items:center;padding:14px 20px;background:#fff;border-bottom:1px solid #dbe5dd}.mobile-menu-button{display:none}.brand-block,.topbar-actions,.topbar-stats,.customer-line,.detail-head,.detail-section header,.dialog header,.dialog footer,.panel-toolbar,.receipt-actions,.delivery-state,.form-message,.board-message,.error-line{display:flex;align-items:center}.brand-block{gap:12px;min-width:0}.brand-block>span{width:44px;height:44px;display:grid;place-items:center;flex:0 0 auto;color:#fff;background:var(--panda-primary);border-radius:8px}.topbar-stats{gap:10px;flex-wrap:wrap}.topbar-metric{min-width:96px;padding:8px 10px;background:#f4f8f5;border:1px solid #dbe5dd;border-radius:8px}.topbar-metric.compact{min-width:84px}.topbar-metric span{display:block;color:#6b766f;font-size:var(--type-caption)}.topbar-metric strong{display:block;margin-top:2px;color:#18241d;font-size:var(--type-item)}.topbar-actions{justify-content:flex-end;gap:10px}.staff-pill{min-height:var(--tap-target);display:inline-flex;align-items:center;padding:0 12px;color:#26332b;background:#eef3ef;border:1px solid #dbe5dd;border-radius:8px;font-size:var(--type-meta);font-weight:900}.icon-button{width:var(--tap-target);height:var(--tap-target);display:grid;place-items:center;color:#26332b;background:#eef3ef;border-radius:8px;cursor:pointer}.sound-enable-banner,.new-order-alert{position:fixed;z-index:30;display:flex;align-items:center;gap:10px;border-radius:8px;box-shadow:0 18px 44px #18241d2e}.sound-enable-banner{top:92px;right:20px;max-width:390px;padding:12px;color:#17221c;background:#fff;border:1px solid var(--panda-primary-border);font-size:var(--type-meta);font-weight:850}.sound-enable-banner svg{color:var(--panda-primary);flex:0 0 auto}.sound-enable-banner span{min-width:0;flex:1;display:grid;gap:2px}.sound-enable-banner strong{color:#17221c;font-size:var(--type-body);font-weight:950;line-height:1.2}.sound-enable-banner small{color:#66736b;font-size:var(--type-meta);font-weight:750;line-height:1.25}.sound-enable-banner button,.new-order-alert button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border-radius:8px;cursor:pointer;font-size:var(--type-meta);font-weight:950;white-space:nowrap}.sound-enable-banner .sound-enable-button{color:#fff;background:var(--panda-primary)}.sound-toggle{width:52px;min-height:30px!important;justify-content:flex-start!important;padding:3px!important;background:#d7e1da!important;border-radius:999px!important}.sound-toggle i{width:24px;height:24px;display:block;background:#fff;border-radius:999px;box-shadow:0 2px 8px #16221b2e}.sound-toggle.is-on{justify-content:flex-end!important;background:var(--panda-primary)!important}.workbench-stats{display:none}.workbench-stat{min-width:0;display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:10px;padding:12px;background:#fff;border:1px solid #dfe8e2;border-radius:8px}.workbench-stat div{min-width:0;display:grid;align-content:center}.workbench-stat.interactive{width:100%;color:inherit;text-align:left;cursor:pointer}.workbench-stat.interactive:active{border-color:var(--panda-primary);background:#f6fbf4}.workbench-stat>span{width:42px;height:42px;display:grid;place-items:center;color:var(--panda-primary-dark);background:var(--panda-primary-soft);border-radius:999px}.workbench-stat.warning>span{color:#b45a11;background:#fff1df}.workbench-stat.info>span{color:#1f6fd1;background:#edf5ff}.workbench-stat small{color:#59665e;font-size:var(--type-meta);font-weight:850}.workbench-stat strong{display:inline-flex;align-items:baseline;gap:3px;color:#17221c;font-size:28px;font-weight:950;line-height:1;white-space:nowrap}.workbench-stat em{margin-left:3px;color:#445249;font-size:var(--type-meta);font-style:normal;font-weight:850}.new-order-alert{top:92px;left:50%;width:min(440px,calc(100vw - 32px));padding:12px;color:#fff;background:#1f7d4f;border:1px solid rgba(255,255,255,.22);transform:translate(-50%)}.new-order-alert svg{flex:0 0 auto}.new-order-alert div{min-width:0;display:grid;gap:2px;flex:1}.new-order-alert strong{font-size:var(--type-body);font-weight:950;line-height:1.15}.new-order-alert span{overflow:hidden;color:#ffffffe6;font-size:var(--type-meta);font-weight:800;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.new-order-alert button{color:#1f7d4f;background:#fff}.new-order-alert.chat-message-alert{background:#c93f36}.new-order-alert.chat-message-alert button{color:#b8322b}.new-order-alert.reminder-alert{background:#b83a31}.new-order-alert.reminder-alert button{color:#b83a31}.new-order-alert .alert-close-button{width:38px;padding:0;color:#fff;background:#ffffff24}.ios-pwa-notice{position:fixed;right:20px;bottom:18px;z-index:32;width:min(520px,calc(100vw - 32px));display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px 46px 14px 14px;color:#17221c;background:#fff;border:1px solid var(--panda-primary-border);border-radius:10px;box-shadow:0 20px 48px #18241d2e}.ios-pwa-icon{width:44px;height:44px;display:grid;place-items:center;color:var(--panda-primary);background:var(--panda-primary-soft);border:1px solid var(--panda-primary-border);border-radius:10px}.ios-pwa-copy{min-width:0;display:grid;gap:4px}.ios-pwa-copy strong{font-size:var(--type-body);line-height:1.2}.ios-pwa-copy p,.ios-pwa-copy small{margin:0;color:#5d6962;font-size:var(--type-meta);font-weight:760;line-height:1.35}.ios-pwa-copy small{color:#2c7b45}.ios-pwa-actions{display:flex;align-items:center;gap:8px}.ios-pwa-actions button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 12px;color:#26332b;background:#eef3ef;border-radius:8px;cursor:pointer;font-size:var(--type-meta);font-weight:900;white-space:nowrap}.ios-pwa-actions button.primary{color:#fff;background:var(--panda-primary)}.ios-pwa-close{position:absolute;top:10px;right:10px;width:28px;height:28px;display:grid;place-items:center;color:#6b766f;background:#f3f6f2;border-radius:999px;cursor:pointer}.status-strip{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:1px;background:#dbe5dd;border-bottom:1px solid #dbe5dd}.status-strip button{height:68px;display:grid;place-items:center;align-content:center;gap:2px;color:#425047;background:#fff;cursor:pointer}.status-strip button.active{color:#fff;background:var(--panda-primary)}.status-strip strong{font-size:var(--type-item);line-height:1}.status-strip span{font-size:var(--type-meta);font-weight:800}.merchant-board{min-height:0;display:grid;grid-template-columns:minmax(330px,410px) minmax(0,1fr);gap:14px;padding:14px}.order-list-panel,.detail-panel{min-height:0;background:#fff;border:1px solid #dbe5dd;border-radius:8px}.order-list-panel{display:grid;grid-template-rows:auto auto auto 1fr;overflow:hidden}.panel-toolbar{justify-content:space-between;gap:12px;padding:14px;border-bottom:1px solid #e6eee8}.panel-toolbar span{display:block;color:#728078;font-size:var(--type-caption);font-weight:800}.panel-toolbar strong{color:#17221c}.search-field{width:190px;height:var(--tap-target);display:flex;align-items:center;gap:8px;padding:0 10px;color:#6d7971;background:#f4f8f5;border:1px solid #dbe5dd;border-radius:8px}.search-field input{border:0;padding:0;background:transparent;box-shadow:none}.filter-button{min-height:var(--tap-target);display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 13px;color:#26332b;background:#fff;border:1px solid #dbe5dd;border-radius:8px;cursor:pointer;font-size:var(--type-helper);font-weight:850}.queue-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px 14px;border-bottom:1px solid #e6eee8}.queue-tools button{min-height:var(--tap-target);padding:0 10px;font-size:var(--type-meta)}.queue-tools button.active{color:#fff;background:var(--panda-primary-dark)}.board-message,.form-message,.error-line{gap:7px;margin:0;padding:10px 14px;color:#8c2f27;background:#fff2ef;border-bottom:1px solid #f3d3cd;font-size:var(--type-meta);font-weight:700}.order-list{min-height:0;overflow:auto;padding:8px}.order-row{width:100%;min-height:100px;display:block;margin-bottom:8px;color:#17221c;background:#f9fbf9;border:1px solid #dfe8e2;border-radius:8px;overflow:hidden}.order-row-open{width:100%;min-height:98px;display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;text-align:left;color:inherit;background:transparent;cursor:pointer}.order-row.selected{background:var(--panda-primary-soft);border-color:var(--panda-primary);box-shadow:inset 3px 0 0 var(--panda-primary)}.order-ready-button{display:none}.status-dot{width:10px;height:54px;border-radius:999px;background:#9ca8a0}.status-dot.pending_accept{background:#ad6d1f}.status-dot.picking{background:#d84a3a}.status-dot.shortage,.status-dot.after_sale{background:#b83a31}.status-dot.ready_for_delivery{background:#6b58a6}.status-dot.delivery_active{background:#238c5a}.status-dot.handed_over,.status-dot.completed{background:var(--panda-primary)}.order-row-main{min-width:0;display:grid;gap:5px}.order-row-code{color:#17221c;font-size:var(--type-page);font-weight:950;line-height:var(--line-tight);white-space:nowrap}.order-row-code-line{min-width:0;display:flex;align-items:center;gap:7px}.order-row-unread{flex:0 0 auto;min-width:18px;height:18px;display:grid;place-items:center;border-radius:999px;padding:0 5px;color:#fff;background:#e64a42;font-size:10px;font-style:normal;font-weight:950;line-height:18px;box-shadow:0 5px 14px #e64a4242}.order-row-reminder{flex:0 0 auto;min-height:24px;display:inline-flex;align-items:center;padding:0 8px;color:#fff;background:#b83a31;border-radius:999px;font-size:11px;font-style:normal;font-weight:950;line-height:1;box-shadow:0 5px 14px #b83a313d}.order-row-meta{font-weight:800}.order-row-stage{width:fit-content;min-height:26px;display:inline-flex;align-items:center;padding:0 9px;border-radius:999px;font-size:var(--type-meta);font-weight:950;line-height:1}.order-row-stage.danger{color:#fff;background:#d84a3a}.order-row-stage.success{color:#fff;background:var(--panda-primary)}.order-row-stage.active{color:#fff;background:#238c5a}.order-row-stage.warning{color:#874b10;background:#fff0d8}.order-row-stage.muted{color:#66736b;background:#eef3ef}.order-row-product{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-row-rider{color:#238c5a!important;font-weight:900}.order-row-reminder-note{color:#b83a31!important;font-weight:950}.order-row-main strong,.item-row strong,.timeline-item strong{overflow-wrap:anywhere}.order-row-main small,.order-row-side small,.item-row small,.timeline-item small{color:#69766e;font-size:var(--type-meta)}.order-row-side{min-width:86px;display:grid;gap:4px;justify-items:end}.order-row-side em{color:#17221c;font-style:normal;font-weight:900}.order-card{min-height:0}.order-card-open{grid-template-columns:6px minmax(0,1fr);align-items:stretch}.order-card-body{min-width:0;display:grid;gap:9px}.order-card-topline,.order-card-customer-line,.order-card-total,.order-card-delivery,.shortage-inline-alert{display:flex;align-items:center}.order-card-topline{gap:8px;flex-wrap:wrap}.order-card-topline small{margin-left:auto;color:#6d7971;font-size:var(--type-meta);font-weight:800}.order-card-customer-line{gap:7px}.order-card-customer-line>strong{min-width:0;display:inline-flex;align-items:center;gap:5px;color:#17221c;font-size:var(--type-item);font-weight:950;line-height:1.2}.phone-chip{width:34px;height:34px;display:grid;place-items:center;margin-left:auto;color:var(--panda-primary-dark);background:var(--panda-primary-soft);border-radius:999px;text-decoration:none}.order-card-delivery{gap:5px;min-width:0;color:#526057;font-size:var(--type-meta);font-weight:800;line-height:1.35}.order-card-items{display:grid;gap:7px}.order-card-item{min-width:0;display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:8px}.order-card-item img,.order-card-item i{width:38px;height:38px;display:block;background:#eef3ef;border:1px solid #e0e9e3;border-radius:8px;object-fit:cover}.order-card-item small{min-width:0;overflow:hidden;color:#3f4d45;font-size:var(--type-meta);font-weight:800;text-overflow:ellipsis;white-space:nowrap}.order-card-item em{color:#66736b;font-style:normal;font-weight:850}.shortage-inline-alert{gap:6px;padding:9px 10px;color:#8c3b15;background:#fff2df;border:1px solid #f4d5ad;border-radius:8px;font-size:var(--type-meta);font-weight:850;line-height:1.35}.shortage-inline-alert svg{flex:0 0 auto}.order-card-total{justify-content:space-between;gap:12px;color:#66736b}.order-card-total small{font-size:var(--type-meta);font-weight:800}.order-card-total strong{color:#17221c;font-size:var(--type-item);font-weight:950}.order-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 10px 10px 22px}.order-card-actions button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 10px;color:#26332b;background:#fff;border:1px solid #dfe8e2;border-radius:8px;cursor:pointer;font-weight:900}.order-card-actions button.primary{color:#fff;background:var(--panda-primary);border-color:var(--panda-primary)}.order-card-actions button:disabled{color:#8a968e;background:#eef3ef;border-color:#e1e9e4}.late{color:#b83a31!important;font-weight:900}.detail-panel{min-width:0;overflow:auto;padding:14px}.detail-head{justify-content:space-between;gap:16px;margin-bottom:12px;padding:12px 0 16px;border-bottom:1px solid #e6eee8}.detail-order-title{min-width:0;display:grid;gap:7px}.detail-back-button{display:none}.detail-voucher-toolbar,.detail-status-line{display:flex;align-items:center}.detail-voucher-toolbar{justify-content:flex-start;gap:10px;flex-wrap:wrap}.detail-voucher-toolbar h2{margin:0}.detail-voucher-toolbar button{min-height:36px;display:inline-flex;align-items:center;gap:4px;padding:0 10px;color:var(--panda-primary);background:var(--panda-primary-soft);border-radius:8px;font-size:var(--type-meta);font-weight:900;cursor:pointer}.detail-head .detail-order-title h2{color:var(--panda-primary-dark);font-size:var(--type-voucher);font-weight:950;letter-spacing:0}.detail-head small{display:block;color:#66736b;font-size:var(--type-helper);font-weight:800}.detail-status-line{gap:8px;flex-wrap:wrap}.detail-status-line span{color:#66736b;font-size:var(--type-helper);font-weight:900}.pick-progress-badge{min-height:32px;display:inline-flex;align-items:center;padding:0 10px;border-radius:999px;font-size:var(--type-helper);font-weight:950}.pick-progress-badge.complete{color:var(--panda-primary-dark);background:var(--panda-primary-soft)}.pick-progress-badge.incomplete{color:#b83a31;background:#fff1ef}.full-order-id{min-width:0;display:flex;align-items:center;gap:8px;color:#66736b;font-size:var(--type-meta);font-weight:800}.full-order-id span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.full-order-id button{flex:0 0 auto;min-height:var(--tap-target);display:inline-flex;align-items:center;gap:4px;padding:0 10px;color:var(--panda-primary);background:var(--panda-primary-soft);border-radius:8px;font-size:var(--type-meta);font-weight:900;cursor:pointer}.status-badge{flex:0 0 auto;max-width:150px;min-height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;color:#fff;background:#607066;border-radius:999px;font-size:var(--type-meta);font-weight:900;text-align:center}.status-badge.pending_accept{background:#ad6d1f}.status-badge.picking{background:var(--panda-primary-dark)}.status-badge.shortage,.status-badge.after_sale{background:#b83a31}.status-badge.ready_for_delivery{background:#6b58a6}.status-badge.delivery_active{background:#238c5a}.status-badge.handed_over,.status-badge.completed{background:var(--panda-primary)}.detail-section{margin-bottom:12px;padding:13px;background:#f9fbf9;border:1px solid #e0e9e3;border-radius:8px}.detail-section header{justify-content:space-between;gap:12px;margin-bottom:10px}.detail-section header span{color:#69766e;font-size:var(--type-meta);font-weight:800}.customer-section{display:grid;gap:8px}.customer-line{justify-content:space-between;gap:12px}.customer-line span,.customer-section p,.delivery-state,.error-line{gap:6px}.customer-section p,.after-sale-section p{margin:0;display:flex;color:#425047;font-size:var(--type-body);line-height:var(--line-body)}.customer-section small{color:#7b5b22;font-weight:800}.rider-delivery-section{background:#f6fbf7;border-color:#d2ead9}.reminder-section{background:#fff4f2;border-color:#f1b8b2;box-shadow:inset 4px 0 #b83a31}.reminder-section header strong{display:inline-flex;align-items:center;gap:6px;color:#b83a31}.reminder-section header span{color:#b83a31;font-weight:900}.reminder-section p{margin:0;color:#5d2722;font-size:var(--type-body);font-weight:850;line-height:var(--line-body)}.rider-delivery-section.active{border-color:#9bd0ad;box-shadow:inset 4px 0 #238c5a}.rider-delivery-card{display:grid;grid-template-columns:70px minmax(0,1fr) auto;gap:12px;align-items:center}.rider-photo{width:70px;height:82px;display:grid;place-items:center;overflow:hidden;color:var(--panda-primary-dark);background:var(--panda-primary-soft);border:1px solid var(--panda-primary-border);border-radius:8px;font-size:var(--type-helper);font-weight:950}.rider-photo img{width:100%;height:100%;object-fit:cover}.rider-delivery-main{min-width:0;display:grid;gap:4px}.rider-delivery-main strong{color:#17221c;font-size:var(--type-item);line-height:var(--line-tight)}.rider-delivery-main span,.delivery-live-line span{color:#526057;font-size:var(--type-helper);font-weight:800}.route-button{min-height:var(--tap-target);display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 12px;color:#fff;background:#238c5a;border-radius:8px;font-size:var(--type-meta);font-weight:950;text-decoration:none;cursor:pointer}.delivery-live-line{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.delivery-live-line span{min-height:30px;display:inline-flex;align-items:center;padding:0 9px;background:#fff;border:1px solid #dceae1;border-radius:999px}.merchant-delivery-flow{position:relative;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(94px,1fr);gap:9px;margin-top:12px;overflow-x:auto;padding:2px 1px 4px;scrollbar-width:none}.merchant-delivery-flow::-webkit-scrollbar{display:none}.order-row>.merchant-delivery-flow.compact{grid-auto-columns:minmax(74px,1fr);gap:6px;margin:0 10px 10px 20px;padding:7px;background:#f2f8f3;border:1px solid #dceee0;border-radius:8px}.merchant-delivery-step{min-width:0;min-height:112px;display:grid;justify-items:center;align-content:center;gap:5px;padding:9px 7px;color:#69766e;background:#fff;border:1px solid #dce9df;border-radius:8px;text-align:center}.merchant-delivery-step i,.delivery-proof-thumb{width:34px;height:34px;display:grid;place-items:center;overflow:hidden;color:#fff;background:#fff;border:3px solid #c9d8ce;border-radius:999px;font-style:normal}.delivery-proof-thumb{padding:0;cursor:pointer}.merchant-delivery-step i:before{content:"";width:10px;height:10px;border-radius:999px;background:#c9d8ce}.merchant-delivery-step i img,.delivery-proof-thumb img{width:100%;height:100%;object-fit:cover}.merchant-delivery-step.done{color:var(--panda-primary-dark);background:#fbfffa;border-color:var(--panda-primary-border)}.merchant-delivery-step.done i{background:var(--panda-primary);border-color:var(--panda-primary)}.merchant-delivery-step.done i:before,.merchant-delivery-step.has-proof i:before{display:none}.merchant-delivery-step.has-proof .delivery-proof-thumb{border-color:var(--panda-primary)}.merchant-delivery-step.has-proof .delivery-proof-thumb:active{transform:scale(.96)}.merchant-delivery-step.current{color:#2366c8;background:#eaf3ff;border-color:#2f80ed;box-shadow:0 0 0 2px #2f80ed24}.merchant-delivery-step.current i{border-color:#2f80ed}.merchant-delivery-step.current i:before{background:#2f80ed}.merchant-delivery-step strong{max-width:100%;overflow:hidden;color:currentColor;font-size:var(--type-helper);font-weight:950;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.merchant-delivery-step small{max-width:100%;overflow:hidden;color:#526057;font-size:var(--type-caption);font-weight:850;line-height:1.18;text-overflow:ellipsis;white-space:nowrap}.merchant-delivery-flow.compact .merchant-delivery-step{min-height:72px;gap:4px;padding:6px 4px;border-color:#e4eee7}.merchant-delivery-flow.compact .merchant-delivery-step i,.merchant-delivery-flow.compact .delivery-proof-thumb{width:22px;height:22px;border-width:2px}.merchant-delivery-flow.compact .merchant-delivery-step i:before{width:7px;height:7px}.merchant-delivery-flow.compact .merchant-delivery-step strong{font-size:12px;font-weight:900}.merchant-delivery-flow.compact .merchant-delivery-step small{display:none}.delivery-proof-preview{background:#0f1712}.delivery-proof-preview img{max-height:min(72vh,720px);object-fit:contain}.delivery-route-dialog{width:min(780px,100%)}.route-map-preview{position:relative;min-height:340px;overflow:hidden;background:#eef5f0;border:1px solid #d9e8dc;border-radius:8px}.route-map-preview iframe{width:100%;height:min(52vh,420px);min-height:340px;display:block;border:0}.route-coordinate-map{position:absolute;inset:0;overflow:hidden;background:#e8f0ea}.route-coordinate-map>img,.route-map-line,.route-map-marker,.route-map-attribution{position:absolute}.route-coordinate-map>img{-webkit-user-select:none;user-select:none}.route-map-line{inset:0;z-index:1;overflow:visible;pointer-events:none}.route-map-line line{stroke:#238c5a;stroke-width:1.2;stroke-dasharray:3 2;stroke-linecap:round;vector-effect:non-scaling-stroke}.route-map-marker{z-index:2;display:grid;place-items:center;min-width:40px;min-height:40px;color:#fff;border:3px solid #ffffff;border-radius:999px;box-shadow:0 10px 28px #192a1f52;pointer-events:none;transform:translate(-50%,-100%)}.route-map-marker.rider{background:var(--panda-primary)}.route-map-marker.destination{background:#d84a3a}.route-map-marker.rider:before{content:"";position:absolute;inset:-8px;border:2px solid rgba(99,190,63,.42);border-radius:inherit;animation:riderPinPulse 1.8s ease-out infinite}.route-map-marker:after{content:"";position:absolute;left:50%;bottom:-9px;width:13px;height:13px;background:inherit;border-right:3px solid #ffffff;border-bottom:3px solid #ffffff;transform:translate(-50%) rotate(45deg)}.route-map-marker strong{position:absolute;left:50%;top:calc(100% + 9px);min-width:48px;padding:3px 8px;color:#17221c;background:#fffffff5;border:1px solid #d9e8dc;border-radius:999px;box-shadow:0 8px 20px #192a1f29;font-size:var(--type-caption);font-weight:950;line-height:1.15;text-align:center;transform:translate(-50%)}.route-map-attribution{right:6px;bottom:5px;z-index:3;padding:2px 5px;color:#4d5a52;background:#ffffffe0;border-radius:4px;font-size:10px;font-weight:800}@keyframes riderPinPulse{0%{opacity:.8;transform:scale(.75)}to{opacity:0;transform:scale(1.45)}}.route-map-empty{min-height:280px;display:grid;place-items:center;align-content:center;gap:8px;padding:22px;color:#516057;text-align:center}.route-map-empty strong{color:#17221c;font-size:var(--type-item)}.route-map-empty span{font-size:var(--type-helper);font-weight:750}.route-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.route-info-card{display:grid;gap:5px;padding:12px;background:#f8fbf9;border:1px solid #e0e9e3;border-radius:8px}.route-info-card.full{grid-column:1 / -1}.route-info-card span{color:#68746d;font-size:var(--type-caption);font-weight:800}.route-info-card strong{min-width:0;color:#17221c;font-size:var(--type-helper);font-weight:900;line-height:1.35;overflow-wrap:anywhere}.route-dialog-actions{flex-wrap:wrap}.route-open-link{min-height:var(--tap-primary);display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 16px;color:#fff;background:var(--panda-primary);border-radius:8px;font-size:var(--type-helper);font-weight:900;text-decoration:none}.merchant-chat-dialog{width:min(560px,100%);height:min(720px,calc(100vh - 36px));grid-template-rows:auto auto minmax(0,1fr) auto}.merchant-chat-dialog header{align-items:center}.merchant-chat-dialog header h2,.merchant-chat-section header strong{display:inline-flex;align-items:center;gap:6px}.merchant-chat-dialog header>span{margin-left:auto;color:#66736b;font-size:var(--type-meta);font-weight:900}.merchant-chat-messages{min-height:0;max-height:220px;display:grid;gap:8px;overflow:auto;padding:8px;border:1px solid #e0e9e3;border-radius:8px;background:#fff}.merchant-chat-dialog .merchant-chat-messages{max-height:none;align-content:start}.merchant-chat-messages article{display:grid;gap:4px;width:fit-content;max-width:88%;padding:8px 9px;border:1px solid #e1ebe5;border-radius:8px;background:#f9fbf9}.merchant-chat-messages article.merchant,.merchant-chat-messages article.supervisor{justify-self:end;border-color:#bfd8ca;background:var(--panda-primary-soft)}.merchant-chat-messages article.system{justify-self:center;text-align:center;color:#66746d;background:#f1f4f2}.merchant-chat-messages small,.merchant-chat-messages p{margin:0;color:#69766e;font-size:var(--type-caption)}.merchant-chat-messages span{color:#17221c;font-size:var(--type-helper);font-weight:760;line-height:var(--line-body);overflow-wrap:anywhere}.merchant-chat-messages em{color:#3d6d56;font-size:var(--type-caption);font-style:normal;line-height:var(--line-body)}.merchant-chat-messages article>button{width:fit-content;display:inline-flex;align-items:center;gap:4px;border:0;padding:0;color:var(--panda-primary);background:transparent;font-size:var(--type-meta);font-weight:900}.merchant-chat-composer{display:grid;grid-template-columns:minmax(0,1fr) var(--tap-target);gap:8px;margin-top:10px}.merchant-chat-composer input{min-width:0;height:var(--tap-target);border:1px solid #dbe5dd;border-radius:8px;padding:0 10px;outline:0;background:#fff}.merchant-chat-composer button{height:var(--tap-target);display:grid;place-items:center;border-radius:8px;color:#fff;background:var(--panda-primary)}.merchant-chat-composer button:disabled{color:#7e8b84;background:#e6eee8}.error-line.compact{margin-bottom:8px;border:0;border-radius:8px}.primary-actions{display:flex;flex-wrap:wrap;gap:8px}.primary-actions button.warning{color:#8c2f27;background:#fff1ef}.primary-actions button.chat-entry-button{position:relative;color:var(--panda-primary-dark);background:#eef8ec;border:1px solid #cfe9c8}.primary-actions button.chat-entry-button.has-unread{color:#8c2f27;background:#fff4f2;border-color:#efb7b0;box-shadow:0 8px 18px #b83a311f}.chat-entry-badge{position:absolute;top:-7px;right:-7px;min-width:19px;height:19px;display:grid;place-items:center;padding:0 5px;border:2px solid #ffffff;border-radius:999px;color:#fff;background:#e64a42;font-size:10px;font-style:normal;font-weight:950;line-height:15px;box-shadow:0 6px 14px #e64a4247}.primary-actions .action-hint{width:100%;color:#8c2f27;font-weight:800}.primary-actions .action-hint.ready{color:var(--panda-primary-dark)}.item-list{display:grid;gap:8px}.item-row{min-height:96px;display:grid;grid-template-columns:76px minmax(0,1fr) auto var(--tap-target);gap:12px;align-items:center;padding:10px;background:#fff;border:1px solid #e0e9e3;border-radius:8px}.item-row.picked{background:var(--panda-primary-soft)}.item-row.pickable{cursor:pointer}.item-row.pickable:active{background:var(--panda-primary-soft)}.item-image-button{position:relative;width:76px;height:76px;overflow:hidden;display:grid;place-items:center;padding:0;color:var(--panda-primary);background:var(--panda-primary-soft);border:1px solid var(--panda-primary-border);border-radius:8px;cursor:pointer}.item-image-button:disabled{cursor:default;opacity:1}.item-image-button img{width:100%;height:100%;display:block;object-fit:cover}.item-image-button.empty span{color:var(--panda-primary);font-size:11px;font-weight:900;letter-spacing:0;text-transform:uppercase}.item-picked-badge{position:absolute;right:-3px;bottom:-3px;width:32px;height:32px;display:grid;place-items:center;color:var(--panda-primary);background:#fff;border:2px solid var(--panda-primary);border-radius:10px 0 8px;box-shadow:0 5px 16px #14221b38}.item-picked-badge.picked{color:#fff;background:var(--panda-primary);border-color:#fff}.item-picked-badge.pending{color:var(--panda-primary);background:#fff}.item-info{min-width:0;display:grid;gap:3px}.item-info strong{color:#17221c;font-size:17px;font-weight:850;line-height:1.28}.item-info small{font-size:var(--type-meta);line-height:1.35}.item-row em{color:#59665e;font-style:normal;font-weight:900}.item-row-amount{display:grid;gap:4px;justify-items:end;white-space:nowrap}.item-row-amount strong{color:#17221c;font-size:18px;font-weight:950}.shortage-note{color:#b83a31!important;font-weight:800}.shortage-summary-section{background:#fffdf9;border-color:#f0dec2}.shortage-summary-list{display:grid;gap:10px}.shortage-summary-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:start;padding:10px;background:#fff;border:1px solid #ecdfcb;border-radius:8px}.shortage-summary-row>span:last-child{min-width:0;display:grid;gap:4px}.shortage-summary-row strong{color:#17221c;font-size:var(--type-body);font-weight:900;line-height:1.28}.shortage-summary-row small,.shortage-summary-row em{color:#66736b;font-size:var(--type-meta);font-style:normal;line-height:1.35}.shortage-summary-row em{color:#8c2f27;font-weight:800}.shortage-replacement-thumb{width:50px;height:50px;overflow:hidden;border:1px solid var(--panda-primary-border);border-radius:8px}.shortage-replacement-thumb img{width:100%;height:100%;display:block;object-fit:cover}.text-icon-button{width:var(--tap-target);min-height:var(--tap-target);padding:0;color:#b83a31;background:#fff1ef}.detail-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr);gap:12px}.receipt-section,.total-section{min-width:0}.receipt-actions{flex-wrap:wrap;gap:8px}.receipt-actions button{min-height:var(--tap-target);padding:0 10px;font-size:var(--type-meta)}.total-section{display:grid;grid-template-columns:1fr auto;gap:7px 12px}.total-section-main{display:none}.note-section p{margin:0;color:#17221c;font-size:var(--type-body);line-height:1.55}.total-section span{color:#66736b}.total-section strong{text-align:right}.after-sale-section{background:#fff8f2;border-color:#f0d2b2}.action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}.timeline-section{margin-bottom:0}.timeline{display:grid;gap:10px}.timeline-item{display:grid;grid-template-columns:12px minmax(0,1fr);gap:10px}.timeline-item>span{width:10px;height:10px;margin-top:5px;background:var(--panda-primary);border-radius:999px}.timeline-item p{margin:4px 0 0;color:#59665e;line-height:1.45}.delivery-state{margin:12px 0 0;color:var(--panda-primary-dark);font-weight:900}.empty-state{min-height:140px;display:grid;place-items:center;align-content:center;gap:8px;color:#66736b;font-weight:800}.empty-state.large{min-height:360px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.dialog-backdrop{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:18px;background:#0b161173}.dialog{width:min(720px,100%);max-height:min(760px,calc(100vh - 36px));overflow:auto;display:grid;gap:14px;padding:18px;background:#fff;border-radius:8px;box-shadow:0 22px 70px #14221b42}.dialog header,.dialog footer{justify-content:space-between;gap:12px}.settings-sheet-backdrop{position:fixed;inset:0;z-index:40;display:flex;align-items:flex-end;justify-content:center;padding:0 16px env(safe-area-inset-bottom,0px);background:#0c161094}.merchant-settings-page{width:100%;min-height:100vh;min-height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;box-sizing:border-box;background:#f3f6f2}.merchant-settings-page *,.merchant-settings-page *:before,.merchant-settings-page *:after{box-sizing:border-box}.settings-form-page{grid-template-rows:auto minmax(0,1fr) auto}.settings-page-header{min-width:0;display:grid;gap:8px;padding:calc(12px + env(safe-area-inset-top,0px)) 16px 12px;background:#fff;border-bottom:1px solid #e0e7e2}.settings-page-header h1{margin:0;color:#17221c;font-size:22px;line-height:1.18}.settings-page-header p{margin:4px 0 0;color:#66736b;font-size:var(--type-helper);font-weight:750}.settings-page-back{width:fit-content;min-height:34px;display:inline-flex;align-items:center;gap:5px;padding:0 10px 0 6px;color:#26332b;background:#f2f5f3;border:1px solid #dde6e0;border-radius:8px;cursor:pointer;font-size:var(--type-helper);font-weight:900}.settings-page-content{min-width:0;min-height:0;display:grid;align-content:start;gap:12px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:12px 16px calc(20px + env(safe-area-inset-bottom,0px))}.settings-home-content{max-width:720px;width:100%;justify-self:center}.settings-form-content{padding-bottom:96px}.settings-menu-card{min-width:0;width:100%;display:grid;grid-template-columns:42px minmax(0,1fr) 24px;align-items:center;gap:12px;padding:16px;color:#17221c;text-align:left;background:#fff;border:1px solid #dfe6e1;border-radius:10px;cursor:pointer}.settings-menu-card.muted{grid-template-columns:42px minmax(0,1fr);cursor:default}.settings-menu-icon{width:42px;height:42px;display:grid;place-items:center;color:var(--panda-primary-dark);background:var(--panda-primary-soft);border-radius:8px}.settings-menu-card strong{display:block;color:#17221c;font-size:var(--type-body);font-weight:950;line-height:1.3}.settings-menu-card small{display:block;margin-top:4px;color:#66736b;font-size:var(--type-helper);font-weight:750;line-height:1.4}.settings-menu-arrow{justify-self:end;color:#738078;transform:rotate(180deg)}.settings-page-actions{min-width:0;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.35fr);gap:10px;padding:10px 16px calc(12px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #e1e7e3}.settings-page-actions button{min-width:0;min-height:46px;border:0;border-radius:8px;color:#26332b;background:#eef1ef;cursor:pointer;font-size:var(--type-body);font-weight:950}.settings-page-actions button.primary{color:#fff;background:var(--panda-primary)}.settings-sheet{width:min(680px,100%);max-height:calc(100dvh - env(safe-area-inset-top,0px) - 16px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;grid-template-areas:"header" "body" "actions";overflow:hidden;background:#f7f8f7;border:1px solid rgba(218,226,220,.9);border-bottom:0;border-radius:18px 18px 0 0;box-shadow:0 -10px 28px #121f1729}.settings-sheet-grabber{width:48px;height:5px;justify-self:center;margin:0 auto 14px;background:#bdc5bf;border-radius:999px}.settings-sheet-header{grid-area:header;min-width:0;display:grid;gap:0;padding:12px 20px 16px;background:#f7f8f7;border-bottom:1px solid #e1e7e3}.settings-sheet-title-row{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) var(--tap-target);align-items:start;gap:12px}.settings-sheet-header h2{margin:0;color:#17221c;font-size:28px;line-height:1.12}.settings-sheet-header p{margin:4px 0 0;color:#66736b;font-size:var(--type-body);font-weight:700}.settings-sheet-header .icon-button{width:var(--tap-target);height:var(--tap-target);flex:0 0 auto;align-self:start;color:#4d5a52;background:#ecefed}.settings-sheet-body{grid-area:body;min-height:0;display:grid;align-content:start;gap:18px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:16px 20px 112px}.settings-section{min-width:0;display:grid;gap:8px}.settings-section h3{margin:0;color:#17221c;font-size:18px;line-height:1.2}.settings-card{min-width:0;display:grid;padding:0 12px;background:#fff;border:1px solid #dfe6e1;border-radius:8px}.settings-switch-row,.settings-row{min-height:58px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 0}.settings-switch-row+.settings-switch-row,.settings-row+.settings-row{border-top:1px solid #e3e8e5}.settings-row.compact{min-height:46px;padding:6px 0}.settings-row.stacked{grid-template-columns:minmax(0,1fr);align-items:stretch}.settings-switch-row span{min-width:0;display:grid;gap:4px}.settings-switch-row strong,.settings-row-title{color:#17221c;font-size:var(--type-helper);font-weight:900;line-height:1.25}.settings-switch-row small{color:#66736b;font-size:var(--type-helper);font-weight:700;line-height:1.35}.settings-switch-row input{width:48px;height:28px;appearance:none;padding:3px;border:0;border-radius:999px;background:#d9dedb;cursor:pointer;transition:background .16s ease}.settings-switch-row input:before{content:"";width:22px;height:22px;display:block;background:#fff;border-radius:999px;box-shadow:0 1px 3px #17221c2e;transition:transform .16s ease}.settings-switch-row input:checked{background:var(--panda-primary)}.settings-switch-row input:checked:before{transform:translate(20px)}.settings-segmented,.settings-stepper{min-width:154px;display:grid;overflow:hidden;background:#eef0ef;border:1px solid #dbe2dd;border-radius:8px}.settings-segmented{grid-template-columns:1fr 1fr}.settings-segmented button,.settings-stepper button{min-height:36px;border:0;color:#59665e;background:transparent;cursor:pointer;font-weight:900}.settings-segmented button.active{color:#fff;background:var(--panda-primary)}.settings-stepper{min-width:126px;grid-template-columns:40px 46px 40px;background:#f7f8f7}.settings-stepper.compact{min-width:112px;grid-template-columns:36px 40px 36px}.settings-stepper strong{min-height:36px;display:grid;place-items:center;color:#17221c;background:#fff;border-right:1px solid #e3e8e5;border-left:1px solid #e3e8e5;font-size:var(--type-body)}.receipt-page-settings{display:grid;gap:10px;padding:10px 0 12px;border-top:1px solid #e3e8e5}.receipt-page-card{min-width:0;display:grid;gap:8px;padding:10px 12px;background:#f9fbfa;border:1px solid #e0e7e2;border-radius:8px}.receipt-page-head{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:10px}.receipt-page-head strong{color:#17221c;font-size:var(--type-body);font-weight:950}.receipt-page-head span{flex:0 0 auto;padding:3px 9px;color:#2f7d20;background:var(--panda-primary-soft);border-radius:999px;font-size:var(--type-meta);font-weight:900}.settings-segmented.item-name-layout{width:100%;min-width:0;grid-template-columns:repeat(3,minmax(0,1fr))}.settings-segmented.item-name-layout button{padding:0 8px;font-size:var(--type-meta);white-space:nowrap}.receipt-template-designer{min-width:0;display:grid;gap:12px;padding:12px 0 14px;border-top:1px solid #e3e8e5}.receipt-template-toolbar{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}.receipt-template-toolbar strong{display:block;color:#17221c;font-size:var(--type-body);font-weight:950;line-height:1.3}.receipt-template-toolbar small{display:block;margin-top:3px;color:#66736b;font-size:var(--type-helper);font-weight:750;line-height:1.35}.receipt-width-tabs{min-width:150px}.receipt-template-workspace{min-width:0;display:grid;grid-template-columns:minmax(280px,.9fr) minmax(260px,1.1fr);gap:14px;align-items:stretch}.receipt-template-controls{min-width:0;display:grid;gap:10px}.receipt-template-controls section{min-width:0;display:grid;gap:10px;padding:12px;background:#fff;border:1px solid #e0e7e2;border-radius:8px}.receipt-template-controls h4{margin:0;color:#17221c;font-size:var(--type-helper);font-weight:950;line-height:1.3}.receipt-default-row{padding-top:2px}.receipt-module-grid{display:grid;gap:8px}.receipt-module-toggle{min-width:0;display:grid;grid-template-columns:20px minmax(0,1fr);gap:9px;align-items:start;padding:9px 10px;background:#f8faf9;border:1px solid #e1e8e3;border-radius:8px}.receipt-module-toggle input{width:18px;height:18px;min-height:18px;margin-top:1px;accent-color:var(--panda-primary)}.receipt-module-toggle strong{display:block;color:#17221c;font-size:var(--type-helper);font-weight:950;line-height:1.25}.receipt-module-toggle small{display:block;margin-top:2px;color:#66736b;font-size:var(--type-meta);font-weight:750;line-height:1.3}.receipt-preview-stage{min-width:0;min-height:420px;display:grid;justify-items:center;align-items:start;overflow:auto;padding:16px;background:#e8e9e8;border:1px solid #d9dfdb;border-radius:8px}.receipt-paper-preview{width:min(100%,258px);min-height:520px;padding:16px 13px;color:#2b2f33;background:#fff;box-shadow:0 1px #17221c14}.receipt-paper-preview.wide{width:min(100%,340px)}.receipt-paper-preview pre{margin:0;overflow:visible;color:#40464c;background:transparent;border:0;font-family:Courier New,ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;font-weight:700;line-height:1.45;white-space:pre-wrap;word-break:break-all}.printer-list{display:grid;gap:10px}.printer-settings-card{gap:10px;padding-top:12px;padding-bottom:12px}.printer-settings-head{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px}.printer-settings-head strong{color:#17221c;font-size:var(--type-body);font-weight:950}.printer-settings-head span{flex:0 0 auto;padding:5px 12px;color:#69766e;background:#eef3ef;border-radius:999px;font-size:var(--type-meta);font-weight:900}.printer-settings-head span.matched{color:#2f7d20;background:var(--panda-primary-soft)}.settings-field{min-width:0;display:grid;gap:6px;color:#4d5a52;font-size:var(--type-helper);font-weight:800}.settings-field input{min-width:0;height:44px;font-size:var(--type-body)}.printer-settings-card p{margin:0;color:#66736b;font-size:var(--type-helper);font-weight:700;line-height:1.45}.printer-primary-row{min-width:0;display:flex;align-items:center;gap:9px;color:#26332b;font-size:var(--type-helper);font-weight:850}.printer-primary-row input{width:18px;height:18px;min-height:18px;accent-color:var(--panda-primary)}.printer-card-actions{display:flex;flex-wrap:wrap;gap:10px}.settings-secondary-button{min-height:38px;justify-self:start;padding:0 12px;color:#26332b;background:#eef3ef;border:1px solid #dbe4de;border-radius:8px;cursor:pointer;font-size:var(--type-helper);font-weight:900}.settings-secondary-button.danger{color:#9c2d25;background:#fff1ef;border-color:#f0c8c2}.settings-add-printer-button{min-height:42px;width:100%;color:var(--panda-primary-dark);background:#f8fbf7;border:1px dashed var(--panda-primary-border);border-radius:10px;cursor:pointer;font-size:var(--type-helper);font-weight:950}.printer-test-message{margin:-2px 0 0;padding:10px 12px;border-radius:8px;font-size:var(--type-helper);font-weight:800;line-height:1.45}.printer-test-message.success{color:#2f7d20;background:var(--panda-primary-soft);border:1px solid var(--panda-primary-border)}.printer-test-message.error{color:#9c2d25;background:#fff1ef;border:1px solid #f0c8c2}.settings-sheet-actions{grid-area:actions;min-width:0;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.35fr);gap:12px;padding:14px 20px calc(16px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #e1e7e3}.settings-sheet-actions button{min-width:0;min-height:52px;border:0;border-radius:8px;color:#26332b;background:#eef1ef;cursor:pointer;font-size:var(--type-body);font-weight:950}.settings-sheet-actions button.primary{color:#fff;background:var(--panda-primary)}.receipt-dialog pre{margin:0;overflow:auto;padding:18px;color:#17221c;background:#f7f4ec;border:1px dashed #c9bda6;border-radius:8px;font-family:Courier New,monospace;font-size:var(--type-meta);line-height:1.45;white-space:pre-wrap}.ready-confirm-dialog{width:min(420px,100%)}.confirm-order-summary{display:grid;gap:4px;padding:14px;background:var(--panda-primary-soft);border:1px solid var(--panda-primary-border);border-radius:8px}.confirm-order-summary strong{color:var(--panda-primary-dark);font-size:var(--type-page);font-weight:950}.confirm-order-summary span,.confirm-note{color:#4d5a52;font-size:var(--type-body);font-weight:800}.confirm-note{margin:0;line-height:var(--line-body)}.product-image-dialog{width:min(560px,100%)}.product-image-dialog header h2{font-size:var(--type-page);line-height:1.28}.product-image-preview{min-height:280px;display:grid;place-items:center;overflow:hidden;background:#f4f8f6;border:1px solid #e0e9e3;border-radius:8px}.product-image-preview img{width:100%;max-height:62vh;display:block;object-fit:contain}.product-image-preview span{color:var(--panda-primary);font-size:var(--type-item);font-weight:900;letter-spacing:0}.product-image-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px}.product-image-meta span{display:flex;justify-content:space-between;gap:10px;padding:12px;color:#4d5a52;background:#f8fbf9;border:1px solid #e0e9e3;border-radius:8px;font-size:15px;font-weight:800}.product-image-meta strong{color:#17221c}.settings-dialog{width:min(620px,100%)}.beta-feedback-dialog{width:min(760px,100%)}.beta-feedback-toolbar{min-height:var(--tap-target);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:#f7faf7;border:1px solid #e0e9e3;border-radius:8px}.beta-feedback-toolbar span{color:#4d5a52;font-size:var(--type-meta);font-weight:850}.beta-feedback-list{display:grid;gap:10px}.beta-feedback-card{display:grid;gap:12px;padding:13px;background:#fff;border:1px solid #dfe9e2;border-radius:8px}.beta-feedback-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.beta-feedback-card header div{min-width:0;display:grid;gap:3px}.beta-feedback-card small,.beta-feedback-meta dt{color:#66736b;font-size:var(--type-meta);font-weight:850}.beta-feedback-card strong{min-width:0;color:#17221c;font-size:var(--type-body);font-weight:950;overflow-wrap:anywhere}.beta-feedback-card header span{flex:0 0 auto;color:#66736b;font-size:var(--type-meta);font-weight:760}.beta-feedback-content{display:grid;gap:7px;padding:10px 11px;background:#f7faf7;border:1px solid #e5eee7;border-radius:8px}.beta-feedback-content p{margin:0;color:#26332b;font-size:var(--type-body);font-weight:780;line-height:var(--line-body);white-space:pre-wrap;word-break:break-word}.beta-feedback-meta{margin:0;display:grid;grid-template-columns:76px minmax(0,1fr);gap:8px 10px;color:#4d5a52;font-size:var(--type-meta);line-height:1.5}.beta-feedback-meta dd{min-width:0;margin:0;font-weight:760;overflow-wrap:anywhere}.beta-feedback-meta dd:has(button){display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.beta-feedback-meta dd span{min-width:0}.beta-feedback-meta button{flex:0 0 auto;min-height:30px;padding:0 10px;border:1px solid #bddfba;border-radius:8px;background:#f0faef;color:var(--panda-primary);font-size:var(--type-meta);font-weight:900}.merchant-message-dialog{width:min(560px,100%)}.merchant-message-list{display:grid;gap:10px}.merchant-message-item{min-width:0;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;color:#17221c;background:#fff;border:1px solid #dfe9e2;border-radius:8px;text-align:left}.merchant-message-item.unread{background:#f4fbf2;border-color:#bfe4b9}.merchant-message-avatar{width:42px;height:42px;display:grid;place-items:center;color:var(--panda-primary);background:var(--panda-primary-soft);border-radius:999px}.merchant-message-avatar.rider{color:#126bd8;background:#eaf3ff}.merchant-message-main{min-width:0;display:grid;gap:5px}.merchant-message-title,.merchant-message-copy{min-width:0;display:flex;align-items:center;gap:8px}.merchant-message-title strong{color:#17221c;font-size:var(--type-body);font-weight:950}.merchant-message-title small{margin-left:auto;color:#66736b;font-size:var(--type-meta);font-weight:750;white-space:nowrap}.merchant-message-copy{color:#526057;font-size:var(--type-meta);font-weight:780}.merchant-message-copy em{flex:0 0 auto;color:#26332b;font-style:normal;font-weight:900}.merchant-message-copy span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.merchant-message-badge,.mobile-nav-badge{min-width:18px;height:18px;display:inline-grid;place-items:center;padding:0 5px;color:#fff;background:#e44438;border-radius:999px;font-size:11px;font-style:normal;font-weight:950;line-height:1}.settings-grid{display:grid;gap:12px}.toggle-row{min-height:74px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:13px;background:#f9fbf9;border:1px solid #e0e9e3;border-radius:8px}.toggle-row span,.setting-block{min-width:0;display:grid;gap:5px}.toggle-row strong{color:#17221c}.toggle-row small{color:#69766e;font-weight:700;line-height:1.45}.toggle-row input{width:24px;height:24px;accent-color:var(--panda-primary)}.setting-block{padding:13px;color:#4d5a52;background:#fff;border:1px solid #e0e9e3;border-radius:8px;font-size:var(--type-meta);font-weight:800}.setting-block-head{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:10px}.setting-block-head strong{flex:0 0 auto;padding:4px 8px;color:#69766e;background:#eef3ef;border-radius:999px;font-size:12px;line-height:1}.setting-block-head strong.connected{color:#2f7d20;background:var(--panda-primary-soft)}.printer-setting-block{gap:12px}.printer-setting-block label{gap:6px;color:#4d5a52;font-size:var(--type-meta)}.printer-setting-block input{min-height:var(--tap-target)}.printer-setting-block small{color:#69766e;font-weight:700;line-height:1.45}.segmented-control{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.segmented-control button.active{color:#fff;background:var(--panda-primary)}.dialog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.replacement-search-panel{display:grid;gap:12px;margin-top:12px;padding:12px;background:#f6faf5;border:1px solid var(--panda-primary-border);border-radius:8px}.replacement-search-input{min-height:var(--tap-target);display:flex;align-items:center;gap:8px;padding:0 10px;color:#66736b;background:#fff;border:1px solid #d7e3da;border-radius:8px}.replacement-search-input input{min-height:calc(var(--tap-target) - 2px);border:0;padding:0;background:transparent;box-shadow:none}.replacement-selected{display:grid;gap:4px;padding:10px;background:#fff;border:1px solid var(--panda-primary-border);border-radius:8px}.replacement-selected strong{color:#17221c;font-size:var(--type-body);font-weight:900}.replacement-selected span,.replacement-selected small{color:#66736b;font-size:var(--type-meta);font-weight:800}.replacement-selected small{color:#8c2f27}.replacement-selected small.danger{color:#b83a31}.replacement-result-list{max-height:330px;overflow:auto;display:grid;gap:8px}.replacement-result{width:100%;min-height:82px;display:grid;grid-template-columns:62px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px;color:#17221c;background:#fff;border:1px solid #dfe8e2;border-radius:8px;cursor:pointer;text-align:left}.replacement-result.selected{background:var(--panda-primary-soft);border-color:var(--panda-primary);box-shadow:0 0 0 2px #63be3f29}.replacement-thumb{width:62px;height:62px;overflow:hidden;display:grid;place-items:center;color:var(--panda-primary);background:var(--panda-primary-soft);border:1px solid var(--panda-primary-border);border-radius:8px;font-size:11px;font-weight:900}.replacement-thumb img{width:100%;height:100%;display:block;object-fit:cover}.replacement-main{min-width:0;display:grid;gap:3px}.replacement-main strong{color:#17221c;font-size:15px;font-weight:900;line-height:1.25}.replacement-main small,.replacement-main em,.replacement-state{color:#66736b;font-size:var(--type-meta);font-style:normal;font-weight:800;line-height:1.35}.replacement-price{color:#17221c;font-size:16px;font-weight:950;white-space:nowrap}.replacement-state{display:flex;align-items:center;gap:8px;margin:0;padding:10px;background:#fff;border:1px dashed #d7e3da;border-radius:8px}.mobile-bottom-nav{display:none}@media(max-width:1080px){.topbar{grid-template-columns:1fr;align-items:stretch}.topbar-stats,.topbar-actions{justify-content:start}.merchant-board{grid-template-columns:minmax(300px,.9fr) minmax(0,1.1fr)}.detail-grid,.action-grid{grid-template-columns:1fr 1fr}}@media(max-width:760px){body{background:#f1f2f4}.merchant-shell{--mobile-safe-top: env(safe-area-inset-top, 0px);--mobile-safe-bottom: env(safe-area-inset-bottom, 0px);--mobile-rail: 74px;--mobile-header: calc(74px + var(--mobile-safe-top));--mobile-nav: 68px;--mobile-sound: 0px;--mobile-stats: 82px;--mobile-frame-gap: 8px;--mobile-frame-border: #d8ead4;min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:var(--mobile-rail) minmax(0,1fr);grid-template-rows:auto auto auto auto 1fr;background:#f1f2f4}.topbar{min-height:var(--mobile-header);grid-column:1 / -1;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;padding:calc(12px + var(--mobile-safe-top)) 14px 12px;color:#fff;background:var(--panda-primary);border:0}.mobile-menu-button{width:var(--tap-target);height:var(--tap-target);display:grid;place-items:center;color:#fff;background:transparent;border-radius:8px}.brand-block{grid-column:2;flex-direction:column;align-items:center;justify-content:center;min-height:var(--tap-target);text-align:center}.brand-block>span{display:none}.brand-block p{display:none}.brand-block h1{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-size:var(--type-page);font-weight:950;line-height:1.08}.brand-version{margin-top:4px;color:#ffffffc2;font-size:11px;font-weight:650}.brand-version.beta{color:#ffffffdb}.topbar:before{display:none}.topbar-stats{display:none}.topbar-actions{align-items:center;justify-content:end;gap:8px}.topbar-actions .beta-feedback-button{display:none}.topbar-actions .icon-button:not(.refresh-button){display:none}.staff-pill{display:none}.icon-button{width:var(--tap-target);height:var(--tap-target);color:var(--panda-primary);background:#ffffffeb}.sound-enable-banner{display:none}.sound-enable-banner strong{font-size:var(--type-body)}.sound-enable-banner small{font-size:var(--type-caption);line-height:1.25}.sound-enable-banner .sound-enable-button{min-height:36px;padding:0 10px}.workbench-stats{grid-column:1 / -1;grid-row:3;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 10px 8px}.workbench-stat{min-height:74px;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:7px;padding:9px;border-radius:12px}.workbench-stat>span{width:36px;height:36px}.workbench-stat small{font-size:var(--type-caption)}.workbench-stat strong{margin-top:2px;font-size:24px;justify-content:flex-start}body:has(.merchant-board.detail-open) .sound-enable-banner{display:none}body:has(.ios-pwa-notice) .sound-enable-banner{display:none}.settings-sheet-backdrop{padding-right:16px;padding-left:16px}.settings-sheet{width:100%;max-height:calc(100dvh - env(safe-area-inset-top,0px) - 16px)}.settings-sheet-header{padding:12px 16px 16px}.settings-sheet-header h2{font-size:28px}.settings-sheet-body{padding:16px 16px 116px}.settings-card{padding-right:14px;padding-left:14px}.settings-row{grid-template-columns:minmax(0,1fr) auto;align-items:center}.settings-row.stacked{grid-template-columns:minmax(0,1fr);align-items:stretch}.settings-segmented,.settings-stepper{justify-self:end}.settings-row.stacked .settings-segmented{justify-self:stretch}.settings-sheet-actions{padding-right:16px;padding-left:16px}.receipt-template-toolbar,.receipt-template-workspace{grid-template-columns:minmax(0,1fr)}.receipt-width-tabs{width:100%;min-width:0}.receipt-preview-stage{min-height:360px;padding:12px}.receipt-paper-preview{width:min(100%,248px);min-height:430px}.receipt-paper-preview.wide{width:min(100%,300px)}.new-order-alert{top:calc(var(--mobile-header) + 8px);right:10px;left:10px;width:auto;padding:10px;transform:none}.new-order-alert strong{font-size:var(--type-body)}.new-order-alert button{min-height:38px;padding:0 10px}.ios-pwa-notice{position:relative;right:auto;bottom:auto;left:auto;grid-column:1 / -1;grid-row:4;width:auto;grid-template-columns:40px minmax(0,1fr);margin:8px;padding:10px 42px 10px 10px;gap:10px;border-radius:12px;box-shadow:0 8px 24px #18241d1a}.ios-pwa-icon{width:40px;height:40px;align-self:start}.ios-pwa-actions{grid-column:1 / -1;justify-content:stretch}.ios-pwa-actions button{flex:1;min-height:42px}.ios-pwa-copy p{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.status-strip{position:relative;z-index:2;grid-column:1;grid-row:5;display:flex;flex-direction:column;gap:0;align-self:start;width:var(--mobile-rail);min-height:calc(100vh - var(--mobile-header) - var(--mobile-sound) - var(--mobile-stats) - var(--mobile-nav) - var(--mobile-safe-bottom));min-height:calc(100dvh - var(--mobile-header) - var(--mobile-sound) - var(--mobile-stats) - var(--mobile-nav) - var(--mobile-safe-bottom));padding:8px 0 calc(var(--mobile-nav) + var(--mobile-safe-bottom) + 10px);background:#f6f7f8;border-right:1px solid #e1e4e8;border-bottom:0}.status-strip button{width:100%;min-height:50px;height:auto;grid-template-columns:1fr;justify-content:center;align-content:center;align-items:center;justify-items:center;column-gap:0;row-gap:0;color:#69727a;background:transparent;border-radius:0;position:relative}.status-strip button svg{display:none}.status-strip button.active{color:var(--panda-primary);background:var(--panda-primary-soft)}.status-strip button.active:before{content:"";position:absolute;left:0;top:16px;bottom:16px;width:4px;background:var(--panda-primary);border-radius:0 999px 999px 0}.status-strip strong{position:absolute;top:8px;right:6px;grid-column:auto;grid-row:auto;min-width:17px;height:17px;display:grid;place-items:center;padding:0 4px;color:#fff;background:#d84a3a;border-radius:999px;font-size:12px;line-height:17px}.status-strip strong:empty{display:none}.status-strip span{grid-column:1;grid-row:1;max-width:100%;padding:0 4px;font-size:var(--type-caption);font-weight:850;line-height:1.12;text-align:center;white-space:nowrap;word-break:keep-all;overflow-wrap:normal}.merchant-board{grid-column:2;grid-row:5;grid-template-columns:1fr;gap:0;margin-top:0;padding:0 0 calc(var(--mobile-nav) + 18px);min-width:0;min-height:calc(100vh - var(--mobile-header) - var(--mobile-sound) - var(--mobile-stats));min-height:calc(100dvh - var(--mobile-header) - var(--mobile-sound) - var(--mobile-stats))}.order-list-panel{max-height:none;min-height:calc(100vh - var(--mobile-header) - var(--mobile-sound) - var(--mobile-stats) - var(--mobile-nav) - var(--mobile-safe-bottom));min-height:calc(100dvh - var(--mobile-header) - var(--mobile-sound) - var(--mobile-stats) - var(--mobile-nav) - var(--mobile-safe-bottom));display:grid;grid-template-rows:auto auto 1fr;margin:0;overflow:hidden;border:0;border-radius:0;box-shadow:none}.panel-toolbar{min-height:56px;align-items:stretch;flex-direction:row;gap:8px;padding:10px;border-bottom:0}.panel-toolbar div{display:none}.search-field{width:100%;height:var(--tap-target);background:#f7f8f9}.filter-button{flex:0 0 auto;min-height:var(--tap-target);padding:0 12px;background:#fff}.queue-tools{display:none}.order-list{display:grid;align-content:start;gap:12px;overflow:auto;padding:0 8px 22px}.order-row{width:100%;min-width:0;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin:0;padding:0;background:#fff;border-color:#e2e8e4;border-radius:12px}.order-row.has-ready-action{grid-template-columns:minmax(0,1fr) 88px}.order-row-open{min-height:0;grid-template-columns:5px minmax(0,1fr);gap:8px;padding:12px 12px 10px}.order-row-code{font-size:18px}.order-card-topline small{margin-left:0;font-size:var(--type-caption)}.order-card-customer-line>strong{font-size:18px}.order-card-delivery,.order-card-item small,.order-card-total small{font-size:var(--type-meta)}.order-row-rider{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-row-product{display:-webkit-box;white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.28}.order-row-side{display:none}.order-card-items{gap:6px}.order-card-item{grid-template-columns:34px minmax(0,1fr)}.order-card-item img,.order-card-item i{width:34px;height:34px}.shortage-inline-alert{align-items:flex-start;padding:9px;font-size:var(--type-meta)}.order-card-actions{gap:8px;padding:0 12px 12px 25px}.order-card-actions button{min-height:44px;font-size:var(--type-helper)}.order-ready-button{min-height:72px;display:inline-flex;align-items:center;justify-content:center;align-self:center;margin:10px 10px 10px 0;padding:0 10px;color:#fff;background:var(--panda-primary);border-radius:8px;font-size:var(--type-body);font-weight:950;line-height:1.2;text-align:center}.order-ready-button:disabled{color:#8a968e;background:#eef3ef}.status-dot{width:5px;height:50px}.detail-panel{display:none;padding:0;background:#fff;border:1px solid var(--mobile-frame-border);border-radius:14px;overflow:visible}.merchant-board.detail-open .order-list-panel{display:none}.merchant-board.detail-open .detail-panel{display:block;position:fixed;top:calc(var(--mobile-header) + var(--mobile-frame-gap));right:var(--mobile-frame-gap);bottom:calc(var(--mobile-nav) + var(--mobile-safe-bottom) + var(--mobile-frame-gap));left:var(--mobile-frame-gap);z-index:8;overflow:auto;border:1.5px solid var(--mobile-frame-border);border-radius:12px;box-shadow:0 12px 34px #17221c1f}.merchant-board.detail-open+.mobile-bottom-nav{left:0}.detail-head{align-items:start;gap:8px;margin:0;padding:16px 14px 13px;background:#fff;border-bottom:1px solid #eceff1}.detail-head p{color:#66736b;font-size:var(--type-meta);font-weight:900;text-transform:none}.detail-back-button{min-height:40px;width:fit-content;display:inline-flex;align-items:center;gap:4px;margin:-4px 0 2px;padding:0 10px 0 6px;color:var(--panda-primary);background:var(--panda-primary-soft);border-radius:8px;font-size:var(--type-meta);font-weight:950}.detail-head .detail-order-title h2{margin-top:0;color:var(--panda-primary-dark);font-size:22px}.detail-head small{color:#7b8087;font-size:var(--type-helper)}.rider-delivery-card{grid-template-columns:64px minmax(0,1fr);align-items:start}.rider-photo{width:64px;height:78px}.route-button{grid-column:1 / -1;width:100%;min-height:48px;font-size:var(--type-body)}.delivery-route-dialog{width:100%;max-height:calc(100dvh - 20px);padding:12px}.route-map-preview{min-height:260px}.route-map-preview iframe{height:42vh;min-height:260px}.route-map-marker{min-width:36px;min-height:36px}.route-map-marker strong{min-width:42px;font-size:11px}.route-summary-grid{grid-template-columns:1fr}.route-dialog-actions .route-open-link,.route-dialog-actions button{width:100%;min-height:48px}.full-order-id{max-width:100%;font-size:var(--type-meta)}.detail-grid,.action-grid,.dialog-grid{grid-template-columns:1fr}.replacement-result{grid-template-columns:58px minmax(0,1fr)}.replacement-price{grid-column:2;justify-self:start}.replacement-thumb{width:58px;height:58px}.primary-actions{position:sticky;bottom:0;z-index:3;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;padding:10px 14px calc(10px + var(--mobile-safe-bottom));background:#fffffff5;border-top:1px solid #eceff1;border-bottom:1px solid #eceff1;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.primary-actions button{min-height:var(--tap-primary);padding:0 14px;font-size:var(--type-body)}.primary-actions button.primary{color:#fff;background:var(--panda-primary);font-size:var(--type-body)}.primary-actions .action-hint{grid-column:1 / -1}.detail-section{margin:0;padding:16px 14px;background:#fff;border:0;border-bottom:1px solid #eceff1;border-radius:0}.detail-section:last-of-type{border-bottom:0}.detail-section header strong{color:#17221c;font-size:var(--type-item);font-weight:950}.item-section{padding-top:14px;padding-bottom:8px}.item-section header{margin-bottom:10px}.item-section header span{display:none}.item-list{gap:0}.item-row{position:relative;min-height:82px;grid-template-columns:62px minmax(0,1fr) auto;gap:9px;padding:8px 0;border-width:0 0 1px;border-color:#f0f1f2;border-radius:0}.item-image-button{width:62px;height:62px}.item-picked-badge{right:-2px;bottom:-2px;width:27px;height:27px;border-radius:8px 0 7px}.text-icon-button{display:none}.item-info strong{font-size:15px;font-weight:850;line-height:1.24}.item-row small{margin-top:2px;color:#4d5156;font-size:12px;line-height:1.22}.item-row-amount{min-width:58px;align-self:center;gap:5px}.item-row-amount em,.item-row-amount strong{color:#232529;font-size:15px;line-height:1.2}.shortage-note{width:fit-content;max-width:100%;padding:2px 0;color:#b83a31!important;font-size:12px!important;font-weight:950;line-height:1.15!important}.shortage-summary-section{display:none}.total-section-main{display:grid;padding-top:18px;padding-bottom:18px}.total-section-main span,.total-section-main strong{font-size:var(--type-body)}.total-section-main span:last-of-type,.total-section-main strong:last-of-type{margin-top:10px;color:#17221c;font-size:22px;font-weight:950}.total-section-main strong:last-of-type{color:var(--panda-primary)}.note-section header{margin-bottom:12px}.note-section p{font-size:var(--type-body)}.customer-section{gap:10px}.customer-line{align-items:flex-start;flex-direction:column;gap:8px}.customer-line strong,.customer-line span,.customer-section p{font-size:var(--type-body)}.detail-grid .total-section{display:none}.receipt-section,.timeline-section,.merchant-chat-section{background:#fafafa}.mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:10;height:calc(var(--mobile-nav) + var(--mobile-safe-bottom));padding-bottom:var(--mobile-safe-bottom);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border-top:1px solid #e3e5e8}.mobile-bottom-nav button{display:grid;place-items:center;align-content:center;gap:3px;color:#6f747a;background:#fff;font-size:12px;font-weight:800}.mobile-bottom-nav button.active{color:var(--panda-primary)}.mobile-bottom-nav button.active svg{color:var(--panda-primary)}.mobile-nav-icon-wrap{position:relative;display:inline-grid;place-items:center}.mobile-nav-badge{position:absolute;top:-8px;left:12px;min-width:17px;height:17px;border:1px solid #ffffff;font-size:10px}.merchant-delivery-flow{display:grid;grid-auto-flow:row;grid-auto-columns:unset;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;overflow:visible;padding:7px 6px;background:#f1f8f3;border-radius:8px}.order-row>.merchant-delivery-flow.compact{grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;margin:0 8px 9px 13px;padding:6px 5px}.merchant-delivery-step{min-height:58px;gap:3px;padding:4px 2px;background:transparent;border:0;border-radius:6px}.merchant-delivery-step i,.delivery-proof-thumb{width:14px;height:14px;border-width:2px}.merchant-delivery-step i:before{width:6px;height:6px}.merchant-delivery-step.has-proof .delivery-proof-thumb{width:24px;height:24px;border-width:1px}.merchant-delivery-step.current{background:transparent;border-color:transparent;box-shadow:none}.merchant-delivery-step strong{font-size:10px;line-height:1.12;white-space:normal}.merchant-delivery-step small{display:none}.merchant-delivery-flow.compact .merchant-delivery-step{min-height:52px;padding:4px 1px}.merchant-delivery-flow.compact .merchant-delivery-step strong{font-size:10px;line-height:1.12;white-space:normal}}@media(max-width:600px){.topbar-actions .icon-button:first-of-type,.topbar-actions .icon-button:last-of-type{display:none}}@media(max-width:440px){.merchant-shell{--mobile-rail: 78px;--mobile-header: calc(70px + var(--mobile-safe-top));--mobile-nav: 66px;grid-template-columns:var(--mobile-rail) minmax(0,1fr)}.status-strip{width:var(--mobile-rail)}.status-strip span{max-width:100%;padding:0 4px;font-size:12px;line-height:1.12;text-align:center;white-space:nowrap;word-break:keep-all;overflow-wrap:normal}.workbench-stats{gap:6px;padding-inline:8px}.workbench-stat{grid-template-columns:1fr;justify-items:center;gap:5px;text-align:center}.workbench-stat div{justify-items:center}.workbench-stat>span{display:none}.mobile-bottom-nav{left:0}.merchant-board.detail-open .detail-panel{left:var(--mobile-frame-gap)}.primary-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:10px}.primary-actions button{min-height:var(--tap-primary);gap:4px;padding:0 6px;font-size:15px;white-space:nowrap}.primary-actions button svg{display:none}.item-row{min-height:78px;grid-template-columns:58px minmax(0,1fr);gap:8px;padding:7px 0}.item-image-button{width:58px;height:58px}.item-row-amount{grid-column:2;justify-items:start;grid-template-columns:auto auto;min-width:0;gap:10px}}@media(max-width:380px){.merchant-shell{--mobile-rail: 74px;--mobile-header: calc(68px + var(--mobile-safe-top));--mobile-nav: 64px;grid-template-columns:var(--mobile-rail) minmax(0,1fr)}.topbar{grid-template-columns:42px minmax(0,1fr) auto;gap:8px;padding:10px 12px}.topbar:before{width:30px;background:linear-gradient(#fff 0 0) 0 0 / 30px 3px no-repeat,linear-gradient(#fff 0 0) 0 10px / 30px 3px no-repeat,linear-gradient(#fff 0 0) 0 20px / 30px 3px no-repeat}.topbar-actions .icon-button:first-of-type,.topbar-actions .icon-button:last-of-type{display:none}.brand-block{justify-content:start;text-align:left}.brand-version{align-self:flex-start}.status-strip{width:var(--mobile-rail)}.status-strip button{min-height:58px}.status-strip span{font-size:11px}.workbench-stat strong{font-size:21px}.merchant-board.detail-open .detail-panel,.mobile-bottom-nav{left:0}.merchant-board.detail-open .detail-panel,.merchant-board.detail-open+.mobile-bottom-nav{left:var(--mobile-frame-gap)}.merchant-board.detail-open+.mobile-bottom-nav{left:0}.order-list{padding:0 8px 18px}.order-row{min-height:96px;grid-template-columns:minmax(0,1fr)}.order-row.has-ready-action{grid-template-columns:minmax(0,1fr) 84px}.order-row-open{min-height:94px;padding:8px}.order-row-code{font-size:var(--type-item)}.order-ready-button{min-height:68px;margin:8px 8px 8px 0;padding:0 8px;font-size:var(--type-helper)}}@media(max-width:340px){.brand-block h1{font-size:var(--type-item)}.status-strip{width:var(--mobile-rail)}.merchant-shell{--mobile-rail: 72px;grid-template-columns:var(--mobile-rail) minmax(0,1fr)}.merchant-board.detail-open .detail-panel,.mobile-bottom-nav{left:0}.merchant-board.detail-open .detail-panel,.merchant-board.detail-open+.mobile-bottom-nav{left:var(--mobile-frame-gap)}.merchant-board.detail-open+.mobile-bottom-nav{left:0}.order-row{grid-template-columns:minmax(0,1fr)}.order-row.has-ready-action{grid-template-columns:minmax(0,1fr) 78px}.order-ready-button{font-size:var(--type-meta)}}
