.driver-portal-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:min(100%,1120px);margin:0 auto 16px;display:grid}.driver-portal-tabs a{color:#44403c;background:#fff;border:1px solid #d6d3d1;border-radius:13px;justify-content:center;align-items:center;gap:8px;min-height:50px;padding:10px;font-weight:800;text-decoration:none;display:flex}.driver-portal-tabs a.active{color:#fff;background:#171717;border-color:#171717}.driver-portal-tabs span{background:#78716c22;border-radius:20px;padding:2px 8px;font-size:12px}.driver-portal-tabs a.active span{background:#ffffff28}.driver-portal-summary.driver-portal-account-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.driver-portal-summary .driver-portal-total{background:#f0fdf4;border-color:#86efac}.driver-portal-total strong,.driver-portal-total small{color:#166534}.driver-portal-total small{font-size:12px;font-weight:800}.driver-portal-account-note{color:#57534e;width:min(100%,1120px);margin:0 auto 16px;font-size:13px;line-height:1.8}.driver-portal-alert small{margin-top:6px;display:block}.driver-portal-contact>.driver-portal-contact-actions{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.driver-portal-contact .driver-portal-contact-actions a{color:#fff;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;min-height:46px;padding:10px 6px;font-size:15px;font-weight:800;text-decoration:none;display:flex}.driver-portal-contact-actions .driver-portal-call{background:#171717}.driver-portal-contact-actions .driver-portal-whatsapp{background:#15803d}.driver-portal .driver-portal-orders{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:10px}.driver-portal .driver-portal-order{border-radius:16px;flex-direction:column;min-width:0;display:flex}.driver-portal .driver-portal-order-heading{flex-wrap:wrap;gap:6px;padding:12px}.driver-portal .driver-portal-order-heading>div{overflow-wrap:anywhere;min-width:0}.driver-portal .driver-portal-order-heading>div strong{font-size:26px}.driver-portal .driver-portal-state{padding:5px 7px}.driver-portal .driver-portal-locked-content{flex:1;align-content:space-between;gap:10px;padding:12px}.driver-portal .driver-portal-locked-content p{font-size:13px;line-height:1.6}.driver-portal .driver-portal-locked-content button{min-height:46px;font-size:15px}.driver-portal .driver-portal-contact{grid-template-columns:minmax(0,1fr);gap:8px;padding:12px}.driver-portal .driver-portal-contact>div{min-width:0}.driver-portal .driver-portal-contact a{overflow-wrap:anywhere;font-size:15px}.driver-portal .driver-portal-contact>button{min-height:44px;padding-inline:8px;font-size:12px}.driver-portal .driver-portal-contact-actions a{text-align:center;min-height:46px;padding:8px 3px;font-size:13px}.driver-portal .driver-portal-address strong,.driver-portal .driver-portal-amount strong{overflow-wrap:anywhere;font-size:15px}@media (width>=760px){.driver-portal .driver-portal-orders{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width>=1060px){.driver-portal .driver-portal-orders{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=359px){main.driver-portal{padding-inline:10px}.driver-portal .driver-portal-order-heading,.driver-portal .driver-portal-locked-content,.driver-portal .driver-portal-contact{padding:10px}}.driver-portal-confirm{color:#171717;background:#fff;border:1px solid #e7e5e4;border-radius:20px;width:min(430px,100% - 28px);max-height:calc(100dvh - 32px);padding:24px;box-shadow:0 24px 80px #0004}.driver-portal-confirm::backdrop{background:#0008}.driver-portal-confirm h2{margin:0 0 16px;font-size:23px}.driver-portal-confirm-order{color:#9a3412;font-size:23px;display:block}.driver-portal-confirm p{margin:16px 0 22px;line-height:1.9}.driver-portal-confirm-actions{grid-template-columns:1fr 1.5fr;gap:10px;display:grid}.driver-portal-confirm-actions button{border-radius:12px;min-height:48px;font-weight:800}@media (width<=620px){.driver-portal-summary.driver-portal-account-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.driver-portal-tabs a{font-size:14px}.driver-portal-confirm{padding:20px}}:root{color:#171717;font-synthesis:none;text-rendering:optimizelegibility;background:#f4f4f2;font-family:Inter,Segoe UI,Tahoma,Arial,sans-serif}*{box-sizing:border-box}html{direction:rtl;min-width:320px;min-height:100%}body{background:radial-gradient(circle at top,#fff 0,#f4f4f2 45%,#ecece8 100%);min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.65}.login-shell,.center-screen{place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{background:#fffffff0;border:1px solid #00000014;border-radius:28px;width:min(100%,430px);padding:32px;box-shadow:0 24px 70px #0000001a}.brand-mark{color:#fff;background:#151515;border-radius:18px;place-items:center;width:58px;height:58px;margin-bottom:28px;font-size:26px;font-weight:900;display:grid}.login-heading{margin-bottom:26px}.eyebrow{color:#777;letter-spacing:1.3px;margin-bottom:8px;font-size:12px;font-weight:800;display:block}h1,h2,p{margin-top:0}.login-heading h1{margin-bottom:8px;font-size:32px}.login-heading p{color:#666;margin-bottom:0;line-height:1.7}form{gap:18px;display:grid}label{gap:8px;font-weight:700;display:grid}input{background:#fafaf8;border:1px solid #d8d8d4;border-radius:14px;outline:none;width:100%;min-height:50px;padding:0 14px;transition:border-color .16s,box-shadow .16s}input:focus{border-color:#171717;box-shadow:0 0 0 3px #00000014}.primary-button,.secondary-button{border:0;border-radius:14px;min-height:48px;font-weight:800}.primary-button{color:#fff;background:#171717}.secondary-button{color:#171717;background:#fff;border:1px solid #d8d8d4;padding:0 18px}.form-error,.error-card{color:#a11212;background:#fff0f0;border:1px solid #ffcaca}.form-error{border-radius:12px;padding:12px 14px;font-size:14px;font-weight:700}.status-card{text-align:center;background:#fff;border-radius:20px;width:min(100%,420px);padding:24px;font-weight:800;box-shadow:0 18px 55px #00000017}.dashboard-shell{width:min(1180px,100% - 32px);margin:0 auto;padding:28px 0 60px}.topbar{justify-content:space-between;align-items:center;gap:18px;margin-bottom:28px;display:flex}.topbar h1{margin-bottom:0}.welcome-card{color:#fff;background:#171717;border-radius:24px;padding:28px;box-shadow:0 24px 65px #00000024}.welcome-card>span{color:#a7a7a7}.welcome-card h2{margin:8px 0 18px;font-size:34px}.profile-meta{flex-wrap:wrap;gap:10px;display:flex}.profile-meta strong,.profile-meta span{background:#2b2b2b;border-radius:999px;padding:8px 12px}.placeholder-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-top:18px;display:grid}.placeholder-grid article{background:#fff;border:1px solid #deded9;border-radius:20px;align-content:center;gap:8px;min-height:120px;padding:22px;display:grid}.placeholder-grid span{color:#777;font-size:13px;font-weight:700}.placeholder-grid strong{overflow-wrap:anywhere}@media (width<=620px){.login-card{border-radius:22px;padding:24px}.topbar{flex-direction:column;align-items:stretch}.secondary-button{width:100%}}.staff-shell{width:min(1240px,100% - 32px);margin:0 auto;padding:28px 0 70px}.staff-header{justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px;display:flex}.staff-header h1{margin-bottom:6px}.staff-header p{color:#6b6b6b;margin-bottom:0}.secondary-link{color:#171717;background:#fff;border:1px solid #d8d8d4;border-radius:14px;place-items:center;min-height:46px;padding:0 18px;font-weight:800;text-decoration:none;display:inline-grid}.alert{border-radius:14px;margin-bottom:18px;padding:14px 16px;font-weight:700}.alert-error{color:#a11212;background:#fff0f0;border:1px solid #ffcaca}.alert-success{color:#17602a;background:#edfff2;border:1px solid #bde8c8}.staff-create-card{background:#fff;border:1px solid #deded9;border-radius:24px;margin-bottom:28px;padding:24px}.section-heading{margin-bottom:20px}.section-heading span{color:#777;font-size:13px;font-weight:800}.section-heading h2{margin:5px 0 0}.staff-create-form{grid-template-columns:repeat(4,minmax(160px,1fr));align-items:end;gap:14px;display:grid}.staff-create-form .primary-button{min-height:50px}.driver-management-card{background:#fffaf5;border-color:#fed7aa}.driver-create-form{grid-template-columns:minmax(220px,1fr) auto;align-items:end;gap:12px;margin-bottom:18px;display:grid}.driver-create-form .primary-button{min-height:50px;padding-inline:24px}.driver-management-list{gap:10px;display:grid}.driver-management-row{background:#fff;border:1px solid #e7e5e4;border-radius:14px;justify-content:space-between;align-items:center;gap:14px;padding:14px;display:flex}.driver-management-row>div{gap:3px;display:grid}.driver-management-row span{color:#78716c;font-size:12px;font-weight:800}.driver-management-row strong{font-size:19px}.driver-management-row .danger-button{min-width:130px;padding-inline:16px}.driver-empty-state{text-align:center;margin-top:4px}select{width:100%;min-height:50px;font:inherit;background:#fafaf8;border:1px solid #d8d8d4;border-radius:14px;outline:none;padding:0 12px}select:focus{border-color:#171717;box-shadow:0 0 0 3px #00000014}.staff-list-section{margin-top:20px}.staff-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px;display:grid}.staff-card{background:#fff;border:1px solid #deded9;border-radius:22px;padding:22px}.staff-card-top{justify-content:space-between;gap:16px;margin-bottom:20px;display:flex}.staff-card h3{margin:6px 0;font-size:24px}.staff-card p{color:#666;overflow-wrap:anywhere;margin-bottom:0}.staff-role{color:#777;font-size:12px;font-weight:800}.status-badge{border-radius:999px;align-self:flex-start;padding:7px 10px;font-size:12px;font-weight:800}.status-badge.active{color:#17602a;background:#e8f8ec}.status-badge.inactive{color:#a11212;background:#fff0f0}.staff-controls{gap:14px;display:grid}.danger-button,.success-button{border:0;border-radius:12px;min-height:44px;font-weight:800}.danger-button{color:#a11212;background:#fff0f0;border:1px solid #ffcaca}.success-button{color:#17602a;background:#edfff2;border:1px solid #bde8c8}.password-row{grid-template-columns:1fr auto;gap:8px;display:grid}.password-row .secondary-button{white-space:nowrap}.protected-account{color:#777;background:#f2f2ef;border-radius:12px;padding:12px;font-weight:700}.dashboard-action-card{color:#fff;background:#171717;border-radius:20px;align-content:center;gap:8px;min-height:120px;padding:22px;text-decoration:none;display:grid}.dashboard-action-card span{color:#a7a7a7;font-size:13px;font-weight:700}.dashboard-action-card strong{font-size:18px}.dashboard-action-card small{color:#bdbdbd}@media (width<=850px){.staff-create-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=620px){.staff-header{flex-direction:column;align-items:stretch}.staff-create-form,.driver-create-form{grid-template-columns:1fr}.driver-management-row{flex-direction:column;align-items:stretch}.driver-management-row .danger-button{width:100%}.staff-grid,.password-row{grid-template-columns:1fr}}.period-start-card{background:#fff;border:1px solid #deded9;border-radius:26px;gap:18px;width:min(100%,460px);padding:30px;display:grid;box-shadow:0 24px 70px #0000001a}.period-start-card h1{margin-bottom:0;font-size:32px}.period-start-card p{color:#666;margin-bottom:0;line-height:1.8}.period-device-info{background:#f4f4f2;border-radius:14px;gap:6px;padding:15px;display:grid}.period-device-info span{color:#777;font-size:12px;font-weight:800}.period-device-info strong{font-size:18px}.pos-page{color:#111827;box-sizing:border-box;background:#f3f4f6;min-height:100vh;padding:18px}.pos-page *,.pos-page :before,.pos-page :after{box-sizing:border-box}.pos-toolbar{background:#fff;border:1px solid #e5e7eb;border-radius:16px;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:14px;padding:16px 18px;display:flex;box-shadow:0 2px 10px #0000000a}.pos-toolbar h1{margin:0;font-size:30px;line-height:1.2}.pos-toolbar p{color:#6b7280;margin:6px 0 0;font-size:14px}.pos-toolbar label{gap:6px;min-width:220px;font-size:13px;font-weight:700;display:grid}.pos-toolbar select{color:#111827;width:100%;min-height:44px;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:10px;padding:0 12px;font-weight:700}.pos-order-kinds{grid-template-columns:repeat(3,minmax(120px,1fr));gap:8px;margin-bottom:14px;display:grid}.pos-order-kinds button{color:#111827;min-height:50px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:12px;font-size:17px;font-weight:800;transition:transform .12s,background .12s,border-color .12s}.pos-order-kinds button:hover{border-color:#111827}.pos-order-kinds button:active{transform:scale(.98)}.pos-order-kinds button.active{color:#fff;background:#111827;border-color:#111827}.pos-layout{grid-template-columns:minmax(0,1fr) 370px;align-items:start;gap:14px;display:grid}.pos-catalog{min-width:0}.pos-categories{scrollbar-width:thin;gap:8px;padding:4px 2px 12px;display:flex;overflow-x:auto}.pos-categories button{color:#1f2937;min-height:46px;font:inherit;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #d1d5db;border-radius:12px;flex:none;padding:0 18px;font-weight:800}.pos-categories button.active{color:#fff;background:#f97316;border-color:#f97316}.pos-products{grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:10px;display:grid}.pos-product-card{color:#111827;min-height:112px;font:inherit;cursor:pointer;text-align:right;background:#fff;border:1px solid #e5e7eb;border-radius:14px;flex-direction:column;justify-content:space-between;align-items:stretch;gap:14px;padding:14px;transition:transform .1s,border-color .1s,box-shadow .1s;display:flex;box-shadow:0 2px 8px #00000009}.pos-product-card:hover{border-color:#f97316;box-shadow:0 4px 14px #00000012}.pos-product-card:active{transform:scale(.975)}.pos-product-card strong{font-size:17px;line-height:1.4}.pos-product-card span{color:#c2410c;background:#fff7ed;border-radius:8px;align-self:flex-start;padding:5px 9px;font-size:17px;font-weight:900}.pos-cart{background:#fff;border:1px solid #e5e7eb;border-radius:16px;flex-direction:column;height:calc(100vh - 24px);min-height:480px;max-height:calc(100vh - 24px);padding-bottom:92px;display:flex;position:sticky;top:12px;overflow:hidden;box-shadow:0 4px 18px #0000000f}.pos-cart-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:12px;padding:15px;display:flex}.pos-cart-header h2{margin:0;font-size:21px}.pos-cart-header button{color:#b91c1c;min-height:36px;font:inherit;cursor:pointer;background:#fff;border:1px solid #fecaca;border-radius:9px;padding:0 12px;font-weight:800}.pos-cart-header button:disabled{opacity:.4;cursor:not-allowed}.pos-cart-lines{overscroll-behavior:contain;scrollbar-width:thin;flex:auto;min-height:0;padding:8px 12px;overflow-y:auto}.pos-cart-lines>p{text-align:center;color:#9ca3af;margin:30px 0}.pos-cart-line{border-bottom:1px solid #f0f1f3;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px;padding:12px 2px;display:grid}.pos-cart-line>div:first-child{min-width:0}.pos-cart-line>div:first-child strong{margin-bottom:4px;font-size:15px;display:block}.pos-cart-line>div:first-child div{color:#6b7280;font-size:13px}.pos-cart-line>strong{grid-column:1/-1;justify-self:end;font-size:17px}.pos-qty{text-align:center;direction:ltr;grid-template-columns:38px 38px 38px;align-items:center;display:grid}.pos-qty button{color:#111827;width:38px;height:38px;font:inherit;cursor:pointer;background:#f9fafb;border:1px solid #d1d5db;padding:0;font-size:22px;font-weight:800}.pos-qty button:first-child{border-radius:8px 0 0 8px}.pos-qty button:last-child{border-radius:0 8px 8px 0}.pos-qty span{background:#fff;border-top:1px solid #d1d5db;border-bottom:1px solid #d1d5db;place-items:center;height:38px;font-weight:900;display:grid}.pos-cart-total{background:#fafafa;border-top:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:12px;padding:15px;font-size:18px;font-weight:800;display:flex}.pos-cart-total strong{color:#111827;font-size:25px}.pos-submit{color:#fff;min-height:58px;font:inherit;cursor:pointer;background:#f97316;border:0;border-radius:12px;margin:0 12px 12px;font-size:19px;font-weight:900;box-shadow:0 4px 12px #f9731640}.pos-submit:hover:not(:disabled){background:#ea580c}.pos-submit:active:not(:disabled){transform:scale(.99)}.pos-submit:disabled{color:#6b7280;box-shadow:none;cursor:not-allowed;background:#d1d5db}@media (width<=1000px){.pos-layout{grid-template-columns:minmax(0,1fr) 320px}.pos-products{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}}@media (width<=760px){.pos-page{padding:10px}.pos-toolbar{flex-direction:column;align-items:stretch}.pos-toolbar label{min-width:0}.pos-order-kinds{grid-template-columns:repeat(3,1fr)}.pos-order-kinds button{min-width:0;padding:0 8px;font-size:15px}.pos-layout{grid-template-columns:1fr}.pos-cart{min-height:0;max-height:none;position:static}.pos-products{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=420px){.pos-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.pos-product-card{min-height:100px;padding:11px}.pos-product-card strong{font-size:15px}.pos-toolbar h1{font-size:26px}}.pos-page{padding-bottom:115px}.pos-submit-actions{z-index:1100;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border:1px solid #e5e7eb;border-radius:16px;grid-template-columns:.85fr 1.35fr;gap:8px;width:min(370px,100vw - 32px);padding:8px;display:grid;position:fixed;bottom:22px;right:24px;box-shadow:0 14px 34px #0000002e}.pos-submit-actions .pos-submit{width:100%;min-height:58px;box-shadow:none;margin:0;position:static}.pos-save-only{color:#111827!important;background:#fff!important;border:2px solid #f97316!important}.pos-save-only:hover:not(:disabled){background:#fff7ed!important}.pos-save-print{color:#fff;background:#f97316}.pos-submit-actions .pos-submit:disabled{color:#9ca3af!important;background:#e5e7eb!important;border-color:#d1d5db!important}@media (width<=760px){.pos-submit-actions{width:auto;bottom:12px;left:12px;right:12px}.pos-page{padding-bottom:110px}}.pos-save-success,.pos-save-error{text-align:center;border-radius:10px;margin:10px 12px 90px;padding:10px 12px;font-weight:800}.pos-save-success{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0}.pos-save-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.pos-print-notice{color:#9a3412;text-align:center;background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;margin:10px 12px 90px;padding:10px 12px;font-weight:800}.pos-delivery-panel{background:#fff;border:1px solid #e5e7eb;border-radius:14px;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px;margin-bottom:14px;padding:14px;display:grid}.pos-delivery-field{gap:6px;display:grid}.pos-delivery-field label{color:#374151;font-size:13px;font-weight:800}.pos-delivery-field input,.pos-delivery-field select{color:#111827;width:100%;min-height:44px;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:9px;padding:0 10px}.pos-delivery-address{grid-column:span 2}.pos-cart-breakdown{background:#fff;border-top:1px solid #e5e7eb;gap:6px;padding:12px 15px;display:grid}.pos-cart-breakdown>div{justify-content:space-between;gap:12px;font-size:14px;display:flex}.pos-cart-breakdown span{color:#6b7280}.pos-cart-tools{background:#fff;border-bottom:1px solid #e5e7eb;flex:none;grid-template-columns:1fr 1fr;gap:8px;padding:10px 12px;display:grid}.pos-cart-tools .pos-cart-adjustment-menu{min-width:0}.pos-cart-tools .pos-cart-adjustment-menu>summary{border-radius:10px;justify-content:center;align-items:center;gap:7px;width:100%;height:40px;font-size:14px;display:flex}.pos-cart-tools .pos-cart-adjustment-menu>summary span{color:#fff;font-size:22px;font-weight:900;line-height:1}.pos-cart-tools .pos-cart-adjustment-menu>summary b{color:#fff;font-size:14px;font-weight:900}.pos-cart-tools .pos-cart-adjustment-popover{width:100%;min-width:145px}.pos-cart-footer{background:#fff;border-top:1px solid #e5e7eb;flex:none}.pos-cart-breakdown-bottom{background:#fff;border-top:0;gap:4px;padding:9px 14px}.pos-cart-breakdown-bottom>div{align-items:center;min-height:24px}.pos-cart-breakdown-bottom strong{color:#111827;font-size:14px;font-weight:900}.pos-cart-total-bottom{background:#f9fafb;border-top:1px solid #e5e7eb;padding:11px 14px}.pos-cart-total-bottom strong{font-size:22px}.pos-cart-adjustment-row{justify-content:space-between;align-items:center;gap:10px;min-height:32px;font-size:14px;display:flex;position:relative}.pos-cart-adjustment-control{align-items:center;gap:8px;display:flex}.pos-cart-adjustment-control>strong{text-align:end;min-width:42px}.pos-cart-adjustment-menu{position:relative}.pos-cart-adjustment-menu>summary{color:#fff;cursor:pointer;-webkit-user-select:none;user-select:none;border:0;border-radius:8px;place-items:center;width:28px;height:28px;padding:0;font-size:22px;font-weight:800;line-height:1;list-style:none;display:grid}.pos-cart-adjustment-menu>summary::-webkit-details-marker{display:none}.pos-cart-service-menu>summary{background:#16a34a}.pos-cart-discount-menu>summary{background:#dc2626}.pos-cart-adjustment-popover{z-index:20;background:#fff;border:1px solid #e5e7eb;border-radius:10px;gap:6px;width:150px;padding:10px;display:grid;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 10px 24px #0f172a29}.pos-cart-adjustment-popover span{color:#374151;font-size:12px;font-weight:700}.pos-cart-adjustment-popover input{color:#111827;width:100%;min-width:0;height:36px;font:inherit;text-align:center;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:6px 8px;font-weight:700}@media (width<=1000px){.pos-delivery-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-delivery-address{grid-column:span 2}}@media (width<=560px){.pos-delivery-panel{grid-template-columns:1fr}.pos-delivery-address{grid-column:auto}}.pos-customer-search-field{position:relative}.pos-customer-suggestions{z-index:1500;background:#fff;border:1px solid #d1d5db;border-radius:10px;gap:4px;padding:6px;display:grid;position:absolute;top:calc(100% + 4px);left:0;right:0;box-shadow:0 12px 28px #00000024}.pos-customer-suggestions button{color:#111827;min-height:46px;font:inherit;text-align:right;cursor:pointer;background:#f9fafb;border:0;border-radius:7px;justify-content:space-between;align-items:center;gap:10px;padding:7px 10px;display:flex}.pos-customer-suggestions button:hover{background:#fff7ed}.pos-customer-suggestions span{color:#6b7280;direction:ltr;font-weight:700}.pos-customer-suggestions .pos-customer-address-suggestion{text-align:right;direction:rtl}.pos-customer-suggestions .pos-customer-more{color:#fff;background:#111827;justify-content:center;font-weight:800}.pos-phone-hint,.pos-phone-invalid,.pos-phone-valid{margin-top:2px;font-size:12px;font-weight:800}.pos-phone-hint{color:#6b7280}.pos-phone-invalid{color:#b91c1c}.pos-phone-valid{color:#047857}.pos-customer-selected{background:#eff6ff;border:1px solid #bfdbfe;border-radius:9px;grid-column:1/-1;justify-content:space-between;align-items:center;gap:10px;padding:9px 10px;display:flex}.pos-customer-selected span{color:#1d4ed8;font-weight:800}.pos-customer-selected button{color:#1d4ed8;min-height:38px;font:inherit;cursor:pointer;background:#fff;border:1px solid #2563eb;border-radius:8px;padding:0 12px;font-weight:800}.pos-customer-notice{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:9px;grid-column:1/-1;padding:9px 10px;font-weight:800}.pos-customer-details{background:#fff;border:1px solid #d1d5db;border-radius:14px;margin-bottom:14px;padding:14px}.pos-customer-details-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.pos-customer-details-header h3,.pos-customer-details-header p{margin:0}.pos-customer-details-header p{color:#6b7280;margin-top:4px;font-size:13px}.pos-customer-details-header>button{color:#111827;min-height:38px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:0 12px;font-weight:800}.pos-customer-details-list{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px;display:grid}.pos-customer-details-list>button{color:#111827;min-height:90px;font:inherit;text-align:right;cursor:pointer;background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;gap:5px;padding:11px;display:grid}.pos-customer-details-list>button:hover{background:#fff7ed;border-color:#f97316}.pos-customer-details-list span{direction:ltr;justify-self:end;font-weight:800}.pos-customer-details-list small{color:#6b7280}.delivery-orders-page{color:#111827;box-sizing:border-box;background:#f3f4f6;min-height:100vh;padding:18px}.delivery-orders-page *,.delivery-orders-page :before,.delivery-orders-page :after{box-sizing:border-box}.delivery-orders-header{background:#fff;border:1px solid #e5e7eb;border-radius:16px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;padding:16px 18px;display:flex;box-shadow:0 2px 10px #0000000a}.delivery-orders-header h1{margin:0;font-size:28px;line-height:1.2}.delivery-orders-header p{color:#6b7280;margin:5px 0 0;font-size:13px;font-weight:700}.delivery-orders-header-actions{align-items:center;gap:8px;display:flex}.delivery-orders-header-actions a,.delivery-orders-header-actions button{color:#111827;min-height:44px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:10px;justify-content:center;align-items:center;padding:0 18px;font-weight:800;text-decoration:none;display:inline-flex}.delivery-orders-header-actions a:hover,.delivery-orders-header-actions button:hover:not(:disabled){color:#c2410c;border-color:#f97316}.delivery-orders-header-actions button:disabled{opacity:.5;cursor:not-allowed}.delivery-orders-error,.delivery-orders-notice{text-align:center;border-radius:10px;margin-bottom:14px;padding:12px 14px;font-weight:800}.delivery-orders-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.delivery-orders-notice{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0}.delivery-orders-empty{color:#6b7280;text-align:center;background:#fff;border:1px dashed #d1d5db;border-radius:14px;padding:40px 20px;font-weight:800}.delivery-orders-list{grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:12px;display:grid}.delivery-order-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;box-shadow:0 3px 12px #0000000d}.delivery-order-top{border-bottom:1px solid #f0f1f3;justify-content:space-between;align-items:flex-start;gap:12px;padding:14px;display:flex}.delivery-order-top>div:first-child{gap:5px;display:grid}.delivery-order-top>div:first-child strong{font-size:20px}.delivery-order-top>div:first-child span{color:#c2410c;font-size:20px;font-weight:900}.delivery-order-badges{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.delivery-order-badges span{border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900}.delivery-order-badges .assigned{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0}.delivery-order-badges .unassigned{color:#c2410c;background:#fff7ed;border:1px solid #fed7aa}.delivery-order-badges .posted{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe}.delivery-order-badges .unposted{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.delivery-order-customer{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px;display:grid}.delivery-order-customer>div{background:#fafafa;border:1px solid #f0f1f3;border-radius:9px;min-width:0;padding:9px 10px}.delivery-order-customer span{color:#6b7280;margin-bottom:4px;font-size:11px;font-weight:700;display:block}.delivery-order-customer strong{overflow-wrap:anywhere;font-size:14px;display:block}.delivery-order-driver{gap:7px;padding:0 14px 14px;display:grid}.delivery-order-driver label{font-size:13px;font-weight:900}.delivery-order-driver select{color:#111827;width:100%;min-height:46px;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:9px;padding:0 10px;font-weight:700}.delivery-order-driver small{color:#6b7280;font-weight:700}.delivery-order-actions{background:#fafafa;border-top:1px solid #f0f1f3;grid-template-columns:1fr 1fr;gap:8px;padding:12px 14px 14px;display:grid}.delivery-order-actions button{min-height:50px;font:inherit;cursor:pointer;border:0;border-radius:10px;padding:0 12px;font-size:15px;font-weight:900;transition:transform .1s,opacity .1s}.delivery-order-actions button:first-child{color:#fff;background:#111827}.delivery-order-actions button:last-child{color:#fff;background:#f97316}.delivery-order-actions button:active:not(:disabled){transform:scale(.98)}.delivery-order-actions button:disabled{color:#9ca3af;cursor:not-allowed;background:#e5e7eb}@media (width<=760px){.delivery-orders-page{padding:10px}.delivery-orders-header{flex-direction:column;align-items:stretch}.delivery-orders-header-actions{grid-template-columns:1fr 1fr;display:grid}.delivery-orders-list{grid-template-columns:1fr}.delivery-order-customer{grid-template-columns:1fr 1fr}}@media (width<=420px){.delivery-order-customer,.delivery-order-actions{grid-template-columns:1fr}}.delivery-orders-page{padding-bottom:84px}.delivery-distribution-toolbar{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:8px;padding:9px}.delivery-driver-control{min-width:0}.delivery-driver-control label{color:#6b7280;margin-bottom:4px;font-size:10px;font-weight:800;display:block}.delivery-driver-control select{color:#111827;width:100%;min-height:40px;font:inherit;background:#fff;border:2px solid #f97316;border-radius:9px;padding:0 10px;font-size:13px;font-weight:900}.delivery-driver-control select:disabled{opacity:.55;cursor:not-allowed}.delivery-driver-inline{color:#6b7280;align-items:center;gap:6px;min-width:0;margin-top:6px;font-size:10px;display:flex}.delivery-driver-inline strong{color:#111827;white-space:nowrap;text-overflow:ellipsis;max-width:55%;font-size:11px;font-weight:900;overflow:hidden}.delivery-driver-inline a{color:#d95500;font-size:10px;font-weight:900;text-decoration:none}.delivery-driver-inline a:hover{text-decoration:underline}.delivery-operations-bar{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:stretch;gap:6px;margin-bottom:8px;display:grid}.delivery-operation-stat{background:#fff;border:1px solid #e5e7eb;border-radius:8px;justify-content:center;align-items:center;gap:5px;min-width:0;min-height:34px;padding:4px 7px;display:flex}.delivery-operation-stat span{color:#6b7280;font-size:9px;font-weight:800}.delivery-operation-stat strong{color:#111827;font-size:15px;font-weight:950;line-height:1}.delivery-operations-bar button{color:#333;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #d7d7d3;border-radius:8px;min-height:34px;padding:0 11px;font-size:10px;font-weight:900}.delivery-operations-bar button:hover{color:#c2410c;border-color:#f97316}.delivery-operations-bar button:disabled{opacity:.45;cursor:not-allowed}.delivery-orders-list{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));align-items:stretch;gap:8px;display:grid}.delivery-order-card{cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:10px;min-width:0;padding:8px 9px;transition:border-color .14s,background-color .14s,box-shadow .14s;overflow:hidden;box-shadow:0 2px 7px #00000009}.delivery-order-card:hover{border-color:#f6a36b}.delivery-order-card.selected{background:#fff9f5;border-color:#ff6b00;box-shadow:0 0 0 2px #ff6b001a,0 3px 10px #0000000a}.delivery-order-card:focus-visible{outline-offset:2px;outline:2px solid #ff6b00}.delivery-order-select-row{justify-content:space-between;align-items:center;gap:6px;margin-bottom:6px;display:flex}.delivery-order-select-row strong{color:#111827;font-size:15px;font-weight:950;line-height:1}.delivery-order-select-row input[type=checkbox]{appearance:auto;-webkit-appearance:checkbox;box-sizing:border-box;accent-color:#ff6b00;cursor:pointer;flex:0 0 17px;width:17px;min-width:17px;max-width:17px;height:17px;min-height:17px;max-height:17px;margin:0;padding:0}.delivery-order-address{color:#374151;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:30px;margin-bottom:4px;font-size:11px;font-weight:800;line-height:1.35;display:-webkit-box;overflow:hidden}.delivery-order-phone{color:#6b7280;white-space:nowrap;text-overflow:ellipsis;font-size:10px;font-weight:700;overflow:hidden}.delivery-batch-action{z-index:500;left:50%;bottom:max(8px, env(safe-area-inset-bottom));width:min(760px,100% - 20px);position:fixed;transform:translate(-50%)}.delivery-batch-action button{color:#fff;cursor:pointer;background:#ff6b00;border:0;border-radius:13px;width:100%;min-height:50px;padding:0 15px;font-size:13px;font-weight:950;box-shadow:0 7px 24px #0000002b}.delivery-batch-action button:disabled{color:#fffffff5;box-shadow:none;cursor:not-allowed;background:#f3b181}@media (width<=700px){.delivery-orders-page{padding-left:10px;padding-right:10px;padding-bottom:calc(78px + env(safe-area-inset-bottom))}.delivery-orders-list{grid-template-columns:repeat(2,minmax(0,1fr))}.delivery-order-card{padding:7px 8px}.delivery-order-select-row strong{font-size:14px}.delivery-order-address{min-height:29px;font-size:10px}.delivery-order-phone{font-size:9px}.delivery-batch-action{width:calc(100% - 18px)}}@media (width<=420px){.delivery-orders-list{grid-template-columns:repeat(2,minmax(0,1fr))}.delivery-operation-stat{padding-inline:4px}.delivery-operation-stat span{font-size:8px}.delivery-operation-stat strong{font-size:14px}.delivery-operations-bar button{padding-inline:8px;font-size:9px}}.driver-delivery-page{color:#171717;background:#f6f6f4;min-height:100vh;padding:18px}.driver-delivery-header{background:#fff;border:1px solid #e6e6e2;border-radius:16px;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;padding:16px 18px;display:flex}.driver-delivery-header h1{margin:6px 0 3px;font-size:26px;line-height:1.2}.driver-delivery-header p{color:#666;margin:0;font-size:13px}.driver-delivery-nav{flex-wrap:wrap;gap:7px;display:flex}.driver-delivery-nav a{color:#c2410c;background:#fff7ed;border:1px solid #fed7aa;border-radius:9px;justify-content:center;align-items:center;min-height:36px;padding:0 12px;font-weight:800;text-decoration:none;display:inline-flex}.driver-delivery-nav a:hover{background:#ffedd5;border-color:#f97316}.driver-delivery-header button{cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:10px;min-height:40px;padding:0 16px;font-weight:800}@media (width<=620px){.driver-delivery-header{flex-direction:column;align-items:stretch}.driver-delivery-nav{grid-template-columns:1fr 1fr;display:grid}.driver-delivery-header>button{width:100%}}.driver-delivery-summary{grid-template-columns:repeat(3,minmax(110px,1fr)) minmax(190px,auto);align-items:stretch;gap:10px;margin-bottom:14px;display:grid}.driver-delivery-summary>div{background:#fff;border:1px solid #e4e4df;border-radius:14px;flex-direction:column;justify-content:center;min-height:82px;padding:12px 14px;display:flex}.driver-delivery-summary span{color:#777;font-size:12px;font-weight:700}.driver-delivery-summary strong{margin-top:4px;font-size:24px;line-height:1}.driver-post-all{color:#fff;cursor:pointer;background:#ff6b00;border:0;border-radius:14px;min-height:82px;padding:0 22px;font-size:15px;font-weight:900}.driver-post-all:disabled{opacity:.45;cursor:not-allowed}.driver-delivery-orders{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;display:grid}.driver-order-card{background:#fff;border:1px solid #e4e4df;border-radius:14px;overflow:hidden;box-shadow:0 2px 8px #00000009}.driver-order-card.unposted{border-top:3px solid #ff6b00}.driver-order-card.posted{opacity:.68;border-top:3px solid #22a06b}.driver-order-number{border-bottom:1px solid #eee;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;display:flex}.driver-order-number span{color:#c44e00;background:#fff2e9;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:900}.driver-order-card.posted .driver-order-number span{color:#178151;background:#eaf8f1}.driver-order-value{justify-content:space-between;align-items:center;padding:10px 12px;display:flex}.driver-order-value span{color:#777;font-size:12px}.driver-order-value strong{color:#d95500;font-size:20px}.driver-order-customer{gap:3px;padding:0 12px 10px;font-size:12px;display:grid}.driver-order-customer span,.driver-order-customer small{color:#666}.driver-order-card>button{color:#fff;cursor:pointer;background:#171717;border:0;border-radius:9px;width:calc(100% - 20px);min-height:38px;margin:0 10px 10px;font-weight:900}.driver-order-card>button:disabled{opacity:.45;cursor:not-allowed}.driver-delivery-error,.driver-delivery-notice,.driver-delivery-empty{border-radius:12px;margin-bottom:12px;padding:12px 14px;font-weight:700}.driver-delivery-error{color:#b42318;background:#fff2f2;border:1px solid #f0b8b8}.driver-delivery-notice{color:#087443;background:#edf9f3;border:1px solid #aee2ca}.driver-delivery-empty{text-align:center;background:#fff;border:1px dashed #ccc}@media (width<=760px){.driver-delivery-page{padding:10px}.driver-delivery-summary{grid-template-columns:repeat(2,1fr)}.driver-post-all{grid-column:1/-1;min-height:54px}}.driver-change-assignment select,.driver-change-assignment button{border-radius:8px;min-height:34px;font-size:12px;font-weight:800}.driver-change-assignment select{background:#fff;border:1px solid #ddd;min-width:0;padding:0 8px}.driver-change-assignment button{color:#d95500;cursor:pointer;background:#fff;border:1px solid #ff6b00;padding:0 10px}.driver-change-assignment button:disabled,.driver-change-assignment select:disabled{opacity:.45;cursor:not-allowed}.catalog-management-page{color:#171717;background:#f6f6f4;min-height:100vh;padding:18px}.catalog-management-header{background:#fff;border:1px solid #e5e5df;border-radius:16px;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;padding:16px 18px;display:flex}.catalog-management-header a{color:#d85a00;font-weight:900;text-decoration:none}.catalog-management-header h1{margin:6px 0 4px}.catalog-management-header p{color:#6b6b66;margin:0}.catalog-management-header>button,.catalog-editor-title button{cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:9px;min-height:38px;padding:0 14px;font-weight:800}.catalog-management-error,.catalog-management-notice{border-radius:12px;margin-bottom:12px;padding:12px 14px;font-weight:800}.catalog-management-error{color:#b42318;background:#fff2f2;border:1px solid #f0b8b8}.catalog-management-notice{color:#087443;background:#edf9f3;border:1px solid #aee2ca}.catalog-management-editors{grid-template-columns:minmax(260px,.7fr) minmax(420px,1.5fr);align-items:start;gap:12px;display:grid}.catalog-editor-card,.catalog-existing-section{background:#fff;border:1px solid #e4e4df;border-radius:16px;padding:16px}.catalog-editor-card{gap:12px;display:grid}.catalog-editor-title,.catalog-section-heading,.catalog-product-card-top{justify-content:space-between;align-items:center;gap:10px;display:flex}.catalog-editor-title span,.catalog-section-heading span{color:#777;font-size:12px;font-weight:800}.catalog-editor-title h2{margin:2px 0 0;font-size:20px}.catalog-editor-card label{color:#444;gap:5px;font-size:12px;font-weight:800;display:grid}.catalog-editor-card input,.catalog-editor-card select{width:100%;min-height:42px;font:inherit;background:#fff;border:1px solid #d8d8d3;border-radius:9px;padding:0 10px}.catalog-form-grid,.catalog-price-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.catalog-price-box{background:#fff9f4;border:1px solid #eee2d8;border-radius:12px;padding:12px}.catalog-price-box h3{margin:0;font-size:15px}.catalog-price-box p{color:#777;margin:3px 0 10px;font-size:11px}.catalog-toggle-row{flex-wrap:wrap;gap:18px;display:flex}.catalog-check-row{align-items:center;gap:7px!important;display:inline-flex!important}.catalog-check-row input{width:18px!important;min-height:18px!important}.catalog-primary-action{color:#fff;cursor:pointer;background:#ff6b00;border:0;border-radius:10px;min-height:44px;font-weight:900}.catalog-primary-action:disabled{opacity:.45;cursor:not-allowed}.catalog-existing-section{margin-top:12px}.catalog-section-heading strong{margin-inline-start:8px;font-size:22px}.catalog-category-list{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.catalog-category-pill{text-align:right;cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:10px;gap:2px;min-width:120px;padding:10px 12px;display:grid}.catalog-category-pill.inactive,.catalog-product-card.inactive{opacity:.5}.catalog-category-pill small{color:#777}.catalog-product-list{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;margin-top:12px;display:grid}.catalog-product-card{color:inherit;text-align:right;cursor:pointer;background:#fff;border:1px solid #e4e4df;border-radius:13px;gap:10px;padding:12px;display:grid}.catalog-product-card-top strong{font-size:16px;display:block}.catalog-product-card-top span{color:#777;font-size:11px}.catalog-status{background:#f2f2ef;border-radius:999px;padding:4px 8px;font-weight:900;color:#777!important;font-size:10px!important}.catalog-status.active{background:#eaf8f1;color:#178151!important}.catalog-product-money{grid-template-columns:repeat(2,1fr);gap:6px;display:grid}.catalog-product-money span,.catalog-kind-prices span{color:#777;background:#f7f7f4;border-radius:8px;gap:2px;padding:7px;font-size:10px;display:grid}.catalog-product-money strong,.catalog-kind-prices strong{color:#171717;font-size:14px}.catalog-kind-prices{grid-template-columns:repeat(4,1fr);gap:5px;display:grid}.catalog-empty{text-align:center;color:#777;border:1px dashed #ccc;border-radius:12px;margin-top:12px;padding:20px}@media (width<=820px){.catalog-management-page{padding:10px}.catalog-management-editors,.catalog-form-grid,.catalog-price-grid{grid-template-columns:1fr}.catalog-kind-prices{grid-template-columns:repeat(2,1fr)}}.mobile-orders-page{width:min(100%,980px);margin:0 auto;padding-inline:12px}.compact-orders-header{gap:10px}.orders-filter-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:12px 0;display:grid}.orders-filter-strip button{min-width:0;font:inherit;background:0 0;border:1px solid #7f7f7f47;border-radius:10px;padding:9px 6px}.orders-filter-strip button strong{margin-inline-start:5px;display:inline-block}.orders-filter-strip button.selected{border-color:currentColor;font-weight:800}.mobile-order-list{gap:6px;width:100%;display:grid;overflow:hidden}.mobile-order-row{box-sizing:border-box;border:1px solid #7f7f7f42;border-radius:10px;grid-template-columns:58px minmax(0,1fr) minmax(0,1.15fr) 42px;align-items:center;gap:7px;width:100%;min-width:0;padding:8px;display:grid}.mobile-order-row-head{opacity:.65;border:0;padding-block:4px;font-size:.72rem;font-weight:700}.mobile-order-phone-search{background:#7f7f7f0e;border:1px solid #7f7f7f47;border-radius:10px;align-items:center;gap:8px;min-height:44px;padding:5px 7px;display:flex}.mobile-order-phone-search>span{white-space:nowrap;font-size:.78rem;font-weight:800}.mobile-order-phone-search input{background:var(--surface,#fff);width:min(100%,240px);min-width:0;max-width:240px;height:34px;color:inherit;box-sizing:border-box;font:inherit;text-align:left;border:1px solid #7f7f7f52;border-radius:9px;flex:190px;margin-inline-start:auto;padding:0 9px;font-size:.9rem;font-weight:800}.mobile-order-phone-search input:focus{border-color:#f97316;outline:2px solid #f973162e}.mobile-order-row.cancelled{opacity:.62}.mobile-order-seq,.mobile-order-cell{min-width:0}.mobile-order-seq{line-height:1.05;display:grid}.mobile-order-seq strong{font-size:.86rem}.mobile-order-seq small{margin-top:3px;font-size:.62rem}.mobile-order-cell{text-overflow:ellipsis;white-space:nowrap;font-size:.83rem;font-weight:700;overflow:hidden}.mobile-order-phone{text-align:right;transform:translate(4px)}.orders-list-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.orders-list-summary>div{border:1px solid #7f7f7f3d;border-radius:12px;min-width:0;padding:10px 12px;box-shadow:0 2px 7px #0f172a0f}.orders-list-summary>div:first-child{background:#eff6ff;border-color:#93c5fd}.orders-list-summary>div:last-child{background:#fff7ed;border-color:#fdba74}.orders-list-summary span,.orders-list-summary strong{display:block}.orders-list-summary span{color:#4b5563;margin-bottom:3px;font-size:.72rem;font-weight:800}.orders-list-summary strong{overflow-wrap:anywhere;color:#111827;font-size:1.08rem;font-weight:900;line-height:1.2}.mobile-order-eye{background:0 0;border:1px solid #7f7f7f4d;border-radius:10px;width:38px;height:38px;padding:0;font-size:1.05rem;line-height:1}.order-detail-overlay{z-index:1000;background:#00000080;justify-content:center;align-items:flex-end;padding:0;display:flex;position:fixed;inset:0}.order-detail-sheet{background:var(--surface,#fff);width:min(100%,680px);max-height:92dvh;color:inherit;box-sizing:border-box;border-radius:18px 18px 0 0;padding:16px;overflow-y:auto}.order-detail-sheet-head{z-index:2;background:inherit;border-bottom:1px solid #7f7f7f38;justify-content:space-between;align-items:center;gap:12px;margin:-16px -16px 14px;padding:14px 16px;display:flex;position:sticky;top:-16px}.order-detail-sheet-head>div{gap:3px;min-width:0;display:grid}.order-detail-sheet-head span{opacity:.7;font-size:.78rem}.order-detail-sheet-head button{flex:none;width:38px;height:38px}.order-detail-customer{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.order-detail-customer>div{background:#7f7f7f14;border-radius:10px;min-width:0;padding:9px}.order-detail-customer span,.order-cancelled-reason span{opacity:.65;margin-bottom:3px;font-size:.7rem;display:block}.order-detail-customer strong{overflow-wrap:anywhere;font-size:.86rem}.order-detail-items{margin-top:16px}.order-detail-items h2{margin:0 0 8px;font-size:1rem}.order-detail-item{border-bottom:1px solid #7f7f7f29;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:9px 0;display:grid}.order-detail-item>div{min-width:0;display:grid}.order-detail-item small{opacity:.65;margin-top:3px}.order-detail-item>span,.order-detail-item>strong{white-space:nowrap;font-size:.82rem}.order-detail-item.is-cancelled{opacity:.72;border:2px solid #111;border-radius:8px;margin-top:6px;padding:9px}.order-item-status{border:1px solid;border-radius:999px;width:fit-content;margin-top:4px;padding:2px 8px;font-size:.7rem;font-weight:900}.order-item-status.cancelled{color:#b42318;background:#fff1f0}.order-item-cancelled-quantity{color:#b42318;font-weight:800;opacity:1!important}.order-detail-totals{gap:7px;margin-top:14px;padding-top:12px;display:grid}.order-detail-totals>div{justify-content:space-between;gap:12px;display:flex}.order-detail-total-final{border-top:1px solid #7f7f7f40;padding-top:8px;font-size:1.08rem}.order-cancelled-reason{background:#b423231a;border-radius:10px;margin-top:12px;padding:10px}.order-detail-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:16px;display:grid}.order-detail-actions button{white-space:normal;min-width:0;min-height:42px;font:inherit;padding:8px 6px}@media (width<=430px){.mobile-orders-page{padding-inline:8px}.mobile-order-row{grid-template-columns:50px minmax(0,.92fr) minmax(0,1.08fr) 40px;gap:5px;padding:7px 6px}.mobile-order-row-head{font-size:.66rem}.mobile-order-phone-search{gap:6px;min-height:42px;padding:4px 6px}.mobile-order-phone-search>span{font-size:.7rem}.mobile-order-phone-search input{flex-basis:150px;width:min(100%,205px);max-width:205px;height:34px}.mobile-order-phone{transform:translate(3px)}.orders-list-summary{gap:6px;margin-top:8px}.orders-list-summary>div{padding:8px 9px}.orders-list-summary strong{font-size:.98rem}.mobile-order-cell{font-size:.76rem}.mobile-order-eye{width:36px;height:36px}.order-detail-customer,.order-detail-actions{grid-template-columns:1fr}}@media (width>=681px){.order-detail-overlay{align-items:center;padding:20px}.order-detail-sheet{border-radius:18px}}@media (width<=760px){.pos-layout{grid-template-columns:minmax(0,1fr) 230px;align-items:start;gap:10px}.pos-cart{min-height:420px;max-height:calc(100vh - 20px);position:sticky;top:10px}.pos-cart-header{padding:12px 10px}.pos-cart-header h2{font-size:18px}.pos-cart-lines{padding:6px 8px}.pos-cart-line{grid-template-columns:minmax(0,1fr);gap:7px;padding:10px 2px}.pos-qty,.pos-cart-line>strong{justify-self:start}}@media (width<=560px){.pos-layout{grid-template-columns:1fr}.pos-cart{min-height:0;max-height:none;position:static}}.restaurant-settings-page{color:#111827;box-sizing:border-box;background:#f3f4f6;width:100%;max-width:1180px;min-height:100vh;margin:0 auto;padding:18px;overflow-x:hidden}.restaurant-settings-page *,.restaurant-settings-page :before,.restaurant-settings-page :after{box-sizing:border-box}.restaurant-settings-header{background:#fff;border:1px solid #e5e7eb;border-radius:16px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;padding:16px 18px;display:flex}.restaurant-settings-header>div{min-width:0}.restaurant-settings-header h1{margin:0;font-size:28px;line-height:1.25}.restaurant-settings-header p{color:#6b7280;margin:5px 0 0;font-size:14px}.restaurant-settings-header a,.restaurant-settings-header button{color:#111827;min-height:42px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:10px;flex:none;padding:0 14px;font-weight:800;text-decoration:none}.restaurant-settings-error,.restaurant-settings-notice{border-radius:10px;margin-bottom:14px;padding:11px 13px;font-weight:800}.restaurant-settings-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.restaurant-settings-notice{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0}.restaurant-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0;display:grid}.restaurant-settings-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;min-width:0;padding:18px;box-shadow:0 2px 10px #00000008}.restaurant-settings-card h2{margin:0 0 14px;font-size:21px}.settings-switch-row{cursor:pointer;border-bottom:1px solid #f0f1f3;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-width:0;padding:12px 0;display:grid}.settings-switch-row:last-child{border-bottom:0}.settings-switch-row>span,.settings-switch-row>div{min-width:0}.settings-switch-row strong{margin-bottom:3px;font-size:15px;display:block}.settings-switch-row small{color:#6b7280;font-size:12px;line-height:1.5;display:block}.settings-switch-row input[type=checkbox]{appearance:none;cursor:pointer;background:#e5e7eb;border:1px solid #d1d5db;border-radius:999px;width:48px;height:27px;margin:0;transition:all .18s;position:relative}.settings-switch-row input[type=checkbox]:after{content:"";background:#fff;border-radius:50%;width:19px;height:19px;transition:all .18s;position:absolute;top:3px;right:3px;box-shadow:0 1px 3px #0000002e}.settings-switch-row input[type=checkbox]:checked{background:#f97316;border-color:#f97316}.settings-switch-row input[type=checkbox]:checked:after{transform:translate(-21px)}.settings-switch-row input[type=checkbox]:focus-visible{outline-offset:2px;outline:3px solid #f9731633}.settings-field{gap:7px;min-width:0;margin:12px 0;font-size:13px;font-weight:800;display:grid}.settings-field input,.settings-field select{color:#111827;width:100%;min-width:0;min-height:44px;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:10px;padding:0 11px;font-weight:700}.settings-field input:focus,.settings-field select:focus{border-color:#f97316;outline:3px solid #f973161f}.restaurant-settings-actions{justify-content:flex-end;gap:10px;margin-top:14px;padding:14px 0 0;display:flex}.restaurant-settings-actions button{color:#fff;min-width:150px;min-height:48px;font:inherit;cursor:pointer;background:#f97316;border:0;border-radius:11px;padding:0 18px;font-size:16px;font-weight:900}.restaurant-settings-actions button:hover:not(:disabled){background:#ea580c}.restaurant-settings-actions button:disabled{color:#6b7280;cursor:not-allowed;background:#d1d5db}.settings-section-heading{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.settings-section-heading h2{margin:0 0 4px}.settings-section-heading small{color:#6b7280;font-size:12px;line-height:1.6;display:block}.settings-section-heading>button{color:#c2410c;min-height:40px;font:inherit;cursor:pointer;background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;flex:none;padding:0 14px;font-weight:900}.settings-section-heading>button:hover:not(:disabled){background:#ffedd5}.settings-section-heading>button:disabled{opacity:.6;cursor:not-allowed}.settings-brand-list{border-bottom:1px solid #f0f1f3;flex-wrap:wrap;gap:8px;margin:0 0 14px;padding-bottom:14px;display:flex}.settings-brand-list>button{color:#111827;min-width:0;max-width:100%;font:inherit;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:10px;align-items:center;gap:8px;padding:8px 11px;display:inline-flex}.settings-brand-list>button:hover:not(:disabled){background:#fff7ed;border-color:#fdba74}.settings-brand-list>button strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.settings-brand-list>button small{color:#6b7280;flex:none;font-size:11px}.settings-color-field{grid-template-columns:52px minmax(0,1fr);align-items:center;gap:8px;display:grid}.settings-color-field input[type=color]{cursor:pointer;width:52px;min-height:44px;padding:4px}.settings-color-field input[type=text]{text-align:left;direction:ltr}@media (width<=760px){.restaurant-settings-page{padding:10px}.restaurant-settings-header{flex-direction:column;align-items:stretch;padding:14px}.restaurant-settings-header a,.restaurant-settings-header button{width:100%}.restaurant-settings-grid{grid-template-columns:1fr}.restaurant-settings-card{padding:14px}.restaurant-settings-actions{z-index:20;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#f3f4f6f5;margin:12px -10px -10px;padding:10px;position:sticky;bottom:0}.restaurant-settings-actions button{width:100%;min-width:0}}@media (width<=420px){.restaurant-settings-header h1{font-size:24px}.settings-switch-row{gap:10px}.restaurant-settings-card h2{font-size:19px}}.settings-switch-row input[type=checkbox]{display:block;flex:0 0 48px!important;width:48px!important;min-width:48px!important;max-width:48px!important;height:27px!important;min-height:27px!important;max-height:27px!important;padding:0!important}.settings-switch-row input[type=checkbox]:after{width:19px!important;height:19px!important}.settings-logo-upload{gap:7px;display:grid}.settings-logo-picker{color:#111827;min-height:44px;font:inherit;cursor:pointer;text-align:center;background:#f9fafb;border:1px dashed #d1d5db;border-radius:10px;justify-content:center;align-items:center;padding:10px 14px;font-weight:800;transition:background .15s,border-color .15s,opacity .15s;display:flex}.settings-logo-picker:hover{background:#f3f4f6;border-color:#9ca3af}.settings-logo-picker.is-disabled{cursor:not-allowed;opacity:.6}.settings-logo-picker input[type=file]{display:none}.settings-logo-upload small{color:#6b7280;font-size:12px;line-height:1.5}.settings-logo-preview{background:#f9fafb;border:1px solid #e5e7eb;border-radius:12px;justify-content:center;align-items:center;min-height:110px;padding:10px;display:flex;overflow:hidden}.settings-logo-preview img{object-fit:contain;width:auto;max-width:100%;max-height:140px;display:block}@media (width<=420px){.settings-logo-preview{min-height:90px}.settings-logo-preview img{max-height:110px}}.pos-brand-select-page{text-align:center;flex-direction:column;justify-content:center;width:min(900px,100% - 32px);min-height:100vh;margin:0 auto;padding:64px 0;display:flex}.pos-brand-select-page h1{margin:0 0 10px;font-size:clamp(30px,5vw,44px)}.pos-brand-select-page>p{color:#666;margin:0 0 30px}.pos-brand-select-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.pos-brand-select-grid>button{color:#171717;min-height:220px;font:inherit;background:#fff;border:1px solid #d8d8d4;border-radius:24px;align-content:center;place-items:center;gap:18px;padding:24px;transition:transform .14s,box-shadow .14s,border-color .14s;display:grid;box-shadow:0 14px 38px #00000012}.pos-brand-select-grid>button:hover{border-color:#171717;transform:translateY(-3px);box-shadow:0 20px 48px #0000001f}.pos-brand-select-grid img{object-fit:contain;border-radius:18px;width:96px;height:96px}.pos-brand-select-grid strong{font-size:28px;font-weight:900}@media (width<=620px){.pos-brand-select-page{width:min(100% - 24px,520px);padding:30px 0}.pos-brand-select-grid{grid-template-columns:1fr}.pos-brand-select-grid>button{min-height:170px}}.brand-revenue-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0;display:grid}.brand-revenue-grid article{background:#fff;border:1px solid #d8d8d4;border-radius:18px;gap:6px;padding:18px 20px;display:grid}.brand-revenue-grid span{color:#666;font-size:13px;font-weight:800}.brand-revenue-grid strong{color:#171717;font-size:26px;font-weight:900}.brand-revenue-grid small{color:#777;font-weight:700}@media (width<=620px){.brand-revenue-grid{grid-template-columns:1fr}}.revenue-page{width:min(980px,100% - 32px);margin:0 auto;padding:28px 0 70px}.revenue-page-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px;display:flex}.revenue-page-header h1{margin:4px 0;font-size:34px}.revenue-page-header p{color:#666;margin:0}.revenue-page-actions{gap:8px;display:flex}.revenue-page-actions a,.revenue-page-actions button{color:#171717;min-height:44px;font:inherit;background:#fff;border:1px solid #d8d8d4;border-radius:12px;padding:0 16px;font-weight:800;text-decoration:none}.revenue-filter-card{background:#fff;border:1px solid #ddd;border-radius:16px;margin-bottom:18px;padding:16px}.revenue-filter-card label{gap:7px;font-weight:800;display:grid}.revenue-receipt{background:#fff;border:1px solid #d8d8d4;border-radius:20px;width:min(620px,100%);margin:0 auto;padding:26px;box-shadow:0 18px 45px #00000014}.revenue-receipt>header{text-align:center;border-bottom:2px dashed #171717;margin-bottom:8px;padding-bottom:18px}.revenue-receipt>header span{letter-spacing:1px;font-size:12px;font-weight:800}.revenue-receipt>header h2{margin:6px 0;font-size:28px}.revenue-order-list{display:grid}.revenue-order-row{border-bottom:1px dashed #aaa;justify-content:space-between;align-items:center;gap:14px;padding:13px 0;display:flex}.revenue-order-row>div{gap:4px;display:grid}.revenue-order-row span{color:#666;font-size:13px}.revenue-order-row>strong{white-space:nowrap;font-size:16px}.revenue-order-row>strong.negative{color:#b91c1c}.revenue-receipt-total{border-top:3px solid #171717;justify-content:space-between;align-items:center;margin-top:18px;padding-top:16px;font-size:20px;font-weight:900;display:flex}.revenue-receipt-total strong{font-size:24px}@media (width<=620px){.revenue-page-header{flex-direction:column}.revenue-page-actions{width:100%}.revenue-page-actions a,.revenue-page-actions button{flex:1}.revenue-receipt{padding:16px}}@media print{body{background:#fff!important}.revenue-page{width:100%;padding:0}.revenue-page-header,.revenue-filter-card{display:none!important}.revenue-receipt{width:80mm;max-width:80mm;box-shadow:none;border:0;border-radius:0;margin:0 auto;padding:3mm}@page{margin:0;size:80mm auto}}.work-period-open-button{color:#fff;background:#15803d;border:1px solid #15803d;box-shadow:0 8px 20px #15803d2e}.work-period-open-button:hover:not(:disabled){background:#166534;border-color:#166534}.work-period-close-button{color:#fff;min-height:48px;font:inherit;cursor:pointer;background:#dc2626;border:1px solid #dc2626;border-radius:12px;padding:0 20px;font-weight:900;box-shadow:0 8px 20px #dc26262e}.work-period-close-button:hover:not(:disabled){background:#b91c1c;border-color:#b91c1c}.work-period-close-button:disabled{cursor:not-allowed;opacity:.55}.revenue-report-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px;display:grid}.revenue-report-tabs button{color:#171717;min-height:46px;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:12px;font-weight:900}.revenue-report-tabs button.active{color:#fff;background:#171717;border-color:#171717}.revenue-summary-list{display:grid}.revenue-summary-list article,.product-sales-row{border-bottom:1px dashed #aaa;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;display:flex}.revenue-summary-list article>div,.product-sales-row>div:first-child{gap:2px;display:grid}.revenue-summary-list span,.product-sales-row span{color:#666;font-size:12px}.product-sales-list{display:grid}.product-sales-values{white-space:nowrap;justify-items:end;gap:2px;display:grid}.revenue-products-report .revenue-receipt-total{grid-template-columns:auto 1fr auto 1fr;gap:8px;font-size:14px;display:grid}.revenue-products-report .revenue-receipt-total strong{text-align:end;font-size:16px}.revenue-summary-report,.revenue-products-report{padding:16px}.revenue-summary-report>header,.revenue-products-report>header{margin-bottom:4px;padding-bottom:10px}.revenue-summary-report>header h2,.revenue-products-report>header h2{margin:3px 0;font-size:22px}@media print{.revenue-report-tabs{display:none!important}.revenue-summary-report,.revenue-products-report{padding:2mm!important}.revenue-summary-list article,.product-sales-row{gap:1.5mm!important;padding:1.2mm 0!important}.revenue-summary-list span,.product-sales-row span{font-size:9px!important}.revenue-summary-list strong,.product-sales-row strong{font-size:10px!important}.revenue-receipt>header{margin-bottom:1mm!important;padding-bottom:1.5mm!important}.revenue-receipt>header h2{margin:0!important;font-size:15px!important}.revenue-receipt-total{margin-top:2mm!important;padding-top:1.5mm!important}}.order-detail-sheet-head .order-failed-print-retry-button{width:auto;max-width:100%;height:auto;min-height:32px;color:inherit;white-space:normal;text-align:center;background:#7f7f7f14;border:1px solid #7f7f7f47;border-radius:999px;justify-self:start;margin-top:5px;padding:6px 12px;font-size:.72rem;font-weight:700;line-height:1.25}.order-detail-sheet-head .order-failed-print-retry-button:disabled{opacity:.55;cursor:not-allowed}@media (width<=430px){.order-detail-sheet-head .order-failed-print-retry-button{max-width:210px;padding:6px 10px;font-size:.68rem}}.pos-item-note-button{color:#111827;font:inherit;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;margin-top:8px;padding:6px 10px;font-size:12px;font-weight:800}.pos-item-note-button.has-note{color:#fff;background:#111827;border-color:#111827}.pos-item-note-preview{background:#f3f4f6;border-radius:7px;margin-top:6px;padding:6px 8px;font-weight:700;line-height:1.5;color:#111827!important;font-size:12px!important}.pos-item-note-editor{background:#f9fafb;border:1px solid #d1d5db;border-radius:9px;grid-column:1/-1;gap:7px;padding:9px;display:grid}.pos-item-note-editor textarea{resize:vertical;box-sizing:border-box;color:#111827;width:100%;min-height:64px;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:9px 10px;font-size:14px}.pos-item-note-editor-actions{justify-content:flex-end;gap:7px;display:flex}.pos-item-note-editor-actions button{color:#fff;min-width:64px;font:inherit;cursor:pointer;background:#111827;border:0;border-radius:7px;padding:7px 12px;font-weight:800}.pos-item-note-editor-actions button:first-child{color:#111827;background:#e5e7eb}.pos-general-note{color:#fff;background:#111;gap:7px;padding:12px 14px;display:grid}.pos-general-note label{font-size:14px;font-weight:900}.pos-general-note textarea{resize:vertical;box-sizing:border-box;color:#111827;width:100%;min-height:66px;font:inherit;background:#fff;border:1px solid #404040;border-radius:8px;padding:10px 11px;font-size:14px}.pos-general-note textarea::placeholder{color:#6b7280}.pos-item-note-button,.pos-general-note-button{cursor:pointer;border:1px solid #4b5563;border-radius:7px;max-height:32px;font-weight:900;line-height:1.2;flex:none!important;width:auto!important;min-width:0!important;min-height:28px!important;padding:4px 9px!important;font-size:11px!important}.pos-item-note-button{color:#fff;background:#111;align-items:center;margin-top:6px;display:inline-flex}.pos-item-note-button.has-note,.pos-general-note-button.has-note{color:#fff;background:#f97316;border-color:#f97316;box-shadow:0 0 0 2px #f973162e}.pos-general-note-bar{color:#fff;background:#111;justify-content:flex-start;align-items:center;gap:6px;padding:5px 10px;display:flex}.pos-general-note-button{color:#111;background:#fff;justify-content:center;align-items:center;display:inline-flex;min-height:26px!important;max-height:28px!important;margin:0!important;padding:3px 8px!important;font-size:10.5px!important}.pos-general-note-status{color:#d1d5db;font-size:10px;font-weight:800}.pos-note-modal-backdrop{z-index:5000;background:#0000009e;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.pos-note-modal{box-sizing:border-box;color:#fff;background:#111;border:1px solid #3f3f46;border-radius:14px;gap:10px;width:min(320px,100vw - 28px);padding:13px;display:grid;box-shadow:0 20px 55px #0000006b}.pos-note-modal h3{margin:0;font-size:17px;font-weight:900}.pos-note-modal textarea{resize:vertical;box-sizing:border-box;color:#111827;width:100%;min-height:72px;max-height:140px;font:inherit;background:#fff;border:1px solid #52525b;border-radius:9px;outline:none;padding:10px 11px;font-size:14px}.pos-note-modal textarea:focus{border-color:#f97316;box-shadow:0 0 0 3px #f9731633}.pos-note-modal-actions{justify-content:flex-end;align-items:center;gap:7px;display:flex}.pos-note-modal-actions button{font:inherit;cursor:pointer;border:0;border-radius:7px;font-weight:900;width:auto!important;min-width:58px!important;min-height:30px!important;padding:5px 10px!important;font-size:12px!important}.pos-note-modal-actions .save-note{color:#fff;background:#f97316}.pos-note-modal-actions .cancel-note{color:#111827;background:#e5e7eb}.pos-note-modal-actions .delete-note{color:#fff;background:#991b1b;margin-inline-end:auto}.pos-cart-lines{overscroll-behavior:contain;flex:none;height:255px;min-height:255px;max-height:255px;padding:4px 8px;overflow-y:auto}.pos-cart-line{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:4px 8px;padding:7px 2px}.pos-cart-line>div:first-child strong{margin-bottom:2px}.pos-cart-line>strong{white-space:nowrap;grid-column:auto;place-self:center end;font-size:15px}.pos-qty{grid-template-columns:32px 32px 32px}.pos-qty button{width:32px;height:32px;font-size:18px}.pos-qty span{height:32px}.pos-item-note-button{margin-top:4px!important}@media (width<=760px){.pos-cart{height:auto;min-height:0;max-height:none;padding-bottom:0;overflow:visible}}.pos-toolbar>nav{flex:100%;grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:8px!important;display:grid!important}.pos-toolbar>nav .pos-orders-shortcut{text-align:center;white-space:nowrap;background:#fff;border:2px solid #e5e7eb;border-radius:12px;justify-content:center;align-items:center;min-width:0;min-height:48px;padding:8px 10px;font-family:inherit;font-size:15px;font-weight:900;line-height:1.25;transition:transform .12s,box-shadow .12s;display:flex;box-shadow:0 3px 9px #0f172a14;color:#111827!important;text-decoration:none!important}.pos-toolbar>nav .pos-orders-shortcut:first-child{background:#111827;border-color:#111827;color:#fff!important}.pos-toolbar>nav .pos-orders-shortcut:nth-child(2){background:#fff7ed;border-color:#f97316;color:#c2410c!important}.pos-toolbar>nav .pos-orders-shortcut:nth-child(3){background:#f97316;border-color:#f97316;color:#fff!important}.pos-toolbar>nav .pos-ma-shortcut{cursor:not-allowed;opacity:.8;background:#fff7ed;border-color:#111827;gap:6px;color:#111827!important}.pos-toolbar>nav .pos-ma-shortcut small{color:#fff;background:#111827;border-radius:999px;padding:2px 5px;font-size:10px;line-height:1}.pos-toolbar>nav .pos-ma-shortcut:hover,.pos-toolbar>nav .pos-ma-shortcut:active{transform:none;box-shadow:0 3px 9px #0f172a14}.pos-toolbar>nav .pos-orders-shortcut:hover{transform:translateY(-1px);box-shadow:0 5px 12px #0f172a24}.pos-toolbar>nav .pos-orders-shortcut:active{transform:scale(.98)}.pos-toolbar>nav .pos-orders-shortcut:focus-visible{outline-offset:2px;outline:3px solid #f9731659}@media (width<=480px){.pos-toolbar>nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px!important}.pos-toolbar>nav .pos-orders-shortcut{min-height:44px;padding:7px 4px;font-size:13px}}.placeholder-grid>.dashboard-action-card{transition:transform .14s,box-shadow .14s,filter .14s;box-shadow:0 8px 20px #0f172a29;color:#fff!important;border-color:#0000!important}.placeholder-grid>.dashboard-action-card span,.placeholder-grid>.dashboard-action-card strong,.placeholder-grid>.dashboard-action-card small{color:#fff!important}.placeholder-grid>.dashboard-action-card span,.placeholder-grid>.dashboard-action-card small{opacity:.86}.placeholder-grid>.dashboard-action-card[href=\/revenue]{background:linear-gradient(135deg,#15803d,#166534)!important}.placeholder-grid>.dashboard-action-card[href=\/catalog]{background:linear-gradient(135deg,#7c3aed,#5b21b6)!important}.placeholder-grid>.dashboard-action-card[href=\/orders]{background:linear-gradient(135deg,#2563eb,#1d4ed8)!important}.placeholder-grid>.dashboard-action-card[href="/pos/select"]{box-shadow:0 10px 24px #ea580c4d;background:linear-gradient(135deg,#fb923c,#ea580c)!important}.placeholder-grid>.dashboard-action-card[href=\/delivery-orders]{background:linear-gradient(135deg,#0d9488,#0f766e)!important}.placeholder-grid>.dashboard-action-card[href=\/settings]{background:linear-gradient(135deg,#64748b,#475569)!important}.placeholder-grid>.dashboard-action-card[href=\/staff]{background:linear-gradient(135deg,#e11d48,#be123c)!important}.placeholder-grid>.dashboard-action-card:hover{filter:brightness(1.08);transform:translateY(-3px);box-shadow:0 12px 26px #0f172a38}.placeholder-grid>.dashboard-action-card:active{transform:scale(.985)}.placeholder-grid>.dashboard-action-card:focus-visible{outline-offset:3px;outline:3px solid #f9731666}.revenue-date-filter{background:#fffaf2;border:1px solid #fed7aa;border-radius:16px;gap:12px;margin-bottom:14px;padding:14px;display:grid;box-shadow:0 8px 22px #f9731614}.revenue-date-presets{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.revenue-date-presets button{color:#171717;min-height:46px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:12px;padding:8px 12px;font-weight:900;transition:background-color .14s,border-color .14s,color .14s,transform .14s}.revenue-date-presets button:hover{background:#fff7ed;border-color:#f97316}.revenue-date-presets button:active{transform:scale(.98)}.revenue-date-presets button.active{color:#fff;background:#f97316;border-color:#f97316}.revenue-date-presets button:focus-visible,.revenue-custom-dates input:focus-visible{outline-offset:2px;outline:3px solid #f9731647}.revenue-custom-dates{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.revenue-custom-dates label{color:#374151;gap:6px;font-weight:900;display:grid}.revenue-custom-dates input{color:#171717;width:100%;min-height:46px;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:12px;padding:0 12px;font-weight:800}.revenue-selected-range{color:#9a3412;text-align:center;background:#fff;border-radius:10px;padding:9px 12px;font-size:14px;font-weight:900;display:block}@media (width<=620px){.revenue-date-presets{grid-template-columns:repeat(2,minmax(0,1fr))}.revenue-custom-dates{grid-template-columns:1fr}}@media print{.revenue-date-filter{display:none!important}.revenue-page{box-sizing:border-box!important;color:#000!important;background:#fff!important;width:72mm!important;min-width:0!important;max-width:72mm!important;margin:0 auto!important;padding:0!important;font-family:Times New Roman,Tahoma,Arial,sans-serif!important;font-size:13px!important;line-height:1.25!important}.revenue-page *,.revenue-page :before,.revenue-page :after{box-sizing:border-box!important}.revenue-page-header,.revenue-date-filter,.revenue-report-tabs,.revenue-filter-card{display:none!important}.revenue-receipt,.revenue-summary-report,.revenue-products-report{width:72mm!important;min-width:0!important;max-width:72mm!important;box-shadow:none!important;border:0!important;border-radius:0!important;margin:0!important;padding:1.5mm 0 2mm!important;overflow:visible!important}.revenue-receipt>header{text-align:center!important;border-bottom:1.5px solid #000!important;margin:0 0 1mm!important;padding:0 0 1.5mm!important}.revenue-receipt>header span{letter-spacing:.3px!important;font-size:11px!important;display:block!important}.revenue-receipt>header h2{margin:.5mm 0!important;font-size:18px!important;font-weight:900!important}.revenue-receipt>header strong{overflow-wrap:anywhere;direction:ltr;unicode-bidi:isolate;font-size:12px!important;display:block!important}.revenue-summary-list article,.product-sales-row{break-inside:avoid;page-break-inside:avoid;border-bottom:1px dashed #000!important;gap:1.5mm!important;padding:1.5mm 0!important}.revenue-summary-list article{grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;display:grid!important}.revenue-summary-list article>div,.product-sales-row>div:first-child{gap:.5mm!important;min-width:0!important}.revenue-summary-list article>div strong,.product-sales-row>div:first-child strong{overflow-wrap:anywhere!important}.revenue-summary-list article>strong{white-space:nowrap!important;text-align:left!important}.revenue-summary-list span,.product-sales-row span{color:#000!important;font-size:11px!important}.revenue-summary-list strong,.product-sales-row strong{color:#000!important;font-size:13px!important}.product-sales-row{display:block!important}.product-sales-row>div:first-child{display:grid!important}.product-sales-values{white-space:normal!important;justify-content:space-between!important;align-items:baseline!important;gap:1mm!important;width:100%!important;margin-top:.5mm!important;display:flex!important}.product-sales-values strong,.product-sales-values span{white-space:nowrap!important}.product-sales-values span{font-size:12px!important;font-weight:800!important}.revenue-receipt-total,.revenue-products-report .revenue-receipt-total{break-inside:avoid;border:2px solid #000!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:baseline!important;gap:1mm 2mm!important;margin:1.5mm 0 0!important;padding:1.5mm 2mm!important;font-size:14px!important;display:grid!important}.revenue-receipt-total span{overflow-wrap:anywhere}.revenue-receipt-total strong,.revenue-products-report .revenue-receipt-total strong{text-align:left!important;white-space:nowrap!important;font-size:14px!important;font-weight:900!important}}.revenue-products-report>header{border-bottom:0;margin-bottom:8px}.revenue-products-report>header h2{text-underline-offset:3px;text-decoration:underline}.revenue-products-report .revenue-report-period{justify-content:space-between;gap:8px;margin-top:12px;font-weight:800;display:flex}.revenue-products-report .revenue-report-period span{white-space:nowrap;min-width:0}.revenue-product-table{border-collapse:collapse;table-layout:fixed;color:#171717;width:100%;font-size:13px;line-height:1.3}.revenue-product-table .revenue-product-number{width:8%}.revenue-product-table .revenue-product-name{width:46%}.revenue-product-table .revenue-product-quantity{width:16%}.revenue-product-table .revenue-product-amount{width:30%}.revenue-product-table th,.revenue-product-table td{overflow-wrap:anywhere;vertical-align:middle;border:1px solid #333;padding:5px 3px}.revenue-product-table thead th,.revenue-product-table td{text-align:center}.revenue-product-table tbody tr>th[scope=row],.revenue-product-table tbody tr>th[scope=rowgroup],.revenue-product-table tfoot th{text-align:right}.revenue-product-table .revenue-product-brand th{background:#e5e5e5;font-weight:900}.revenue-product-table .revenue-product-category{background:#f2f2f2;font-weight:900}.revenue-product-table tfoot{border-top:2px solid #171717;font-weight:900}@media print{.revenue-products-report>header{border-bottom:0!important;margin:0!important;padding:0 0 1.5mm!important}.revenue-products-report>header h2{margin:0 0 2mm!important;font-size:16px!important;font-weight:900!important}.revenue-products-report .revenue-report-period{text-align:right!important;gap:1mm!important;margin:0!important;font-size:11px!important;font-weight:800!important}.revenue-products-report .revenue-report-period span{letter-spacing:0!important;font-size:11px!important;display:inline!important}.revenue-product-table{color:#000!important;width:100%!important;max-width:100%!important;margin:0!important;font-size:10.5px!important;line-height:1.15!important}.revenue-product-table th,.revenue-product-table td{color:#000!important;border:1px solid #000!important;padding:.65mm .4mm!important}.revenue-product-table thead{display:table-header-group}.revenue-product-table tfoot{display:table-row-group}.revenue-product-table tr{break-inside:avoid;page-break-inside:avoid}.revenue-product-table .revenue-product-brand,.revenue-product-table .revenue-product-category{break-after:avoid;page-break-after:avoid}.revenue-product-table .revenue-product-brand th,.revenue-product-table .revenue-product-category{background:#fff!important}.revenue-page .revenue-products-report{position:relative!important;left:4mm!important}.revenue-products-report .revenue-report-period span{font-size:10px!important}}.compact-orders-header>div>a{color:#c2410c;background:#fff7ed;border:1px solid #fb923c;border-radius:12px;justify-content:center;align-items:center;min-height:40px;margin-bottom:8px;padding:7px 14px;font-size:14px;font-weight:900;line-height:1;text-decoration:none;display:inline-flex;box-shadow:0 6px 16px #ea580c1f}.compact-orders-header>div>a:hover{color:#9a3412;background:#ffedd5;border-color:#ea580c}.compact-orders-header>div>a:active{transform:scale(.98)}.compact-orders-header>div>a:focus-visible{outline-offset:2px;outline:3px solid #f973164d}.delivery-orders-header-actions .delivery-history-link{color:#0f766e;background:#ecfdf5;border-color:#0d9488}.delivery-history-page{width:min(1040px,100% - 32px);padding:max(22px, env(safe-area-inset-top)) 0 72px;color:#111827;margin:0 auto}.delivery-history-page,.delivery-history-page *,.delivery-history-page :before,.delivery-history-page :after{box-sizing:border-box}.delivery-history-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.delivery-history-header>div:first-child{min-width:0}.delivery-history-header a{color:#0f766e;background:#ecfdf5;border:1px solid #0d9488;border-radius:11px;align-items:center;min-height:38px;padding:7px 13px;font-weight:900;text-decoration:none;display:inline-flex}.delivery-history-header h1{margin:10px 0 4px;font-size:clamp(28px,5vw,42px);line-height:1.1}.delivery-history-header p{color:#64748b;margin:0;font-size:14px;font-weight:700}.delivery-history-header-actions{gap:8px;display:flex}.delivery-history-header-actions button,.delivery-history-detail-actions button{color:#111827;min-height:42px;font:inherit;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:11px;padding:8px 15px;font-weight:900}.delivery-history-header-actions button.primary,.delivery-history-detail-actions button.primary{color:#fff;background:#f97316;border-color:#ea580c}.delivery-history-header-actions button:disabled,.delivery-history-detail-actions button:disabled{cursor:not-allowed;opacity:.48}.delivery-history-filter{background:#f0fdfa;border:1px solid #99f6e4;border-radius:17px;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px;padding:14px;display:grid;box-shadow:0 8px 22px #0d948814}.delivery-history-presets{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.delivery-history-presets button{color:#111827;min-height:44px;font:inherit;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:11px;padding:8px;font-weight:900}.delivery-history-presets button.active{color:#fff;background:#0f766e;border-color:#0d9488;box-shadow:0 6px 14px #0f766e33}.delivery-history-dates{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.delivery-history-dates label,.delivery-history-driver-filter,.delivery-history-status-filter,.delivery-history-search{color:#334155;gap:5px;min-width:0;font-size:13px;font-weight:900;display:grid}.delivery-history-dates input,.delivery-history-driver-filter select,.delivery-history-status-filter select,.delivery-history-search input{color:#111827;width:100%;min-width:0;min-height:44px;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:10px;outline:none;padding:8px 10px;font-size:16px;font-weight:800}.delivery-history-dates input:focus,.delivery-history-driver-filter select:focus,.delivery-history-status-filter select:focus,.delivery-history-search input:focus{border-color:#0d9488;box-shadow:0 0 0 3px #0d948826}.delivery-history-selected-range{color:#0f766e;text-align:center;background:#fff;border-radius:10px;grid-column:1/-1;padding:8px 11px;font-size:13px;display:block}.delivery-history-error,.delivery-history-loading,.delivery-history-empty{text-align:center;border-radius:14px;margin:12px 0;padding:16px;font-weight:900}.delivery-history-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.delivery-history-loading,.delivery-history-empty{color:#64748b;background:#fff;border:1px dashed #cbd5e1}.delivery-history-report{background:#fff;border:1px solid #e2e8f0;border-radius:18px;overflow:hidden;box-shadow:0 12px 34px #0f172a14}.delivery-history-report-title{text-align:center;border-bottom:1px solid #e2e8f0;padding:18px}.delivery-history-report-title span{color:#64748b;letter-spacing:1px;font-size:12px;font-weight:800}.delivery-history-report-title h2{margin:3px 0;font-size:24px;font-weight:950}.delivery-history-report-title strong{color:#0f766e;direction:ltr;font-size:13px;display:block}.delivery-history-summary{background:#f8fafc;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px 14px;display:grid}.delivery-history-summary>div{text-align:center;background:#fff;border:1px solid #dbeafe;border-radius:12px;gap:3px;min-width:0;padding:10px 6px;display:grid}.delivery-history-summary>div:nth-child(2){border-color:#cbd5e1}.delivery-history-summary>div:nth-child(3){border-color:#fed7aa}.delivery-history-summary>div:nth-child(4){border-color:#99f6e4}.delivery-history-summary span{color:#64748b;font-size:11px;font-weight:800}.delivery-history-summary strong{font-size:20px;font-weight:950}.delivery-history-table{padding:0 14px 14px}.delivery-history-table-head{color:#64748b;background:#f8fafc;border-top:1px solid #e2e8f0;border-bottom:1px solid #cbd5e1;grid-template-columns:88px 135px minmax(180px,1fr) 130px 90px 72px;align-items:center;gap:9px;padding:9px 12px;font-size:10px;font-weight:900;display:grid}.delivery-history-order-list{display:grid}.delivery-history-order-row{border-bottom:1px solid #e2e8f0;background:#fff;border-inline-start:4px solid #94a3b8;grid-template-columns:88px 135px minmax(180px,1fr) 130px 90px 72px;align-items:center;gap:9px;min-width:0;padding:10px 12px;display:grid}.delivery-history-order-row:last-child{border-bottom:0}.delivery-history-order-row.status-assigned{border-inline-start-color:#f97316}.delivery-history-order-row.status-posted{border-inline-start-color:#0f766e}.delivery-history-order-row.status-cancelled{background:#fff7f7;border-inline-start-color:#b91c1c}.delivery-history-order-row>div{gap:2px;min-width:0;display:grid}.delivery-history-order-row>div>span{color:#64748b;font-size:10px;font-weight:800}.delivery-history-order-row>div>strong{color:#111827;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:900;overflow:hidden}.delivery-history-order-row>div:nth-child(3)>strong{overflow-wrap:anywhere;white-space:normal;line-height:1.35}.delivery-history-order-number strong{color:#0f766e!important;font-size:18px!important}.delivery-history-status{background:#f1f5f9;border-radius:999px;justify-self:start;padding:4px 7px;color:#475569!important;font-size:11px!important}.status-assigned .delivery-history-status{background:#fff7ed;color:#c2410c!important}.status-posted .delivery-history-status{background:#ecfdf5;color:#0f766e!important}.status-cancelled .delivery-history-status{background:#fef2f2;color:#b91c1c!important}.delivery-history-show{color:#c2410c;min-height:38px;font:inherit;cursor:pointer;background:#fff7ed;border:1px solid #fdba74;border-radius:10px;padding:6px 9px;font-size:13px;font-weight:950}.delivery-history-show:hover{background:#ffedd5;border-color:#f97316}.delivery-history-detail-overlay{z-index:7000;padding:max(16px, env(safe-area-inset-top)) 14px max(16px, env(safe-area-inset-bottom));background:#0f172aad;place-items:center;display:grid;position:fixed;inset:0;overflow-y:auto}.delivery-history-detail{color:#111827;background:#fff;border-radius:18px;width:min(620px,100%);max-height:calc(100dvh - 32px);overflow-y:auto;box-shadow:0 24px 70px #0f172a61}.delivery-history-detail-head{border-bottom:2px solid #111827;justify-content:space-between;align-items:flex-start;gap:12px;padding:16px;display:flex}.delivery-history-detail-head>div{gap:2px;display:grid}.delivery-history-detail-head span{color:#64748b;font-size:12px;font-weight:800}.delivery-history-detail-head h2{margin:0;font-size:24px;font-weight:950}.delivery-history-detail-head strong{color:#0f766e;font-size:16px}.delivery-history-detail-head>button{color:#111827;width:38px;height:38px;font:inherit;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:10px;font-weight:900}.delivery-history-detail-meta{background:#f8fafc;border-bottom:1px solid #e2e8f0;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:13px 16px;display:grid}.delivery-history-detail-meta>div{background:#fff;border:1px solid #e2e8f0;border-radius:10px;gap:3px;min-width:0;padding:9px;display:grid}.delivery-history-detail-meta span{color:#64748b;font-size:10px;font-weight:800}.delivery-history-detail-meta strong{overflow-wrap:anywhere;font-size:14px;font-weight:900}.delivery-history-detail-items{padding:12px 16px;display:grid}.delivery-history-detail-item{border-bottom:1px dashed #94a3b8;grid-template-columns:minmax(0,1fr) 64px 100px;align-items:center;gap:8px;padding:9px 4px;display:grid}.delivery-history-detail-item>div{gap:2px;min-width:0;display:grid}.delivery-history-detail-item>div>strong{overflow-wrap:anywhere;font-weight:900}.delivery-history-detail-item small{color:#64748b;font-size:10px}.delivery-history-detail-item>span,.delivery-history-detail-item>strong{text-align:center;white-space:nowrap;font-weight:900}.delivery-history-detail-item-head{background:#f8fafc;border-bottom:2px solid #111827}.delivery-history-detail-item.cancelled{color:#fff;background:#111827;text-decoration:line-through}.delivery-history-detail-item.cancelled small{color:#fff}.delivery-history-detail-error{color:#b91c1c;text-align:center;padding:12px;font-weight:900}.delivery-history-detail-totals{border-top:1px solid #e2e8f0;gap:7px;padding:13px 16px;display:grid}.delivery-history-detail-totals>div{justify-content:space-between;align-items:baseline;gap:12px;font-weight:800;display:flex}.delivery-history-detail-total-final{border:2px solid #111827;margin-top:3px;padding:11px;font-size:18px;font-weight:950!important}.delivery-history-detail-actions{padding:13px 16px max(13px, env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e2e8f0;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}@media (width<=700px){.compact-orders-header>div>a{border-radius:10px;min-height:36px;padding:6px 11px;font-size:13px}.delivery-history-page{width:min(100% - 20px,560px);padding-top:max(14px, env(safe-area-inset-top))}.delivery-history-header{display:grid}.delivery-history-header-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.delivery-history-filter{grid-template-columns:1fr;gap:8px;padding:10px}.delivery-history-presets{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.delivery-history-presets button{min-height:38px;padding:6px 3px;font-size:12px}.delivery-history-dates{grid-template-columns:1fr}.delivery-history-summary{background:#fff!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.7mm!important;padding:1.2mm 0!important}.delivery-history-summary>div{border:1px solid #000!important;border-radius:0!important;gap:.4mm!important;padding:1mm .4mm!important}.delivery-history-summary span{font-size:8px!important}.delivery-history-summary strong{font-size:10px!important}.delivery-history-table{padding:0!important}.delivery-history-table-head{display:none!important}.delivery-history-order-list{gap:1mm!important;display:grid!important}.delivery-history-order-row{break-inside:avoid;page-break-inside:avoid;background:#fff!important;border:1px solid #000!important;border-radius:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.7mm 1mm!important;padding:1mm!important;display:grid!important}.delivery-history-order-row>div{grid-area:auto!important;gap:0!important;min-width:0!important;display:grid!important}.delivery-history-order-row>div:first-child{grid-area:1/1!important}.delivery-history-order-row>div:nth-child(5){grid-area:1/2!important}.delivery-history-order-row>div:nth-child(2){grid-area:2/1!important}.delivery-history-order-row>div:nth-child(4){grid-area:2/2!important}.delivery-history-order-row>div:nth-child(3){grid-area:3/1/auto/-1!important}.delivery-history-order-row>div>span{font-size:7px!important}.delivery-history-order-row>div>strong{text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:9px!important;overflow:visible!important}.delivery-history-order-number strong{font-size:11px!important}.delivery-history-status{color:#000!important;background:#fff!important;border-radius:0!important;padding:0!important;font-size:9px!important}.delivery-history-detail-overlay{padding:max(8px, env(safe-area-inset-top)) 8px 0;align-items:end}.delivery-history-detail{width:100%;max-height:calc(100dvh - max(8px, env(safe-area-inset-top)));border-radius:18px 18px 0 0}.delivery-history-detail-head h2{font-size:20px}.delivery-history-detail-meta{gap:5px;padding:9px}.delivery-history-detail-meta>div{padding:7px}.delivery-history-detail-items{padding:8px 9px}.delivery-history-detail-item{grid-template-columns:minmax(0,1fr) 50px 75px;gap:5px;font-size:12px}.delivery-history-detail-totals{padding:10px}}@media print{.delivery-history-page{box-sizing:border-box!important;color:#000!important;background:#fff!important;width:72mm!important;min-width:0!important;max-width:72mm!important;margin:0 auto!important;padding:0!important;font-family:Times New Roman,Tahoma,Arial,sans-serif!important;font-size:11px!important;line-height:1.2!important}.delivery-history-page *,.delivery-history-page :before,.delivery-history-page :after{box-sizing:border-box!important;color:#000!important;box-shadow:none!important}.delivery-history-screen-only,.delivery-history-page.detail-open>.delivery-history-report{display:none!important}.delivery-history-report,.delivery-history-detail{border:0!important;border-radius:0!important;width:72mm!important;min-width:0!important;max-width:72mm!important;margin:0!important;overflow:visible!important}.delivery-history-report-title{border-bottom:1.5px solid #000!important;padding:0 0 1.5mm!important}.delivery-history-report-title span{font-size:9px!important}.delivery-history-report-title h2{margin:.5mm 0!important;font-size:16px!important}.delivery-history-report-title strong{font-size:10px!important}.delivery-history-summary{background:#fff!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.7mm!important;padding:1.2mm 0!important}.delivery-history-summary>div{border:1px solid #000!important;border-radius:0!important;gap:.4mm!important;padding:1mm .4mm!important}.delivery-history-summary span{font-size:8px!important}.delivery-history-summary strong{font-size:10px!important}.delivery-history-table{padding:0!important}.delivery-history-table-head{display:none!important}.delivery-history-order-list{gap:1mm!important;display:grid!important}.delivery-history-order-row{break-inside:avoid;page-break-inside:avoid;background:#fff!important;border:1px solid #000!important;border-radius:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.7mm 1mm!important;padding:1mm!important;display:grid!important}.delivery-history-order-row>div{grid-area:auto!important;gap:0!important;min-width:0!important;display:grid!important}.delivery-history-order-row>div:first-child{grid-area:1/1!important}.delivery-history-order-row>div:nth-child(5){grid-area:1/2!important}.delivery-history-order-row>div:nth-child(2){grid-area:2/1!important}.delivery-history-order-row>div:nth-child(4){grid-area:2/2!important}.delivery-history-order-row>div:nth-child(3){grid-area:3/1/auto/-1!important}.delivery-history-order-row>div>span{font-size:7px!important}.delivery-history-order-row>div>strong{text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:9px!important;overflow:visible!important}.delivery-history-order-number strong{font-size:11px!important}.delivery-history-status{color:#000!important;background:#fff!important;border-radius:0!important;padding:0!important;font-size:9px!important}.delivery-history-detail-overlay{background:#fff!important;padding:0!important;display:block!important;position:static!important;overflow:visible!important}.delivery-history-detail{max-height:none!important}.delivery-history-detail-head{text-align:center!important;border-bottom:1.5px solid #000!important;padding:0 0 1.5mm!important}.delivery-history-detail-head>div{width:100%!important}.delivery-history-detail-head span{font-size:9px!important}.delivery-history-detail-head h2{margin:.5mm 0!important;font-size:16px!important}.delivery-history-detail-head strong{font-size:12px!important}.delivery-history-detail-meta{background:#fff!important;border-bottom:1px solid #000!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.7mm!important;padding:1.2mm 0!important}.delivery-history-detail-meta>div{border:1px solid #000!important;border-radius:0!important;gap:0!important;padding:.7mm!important}.delivery-history-detail-meta span{font-size:8px!important}.delivery-history-detail-meta strong{font-size:10px!important}.delivery-history-detail-items{padding:1mm 0!important}.delivery-history-detail-item{break-inside:avoid;page-break-inside:avoid;border-bottom:1px solid #000!important;grid-template-columns:minmax(0,1fr) 12mm 20mm!important;gap:.7mm!important;padding:1mm .4mm!important;font-size:10px!important}.delivery-history-detail-item.cancelled{text-decoration:line-through;background:#fff!important}.delivery-history-detail-totals{border-top:1px solid #000!important;gap:.7mm!important;padding:1.2mm 0!important}.delivery-history-detail-total-final{border:2px solid #000!important;margin-top:.5mm!important;padding:1.2mm!important;font-size:13px!important}}@media screen and (width<=760px){.pos-products{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.pos-product-card{border-width:1px;border-radius:9px;flex-direction:column;justify-content:space-between;align-items:center;gap:4px;min-height:56px;padding:5px 4px;display:flex;box-shadow:0 1px 4px #0f172a12}.pos-product-card strong{text-align:center;overflow-wrap:anywhere;width:100%;min-width:0;font-size:12.5px;font-weight:900;line-height:1.15}.pos-product-card span{color:#fff;white-space:nowrap;border-radius:6px;align-self:center;padding:3px 5px;font-size:11px;line-height:1}.pos-product-card:nth-child(4n+1){background:#fff7ed;border-color:#fdba74}.pos-product-card:nth-child(4n+1) span{background:#ea580c}.pos-product-card:nth-child(4n+2){background:#f0fdf4;border-color:#86efac}.pos-product-card:nth-child(4n+2) span{background:#16a34a}.pos-product-card:nth-child(4n+3){background:#eff6ff;border-color:#93c5fd}.pos-product-card:nth-child(4n+3) span{background:#2563eb}.pos-product-card:nth-child(4n){background:#fefce8;border-color:#fde047}.pos-product-card:nth-child(4n) span{background:#ca8a04}.pos-product-card:active{filter:brightness(.94);transform:scale(.97)}}@media screen and (width<=380px){.pos-products{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-product-card{min-height:52px;padding:5px 4px}.pos-product-card strong{font-size:12px}.pos-product-card span{padding:3px 5px;font-size:10.5px}}html,body,#root{width:100%;max-width:100%;overflow-x:clip}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;overscroll-behavior-x:none}body{overscroll-behavior-x:none;position:relative}#root,.pos-page,.mobile-orders-page{min-width:0}button,a,input,select,textarea{touch-action:manipulation}@media screen and (width<=760px){input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important}.pos-page,.mobile-orders-page{width:100%;max-width:100%;margin-inline:auto;overflow-x:clip}.mobile-orders-page{padding-top:calc(env(safe-area-inset-top,0px) + 10px)}.compact-orders-header>div>a{z-index:2;position:relative}.pos-toolbar,.pos-order-kinds,.pos-delivery-panel,.pos-layout,.pos-catalog,.pos-products,.pos-cart{min-width:0;max-width:100%}}.driver-delivery-page{padding-bottom:86px}.driver-delivery-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:10px;display:grid}.driver-delivery-summary>div{text-align:center;background:#fff;border:1px solid #e5e5e1;border-radius:12px;min-width:0;min-height:64px;padding:9px 7px}.driver-delivery-summary span{color:#747474;white-space:nowrap;text-overflow:ellipsis;font-size:10px;font-weight:800;line-height:1.3;display:block;overflow:hidden}.driver-delivery-summary strong{margin-top:5px;font-size:20px;font-weight:900;line-height:1;display:block}.driver-post-all{z-index:500;left:50%;bottom:max(10px, env(safe-area-inset-bottom));color:#fff;cursor:pointer;background:#ff6b00;border:0;border-radius:14px;width:min(720px,100% - 22px);min-height:52px;padding:0 18px;font-size:15px;font-weight:900;position:fixed;transform:translate(-50%);box-shadow:0 8px 28px #0000002e}.driver-post-all:disabled{color:#fffffff2;opacity:1;box-shadow:none;cursor:not-allowed;background:#f3b181}.driver-select-all{color:#333;cursor:pointer;background:#fff;border:1px solid #d8d8d4;border-radius:9px;justify-content:center;align-items:center;width:auto;min-height:34px;margin:0 0 9px auto;padding:0 13px;font-size:12px;font-weight:850;display:inline-flex}.driver-select-all:hover{border-color:#ff6b00}.driver-select-all:disabled{opacity:.45;cursor:not-allowed}.driver-delivery-orders{grid-template-columns:repeat(auto-fit,minmax(270px,1fr));align-items:start;gap:10px;display:grid}.driver-order-card{background:#fff;border:1px solid #e4e4df;border-top:3px solid #ff6b00;border-radius:14px;min-width:0;transition:border-color .15s,box-shadow .15s,transform .15s;overflow:hidden;box-shadow:0 2px 8px #00000009}.driver-order-card:has(.driver-order-select input:checked){border-color:#ff6b00;box-shadow:0 0 0 2px #ff6b001f,0 5px 16px #0000000f}.driver-order-select{color:#555;cursor:pointer;justify-content:flex-start;align-items:center;gap:7px;width:fit-content;padding:8px 11px 3px;font-size:11px;font-weight:850;line-height:1;display:flex}.driver-order-select input[type=checkbox]{accent-color:#ff6b00;cursor:pointer;border-radius:3px;appearance:auto!important;-webkit-appearance:checkbox!important;box-sizing:border-box!important;border:initial!important;flex:0 0 18px!important;width:18px!important;min-width:18px!important;max-width:18px!important;height:18px!important;min-height:18px!important;max-height:18px!important;margin:0!important;padding:0!important}.driver-order-select input[type=checkbox]:disabled{cursor:not-allowed}.driver-order-number{padding:8px 11px}.driver-order-number strong{font-size:18px}.driver-order-value{padding:8px 11px}.driver-order-value strong{font-size:17px}.driver-order-customer{gap:3px;padding:0 11px 8px}.driver-order-customer strong{font-size:12px}.driver-order-customer span,.driver-order-customer small{font-size:11px}.driver-change-assignment{grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:0 9px 7px;display:grid}.driver-change-assignment select,.driver-change-assignment button{min-height:34px;font-size:11px}.driver-order-card>button{min-height:38px;margin-bottom:9px}@media (width<=559px){.driver-delivery-page{padding-left:10px;padding-right:10px;padding-bottom:calc(82px + env(safe-area-inset-bottom))}.driver-delivery-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.driver-delivery-summary>div{border-radius:10px;min-height:58px;padding:7px 4px}.driver-delivery-summary span{font-size:9px}.driver-delivery-summary strong{margin-top:4px;font-size:18px}.driver-delivery-orders{grid-template-columns:1fr;gap:9px}.driver-select-all{min-height:32px;padding:0 11px;font-size:11px}.driver-post-all{width:calc(100% - 20px);min-height:50px;bottom:max(8px, env(safe-area-inset-bottom))}}@media (width>=560px) and (width<=900px){.driver-delivery-orders{grid-template-columns:repeat(2,minmax(0,1fr))}}.driver-management-card .section-heading p{color:#78716c;margin:7px 0 0;font-size:13px;font-weight:700}.driver-management-card .driver-create-form{grid-template-columns:minmax(180px,1.3fr) minmax(150px,1fr) minmax(120px,.7fr) auto}.driver-management-identity{min-width:160px}.driver-management-identity small{color:#57534e;font-weight:700}.driver-management-controls{width:min(100%,690px)}.driver-management-controls .password-row{grid-template-columns:minmax(130px,1fr) minmax(105px,.65fr) auto}.driver-management-actions{justify-content:flex-end;gap:8px;display:flex}.driver-portal{color:#171717;background:radial-gradient(circle at 100% 0,#fff7ed 0,#0000 34%),#f5f5f2;min-height:100vh;padding:28px clamp(14px,4vw,48px) 40px}.driver-portal-header{justify-content:space-between;align-items:center;gap:18px;width:min(100%,1120px);margin:0 auto 18px;display:flex}.driver-portal-header h1{margin:5px 0;font-size:clamp(29px,5vw,44px)}.driver-portal-header p{color:#57534e;margin:0}.driver-portal-header-actions{gap:8px;display:flex}.driver-portal-header-actions button{border-radius:12px;min-height:44px;padding-inline:15px;font-weight:800}.driver-portal-signout{color:#9f1239;background:#fff1f2;border:1px solid #fecdd3}.driver-portal-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:min(100%,1120px);margin:0 auto 18px;display:grid}.driver-portal-summary>div{background:#ffffffeb;border:1px solid #e7e5e4;border-radius:16px;gap:7px;padding:16px;display:grid}.driver-portal-summary span{color:#78716c;font-size:12px;font-weight:800}.driver-portal-summary strong{font-size:22px}.driver-portal-alert,.driver-portal-empty,.driver-portal-refresh-note{width:min(100%,1120px);margin-inline:auto}.driver-portal-alert{border-radius:14px;margin-bottom:14px;padding:13px 15px;font-weight:800}.driver-portal-alert.error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.driver-portal-alert.success{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0}.driver-portal-empty{text-align:center;color:#57534e;background:#ffffffc7;border:1px dashed #d6d3d1;border-radius:18px;padding:42px 20px;font-weight:800}.driver-portal-orders{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;width:min(100%,1120px);margin:0 auto;display:grid}.driver-portal-order{background:#fff;border:1px solid #e7e5e4;border-radius:20px;overflow:hidden;box-shadow:0 12px 28px #1c19170f}.driver-portal-order.claimed{border-color:#86efac}.driver-portal-order-heading{border-bottom:1px solid #f0efed;justify-content:space-between;align-items:center;gap:12px;padding:17px;display:flex}.driver-portal-order-heading>div{gap:3px;display:grid}.driver-portal-order-heading>div span{color:#78716c;font-size:12px;font-weight:800}.driver-portal-order-heading>div strong{direction:ltr;font-size:31px;line-height:1}.driver-portal-state{border-radius:999px;padding:7px 10px;font-size:11px;font-weight:900}.driver-portal-state.available{color:#9a3412;background:#ffedd5}.driver-portal-state.assigned_to_you{color:#1d4ed8;background:#dbeafe}.driver-portal-state.claimed{color:#166534;background:#dcfce7}.driver-portal-locked-content{gap:14px;padding:18px;display:grid}.driver-portal-locked-content p{color:#57534e;margin:0;line-height:1.7}.driver-portal-locked-content button{color:#fff;background:#171717;border:0;border-radius:14px;min-height:52px;font-size:17px;font-weight:900}.driver-portal-contact{grid-template-columns:1fr auto;gap:12px;padding:18px;display:grid}.driver-portal-contact>div{gap:5px;display:grid}.driver-portal-contact span{color:#78716c;font-size:11px;font-weight:800}.driver-portal-contact a{color:#171717;text-align:right;font-size:22px;font-weight:900}.driver-portal-contact>button{background:#fafaf9;border:1px solid #d6d3d1;border-radius:11px;align-self:end;min-height:40px;padding-inline:12px;font-weight:800}.driver-portal-address,.driver-portal-amount{border-top:1px solid #f0efed;grid-column:1/-1;padding-top:12px}.driver-portal-address strong,.driver-portal-amount strong{font-size:18px;line-height:1.55}.driver-portal-address small{color:#57534e;font-weight:800}.driver-portal-refresh-note{color:#78716c;text-align:center;margin-top:18px;font-size:12px}@media (width<=850px){.driver-management-card .driver-create-form{grid-template-columns:repeat(2,minmax(0,1fr))}.driver-management-row{flex-direction:column;align-items:stretch}.driver-management-controls{width:100%}}@media (width<=620px){.driver-management-card .driver-create-form,.driver-management-controls .password-row{grid-template-columns:1fr}.driver-management-actions,.driver-portal-header,.driver-portal-header-actions{flex-direction:column;align-items:stretch}.driver-management-actions button{width:100%}.driver-portal{padding-top:18px}.driver-portal-summary{gap:6px}.driver-portal-summary>div{text-align:center;min-height:78px;padding:11px 7px}.driver-portal-summary span{font-size:10px}.driver-portal-summary strong{font-size:17px}.driver-portal-orders{grid-template-columns:1fr}}
