@font-face{font-family:Cairo;src:url('assets/cairo-regular.ttf')}@font-face{font-family:Cairo;src:url('assets/cairo-bold.ttf');font-weight:700}*{box-sizing:border-box}body{margin:0;background:#f5f6f8;color:#263239;font:13px Cairo,Tahoma,sans-serif}button,input,select,textarea{font:inherit}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;border:1px solid #dfe3e7;background:white;border-radius:9px;padding:10px 15px;transition:background .15s,border-color .15s;color:inherit;font-weight:700}button:hover{background:#eff2f9;border-color:#99a9ca}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #93a4c7;outline-offset:2px}svg{width:20px;height:20px;display:block;flex-shrink:0}[data-icon]{display:inline-flex;align-items:center}aside{position:fixed;right:0;top:0;bottom:0;width:218px;background:#192a30;color:#b1bed7;padding:28px 16px;z-index:2;overflow:auto}.wordmark{display:flex;align-items:baseline;gap:11px;color:#edf1f8;font-size:31px;font-weight:700;letter-spacing:-1px;padding:0 14px}.wordmark>span{font:10px Arial;letter-spacing:3px;color:#7c94c5}.restaurant-switch{display:flex;gap:10px;padding:18px 10px;margin:24px 0 20px;border-top:1px solid #ffffff12;border-bottom:1px solid #ffffff12}.restaurant-switch b{font-size:12px;color:#e8ecf5}.restaurant-switch small{display:block;font-size:9px;color:#7e93bc;margin-top:5px}.restaurant-icon{background:#293d43;padding:10px;border-radius:8px;color:#87a0d2}.nav-label{font-size:9px;letter-spacing:.3px;color:#8b9ea3;margin:20px 13px 9px}nav{display:flex;flex-direction:column;gap:5px}nav button{justify-content:flex-start;background:transparent;border:0;border-radius:8px;color:#b8c7cb;font-weight:400;font-size:11px;padding:12px;white-space:nowrap;gap:11px;position:relative}nav button svg{width:18px;height:18px}nav button.active{background:#1b315d;color:#9db8ed;font-weight:700}nav button.active:before{content:'';height:18px;width:3px;background:#7092d5;position:absolute;right:0;border-radius:3px}nav button:hover{background:#ffffff0a;color:white}nav em{font-style:normal;margin-right:auto;font-size:10px;padding:0 7px;border-radius:4px;background:#ffffff12}.aside-bottom{font-size:9px;margin:36px 8px 0;padding-top:18px;border-top:1px solid #ffffff12}.aside-bottom b{font-weight:400}.aside-bottom small{display:block;color:#8b9ea3;margin:10px 12px}.status-dot{display:inline-block;width:6px;height:6px;background:#76b79b;border-radius:50%;margin-left:7px}.app-body{margin-right:218px}header{height:78px;background:#fff;border-bottom:1px solid #e5e8eb;display:flex;align-items:center;justify-content:space-between;padding:0 30px}.breadcrumb{display:flex;gap:14px;font-size:11px}.breadcrumb span,.breadcrumb i{color:#9ba5aa;font-style:normal}.header-right{display:flex;align-items:center;gap:12px;font-size:10px}.header-right>div b{display:block;font-size:11px}.header-right small{display:block;color:#97a2a7;font-size:9px}.header-right #date{color:#889399;margin-left:8px}.header-divider{width:1px;height:27px;background:#e8ebed;margin:0 8px}.avatar{display:grid;place-items:center;background:#e5eaf5;color:#425781;border:1px solid #d1daec;width:36px;height:36px;border-radius:11px;font-size:15px;font-weight:bold}.icon-button{padding:9px;background:transparent;border:0;border-radius:8px;color:#89969a}.icon-button svg{width:18px;height:18px}main{padding:25px 28px 12px;max-width:1850px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.section-kicker{font-size:10px;color:#657eb0}h1{font-size:25px;margin:4px 0;font-weight:700;letter-spacing:-.5px}h2{font-size:15px;margin:0 0 12px;font-weight:700}h3{font-size:14px}p{font-size:12px;color:#8b969c;line-height:1.95;margin:8px 0 18px}.shift-status{display:flex;align-items:center;gap:10px;font-size:10px;padding:8px 13px;background:white;border:1px solid #e0e7e2;border-radius:7px}.shift-status button{font-size:10px;padding:5px 10px}.pill{display:inline-block;font-size:9px;padding:4px 9px;line-height:1.7;border-radius:5px;font-weight:700;white-space:nowrap}.pill.success{background:#edf5ef;color:#52856b}.pill.warning{background:#fff5e5;color:#a07837}.pill.danger{background:#fbeeed;color:#b46b61}.pill.neutral{background:#eff1f4;color:#89909c}.muted{color:#8c969e;font-size:10px}#pos{display:grid;grid-template-columns:minmax(400px,1fr) 348px;gap:23px;align-items:start}.pos-summary{display:grid;grid-template-columns:1.4fr 1fr 1fr;background:#fff;border:1px solid #e5e9eb;border-radius:12px;padding:17px 9px;margin-bottom:25px}.pos-summary>div{display:flex;align-items:center;gap:10px;padding:0 15px;border-left:1px solid #e1e7f3}.pos-summary>div:last-child{border:0}.summary-icon{padding:10px;background:#eef1f8;color:#4f689a;border-radius:10px}.summary-icon svg{width:20px;height:20px}.pos-summary small{font-size:9px;color:#6e86b5}.pos-summary b{display:block;font-size:17px;color:#16284c;font-family:Cairo,Arial;line-height:1.65;margin-top:4px}.catalog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px}.catalog-toolbar h2{font-size:17px;margin:0}.catalog-toolbar p{font-size:10px;margin:4px 0 0}.count-badge{display:inline-block;font-size:10px;padding:1px 7px;background:#e3e9f4;color:#536da1;border-radius:5px;margin-right:6px;vertical-align:middle}.search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e1e6e8;border-radius:9px;padding:0 12px;width:230px}.search svg{width:17px;color:#8498c0}.search input{border:0;background:transparent;padding:12px 0;font-size:10px}.chips{display:flex;gap:7px;margin:23px 0 18px;flex-wrap:wrap}.chips button{font-size:10px;background:#fff;border:1px solid #e2e6e8;padding:9px 16px;border-radius:7px;font-weight:400}.chips .active{background:#1c3361;color:white;border-color:#1c3361}.chips span{font:10px Arial;opacity:.6;margin-right:9px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.product-card{display:block;text-align:right;padding:0;overflow:hidden;border:1px solid #e1e5e8;border-radius:12px;background:#fff;position:relative;box-shadow:0 2px 3px #26323902}.product-card:hover{border-color:#677fb0;box-shadow:0 6px 20px #12213f0b;background:#fff}.product-card .media{height:139px;margin:7px 7px 0;border-radius:8px;background:#e5eaf5;display:grid;place-items:center;overflow:hidden}.product-card .media.drink{background:#e4e9f4}.product-card .media.dish{background:#e8ecf5}.product-card .media.wrap{background:#e5eaf5}.food-art{width:100%;height:100%;max-width:215px;transition:transform .2s}.product-card:hover .food-art{transform:scale(1.045)}.product-card .product-info{padding:13px 14px 15px}.product-card .category-label{display:block;font-size:8px;color:#7c91bb;font-weight:400}.product-card b{font-size:12px;display:block;margin:3px 0 9px}.product-card .price-row{display:flex;align-items:center;justify-content:space-between;color:#1e3667;font-size:13px}.add-mark{display:grid;place-items:center;width:27px;height:27px;border:1px solid #d7dfee;border-radius:7px;font:19px Arial;font-weight:400;color:#3c4e74;background:#f6f8fb}.selected-count{position:absolute;top:15px;right:15px;background:#1f396c;color:white;min-width:23px;height:23px;display:grid;place-items:center;border-radius:6px;font:11px Arial;box-shadow:0 2px 5px #0001}.cart{background:#fff;border:1px solid #e1e5e7;border-radius:13px;overflow:hidden;box-shadow:0 5px 20px #0f1c3504}.cart-heading{padding:19px 21px 15px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e8ecf5}.cart-heading .section-kicker{font-size:8px}.cart-heading h2{font-size:17px;margin:3px 0 0}.cart-content{padding:17px 20px 0}.field-row{display:flex;gap:10px}.field-row>*{min-width:0;flex:1}.field-row>button{flex:0 0 auto}label{display:block;font-size:10px;font-weight:700;color:#5e78ac;line-height:2;margin-bottom:14px}input,select,textarea{display:block;width:100%;padding:10px 12px;border:1px solid #d7dfef;border-radius:7px;background:#fff;color:#1f3869;font-size:11px;font-weight:400;min-height:40px}input::placeholder,textarea::placeholder{color:#a9b0b2}textarea{resize:vertical;min-height:58px;height:58px}input:disabled{background:#f4f6fa}select{cursor:pointer}.cart-list-heading{display:flex;justify-content:space-between;color:#a1abad;font-size:9px;border-bottom:1px dashed #d9e1f0;padding:3px 0 10px}#cart-items{min-height:148px;max-height:260px;overflow:auto}.line{padding:15px 0;border-bottom:1px solid #e8ecf5}.line:last-child{border:0}.line-top,.line-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px}.line-top{font-size:11px}.line-top>span{font-weight:700;font-size:12px}.line-bottom{margin-top:7px;font-size:9px;color:#8195be}.quantity{display:flex;gap:11px;align-items:center;color:#3e5177}.quantity button{padding:0;width:23px;height:23px;font:15px Arial;border-radius:5px;min-height:0;background:#f9fafc}.note-label{margin-top:13px}.note-label>span{vertical-align:middle;margin-left:5px}.note-label svg{width:12px;height:12px}.note-label textarea{margin-top:5px;background:#fafbfc;font-size:10px}.cart-footer{padding:17px 20px 19px;background:#fdfdfe;border-top:1px solid #e8ecf5}.subtotal{display:flex;justify-content:space-between;color:#8094bd;font-size:10px}.total{display:flex;justify-content:space-between;align-items:center;padding:13px 0 17px;font-size:12px}.total b{font-size:23px;letter-spacing:-.5px;color:#1c325f}.primary{background:#1f3869;border-color:#1f3869;color:white;font-weight:700}.primary:hover{background:#182c53;border-color:#182c53;color:white}.cart-footer>.primary{width:100%;justify-content:space-between;padding:13px 17px;font-size:13px}.cart-footer>.secondary{width:100%;margin-top:9px;font-size:11px;padding:10px;color:#50699a}.cart-footer .hint{display:block;text-align:center;font-size:8px;margin:11px 0 0}.hint{color:#7a90bb;font-size:10px;line-height:1.9}.danger{color:#b66e63}.empty{padding:45px 20px;color:#7a90bb;font-size:12px;text-align:center;line-height:2}.empty svg{margin:0 auto 13px;color:#a7b5d2;width:32px;height:32px}.product-grid>.empty{grid-column:1/-1;background:#f8f9fc;border:1px dashed #cdd7ea;border-radius:12px}.panel{background:white;border:1px solid #e3e7ea;border-radius:12px;padding:23px;margin-bottom:20px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.panel-heading h2{margin:0}.panel-heading p{font-size:10px;margin:5px 0 0}.compact-search{max-width:240px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:11px}th,td{text-align:right;padding:14px 10px;border-bottom:1px solid #eef0f2;white-space:nowrap}th{font-size:9px;color:#798fba;font-weight:400;background:#fafbfc}td{color:#40547b}td strong,td b{color:#1c3361}tbody tr:hover{background:#fafbfd}td button{padding:5px 9px;font-size:9px;margin-left:6px;border-radius:5px}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid{display:grid;grid-template-columns:2fr 1.4fr 1fr auto auto;gap:12px;align-items:end;margin-bottom:25px}.form-grid label{margin:0}.form-grid button{margin-bottom:1px;min-height:40px;font-size:11px}.button-row{display:flex;gap:10px;flex-wrap:wrap}.report-toolbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:21px}.segmented{display:flex;padding:4px;background:#e9ecef;border-radius:8px;gap:3px}.segmented button{border:0;background:transparent;font-size:10px;padding:8px 14px;color:#8c979e}.segmented .active{background:white;color:#1d3462;box-shadow:0 1px 4px #0000000a}.date-range{display:flex;gap:9px;align-items:center;font-size:10px}.date-range input{max-width:137px;font-size:10px;min-height:37px;padding:7px 9px}.date-range button{font-size:10px;padding:7px 13px}.export-buttons{display:flex;gap:8px;margin-right:auto}.export-buttons button{font-size:10px;padding:8px 12px}.export-buttons svg{width:14px;height:14px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:21px}.stats article{background:#fff;border:1px solid #e1e6e8;border-radius:12px;padding:19px 21px;position:relative}.stats article.featured{background:#1a2f5a;color:white;border-color:#1a2f5a}.stats article .stat-label{font-size:10px;color:#748ab7}.stats .featured .stat-label{color:#bac5db}.stats strong{display:block;font-size:25px;margin:12px 0 5px;letter-spacing:-.6px;font-weight:700}.stats small{font-size:9px;color:#879ac1}.stats .featured small{color:#9faecd}.stats .stat-icon{position:absolute;left:19px;top:17px;color:#a7b5d2}.stat-icon svg{width:18px;height:18px}.report-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:20px}.chart-panel{min-height:290px}.chart-key{display:flex;align-items:center;gap:7px;font-size:9px;color:#7289b7}.chart-key i{width:6px;height:6px;background:#465c89;border-radius:50%}#sales-chart svg{width:100%;height:218px;overflow:visible}.chart-label{fill:#8094bd;font:10px Arial}.chart-date{fill:#7d92bc;font:9px Arial}.payment-row{padding:19px 0;border-bottom:1px solid #e9edf6}.payment-row:last-child{border:0}.payment-row .top{display:flex;justify-content:space-between;align-items:center}.payment-row .top>span{font-size:11px}.payment-row strong{font-size:17px}.payment-row .bar{height:6px;background:#eaeef6;border-radius:4px;margin:13px 0 9px;overflow:hidden}.payment-row .bar>i{height:100%;display:block;background:#50699a;border-radius:4px}.payment-row:nth-child(2) .bar>i{background:#7e96c7}.payment-row small{font-size:9px;color:#8296be}.operating-row{display:flex;align-items:center;justify-content:space-between;font-size:11px;padding:13px 0;border-bottom:1px solid #e8edf6}.operating-row.emphasis{font-weight:700;color:#203a6d;font-size:13px;border:0}.notice{background:#eef2fb;border:1px solid #d7dfee;border-radius:8px;padding:12px 14px;font-size:10px;color:#536da2;line-height:1.9;margin-top:14px}.cash-equation{display:flex;flex-direction:column;text-align:center;align-items:center;gap:8px;padding:20px;background:#f4f6fb;border-radius:10px;font-size:12px}.cash-equation>b{font:19px Arial;color:#aab8d3}.large-icon{padding:15px;background:#ebeff7;border-radius:12px;margin-bottom:18px;color:#617aad}.large-icon svg{width:26px;height:26px}.draft-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.draft-card{background:white;border:1px solid #d8e0ef;border-radius:12px;padding:23px}.draft-card .draft-top{display:flex;justify-content:space-between;align-items:center}.draft-card h2{font-size:20px;margin:12px 0}.draft-card .draft-price{font-size:22px;font-weight:700;color:#213c71;margin:20px 0}.draft-card .button-row button{flex:1;font-size:10px}.inventory-summary{margin-bottom:20px}.inventory-summary .notice{margin:0}.readiness-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.readiness-grid>div{padding-left:16px;border-left:1px solid #e1e7f3}.readiness-grid>div:last-child{border:0}.readiness-grid p{font-size:11px}.auth-screen{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:#12213e;padding:60px 70px;display:flex;flex-direction:column;justify-content:space-between;color:white;position:relative;overflow:hidden}.auth-story:after{content:'';position:absolute;width:650px;height:650px;border:1px solid #ffffff0b;border-radius:50%;left:-350px;top:100px;box-shadow:0 0 0 70px #ffffff03,0 0 0 140px #ffffff03;pointer-events:none}.auth-story .wordmark{padding:0}.auth-story h1{font-size:52px;line-height:1.7;margin:22px 0}.auth-story p{color:#a4b3d0;font-size:15px;line-height:2.2}.auth-story small{color:#8296bf;font-size:10px}.eyebrow{color:#869fd2;font-size:12px}.auth-form-wrap{display:flex;align-items:center;justify-content:center;padding:50px}.auth-form-wrap form{width:350px}.auth-form-wrap h2{font-size:29px;margin:13px 0}.auth-form-wrap label{font-size:12px;margin-bottom:22px}.auth-form-wrap input{min-height:48px;font-size:14px}.auth-form-wrap button{width:100%;justify-content:space-between;padding:14px 20px;margin-top:10px}.auth-form-wrap small{font-size:10px;color:#8fa1c6}.auth-form-wrap #auth-error{color:#b06356;font-size:12px;min-height:25px}footer{display:flex;justify-content:space-between;padding:22px 0 0;margin-top:14px;color:#889bc2;font-size:8px}footer b{color:#7d92bc;margin:0 8px}#toast{position:fixed;bottom:25px;left:25px;max-width:540px;background:#142547;color:#fff;padding:17px 24px;border-radius:10px;box-shadow:0 8px 40px #0d172b2b;z-index:20;font-size:12px}dialog{border:1px solid #d1daec;border-radius:16px;padding:30px;width:550px;max-height:88vh;overflow:auto;color:#192e58}dialog::backdrop{background:#0d172bcc;backdrop-filter:blur(3px)}dialog>.primary{width:100%;margin-top:18px}dialog .receipt-head{text-align:center;border-bottom:1px dashed #cfd9cf;padding-bottom:18px}dialog .receipt-head h2{font-size:23px}dialog .receipt-meta{font-size:11px;text-align:center;color:#91a08f}dialog .receipt-meta p{font-size:11px}.recipe-line{display:flex;justify-content:space-between;align-items:center;padding:12px;border-bottom:1px solid #eee;font-size:12px}.recipe-line button{padding:3px 9px}#recipe-lines{margin-bottom:22px}#refund-panel{padding:15px;background:#fff6f3;border-radius:9px;margin:15px 0}[hidden]{display:none!important}@media(min-width:1600px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1250px){aside{width:192px;padding:24px 12px}.app-body{margin-right:192px}main{padding:22px 18px}header{padding:0 22px}#pos{grid-template-columns:minmax(350px,1fr) 310px;gap:16px}.product-grid{gap:11px}.product-card .media{height:115px}.product-card .product-info{padding:10px}.catalog-toolbar{align-items:flex-start;flex-direction:column}.search{width:100%}.pos-summary{padding:12px 5px}.pos-summary>div{padding:0 9px;gap:7px}.summary-icon{display:none}.pos-summary b{font-size:16px}.stats strong{font-size:20px}.form-grid{grid-template-columns:repeat(3,1fr)}.header-right #date{display:none}.cart-content,.cart-footer{padding-right:16px;padding-left:16px}.report-grid{grid-template-columns:1.5fr 1fr}.date-range{margin-right:auto}.auth-story{padding:45px}.auth-story h1{font-size:40px}}
#table-map{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.table-tile{display:flex;flex-direction:column;gap:8px;padding:20px 8px;background:#f8f9fc;border-color:#dce3f1}.table-tile svg{width:35px;height:35px;color:#8095be}.table-tile b{font-size:11px}.table-tile small{font-size:9px;color:#798fba}.table-tile.occupied{background:#e4eaf6;border-color:#b6c6e5}.table-tile.occupied svg{color:#4e6ead}.table-tile.occupied small{color:#415f9c}.audit-details{display:block;max-width:420px;white-space:normal;overflow-wrap:anywhere;font-size:9px;direction:auto}.inventory-summary svg{display:inline-block;width:15px;height:15px;vertical-align:middle;margin-left:6px}
.payment-row .bar svg{width:100%;height:6px;fill:#50699a}.payment-row:nth-child(2) .bar svg{fill:#7e96c7}

/* Keep product browsing and order details usable in a desktop viewport. */
#pos .product-grid{max-height:calc(100vh - 430px);min-height:260px;overflow-y:auto;padding-left:4px;scrollbar-width:thin;scrollbar-color:#c7d0e2 transparent}.cart-content{max-height:calc(100vh - 500px);min-height:180px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c7d0e2 transparent}.product-card{min-height:240px}.product-card .media{height:128px}.table-wrap::-webkit-scrollbar{height:6px}.table-wrap::-webkit-scrollbar-thumb{background:#c7d0e2;border-radius:4px}@media(max-width:1250px){.product-card{min-height:215px}.product-card .media{height:110px}#pos .product-grid{max-height:calc(100vh - 465px)}}
@media(max-width:1050px){aside{width:172px;padding:22px 10px}.app-body{margin-right:172px}nav button{padding:11px 8px;font-size:10px;gap:8px}main{padding:20px 16px}#pos{grid-template-columns:minmax(230px,1fr) 280px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{grid-template-columns:repeat(2,1fr)}.report-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr 1fr}.readiness-grid{grid-template-columns:1fr}.header-right .header-divider{display:none}#table-map{grid-template-columns:repeat(4,1fr)}.draft-grid{grid-template-columns:1fr 1fr}.two-columns{gap:14px}}
@media(max-width:850px){aside{width:65px;padding:25px 8px}.app-body{margin-right:65px}.wordmark{font-size:0;padding:0;justify-content:center}.wordmark:before{content:'م';font-size:27px;color:#8ea9de}.wordmark>span,.restaurant-switch,.nav-label,.aside-bottom{display:none}nav{margin-top:30px;gap:12px}nav button{font-size:0;justify-content:center;padding:13px 8px}nav button svg{width:21px;height:21px}nav button em{display:none}header{height:65px;padding:0 17px}.header-right #date,.header-right>div{display:none}.breadcrumb{font-size:10px;gap:8px}#pos{grid-template-columns:1fr}.catalog-toolbar{flex-direction:row}.search{max-width:180px}.pos-summary{margin-bottom:20px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#pos .product-grid{max-height:520px}.cart-content{max-height:480px}.cart{margin-top:10px}.two-columns{grid-template-columns:1fr}.stats{gap:10px}.stats article{padding:16px}.stats strong{font-size:21px}.report-toolbar{gap:12px}.date-range{margin-right:0;flex-wrap:wrap}.export-buttons{margin-right:0}.panel{padding:17px}.page-heading{gap:10px}h1{font-size:22px}.shift-status{font-size:9px;padding:7px}.shift-status button{font-size:9px}.section-kicker{font-size:9px}.panel-heading{flex-wrap:wrap}.draft-grid{grid-template-columns:1fr}#table-map{grid-template-columns:repeat(3,1fr)}.auth-screen{grid-template-columns:1fr}.auth-story{display:none}.auth-form-wrap{min-height:100vh;padding:30px}.form-grid{grid-template-columns:1fr 1fr}footer{gap:15px;font-size:7px}.readiness-grid>div{border:0;border-bottom:1px solid #e1e7f3}}
.product-editor-grid{display:grid;grid-template-columns:200px minmax(0,1fr);gap:28px;border-bottom:1px solid #dee4f1;padding:5px 0 28px;margin-bottom:25px}.photo-editor{display:flex;flex-direction:column;gap:12px;align-items:stretch}.photo-preview{height:170px;background:#f0f3f9;border:1px dashed #c6cfe1;border-radius:12px;display:grid;place-items:center;overflow:hidden}.photo-preview>span{display:flex;flex-direction:column;align-items:center;gap:12px;color:#8498bf;font-size:12px}.photo-preview svg{width:33px;height:33px}.photo-preview img{width:100%;height:100%;object-fit:cover}.upload-control{position:relative;overflow:hidden;display:block;text-align:center;background:white;border:1px solid #cfd8eb;border-radius:8px;padding:10px;margin:0;cursor:pointer;color:#42567f;font-size:11px}.upload-control input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.text-button{border:0;padding:4px;background:transparent;font-size:10px}.photo-editor small{font-size:9px;text-align:center}.product-fields{min-width:0}.product-fields textarea{height:63px}.optional{font-size:9px;font-weight:400;color:#95a6c9;margin-right:8px}.product-pricing{display:flex;gap:25px;align-items:center;margin-bottom:15px}.product-pricing>#base-price-label{width:180px;margin:0}.toggle-label{display:flex;align-items:center;gap:12px;margin:0;cursor:pointer}.toggle-label input{width:18px;height:18px;min-height:0;accent-color:#384a6e}.toggle-label b{font-size:12px;color:#203b70}.toggle-label small{display:block;font-size:10px;font-weight:400;color:#7e93bd}.variant-heading{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:13px}.variant-heading button{font-size:10px;padding:7px 11px}.variant-row{display:grid;grid-template-columns:1.5fr 1fr 1fr 30px;gap:10px;align-items:end;background:#f4f6fb;padding:12px;border-radius:9px;margin-bottom:8px}.variant-row label{margin:0}.variant-row button{height:40px;font-size:22px}.editor-actions{margin-top:22px}.product-card .media>img{height:100%;width:100%;object-fit:cover}.product-card .price-row small{font-size:8px;color:#8296be}.menu-product-cell{display:flex;align-items:center;gap:12px;max-width:340px}.menu-thumb{width:58px;height:48px;flex-shrink:0;border-radius:7px;overflow:hidden;background:#eaeef6}.menu-thumb>img{width:100%;height:100%;object-fit:cover}.menu-thumb svg{width:100%;height:100%}.menu-product-cell small{display:block;max-width:250px;overflow:hidden;text-overflow:ellipsis;font-size:9px;color:#8498bf}.size-price-chip{display:inline-block;background:#ecf0f7;border:1px solid #d8e0ef;border-radius:5px;padding:5px 8px;font-size:10px;margin:3px}.size-price-chip+span{margin-right:4px}#size-dialog{width:460px}#size-dialog-photo{background:#eaeef6;border-radius:12px;height:165px;overflow:hidden;display:grid;place-items:center;margin-bottom:15px}#size-dialog-photo img{height:100%;width:100%;object-fit:cover}#size-dialog-photo svg{width:200px;height:100%}#size-options{display:grid;gap:10px}#size-options button{display:flex;justify-content:space-between;padding:16px;border:1px solid #d2dbec;background:#f9fafd}#size-options button:hover{background:#e8edf6;border-color:#647daf}#size-options b{font-size:14px}#size-options span{margin-right:auto;font-size:13px;color:#3f5279}#size-options i{font-style:normal;margin-right:10px;color:#5570a5}@media(max-width:1050px){.product-editor-grid{grid-template-columns:150px 1fr;gap:18px}.photo-preview{height:145px}.variant-row{grid-template-columns:1fr 1fr}.variant-row button{justify-self:end}.product-pricing{gap:15px;flex-wrap:wrap}}@media(max-width:700px){.product-editor-grid{grid-template-columns:1fr}.photo-editor{max-width:230px;width:100%;margin:auto}.product-fields>.field-row{flex-direction:column}.product-pricing{flex-direction:column;align-items:stretch}.product-pricing>#base-price-label{width:100%}.variant-row{grid-template-columns:1fr 1fr}}
.category-picker{display:flex;gap:7px}.category-picker select{flex:1;min-width:0}.category-picker button{padding:7px 12px;font-size:17px}.category-form-row{display:flex;gap:13px;align-items:end;margin-bottom:25px}.category-form-row label{flex:1;max-width:400px;margin:0}.category-form-row button{min-height:40px}.category-order{display:flex;align-items:center;gap:8px}.category-order button{font:16px Arial;padding:4px 9px}.category-order span{min-width:16px;text-align:center}@media(max-width:700px){.category-form-row{flex-wrap:wrap}.category-form-row label{flex:1 0 100%}}

/* Thermal receipt preview */
#receipt{width:440px;max-width:95vw;padding:24px;background:#eceeea;border:0}#receipt-body{margin-bottom:20px}.receipt-paper{background:#fff;color:#171b19;padding:26px 23px 22px;box-shadow:0 6px 22px #17291d12;font-size:12px;border-bottom:3px dotted #d1d6cf}.receipt-brand{text-align:center;border-bottom:1px dashed #aab1ab;padding-bottom:16px}.receipt-brand>span{font:10px Arial;letter-spacing:3px;color:#747b75}.receipt-brand h2{font-size:26px;margin:9px 0 0}.receipt-brand p{color:#333;margin:2px;font-size:12px}.receipt-number{text-align:center;font:bold 30px Arial;padding:18px 0}.receipt-number small{display:block;font:12px Cairo;margin-top:8px}.receipt-info{border-top:1px dashed #aaa;border-bottom:1px dashed #aaa;padding:12px 0}.receipt-info>div,.receipt-item>div,.receipt-line-head,.receipt-sum{display:flex;justify-content:space-between;gap:12px}.receipt-info>div{font-size:10px;line-height:2.2}.receipt-info b{font-weight:400}.receipt-customer{padding:12px 0;border-bottom:1px dashed #aaa;line-height:1.9;font-size:11px;overflow-wrap:anywhere}.receipt-line-head{font-size:10px;padding:14px 0 7px;border-bottom:1px solid #ddd}.receipt-item{padding:12px 0;border-bottom:1px dotted #ccc}.receipt-item>b{font-size:12px;white-space:normal}.receipt-item>div{margin-top:5px;font-size:11px}.receipt-sum{padding:18px 0;border-bottom:2px solid #202922;align-items:center;font-size:15px}.receipt-sum>b{font-size:23px}.receipt-note{font-size:11px;line-height:1.9;padding-top:12px;overflow-wrap:anywhere}.receipt-thanks{text-align:center;display:flex;flex-direction:column;gap:5px;padding-top:20px}.receipt-thanks>b{font-size:16px}.receipt-thanks>span{font-size:11px}.receipt-thanks>small{font-size:8px;margin-top:12px;color:#555}.delivery-address{white-space:normal;display:inline-block;max-width:240px}#delivery-list select{min-width:150px}

.kitchen-item{display:flex;align-items:start;gap:16px;padding:16px 0;border-bottom:1px dashed #888;break-inside:avoid}.kitchen-item strong{font:700 26px Arial;white-space:nowrap}.kitchen-item b{font-size:17px}.kitchen-note{border:2px solid #222;padding:12px;margin-top:20px;font-size:15px;line-height:1.8}.receipt-paper{break-inside:auto}.receipt-item{break-inside:avoid}#print-status{color:#3e5546;font-size:10px}#receipt #refund-panel{margin-top:18px}

.kitchen-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:15px}.kitchen-toolbar p{margin-bottom:0}.kitchen-toolbar select{width:190px}.kitchen-toolbar small{flex-basis:100%;color:#546fa4}.kitchen-summary{display:flex;gap:25px;margin:20px 0;color:#4a618f}.kitchen-summary b{font-size:23px;margin-left:7px;color:#1f3869}.kitchen-board{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;align-items:start}.kitchen-card{background:white;border:1px solid #dfe5df;border-top:4px solid #c5a367;border-radius:12px;padding:20px}.kitchen-card.done{border-top-color:#609f77}.kitchen-card.cancelled{border-top-color:#b97168}.kitchen-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.kitchen-card-head small{color:#74857b}.kitchen-card-head h2{font-size:23px;margin:4px 0}.kitchen-timing{font-size:10px;color:#637cae;border-bottom:1px dashed #d2dbec;padding:9px 0 14px}.kitchen-order-lines>div{display:flex;gap:15px;padding:13px 0;border-bottom:1px solid #eaeef6;font-size:14px}.kitchen-order-lines b{font-size:19px;white-space:nowrap;color:#1f3869}.kitchen-card-note{background:#fff7e6;border-radius:7px;padding:12px;margin:15px 0}.kitchen-card-note p{color:#5d513d;margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere}.kitchen-card .button-row{margin-top:18px}.kitchen-out-info{font-size:10px;color:#49608e}

.checkout-details{border-top:1px solid #dde4f1;padding:12px 0}.checkout-details summary{cursor:pointer;color:#37486a;font-weight:700;font-size:11px;margin-bottom:12px}.checkout-details .two-columns{gap:10px}#refund-items{margin:12px 0;max-height:260px;overflow:auto}#refund-items label{display:flex;align-items:center;justify-content:space-between;gap:10px}#refund-items input{width:80px}#permissions-panel .toggle-label{margin:8px 0}.receipt-logo{max-height:70px;max-width:130px;object-fit:contain}.receipt-financial>div{display:flex;justify-content:space-between;padding:5px 0;font-size:11px}.receipt-identity{font-size:10px;line-height:1.8;overflow-wrap:anywhere}

.madar-wordmark{display:flex;align-items:center;gap:13px}.madar-wordmark img{width:45px;height:45px;display:block}.madar-wordmark>div{line-height:1.4}.madar-wordmark span{display:block;letter-spacing:2px;font-size:10px;margin-top:3px}.auth-story .madar-wordmark img{width:57px;height:57px}

/* Madar unified blue identity */
body{background:#f5f7fb;color:#12213b}aside{background:#0a1730;color:#bdcce4}nav button.active{background:#1b3764;color:#a8c9ff}nav button.active:before{background:#4d8aff}.restaurant-icon{background:#183154;color:#8bb4ff}.wordmark>span,.madar-wordmark span{color:#91b3e8}.primary,#checkout{background:#246bfe;border-color:#246bfe;color:#fff}.primary:hover,#checkout:hover{background:#185adc;border-color:#185adc}.auth-story{background:#0a1730;color:#f5f8ff}.auth-story p{color:#bacbe4}.auth-story .eyebrow{color:#8db7ff}.avatar{background:#e8f0ff;color:#245fca}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#77a7ff}.status-dot{background:#76b79b}
