@import"https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&display=swap";:root{font-family:Cairo,system-ui,-apple-system,sans-serif;color:#2a1a12}body{margin:0;background:#f2fbf6}.center-screen{display:flex;align-items:center;justify-content:center;height:100vh}.signin-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#f2fbf6;padding:24px}.signin-card{width:100%;max-width:380px;background:#fff;border-radius:20px;padding:36px 32px;box-shadow:0 12px 32px #0000000f;text-align:center}.signin-brand{font-size:26px;font-weight:800;color:#e8890c}.signin-sub{font-size:11px;letter-spacing:.12em;color:#8a8a8a;margin:6px 0 24px}.signin-field{display:flex;flex-direction:column;gap:6px;text-align:start;font-size:13px;font-weight:600;color:#4a3a2f;margin-bottom:14px}.signin-field input{padding:12px 14px;border-radius:12px;border:1.5px solid #e7e2da;font-size:14px;font-family:inherit}.signin-field input:focus{outline:none;border-color:#e8890c}.signin-btn{width:100%;padding:13px;border-radius:12px;border:none;background:#e8890c;color:#fff;font-weight:700;font-size:15px;margin-top:4px;cursor:pointer}.signin-btn:disabled{opacity:.5}.signin-offline-btn{width:100%;padding:11px;border-radius:12px;border:1.5px solid #e7e2da;background:#fff;color:#4a3a2f;font-weight:600;font-size:13px;margin-top:8px;cursor:pointer;font-family:inherit}.signin-offline-btn:disabled{opacity:.5}.signin-offline-btn:hover{border-color:#e8890c;color:#e8890c}.signin-advanced-toggle{margin-top:14px;background:none;border:none;color:#a08a78;font-size:12px;text-decoration:underline;cursor:pointer}.signin-advanced{margin-top:12px;padding-top:12px;border-top:1px dashed #eee}.signin-footer{margin-top:20px;font-size:11px;color:#b0a89e}.error{color:#c0392b;font-size:13px;margin:6px 0}.hint{font-size:11px;color:#999;word-break:break-all}.pos-shell{display:flex;height:100vh;background:#f2fbf6}.pos-sidebar{width:220px;flex-shrink:0;display:flex;flex-direction:column;background:#2a1a12;color:#fff;padding:18px 14px}.pos-sidebar-brand{font-size:16px;font-weight:800;margin-bottom:22px;display:flex;align-items:center;gap:8px;line-height:1.2}.pos-sidebar-brand-mark{font-size:20px}.pos-sidebar-brand-sub{font-size:11px;font-weight:600;color:#e8890c;letter-spacing:.06em}.pos-nav{display:flex;flex-direction:column;gap:4px;flex:1;overflow-y:auto}.pos-nav-group{margin-bottom:10px}.pos-nav-group-label{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#fff6;padding:8px 12px 4px}.pos-nav-item{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:start;padding:10px 12px;border-radius:10px;border:none;background:transparent;color:#ffffffbf;font-family:inherit;font-size:14px;font-weight:600;cursor:pointer}.pos-nav-item:hover{background:#ffffff14;color:#fff}.pos-nav-item.active{background:#e8890c;color:#fff}.pos-nav-badge{font-size:11px;font-weight:700;background:#ffffff2e;padding:1px 7px;border-radius:999px}.pos-nav-item.active .pos-nav-badge{background:#0003}.pos-nav-dot{width:8px;height:8px;border-radius:999px;background:#ffcf6b;display:inline-block}.pos-sidebar-footer{display:flex;flex-direction:column;gap:8px;margin-top:14px;padding-top:14px;border-top:1px solid rgba(255,255,255,.12)}.pos-sidebar-footer button{padding:10px 12px;border-radius:10px;border:1px solid rgba(255,255,255,.2);background:transparent;color:#fff;font-family:inherit;font-size:13px;font-weight:600;cursor:pointer}.pos-sidebar-footer .clock-btn.clocked-in{background:#e8890c;border-color:#e8890c}.pos-sidebar-footer .logout-btn:hover{border-color:#f5a3a3;color:#f5a3a3}.pos-main{flex:1;display:flex;flex-direction:column;min-width:0;overflow:hidden}@media (max-width: 900px){.pos-shell{flex-direction:column;height:100vh}.pos-sidebar{width:auto;flex-shrink:0;flex-direction:row;align-items:center;padding:8px 10px;gap:10px;overflow:hidden}.pos-sidebar-brand{margin-bottom:0;flex-shrink:0}.pos-sidebar-brand-mark{font-size:16px}.pos-sidebar-brand>div>div:first-child{font-size:13px}.pos-sidebar-brand-sub{font-size:9px}.pos-nav{flex-direction:row;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;gap:2px;flex:1;min-width:0;-webkit-overflow-scrolling:touch}.pos-nav-group{display:flex;flex-wrap:nowrap;align-items:center;gap:2px;margin-bottom:0;flex-shrink:0}.pos-nav-group-label{display:none}.pos-nav-item{padding:7px 10px;font-size:12px;white-space:nowrap;flex-shrink:0}.pos-sidebar-footer{flex-direction:row;margin-top:0;padding-top:0;padding-inline-start:8px;border-top:none;border-inline-start:1px solid rgba(255,255,255,.12);flex-shrink:0}.pos-sidebar-footer button{padding:7px 10px;font-size:12px;white-space:nowrap}.pos-main{flex:1;min-height:0}}.pos-topbar{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;border-bottom:1px solid #eee;background:#fff;flex-wrap:wrap;row-gap:8px}.pos-topbar-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.pos-breadcrumb{font-size:12px;color:#9a9184;margin-bottom:6px}.pos-user-chip{display:flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;border-radius:999px;background:#f5f1ea}.pos-user-chip-avatar{width:26px;height:26px;border-radius:999px;background:#2a1a12;color:#fff;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700}.pos-user-chip-role{font-size:12px;font-weight:600;color:#2a1a12;text-transform:capitalize}@media (max-width: 700px){.pos-topbar{padding:10px 12px}.pos-topbar>button,.pos-topbar-actions>button{font-size:12px;padding:7px 10px}.pos-user-chip-role{display:none}.pos-user-chip{padding:4px}}.badge{font-size:11px;padding:3px 10px;border-radius:999px;margin-inline-start:6px;font-weight:600}.badge.online{background:#d4f4dd;color:#1e7e34}.badge.offline{background:#f8d7da;color:#a71d2a}.badge.pending{background:#fff3cd;color:#856404}.badge.failed{background:#f8d7da;color:#a71d2a;font-weight:700}.signed-out-badge{background:#f8d7da;color:#a71d2a;border:none;cursor:pointer;font-family:inherit;font-weight:600}.signed-out-badge:hover{background:#f5c6cb}.pos-topbar>button{padding:8px 14px;border-radius:10px;border:1px solid #e7e2da;background:#fff;font-family:inherit;font-size:13px;cursor:pointer}.pos-topbar>button:hover{border-color:#e8890c;color:#e8890c}.clock-btn.clocked-in{background:#2a1a12;color:#fff;border-color:#2a1a12}.charge-btn.clocked-in{background:#2a1a12}.geofence-hint{margin-top:6px;font-size:12px;font-weight:600}.geofence-in{color:#1e7e34}.geofence-out{color:#a71d2a}.break-timer-card{display:flex;align-items:center;justify-content:space-between;background:#fff4e5;border:1px solid #f0c987;border-radius:12px;padding:14px 18px;margin-bottom:16px}.break-timer-label{font-size:13px;font-weight:700;color:#a15c00;text-transform:uppercase;letter-spacing:.04em}.break-timer-clock{font-size:28px;font-weight:800;color:#2a1a12;font-variant-numeric:tabular-nums}.report-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;margin-bottom:18px}.report-field{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#6b6257;font-weight:600}.report-field input{padding:8px 10px;border-radius:8px;border:1px solid #e7e2da;font-family:inherit;font-size:14px}.kitchen-batch{background:#fff;border-radius:14px;padding:14px 16px;margin-bottom:14px}.kitchen-batch h3{margin:0 0 10px;font-size:15px}.chat-thread{display:flex;flex-direction:column;gap:8px;padding:10px 0;max-height:50vh;overflow-y:auto}.chat-bubble{max-width:75%;padding:8px 12px;border-radius:12px;font-size:14px}.chat-bubble.me{align-self:flex-end;background:#e8890c;color:#fff}.chat-bubble.other{align-self:flex-start;background:#fff}.chat-meta{display:block;font-size:10px;opacity:.7;margin-top:4px}.chat-compose{display:flex;gap:8px;margin-top:10px}.chat-compose input{flex:1;padding:10px 12px;border-radius:10px;border:1px solid #e7e2da;font-family:inherit}.chat-compose button{padding:10px 16px;border-radius:10px;border:none;background:#e8890c;color:#fff;font-weight:600;cursor:pointer}.toast{position:fixed;bottom:16px;inset-inline:16px;background:#2a1a12;color:#fff;padding:10px 14px;border-radius:10px;text-align:center;z-index:50;cursor:pointer}.pos-body{display:grid;grid-template-columns:1fr 360px;gap:18px;padding:18px;flex:1;overflow:hidden;min-width:0}.pos-catalog{overflow-y:auto;min-width:0}@media (max-width: 900px){.pos-body{grid-template-columns:1fr;overflow-y:auto;height:auto}.pos-catalog{overflow:visible}.pos-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}.pos-cart{min-height:260px}.pos-header{flex-wrap:wrap;row-gap:8px}}.pos-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.pos-toolbar input{flex:1;min-width:180px;padding:10px 14px;border-radius:10px;border:1.5px solid #e7e2da;font-family:inherit}.chip{padding:7px 14px;border-radius:999px;border:1.5px solid #e7e2da;background:#fff;font-size:12px;font-weight:600;cursor:pointer;font-family:inherit}.chip.active{background:#e8890c;color:#fff;border-color:#e8890c}.pos-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.pos-tile{padding:14px;border-radius:16px;border:1px solid #eee;background:#fff;text-align:start;cursor:pointer;transition:transform .1s,border-color .1s;font-family:inherit}.pos-tile:hover{transform:translateY(-2px);border-color:#e8890c80}.pos-tile-img{width:48px;height:48px;border-radius:12px;object-fit:cover;margin-bottom:8px}.pos-tile-img-placeholder{display:flex;align-items:center;justify-content:center;font-size:24px;background:#fff2e0}.pos-tile-name{font-size:13px;font-weight:700;color:#2a1a12}.pos-tile-price{font-size:12px;color:#e8890c;font-weight:700;margin-top:4px}.pos-empty{grid-column:1 / -1;text-align:center;color:#999;padding:32px}.pos-cart{background:#fff;border:1px solid #eee;border-radius:18px;padding:18px;display:flex;flex-direction:column}.pos-cart h2{font-size:15px;margin:0 0 12px}.pos-cart input{padding:10px 14px;border-radius:10px;border:1.5px solid #e7e2da;margin-bottom:12px;font-family:inherit}.cart-lines{list-style:none;margin:0;padding:0;flex:1;overflow-y:auto}.cart-lines li{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #f2f2f2;font-size:13px}.cart-line-qty button{width:24px;height:24px;border-radius:7px;border:1px solid #e7e2da;background:#fff;margin:0 4px;cursor:pointer}.cart-empty{text-align:center;color:#999;padding:28px 0}.cart-total{display:flex;justify-content:space-between;font-weight:800;font-size:19px;padding:14px 0;border-top:1px solid #eee}.charge-btn{padding:15px;border-radius:12px;border:none;background:#e8890c;color:#fff;font-weight:700;font-size:15px;cursor:pointer;font-family:inherit}.charge-btn:disabled{opacity:.5}.clear-btn{margin-top:8px;padding:10px;border-radius:10px;border:none;background:transparent;color:#c0392b;cursor:pointer;font-family:inherit}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:100}.report-modal{width:720px;max-width:92vw;max-height:85vh;overflow-y:auto}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;margin-bottom:16px}.kpi-tile{border:1px solid #e7e2da;border-radius:14px;background:#fff;padding:12px 14px;box-shadow:0 1px 2px #00000008}.kpi-label{font-size:11px;color:#6b6257}.kpi-value{font-size:20px;font-weight:800;color:#2a1a12;margin-top:4px}.section-label{font-size:12px;font-weight:700;color:#6b6257;text-transform:uppercase;letter-spacing:.03em;margin:14px 0 8px}.clickable-row{cursor:pointer}.clickable-row:hover{background:#fff6ea}.kitchen-batch-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.kitchen-batch-title{font-size:16px;font-weight:800;color:#2a1a12}.progress-bar{height:8px;border-radius:999px;background:#f0ece3;overflow:hidden;margin-bottom:14px}.progress-bar-fill{height:100%;background:#e8890c;border-radius:999px;transition:width .3s ease}.kitchen-step-row{border-top:1px solid #f0ece3;padding:10px 0}.kitchen-step-row-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:2px}.modal{background:#fff;border-radius:18px;padding:22px;width:340px}.pay-option{display:block;width:100%;text-align:start;padding:13px;border-radius:12px;border:1.5px solid #e7e2da;margin-bottom:8px;background:#fff;cursor:pointer;font-family:inherit}.pay-option.active{border-color:#e8890c;background:#fff6ea}.photo-attach-label{display:block;font-size:12.5px;color:#6b6255;margin-top:14px;margin-bottom:6px}.photo-attach-label input{display:block;width:100%;margin-top:6px;font-size:12.5px}.photo-attach-preview{display:flex;align-items:center;gap:10px;margin-top:8px}.photo-attach-preview img{width:56px;height:56px;object-fit:cover;border-radius:10px;border:1.5px solid #e7e2da}.photo-attach-preview button{border:none;background:none;color:#c0392b;font-size:12.5px;cursor:pointer;padding:0}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.modal-actions button{padding:10px 16px;border-radius:10px;border:1px solid #e7e2da;background:#fff;cursor:pointer;font-family:inherit}.modal-actions button:last-child{background:#e8890c;color:#fff;border:none}.orders-tab{padding:22px;overflow-y:auto;background:#f2fbf6;height:100%;flex:1;min-height:0}.orders-tab-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.orders-tab-header h2{font-size:22px;font-weight:800;margin:0}.orders-tab-sub{margin:4px 0 0;color:#8a8a8a;font-size:13px}.sync-now-btn{padding:10px 16px;border-radius:10px;border:1px solid #e7e2da;background:#fff;cursor:pointer;font-family:inherit;font-weight:600}.orders-tab-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.orders-filter{padding:8px 14px;border-radius:999px;border:none;background:#fff;font-size:12px;font-weight:600;color:#6b6257;cursor:pointer;font-family:inherit}.orders-filter.active{background:#2a1a12;color:#fff}.orders-table{width:100%;border-collapse:collapse;font-size:13px;background:#fff;border-radius:14px;overflow:hidden}.orders-table th{text-align:start;padding:12px 14px;font-size:12px;color:#8a8a8a;font-weight:600;border-bottom:1px solid #eee}.orders-table td{padding:12px 14px;border-bottom:1px solid #f2f2f2}.order-number-cell{font-family:Courier New,monospace;font-size:12px;color:#6b6257}.order-total-cell{font-weight:700}.orders-empty{text-align:center;color:#999;padding:32px!important}.channel-pill{display:inline-block;padding:3px 10px;border-radius:999px;background:#2a1a12;color:#fff;font-size:11px;font-weight:600}.pill{display:inline-block;padding:4px 12px;border-radius:999px;font-size:11px;font-weight:700}.pill-pending{background:#fff3cd;color:#856404}.pill-failed{background:#f8d7da;color:#a71d2a}.pill-success{background:#d4f4dd;color:#1e7e34}.link-btn{background:none;border:none;color:#e8890c;cursor:pointer;font-family:inherit;font-size:12px;font-weight:600}.link-btn:hover{text-decoration:underline}.invoice-modal{width:100%;max-width:420px}.receipt-container{width:100%;background:#fff;border-radius:24px;padding:24px;box-shadow:0 25px 50px -12px #00000040;border:2px solid rgba(232,137,12,.2);color:#3d1a0a}.receipt-header{text-align:center;margin-bottom:24px}.receipt-logo{font-size:28px;font-weight:900;color:#3d1a0a;margin:0;letter-spacing:-1px}.receipt-success-icon{width:48px;height:48px;background:#dcfce7;color:#22c55e;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:12px auto;font-size:24px}.receipt-title{font-size:24px;font-weight:800;margin:8px 0}.receipt-badges{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.receipt-badge{background:#3d1a0a0d;color:#3d1a0a;padding:4px 12px;border-radius:99px;font-size:13px;font-weight:700;display:inline-flex;align-items:center;gap:6px}.receipt-badge.primary{background:#e8890c1a;color:#e8890c;text-transform:uppercase;font-size:10px;letter-spacing:1px}.receipt-section{background:#3d1a0a0d;border:1px solid rgba(61,26,10,.1);border-radius:12px;padding:12px;margin-bottom:12px;text-align:left}.receipt-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.receipt-label{color:#3d1a0a80;font-weight:700;font-size:12px;display:block;margin-bottom:2px}.receipt-value{font-weight:700;font-size:12px;word-break:break-word}.receipt-section-title{font-weight:700;font-size:12px;margin:0 0 8px;color:#3d1a0a}.receipt-item-row{display:flex;justify-content:space-between;border-bottom:1px solid rgba(61,26,10,.05);padding-bottom:6px;margin-bottom:6px}.receipt-item-row:last-child{border-bottom:none;padding-bottom:0;margin-bottom:0}.receipt-item-name{font-weight:700;font-size:12px;margin:0}.receipt-item-price{font-weight:800;font-size:12px}.receipt-totals{border-top:1px solid rgba(61,26,10,.1);padding-top:12px;margin-top:12px;font-size:12px}.receipt-grand-total{display:flex;justify-content:space-between;font-size:18px;font-weight:800}.receipt-total-val{color:#e8890c;font-weight:900}.receipt-payment-row{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}@media print{body *{visibility:hidden}#receipt-print,#receipt-print *{visibility:visible}#receipt-print{position:fixed;top:0;left:0;width:100%;box-shadow:none;border:none}}
