:root{
  --ev-bg:#050b12;--ev-bg-2:#09131e;--ev-surface:#0d1925;--ev-surface-2:#122233;
  --ev-line:#284055;--ev-line-soft:#1b3042;--ev-text:#f7f9fc;--ev-muted:#a9bbce;
  --ev-red:#ed1235;--ev-red-dark:#bd0c28;--ev-selected:#1b3351;--ev-focus:#76adff;
  --ev-green:#14a44d;--ev-amber:#d39820;--ev-purple:#a85eea;--ev-radius:14px;
}
body{background:var(--ev-bg);color:var(--ev-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
button,input,select,textarea{font:inherit}.ev-shell{min-height:100vh;background:radial-gradient(circle at 70% 0,#10263a55,transparent 38%),var(--ev-bg)}
.ev-header{position:relative;z-index:100;height:74px;padding:0 30px;display:flex;align-items:center;gap:18px;overflow:visible;background:#07111bcc;border-bottom:1px solid var(--ev-line-soft);backdrop-filter:blur(18px)}
.ev-brand{display:flex;align-items:center;gap:14px;font-size:25px;font-weight:800;letter-spacing:-.8px}.ev-brand-dot{color:var(--ev-red)}.ev-product{padding-left:14px;border-left:1px solid var(--ev-line);font-size:23px;font-weight:400;color:#b8d0ec}
.ev-header-spacer{flex:1}.ev-clock-small{text-align:right;line-height:1.2}.ev-clock-small strong{display:block;font-size:19px}.ev-clock-small span{color:var(--ev-muted);font-size:12px}
.ev-user{position:relative;z-index:110;display:flex;align-items:center;gap:10px}.ev-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#7137dd,#9c43e8);font-weight:800}
.ev-user-button,.ev-signout,.ev-back{min-height:44px;padding:8px 13px;border:1px solid var(--ev-line);border-radius:10px;background:var(--ev-surface);color:var(--ev-text)}
.ev-user-button{text-align:left}.ev-user-button small{display:block;color:var(--ev-muted)}.ev-user-menu{position:absolute;right:0;top:54px;z-index:1000;width:210px;padding:7px;background:#0d1925;border:1px solid var(--ev-line);border-radius:12px;box-shadow:0 18px 50px #0009}
.ev-user-menu button{display:block;width:100%;padding:11px 12px;border-radius:8px;background:transparent;color:var(--ev-text);text-align:left}.ev-user-menu button:hover{background:var(--ev-surface-2)}
.ev-primary,.ev-secondary,.ev-control,.ev-quiet{border-radius:10px;min-height:48px;padding:11px 18px;font-weight:700}.ev-primary{background:linear-gradient(180deg,var(--ev-red),#d70b2b);color:#fff;box-shadow:0 8px 25px #ed12352b}.ev-secondary{background:#dce5ef;color:#0b1722}.ev-control{background:var(--ev-surface-2);border:1px solid var(--ev-line);color:var(--ev-text)}.ev-quiet{background:transparent;border:1px solid var(--ev-line);color:var(--ev-text)}
.ev-selected{background:var(--ev-selected)!important;border-color:var(--ev-focus)!important;box-shadow:inset 0 0 0 1px var(--ev-focus)}
.ev-empty{display:grid;place-items:center;min-height:220px;padding:30px;border:1px dashed var(--ev-line);border-radius:var(--ev-radius);color:var(--ev-muted);text-align:center}

/* Idle */
#home.ev-idle{position:relative;min-height:100vh;background-image:linear-gradient(90deg,rgba(0,0,0,.96) 0%,rgba(0,0,0,.78) 28%,rgba(0,0,0,.18) 68%,rgba(0,0,0,.08)),url('assets/main-screen.png');background-position:center;background-size:cover;color:#fff}
.ev-idle-top{position:absolute;inset:0 0 auto;display:flex;justify-content:space-between;align-items:flex-start;padding:40px 4.3vw}.ev-restaurant{text-align:right;text-transform:uppercase;letter-spacing:.28em}.ev-restaurant strong{display:block;font-family:Georgia,serif;font-size:27px;font-weight:400;letter-spacing:.04em}.ev-restaurant i{display:block;width:66px;height:3px;margin:14px auto;background:var(--ev-red)}.ev-restaurant span{font-size:13px;color:#dbe9f7}
.ev-idle-main{position:absolute;left:7.2vw;top:18%;width:min(630px,42vw)}.ev-idle-time{font-size:clamp(58px,7vw,112px);font-weight:300;letter-spacing:-.05em;line-height:.95}.ev-idle-time small{font-size:.43em;font-weight:600;letter-spacing:0}.ev-idle-date{margin-top:14px;color:#bdd0e4;font-size:clamp(20px,2vw,31px)}.ev-greeting{margin:34px 0 0;font-size:clamp(35px,4vw,60px);letter-spacing:-.035em}.ev-greeting-copy{font-size:clamp(22px,2.2vw,37px);font-weight:300;margin:3px 0 30px}
.ev-tip{display:grid;grid-template-columns:85px 1fr;gap:20px;align-items:center;max-width:620px;min-height:112px;padding:19px 25px;border:1px solid #ffffff33;border-radius:15px;background:#07111bc9;box-shadow:0 14px 45px #0007}.ev-tip-icon{font-size:38px;color:var(--ev-red);text-align:center;border-right:1px solid #ffffff30}.ev-tip strong{font-size:20px}.ev-tip span{display:block;margin-top:6px;color:#bdd0e4}.ev-tip-headline,.ev-tip-message{white-space:pre-wrap}.ev-tip-message{opacity:0;transition:opacity .15s ease}.ev-tip-message.is-active{opacity:1}.ev-tip .is-typing:after{content:"";display:inline-block;width:2px;height:1em;margin-left:3px;background:#e7f4ff;vertical-align:-.12em;animation:ev-tip-caret .65s steps(1,end) infinite}@keyframes ev-tip-caret{0%,45%{opacity:1}46%,100%{opacity:0}}@media(prefers-reduced-motion:reduce){.ev-tip-message{transition:none}.ev-tip .is-typing:after{display:none}}.ev-tap{width:min(620px,100%);margin-top:24px;min-height:78px;font-size:25px}.ev-idle-tools{position:absolute;right:24px;bottom:20px;display:flex;gap:8px}.ev-idle-tools button,.ev-idle-tools a{display:inline-flex;align-items:center;padding:8px 11px;border:1px solid #ffffff2b;border-radius:8px;background:#06101ab8;color:#dce7f2;text-decoration:none;font:inherit;line-height:normal}

/* Sign in */
#login.ev-login{min-height:100vh;background:radial-gradient(circle at 70% 80%,#4a281b55,transparent 30%),var(--ev-bg)}.ev-login-body{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(390px,.9fr);gap:16px;padding:20px 30px;height:calc(100vh - 74px)}.ev-login-panel{min-width:0;padding:26px;border:1px solid var(--ev-line);border-radius:18px;background:#0b1722e8}.ev-login-title{display:flex;justify-content:space-between;gap:20px;align-items:center}.ev-login-title h1{font-size:36px;margin:0}.ev-login-title p{color:var(--ev-muted);margin:6px 0 0}.ev-search{width:300px;padding:14px 16px;border:1px solid var(--ev-line);border-radius:11px;background:var(--ev-surface);color:var(--ev-text)}.ev-roster{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:12px;margin-top:26px}.ev-employee{display:flex;align-items:center;gap:14px;min-height:100px;padding:16px;border:1px solid var(--ev-line);border-radius:12px;background:var(--ev-surface);color:var(--ev-text);text-align:left}.ev-employee .ev-avatar{width:55px;height:55px}.ev-employee strong{font-size:17px}.ev-employee small{display:block;color:#9db5d4;margin-top:5px}.ev-auth-card{display:flex;flex-direction:column}.ev-auth-person{display:flex;gap:18px;align-items:center;padding:8px 4px 24px;border-bottom:1px solid var(--ev-line)}.ev-auth-person .ev-avatar{width:86px;height:86px;font-size:27px}.ev-auth-person h2{font-size:31px;margin:0}.ev-auth-person p{margin:4px 0;color:#9db5d4;font-size:18px}.ev-section-label{margin:20px 0 10px;font-weight:700}.ev-role-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.ev-role-grid button{min-height:54px}.ev-pin-area{display:grid;grid-template-columns:150px 1fr;gap:18px;align-items:start;margin-top:20px;padding-top:20px;border-top:1px solid var(--ev-line)}.ev-pin-dots{padding-top:15px;font-size:24px;letter-spacing:10px;color:#7292b4}.ev-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.ev-keypad button{height:58px;border:1px solid var(--ev-line);border-radius:10px;background:var(--ev-surface-2);color:var(--ev-text);font-size:20px}.ev-login-submit{width:100%;margin-top:auto}.ev-error{min-height:22px;color:#ff8090;margin:8px 0}

/* Ticket launcher */
.ev-launcher{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(410px,.95fr);gap:18px;padding:18px 28px;height:calc(100vh - 74px)}.ev-pane{overflow:auto;padding:22px;border:1px solid var(--ev-line);border-radius:16px;background:linear-gradient(160deg,#0d1925,#09141f)}.ev-pane h1{font-size:30px;margin:0}.ev-pane-lead{color:var(--ev-muted);margin:5px 0 22px}.ev-ticket-grid{display:grid;grid-template-columns:repeat(2,minmax(250px,1fr));gap:14px}.ev-ticket-card{min-height:176px;padding:18px;border:1px solid var(--ev-line);border-radius:13px;background:var(--ev-surface);color:var(--ev-text);text-align:left}.ev-ticket-card:hover{border-color:#6282a3}.ev-ticket-head,.ev-ticket-meta,.ev-ticket-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.ev-ticket-head strong{font-size:19px}.ev-status{padding:5px 10px;border:1px solid #28618f;border-radius:999px;color:#72c9ff;font-size:12px}.ev-status.waiting{border-color:#735b1f;color:#ffd15c}.ev-status.pay{border-color:#69418a;color:#d89aff}.ev-ticket-meta{margin-top:16px;color:#aac0d8}.ev-ticket-bottom{margin-top:18px;padding-top:15px;border-top:1px solid var(--ev-line)}.ev-ticket-bottom span{color:#b5c6d8;font-size:13px}.ev-ticket-bottom b{font-size:20px}.ev-service-types{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:18px 0 22px}.ev-service-types button{min-height:64px}.ev-form-label{display:block;margin:16px 0 7px;font-weight:700}.ev-ticket-input{width:100%;padding:13px;border:1px solid var(--ev-line);border-radius:10px;background:#091521;color:var(--ev-text);text-align:center;font-size:22px}.ev-table-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px auto;max-width:440px}.ev-table-keypad button{height:48px}.ev-guest-row{display:flex;gap:8px;flex-wrap:wrap}.ev-guest-row button{width:48px;height:48px;padding:0;border-radius:50%}.ev-start{width:100%;margin-top:20px}
.ev-status{border:0!important;color:#fff!important;font-weight:800}.ev-status.open{background:#1769b3}.ev-status.waiting{background:#237b49}.ev-status.food-ready{background:#b83232}.ev-status.served{background:#67439b}.ev-status.paid{background:#344b60}.ev-ticket-menu button:disabled{opacity:.38;cursor:not-allowed}
.ev-launcher-left{display:grid;grid-template-rows:252px minmax(0,1fr);gap:12px;min-height:0}.ev-ticket-pane-home{min-height:0}.ev-ticket-pane-home .ev-ticket-card{min-height:142px;padding:15px}.ev-ticket-pane-home .ev-ticket-meta{margin-top:10px}.ev-ticket-pane-home .ev-ticket-bottom{margin-top:11px;padding-top:11px}
.ev-new-ticket-pane{display:grid;grid-template-rows:auto auto auto minmax(0,1fr);padding:20px 12px 16px}.ev-new-ticket-pane .ev-pane-lead{margin:4px 0 10px}.ev-new-ticket-pane .ev-service-types{margin:8px 0 12px}.ev-new-ticket-form{display:grid;min-height:0;gap:9px}.ev-new-ticket-form.is-table{grid-template-rows:auto 64px minmax(210px,1fr) auto auto 58px}.ev-new-ticket-form.is-name{grid-template-rows:auto 64px auto auto 58px;align-content:start}.ev-new-ticket-form .ev-form-label{margin:0;align-self:end}.ev-new-ticket-form .ev-ticket-input{height:100%;padding:10px}.ev-new-ticket-form .ev-table-keypad{display:grid;width:100%;max-width:none;height:100%;margin:0;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,minmax(48px,1fr));gap:9px}.ev-new-ticket-form .ev-table-keypad button{width:100%;height:100%;min-height:0;font-size:20px}.ev-new-ticket-form .ev-guest-row{display:grid;width:100%;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px}.ev-new-ticket-form .ev-guest-row button{width:100%;height:auto;min-height:46px;aspect-ratio:1;border-radius:50%;padding:0}.ev-new-ticket-form .ev-start{height:100%;min-height:58px;margin:0}
.ev-wine-card{position:relative;display:grid;grid-template-columns:minmax(270px,.95fr) minmax(160px,.56fr) minmax(190px,.65fr);align-items:center;min-height:0;overflow:hidden;padding:24px 28px;border:1px solid #294761;border-radius:16px;background:radial-gradient(circle at 58% 32%,#8e2d4355,transparent 25%),linear-gradient(110deg,#132438 0%,#1c1728 50%,#091724 100%);box-shadow:inset 0 1px 0 #ffffff0c}.ev-wine-card:before{content:"";position:absolute;inset:auto 22% -85% 17%;height:190%;background:radial-gradient(ellipse,#c24a6827,transparent 67%);pointer-events:none}.ev-wine-card-copy{position:relative;z-index:1}.ev-wine-kicker{font-size:10px;font-weight:800;letter-spacing:.2em;color:#e983a2}.ev-wine-card h1{margin:2px 0 0;font:56px/1 Georgia,"Times New Roman",serif;color:#fffaf1;letter-spacing:-.04em}.ev-wine-card p{max-width:330px;margin:7px 0 17px;color:#c8daed;font-size:18px;line-height:1.35}.ev-wine-card button{min-width:200px;min-height:48px;border:1px solid #b9ddff;border-radius:10px;background:linear-gradient(180deg,#a8d7ff,#76b8f3);color:#071421;font-weight:800}.ev-wine-card button span{margin-left:18px;font-size:26px;line-height:0}.ev-wine-glass{position:relative;z-index:1;display:grid;place-items:center;height:100%;border-left:1px solid #ffffff22;border-right:1px solid #ffffff22}.ev-wine-glass span{font-size:116px;filter:drop-shadow(0 18px 25px #000b)}.ev-wine-card ul{position:relative;z-index:1;margin:0;padding:0 0 0 28px;list-style:none;color:#d2e0ee}.ev-wine-card li{margin:14px 0}.ev-wine-card li:before{display:inline-grid;place-items:center;width:25px;margin-right:10px;color:#f05b91;font-size:18px}.ev-wine-card li:nth-child(1):before{content:"●"}.ev-wine-card li:nth-child(2):before{content:"✦"}.ev-wine-card li:nth-child(3):before{content:"▤"}.ev-wine-card li:nth-child(4):before{content:"♜"}

/* Wine guide */
.ev-wine-guide-screen{overflow:hidden}.ev-wine-guide{height:calc(100dvh - 64px);padding:16px 20px 20px;background:radial-gradient(circle at 50% 0,#19354c66,transparent 40%),#06101a}.ev-wine-paper{display:grid;grid-template-rows:auto 54px minmax(0,1fr);height:100%;overflow:hidden;border:1px solid #e7ded2;border-radius:17px;background:#faf7f1;color:#132b43;box-shadow:0 20px 60px #0008}.ev-wine-titlebar{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:14px 28px 8px}.ev-wine-titlebar>div{display:flex;align-items:center;gap:30px;min-width:0}.ev-wine-titlebar h1{margin:0;color:#85051d;font:clamp(39px,4vw,63px)/1 Georgia,"Times New Roman",serif;letter-spacing:-.04em}.ev-wine-titlebar>div>span{width:1px;height:42px;background:#b49a6c}.ev-wine-titlebar p{margin:0;color:#9a7533;font-size:clamp(12px,1.2vw,18px);letter-spacing:.24em;white-space:nowrap}.ev-wine-exit{min-width:180px;min-height:48px;border-radius:999px;background:linear-gradient(#b92325,#92090f);color:#fff;font-size:18px;box-shadow:inset 0 1px 0 #ffffff55}.ev-wine-tabs{display:grid;grid-template-columns:repeat(4,minmax(140px,235px));padding:0 26px;border-bottom:1px solid #ded5c9}.ev-wine-tabs button{border:1px solid #ded5c9;border-bottom:0;border-radius:10px 10px 0 0;background:#f4f0ea;color:#69121e;font:20px Georgia,"Times New Roman",serif}.ev-wine-tabs button.active{background:#7f071d;color:#fff;border-color:#7f071d}.ev-wine-body{display:grid;grid-template-columns:350px minmax(0,1fr);min-height:0;padding:12px 18px 18px;gap:14px}.ev-wine-sidebar{min-height:0;overflow:hidden;padding:0 10px 8px;border-radius:12px;background:#f5f1eb}.ev-wine-search{display:grid;grid-template-columns:28px 1fr;align-items:center;margin:0 -2px 7px;padding:0 12px;border:1px solid #e0d8cd;border-radius:9px;background:#fff}.ev-wine-search span{font-size:25px;color:#6d747b}.ev-wine-search input{width:100%;height:48px;border:0;outline:0;background:transparent;color:#182e43}.ev-wine-search input::placeholder{color:#7d8b99}.ev-wine-list{overflow:auto;height:calc(100% - 57px)}.ev-wine-list button{display:grid;grid-template-columns:48px minmax(0,1fr) 18px;align-items:center;width:100%;min-height:54px;padding:5px 12px;border-bottom:1px solid #ddd5cc;background:transparent;color:#172c40;text-align:left;font:18px Georgia,"Times New Roman",serif}.ev-wine-list button.active{border-left:4px solid #8a0a21;border-radius:8px;background:linear-gradient(90deg,#ead6d7,#f2e4e3);color:#7d1021}.ev-wine-list button b{font:28px system-ui;color:#8a0a21;opacity:0}.ev-wine-list button.active b{opacity:1}.ev-wine-mini{font-size:29px}.ev-wine-no-results{padding:24px 12px;color:#756e66;text-align:center}.ev-wine-content{display:grid;place-items:center;min-width:0;min-height:0;margin:0;overflow:hidden;border-left:1px solid #e0d6c8;background:#fffdf9}.ev-wine-content img{display:block;width:100%;height:100%;object-fit:contain}

/* Order entry */
#order.ev-order{min-height:100vh;background:var(--ev-bg)}.ev-order-layout{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(330px,.48fr);gap:14px;height:calc(100vh - 74px);padding:14px 18px}.ev-menu-work{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0}.ev-categories{display:flex;gap:8px;overflow-x:auto;padding:0 0 12px}.ev-categories button{flex:0 0 auto;min-height:45px;padding:9px 18px;border:1px solid var(--ev-line);border-radius:9px;background:var(--ev-surface);color:var(--ev-text)}.ev-products-area{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;min-height:0}.ev-products-area.has-detail{grid-template-columns:minmax(400px,1fr) minmax(320px,.72fr)}.ev-products{overflow:auto}.ev-product-grid{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));gap:10px}.ev-product-card{position:relative;overflow:hidden;min-height:250px;padding:0;border:1px solid var(--ev-line);border-radius:12px;background:var(--ev-surface);color:var(--ev-text);text-align:left}.ev-photo-wrap{position:relative;display:block}.ev-menu-photo{display:block;width:100%;aspect-ratio:1/1;background-color:#172536}.ev-product-info{display:block;padding:23px 12px 13px}.ev-product-info strong{display:block}.ev-product-info b{display:block;margin-top:3px;color:#d9e6f4}.ev-product-info small{display:block;color:var(--ev-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ev-add{position:absolute;right:10px;bottom:-18px;width:38px;height:38px;border:1px solid #35516d;border-radius:50%;background:#142a41;color:#fff;font-size:25px}.ev-detail{overflow:auto;padding:16px;border:1px solid var(--ev-line);border-radius:13px;background:var(--ev-surface)}.ev-detail .ev-menu-photo{aspect-ratio:1/1;border-radius:9px}.ev-detail-head{display:flex;justify-content:space-between;gap:15px;align-items:start}.ev-detail-head h2{margin:12px 0 3px}.ev-detail-head b{margin-top:14px;font-size:22px;color:#b9d8ff}.ev-detail p{color:var(--ev-muted)}.ev-mod-group{padding:13px 0;border-top:1px solid var(--ev-line)}.ev-mod-group h3{font-size:14px;margin:0 0 9px}.ev-option-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.ev-option-grid button{min-height:44px;padding:7px;border:1px solid var(--ev-line);border-radius:8px;background:#0b1722;color:var(--ev-text)}.ev-add-order{width:100%;margin-top:14px}.ev-order-ticket{display:flex;flex-direction:column;min-width:0;overflow:hidden;padding:16px;border:1px solid var(--ev-line);border-radius:14px;background:linear-gradient(170deg,#0b1824,#07111b)}.ev-order-ticket-head{display:flex;justify-content:space-between;gap:10px;padding-bottom:12px;border-bottom:1px solid var(--ev-line)}.ev-order-ticket h2{margin:0}.ev-order-ticket-meta{color:var(--ev-muted);margin-top:3px}.ev-dots{width:42px;height:42px;border-radius:9px}.ev-ticket-lines{flex:1;overflow:auto}.ev-line-item{display:grid;grid-template-columns:38px 1fr auto;gap:9px;padding:13px 0;border-bottom:1px solid var(--ev-line-soft)}.ev-qty{display:grid;place-items:center;height:38px;border:1px solid var(--ev-line);border-radius:8px;background:var(--ev-surface-2)}.ev-line-item small{display:block;color:#aac0d8;margin-top:3px}.ev-totals{padding:12px 0}.ev-total-row{display:flex;justify-content:space-between;margin:5px 0;color:#bdcbd9}.ev-total-row.total{padding-top:9px;border-top:1px solid var(--ev-line);color:#fff;font-size:22px;font-weight:800}.ev-ticket-actions{display:grid;grid-template-columns:.7fr 1.5fr;gap:9px}.ev-ticket-actions button{min-height:58px}.ev-category-empty{grid-column:1/-1}.ev-toast{position:fixed;left:50%;bottom:24px;z-index:100;transform:translateX(-50%);padding:13px 20px;border-radius:10px;background:#dce5ef;color:#07111b;font-weight:700;box-shadow:0 14px 45px #0009}

/* KDS refinement */
#kitchenDisplay .kds-top{background:#07111b;border-color:var(--ev-line);padding:14px 28px}#kitchenDisplay .kds-top .logo{font-size:25px;letter-spacing:-.8px}#kitchenDisplay .kds-top .logo i{color:var(--ev-red)}#kitchenDisplay .brand-sub{display:inline-block;margin-left:14px;padding-left:14px;border-left:1px solid var(--ev-line);color:#c7d6e5;font-size:16px}
#kitchenDisplay .kds-layout{grid-template-columns:minmax(0,1fr) 330px;background:var(--ev-bg)}#kitchenDisplay .k-ticket{min-height:260px;background:#f7f4ee;color:#101927;border:0;border-radius:12px}#kitchenDisplay .ticket-head{border-color:#d6d1c9}#kitchenDisplay .course{background:#f1efeb;color:#111927;border-left-color:#9ca6ae}#kitchenDisplay .course.yellow{border-left-color:#9ca6ae}#kitchenDisplay .course.red{border-left-color:#ed1235}#kitchenDisplay .course.ready{border-left-color:#14a44d;opacity:1}#kitchenDisplay .course small{color:#526170}#kitchenDisplay .course .timer{color:#1c2c3b}#kitchenDisplay .kds-toolbar button.active,#kitchenDisplay .kds-top button.active,#kitchenDisplay .print-tabs button.active{background:var(--ev-red);border-color:var(--ev-red)}#kitchenDisplay .print-panel{background:#0b1722;border-color:var(--ev-line)}
.ev-order-ticket{position:relative}.ev-ticket-menu{position:absolute;right:14px;top:66px;z-index:20;width:210px;padding:7px;border:1px solid var(--ev-line);border-radius:11px;background:#0d1925;box-shadow:0 18px 50px #0009}.ev-ticket-menu button{display:block;width:100%;padding:10px;border:0;border-radius:7px;background:transparent;color:var(--ev-text);text-align:left}.ev-ticket-menu button:hover{background:var(--ev-surface-2)}.ev-ticket-menu .danger{color:#ff8795}
.ev-order .ens-info,.ev-login .ens-info,.ev-launcher .ens-info{display:none!important}.ev-order .ens-has-info,.ev-login .ens-has-info,.ev-launcher .ens-has-info{padding-right:0!important}
.ev-pin-login-body{display:grid;place-items:center;height:calc(100dvh - 64px);padding:22px}.ev-pin-login-card{width:min(560px,94vw);padding:34px 44px!important}.ev-pin-login-heading{text-align:center}.ev-pin-login-heading h1{margin:10px 0 6px;font-size:34px}.ev-pin-login-heading p{margin:0;color:var(--ev-muted)}.ev-pin-lock{display:grid;place-items:center;width:58px;height:58px;margin:auto;border:1px solid #44658a;border-radius:17px;background:linear-gradient(145deg,#17314c,#0e2034);color:#9ed4ff;font-size:30px}.ev-pin-dots-large{margin:24px 0 20px;padding:0;text-align:center;font-size:30px;letter-spacing:16px}.ev-keypad-large{max-width:420px;margin:auto;gap:13px}.ev-keypad-large button{height:78px;border-radius:14px;font-size:27px;font-weight:750}.ev-keypad-large button:active{transform:scale(.96);background:#244363}.ev-pin-submit{max-width:420px;min-height:62px;margin:18px auto 0;font-size:18px}.ev-pin-login-card .ev-error{text-align:center}
@media(max-height:760px){.ev-pin-login-card{padding:20px 34px!important}.ev-pin-login-heading h1{font-size:28px}.ev-pin-lock{width:46px;height:46px}.ev-pin-dots-large{margin:13px 0}.ev-keypad-large button{height:62px}.ev-pin-submit{min-height:54px;margin-top:12px}}
@media(max-width:1100px){.ev-product-grid{grid-template-columns:repeat(2,minmax(160px,1fr))}.ev-products-area.has-detail{grid-template-columns:1fr}.ev-detail{position:absolute;right:360px;top:138px;bottom:18px;width:360px;z-index:20}.ev-ticket-grid{grid-template-columns:1fr}}
@media(max-width:800px){.ev-login-body,.ev-launcher,.ev-order-layout{grid-template-columns:1fr;height:auto}.ev-roster{grid-template-columns:1fr}.ev-auth-card{min-height:650px}.ev-order-layout{min-height:calc(100vh - 74px)}.ev-order-ticket{min-height:560px}.ev-detail{position:static;width:auto}.ev-products-area.has-detail{grid-template-columns:1fr}.ev-idle-main{width:80vw}.ev-restaurant{display:none}}

/* Fixed-station viewport: edge-to-edge with no page-level scrolling. */
html,body{width:100%;height:100%;margin:0;overflow:hidden;overscroll-behavior:none}
body>.screen,.ev-shell,#home.ev-idle,#login.ev-login,#order.ev-order,#kitchenDisplay{width:100vw;height:100dvh;min-height:0;max-height:100dvh;overflow:hidden}
.ev-header{width:100%;flex:0 0 74px}
.ev-login-body,.ev-launcher,.ev-order-layout{height:calc(100dvh - 74px);max-height:calc(100dvh - 74px);box-sizing:border-box;overflow:hidden}
.ev-login-panel,.ev-pane,.ev-menu-work,.ev-products-area,.ev-products,.ev-order-ticket{min-height:0}
.ev-login-panel,.ev-pane{overflow:hidden}
.ev-roster{align-content:start;overflow:hidden}
.ev-product-grid{height:100%;grid-template-rows:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);overflow:hidden}
.ev-product-card{min-height:0;height:100%}.ev-product-card .ev-menu-photo{height:calc(100% - 88px);min-height:105px;aspect-ratio:auto;background-size:997.4% 656.4%}
.ev-product-info{height:88px;box-sizing:border-box}
.ev-detail{min-height:0;overflow:hidden}.ev-detail>.ev-menu-photo{height:150px;aspect-ratio:auto}
.ev-ticket-lines{overscroll-behavior:contain}
#kitchenDisplay .kds-layout{height:calc(100dvh - 74px);max-height:calc(100dvh - 74px);box-sizing:border-box;overflow:hidden}
#kitchenDisplay .ticket-grid{height:100%;grid-template-rows:repeat(2,minmax(0,1fr));overflow:hidden}
#kitchenDisplay .k-ticket{min-height:0;overflow:hidden}
@media(max-width:800px){html,body{overflow:hidden}.ev-login-body,.ev-launcher,.ev-order-layout{height:calc(100dvh - 74px);max-height:calc(100dvh - 74px)}.ev-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Order cards must resolve inside the two available rows; never grow the viewport. */
.ev-products{height:100%;overflow:hidden}
.ev-product-grid{height:100%;min-height:0;grid-template-rows:repeat(2,minmax(0,1fr));align-items:stretch}
.ev-product-card{display:grid;height:100%;min-height:0;grid-template-rows:minmax(0,1fr) 88px;overflow:hidden}
.ev-photo-wrap{height:100%;min-height:0;overflow:visible}
.ev-product-card .ev-menu-photo{height:100%;min-height:0;aspect-ratio:auto}
.ev-product-info{height:88px;min-height:88px;padding:20px 12px 9px;overflow:hidden}
.ev-order-ticket{height:100%;max-height:100%;min-height:0;box-sizing:border-box}
.ev-ticket-lines{min-height:0}

/* Product card and quick-add are separate touch actions. */
.ev-product-card{display:block;position:relative}
.ev-product-main{display:grid;width:100%;height:100%;min-height:0;padding:0;grid-template-rows:minmax(0,1fr) 88px;border:0;background:transparent;color:var(--ev-text);text-align:left}
.ev-product-main .ev-photo-wrap{min-height:0}
.ev-add{right:10px;bottom:70px;z-index:3}

/* Item configuration opens as a touch modal; the menu grid never reflows. */
.ev-item-modal{position:fixed;inset:0;z-index:500;display:grid;place-items:center;padding:20px;background:#02060bcc;backdrop-filter:blur(8px)}
.ev-detail-dialog{position:relative;display:grid;grid-template-columns:minmax(220px,.8fr) minmax(360px,1.35fr);gap:20px;width:min(900px,calc(100vw - 40px));max-height:calc(100dvh - 40px);padding:20px;border:1px solid var(--ev-line);border-radius:18px;background:#0d1925;box-shadow:0 28px 90px #000c;overflow:hidden}
.ev-detail-summary{min-width:0}.ev-detail-summary>.ev-menu-photo{width:100%;height:auto;aspect-ratio:1/1;border-radius:12px}.ev-detail-head{align-items:start}.ev-detail-head p{margin:5px 0 0;color:var(--ev-muted)}
.ev-detail-options{display:flex;min-height:0;flex-direction:column;justify-content:center}.ev-detail-options .ev-mod-group{padding:10px 0}.ev-detail-options .ev-option-grid button{min-height:52px;padding:10px;font-size:15px}.ev-detail-options .ev-add-order{min-height:58px;font-size:18px}
.ev-market-dialog .ev-detail-options{justify-content:center}.ev-market-price{margin-bottom:18px;padding:20px;border:1px solid #42617e;border-radius:13px;background:linear-gradient(145deg,#12263a,#0a1826)}.ev-market-price label{display:block;font-size:21px;font-weight:800;color:#fff}.ev-market-price p{margin:5px 0 15px;color:var(--ev-muted)}.ev-market-input{display:grid;grid-template-columns:48px 1fr;align-items:center;overflow:hidden;border:2px solid #6eaaf0;border-radius:11px;background:#06111c;box-shadow:0 0 0 3px #6eaaf01a}.ev-market-input span{display:grid;place-items:center;height:64px;border-right:1px solid var(--ev-line);color:#9dc9ff;font-size:27px;font-weight:800}.ev-market-input input{width:100%;height:64px;padding:8px 16px;border:0;outline:0;background:transparent;color:#fff;font-size:30px;font-weight:800}.ev-market-input input::placeholder{color:#62778c}.ev-market-price>small{display:block;min-height:20px;margin-top:8px;color:#ff8996;font-weight:700}
.ev-modal-close{position:absolute;right:12px;top:12px;z-index:2;width:52px;height:52px;border:1px solid var(--ev-line);border-radius:50%;background:#142536;color:#fff;font-size:32px;line-height:1}

/* Compact service mode keeps every primary control visible without scrolling. */
.ev-header{height:64px;flex-basis:64px;padding:0 20px}.ev-brand{font-size:22px}.ev-product{font-size:19px}.ev-clock-small strong{font-size:16px}.ev-avatar{width:36px;height:36px}.ev-user-button,.ev-signout{min-height:40px;padding:6px 10px}.ev-user-menu{top:46px}
.ev-login-body,.ev-launcher,.ev-order-layout{height:calc(100dvh - 64px);max-height:calc(100dvh - 64px)}
.ev-order-layout{gap:10px;padding:10px 14px}.ev-categories{gap:8px;padding-bottom:8px}.ev-categories button{min-height:54px;padding:11px 18px;font-size:16px;font-weight:700}
.ev-product-grid{gap:8px}.ev-product-main{grid-template-rows:minmax(0,1fr) 76px}.ev-product-info{height:76px;min-height:76px;padding:17px 10px 7px;font-size:14px}.ev-product-info small{font-size:11px}.ev-add{width:54px;height:54px;right:12px;bottom:49px;font-size:31px;line-height:1}
.ev-order-ticket{padding:11px}.ev-order-ticket-head{padding-bottom:8px}.ev-order-ticket h2{font-size:22px}.ev-order-ticket-meta{font-size:12px}.ev-dots{width:38px;height:38px;min-height:38px;padding:4px}
.ev-order-ticket .ev-service-types{grid-template-columns:minmax(100px,150px);margin:8px 0}.ev-order-ticket .ev-service-types button{min-height:42px;padding:7px 10px}
.ev-ticket-lines{flex:1;overflow:hidden}.ev-ticket-lines>.ev-empty{height:100%;min-height:0;padding:12px}.ev-line-item{grid-template-columns:34px minmax(0,1fr) auto;gap:7px;padding:8px 0;font-size:13px}.ev-qty{height:32px}.ev-line-item small{font-size:11px;line-height:1.2}
.ev-totals{flex:0 0 auto;padding:7px 0}.ev-total-row{margin:2px 0;font-size:13px}.ev-total-row.total{padding-top:5px;font-size:19px}.ev-ticket-actions{flex:0 0 auto;gap:7px}.ev-ticket-actions button{min-height:48px;padding:8px 10px}
.ev-order-ticket.dense .ev-line-item{padding:4px 0;font-size:12px}.ev-order-ticket.dense .ev-line-item small{display:inline;margin-right:5px;font-size:10px}.ev-order-ticket.very-dense .ev-line-item{padding:2px 0;font-size:11px}.ev-order-ticket.very-dense .ev-line-item small{display:none}.ev-order-ticket.very-dense .ev-qty{height:26px}
#kitchenDisplay .kds-layout{height:calc(100dvh - 64px);max-height:calc(100dvh - 64px)}
@media(max-height:820px){.ev-header{height:56px;flex-basis:56px}.ev-login-body,.ev-launcher,.ev-order-layout{height:calc(100dvh - 56px);max-height:calc(100dvh - 56px)}.ev-categories button{min-height:48px;padding:8px 14px}.ev-product-main{grid-template-rows:minmax(0,1fr) 68px}.ev-product-info{height:68px;min-height:68px;padding-top:13px}.ev-add{width:50px;height:50px;bottom:43px}.ev-detail-dialog{padding:14px;gap:14px}.ev-detail-summary>.ev-menu-photo{max-height:260px}.ev-detail-options .ev-mod-group{padding:6px 0}.ev-detail-options .ev-option-grid button{min-height:44px;padding:7px}.ev-order-ticket .ev-service-types{margin:5px 0}.ev-line-item{padding:5px 0}.ev-ticket-actions button{min-height:42px}}

/* Current Montez menu: compact category matrix plus button paging keeps the station scroll-free. */
.ev-menu-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch;padding-bottom:8px}
.ev-categories{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;padding:0;overflow:visible}
.ev-categories button{width:100%;min-height:48px;padding:6px 8px;font-size:13px;line-height:1.12;font-weight:750;white-space:normal}
.ev-page-controls{display:grid;grid-template-columns:52px 70px 52px;gap:6px;align-items:stretch}
.ev-page-controls button{min-width:52px;min-height:48px;border:1px solid #35516d;border-radius:10px;background:#142a41;color:#fff;font-size:32px;font-weight:700}
.ev-page-controls button:disabled{opacity:.25}
.ev-page-controls span{display:grid;place-content:center;min-width:70px;border:1px solid var(--ev-line);border-radius:10px;background:var(--ev-surface);color:var(--ev-muted);text-align:center;font-size:13px}
.ev-page-controls strong{color:#fff;font-size:18px}.ev-page-controls small{display:block;margin-top:2px;font-size:10px;color:var(--ev-muted)}
.ev-product-card .ev-menu-photo,.ev-detail-summary>.ev-menu-photo{background-size:cover;background-position:center;background-repeat:no-repeat}
@media(max-width:1100px){.ev-categories{grid-template-columns:repeat(4,minmax(0,1fr))}.ev-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-height:820px){.ev-categories button{min-height:42px;padding:4px 6px;font-size:12px}.ev-page-controls button{min-height:42px}.ev-menu-top{padding-bottom:6px}}

/* Menu card layout: three landscape rows with mockup-matched typography. */
.ev-product-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-template-rows:repeat(3,minmax(0,1fr));
  gap:12px;
}
.ev-product-card{
  border-color:#294c69;
  border-radius:14px;
  background:linear-gradient(180deg,#0d1d2b,#091724);
}
.ev-product-main{
  grid-template-rows:minmax(0,1fr) 84px;
}
.ev-product-card .ev-menu-photo{
  background-position:center;
  background-size:cover;
}
.ev-product-info{
  height:84px;
  min-height:84px;
  padding:14px 18px 10px;
  line-height:1.15;
}
.ev-product-info strong{
  padding-right:58px;
  overflow:hidden;
  color:#fff;
  font-size:17px;
  font-weight:800;
  line-height:1.15;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.ev-product-info b{
  margin-top:4px;
  color:#bcd8ff;
  font-size:17px;
  font-weight:800;
}
.ev-product-info small{
  margin-top:5px;
  color:#b9cbe0;
  font-size:12px;
  line-height:1.25;
}
.ev-add{
  right:14px;
  bottom:57px;
  width:52px;
  height:52px;
  border-color:#356b9b;
  background:#0e2d4d;
  font-size:31px;
  font-weight:500;
  line-height:1;
}
@media(max-height:820px){
  .ev-product-grid{gap:8px}
  .ev-product-main{grid-template-rows:minmax(0,1fr) 72px}
  .ev-product-info{height:72px;min-height:72px;padding:10px 14px 7px}
  .ev-product-info strong,.ev-product-info b{font-size:14px}
  .ev-product-info small{margin-top:3px;font-size:10px}
  .ev-add{bottom:47px;width:46px;height:46px;font-size:28px}
}
@media(max-width:800px){
  .ev-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}
}

/* Food item customization: product/service options left, configured modifiers right. */
.ev-food-dialog{display:block;width:min(1040px,calc(100vw - 36px));height:auto;max-height:min(640px,calc(100dvh - 36px));padding:0}
.ev-food-main{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(420px,1.35fr);min-height:0;max-height:min(640px,calc(100dvh - 36px))}
.ev-food-dialog .ev-detail-summary{min-height:0;padding:22px;border-right:1px solid var(--ev-line);overflow:auto}
.ev-food-dialog .ev-detail-summary>.ev-menu-photo{height:215px;aspect-ratio:auto;border-radius:12px;background-size:118% auto;background-position:center}
.ev-food-dialog .ev-detail-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;padding:12px 0 2px;border-bottom:1px solid var(--ev-line)}
.ev-food-dialog .ev-detail-head h2{margin:0;padding-right:60px;color:#fff;font-size:25px;line-height:1.15}
.ev-food-dialog .ev-detail-head b{display:block;margin:5px 0 0;color:#b9d8ff;font-size:21px}
.ev-food-dialog .ev-detail-head p{margin:6px 0 14px;color:var(--ev-muted);font-size:14px;line-height:1.4}
.ev-food-option{padding-top:14px}.ev-food-option h3{margin:0 0 8px;color:#fff;font-size:15px}
.ev-route-failure{display:grid;place-content:center;gap:14px;height:calc(100vh - 64px);padding:30px;color:#f4f7fb;text-align:center}.ev-route-failure h1,.ev-route-failure p{margin:0}.ev-route-failure p{color:#aeb9c8}.ev-route-failure .ev-primary{justify-self:center;min-width:220px}
.ev-portion-selector{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ev-portion-selector button{display:grid;place-content:center;min-height:56px;border:1px solid var(--ev-line);border-radius:10px;background:#0a1621;color:#fff}
.ev-portion-selector button span{font-weight:800}.ev-portion-selector button small{display:block;margin-top:2px;color:var(--ev-muted)}
.ev-portion-selector button.ev-selected{border-color:#6aaaff;background:linear-gradient(180deg,#397fc7,#2867aa)}
.ev-portion-selector button.ev-unavailable{color:#77889a;opacity:.62;cursor:not-allowed}
.ev-split-row{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;gap:10px;align-items:center;width:100%;min-height:72px;padding:10px 12px;border:1px solid var(--ev-line);border-radius:11px;background:#102234;color:#fff;text-align:left}
.ev-split-row.ev-selected{border-color:#68aaff;background:#153555}.ev-split-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;background:#203d59;font-size:25px}
.ev-split-row strong,.ev-split-row small{display:block}.ev-split-row strong{font-size:15px}.ev-split-row small{margin-top:4px;color:#afc1d4;font-size:11px;line-height:1.25}
.ev-split-row i{position:relative;width:40px;height:23px;border-radius:20px;background:#52677c}.ev-split-row i:after{content:'';position:absolute;left:3px;top:3px;width:17px;height:17px;border-radius:50%;background:#fff;transition:left .15s}.ev-split-row.ev-selected i{background:#3b8ee8}.ev-split-row.ev-selected i:after{left:20px}
.ev-food-dialog .ev-detail-options{display:grid;grid-template-rows:auto minmax(0,1fr) auto;justify-content:stretch;min-height:0;padding:20px;overflow:hidden}
.ev-food-dialog .ev-detail-options>header{padding-right:54px}.ev-food-dialog .ev-detail-options>header h2{margin:0;color:#fff;font-size:25px}.ev-food-dialog .ev-detail-options>header p{margin:5px 0 12px;color:var(--ev-muted)}
.ev-mod-scroll{min-height:0;overflow:auto;padding-right:3px}.ev-food-dialog .ev-mod-group{padding:13px 0;border-top:1px solid var(--ev-line-soft)}
.ev-food-dialog .ev-mod-group h3{margin:0 0 9px;color:#fff;font-size:15px}.ev-food-dialog .ev-option-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.ev-food-dialog .ev-option-grid button{min-height:58px;border:1px solid #38556f;border-radius:10px;background:#0a1621;color:#fff}.ev-food-dialog .ev-option-grid button.ev-selected{border-color:#6baaff;background:#173d62;box-shadow:inset 0 0 0 1px #6baaff}.ev-food-dialog .ev-option-grid small{display:block;margin-top:2px;color:#b9d8ff}
.ev-mod-empty{display:grid;place-content:center;min-height:150px;margin-top:14px;padding:24px;border:1px dashed #3b536a;border-radius:12px;background:#0a162180;color:#c8d5e2;text-align:center}.ev-mod-empty span{margin-top:5px;color:var(--ev-muted);font-size:12px}
.ev-food-footer{display:grid;grid-template-columns:auto 110px minmax(290px,.7fr);gap:10px;align-items:center;padding:12px 20px;border-top:1px solid var(--ev-line);background:#091521}
.ev-quantity{display:grid;grid-template-columns:auto 48px 48px 48px;gap:7px;align-items:center}.ev-quantity>span{margin-right:8px;color:var(--ev-muted);font-size:13px}.ev-quantity button,.ev-quantity strong{display:grid;place-items:center;height:48px;border:1px solid #38556f;border-radius:9px;background:#13283c;color:#fff;font-size:22px}.ev-quantity button:disabled{opacity:.35}.ev-quantity strong{border-color:transparent;background:transparent;font-size:18px}
.ev-food-footer .ev-cancel-item,.ev-food-footer .ev-add-order{height:56px;margin:0}.ev-food-footer .ev-add-order{display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-radius:10px;font-size:17px}.ev-food-footer .ev-add-order b{font-size:20px}
.ev-quantity-inline{grid-template-columns:repeat(3,38px);gap:5px;min-width:124px}.ev-quantity-inline>span{grid-column:1/-1;margin:0 0 1px;text-align:center;font-size:11px}.ev-quantity-inline button,.ev-quantity-inline strong{height:38px;font-size:18px}
.ev-food-actions{display:grid;grid-template-columns:100px minmax(0,1fr);gap:9px;padding-top:12px;border-top:1px solid var(--ev-line)}.ev-food-actions button{height:54px;margin:0;border-radius:10px}.ev-food-actions .ev-add-order{display:flex;align-items:center;justify-content:space-between;width:100%;padding:0 20px;border:1px solid #84baff;background:linear-gradient(180deg,#6aabf5,#4388d4);color:#07111b;font-size:17px;font-weight:800;box-shadow:0 7px 20px #327ac933}.ev-food-actions .ev-add-order b{font-size:20px}

/* Independent Custom Drink builder, completed from the interrupted prior pass. */
.ev-custom-dialog{position:relative;display:grid;grid-template-columns:minmax(280px,.72fr) minmax(560px,1.45fr);width:min(1180px,calc(100vw - 36px));height:min(780px,calc(100dvh - 36px));overflow:hidden;border:1px solid var(--ev-line);border-radius:18px;background:#0d1925;box-shadow:0 28px 90px #000c}
.ev-custom-left{min-height:0;padding:20px;border-right:1px solid var(--ev-line);overflow:auto}.ev-custom-left>.ev-menu-photo{height:210px;aspect-ratio:auto;border-radius:12px;background-size:cover;background-position:center}
.ev-custom-title{display:flex;justify-content:space-between;gap:12px;align-items:start}.ev-custom-title h2{margin:14px 0 4px}.ev-custom-title b{margin-top:16px;color:#b9d8ff;font-size:22px}.ev-custom-included{margin:0 0 12px;color:var(--ev-muted);font-size:13px;line-height:1.35}
.ev-custom-summary section{padding:9px 0;border-top:1px solid var(--ev-line-soft)}.ev-custom-summary section header{display:flex;justify-content:space-between;align-items:center}.ev-custom-summary p{margin:4px 0;color:#b9c9da;font-size:12px}.ev-custom-edit{padding:4px 8px;border:1px solid var(--ev-line);border-radius:6px;background:transparent;color:#9dccff;font-size:11px}.ev-custom-empty{padding:18px;border:1px dashed #3b536a;border-radius:10px;color:var(--ev-muted);text-align:center;font-size:13px}
.ev-custom-right{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:0}.ev-custom-right>header{padding:20px 72px 12px 20px;border-bottom:1px solid var(--ev-line)}.ev-custom-right>header h2{margin:0 0 12px}.ev-custom-right>header nav{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.ev-custom-right>header nav button{min-height:42px;border:1px solid var(--ev-line);border-radius:8px;background:#0a1621;color:#d4e0ec}.ev-custom-right>header nav button.selected{border-color:#6baaff;background:#173d62;color:#fff}
.ev-custom-body{min-height:0;padding:18px 20px;overflow:auto}.ev-custom-intro h3,.ev-custom-groups h3,.ev-selected-quantities h3,.ev-custom-finish-group h3{margin:0 0 4px}.ev-custom-intro p,.ev-custom-finish-group p{margin:0 0 12px;color:var(--ev-muted);font-size:13px}
.ev-family-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin-bottom:12px}.ev-family-grid button,.ev-custom-choice-grid button{min-height:42px;border:1px solid var(--ev-line);border-radius:8px;background:#0a1621;color:#fff}.ev-family-grid button.selected,.ev-custom-choice-grid button.selected{border-color:#6baaff;background:#173d62}
.ev-custom-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ev-custom-option{min-height:60px;padding:9px 11px;border:1px solid #38556f;border-radius:9px;background:#0a1621;color:#fff;text-align:left}.ev-custom-option span,.ev-custom-option small{display:block}.ev-custom-option small{margin-top:3px;color:#9fb4c8;font-size:11px}.ev-custom-option.selected{border-color:#6baaff;background:#173d62}.ev-other-button{border-style:dashed}
.ev-custom-choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.ev-custom-finish-group+ .ev-custom-finish-group{margin-top:20px;padding-top:18px;border-top:1px solid var(--ev-line)}
.ev-custom-select-row,.ev-selected-quantities label{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:12px;padding:10px 12px;border:1px solid var(--ev-line);border-radius:9px;background:#102234}.ev-custom-select-row select,.ev-selected-quantities select{min-width:150px;padding:8px;border:1px solid #42617e;border-radius:7px;background:#07131e;color:#fff}
.ev-custom-search{display:flex;align-items:center;margin-bottom:14px;padding:0 12px;border:1px solid #42617e;border-radius:9px;background:#07131e}.ev-custom-search span{font-size:24px}.ev-custom-search input{width:100%;height:48px;padding:0 10px;border:0;outline:0;background:transparent;color:#fff}.ev-custom-groups section+section{margin-top:18px}.ev-custom-other-row{margin-top:12px}.ev-custom-notice,.ev-custom-warning{padding:10px;border-radius:8px;background:#3b2b12;color:#ffdca0;font-size:12px}
.ev-custom-right>footer{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center;padding:12px 20px;border-top:1px solid var(--ev-line);background:#091521}.ev-custom-totals{display:flex;gap:16px;color:var(--ev-muted);font-size:12px}.ev-custom-totals span b{display:block;color:#fff;font-size:16px}.ev-custom-totals .total b{color:#9dccff;font-size:20px}.ev-custom-actions{display:flex;gap:8px}.ev-custom-actions button{min-height:52px;padding:10px 18px}
.ev-other-scrim{position:absolute;inset:0;z-index:8;display:grid;place-items:center;padding:20px;background:#02060be8}.ev-other-popup{width:min(430px,100%);max-height:100%;padding:20px;overflow:auto;border:1px solid var(--ev-line);border-radius:14px;background:#102234}.ev-other-popup header{display:flex;justify-content:space-between}.ev-other-popup h3{margin:0}.ev-other-popup header p{margin:3px 0 12px;color:var(--ev-muted);font-size:12px}.ev-other-popup header button{background:transparent;color:#fff;font-size:26px}.ev-other-popup label{display:block;margin-top:10px;color:#d9e5f0;font-size:12px}.ev-other-popup input,.ev-other-popup select,.ev-other-popup textarea{display:block;width:100%;margin-top:4px;padding:9px;border:1px solid #42617e;border-radius:7px;background:#07131e;color:#fff}.ev-other-popup textarea{min-height:70px;resize:vertical}.ev-other-popup>button{width:100%;min-height:48px;margin-top:12px}.ev-other-error{display:block;min-height:18px;margin-top:6px;color:#ff8996}
@media(max-width:900px){.ev-food-main,.ev-custom-dialog{grid-template-columns:1fr 1.15fr}.ev-food-dialog .ev-detail-summary>.ev-menu-photo{height:190px}.ev-custom-choice-grid{grid-template-columns:repeat(3,1fr)}.ev-family-grid{grid-template-columns:repeat(3,1fr)}}

/* Signature cocktails use their structured recipe, never the Custom Drink library. */
.ev-signature-dialog{position:relative;display:grid;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 82px;width:min(1120px,calc(100vw - 36px));height:min(760px,calc(100dvh - 36px));overflow:hidden;border:1px solid var(--ev-line);border-radius:18px;background:#0d1925;box-shadow:0 28px 90px #000c}
.ev-signature-main{display:grid;grid-template-columns:minmax(310px,.92fr) minmax(440px,1.35fr);min-height:0}
.ev-signature-summary{min-height:0;padding:22px;border-right:1px solid var(--ev-line);overflow:auto}.ev-signature-summary>.ev-menu-photo{display:block;width:100%;height:270px;aspect-ratio:auto;border-radius:12px;background-size:cover;background-position:center}
.ev-signature-summary .ev-detail-head{display:block;padding:14px 0 2px;border-bottom:1px solid var(--ev-line)}.ev-signature-summary .ev-detail-head h2{margin:0;padding-right:55px;color:#fff;font-size:25px}.ev-signature-summary .ev-detail-head b{display:block;margin-top:5px;color:#b9d8ff;font-size:21px}.ev-signature-summary .ev-detail-head p{margin:6px 0 14px;color:var(--ev-muted);font-size:14px;line-height:1.4}
.ev-signature-options{display:grid;grid-template-rows:auto minmax(0,1fr);min-height:0;padding:24px 24px 12px;overflow:hidden}.ev-signature-options>header{padding-right:54px}.ev-signature-options>header h2{margin:0;color:#fff;font-size:25px}.ev-signature-options>header p{margin:5px 0 12px;color:var(--ev-muted)}
.ev-signature-scroll{min-height:0;overflow:auto;padding-right:3px}.ev-signature-section{position:relative;padding:14px 0;border-top:1px solid var(--ev-line-soft)}.ev-signature-section:first-child{border-top:0}.ev-signature-section h3{margin:0 0 9px;color:#fff;font-size:16px}
.ev-signature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ev-signature-grid button{min-height:58px;padding:9px 12px;border:1px solid #38556f;border-radius:10px;background:#0a1621;color:#fff;text-align:left}.ev-signature-grid button strong,.ev-signature-grid button small{display:block}.ev-signature-grid button small{margin-top:3px;color:#9fb4c8;font-size:11px}.ev-signature-grid button.ev-selected{border-color:#6baaff;background:#173d62;box-shadow:inset 0 0 0 1px #6baaff}.ev-signature-grid button.ev-removed{border-color:#9f5260;background:#3a1820}.ev-signature-grid button.ev-removed strong{color:#ffb0b9}
.ev-signature-extras{padding-right:0}.ev-add-extra{position:absolute;right:0;top:9px;min-height:36px;padding:6px 12px;border:1px solid #4f7aa3;border-radius:8px;background:#132d45;color:#cbe4ff}.ev-extra-library{margin-top:10px;padding:12px;border:1px solid #324b63;border-radius:11px;background:#091521}.ev-extra-group+.ev-extra-group{margin-top:14px}.ev-extra-group h4{margin:0 0 7px;color:#9fb7cf;font-size:12px;text-transform:uppercase;letter-spacing:.06em}.ev-extra-library>.ev-other-button{width:100%;margin-top:12px}
.ev-selected-extras{display:grid;gap:6px;margin:8px 0}.ev-selected-extras button{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:40px;padding:7px 10px;border:1px solid #4b759b;border-radius:8px;background:#14304a;color:#fff;text-align:left}.ev-selected-extras b{color:#a9d1ff;white-space:nowrap}
@media(max-width:900px){.ev-signature-main{grid-template-columns:1fr 1.15fr}.ev-signature-summary>.ev-menu-photo{height:200px}}

/* Standardized 1080×600 media. Cards let their grid row control the rendered
   height so a 9:5 intrinsic ratio can never push into the text row. */
.ev-product-card,.ev-product-main{min-height:0!important;overflow:hidden!important}
.ev-product-card .ev-photo-wrap{width:100%;max-width:none!important;height:100%!important;min-height:0!important;aspect-ratio:auto!important;overflow:hidden!important}
.ev-product-card .ev-menu-photo{width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;aspect-ratio:auto!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;background-color:#050b11}
.ev-product-card .ev-product-info{position:relative;z-index:2;overflow:hidden;background:linear-gradient(180deg,#0d1d2b,#091724)}
.ev-product-grid{grid-auto-flow:row}
.ev-product-ghost{pointer-events:none;border-style:dashed;border-color:#29445b;background:#08131e;box-shadow:none;opacity:.48}
.ev-product-ghost .ev-ghost-photo{display:block;width:100%;height:100%;background:linear-gradient(135deg,#102333 0%,#0b1925 48%,#11283a 100%)}
.ev-product-ghost .ev-product-info{display:grid;align-content:center;gap:7px;background:#091722}
.ev-product-ghost .ev-product-info i{display:block;height:7px;border-radius:999px;background:#274158}
.ev-product-ghost .ev-product-info i:nth-child(1){width:52%}.ev-product-ghost .ev-product-info i:nth-child(2){width:30%}.ev-product-ghost .ev-product-info i:nth-child(3){width:70%}
.ev-detail-dialog .ev-detail-summary>.ev-menu-photo,.ev-food-dialog .ev-detail-summary>.ev-menu-photo,.ev-signature-summary>.ev-menu-photo,.ev-custom-left>.ev-menu-photo{width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:9 / 5!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;background-color:#050b11}

/* Universal two-stage ticket creation. */
.ev-ticket-overview{display:grid;grid-template-rows:auto minmax(0,1fr);gap:16px;height:calc(100dvh - 74px);padding:18px 28px;overflow:hidden}.ev-service-start{overflow:visible}.ev-service-launch{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.ev-service-launch button{display:grid;min-height:92px;text-align:left}.ev-service-launch strong{font-size:21px}.ev-service-launch span{color:var(--ev-muted)}.ev-ticket-pane-title{display:flex;justify-content:space-between;gap:16px;align-items:start}.ev-ticket-setup{height:calc(100dvh - 74px);padding:20px 32px;overflow:auto}.ev-setup-back{display:flex;gap:12px;align-items:center;border:0;background:transparent;color:#fff;font-size:25px;font-weight:800}.ev-setup-columns{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:28px;padding:24px;border:1px solid var(--ev-line);border-radius:16px;background:#0d1925}.ev-setup-columns label{display:block;margin-bottom:10px;color:#cad6e2;font-size:18px}.ev-setup-guests{display:flex;flex-direction:column}.ev-guest-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.ev-guest-picker button{min-height:74px;border-radius:50%;font-size:22px}.ev-setup-guests .ev-start{margin-top:auto;min-height:74px;font-size:22px}.ev-line-edit{min-width:0;padding:0;border:0;background:transparent;color:inherit;text-align:left}.ev-remove-line{display:grid;place-items:center;min-width:58px;height:38px;padding:4px 7px;border:1px solid #85414c;border-radius:8px;background:#35151c;color:#ffb5bd;font-size:11px;font-weight:750}.ev-line-item.is-sent{opacity:.82}.ev-ticket-scroll{display:none}.ev-ticket-scroll[hidden]{display:none!important}.ev-ticket-pane-home>.ev-ticket-grid{overflow:auto}

/* NCR RealPOS 7754 compact operating layout: menu above, ticket below. */
@media (max-width:1100px) and (max-height:850px){
  #order.ev-order>.ev-header{display:none}.ev-order-layout{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 226px;height:100dvh;max-height:100dvh;padding:8px;gap:8px}.ev-menu-work{overflow:hidden}.ev-menu-top{grid-template-columns:minmax(0,1fr) 132px}.ev-categories{grid-template-columns:repeat(8,minmax(0,1fr));gap:5px}.ev-categories button{min-height:41px;padding:4px;font-size:12px}.ev-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:7px}.ev-product-main{grid-template-rows:minmax(0,1fr) 50px}.ev-product-info{height:50px;min-height:50px;padding:5px 8px}.ev-product-info strong,.ev-product-info b{font-size:13px}.ev-product-info small{display:none}.ev-add{display:none!important}.ev-product-card{min-height:0}.ev-product-main{width:100%;height:100%}
  .ev-order-ticket{display:grid;grid-template-columns:190px 34px minmax(0,1fr) 34px 166px 210px;grid-template-rows:1fr;gap:7px;align-items:stretch;height:226px;padding:9px}.ev-order-ticket-head{min-width:0;padding:7px;border:0}.ev-order-ticket h2{font-size:19px}.ev-order-ticket-meta{font-size:11px}.ev-order-ticket .ev-dots{position:absolute;left:145px;top:12px}.ev-ticket-lines{overflow:auto;border:1px solid var(--ev-line-soft);border-radius:9px;padding:0 8px}.ev-line-item{grid-template-columns:32px minmax(0,1fr) auto;padding:6px 0;font-size:12px}.ev-remove-line{width:30px;height:30px}.ev-ticket-scroll{display:grid;place-items:center;min-width:0;padding:0;border:1px solid var(--ev-line);border-radius:8px;background:#122538;color:#fff}.ev-ticket-scroll-up{grid-column:2}.ev-ticket-scroll-down{grid-column:4}.ev-totals{align-self:center;padding:8px}.ev-total-row{font-size:12px}.ev-total-row.total{font-size:18px}.ev-ticket-actions{grid-template-columns:1fr;align-content:center}.ev-ticket-actions button{min-height:54px}.ev-ticket-menu{left:10px;right:auto;top:52px}
  .ev-idle-main{left:12.5vw;top:12.5vh;width:75vw;height:75vh;display:flex;flex-direction:column;justify-content:center}.ev-idle-tools{display:none}.ev-ticket-overview{height:calc(100dvh - 56px);padding:12px}.ev-ticket-setup{height:calc(100dvh - 56px);padding:14px 24px}.ev-setup-columns{margin-top:14px;padding:16px}.ev-guest-picker button{min-height:60px}.ev-table-keypad button{height:43px}
}

/* Order-entry composition: categories own the full top row; menu and ticket
   remain side-by-side below it at the NCR 1024x768 viewport. */
#order .ev-order-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,35%);grid-template-rows:auto minmax(0,1fr);gap:9px;height:calc(100dvh - 64px);max-height:calc(100dvh - 64px);padding:9px 12px}
#order .ev-menu-top{grid-column:1/-1;grid-row:1;min-width:0;padding:0}
#order .ev-menu-work{grid-column:1;grid-row:2;display:block;min-width:0;min-height:0;overflow:hidden}
#order .ev-products-area,#order .ev-products{width:100%;height:100%;min-height:0}
#order .ev-product-grid{height:100%;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:8px}
#order .ev-order-ticket{grid-column:2;grid-row:2;display:flex;height:100%;min-height:0;padding:12px;flex-direction:column}
#order .ev-categories{grid-template-columns:repeat(8,minmax(0,1fr))}
#order .ev-photo-wrap{position:relative;display:block;height:100%;min-height:0;overflow:hidden;background-position:center;background-size:cover;background-repeat:no-repeat}
#order .ev-product-card .ev-menu-photo{position:absolute;inset:0;display:block;width:100%;height:100%!important;min-height:0;object-fit:cover;object-position:center;background:none!important;opacity:1}
#order .ev-product-card .ev-menu-photo.ev-image-error{opacity:0}
#order .ev-product-main{grid-template-rows:minmax(0,1fr) 68px}
#order .ev-product-info{height:68px;min-height:68px;padding:10px 9px 6px}
#order .ev-ticket-guests{display:flex;flex-direction:row;grid-column:auto;padding:7px 0;overflow-x:auto;overflow-y:hidden}
#order .ev-ticket-scroll-region{grid-column:auto;height:auto;flex:1}
#order .ev-totals{grid-column:auto;align-self:stretch}
#order .ev-ticket-actions{grid-column:auto}

@media (max-width:1100px) and (max-height:850px){
  #order.ev-order>.ev-header{display:none}
  #order .ev-order-layout{grid-template-columns:minmax(0,1fr) 350px;grid-template-rows:auto minmax(0,1fr);height:100dvh;max-height:100dvh;padding:8px}
  #order .ev-menu-top{grid-template-columns:minmax(0,1fr) 156px}
  #order .ev-categories{grid-template-columns:repeat(8,minmax(0,1fr));gap:5px}
  #order .ev-categories button{min-height:40px;padding:4px;font-size:11px}
  #order .ev-page-controls{grid-template-columns:42px 62px 42px;gap:5px}
  #order .ev-page-controls button{min-width:42px;min-height:40px}
  #order .ev-page-controls span{min-width:62px}
  #order .ev-order-ticket{display:flex;height:100%;padding:10px}
  #order .ev-order-ticket-head{padding-bottom:7px}
  #order .ev-order-ticket .ev-dots{position:static;width:38px;height:38px}
  #order .ev-ticket-guests{display:flex;flex-direction:row;padding:6px 0}
  #order .ev-ticket-guests button{min-height:36px;padding:4px 7px}
  #order .ev-ticket-scroll-region{height:auto;flex:1}
  #order .ev-ticket-lines{height:100%;padding:0 5px!important}
  #order .ev-ticket-scroll-region.has-overflow .ev-ticket-lines{padding-right:54px!important}
  #order .ev-line-item{grid-template-columns:54px minmax(0,1fr) auto;gap:5px}
  #order .ev-move-line{grid-column:2;margin-top:3px;justify-self:start}
  #order .ev-totals{align-self:stretch;padding:7px 0}
  #order .ev-ticket-actions{display:grid;grid-template-columns:.75fr 1.4fr}
  #order .ev-ticket-actions button{min-height:44px}
  #order .ev-product-main{grid-template-rows:minmax(0,1fr) 58px}
  #order .ev-product-info{height:58px;min-height:58px;padding:6px 8px 4px}
  #order .ev-product-info strong,#order .ev-product-info b{font-size:12px}
  #order .ev-product-info small{display:none}
  #order .ev-add{display:none!important}
}

/* 2.1 ticket overview: responsive Wine hero beside compact service start. */
.ev-ticket-overview{grid-template-rows:auto minmax(0,1fr)}
.ev-ticket-overview-top{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(360px,.85fr);gap:16px;min-height:210px}
.ev-wine-hero{position:relative;min-width:0;min-height:160px;overflow:hidden;border:1px solid #294761;border-radius:16px;background:#061421;box-shadow:inset 0 1px 0 #ffffff14}.ev-wine-hero-image{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center}.ev-wine-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,18,31,.98) 0%,rgba(4,21,35,.88) 29%,rgba(9,17,30,.24) 57%,rgba(8,13,22,.05) 100%);pointer-events:none}
.ev-wine-hero-copy{position:relative;z-index:2;display:flex;height:100%;max-width:48%;padding:22px 26px;flex-direction:column;justify-content:center}
.ev-wine-hero h1{margin:0;color:#fffaf1;font:clamp(34px,3.5vw,54px)/1 Georgia,"Times New Roman",serif;letter-spacing:-.035em}.ev-wine-hero p{margin:7px 0 16px;color:#d0deec;font-size:17px;line-height:1.3}.ev-wine-hero button{align-self:start;min-width:180px;min-height:46px;padding:8px 20px;border:1px solid #b9ddff;border-radius:10px;background:linear-gradient(180deg,#a8d7ff,#76b8f3);color:#071421;font-weight:800}.ev-wine-hero button span{float:right;margin-left:18px;font-size:24px;line-height:.7}
.ev-service-start{display:flex;min-width:0;flex-direction:column;justify-content:center}.ev-service-start h1,.ev-ticket-pane-home h1{font-size:22px}.ev-service-launch{margin-top:14px}.ev-service-launch button{min-width:0;min-height:72px;padding:10px}.ev-service-launch strong{font-size:17px}.ev-service-launch span{font-size:11px}.ev-ticket-pane-home{display:flex;min-height:0;flex-direction:column}.ev-ticket-pane-home>.ev-ticket-grid{min-height:0;grid-template-columns:repeat(3,minmax(0,1fr));overflow:auto}.ev-ticket-pane-home .ev-pane-lead{margin:3px 0 10px}

/* Universal table-only Dine In setup and service-specific named setup. */
.ev-ticket-setup{display:flex;flex-direction:column}.ev-setup-header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}.ev-setup-header>strong{justify-self:center;font-size:54px;line-height:1;font-weight:850;letter-spacing:-.035em}.ev-setup-header>strong span{color:#9dccff}.ev-setup-header-spacer{display:block}.ev-ticket-setup.is-dine-in .ev-setup-back{justify-self:start;font-size:30px}.ev-ticket-setup.is-dine-in .ev-setup-back span{padding-left:8px}.ev-dine-keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));width:min(780px,100%);height:min(676px,calc(100dvh - 250px));min-height:420px;margin:52px auto 0;flex:none;gap:12px}.ev-dine-keypad button{min-height:0;border-radius:13px;font-size:30px;font-weight:750}.ev-dine-keypad .ev-key-delete{font-size:22px}.ev-key-delete span{margin-left:7px;font-size:15px}.ev-key-start{font-size:20px!important}.ev-named-ticket-setup{display:grid;width:100%;max-width:none;margin:0;grid-template-columns:1fr auto;gap:12px;align-items:end}.ev-named-ticket-setup label{grid-column:1/-1;color:#cad6e2;font-size:18px}.ev-named-ticket-setup button{min-height:58px;padding:10px 24px}

/* Ticket guests and independently measured ticket scrolling. */
.ev-ticket-guests{display:flex;gap:6px;padding:8px 0;overflow:auto}.ev-ticket-guests button{min-height:38px;padding:6px 10px;border:1px solid var(--ev-line);border-radius:8px;background:#102234;color:#dce8f3;white-space:nowrap}.ev-ticket-guests button.ev-selected{border-color:#6baaff;background:#234f79;color:#fff}.ev-ticket-guests .ev-new-guest{border-style:dashed;color:#9dccff}.ev-ticket-scroll-region{position:relative;min-width:0;min-height:0;flex:1;overflow:hidden}.ev-ticket-scroll-region .ev-ticket-lines{height:100%;padding-right:2px}.ev-ticket-scroll{position:absolute;right:5px;z-index:4;width:48px;height:44px;border:1px solid #53708c;border-radius:9px;background:#17314b;color:#fff;box-shadow:0 4px 12px #0008}.ev-ticket-scroll-up{top:5px}.ev-ticket-scroll-down{bottom:5px}.ev-ticket-scroll-region.has-overflow .ev-ticket-lines{padding-right:58px}.ev-ticket-scroll:disabled{opacity:.32}.ev-guest-group h3{position:sticky;top:0;z-index:2;margin:0;padding:6px 4px;background:#091521;color:#9dccff;font-size:12px;text-transform:uppercase;letter-spacing:.05em}.ev-guest-empty{margin:4px 0 9px;padding:5px;color:#71869b;font-size:11px}.ev-line-item{grid-template-columns:38px minmax(0,1fr) auto auto;align-items:start}.ev-move-line{min-height:30px;padding:4px 6px;border:1px solid #38556f;border-radius:7px;background:#10283d;color:#9dccff;font-size:10px;white-space:nowrap}.ev-line-edit,.ev-line-edit strong,.ev-line-edit small{word-break:normal;overflow-wrap:normal}.ev-menu-photo{display:block;width:100%;height:100%;object-fit:cover;object-position:center;background:#050b11}.ev-image-error{opacity:.22}

@media (max-width:1100px) and (max-height:850px){
  .ev-ticket-overview{grid-template-rows:178px minmax(0,1fr);gap:10px;height:calc(100dvh - 56px);padding:10px 12px}.ev-ticket-overview-top{grid-template-columns:minmax(0,1.35fr) minmax(330px,.8fr);gap:10px;min-height:0}.ev-wine-hero-copy{max-width:53%;padding:13px 18px}.ev-wine-hero h1{font-size:32px}.ev-wine-hero p{margin:4px 0 10px;font-size:14px}.ev-wine-hero button{min-width:150px;min-height:40px}.ev-service-start{padding:13px}.ev-service-start h1,.ev-ticket-pane-home h1{font-size:21px}.ev-service-launch{gap:7px;margin-top:9px}.ev-service-launch button{min-height:64px;padding:7px}.ev-service-launch strong{font-size:15px}.ev-service-launch span{font-size:10px}.ev-ticket-pane-home{padding:13px}.ev-ticket-pane-home>.ev-ticket-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ev-ticket-pane-home .ev-ticket-card{min-height:124px;padding:11px}.ev-ticket-card .ev-ticket-head strong{font-size:15px}.ev-ticket-card .ev-status{padding:3px 6px;font-size:10px}.ev-ticket-card .ev-ticket-meta{margin-top:7px;font-size:11px}.ev-ticket-card .ev-ticket-bottom{margin-top:7px;padding-top:7px}.ev-ticket-card .ev-ticket-bottom b{font-size:15px}
  .ev-ticket-setup-screen>.ev-header{display:none}.ev-ticket-setup{height:100dvh;padding:42px 34px}.ev-setup-header .ev-setup-back{font-size:30px}.ev-setup-header>strong{font-size:48px}.ev-dine-keypad{height:calc(100dvh - 250px);min-height:420px;margin-top:44px;grid-template-rows:repeat(4,minmax(0,1fr));gap:9px}.ev-dine-keypad button{min-height:0;font-size:28px}.ev-dine-keypad .ev-key-delete{font-size:21px}.ev-key-start{font-size:20px!important}
  .ev-order-layout{grid-template-rows:minmax(0,1fr) 238px}.ev-order-ticket{display:grid;grid-template-columns:165px 135px minmax(300px,1fr) 140px 190px;grid-template-rows:1fr;gap:7px;height:238px}.ev-order-ticket-head{grid-column:1;min-width:0}.ev-ticket-guests{grid-column:2;display:flex;padding:2px;flex-direction:column;overflow:auto}.ev-ticket-guests button{min-height:38px;padding:5px 7px}.ev-ticket-scroll-region{grid-column:3;height:100%;border:1px solid var(--ev-line-soft);border-radius:9px}.ev-ticket-lines{border:0!important;padding:0 6px!important}.ev-ticket-scroll-region.has-overflow .ev-ticket-lines{padding-right:54px!important}.ev-totals{grid-column:4;align-self:center}.ev-ticket-actions{grid-column:5}.ev-order-ticket .ev-ticket-menu{left:8px;right:auto;top:48px}.ev-line-item{grid-template-columns:54px minmax(0,1fr) auto auto;gap:5px}.ev-line-edit strong{font-size:12px}.ev-line-edit small{font-size:10px}.ev-move-line{padding:3px}.ev-remove-line{min-width:54px;height:30px;padding:2px 4px}.ev-product-card .ev-menu-photo{height:100%!important;object-fit:cover!important}.ev-photo-wrap{overflow:hidden}
}

/* PIN entry mirrors the table-number interaction pattern. */
.ev-pin-login-body{display:block;height:calc(100dvh - 64px);padding:0;background:#06101a}
.ev-pin-login-card{display:flex;width:100%;height:100%;max-width:none;padding:40px 34px!important;border:0;border-radius:0;flex-direction:column;background:#06101a;box-shadow:none}
.ev-pin-screen-header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}
.ev-pin-screen-header>.ev-setup-back{justify-self:start;font-size:30px}.ev-pin-screen-header>.ev-setup-back span{padding-left:8px}
.ev-pin-title{justify-self:center;text-align:center}.ev-pin-title h1{margin:0;color:#f4f7fb;font-size:48px;line-height:1;font-weight:850;letter-spacing:-.035em}
.ev-pin-title .ev-pin-dots{margin:12px 0 0;padding:0;color:#9dccff;font-size:22px;line-height:1;letter-spacing:12px}
.ev-pin-screen-header>i{display:block}.ev-pin-login-card>.ev-error{min-height:24px;margin:8px 0 -32px;color:#ff8996;text-align:center;font-weight:700}
.ev-pin-table-keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));width:min(780px,100%);height:min(676px,calc(100dvh - 270px));min-height:420px;margin:44px auto 0;gap:12px}
.ev-pin-table-keypad button{min-height:0;border-radius:13px;font-size:30px;font-weight:750}.ev-pin-table-keypad .ev-key-delete{font-size:22px}.ev-pin-table-keypad .ev-key-delete span{margin-left:7px;font-size:15px}.ev-pin-table-keypad .ev-primary{font-size:20px}
.ev-payment-demo{padding:4px}.ev-payment-demo h2{font-size:28px}.ev-payment-due{display:flex;justify-content:space-between;align-items:center;margin:22px 0;padding:20px;border:1px solid var(--ev-line);border-radius:12px;background:#0c1925;font-size:20px}.ev-payment-due strong{font-size:34px}.ev-payment-demo label{display:block;color:#c7d4df;font-weight:700}.ev-payment-demo input{width:100%;height:64px;margin-top:8px;padding:10px 16px;border:2px solid #5d9fe4;border-radius:10px;background:#07131e;color:#fff;font-size:26px}.ev-payment-demo>small{display:block;min-height:24px;margin:8px 0;color:#ff8794}.ev-payment-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ev-payment-actions button{min-height:64px}.ev-payment-cancel{width:100%;min-height:52px;margin-top:12px}

@media (max-width:1100px) and (max-height:850px){
  #login.ev-login>.ev-header{display:none}
  .ev-pin-login-body{height:100dvh}
  .ev-pin-login-card{padding:42px 34px!important}
  .ev-pin-title h1{font-size:48px}
  .ev-pin-table-keypad{height:calc(100dvh - 270px);min-height:420px;margin-top:40px;gap:9px}
  .ev-pin-table-keypad button{font-size:28px}.ev-pin-table-keypad .ev-key-delete{font-size:21px}.ev-pin-table-keypad .ev-primary{font-size:20px}
}

/* To Go and Bar Tab use the same large touch-first entry language. */
.ev-ticket-setup.is-named-order{display:flex;padding:18px 28px;overflow:hidden}
.ev-ticket-setup.is-named-order .ev-setup-header{display:block;flex:0 0 auto;padding-bottom:14px;border-bottom:1px solid var(--ev-line)}
.ev-ticket-setup.is-named-order .ev-setup-back{font-size:26px}
.ev-named-ticket-setup{display:flex;width:100%;min-width:0;min-height:0;margin:16px 0 0;flex:1;flex-direction:column;align-items:stretch;gap:8px}
.ev-named-ticket-setup>label{color:#d8e3ed;font-size:18px}
.ev-named-ticket-setup>.ev-ticket-input{height:70px;min-height:70px;padding:10px 22px;border:2px solid #70b6ff;border-radius:12px;text-align:left;font-size:28px;caret-color:#86c4ff}
.ev-name-keyboard{display:grid;min-height:0;margin-top:6px;flex:1;grid-template-rows:repeat(4,minmax(0,1fr));gap:9px}
.ev-name-key-row{display:grid;min-height:0;gap:7px}
.ev-name-key-row button{min-width:0;min-height:0;padding:6px;border-radius:11px;font-size:25px;font-weight:800}
.ev-name-key-row-1{grid-template-columns:repeat(10,minmax(0,1fr))}
.ev-name-key-row-2{width:91%;margin:0 auto;grid-template-columns:repeat(9,minmax(0,1fr))}
.ev-name-key-row-3{grid-template-columns:1.25fr repeat(7,minmax(0,1fr)) 1.25fr}
.ev-name-key-actions{grid-template-columns:95px 95px minmax(220px,1fr) 135px minmax(190px,240px)}
.ev-name-key-actions .ev-space-key{grid-column:auto}.ev-name-key-actions .ev-name-start{font-size:20px}
.ev-name-keyboard-note{margin:4px 0 0;color:#b8c7d5;font-size:13px}

@media (max-width:1100px) and (max-height:850px){
  .ev-named-setup-screen>.ev-header{display:flex}
  .ev-named-setup-screen .ev-ticket-setup{height:calc(100dvh - 56px);padding:10px 24px 12px}
  .ev-ticket-setup.is-named-order .ev-setup-header{padding-bottom:7px}.ev-ticket-setup.is-named-order .ev-setup-back{font-size:22px}
  .ev-named-ticket-setup{margin-top:8px;gap:5px}.ev-named-ticket-setup>label{font-size:15px}
  .ev-named-ticket-setup>.ev-ticket-input{height:58px;min-height:58px;padding:8px 16px;font-size:23px}
  .ev-name-keyboard{margin-top:3px;gap:6px}.ev-name-key-row{gap:5px}.ev-name-key-row button{font-size:20px;border-radius:9px}
  .ev-name-key-actions{grid-template-columns:68px 68px minmax(170px,1fr) 100px minmax(145px,190px)}
  .ev-name-key-actions .ev-name-start{font-size:17px}.ev-name-keyboard-note{margin-top:2px;font-size:11px}
}

@media (width:1024px) and (height:768px){
  .ev-ticket-setup.is-named-order{width:100%;max-width:none}
  .ev-named-ticket-setup{width:100%;max-width:none;align-self:stretch}
  .ev-name-keyboard,.ev-name-key-row{width:100%;max-width:none}
  .ev-name-key-row-2{width:91%}
}

/* NCR viewport media stabilization. Do not allow minmax grid tracks to
   collapse photographic content to zero height in Chrome device emulation. */
@media (min-width:801px) and (max-width:1100px) and (max-height:850px){
  #order .ev-product-card{min-height:0!important}
  #order .ev-product-main{display:grid!important;height:100%!important;grid-template-rows:minmax(96px,1fr) 58px!important}
  #order .ev-photo-wrap{display:block!important;min-height:96px!important;background-position:center!important;background-size:cover!important}
  #order .ev-product-card .ev-menu-photo{display:block!important;visibility:visible!important;width:100%!important;height:100%!important;min-height:96px!important;opacity:1!important;object-fit:cover!important}
  .ev-ticket-overview-top{min-height:178px}
  .ev-wine-hero,.ev-wine-hero-image{display:block!important;visibility:visible!important;min-height:160px!important}
  .ev-wine-hero-image{width:100%!important;height:100%!important;opacity:1!important;object-fit:cover!important}
  .ev-wine-guide{height:calc(100dvh - 56px);padding:10px 12px 12px}
  .ev-wine-paper{grid-template-rows:auto 46px minmax(0,1fr)}
  .ev-wine-titlebar{padding:9px 18px 6px}.ev-wine-titlebar h1{font-size:38px}.ev-wine-titlebar p{font-size:11px}.ev-wine-exit{min-width:130px;min-height:42px}
  .ev-wine-tabs{padding:0 16px}.ev-wine-tabs button{font-size:17px}
  .ev-wine-body{grid-template-columns:1fr;grid-template-rows:62px minmax(0,1fr);min-height:0;padding:8px 12px 12px;gap:8px}
  .ev-wine-sidebar{display:grid;grid-template-columns:210px minmax(0,1fr);align-items:stretch;min-width:0;min-height:0;padding:5px 7px;gap:7px;overflow:hidden}
  .ev-wine-search{height:100%;min-height:0;margin:0}.ev-wine-search input{height:100%;font-size:13px}
  .ev-wine-list{display:flex;width:100%;height:100%;min-width:0;gap:6px;overflow-x:auto;overflow-y:hidden}
  .ev-wine-list button{display:grid;grid-template-columns:28px minmax(0,1fr) 12px;align-items:center;min-width:0;min-height:0;padding:4px 8px;flex:1 0 128px;border:1px solid #ddd5cc;border-radius:8px;font-size:14px;line-height:1.05}
  .ev-wine-list button.active{border-left:4px solid #8a0a21}.ev-wine-mini{font-size:20px}.ev-wine-list button b{font-size:20px}
  .ev-wine-content{display:grid!important;min-width:0!important;min-height:0!important;overflow:hidden!important;border-top:1px solid #e0d6c8;border-left:0;background:#fffdf9}
  .ev-wine-content img{display:block!important;visibility:visible!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;opacity:1!important;object-fit:contain!important}
}

/* Ticket line removal stays compact and never competes with item text. */
.ev-line-item{grid-template-columns:38px minmax(0,1fr) auto auto;align-items:start}
.ev-remove-line{display:grid!important;place-items:center;width:36px!important;min-width:36px!important;height:36px!important;padding:0!important;border:1px solid #85414c;border-radius:8px;background:#35151c;color:#ffb5bd;font-size:24px!important;font-weight:500;line-height:1}
.ev-line-edit{padding:1px 4px!important}.ev-line-item>b{padding-top:4px;white-space:nowrap}
@media (max-width:1100px) and (max-height:850px){
  #order .ev-line-item{grid-template-columns:36px minmax(0,1fr) auto;column-gap:7px;row-gap:3px}
  #order .ev-remove-line{width:34px!important;min-width:34px!important;height:34px!important;font-size:22px!important}
}

/* Category paging moves onto the food grid only at the NCR viewport. */
.ev-menu-grid-pager{display:none}
@media (min-width:801px) and (max-width:1100px) and (max-height:850px){
  #order .ev-menu-top{grid-template-columns:1fr}
  #order .ev-page-controls{display:none}
  #order .ev-products-area{position:relative;display:grid;grid-template-rows:minmax(0,1fr) 48px;gap:6px}
  #order .ev-products{box-sizing:border-box;padding-right:0}
  #order .ev-menu-grid-pager{position:static;z-index:8;display:grid;width:100%;height:48px;grid-template-columns:1fr 3fr 1fr;gap:6px;pointer-events:auto}
  #order .ev-menu-grid-pager button{position:static;display:grid;place-items:center;width:100%;height:48px;padding:0;border:1px solid #53708c;border-radius:9px;background:#17314b;color:#fff;font-size:20px;box-shadow:0 4px 12px #0008;pointer-events:auto}
  #order .ev-menu-grid-pager button:disabled{opacity:.3}
  #order .ev-menu-grid-up,#order .ev-menu-grid-down{inset:auto}
  #order .ev-menu-grid-pager span{position:static;display:flex;width:auto;min-height:48px;align-items:center;justify-content:center;gap:5px;transform:none;border:1px solid var(--ev-line);border-radius:9px;background:#0d1d2b;color:#aebfd0;text-align:center;font-size:13px}
  #order .ev-menu-grid-pager strong{color:#fff;font-size:18px}
}
