:root{--egp-red:#e41f26;--egp-dark:#111827;--egp-bg:#f5f6f8;--egp-border:#e4e7ec;--egp-green:#16a34a}.estome-wrap{max-width:1800px}.egp-topbar{margin:-10px -20px 18px;min-height:64px;background:#101722;color:#fff;display:flex;align-items:center;gap:24px;padding:0 22px;box-sizing:border-box}.egp-brand{display:flex;align-items:center;gap:9px;font-size:18px}.egp-logo{width:34px;height:34px;border-radius:10px;background:var(--egp-red);display:grid;place-items:center;font-weight:900}.egp-topbar nav{display:flex;gap:8px;flex:1}.egp-topbar nav a{color:#fff;text-decoration:none;padding:12px 16px;background:#1c2431;border-radius:9px;font-weight:700}.egp-topbar nav a.active,.egp-topbar nav a:hover{background:var(--egp-red)}.egp-top-right{font-weight:700}.estome-head,.egp-title-row{display:flex;justify-content:space-between;align-items:center;gap:20px}.estome-head h1,.egp-title-row h1{margin-bottom:4px}.tse-badge{padding:8px 12px;border-radius:999px;font-weight:800}.tse-badge.bad{background:#fee2e2;color:#991b1b}.tse-badge.ok{background:#dcfce7;color:#166534}.pos-grid{display:grid;grid-template-columns:185px minmax(600px,1fr) 405px;gap:12px;min-height:74vh}.pos-cats,.pos-products,.pos-cart,.egp-panel,.egp-stat{background:#fff;border:1px solid var(--egp-border);border-radius:14px}.pos-cats{padding:10px;display:flex;flex-direction:column;gap:5px;max-height:75vh;overflow:auto;background:#111827}.cat{border:0;border-radius:8px;padding:11px 12px;cursor:pointer;font-weight:700;background:transparent;color:#fff;text-align:left}.cat:hover,.cat.active{background:var(--egp-red)}.pos-products,.pos-cart{padding:12px}.pos-tools{display:flex;gap:8px;margin-bottom:12px}.pos-tools input,.customer-fields input,#order-note{width:100%;border:1px solid #d0d5dd;border-radius:9px;padding:11px;box-sizing:border-box}.pos-tools button{border:0;background:#eef0f3;border-radius:9px;padding:0 16px;font-weight:700}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:10px;max-height:68vh;overflow:auto;padding-right:3px}.product-card{border:1px solid var(--egp-border);border-radius:12px;overflow:hidden;background:#fff;cursor:pointer;transition:.15s}.product-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(0,0,0,.08);border-color:#cfd4dc}.product-image{height:95px;background-size:cover;background-position:center}.product-placeholder{display:grid;place-items:center;background:#f2f4f7;font-size:32px}.product-info{padding:10px}.product-info strong{display:block;min-height:38px}.product-info>div{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.product-card .price{font-size:17px;font-weight:900;color:var(--egp-red)}.product-plus{width:25px;height:25px;border-radius:50%;background:var(--egp-red);color:#fff;display:grid;place-items:center;font-size:20px}.order-type{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.order-type button{border:1px solid var(--egp-border);background:#fff;padding:10px;border-radius:7px;font-weight:700;cursor:pointer}.order-type button.active{background:#111827;color:#fff}.selected-table{display:flex;justify-content:space-between;align-items:center;margin:9px 0;padding:8px 10px;background:#fff7ed;border-radius:8px}.selected-table button{border:0;background:transparent;color:var(--egp-red);font-weight:800;cursor:pointer}.customer-fields{display:grid;gap:6px;margin:9px 0}.cart-line{display:grid;grid-template-columns:1fr auto;gap:8px;border-bottom:1px solid #eee;padding:10px 0}.cart-actions{display:flex;align-items:center;gap:5px}.cart-actions button{width:29px;height:29px;border:1px solid #e0e3e7;background:#f8f9fb;border-radius:6px;cursor:pointer}.cart-actions .del{color:var(--egp-red)}.empty-cart{text-align:center;padding:24px 10px;color:#7b8492}.totals{display:flex;justify-content:space-between;font-size:22px;padding:14px 0}.pay-main{width:100%;background:var(--egp-green);color:#fff;border:0;border-radius:8px;font-size:17px;font-weight:900;padding:16px;cursor:pointer}.secondary,.kitchen{border:0;border-radius:8px;padding:12px;font-weight:800;cursor:pointer}.secondary{background:#e8ebef}.kitchen{background:var(--egp-red);color:#fff}.wide{width:100%;margin-top:7px}.receipt{font-family:monospace;max-width:320px;background:#fff;padding:16px;border:1px solid #ddd;margin-top:12px}.rline{display:flex;justify-content:space-between;gap:12px}.rline.total{font-size:18px}.egp-success{background:#ecfdf3;color:#166534;padding:10px;border-radius:8px;margin-top:10px}.egp-modal{position:fixed;inset:0;background:rgba(10,15,24,.62);display:none;align-items:center;justify-content:center;z-index:100000;padding:20px}.egp-modal.open{display:flex}.egp-modal-card{width:min(430px,95vw);background:#fff;border-radius:16px;padding:20px;box-shadow:0 24px 80px rgba(0,0,0,.35);position:relative}.egp-table-modal{width:min(900px,95vw)}.egp-modal-close{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:28px;cursor:pointer}.payment-total{display:flex;justify-content:space-between;border-bottom:1px solid #eee;padding:10px 0 15px;margin-bottom:12px}.payment-total strong{font-size:27px;color:var(--egp-red)}.payment-options{display:grid;gap:8px}.pay-choice{display:flex;gap:14px;align-items:center;width:100%;padding:14px;border:1px solid var(--egp-border);background:#fff;border-radius:10px;font-size:16px;font-weight:800;cursor:pointer;text-align:left}.pay-choice:hover{border-color:var(--egp-red);background:#fff7f7}.table-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.table-card{min-height:120px;border-radius:12px;padding:14px;text-align:left;background:#fff;cursor:pointer;border:2px solid #d1d5db;display:flex;flex-direction:column;gap:5px}.table-card strong{font-size:18px}.table-card em{font-style:normal;font-weight:800;margin-top:auto}.status-free{border-color:#56c58a}.status-free em{color:#159653}.status-occupied{border-color:#ff6969}.status-occupied em{color:#e11d48}.status-ordered{border-color:#ffb74d}.status-ordered em{color:#d97706}.status-reserved{border-color:#69a7ff}.status-reserved em{color:#2563eb}.admin-table-grid{margin-top:16px}.egp-dashboard{padding-top:4px}.egp-primary{background:var(--egp-red);color:#fff!important;text-decoration:none;padding:12px 16px;border-radius:9px;font-weight:800}.egp-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0}.egp-stat{padding:18px}.egp-stat span{display:block;color:#667085}.egp-stat b{display:block;font-size:27px;margin-top:8px}.egp-dash-grid{display:grid;grid-template-columns:2fr 1fr;gap:14px}.egp-panel{padding:18px}.egp-quick{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.egp-quick a{border:1px solid var(--egp-border);border-radius:9px;padding:14px;text-decoration:none;font-weight:800;color:#101828}.egp-red{color:var(--egp-red)}.daily-card{background:#fff;border:1px solid #ddd;border-radius:12px;padding:18px;margin-top:14px;max-width:800px}.daily-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.daily-grid div{background:#f6f7f7;padding:14px;border-radius:10px}.daily-grid b{display:block;font-size:20px;margin-top:5px}.online-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.online-filter{border:1px solid #d1d5db;background:#fff;border-radius:9px;padding:9px 13px;font-weight:700;cursor:pointer}.online-filter.active{background:#111827;color:#fff}.online-count{display:inline-block;background:#b91c1c;color:#fff;border-radius:999px;padding:7px 11px;font-weight:800}.online-orders{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:12px}.online-order{background:#fff;border:1px solid #d1d5db;border-radius:14px;overflow:hidden}.online-order.is-new{border:2px solid #b91c1c}.online-order-head{display:flex;justify-content:space-between;gap:10px;padding:13px;background:#f6f7f7}.online-order-body{padding:13px}.online-item{padding:8px 0;border-bottom:1px solid #eee}.online-item-meta{font-size:12px;color:#555;margin:3px 0 0 18px}.online-order-total{font-size:20px;font-weight:800;display:flex;justify-content:space-between;margin:12px 0}.online-actions{display:flex;gap:6px;flex-wrap:wrap}.online-actions button{border:0;border-radius:8px;padding:9px 11px;cursor:pointer;font-weight:700}.online-actions .accept{background:#166534;color:#fff}.online-actions .done{background:#111827;color:#fff}.online-actions .cancel{background:#fee2e2;color:#991b1b}.online-note{background:#fff7ed;border-radius:8px;padding:8px;margin-top:8px}.online-badge{font-size:12px;font-weight:800;border-radius:999px;padding:5px 8px;background:#e5e7eb}.online-badge.processing{background:#fef3c7}.online-badge.completed{background:#dcfce7}.online-badge.pending,.online-badge.on-hold{background:#fee2e2}@media(max-width:1200px){.pos-grid{grid-template-columns:145px 1fr}.pos-cart{grid-column:1/-1}.product-grid{max-height:45vh}.egp-stat-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.egp-topbar{overflow:auto}.egp-topbar nav a{white-space:nowrap}.pos-grid{display:block}.pos-cats{flex-direction:row;max-height:none;overflow:auto;margin-bottom:8px}.cat{min-width:max-content}.product-grid{grid-template-columns:repeat(2,1fr)}.pos-cart{margin-top:10px}.egp-stat-grid,.egp-dash-grid,.egp-quick{grid-template-columns:1fr}.online-orders{grid-template-columns:1fr}}

/* v0.4 full-screen employee kiosk + branded login */
.egp-kiosk-body{margin:0!important;background:#f4f6f8!important;min-height:100vh;color:#111827;font-family:Arial,Helvetica,sans-serif;overflow-x:hidden}.egp-kiosk-body #wpadminbar{display:none!important}.egp-kiosk-body .egp-frontend-app{min-height:100vh}.egp-kiosk-body .estome-wrap{max-width:none!important;margin:0!important;padding:18px 20px 28px!important;box-sizing:border-box}.egp-kiosk-body .egp-topbar{margin:0!important;border-radius:0;position:sticky;top:0;z-index:99990;min-height:72px;box-shadow:0 4px 18px rgba(0,0,0,.12)}.egp-kiosk-body .egp-topbar nav a{padding:13px 18px}.egp-kiosk-body .egp-pos-page{padding-top:16px!important}.egp-kiosk-logout{position:fixed;right:18px;bottom:18px;z-index:99980;background:#111827;color:#fff!important;text-decoration:none;padding:10px 14px;border-radius:10px;font-weight:800;box-shadow:0 8px 25px rgba(0,0,0,.18)}
.egp-login-shell{min-height:100vh;display:grid;grid-template-columns:1.15fr .85fr;background:#fff}.egp-login-visual{position:relative;overflow:hidden;background:linear-gradient(145deg,#0d1118 0%,#151b25 55%,#221417 100%);color:#fff;padding:52px 58px;display:flex;flex-direction:column;justify-content:space-between}.egp-login-visual:before{content:"";position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(228,31,38,.38),rgba(228,31,38,0) 68%);right:-160px;bottom:-140px}.egp-login-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent 55%,rgba(255,255,255,.025) 55% 58%,transparent 58%)}.egp-login-brand,.egp-login-copy{position:relative;z-index:2}.egp-login-brand{display:flex;align-items:center;gap:16px}.egp-login-mark{width:58px;height:58px;border-radius:16px;background:var(--egp-red);display:grid;place-items:center;font-size:30px;font-weight:900;box-shadow:0 10px 35px rgba(228,31,38,.35)}.egp-login-brand strong{display:block;font-size:22px;line-height:1.15}.egp-login-brand small{display:block;color:#b9c0ca;margin-top:5px}.egp-login-copy span{display:inline-block;background:rgba(228,31,38,.14);border:1px solid rgba(228,31,38,.4);color:#ffb7ba;border-radius:999px;padding:7px 12px;font-weight:800;font-size:12px;letter-spacing:.07em}.egp-login-copy h2{font-size:54px;line-height:1.02;margin:18px 0 16px;max-width:620px}.egp-login-copy p{font-size:18px;line-height:1.6;color:#c9ced6;max-width:560px}.egp-login-panel{background:#f6f7f9;display:flex;align-items:center;justify-content:center;padding:35px}.egp-login-card{width:min(440px,100%);background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:38px;box-sizing:border-box;box-shadow:0 24px 70px rgba(17,24,39,.12)}.egp-login-kicker{font-size:12px;font-weight:900;letter-spacing:.12em;color:var(--egp-red)}.egp-login-card h1{font-size:32px;margin:8px 0}.egp-login-card>p{color:#667085;margin:0 0 24px}.egp-login-card form p{margin:0 0 16px}.egp-login-card label{display:block;font-weight:800;color:#344054;margin-bottom:7px}.egp-login-card input[type=text],.egp-login-card input[type=password]{width:100%;height:50px;border:1px solid #d0d5dd;border-radius:11px;padding:0 14px;box-sizing:border-box;font-size:16px;background:#fff}.egp-login-card input:focus{outline:none;border-color:var(--egp-red);box-shadow:0 0 0 4px rgba(228,31,38,.08)}.egp-login-card .login-remember label{font-weight:600;display:flex;gap:8px;align-items:center}.egp-login-submit,.egp-login-card input[type=submit]{display:flex!important;align-items:center;justify-content:center;width:100%!important;min-height:52px!important;border:0!important;border-radius:11px!important;background:var(--egp-red)!important;color:#fff!important;font-size:15px!important;font-weight:900!important;text-decoration:none!important;cursor:pointer!important;box-shadow:0 10px 22px rgba(228,31,38,.22)}.egp-login-submit:hover,.egp-login-card input[type=submit]:hover{background:#c9161c!important}.egp-login-error{background:#fff1f2;color:#9f1239;border:1px solid #fecdd3;border-radius:10px;padding:11px 12px;margin:0 0 16px;font-weight:700}.egp-login-foot{border-top:1px solid #eee;margin-top:22px;padding-top:18px;text-align:center;color:#98a2b3;font-size:12px}
@media(max-width:900px){.egp-login-shell{grid-template-columns:1fr}.egp-login-visual{min-height:270px;padding:34px}.egp-login-copy h2{font-size:38px}.egp-login-panel{padding:22px}.egp-kiosk-body .egp-topbar{position:relative}.egp-kiosk-logout{right:10px;bottom:10px}}

/* v0.5 open-table workflow */
.table-save{background:#111827;color:#fff;border:0;border-radius:8px;padding:13px;font-weight:900;cursor:pointer;letter-spacing:.01em}
.table-save:hover{background:#242b38}.table-save:disabled{opacity:.55;cursor:wait}
.selected-table span{font-weight:800}.status-occupied{box-shadow:0 0 0 3px rgba(225,29,72,.07)}
.egp-kiosk-body .pos-grid{min-height:calc(100vh - 145px)}

/* v0.6 professional Milano red/black design */
:root{--egp-red:#c91d25;--egp-red-dark:#7f1015;--egp-red-deep:#47090d;--egp-black:#0b0d10;--egp-charcoal:#14181d;--egp-soft:#f4f5f7;--egp-border:#dde1e6;--egp-muted:#6b7280;--egp-green:#15803d}
.egp-kiosk-body,.estome-wrap{font-family:Inter,Arial,Helvetica,sans-serif;color:#15171a}
.egp-topbar{background:linear-gradient(90deg,#080a0d 0%,#14171c 65%,#240c0f 100%);min-height:66px;box-shadow:0 8px 28px rgba(0,0,0,.18)}
.egp-logo{background:linear-gradient(145deg,#ef3038,#9f1016);box-shadow:0 6px 18px rgba(201,29,37,.28)}
.egp-brand strong{font-size:16px;letter-spacing:.02em}
.egp-topbar nav{gap:5px}.egp-topbar nav a{background:transparent!important;border:1px solid transparent;color:#eef0f3!important;padding:9px 13px;border-radius:8px;font-size:13px;font-weight:800;transition:.18s}
.egp-topbar nav a:hover{background:#22171a!important;border-color:#6f252a;color:#fff!important}.egp-topbar nav a.active{background:linear-gradient(135deg,#d61f28,#9e1117)!important;border-color:#d61f28!important;color:#fff!important;box-shadow:0 5px 16px rgba(201,29,37,.23)}
.egp-clock{font-size:13px;color:#d7dbe0}.estome-head h1,.egp-title-row h1{font-size:24px;line-height:1.15}.estome-head p,.egp-title-row p{font-size:13px;color:var(--egp-muted)}
.tse-badge{font-size:11px;padding:7px 10px;border-radius:7px}.tse-badge.bad{background:#fff0f0;color:#9f161b;border:1px solid #f3c6c8}
.pos-grid{grid-template-columns:170px minmax(540px,1fr) 385px;gap:10px;align-items:start}
.pos-cats,.pos-products,.pos-cart{border:1px solid #dfe3e7;border-radius:12px;box-shadow:0 3px 14px rgba(16,24,40,.045)}
.pos-cats{background:linear-gradient(180deg,#111419,#181b20);padding:8px;gap:5px;max-height:77vh}
.cat{position:relative;border:1px solid #2a3037!important;border-radius:7px!important;padding:9px 10px!important;min-height:38px;background:#171b20!important;color:#e9edf1!important;font-size:12px!important;line-height:1.2!important;font-weight:750!important;white-space:normal;overflow-wrap:anywhere;box-shadow:none!important}
.cat:hover{background:#221619!important;border-color:#7f282d!important;color:#fff!important;transform:none}.cat.active{background:linear-gradient(135deg,#d22028,#a41117)!important;border-color:#e52b34!important;color:#fff!important;box-shadow:0 4px 12px rgba(201,29,37,.2)!important}
.pos-products,.pos-cart{padding:10px;background:#fff}.pos-tools{margin-bottom:9px}.pos-tools input,.customer-fields input,#order-note{border-radius:7px;padding:9px 10px;font-size:12px}.pos-tools input:focus,.customer-fields input:focus,#order-note:focus{outline:none;border-color:#8f969f;box-shadow:0 0 0 3px rgba(17,24,39,.05)}.pos-tools button{font-size:12px;border-radius:7px;padding:0 12px;background:#171a1f;color:#fff}
.product-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;max-height:69vh}.product-card{border-radius:9px;box-shadow:0 2px 7px rgba(16,24,40,.03)}.product-card:hover{border-color:#bfc5cb;box-shadow:0 6px 18px rgba(16,24,40,.08)}.product-image{height:88px}.product-info{padding:8px}.product-info strong{font-size:12px;min-height:31px;line-height:1.25}.product-info>div{margin-top:5px}.product-card .price{font-size:14px;color:#a9161c}.product-plus{width:24px;height:24px;font-size:17px;background:#b8171e}
.pos-cart{background:#fbfbfc}.order-type{gap:4px}.order-type button{padding:8px 5px;border-radius:6px;font-size:11px;color:#111!important;background:#fff!important}.order-type button:hover{border-color:#7d848c;background:#f5f6f7!important}.order-type button.active{background:#111419!important;color:#fff!important;border-color:#111419!important}.selected-table{font-size:11px;padding:7px 9px;background:#fff5f5;border:1px solid #f1d1d2}.selected-table button{color:#a9161c;font-size:11px}.customer-fields{gap:5px;margin:7px 0}.cart-line{font-size:12px;padding:8px 0}.cart-actions button{width:26px;height:26px;border-radius:5px}.empty-cart{font-size:12px}.totals{font-size:17px;padding:11px 0}.totals strong{font-size:21px}
.pay-main{background:linear-gradient(135deg,#751016 0%,#b1161d 52%,#1a0d0f 100%)!important;border:1px solid #8d151a!important;border-radius:8px!important;font-size:15px!important;letter-spacing:.04em!important;padding:14px!important;box-shadow:0 8px 20px rgba(96,10,15,.2)}.pay-main:hover{background:linear-gradient(135deg,#8e1117 0%,#cc1b23 55%,#211013 100%)!important}.table-save{background:#15181d!important;border-radius:7px;font-size:12px;padding:11px}.secondary,.kitchen{font-size:11px;border-radius:7px;padding:10px}.kitchen{background:#a9161c!important}
.egp-modal{background:rgba(5,6,8,.72);backdrop-filter:blur(3px)}.egp-modal-card{border-radius:15px;border:1px solid #30343a;box-shadow:0 30px 90px rgba(0,0,0,.5)}#payment-modal .egp-modal-card{background:linear-gradient(145deg,#110d0f 0%,#2b0d11 58%,#090b0e 100%);color:#fff;border-color:#5d1b20}#payment-modal .egp-modal-close{color:#fff}#payment-modal h2{font-size:21px}#payment-modal .payment-total{border-bottom-color:#5a2529;color:#e9e9e9}#payment-modal .payment-total strong{color:#ff5a62}.pay-choice{background:#151519!important;border-color:#3f2a2d!important;color:#fff!important;border-radius:8px;font-size:13px;padding:12px}.pay-choice:hover{background:#411116!important;border-color:#d02a32!important}.pay-choice span{color:#fff!important}#payment-modal .secondary{background:#2a2d32!important;color:#fff!important}
.table-card{border-radius:9px;min-height:100px;padding:11px;background:#fff}.table-card strong{font-size:15px}.table-card span,.table-card em{font-size:11px}.status-reserved{border-color:#8b939c}.status-reserved em{color:#33383e}
.online-toolbar{gap:5px}.online-filter{border-radius:7px;padding:8px 10px;font-size:11px;color:#17191d!important}.online-filter.active{background:#111419!important;color:#fff!important;border-color:#111419}.online-filter:hover{border-color:#9d1b21}.online-count{background:#a9161c;font-size:11px;padding:6px 9px}.online-orders{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:10px}.online-order{border-radius:10px}.online-order-head{padding:10px;background:#f5f6f7}.online-order-body{padding:11px;font-size:12px}.online-item{padding:6px 0}.online-item-meta{font-size:11px}.online-order-total{font-size:17px}.online-actions button{border-radius:6px;padding:8px 9px;font-size:11px}.online-actions .accept{background:#166534!important}.online-actions .done{background:#111419!important}.online-actions .cancel{background:#ffe9ea!important;color:#96131a!important}.online-actions .print-online{background:#8f141a!important;color:#fff!important}.online-order.is-new{border-color:#b1161d;box-shadow:0 0 0 2px rgba(177,22,29,.07)}.online-badge{font-size:10px}.online-badge.processing{background:#f4e8d0;color:#6a4b00}.online-badge.completed{background:#dff2e7;color:#135c36}.online-badge.pending,.online-badge.on-hold{background:#f8dfe1;color:#8e161c}.egp-print-warning{background:#fff3cd;border:1px solid #ead08a;color:#5f4a00;padding:10px 12px;border-radius:8px;margin:0 0 10px;font-size:12px;font-weight:700}
.egp-stat,.egp-panel,.daily-card{border-radius:10px;box-shadow:0 3px 14px rgba(16,24,40,.04)}.egp-stat span,.egp-panel p,.daily-card p{font-size:12px}.egp-stat b{font-size:23px}.egp-primary{border-radius:7px;background:#b1161d!important;font-size:12px}.egp-quick a{border-radius:7px;font-size:12px;color:#14171a!important}.egp-quick a:hover{border-color:#a9161c;background:#fff8f8}.egp-red{color:#a9161c!important}
/* remove accidental purple/link focus colors in plugin */
.estome-wrap a:not(.egp-topbar a):not(.egp-primary):not(.egp-kiosk-logout),.egp-frontend-app a:not(.egp-topbar a):not(.egp-kiosk-logout){color:#17191d}.estome-wrap button:focus,.estome-wrap a:focus,.egp-frontend-app button:focus,.egp-frontend-app a:focus{outline:2px solid #b1161d!important;box-shadow:none!important}.estome-wrap input[type=checkbox]:checked:before{color:#a9161c!important}
@media(max-width:1300px){.pos-grid{grid-template-columns:155px minmax(480px,1fr) 350px}.product-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}}
@media(max-width:1050px){.pos-grid{grid-template-columns:140px 1fr}.pos-cart{grid-column:1/-1}.product-grid{max-height:48vh}}
@media(max-width:760px){.pos-cats{background:#111419;padding:6px}.cat{font-size:11px!important;padding:8px 9px!important}.product-grid{grid-template-columns:repeat(2,1fr)}.egp-topbar nav a{font-size:11px;padding:8px 10px}}

/* v0.7 table workflow + split payment */
.table-card{cursor:pointer;transition:.16s ease}
.table-card:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(16,24,40,.10)}
.table-card small{display:block;margin-top:4px;font-size:10px;font-weight:800;color:#8f141a}
.split-open{margin:0 0 10px;padding:11px 12px;border:1px solid #6f252a;border-radius:8px;background:linear-gradient(135deg,#241316,#421116);color:#fff;font-size:12px;font-weight:900;letter-spacing:.03em;cursor:pointer}
.split-open:hover{background:linear-gradient(135deg,#321519,#5a141a);border-color:#a8242b}
.egp-split-modal{max-width:620px!important;background:linear-gradient(145deg,#110d0f 0%,#2b0d11 58%,#090b0e 100%)!important;color:#fff!important;border-color:#5d1b20!important}
.egp-split-modal h2{color:#fff!important;margin-bottom:4px}.egp-split-modal>p{color:#d5c9cb;font-size:12px;margin-top:0}
.split-lines{max-height:48vh;overflow:auto;border:1px solid #4c272b;border-radius:10px;background:rgba(255,255,255,.035)}
.split-line{display:grid;grid-template-columns:minmax(0,1fr) auto 90px;gap:10px;align-items:center;padding:10px 12px;border-bottom:1px solid #402326}
.split-line:last-child{border-bottom:0}.split-line strong{display:block;font-size:13px;color:#fff}.split-line small{display:block;margin-top:3px;font-size:10px;color:#bdaeb0}.split-line>span{text-align:right;font-size:12px;font-weight:900;color:#ff6b72}
.split-step{display:flex;align-items:center;gap:7px}.split-step button{width:28px;height:28px;border:1px solid #6a3035;border-radius:6px;background:#171519;color:#fff;font-size:17px;font-weight:900;cursor:pointer}.split-step button:hover{background:#54141a;border-color:#b92a31}.split-step b{min-width:18px;text-align:center;color:#fff}
.split-summary{display:flex;justify-content:space-between;align-items:center;margin:12px 0 10px;padding:12px;border-radius:9px;background:#090a0c;border:1px solid #4a2428}.split-summary span{font-size:12px;color:#d8cdcf}.split-summary strong{font-size:22px;color:#ff555e}
.split-payment-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:10px}.split-pay{padding:12px 9px;border:1px solid #563035;border-radius:8px;background:#171519;color:#fff;font-size:12px;font-weight:900;cursor:pointer}.split-pay:hover{background:#4b1217;border-color:#cc2931}.split-pay:disabled{opacity:.5;cursor:wait}
@media(max-width:640px){.split-line{grid-template-columns:1fr auto}.split-line>span{grid-column:1/-1;text-align:left}.split-payment-options{grid-template-columns:1fr}}

/* v0.8.1 support button */
.egp-top-right{display:flex;align-items:center;gap:10px}.egp-support-btn{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 14px;border-radius:10px;background:linear-gradient(135deg,#b5121b,#7d0a10);color:#fff!important;text-decoration:none!important;font-weight:800;font-size:12px;letter-spacing:.02em;border:1px solid rgba(255,255,255,.12);box-shadow:0 6px 16px rgba(125,10,16,.22);transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.egp-support-btn:hover,.egp-support-btn:focus,.egp-support-btn:visited{color:#fff!important;background:linear-gradient(135deg,#008c45,#006b35)!important;box-shadow:0 8px 18px rgba(0,107,53,.24);outline:none}.egp-support-btn:hover{transform:translateY(-1px)}
/* v0.9 printer center */
.egp-printer-page{max-width:1180px;margin:28px auto!important}.egp-printer-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.egp-printer-page .egp-panel{border:1px solid #e7e2da;border-radius:18px;background:#fff;padding:22px;box-shadow:0 8px 28px rgba(20,20,20,.06)}.egp-printer-page h2{margin:0 0 16px;font-size:20px;color:#171717}.egp-switch-row,.egp-field-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 0;border-bottom:1px solid #eee}.egp-switch-row:last-child,.egp-field-row:last-child{border-bottom:0}.egp-switch-row span,.egp-field-row span{display:flex;flex-direction:column;gap:4px}.egp-switch-row small,.egp-field-row small{color:#6f6f6f}.egp-switch-row input{width:22px;height:22px;accent-color:#178044}.egp-field-row select{min-width:130px}.egp-printer-status{background:#eef8f1;color:#167a43;border:1px solid #cdebd7;padding:8px 13px;border-radius:999px;font-weight:800}.egp-printer-info{margin-top:16px;padding:15px;border-radius:12px;background:#faf7f2;border-left:4px solid #b82025}.egp-printer-info p{margin:5px 0 0;color:#666}.egp-printer-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:18px}.egp-printer-actions .egp-primary{border:0;border-radius:10px;padding:11px 18px;background:#b82025;color:#fff;font-weight:800;cursor:pointer}.egp-printer-actions .button{border-radius:10px!important;padding:8px 15px!important}.egp-topbar nav a:focus,.egp-topbar nav a:hover,.egp-topbar nav a:visited{color:#fff!important;box-shadow:none!important;outline:none!important}.egp-topbar nav a.active{background:#b82025!important;color:#fff!important}.egp-topbar a,.egp-topbar button{--wp-admin-theme-color:#b82025!important;--wp-admin-theme-color-darker-10:#8f1519!important}.egp-printer-page input:focus,.egp-printer-page select:focus{border-color:#178044!important;box-shadow:0 0 0 1px #178044!important;outline:none!important}@media(max-width:800px){.egp-printer-grid{grid-template-columns:1fr}.egp-printer-page{margin:15px!important}.egp-switch-row,.egp-field-row{align-items:flex-start}}

/* v1.0 Milano visual system — intentionally no purple/blue UI states */
:root{--egp-red:#d71920;--egp-red-dark:#8f0f14;--egp-green:#178447;--egp-dark:#10161e;--egp-dark-2:#19212b;--egp-cream:#fbfaf6;--egp-bg:#f4f2ed;--egp-border:#dfe3e8;--egp-muted:#69727d;--egp-focus:#d71920}
.egp-kiosk-body,.estome-wrap,.egp-modal-card,button,input,textarea,select{font-family:"Playfair Display",Georgia,"Times New Roman",serif!important;font-weight:400!important}
.egp-topbar{background:linear-gradient(100deg,#0d1218,#171e27)!important;border-bottom:1px solid #252e39!important}.egp-topbar nav a{background:#171f29!important;border:1px solid #29323d!important;border-radius:8px!important;font-size:14px!important;font-weight:500!important}.egp-topbar nav a:hover,.egp-topbar nav a.active{background:linear-gradient(135deg,#d71920,#b40f16)!important;border-color:#e42a31!important;color:#fff!important;box-shadow:0 5px 16px rgba(215,25,32,.22)!important}
a,a:visited{color:#151a20}.pos-grid{grid-template-columns:205px minmax(600px,1fr) 430px!important;gap:10px!important}.pos-cats{background:linear-gradient(180deg,#10161e,#151d26)!important;padding:9px!important;gap:6px!important}.cat{font-size:14px!important;line-height:1.2!important;min-height:44px!important;padding:10px 13px!important;border:1px solid #2b3541!important;border-radius:9px!important;background:#1a222c!important;color:#fff!important;font-weight:400!important}.cat:hover,.cat.active,.cat:focus{background:linear-gradient(135deg,#d71920,#b50f16)!important;border-color:#ef3037!important;color:#fff!important;outline:none!important;box-shadow:none!important}.pos-products,.pos-cart{background:#fff!important}.product-card{border-radius:9px!important;box-shadow:0 2px 8px rgba(16,22,30,.05)!important}.product-card:hover{border-color:#d71920!important;box-shadow:0 8px 22px rgba(16,22,30,.10)!important}.product-info strong{font-size:14px!important;font-weight:500!important}.product-card .price{font-size:15px!important;font-weight:500!important;color:#d71920!important}.product-plus{background:#d71920!important;font-family:Arial,sans-serif!important}.order-type button{font-size:14px!important;color:#151a20!important;background:#f4f5f6!important;border-color:#e0e4e8!important}.order-type button:hover{border-color:#d71920!important;background:#fff5f4!important}.order-type button.active{background:#d71920!important;color:#fff!important;border-color:#d71920!important}.pay-main{background:linear-gradient(115deg,#160c0d 0%,#7f0d12 45%,#d71920 100%)!important;border:1px solid #9c1116!important;border-radius:9px!important;font-size:19px!important;font-weight:500!important;letter-spacing:.05em!important;box-shadow:0 8px 20px rgba(125,13,18,.2)!important}.pay-main:hover{filter:brightness(1.06)}.table-save{background:#151c24!important;color:#fff!important;border:1px solid #27313c!important;border-radius:8px!important}.secondary{background:#f3f4f5!important;color:#171c22!important;border:1px solid #dfe3e8!important}.kitchen{background:#178447!important;color:#fff!important}.selected-table{background:#fff9ed!important;border:1px solid #eadfc5!important}.selected-table button{color:#d71920!important}.egp-modal{background:rgba(10,15,20,.46)!important;backdrop-filter:blur(3px)}.egp-modal-card{background:#fffdf9!important;border:1px solid #e4ded3!important;border-radius:14px!important;box-shadow:0 24px 70px rgba(0,0,0,.24)!important;color:#161a1f!important}.egp-payment-card{width:min(470px,95vw)!important;padding:26px!important}.egp-modal-kicker{font-size:11px;letter-spacing:.18em;color:#178447;margin-bottom:4px}.egp-modal-card h2{font-size:24px!important;font-weight:500!important;margin:2px 0 14px!important}.egp-modal-close{color:#171c22!important;background:transparent!important}.payment-total{background:#faf7f1!important;border:1px solid #ece4d7!important;border-radius:10px!important;padding:14px!important;margin-bottom:12px!important}.payment-total strong{color:#d71920!important;font-weight:500!important}.payment-options{gap:7px!important}.pay-choice{background:#fff!important;border:1px solid #d9dde2!important;color:#171c22!important;font-size:15px!important;font-weight:400!important;border-radius:9px!important;padding:12px 14px!important}.pay-choice:hover,.pay-choice:focus{background:#fff7f5!important;border-color:#d71920!important;color:#171c22!important;outline:none!important;box-shadow:0 0 0 2px rgba(215,25,32,.08)!important}.pay-icon{width:28px;height:28px;border-radius:7px;display:grid;place-items:center;background:#f4f0e8;color:#8f0f14;font-family:Arial,sans-serif!important}.split-open{background:#178447!important;color:#fff!important;border:0!important;border-radius:8px!important;padding:11px!important;margin-bottom:9px!important}.payment-adjustments{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 9px}.adjust-btn{border:1px solid #dfe3e8;background:#fff;border-radius:9px;padding:10px;text-align:left;color:#171c22}.adjust-btn:hover{border-color:#d71920;background:#fff7f5}.adjust-btn small{display:block;color:#69727d;margin-top:2px}.segmented{display:grid;grid-template-columns:1fr 1fr;gap:5px;background:#f1f2f3;padding:4px;border-radius:9px}.segmented button{border:0;background:transparent;padding:10px;border-radius:7px}.segmented button.active{background:#d71920!important;color:#fff!important}.amount-field{display:grid;gap:6px;margin:14px 0}.amount-field input{border:1px solid #d9dde2!important;border-radius:9px!important;padding:12px!important;font-size:18px!important;outline:none!important}.amount-field input:focus{border-color:#d71920!important;box-shadow:0 0 0 2px rgba(215,25,32,.08)!important}.modal-actions{display:grid;grid-template-columns:1fr 1.5fr;gap:8px}.egp-confirm{background:#178447!important;color:#fff!important;border:0;border-radius:8px;padding:12px}.tip-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.tip-presets button{background:#fff;border:1px solid #d9dde2;border-radius:8px;padding:10px}.tip-presets button:hover,.tip-presets button.active{border-color:#178447!important;background:#f1faf5!important;color:#145d36!important}.modal-help{color:#69727d;margin-top:-6px}.table-card{color:#171c22!important;background:#fff!important}.table-card:hover,.table-card:focus{background:#fff9f7!important;outline:none!important;box-shadow:0 7px 18px rgba(16,22,30,.09)!important}.status-free{border-color:#55a878!important}.status-free em{color:#178447!important}.status-occupied{border-color:#d71920!important}.status-occupied em{color:#b31218!important}.status-ordered{border-color:#d59b2d!important}.status-ordered em{color:#9b6811!important}.status-reserved{border-color:#69727d!important}.status-reserved em{color:#343c46!important}.receipt{font-family:"Playfair Display",Georgia,serif!important;border:1px solid #dfe3e8!important;border-radius:10px!important;box-shadow:0 4px 14px rgba(0,0,0,.05);font-size:14px!important}.receipt h2{font-weight:500!important}.receipt .total{font-size:17px!important}.receipt-adjust{color:#8f0f14}.egp-success+.receipt+p .button,.receipt+p .button{background:#fff!important;color:#171c22!important;border:1px solid #cfd5db!important;border-radius:8px!important;padding:8px 14px!important;font-size:13px!important;box-shadow:none!important}.egp-success+.receipt+p .button:hover,.receipt+p .button:hover{border-color:#d71920!important;color:#d71920!important}.egp-primary,.button-primary{background:#d71920!important;border-color:#d71920!important}.online-filter.active{background:#d71920!important;color:#fff!important}.online-filter:hover{border-color:#d71920!important}.egp-kiosk-logout{background:#151c24!important;color:#fff!important}*:focus-visible{outline:2px solid #d71920!important;outline-offset:2px!important}::selection{background:#d71920!important;color:#fff!important}
@media(max-width:1200px){.pos-grid{grid-template-columns:165px 1fr!important}}

/* v1.0.1 — Milano POS 1:1 reference layout */
:root{
  --milano-red:#d71920;
  --milano-red-deep:#8b0d12;
  --milano-green:#168447;
  --milano-black:#0d1218;
  --milano-panel:#151c24;
  --milano-panel-2:#1b2430;
  --milano-cream:#fbfaf6;
  --milano-line:#dfe3e8;
  --milano-text:#161b21;
  --milano-muted:#68727d;
}
.egp-kiosk-body{background:#eef1f4!important;color:var(--milano-text)!important}
.egp-frontend-app{min-height:100vh;padding-bottom:42px;box-sizing:border-box}
.egp-kiosk-body .estome-wrap{padding:10px 10px 18px!important}
.egp-topbar{
  height:92px!important;min-height:92px!important;margin:0!important;padding:0 18px!important;
  background:linear-gradient(100deg,#090e13 0%,#111820 55%,#0d1218 100%)!important;
  border:0!important;border-bottom:1px solid #232d37!important;gap:18px!important;
  box-shadow:0 6px 18px rgba(0,0,0,.18)!important;position:sticky!important;top:0!important;z-index:99990!important;
}
.egp-brand{width:205px;min-width:205px;height:86px;display:flex!important;align-items:center!important;padding:0!important;background:transparent!important;border:0!important;text-decoration:none!important}
.egp-brand-image{display:block;width:170px;height:auto;max-height:78px;object-fit:contain;object-position:left center}
.egp-topbar nav{display:flex;align-items:center;gap:8px;overflow:auto;scrollbar-width:none}
.egp-topbar nav::-webkit-scrollbar{display:none}
.egp-topbar nav a{
  min-height:52px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;
  padding:0 18px!important;background:linear-gradient(180deg,#19222d,#141b24)!important;border:1px solid #293441!important;
  border-radius:9px!important;color:#fff!important;text-decoration:none!important;font-size:15px!important;font-weight:400!important;white-space:nowrap;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important;
}
.egp-topbar nav a:hover,.egp-topbar nav a:focus,.egp-topbar nav a:active,.egp-topbar nav a:visited{color:#fff!important;outline:none!important;box-shadow:none!important}
.egp-topbar nav a:hover{background:#202a35!important;border-color:#3a4653!important;transform:translateY(-1px)}
.egp-topbar nav a.active{background:linear-gradient(135deg,#ef242b 0%,#c80f16 100%)!important;border-color:#f23d43!important;box-shadow:0 6px 18px rgba(215,25,32,.26)!important}
.egp-nav-icon{font-family:Arial,sans-serif!important;font-size:18px!important;line-height:1}
.egp-nav-badge{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:999px;background:#e11c24;color:#fff;font:700 12px/1 Arial,sans-serif!important;border:2px solid rgba(255,255,255,.2)}
.egp-top-right{margin-left:auto;display:flex;align-items:center;gap:12px;color:#fff;font-size:13px;font-weight:400!important;white-space:nowrap}
.egp-clock,.egp-user{display:flex;align-items:center;gap:7px;color:#f8fafc}
.egp-clock b,.egp-user b{font-weight:400!important}
.egp-support-btn{color:#fff!important;text-decoration:none!important;border:1px solid #33404e!important;background:#151d26!important;border-radius:8px!important;padding:9px 12px!important;font-weight:400!important}
.egp-support-btn:hover,.egp-support-btn:focus{background:#202a35!important;border-color:#505c69!important;color:#fff!important;outline:none!important;box-shadow:none!important}
.egp-top-logout{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border-radius:8px;border:1px solid #e5353b!important;background:transparent!important;color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:400!important}
.egp-top-logout:hover,.egp-top-logout:focus{background:#d71920!important;border-color:#d71920!important;color:#fff!important;outline:none!important;box-shadow:none!important}
.egp-kiosk-logout{display:none!important}

.egp-pos-page{max-width:none!important;margin:0!important}
.egp-pos-meta{height:28px;display:flex;justify-content:flex-end;align-items:center;gap:12px;font-size:11px;color:#6b7280;margin-bottom:4px}
.egp-pos-meta>span:first-child{margin-right:auto;padding-left:4px}
.tse-badge{padding:5px 9px!important;border-radius:999px!important;font-size:10px!important;font-weight:500!important}
.tse-badge.bad{background:#fff0f0!important;border:1px solid #f4b5b8!important;color:#9c1419!important}
.tse-badge.ok{background:#effaf3!important;border:1px solid #b9e7c8!important;color:#176d3f!important}

.pos-grid{grid-template-columns:205px minmax(600px,1fr) 420px!important;gap:8px!important;min-height:calc(100vh - 170px)!important}
.pos-cats,.pos-products,.pos-cart{border-radius:10px!important;border:1px solid #d9dee4!important}
.pos-cats{padding:8px!important;background:linear-gradient(180deg,#10161e,#151d26)!important;gap:5px!important;max-height:calc(100vh - 178px)!important}
.cat{
  display:flex;align-items:center;min-height:42px!important;padding:8px 11px!important;border-radius:8px!important;
  border:1px solid #2a3541!important;background:linear-gradient(180deg,#1b2530,#171f29)!important;color:#fff!important;
  font-size:13px!important;font-weight:400!important;line-height:1.15!important;letter-spacing:0!important;text-shadow:none!important;
}
.cat:hover,.cat:focus,.cat:active,.cat.active{
  background:linear-gradient(135deg,#ef242b,#c80f16)!important;border-color:#ee3a40!important;color:#fff!important;
  outline:none!important;box-shadow:none!important;
}
.pos-products{padding:10px!important;background:#fff!important;display:flex;flex-direction:column;min-height:0}
.pos-tools{display:flex;align-items:center;gap:8px;margin-bottom:9px!important}
.pos-tools input{height:44px!important;border:1px solid #d6dce2!important;border-radius:8px!important;background:#fff!important;color:#111827!important;font-size:13px!important;padding:0 14px!important;box-shadow:none!important}
.pos-tools input:hover,.pos-tools input:focus{border-color:#9aa4af!important;box-shadow:none!important;outline:none!important}
.egp-view-toggle{display:flex;min-width:220px;height:44px;border:1px solid #d6dce2;border-radius:8px;overflow:hidden;background:#f5f6f7}
.egp-view-toggle button{flex:1;border:0!important;border-radius:0!important;background:#141b24!important;color:#fff!important;font-size:13px!important;font-weight:400!important}
.egp-view-toggle button.active{background:#d71920!important;color:#fff!important}
.egp-view-toggle button:hover,.egp-view-toggle button:focus{background:#252f3b!important;color:#fff!important;outline:none!important;box-shadow:none!important}
.product-grid{grid-template-columns:repeat(5,minmax(120px,1fr))!important;gap:9px!important;max-height:calc(100vh - 345px)!important;overflow:auto!important;padding:0 2px 4px 0!important}
.product-card{border:1px solid #dfe3e8!important;border-radius:8px!important;background:#fff!important;box-shadow:0 2px 8px rgba(15,23,42,.05)!important;overflow:hidden!important;transition:.14s ease!important}
.product-card:hover,.product-card:focus-within{transform:translateY(-1px)!important;border-color:#b9c0c7!important;box-shadow:0 6px 16px rgba(15,23,42,.09)!important}
.product-image{height:106px!important;background-size:cover!important;background-position:center!important}
.product-placeholder{background:#f5f5f3!important;font-size:28px!important;color:#343a40!important}
.product-info{padding:7px 9px 8px!important}
.product-info strong{min-height:30px!important;font-size:13px!important;line-height:1.2!important;font-weight:400!important;color:#20242a!important}
.product-info>div{margin-top:5px!important}
.product-card .price{font-size:14px!important;font-weight:500!important;color:#cc141a!important}
.product-plus{width:27px!important;height:27px!important;border-radius:50%!important;background:#d71920!important;color:#fff!important;font:400 20px/1 Arial,sans-serif!important;box-shadow:none!important}
.egp-quickbar{margin-top:auto;border-top:1px solid #e6e9ed;padding-top:10px}
.egp-quickbar h3{font-size:13px!important;font-weight:500!important;margin:0 0 7px!important;color:#1e252c!important}
#egp-quick-products{display:flex;gap:7px;overflow:auto;scrollbar-width:none}
#egp-quick-products::-webkit-scrollbar{display:none}
.quick-product{min-width:115px;height:38px;padding:0 12px;border:1px solid #dce1e6!important;border-radius:7px!important;background:#fff!important;color:#1e252c!important;font-size:12px!important;font-weight:400!important;white-space:nowrap}
.quick-product:hover,.quick-product:focus{border-color:#d71920!important;background:#fff7f6!important;color:#a80f14!important;outline:none!important;box-shadow:none!important}

.pos-cart{padding:10px!important;background:#fff!important;min-width:0}
.order-type{gap:5px!important}
.order-type button{height:44px!important;border:1px solid #e0e4e8!important;border-radius:7px!important;background:#f4f5f6!important;color:#151a20!important;font-size:12px!important;font-weight:400!important}
.order-type button:hover,.order-type button:focus{background:#fff7f6!important;border-color:#d71920!important;color:#151a20!important;outline:none!important;box-shadow:none!important}
.order-type button.active{background:#d71920!important;border-color:#d71920!important;color:#fff!important}
.selected-table{min-height:38px!important;margin:7px 0!important;padding:6px 9px!important;background:#fff!important;border:1px solid #e2e5e9!important;border-radius:7px!important;font-size:12px!important}
.selected-table button,#choose-table{
  appearance:none!important;-webkit-appearance:none!important;border:1px solid #d71920!important;border-radius:7px!important;background:#fff!important;color:#a80f14!important;
  padding:7px 10px!important;font-size:12px!important;font-weight:400!important;text-decoration:none!important;box-shadow:none!important;outline:none!important;
}
.selected-table button:hover,.selected-table button:focus,#choose-table:hover,#choose-table:focus{background:#d71920!important;color:#fff!important;border-color:#d71920!important;box-shadow:none!important;outline:none!important}
.customer-fields{gap:5px!important;margin:7px 0!important}
.customer-fields input,#order-note{border:1px solid #dde2e7!important;border-radius:7px!important;background:#fff!important;color:#20262d!important;font-size:12px!important;font-weight:400!important;box-shadow:none!important;outline:none!important}
.customer-fields input{height:37px!important;padding:0 11px!important}
#order-note{min-height:48px!important;padding:9px 11px!important;resize:vertical}
.customer-fields input:focus,#order-note:focus{border-color:#969faa!important;box-shadow:none!important;outline:none!important}
#pos-cart-lines{max-height:260px;overflow:auto;padding-right:2px}
.cart-line{padding:8px 0!important;border-bottom:1px solid #eceff2!important;font-size:12px!important}
.cart-line strong{font-weight:400!important;color:#1e252c!important}
.cart-line span{color:#5d6670!important}
.cart-actions{gap:4px!important}
.cart-actions button{width:25px!important;height:25px!important;border:1px solid #e0e4e8!important;background:#f7f8f9!important;color:#20262d!important;border-radius:6px!important;font-size:12px!important;font-weight:400!important;box-shadow:none!important;outline:none!important}
.cart-actions button:hover,.cart-actions button:focus{border-color:#d71920!important;background:#fff7f6!important;color:#a80f14!important;box-shadow:none!important;outline:none!important}
.cart-actions .del{color:#c8141a!important}
.egp-subtotals{margin-top:7px;padding-top:6px;border-top:1px solid #e8ebee;font-size:12px;color:#3f4750}
.egp-subtotals>div{display:flex;justify-content:space-between;padding:2px 0}
.egp-subtotals b{font-weight:400!important;color:#252b31}
.totals{padding:6px 0 10px!important;font-size:18px!important;align-items:end!important}
.totals span{font-size:16px!important;font-weight:500!important;color:#20262d!important}
.totals strong{font-size:25px!important;font-weight:500!important;color:#c9141a!important}
.pay-main{min-height:64px!important;background:linear-gradient(105deg,#1b0d0e 0%,#850e13 50%,#d71920 100%)!important;border:1px solid #971117!important;border-radius:8px!important;color:#fff!important;font-size:20px!important;font-weight:500!important;letter-spacing:.06em!important;box-shadow:0 7px 16px rgba(122,13,18,.18)!important}
.pay-main:hover,.pay-main:focus{filter:brightness(1.05)!important;outline:none!important;box-shadow:0 7px 16px rgba(122,13,18,.22)!important}
.egp-cart-action-row,.egp-cart-tool-row{display:grid;gap:7px;margin-top:7px}
.egp-cart-action-row{grid-template-columns:1.25fr .9fr}
.egp-cart-tool-row{grid-template-columns:1fr 1fr}
.egp-cart-action-row button,.egp-cart-tool-row button{min-height:43px!important;border-radius:7px!important;font-size:11px!important;font-weight:400!important;margin:0!important;box-shadow:none!important;outline:none!important}
.table-save{background:#151c24!important;color:#fff!important;border:1px solid #27313c!important}
.table-save:hover,.table-save:focus{background:#202a35!important;color:#fff!important;border-color:#364352!important;outline:none!important;box-shadow:none!important}
.secondary{background:#fff!important;color:#171c22!important;border:1px solid #dce1e6!important}
.secondary:hover,.secondary:focus{background:#f7f8f9!important;border-color:#aab2bb!important;color:#171c22!important;outline:none!important;box-shadow:none!important}
.kitchen{background:#fff!important;color:#171c22!important;border:1px solid #dce1e6!important}
.kitchen:hover,.kitchen:focus{background:#f2faf5!important;border-color:#168447!important;color:#126c3a!important;outline:none!important;box-shadow:none!important}

/* Absolutely no purple / blue interaction state in the POS */
.egp-frontend-app button,.egp-frontend-app a,.egp-frontend-app input,.egp-frontend-app textarea,.egp-frontend-app select{
  --wp-admin-theme-color:#d71920!important;--wp-admin-theme-color-darker-10:#b61218!important;--wp-admin-theme-color-darker-20:#930e13!important;
  -webkit-tap-highlight-color:rgba(215,25,32,.12)!important;
}
.egp-frontend-app button:focus,.egp-frontend-app button:focus-visible,.egp-frontend-app a:focus,.egp-frontend-app a:focus-visible,
.egp-frontend-app input:focus,.egp-frontend-app textarea:focus,.egp-frontend-app select:focus{
  outline:none!important;box-shadow:0 0 0 2px rgba(215,25,32,.10)!important;border-color:#d71920!important;
}
.egp-frontend-app button:active,.egp-frontend-app a:active{filter:none!important}
.egp-frontend-app a:visited{color:inherit!important}

/* Bright modern payment modal */
.egp-modal{background:rgba(7,12,17,.44)!important;backdrop-filter:blur(3px)!important}
.egp-modal-card{background:#fff!important;border:1px solid #dfe3e8!important;border-radius:14px!important;color:#161b21!important;box-shadow:0 24px 70px rgba(0,0,0,.20)!important}
.egp-payment-card{padding:24px!important}
.egp-modal-kicker{color:#168447!important;font-size:10px!important;letter-spacing:.16em!important}
.egp-modal-card h2{font-size:23px!important;line-height:1.15!important;font-weight:500!important;color:#161b21!important}
.egp-modal-close{background:#fff!important;color:#20262d!important;border:1px solid #e0e4e8!important;width:34px;height:34px;border-radius:50%!important;font-size:20px!important;line-height:1!important;display:grid;place-items:center}
.egp-modal-close:hover,.egp-modal-close:focus{background:#fff5f4!important;border-color:#d71920!important;color:#b71217!important;box-shadow:none!important}
.payment-total{background:#fbfaf6!important;border:1px solid #e7e1d7!important;border-radius:10px!important}
.payment-total strong{color:#c9141a!important;font-weight:500!important}
.adjust-btn,.pay-choice{background:#fff!important;color:#171c22!important;border:1px solid #d8dde2!important;font-weight:400!important;box-shadow:none!important}
.adjust-btn:hover,.adjust-btn:focus,.pay-choice:hover,.pay-choice:focus{background:#fff8f6!important;color:#171c22!important;border-color:#d71920!important;box-shadow:none!important;outline:none!important}
.split-open{background:#168447!important;color:#fff!important;border:1px solid #168447!important;font-weight:400!important}
.split-open:hover,.split-open:focus{background:#126f3d!important;border-color:#126f3d!important;box-shadow:none!important}

.table-card{background:#fff!important;color:#171c22!important;border-width:1px!important;box-shadow:none!important}
.table-card:hover,.table-card:focus{background:#fffaf8!important;outline:none!important;box-shadow:0 5px 14px rgba(15,23,42,.08)!important}
.status-free{border-color:#55a878!important}.status-free em{color:#168447!important}
.status-occupied{border-color:#d71920!important}.status-occupied em{color:#b31218!important}
.status-ordered{border-color:#d59b2d!important}.status-ordered em{color:#99660f!important}
.status-reserved{border-color:#7c858e!important}.status-reserved em{color:#4e5862!important}

.overview-line{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #eceff2;font-size:13px}
.overview-line b{font-weight:500!important}

.egp-statusbar{
  position:fixed;left:0;right:0;bottom:0;height:40px;z-index:99989;display:grid;grid-template-columns:1.4fr 1fr 1.2fr 1fr;align-items:center;
  padding:0 20px;background:linear-gradient(90deg,#121923,#1a2430);border-top:1px solid #293441;color:#cfd5dc;font-size:11px;box-shadow:0 -3px 10px rgba(0,0,0,.15)
}
.egp-statusbar span:nth-child(2),.egp-statusbar span:nth-child(3){justify-self:center}.egp-statusbar span:last-child{justify-self:end}
.egp-statusbar i{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:7px;vertical-align:-1px}
.egp-status-ok i{background:#23b35f;box-shadow:0 0 0 2px rgba(35,179,95,.14)}
.egp-status-tse{color:#ff7378}.egp-status-tse i{background:#f44349;box-shadow:0 0 0 2px rgba(244,67,73,.14)}

/* v1.1.0 usability and colour fixes */
.cart-line{align-items:center!important}.cart-actions{align-items:center!important;justify-content:center!important;min-height:34px}.cart-actions button,.cart-actions b{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;margin:0!important;padding:0!important}.cart-actions b{width:25px;height:25px;text-align:center}.egp-modal-close{display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;line-height:1!important;text-indent:0!important}.egp-modal-card>.egp-modal-close{top:14px!important;right:14px!important}
.customer-fields[data-mode="restaurant"]{display:none!important}.customer-fields[data-mode="pickup"] #cust-address{display:none!important}
.egp-daily-page .button,.egp-daily-page .button:visited,.egp-daily-page .button:hover,.egp-daily-page .button:focus,.egp-daily-page .button:active{color:#fff!important;text-shadow:none!important}.egp-daily-page .button{background:#d71920!important;border-color:#d71920!important}.egp-daily-page .button:hover,.egp-daily-page .button:focus{background:#a90f15!important;border-color:#a90f15!important}.egp-daily-tools{display:flex;gap:10px;align-items:center;margin:18px 0}.egp-daily-tools input{min-height:42px;border:1px solid #cfd5db!important;box-shadow:none!important}.egp-closure-panel{margin-top:18px}.closure-row{display:grid;grid-template-columns:minmax(170px,1fr) minmax(130px,.7fr) minmax(100px,.5fr) auto;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid #e4e7ec}.closure-row div{display:grid}.closure-row small{color:#68727d;margin-top:3px}.closure-row .button{min-height:38px!important;margin:0!important}.daily-card{max-width:none!important}.receipt{width:var(--receipt-width,80mm)!important;max-width:100%!important;font-size:var(--receipt-font,13px)!important;box-sizing:border-box}.receipt-head{text-align:center}.receipt-head p{margin:3px 0}
.status-reserved{border-color:#7c858e!important}.status-reserved em{color:#4e5862!important}
.egp-kiosk-body button:visited,.egp-kiosk-body a:visited{color:inherit}.egp-kiosk-body button:hover,.egp-kiosk-body button:focus,.egp-kiosk-body button:active,.egp-kiosk-body a:hover,.egp-kiosk-body a:focus,.egp-kiosk-body a:active{outline-color:#d71920!important;box-shadow:none!important}
@media (min-width:981px){.pos-grid{grid-template-columns:clamp(165px,14vw,220px) minmax(440px,1fr) clamp(360px,31vw,470px)!important}.pos-cart{grid-column:auto!important}}
@media (max-width:700px){.closure-row{grid-template-columns:1fr 1fr}.closure-row .button{grid-column:1/-1}}

/* Tablet/kleinere Kassenmonitore: Kategorien, Produkte und Bon bleiben nebeneinander. */
@media (min-width:701px) and (max-width:1200px){
  .egp-kiosk-body .estome-wrap{padding-left:10px!important;padding-right:10px!important}
  .pos-grid{display:grid!important;grid-template-columns:clamp(120px,15vw,165px) minmax(260px,1fr) clamp(280px,34vw,390px)!important;gap:8px!important;width:100%!important;min-width:0!important}
  .pos-cats{grid-column:1!important;min-width:0!important;max-height:calc(100vh - 168px)!important}
  .pos-products{grid-column:2!important;min-width:0!important;max-width:none!important}
  .pos-cart{grid-column:3!important;grid-row:1!important;min-width:0!important;max-width:none!important;align-self:start!important;max-height:calc(100vh - 168px)!important;overflow-y:auto!important}
  .product-grid{grid-template-columns:repeat(auto-fill,minmax(112px,1fr))!important;max-height:calc(100vh - 272px)!important;gap:7px!important}
  .product-image{height:72px!important}.product-info{padding:7px!important}.product-info strong{font-size:11px!important;min-height:27px!important}.product-card .price{font-size:12px!important}
  .order-type{grid-template-columns:repeat(3,minmax(0,1fr))!important}.order-type button{font-size:10px!important;padding:6px 3px!important}
  .egp-cart-action-row,.egp-cart-tool-row{grid-template-columns:1fr!important}.egp-cart-action-row button,.egp-cart-tool-row button{width:100%!important}
}
@media (max-width:700px){
  .pos-grid{display:block!important}.pos-cart{margin-top:10px!important}.pos-cats{flex-direction:row!important;max-height:none!important}
}

/* v1.2.1: payment choices must remain readable regardless of theme styles */
.egp-payment-card .payment-options{gap:9px!important}
.egp-payment-card .pay-choice,.egp-payment-card .pay-choice:visited{display:grid!important;grid-template-columns:46px 1fr!important;align-items:center!important;min-height:58px!important;background:#fff!important;border:1px solid #d7dce2!important;color:#171c22!important;opacity:1!important;text-indent:0!important}
.egp-payment-card .pay-choice span,.egp-payment-card .pay-choice *{color:#171c22!important;opacity:1!important;visibility:visible!important;text-shadow:none!important}
.egp-payment-card .pay-choice .pay-icon{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;border-radius:9px!important;background:#fff1f1!important;color:#c9141a!important;font:700 20px/1 Arial,sans-serif!important}
.egp-payment-card .pay-choice:hover,.egp-payment-card .pay-choice:focus{background:#fff8f6!important;border-color:#d71920!important;color:#171c22!important}
.egp-payment-card .pay-choice:hover .pay-icon,.egp-payment-card .pay-choice:focus .pay-icon{background:#d71920!important;color:#fff!important}

@media(max-width:1350px){
  .egp-brand{width:175px;min-width:175px}.egp-brand-image{width:150px}.egp-topbar nav a{padding:0 12px!important;font-size:13px!important}
  .egp-support-btn{display:none}.pos-grid{grid-template-columns:175px minmax(520px,1fr) 365px!important}.product-grid{grid-template-columns:repeat(4,minmax(120px,1fr))!important}
}
@media(max-width:1050px){
  .egp-topbar{height:auto!important;min-height:74px!important;overflow-x:auto!important}.egp-brand{width:150px;min-width:150px}.egp-brand-image{width:135px}.egp-top-right{gap:7px}.egp-user{display:none}
  .pos-grid{grid-template-columns:150px 1fr!important}.pos-cart{grid-column:1/-1}.product-grid{max-height:48vh!important}.egp-statusbar{grid-template-columns:1fr 1fr 1fr}.egp-statusbar span:first-child{display:none}
}
