@font-face{font-family:Mizan;src:url('/assets/NotoSansArabic-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Mizan;src:url('/assets/NotoSansArabic-Bold.ttf') format('truetype');font-weight:600 900;font-display:swap}
:root{--bg:#f3f5f3;--panel:#fff;--ink:#172e2b;--muted:#7b8a85;--line:#e4eae6;--green:#187b61;--light:#e7f3ed;--orange:#b97635;--danger:#b74747;--radius:18px;--shadow:0 9px 30px #21382d07}
*{box-sizing:border-box}body{margin:0;font-family:Mizan,Tahoma,Arial,sans-serif;font-size:14px;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;border:0;background:transparent;color:inherit}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible{outline:3px solid #79c8ac;outline-offset:3px}input,select,textarea{width:100%;min-height:46px;border:1px solid #dbe4de;border-radius:11px;background:#fff;color:var(--ink);padding:9px 12px;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #187b6110}input[type=checkbox]{width:22px;min-height:22px;accent-color:var(--green)}textarea{resize:vertical;min-height:70px}input[type=date]{direction:ltr}a{color:var(--green);text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:24px;font-weight:700}h2{font-size:19px}h3{font-size:16px}small{font-size:11px;color:var(--muted)}[hidden]{display:none!important}.app-shell{display:flex;min-height:100vh}.sidebar{width:183px;flex-shrink:0;background:#172d2a;color:#b1c1ba;padding:25px 15px;position:fixed;right:0;top:0;bottom:0;display:flex;flex-direction:column;z-index:10}.brand{display:grid;grid-template-columns:43px 1fr;align-items:center;column-gap:10px;color:#fff;padding:0 8px 30px}.brand-mark{grid-row:span 2;background:#c6e8c9;color:#284d3f;border-radius:14px;font-size:30px;line-height:46px;height:46px;text-align:center}.brand strong{font-size:25px;line-height:1.2}.brand small{color:#8fa99c;font-size:9px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.nav-button{display:flex;align-items:center;gap:11px;min-height:52px;text-align:right;padding:12px;border-radius:11px;width:100%;font-size:13px;color:#adbbb6}.nav-button.active{background:#2b4a42;color:#e1f5dc}.nav-button:hover{background:#ffffff0a}.nav-button.active:hover{background:#2b4a42}.nav-button svg{width:21px;height:21px;flex-shrink:0}.nav-count{margin-right:auto;min-width:22px;text-align:center;padding:0 5px;border-radius:6px;font-size:10px;background:#d8ebcf;color:#254c39}.sidebar-bottom{margin-top:auto;padding:25px 10px 2px;font-size:11px;color:#b8c9bd}.sidebar-bottom small{display:block;margin-top:8px;color:#6f8c7f;font-size:9px}.local-dot{display:inline-block;width:6px;height:6px;border-radius:100%;background:#9ecf9d;margin-left:6px}.workspace{margin-right:183px;width:calc(100% - 183px);min-width:0}.topbar{height:100px;padding:22px 28px;display:flex;align-items:center;justify-content:space-between;background:#fafbf9;border-bottom:1px solid var(--line)}.eyebrow{font-size:11px;color:var(--muted);margin-bottom:2px}.topbar-tools{display:flex;align-items:center;gap:11px}.clock{font-size:11px;color:#6d7f76;text-align:left;margin-left:9px}.clock strong{font-size:17px;display:block;color:#31473c;line-height:1.2}.icon-button{width:44px;height:44px;border:1px solid var(--line);border-radius:12px;background:white;display:inline-flex;align-items:center;justify-content:center;font-size:24px;flex-shrink:0}.icon-button:hover{border-color:#b8cec2}main{padding:25px 28px}.connection{background:#fff0d7;color:#7d5827;padding:12px 28px;font-size:13px;border-bottom:1px solid #eed8b8}.loading{display:flex;align-items:center;justify-content:center;gap:15px;min-height:50vh;color:var(--muted)}.spinner{width:20px;height:20px;border:2px solid var(--line);border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.page-heading p{color:var(--muted);font-size:12px;margin-top:5px}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:46px;padding:9px 18px;border-radius:11px;border:1px solid var(--line);background:#fff;font-weight:600;font-size:12px;white-space:nowrap}.button.primary{background:var(--green);border-color:var(--green);color:white}.button.primary:hover{background:#136b53}.button.soft{background:var(--light);color:var(--green);border-color:var(--light)}.button.danger{background:#fff1f0;border-color:#f0d9d5;color:var(--danger)}.button.small{min-height:44px;padding:7px 12px;font-size:11px}.button.wide{width:100%}.muted{color:var(--muted)}.row{display:flex;align-items:center;gap:10px}.spread{justify-content:space-between}.wrap{flex-wrap:wrap}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.panel-pad{padding:22px}.pos-layout{display:grid;grid-template-columns:minmax(0,1fr) 335px;gap:22px;align-items:start}.menu-pane{min-width:0}.search-box{position:relative;display:flex;align-items:center}.search-box input{padding-right:43px;background:#fff}.search-box svg{position:absolute;right:14px;width:18px;color:#809087}.catalog-heading{display:flex;align-items:center;justify-content:space-between;margin:22px 0 15px}.catalog-heading span{color:var(--muted);font-size:11px}.chips{display:flex;gap:8px;overflow:auto;padding-bottom:10px;margin-top:16px;scrollbar-width:thin}.chip{min-height:44px;padding:9px 17px;border-radius:12px;background:#fff;border:1px solid var(--line);white-space:nowrap;color:#6e8075;font-size:12px}.chip.active{background:#1c3b32;color:#fff;border-color:#1c3b32}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:14px}.product-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:14px;text-align:right;min-height:182px;position:relative;transition:.15s}.product-card:hover{border-color:#9ac8b3;box-shadow:0 4px 16px #23463810}.product-card:active{transform:scale(.97)}.food-art{height:75px;background:#f7f4ec;border-radius:11px;display:flex;align-items:center;justify-content:center;font-family:Arial,sans-serif;font-size:43px;margin-bottom:11px}.product-card:nth-child(3n+2) .food-art{background:#eff4ed}.product-card:nth-child(3n) .food-art{background:#f5efe9}.product-name{font-size:13px;font-weight:600;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-price{font-size:13px;font-weight:600;display:block;color:#47715b;margin-top:7px}.product-price small{font-weight:400;font-size:9px;color:#839589}.add-dot{position:absolute;left:13px;bottom:15px;width:25px;height:25px;border-radius:8px;background:#edf4ed;color:#3b6d50;text-align:center;line-height:25px;font-size:19px}.sample-note{margin:18px 0 0;font-size:10px;color:#87978d;line-height:1.9}.cart{overflow:hidden;position:sticky;top:18px}.cart-header{padding:19px 20px;border-bottom:1px solid var(--line)}.cart-header h2{font-size:16px}.cart-meta{font-size:10px;color:var(--muted);margin-top:4px}.draft-dot{width:6px;height:6px;border-radius:6px;background:#d2ad5a;display:inline-block;margin-left:5px}.type-switch{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;background:#f1f4f0;border-radius:10px;padding:4px;margin-top:15px}.type-switch button{min-height:40px;border-radius:7px;font-size:10px;color:#788b7c}.type-switch button.active{background:#fff;color:#285b41;box-shadow:0 2px 6px #1738270a}.cart-body{padding:16px 19px}.cart-select{margin-bottom:11px}.cart-select select{font-size:11px;min-height:42px}.cart-items{max-height:260px;overflow:auto;margin:0 -3px;padding:0 3px}.cart-item{padding:11px 0;border-bottom:1px dashed var(--line)}.cart-item:first-child{padding-top:0}.cart-item-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.cart-item-name{font-size:12px;font-weight:600}.cart-item-price{font-size:11px;direction:ltr}.quantity{display:flex;gap:1px;align-items:center;border:1px solid var(--line);border-radius:8px;overflow:hidden;direction:ltr}.quantity button{width:36px;height:44px;font-size:19px;background:#f9fbf8}.quantity span{font-size:12px;min-width:27px;text-align:center}.cart-item-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:8px;gap:5px}.note-button{font-size:10px;color:var(--muted);text-align:right;max-width:165px;min-height:44px}.cart-empty{padding:30px 5px;text-align:center;color:var(--muted);font-size:11px;line-height:2}.cart-empty-symbol{display:block;font-size:35px;color:#a2b5a6;margin-bottom:10px}.cart-totals{padding:15px 20px;background:#fcfdfa;border-top:1px solid var(--line)}.total-line{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#748575;margin:9px 0}.total-line input{width:104px;min-height:37px;height:37px;padding:5px 8px;font-size:11px;direction:ltr;text-align:center;background:#f4f7f2}.total-line.grand{border-top:1px dashed #d7e1d6;margin:16px 0;padding-top:14px;color:#244331;font-size:13px;font-weight:700}.total-line.grand strong{font-size:21px}.total-line.grand small{font-size:9px}.cart-bottom-hint{text-align:center;font-size:9px;color:#8c9a8b;margin-top:9px}.cart-note{width:100%;margin-top:12px;font-size:11px;min-height:44px;resize:vertical}.mini-field{font-size:11px;margin-top:8px;min-height:42px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.stat-card{padding:20px;border-radius:16px;border:1px solid var(--line);background:white}.stat-label{font-size:11px;color:var(--muted)}.stat-value{font-size:26px;font-weight:700;line-height:1.7;margin-top:8px}.stat-unit{font-size:10px;font-weight:400;margin-right:4px}.stat-card.accent{background:#e5eee3;border-color:#dbe8d7}.stat-card small{font-size:10px}.empty-state{text-align:center;padding:55px 20px;color:var(--muted)}.empty-icon{font-size:33px;display:block;margin-bottom:12px;color:#94ad9c}.empty-state h3{color:#4f6a58;margin-bottom:6px}.empty-state p{font-size:12px;line-height:1.9;max-width:400px;margin:auto}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}.data-table th{text-align:right;font-weight:400;color:var(--muted);background:#f9fbf8;font-size:11px;padding:14px 16px;border-bottom:1px solid var(--line)}.data-table td{padding:12px 16px;border-bottom:1px solid #edf1eb;vertical-align:middle}.data-table tr:last-child td{border-bottom:0}.data-table tr:hover td{background:#fcfdfb}.badge{font-size:10px;display:inline-block;border-radius:7px;padding:4px 8px;background:#edf0ec;color:#70806f;white-space:nowrap}.badge.green{background:#e6f1e7;color:#357249}.badge.orange{background:#fff1db;color:#ad7830}.badge.blue{background:#e7eef8;color:#5279a4}.badge.red{background:#f9eaea;color:#b56565}.badge.purple{background:#f0eafa;color:#8e6fb2}.order-filters{display:flex;gap:8px;align-items:center;margin-bottom:17px;flex-wrap:wrap}.order-filters input{max-width:245px}.order-filters .chip{margin:0}.kitchen-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.kitchen-column{border-radius:18px;background:#eaf0e9;padding:15px;min-height:300px}.kitchen-column:nth-child(2){background:#f0ede4}.kitchen-column:nth-child(3){background:#e4eee8}.column-title{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:600;margin-bottom:15px}.column-title span{font-size:11px;background:#ffffffb0;border-radius:7px;padding:2px 8px}.kitchen-card{background:white;border:1px solid #dfe6dc;border-radius:13px;padding:16px;margin-bottom:12px}.kitchen-card .kitchen-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.kitchen-card ul{list-style:none;margin:12px 0;padding:0}.kitchen-card li{display:flex;gap:8px;font-size:12px;margin:9px 0}.kitchen-card li strong{color:#487650}.kitchen-note{font-size:10px;background:#faf5e9;color:#8e754c;padding:8px 10px;border-radius:7px;margin:10px 0;line-height:1.8}.kitchen-card .button{width:100%;margin-top:8px}.tables-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:17px}.table-card{position:relative;padding:20px;text-align:center;min-height:200px}.table-card.occupied{background:#fffaf0;border-color:#eadbc0}.table-symbol{margin:12px auto;width:70px;height:54px;border:2px solid #bed1be;border-radius:12px;position:relative;display:flex;justify-content:center;align-items:center;font-size:23px;color:#6e9472;background:#f4f8f1}.table-card.occupied .table-symbol{background:#fff0d4;border-color:#ddc28b;color:#a08043}.table-symbol:before,.table-symbol:after{content:"";position:absolute;height:25px;width:8px;border-radius:6px;border:2px solid #cbdac7;top:12px}.table-symbol:before{right:-15px}.table-symbol:after{left:-15px}.table-card h3{margin:20px 0 3px}.table-card p{font-size:10px;color:var(--muted)}.table-card .button{margin-top:13px;width:100%}.table-edit{position:absolute;top:9px;left:8px;min-width:44px;height:44px;color:#9aab9c}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:20px}.toolbar input{max-width:290px}.toolbar select{max-width:210px}.toolbar .spacer{flex:1}.catalog-emoji{width:43px;height:43px;background:#f4f4eb;border-radius:10px;text-align:center;line-height:43px;font-size:24px;display:inline-block;margin-left:9px}.customer-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:16px}.customer-card{padding:20px}.avatar{width:45px;height:45px;display:flex;justify-content:center;align-items:center;background:#ecf2e7;color:#64844c;border-radius:14px;font-size:20px}.customer-card p{font-size:11px;line-height:1.9;color:var(--muted);margin-top:10px}.customer-card .row{margin-top:14px}.customer-card h3{font-size:14px}.customer-card .phone{direction:ltr;text-align:right;display:block;font-size:12px;color:#617762;margin-top:5px}.report-range{display:flex;align-items:end;gap:12px;margin-bottom:20px}.report-range label{font-size:11px;color:var(--muted);max-width:190px}.report-range input{margin-top:4px}.report-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.report-columns h3{margin-bottom:17px}.report-list{list-style:none;margin:0;padding:0}.report-list li{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.report-list li:last-child{border:0}.report-bar{height:7px;background:#e8efdf;border-radius:5px;margin-top:8px;overflow:hidden}.report-bar i{display:block;background:#80a980;height:100%;border-radius:5px}.help-note{padding:13px 16px;background:#f1f5eb;border-radius:11px;font-size:11px;color:#6b7f57;line-height:2;margin:16px 0}.settings-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:22px;align-items:start}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#627864}.field.full{grid-column:1/-1}.field small{font-size:9px;line-height:1.8}.check-field{display:flex;align-items:center;gap:10px;min-height:44px;font-size:12px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px;padding-top:16px;border-top:1px solid var(--line)}.settings-section{margin-bottom:22px}.settings-section h3{margin-bottom:18px}.backup-card{padding:22px;margin-bottom:17px}.backup-card h3{margin-bottom:7px}.backup-card p{font-size:11px;color:var(--muted);line-height:2;margin-bottom:16px}.backup-card .button{width:100%;margin-top:7px}dialog{border:1px solid var(--line);border-radius:22px;padding:0;width:min(620px,calc(100vw - 30px));max-height:90vh;color:var(--ink);box-shadow:0 25px 100px #0d241c33}dialog::backdrop{background:#162b2666;backdrop-filter:blur(3px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}.dialog-header h2{font-size:17px}.dialog-header button{width:44px;height:44px;font-size:24px;color:#809283;border-radius:10px}.dialog-body{padding:22px 24px}.dialog-body p{font-size:12px;line-height:2}.dialog-error{background:#fff0ef;color:#a54e4e;font-size:12px;padding:11px 14px;border-radius:10px;margin-bottom:16px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:15px 0}.detail-cell{background:#f5f8f2;border-radius:10px;padding:12px}.detail-cell small{display:block;font-size:10px;margin-bottom:5px}.detail-cell strong{font-size:12px}.detail-items{list-style:none;padding:0;margin:15px 0}.detail-items li{display:flex;justify-content:space-between;gap:10px;font-size:12px;padding:10px 0;border-bottom:1px solid var(--line)}.detail-items small{display:block;font-size:10px}.detail-total{display:flex;justify-content:space-between;background:#ecf3e6;border-radius:11px;padding:14px;font-size:14px}.payment-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.payment-choice{border:1px solid var(--line);border-radius:12px;padding:15px 10px;min-height:78px;background:#fbfcf9;font-size:12px}.payment-choice.selected{border-color:var(--green);background:var(--light);color:var(--green);box-shadow:0 0 0 1px var(--green)}.payment-choice span{display:block;font-size:22px;margin-bottom:3px}.toast{position:fixed;bottom:25px;left:25px;max-width:calc(100vw - 50px);background:#204b37;color:#fff;border-radius:12px;padding:13px 22px;font-size:12px;z-index:100;box-shadow:0 10px 25px #0c27152a}.toast.error{background:#a44740}.attention{color:#a37437}.divider{height:1px;background:var(--line);margin:20px 0}.link-button{font-size:12px;color:var(--green);min-height:44px;padding:7px}.subtle{font-size:10px;color:var(--muted)}.mobile-cart-toggle{display:none}
@media(min-width:1450px){.pos-layout{grid-template-columns:minmax(0,1fr) 375px}.product-grid{grid-template-columns:repeat(auto-fill,minmax(175px,1fr))}.food-art{height:100px}.product-card{min-height:210px}.cart-items{max-height:365px}}
@media(max-width:1150px){.sidebar{width:145px;padding:22px 10px}.brand{grid-template-columns:37px 1fr;gap:7px;padding:0 5px 26px}.brand-mark{height:40px;line-height:40px}.brand strong{font-size:22px}.brand small{font-size:8px}.nav-button{padding:10px;gap:8px;font-size:11px}.nav-button svg{width:19px}.workspace{margin-right:145px;width:calc(100% - 145px)}main{padding:20px}.topbar{padding:20px;height:91px}.pos-layout{grid-template-columns:minmax(0,1fr) 305px;gap:16px}.product-grid{grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:11px}.product-card{padding:11px;min-height:175px}.product-name{font-size:11px}.product-price{font-size:12px}.cart-header{padding:16px}.cart-body{padding:14px 16px}.cart-totals{padding:13px 16px}.stats-grid{gap:11px}.stat-card{padding:16px}.stat-value{font-size:22px}.kitchen-grid{gap:10px}.kitchen-column{padding:11px}.kitchen-card{padding:12px}.settings-grid{grid-template-columns:1.2fr 1fr}}
@media(max-width:900px){.sidebar{width:85px;padding:20px 8px}.brand{display:flex;flex-direction:column;gap:5px;padding:0 0 22px}.brand-mark{width:40px}.brand strong{font-size:18px}.brand small{display:none}.nav-button{flex-direction:column;gap:4px;text-align:center;padding:8px 2px;font-size:9px;min-height:61px}.nav-button svg{width:22px;height:22px}.nav-count{position:absolute;right:48px;font-size:8px;min-width:15px}.sidebar-bottom{padding:15px 0;text-align:center;font-size:8px}.sidebar-bottom small{display:none}.local-dot{width:5px;height:5px;margin-left:3px}.workspace{margin-right:85px;width:calc(100% - 85px)}main{padding:18px}.topbar{padding:18px}.pos-layout{grid-template-columns:minmax(0,1fr) 285px;gap:14px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-card{padding:10px;min-height:165px}.food-art{height:64px;font-size:36px}.product-name{font-size:10px}.product-price{font-size:11px}.add-dot{width:21px;height:21px;line-height:21px;left:9px;bottom:13px}.catalog-heading{margin-top:17px}.catalog-heading h2{font-size:16px}.catalog-heading span{font-size:9px}.clock{font-size:9px;margin-left:0}.clock strong{font-size:15px}.chips{gap:6px}.chip{padding:8px 12px;font-size:10px}.stats-grid{grid-template-columns:repeat(2,1fr)}.settings-grid{grid-template-columns:1fr}.kitchen-grid{grid-template-columns:1fr}.kitchen-column{min-height:auto;padding:15px}.kitchen-card{display:inline-block;vertical-align:top;width:calc(50% - 7px);margin-left:7px}.report-columns{grid-template-columns:1fr}.page-heading h2{font-size:17px}}
@media(max-width:650px){.sidebar{position:fixed;top:auto;bottom:0;width:100%;height:73px;padding:5px;background:#172d2a;z-index:20}.brand,.sidebar-bottom{display:none}.sidebar nav{display:grid;grid-template-columns:repeat(8,1fr);gap:1px;height:100%}.nav-button{padding:5px 1px;min-height:60px;border-radius:8px;font-size:7px;justify-content:center;gap:4px}.nav-button svg{width:19px;height:19px}.nav-count{display:none}.workspace{margin-right:0;width:100%;padding-bottom:80px}.topbar{height:84px;padding:14px 16px}h1{font-size:21px}.topbar-tools{gap:6px}.topbar-tools .clock{display:none}.icon-button{width:42px;height:42px}main{padding:16px}.pos-layout{display:flex;flex-direction:column;gap:20px}.menu-pane,.cart{width:100%}.cart{position:relative;top:0}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-card{min-height:151px;padding:8px}.food-art{height:60px;font-size:30px}.product-name{font-size:9px}.product-price{font-size:10px}.product-price small{font-size:7px}.add-dot{display:none}.cart-items{max-height:none}.page-heading{align-items:flex-start}.page-heading p{font-size:10px}.button{font-size:11px;padding:9px 13px}.report-range{flex-wrap:wrap;gap:8px}.report-range label{max-width:calc(50% - 4px);flex:1}.report-range .button{flex:1}.toolbar input,.toolbar select{max-width:100%}.stat-value{font-size:20px}.stat-card{padding:14px}.settings-grid{gap:15px}.panel-pad{padding:17px}.form-grid{gap:12px}.dialog-header{padding:14px 17px}.dialog-body{padding:18px}.tables-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.table-card{padding:15px}.kitchen-card{width:100%;margin-left:0}.data-table th,.data-table td{padding:12px}.toast{bottom:86px;left:15px;max-width:calc(100vw - 30px)}.customer-grid{grid-template-columns:1fr}.connection{padding:12px 16px}.payment-options{gap:6px}.payment-choice{font-size:11px}.form-grid .field{min-width:0}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* Readable touch labels at tablet widths. */
@media(min-width:651px){.product-name,.product-price,.cart-item-name{font-size:13px}.nav-button{font-size:12px}.type-switch button,.cart-select select,.mini-field,.cart-note{font-size:12px}.cart-item-price,.total-line,.note-button{font-size:12px}.button{font-size:13px}.chip{font-size:12px}.field{font-size:12px}}
@media(min-width:651px) and (max-width:900px){.nav-button{font-size:9px}.product-name{white-space:normal;line-height:1.7;min-height:43px}.cart-item-name{font-size:12px}.cart-item-price{font-size:11px}}

.brand strong{font-size:21px}

.printer-indicators{display:flex;align-items:center;gap:10px;flex-shrink:0}.printer-indicator{width:76px;padding:0;display:flex;flex-direction:column;align-items:center;gap:2px;border-radius:10px}.printer-indicator:hover{background:#eaf2ed}.printer-picture{display:block;width:64px;height:54px;position:relative}.printer-picture svg{width:100%;height:100%}.printer-indicator strong{font-size:11px;line-height:1.5}.printer-status{position:absolute;top:-1px;left:-5px;border:2px solid #fafbf9;padding:1px 5px;border-radius:8px;font-size:8px;font-weight:bold;line-height:16px}.printer-status.online{background:#d8f3df;color:#17613b}.printer-status.offline{background:#fce0de;color:#9c332d}.printer-help{font-size:12px;color:var(--muted);line-height:1.9;margin-bottom:15px}.topbar{min-height:104px;height:auto}@media(max-width:1000px){.topbar-tools .clock{display:none}.printer-indicators{gap:4px}.printer-indicator{width:62px}.printer-picture{width:54px;height:48px}}@media(max-width:650px){.topbar{flex-wrap:wrap;gap:12px;align-items:center}.topbar-tools{margin-right:auto}.printer-indicator{width:56px}.printer-picture{width:49px;height:43px}.printer-indicator strong{font-size:10px}.printer-status{font-size:7px;padding:0 4px}.topbar-tools .icon-button{width:34px;height:36px}.topbar{padding:12px}.topbar h1{font-size:18px}}

.print-alerts{background:#fff3dc;color:#795522;padding:10px 24px;font-size:12px;line-height:1.9;border-bottom:1px solid #efdcb7}

.caller-dock-row{display:flex;direction:ltr;justify-content:flex-start;padding:12px 28px 0}#caller-dock{width:440px;max-width:100%;direction:rtl}.caller-black{background:#08090b;color:#fff;border-radius:9px;padding:13px 16px;border:1px solid #24262a;min-height:99px}.caller-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;direction:ltr;align-items:center}.caller-phone-form{display:flex;align-items:center;min-width:0;direction:ltr;gap:4px}.caller-phone-form input{background:transparent;border:0;border-radius:4px;color:#fff;padding:0;min-height:32px;min-width:0;font-size:17px;font-weight:600;box-shadow:none;direction:ltr;text-align:left}.caller-phone-form input::placeholder{color:#aaa;font-size:13px;text-align:left;direction:rtl;font-weight:400}.caller-phone-form input:focus{outline:1px solid #535b65;outline-offset:3px;box-shadow:none}.caller-lookup{color:#aeb5bd;display:flex;align-items:center;justify-content:center;padding:4px;min-width:28px;min-height:32px}.caller-lookup svg{width:17px;height:17px}.caller-name-slot{min-width:0;text-align:right;direction:rtl;font-size:16px;font-weight:600;overflow-wrap:anywhere}.caller-name{font-size:16px;font-weight:600;text-align:right;line-height:1.8;padding:0;color:#fff}.caller-placeholder{color:#aaa;font-size:13px;font-weight:400}.caller-address{font-size:12px;color:#d0d3d7;text-align:right;line-height:1.9;padding-top:9px;overflow-wrap:anywhere;border-top:1px solid #292c31;margin-top:7px}.caller-name-slot select{background:#15171b;color:#fff;border-color:#3a3f47;font-size:12px;padding:4px;min-height:32px}.caller-name-slot .caller-add{background:transparent;color:#ddd;border:0;padding:0;min-height:32px;font-size:12px}.caller-history{border:1px solid var(--line);border-radius:0 0 8px 8px;background:white;font-size:12px;margin:0 8px}.caller-history summary{cursor:pointer;padding:8px 12px;display:flex;align-items:center;justify-content:space-between;list-style:none;color:#526259;min-height:36px}.caller-history summary::-webkit-details-marker{display:none}.caller-history[open] summary{border-bottom:1px solid var(--line)}.caller-history[open] summary span{transform:rotate(180deg)}#caller-history-list{max-height:270px;overflow:auto}.caller-history-order{display:block;width:100%;text-align:right;padding:10px 12px;border-bottom:1px solid var(--line);color:var(--ink)}.caller-history-order:last-child{border-bottom:0}.caller-history-order:hover{background:#f3f7f4}.caller-history-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px}.caller-history-meta>span{color:var(--muted);font-size:10px}.caller-history-items{display:block;font-size:11px;line-height:1.8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}.caller-history-total{display:block;color:var(--green);font-size:12px;margin-top:3px}.caller-history-empty{padding:14px;text-align:center;color:var(--muted);font-size:11px}@media(max-width:650px){.caller-dock-row{padding:10px 12px 0}#caller-dock{width:100%}.caller-black{padding:12px}.caller-top{gap:10px}.caller-phone-form input{font-size:15px}.caller-name{font-size:14px}}

.product-card.product-selected{border-color:#65ba8a;background:#fbfffc;box-shadow:0 0 0 2px #4bbe7714,0 0 18px #32a6661a}.product-count{position:absolute;left:11px;bottom:12px;display:flex;align-items:center;justify-content:center;min-width:29px;height:29px;padding:0 6px;border-radius:10px;background:#1b985b;color:#fff;font-size:15px;font-weight:700;line-height:1;box-shadow:0 0 0 4px #30b77016,0 0 14px #38bb7440}.product-card .product-price{padding-left:31px}.product-card.product-added{animation:productAdded .28s ease-out}@keyframes productAdded{0%{transform:scale(.97);box-shadow:0 0 0 0 #36bb7466}55%{transform:scale(1.025);box-shadow:0 0 0 5px #36bb7420,0 0 22px #36bb7430}100%{transform:scale(1);box-shadow:0 0 0 2px #4bbe7714,0 0 18px #32a6661a}}@media(max-width:650px){.product-count{min-width:23px;height:23px;left:7px;bottom:10px;padding:0 5px;font-size:12px;border-radius:8px}.product-card .product-price{padding-left:24px}}@media(prefers-reduced-motion:reduce){.product-card.product-added{animation:none}}

.printer-discovery{margin-top:14px}.printer-devices{margin-top:12px}.printer-device{display:flex;gap:12px;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:10px 0}.printer-device strong{font-size:13px;direction:ltr;text-align:left}.printer-device small{font-size:10px}

/* Inventory appears only while hovering the food card. */
.stock-tag{position:absolute;right:12px;left:auto;top:10px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;font-size:19px;font-weight:700;line-height:1.4;pointer-events:none;opacity:0;visibility:hidden;transform-origin:center}
.stock-tag.stock-high{color:#168348}.stock-tag.stock-medium{color:#d77809}.stock-tag.stock-low{color:#df3535}
@media(hover:hover){.product-card:hover .stock-tag{visibility:visible;opacity:1;animation:stockPulse 1.5s ease-in-out infinite}}
@keyframes stockPulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.12);opacity:.65}}
@media(prefers-reduced-motion:reduce){.product-card:hover .stock-tag{animation:none}}

#caller-history-list{max-height:320px;overflow-y:auto}

/* Customer view choices */
.customer-view-switch{display:flex;gap:3px;padding:4px;border:1px solid var(--line);border-radius:12px;background:#fff}.customer-view-switch button{display:flex;align-items:center;gap:6px;min-height:40px;padding:6px 11px;border-radius:8px;font-size:11px;white-space:nowrap;color:#63746b}.customer-view-switch button[aria-pressed="true"]{background:#e5f2e8;color:#187b61}.customer-view-switch svg{width:18px;height:18px;flex-shrink:0}.customer-actions{display:flex;align-items:center;gap:5px;flex-shrink:0}.customer-actions .button{padding:6px 9px}.customer-card .avatar{flex-shrink:0}.customer-card .row:first-child{margin-top:0}.customer-tile-info{min-width:0;overflow-wrap:anywhere}.customer-card p{white-space:pre-wrap;overflow-wrap:anywhere}.customer-card>.row.spread{flex-wrap:wrap}.customer-details table{width:100%}.customer-address-cell{min-width:180px;max-width:400px;white-space:pre-wrap;overflow-wrap:anywhere}.customer-phone{display:block;font-size:12px;color:#617762;text-align:right;white-space:nowrap}.customer-small-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:9px}.customer-small-item{display:flex;align-items:center;gap:9px;padding:10px 12px;min-width:0}.customer-small-item .avatar{width:30px;height:30px;font-size:14px;border-radius:9px;flex-shrink:0}.customer-small-info{flex:1;min-width:0}.customer-small-info h3{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-small-info .customer-phone{font-size:11px;margin-top:3px}.customer-small-item .button{font-size:10px;padding:5px 7px}
@media(max-width:650px){.customer-toolbar{gap:12px}.customer-view-switch{width:100%}.customer-view-switch button{flex:1;justify-content:center;font-size:10px;padding:6px 7px}.customer-small-grid{grid-template-columns:1fr}.customer-small-item{padding:9px}.customer-details{border-radius:12px}}

.topbar{align-items:flex-start;gap:20px}.topbar>#caller-dock{flex:0 1 440px;min-width:0}.topbar-tools{margin-right:auto;padding-top:8px}.sidebar .brand{display:flex;justify-content:center;padding-bottom:18px}.sidebar .brand-mark{width:43px;flex-shrink:0}.caller-phone-form{position:relative;isolation:isolate}.caller-phone-form::after{content:"";position:absolute;left:0;right:32px;bottom:-2px;height:9px;border-radius:50%;background:#24e978;filter:blur(6px);opacity:0;pointer-events:none;z-index:-1}.caller-phone-form.caller-ringing::after{animation:callerRingGlow 1.2s ease-in-out infinite}.caller-ringing input{color:#b8ffd0;text-shadow:0 0 12px #26dd7455}@keyframes callerRingGlow{0%,100%{opacity:.25;transform:scaleX(.82)}50%{opacity:.95;transform:scaleX(1)}}@media(prefers-reduced-motion:reduce){.caller-phone-form.caller-ringing::after{animation:none;opacity:.65}}@media(max-width:900px){.topbar{flex-wrap:wrap}.topbar>#caller-dock{flex:1 1 100%;width:100%}.topbar-tools{padding-top:0}}@media(max-width:650px){.sidebar .brand{display:none}}

.topbar>#caller-dock{flex:1 1 720px;width:720px;max-width:100%}.caller-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.caller-line-badge{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:32px;border:1px solid #48534b;background:#1c2520;border-radius:5px;color:#d8e6db;font-size:10px;direction:rtl;white-space:nowrap}.caller-pair .caller-black{padding:11px 12px}.caller-pair .caller-top{gap:9px;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}.caller-pair .caller-phone-form input{font-size:15px}.caller-pair .caller-name{font-size:14px}.caller-pair .caller-history{margin:0}.topbar{flex-wrap:wrap}@media(max-width:650px){.caller-pair{grid-template-columns:1fr}.topbar>#caller-dock{flex-basis:100%}}

/* Fixed caller cards: desktop width does not grow with the viewport. */
.topbar>#caller-dock{flex:0 0 auto;width:810px;max-width:100%}.caller-pair{grid-template-columns:repeat(2,400px);align-items:start}.caller-pair .caller-black{width:400px;max-width:100%;height:132px;min-height:132px;padding:12px 14px;overflow:hidden}.caller-pair .caller-top{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:12px;min-height:48px}.caller-pair .caller-address{max-height:49px;overflow-y:auto;padding-top:7px;margin-top:7px}.caller-pair .caller-name{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.caller-line-badge{width:48px;height:48px;border:1px solid #536e60;border-radius:11px;background:linear-gradient(145deg,#31483c,#18291f);box-shadow:inset 0 1px 0 #ffffff15,0 3px 8px #00000030;display:flex;flex-direction:column;gap:0;line-height:1.1;color:#e2f4e8}.caller-line-badge small{color:#a9c5b4;font-size:10px;line-height:14px}.caller-line-badge strong{font-size:23px;line-height:26px;font-weight:700}.caller-ringing .caller-line-badge{border-color:#50b77d;background:linear-gradient(145deg,#315b40,#163423)}.caller-pair .caller-phone-form{gap:7px}.caller-pair .caller-phone-form::after{right:55px}.caller-pair .caller-phone-form input{font-size:15px}
@media(max-width:1100px){.topbar>#caller-dock{width:400px;flex:0 0 auto}.caller-pair{grid-template-columns:400px}}
@media(max-width:430px){.topbar>#caller-dock{width:100%;flex:0 1 400px}.caller-pair{grid-template-columns:minmax(0,1fr)}.caller-pair .caller-black{width:100%;padding:10px}.caller-pair .caller-top{gap:8px;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}.caller-pair .caller-phone-form input{font-size:13px}}

.sidebar .brand-name{font-size:22px;line-height:46px;white-space:nowrap;color:#e1f5dc}
@media(max-width:900px){.sidebar .brand-name{font-size:14px;line-height:40px}}

/* Locally bundled food illustrations and keyboard-accessible selection. */
.food-picture{display:inline-block;width:80px;height:64px;flex:none;background-image:url('/food-atlas-v169.png');background-size:400% 500%;background-position:var(--food-x) var(--food-y);background-repeat:no-repeat;mix-blend-mode:multiply}
.food-art{display:flex;align-items:center;justify-content:center}.food-art .food-picture{width:80px;height:64px}
.catalog-emoji .food-picture{width:38px;height:30.4px;vertical-align:middle}
.food-picker{grid-column:1/-1;min-width:0;margin:0;padding:0;border:0}.food-picker legend{font-size:12px;font-weight:700;margin-bottom:10px}.food-picker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-height:325px;overflow-y:auto;padding:3px}
.food-picture-option{position:relative;cursor:pointer;min-width:0}.food-picture-option input{position:absolute;opacity:0;width:1px;height:1px;min-height:0;padding:0}.food-picture-tile{display:flex;flex-direction:column;align-items:center;gap:4px;background:#fff;border:2px solid #e4ebe5;border-radius:12px;padding:5px;font-size:11px;transition:border-color .15s,background .15s}.food-picture-preview{height:64px;display:flex;align-items:center;justify-content:center;font-size:32px}.food-picture-preview .food-picture{width:64px;height:51.2px}.food-picture-option input:checked+.food-picture-tile{border-color:#187b61;background:#e9f6ee;box-shadow:0 0 0 2px #187b6114}.food-picture-option input:focus-visible+.food-picture-tile{outline:3px solid #79c8ac;outline-offset:2px}.food-picture-option:hover .food-picture-tile{border-color:#79c8ac}
@media(max-width:650px){.food-art .food-picture{width:60px;height:48px}.food-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* On-screen editable invoice. */
.invoice-cart{background:#fff;border:1px solid #d7ded8;border-radius:6px;box-shadow:0 7px 22px #172d2a0c}.invoice-cart .cart-header{background:#fff;border-bottom:2px dashed #d8dfda}.invoice-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;direction:rtl}.invoice-number{border:2px solid #234c40;border-radius:9px;padding:9px 12px;min-width:132px;text-align:center;background:#f4f8f4;color:#173c30}.invoice-number>span{display:block;font-size:11px;font-weight:600}.invoice-number strong{display:block;font-size:30px;font-weight:800;line-height:1.6;font-variant-numeric:tabular-nums;direction:ltr;letter-spacing:1px}.invoice-number small{font-size:9px;color:#6b7a70;display:block}.invoice-heading-details{display:flex;flex-direction:column;align-items:flex-end;gap:9px;padding-top:4px}.invoice-heading-details h2{font-size:19px;color:#243c31}.invoice-heading-details>span{font-size:10px;color:#738078}.invoice-heading-details .link-button{font-size:10px}.invoice-cart .cart-meta{margin-top:12px}.invoice-cart .cart-body{padding-top:12px}.invoice-columns,.invoice-item{display:grid;grid-template-columns:minmax(0,1fr) 82px 84px;gap:7px;align-items:center}.invoice-columns{font-size:10px;font-weight:700;color:#526258;background:#f1f5f0;padding:10px 6px;border-top:1px solid #cbd6cd;border-bottom:1px solid #cbd6cd}.invoice-columns>span:not(:first-child){text-align:center}.invoice-item{padding:12px 6px 8px;border-bottom:1px dashed #cbd6cd}.invoice-item-description{display:flex;align-items:flex-start;gap:6px;min-width:0}.invoice-row-number{font-size:10px;color:#8a978d;padding-top:2px}.invoice-item .cart-item-name{font-size:12px;line-height:1.8;overflow-wrap:anywhere}.invoice-unit-price{display:block;font-size:9px;color:#849087;margin-top:2px}.invoice-item .cart-item-price{font-size:12px;text-align:center;overflow-wrap:anywhere}.invoice-item .quantity{width:82px;justify-content:space-between}.invoice-item .quantity button{width:24px;height:28px;padding:0}.invoice-item .quantity span{font-size:14px;font-weight:700;min-width:20px;text-align:center}.invoice-item-note{grid-column:1/-1;text-align:right;font-size:10px;overflow-wrap:anywhere}.invoice-currency{text-align:left;font-size:9px;color:#849087;margin-top:7px}.invoice-cart .cart-totals{background:#fff;border-top:2px dashed #cbd6cd}.invoice-cart .cart-note{background:#fafbf9}.invoice-cart .cart-items{max-height:360px}.invoice-columns{position:sticky;top:0;z-index:1}@media(max-width:370px){.invoice-number{min-width:116px;padding:8px}.invoice-number strong{font-size:25px}.invoice-columns,.invoice-item{grid-template-columns:minmax(0,1fr) 76px 70px;gap:4px}.invoice-item .quantity{width:76px}.invoice-heading-details h2{font-size:16px}}

.caller-black{position:relative;padding-bottom:40px!important;height:164px!important}.caller-invoice{position:absolute;bottom:8px;left:12px;display:flex;align-items:center;gap:6px;border:1px solid #456457;border-radius:7px;padding:5px 9px;color:#bdf5d3;background:#16382b;font-size:10px}.caller-invoice svg{width:18px;height:18px}.caller-invoice:hover{background:#24583f}.caller-invoice:focus-visible{outline:2px solid #9be4b8;outline-offset:2px}

#caller-history-list{max-height:384px;overflow-y:auto;overscroll-behavior:contain}.caller-history-row{height:64px;box-sizing:border-box;display:flex;align-items:center;border-bottom:1px solid var(--line);padding:0 8px;gap:8px}.caller-history-row:last-child{border-bottom:0}.caller-history-row .caller-history-order{flex:1;min-width:0;border:0;padding:5px 3px;height:63px;overflow:hidden}.caller-history-meta{white-space:nowrap}.caller-history-meta strong{overflow:hidden;text-overflow:ellipsis}.call-invoice-create,.call-invoice-issued{flex:none;min-width:90px;padding:7px 8px;border:1px solid #c4d9ce;border-radius:7px;font-size:10px;color:#195c43;background:#edf7f0}.call-invoice-issued{background:#d9eee1;border-color:#a8cdb7;font-weight:700}.call-invoice-issued small{display:block;font-size:9px;color:#39714e;margin-top:3px}

.print-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;direction:rtl}.print-choice-card{display:flex;flex-direction:column;align-items:center;gap:14px;padding:20px 6px;border:2px solid #dce6df;border-radius:14px;background:#fafcf9;color:#244c3c;min-height:155px}.print-choice-card svg{width:70px;height:70px}.print-choice-card strong{font-size:17px}.print-choice-card:hover,.print-choice-card:focus-visible{border-color:#187b61;background:#eaf6ee}.print-choice-both{border-color:#78ad8d;background:#f0f8f2}.print-choice-hint{text-align:center;font-size:12px;color:#718477;margin-top:18px}.type-switch{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px}.type-switch button{white-space:nowrap;padding:8px 3px;font-size:11px}@media(max-width:400px){.print-choice-grid{gap:6px}.print-choice-card svg{width:54px;height:54px}.print-choice-card strong{font-size:14px}}

.food-picture.food-extra{background-image:url('/goodboy-menu-extra-v1-7-4.png');background-size:400% 200%}

/* goodboy-compact-layout-v1 */
.topbar{
 display:flex;flex-direction:column;align-items:flex-start;
 direction:ltr;gap:8px;padding:12px;min-height:0;height:auto
}
.topbar-tools{
 order:0;direction:rtl;margin:0;padding:0;width:100%;
 justify-content:flex-end;gap:8px
}
.topbar>#caller-dock{
 order:1;width:360px;max-width:100%;flex:none;direction:rtl
}
.topbar-tools .clock{margin-left:auto;font-size:10px}
.topbar-tools .clock strong{font-size:14px}
.printer-picture{width:44px;height:38px}
.printer-indicator{width:54px}
.topbar-tools .icon-button{width:28px;height:30px}

.caller-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.caller-pair .caller-black{
 width:100%;height:118px!important;min-height:118px;
 padding:7px 8px 28px!important;border-radius:7px
}
.caller-pair .caller-top{
 display:flex;flex-direction:column;align-items:stretch;
 gap:1px;min-height:0
}
.caller-pair .caller-phone-form{gap:4px;min-height:30px}
.caller-pair .caller-phone-form input{font-size:12px;min-height:28px}
.caller-line-badge{
 width:28px;height:28px;border-radius:6px;gap:2px;flex-direction:row
}
.caller-line-badge small{font-size:8px}
.caller-line-badge strong{font-size:14px}
.caller-pair .caller-name{font-size:11px;line-height:20px}
.caller-name-slot{height:20px;font-size:11px;overflow:hidden}
.caller-name-slot select{
 min-height:20px;height:20px;padding:0;font-size:10px
}
.caller-name-slot .caller-add{min-height:20px;font-size:10px}
.caller-pair .caller-address{
 padding-top:2px;margin-top:2px;max-height:19px;
 font-size:10px;line-height:16px;white-space:nowrap;overflow:auto
}
.caller-invoice{
 bottom:5px;left:7px;padding:3px 5px;font-size:9px;gap:4px
}
.caller-invoice svg{width:13px;height:13px}

.caller-history{margin:0;border-radius:6px}
.caller-history summary{
 min-height:28px;padding:4px 8px;font-size:10px
}
#caller-history-list{max-height:204px;overflow-y:auto}
.caller-history-row{
 height:34px;min-height:34px;padding:0 5px;gap:5px
}
.caller-history-row .caller-history-order{
 display:flex;align-items:center;justify-content:flex-start;
 gap:8px;height:33px;min-height:0;padding:0;
 flex:1;min-width:0;font-size:10px
}
.caller-history-order>strong{font-size:10px;flex:none}
.caller-history-order>span{
 overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0
}
.call-invoice-compact{
 display:inline-flex;align-items:center;gap:4px;flex:none;
 padding:4px 6px;border:1px solid #c4d9ce;border-radius:5px;
 background:#edf7f0;color:#195c43;font-size:9px;
 white-space:nowrap;height:25px
}
.call-invoice-compact svg{width:13px;height:13px;flex:none}
.call-invoice-compact b{font-size:11px}
.call-invoice-compact.is-issued{background:#d9eee1}
.call-invoice-compact.is-cancelled{
 background:#fbe9e5;border-color:#e7c0b7;color:#9c4032
}

@media(min-width:851px){
 .workspace.compact-pos{
  display:grid;grid-template-columns:minmax(0,1fr) 360px;
  grid-template-rows:auto auto 1fr;gap:12px 18px;
  align-content:start;align-items:start;padding:18px;min-height:100vh
 }
 .compact-pos>.topbar{
  grid-column:2;grid-row:1;padding:0;
  background:transparent;border:0;width:360px
 }
 .compact-pos>.topbar>#caller-dock{width:360px}
 .compact-pos>#content,.compact-pos .pos-layout{display:contents}
 .compact-pos .menu-pane{
  grid-column:1;grid-row:1/4;width:100%;align-self:start
 }
 .compact-pos .cart{
  grid-column:2;grid-row:2;width:360px;position:static;margin:0
 }
 .compact-pos>#connection,.compact-pos>#print-alerts{grid-column:1/-1}
 .compact-pos .chips{margin-top:0}
 .compact-pos .catalog-heading{margin-top:12px}
 .compact-pos .product-grid{
  grid-template-columns:repeat(auto-fill,minmax(120px,1fr))
 }
}
@media(max-width:850px){
 .topbar{align-items:flex-start}
 .topbar-tools{width:min(360px,100%)}
 .topbar>#caller-dock{width:360px;max-width:100%}
 .pos-layout{display:flex;flex-direction:column}
 .menu-pane,.cart{width:100%}
 .cart{position:static}
 .caller-pair{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* end goodboy-compact-layout-v1 */

/* goodboy-larger-cards-v1 */
.topbar>#caller-dock{width:420px;max-width:100%}
.caller-pair{gap:8px}
.caller-pair .caller-black{
 height:146px!important;min-height:146px;
 padding:10px 10px 34px!important
}
.caller-pair .caller-phone-form{min-height:34px;gap:6px}
.caller-pair .caller-phone-form input{
 font-size:14px;min-height:32px
}
.caller-line-badge{width:32px;height:32px}
.caller-line-badge strong{font-size:17px}
.caller-pair .caller-name{font-size:13px;line-height:24px}
.caller-name-slot{height:24px;font-size:13px}
.caller-name-slot select{
 height:24px;min-height:24px;font-size:12px
}
.caller-pair .caller-address{
 font-size:11px;line-height:18px;max-height:36px;
 white-space:normal
}
.caller-invoice{
 bottom:7px;left:9px;padding:4px 7px;font-size:10px
}
.caller-invoice svg{width:16px;height:16px}

.product-grid{
 grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
 gap:14px
}
.product-card{
 aspect-ratio:1/1;min-height:0;
 padding:12px;border-radius:14px;
 display:flex;flex-direction:column;
 align-items:center;justify-content:center
}
.product-card .food-art{
 width:100%;height:94px;flex:0 0 94px;
 margin:0;font-size:55px
}
.product-card .food-art .food-picture{
 width:116px;height:92.8px
}
.product-card .food-art .food-extra{
 width:94px;height:94px
}
.product-card .product-name{
 width:100%;font-size:13px;line-height:1.7;
 text-align:center;margin-top:3px;
 overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
.product-card .product-price{
 font-size:13px;line-height:1.6;margin-top:3px
}

@media(min-width:851px){
 .workspace.compact-pos{
  grid-template-columns:minmax(0,1fr) 420px
 }
 .compact-pos>.topbar,
 .compact-pos>.topbar>#caller-dock,
 .compact-pos .cart{width:420px}
 .compact-pos .product-grid{
  grid-template-columns:repeat(auto-fill,minmax(150px,1fr))
 }
}
@media(max-width:850px){
 .topbar-tools{width:min(420px,100%)}
 .topbar>#caller-dock{width:420px;max-width:100%}
}
@media(max-width:420px){
 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .product-card{padding:8px}
 .product-card .food-art{height:82px;flex-basis:82px}
 .product-card .food-art .food-picture{width:102px;height:81.6px}
 .product-card .food-art .food-extra{width:82px;height:82px}
 .caller-pair .caller-phone-form input{font-size:12px}
}

/* Full food names */
.product-card{
 aspect-ratio:auto;
 min-height:190px;
 height:auto;
 justify-content:flex-start;
}
.product-card .product-name{
 display:block;
 width:100%;
 white-space:normal!important;
 overflow:visible!important;
 text-overflow:clip!important;
 overflow-wrap:anywhere;
 word-break:normal;
 max-height:none!important;
 height:auto!important;
 -webkit-line-clamp:unset!important;
 font-size:13px;
 line-height:1.8;
 min-height:47px;
 margin-top:6px;
}
.product-card .product-price{
 margin-top:auto;
 padding-top:7px;
 flex-shrink:0;
}

/* goodboy-snapp-entry-v1 */
.snapp-connect{
 display:flex;align-items:center;justify-content:space-between;
 gap:16px;margin-bottom:18px;border:1px solid #efd4e4
}
.snapp-connect h3{color:#ae246b;margin-bottom:7px}
.snapp-connect p{font-size:12px;line-height:1.9}
.snapp-pending{
 display:block;font-size:11px;color:#826478;margin-top:6px
}
.snapp-login{background:#e8298b;color:#fff;white-space:nowrap}
.snapp-shortcut{
 display:flex;flex-direction:column;align-items:center;
 justify-content:center;gap:3px;padding:4px;color:#d32680;
 flex:none;min-width:47px;font-size:9px
}
.snapp-shortcut svg{width:25px;height:25px}
.snapp-shortcut:hover{background:#fbe8f2;border-radius:8px}
@media(max-width:650px){
 .snapp-connect{flex-direction:column;align-items:stretch}
 .snapp-shortcut{min-width:37px}
 .snapp-shortcut svg{width:22px;height:22px}
}

/* goodboy-caller-large-v2 */
.topbar>#caller-dock{width:500px;max-width:100%}
.caller-pair{gap:10px}
.caller-pair .caller-black{
 height:174px!important;min-height:174px;
 padding:12px 12px 42px!important
}
.caller-pair .caller-phone-form{min-height:40px;gap:8px}
.caller-pair .caller-phone-form input{
 font-size:17px;min-height:38px;font-weight:700
}
.caller-line-badge{width:38px;height:38px}
.caller-line-badge small{font-size:10px}
.caller-line-badge strong{font-size:21px}
.caller-name-slot{height:29px;font-size:15px}
.caller-pair .caller-name{font-size:15px;line-height:29px}
.caller-name-slot select{
 height:28px;min-height:28px;font-size:13px
}
.caller-name-slot .caller-add{min-height:28px;font-size:13px}
.caller-pair .caller-address{
 font-size:13px;line-height:21px;max-height:42px;
 white-space:normal;overflow-y:auto
}
.caller-invoice{
 bottom:8px;left:10px;padding:6px 9px;font-size:12px;gap:6px
}
.caller-invoice svg{width:18px;height:18px}

.caller-history summary{
 min-height:38px;padding:8px 10px;font-size:13px
}
#caller-history-list{max-height:288px;overflow-y:auto}
.caller-history-row{
 height:48px;min-height:48px;padding:0 8px;gap:8px
}
.caller-history-row .caller-history-order{
 height:47px;font-size:13px;gap:12px
}
.caller-history-order>strong{font-size:13px}
.call-invoice-compact{
 height:33px;padding:6px 8px;font-size:11px;gap:6px
}
.call-invoice-compact svg{width:17px;height:17px}
.call-invoice-compact b{font-size:14px}

@media(min-width:851px){
 .workspace.compact-pos{
  grid-template-columns:minmax(0,1fr) 500px
 }
 .compact-pos>.topbar,
 .compact-pos>.topbar>#caller-dock,
 .compact-pos .cart{width:500px}
}
@media(min-width:851px) and (max-width:1100px){
 .workspace.compact-pos{
  grid-template-columns:minmax(0,1fr) 440px
 }
 .compact-pos>.topbar,
 .compact-pos>.topbar>#caller-dock,
 .compact-pos .cart{width:440px}
 .caller-pair .caller-phone-form input{font-size:15px}
}
@media(max-width:850px){
 .topbar-tools{width:min(500px,100%)}
 .topbar>#caller-dock{width:500px;max-width:100%}
}
@media(max-width:480px){
 .caller-pair{grid-template-columns:1fr}
 .caller-pair .caller-black{width:100%}
 .caller-history-row{padding:0 5px;gap:5px}
 .caller-history-row .caller-history-order{gap:7px;font-size:11px}
 .caller-history-order>strong{font-size:11px}
 .call-invoice-compact{font-size:10px;padding:5px}
}

/* goodboy-caller-clean-icons-v1 */
#caller-dock .caller-invoice svg {
    display: none !important;
}
#caller-dock .caller-address {
    scrollbar-width: none !important;
}
#caller-dock .caller-address::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* goodboy-digital-clock-v1 */
#clock.clock{
  display:flex!important;flex-direction:column!important;
  justify-content:center;align-items:center;gap:7px;
  width:224px;min-width:224px;max-width:100%;
  box-sizing:border-box;padding:12px 14px!important;
  background:linear-gradient(145deg,#142333,#080e17)!important;
  border:2px solid #294357;border-radius:13px;
  box-shadow:inset 0 0 16px #0008,0 3px 10px #0002;
  margin:0!important;
}
#clock .digital-time{
  display:flex;align-items:center;justify-content:center;
  gap:3px;width:100%;color:#46c8ff;
  filter:drop-shadow(0 0 3px #22aaff66);
}
#clock .digital-digit{width:24px;height:43px;fill:currentColor;flex:none}
#clock .digital-colon{width:8px;height:43px;fill:currentColor;flex:none}
#clock .digital-calendar{
  display:flex;align-items:center;justify-content:center;
  gap:15px;width:100%;direction:ltr;line-height:1.7;
}
#clock .digital-date{
  color:#ffdb74;font-size:16px;font-weight:700;
  font-variant-numeric:tabular-nums;white-space:nowrap;
}
#clock .digital-day{
  color:#6debb0;font-size:15px;font-weight:700;
  direction:rtl;white-space:nowrap;
}

/* goodboy-call-history-seconds-v1 */
#caller-history-list .caller-history-order{
    display:flex!important;
    align-items:center;
    flex-wrap:nowrap!important;
    gap:7px;
    min-width:0;
}
#caller-history-list .caller-history-order>strong{
    flex-shrink:0;
    white-space:nowrap;
}
#caller-history-list .call-customer-name{
    flex:1 1 auto;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
#caller-history-list .call-history-time{
    display:inline-block;
    flex:0 0 auto;
    white-space:nowrap;
    font-size:12px;
    font-weight:600;
    font-variant-numeric:tabular-nums;
    color:#527363;
}

/* goodboy-large-menu-names-v1 */
.product-card{
    height:auto!important;
    aspect-ratio:auto!important;
}
.product-card .product-name{
    display:block!important;
    width:100%;
    font-size:18px!important;
    font-weight:700!important;
    line-height:1.7!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    overflow-wrap:anywhere;
    word-break:normal;
    height:auto!important;
    max-height:none!important;
    -webkit-line-clamp:unset!important;
    line-clamp:unset!important;
    min-height:62px;
    margin-top:8px;
    margin-bottom:6px;
}

/* goodboy-category-font-v1 */
[data-action="category"]{
    font-size:17px!important;
    font-weight:700!important;
    line-height:1.7!important;
    min-height:52px!important;
    height:auto!important;
    padding:10px 18px!important;
    width:auto!important;
    max-width:none!important;
    flex-shrink:0!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
}

/* goodboy-tables-workday-v1 */
.gb-table-countdown{font-size:12px;color:#986015;margin:5px 0 10px!important}
.gb-table-countdown strong{display:inline-block;font-size:19px;font-variant-numeric:tabular-nums;margin-right:6px}
.data-table.gb-compact-menu th{padding:7px 8px!important;line-height:1.5}
.data-table.gb-compact-menu td{padding:4px 8px!important;line-height:1.4!important;height:auto!important;vertical-align:middle}
.gb-compact-menu .catalog-emoji{display:inline-flex!important;align-items:center;justify-content:center;width:40px!important;height:36px!important;min-width:40px;margin:0 0 0 6px!important;vertical-align:middle;font-size:25px}
.gb-compact-menu .catalog-emoji .food-picture{width:38px!important;height:30.4px!important;transform:none!important}
.gb-compact-menu .catalog-emoji .food-extra{width:34px!important;height:34px!important}
.gb-compact-menu .catalog-emoji .gb-food-composite,.gb-compact-menu .catalog-emoji .gb-food-single{width:38px!important;height:34px!important}
.gb-compact-menu .catalog-emoji .gb-food-main>.food-picture{width:36px!important;height:28.8px!important;transform:none!important}
.gb-compact-menu .catalog-emoji .gb-food-main>.food-extra{width:32px!important;height:32px!important}
.gb-compact-menu .catalog-emoji .gb-food-ingredients>span{width:15px!important;height:15px!important;border-radius:3px}
.gb-compact-menu td:first-child>strong{font-size:14px;line-height:1.5}
.gb-compact-menu .row{gap:4px!important}
.gb-compact-menu .button{min-height:28px!important;padding:4px 8px!important;font-size:11px!important;line-height:1.5}
.gb-compact-menu .badge{padding:2px 6px!important;line-height:1.5}
