:root{--cafe-navy:#092b43;--cafe-gold:#ffb632;--cafe-line:#dce5e8}body{background:#f7f9f8;color:var(--cafe-navy)}.cafe-wrap{max-width:1100px;margin:auto;padding:36px 20px 100px}.cafe-intro h1{font-size:clamp(34px,6vw,58px);margin:10px 0}.cafe-intro p{margin:8px 0}.cafe-intro{margin-bottom:24px}.cafe-search{max-width:480px}.menu-categories{display:flex;gap:8px;overflow:auto;position:sticky;top:0;background:#f7f9f8f5;padding:12px 0;z-index:4;scrollbar-width:thin}.menu-categories a{white-space:nowrap;padding:10px 15px;border:1px solid var(--cafe-line);border-radius:30px;background:white;color:var(--cafe-navy);font-size:14px;text-decoration:none}.menu-categories a:hover{background:var(--cafe-gold)}.menu-cat{padding:16px 0;scroll-margin-top:75px}.menu-cat h2{font-size:26px}.menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.menu-item{display:flex;flex-direction:column;gap:10px;padding:20px;border:1px solid var(--cafe-line);border-radius:16px;background:white;min-width:0}.menu-item h3{margin:0;font-size:19px}.menu-item p{margin:0;color:#536774;font-size:14px;line-height:1.55}.menu-item small,.cafe-muted{color:#526975}.menu-item img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;border-radius:10px;background:#f3f6f6}.menu-item-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:8px}.menu-item-bottom strong{font-size:20px}.cafe-tags{display:flex;gap:5px;flex-wrap:wrap}.cafe-tag{background:#f5eddc;color:#695127;padding:3px 8px;border-radius:8px;font-size:12px}.cafe-add{background:var(--cafe-gold);border:0;border-radius:50%;width:44px;height:44px;font-size:26px;cursor:pointer}.cafe-add:disabled{opacity:.45;cursor:default}.cafe-cart-button{position:fixed;bottom:max(12px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:calc(100% - 24px);max-width:510px;background:var(--cafe-navy);color:white;border:0;border-radius:16px;padding:18px;z-index:20;font-size:17px;font-weight:700;box-shadow:0 7px 30px #092b4333;cursor:pointer}.cafe-banner{padding:12px;background:#e1eee9;border-radius:12px}.cafe-banner button{margin-left:12px}.cafe-primary,.cafe-secondary{padding:12px 18px;border-radius:10px;font:inherit;cursor:pointer;min-height:44px}.cafe-primary{background:var(--cafe-navy);color:white;border:0}.cafe-secondary{border:1px solid var(--cafe-line);background:white;color:var(--cafe-navy)}.cafe-wrap input,dialog input,dialog select,dialog textarea{font:inherit;width:100%;min-width:0;padding:12px;border:1px solid #b3c3cc;background:white;color:var(--cafe-navy);border-radius:9px;box-sizing:border-box;min-height:44px}.cafe-wrap label,dialog label{display:block;margin:12px 0;font-size:14px}dialog{color:var(--cafe-navy);background:#fff;border:0;border-radius:20px;max-width:580px;width:calc(100% - 24px);max-height:90dvh;padding:24px;box-shadow:0 8px 48px #0004;box-sizing:border-box;overflow:auto}dialog::backdrop{background:#061b2cb3}dialog h2{font-size:26px;margin:8px 36px 14px 0}dialog fieldset{border:1px solid var(--cafe-line);border-radius:10px;margin:12px 0;padding:12px}dialog input[type=radio],dialog input[type=checkbox]{width:20px;height:20px;min-height:20px;flex-shrink:0;margin:0 8px 0 0}.cafe-choice,.cafe-check{display:flex!important;align-items:center;gap:7px}.cafe-close{float:right;width:40px;height:40px;font:28px/1 system-ui;background:#f1f5f7;border:0;border-radius:50%;cursor:pointer}.cafe-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cafe-form-grid label{min-width:0}.cafe-total{font-size:22px;font-weight:750}.cart-line{padding:14px 0;border-bottom:1px solid var(--cafe-line)}.cart-line p{margin:4px 0;font-size:14px}.cart-controls{display:flex;align-items:center;gap:12px;margin-top:8px}.cart-controls button{min-width:40px;min-height:40px;border:1px solid var(--cafe-line);border-radius:8px;background:white;cursor:pointer}.cart-controls strong{margin-left:auto}#checkout-error,#cafe-message{color:#b62c1a}#checkout-error:empty,#cafe-message:empty{display:none}.receipt-status{display:inline-block;background:#e1eee9;font-size:18px;padding:10px 14px;border-radius:12px}[hidden]{display:none!important}@media(max-width:600px){.menu-grid{grid-template-columns:1fr}.cafe-wrap{padding:20px 14px 90px}.menu-item{padding:16px}.menu-cat h2{font-size:23px}dialog{padding:18px}.cafe-form-grid{gap:8px}.site-header .header-phone{display:none}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.cafe-add:disabled{width:auto;min-width:80px;border-radius:12px;font-size:13px;padding:6px 10px}

/* The staff order-entry screen is a dense text menu; guest presentation is separate. */
html.cafe-staff-mode{scroll-padding-top:54px}
body.cafe-staff{font:13px/1.35 system-ui,sans-serif}
.cafe-staff>.topline,.cafe-staff>header,.cafe-staff>footer{display:none}
.cafe-staff .cafe-wrap{max-width:780px;padding:8px 8px 65px}
.cafe-staff .cafe-intro{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 4px}
.cafe-staff .cafe-intro>p{display:none}.cafe-staff .cafe-intro h1{font-size:17px;margin:4px 0;letter-spacing:0}.cafe-staff #staff-back{font-size:12px;padding:7px 0}
.cafe-staff #cafe-hours{font-size:11px;margin:2px 0 6px}.cafe-staff .cafe-banner{font-size:12px;padding:6px;margin:4px 0}
.cafe-staff .cafe-search{max-width:none}.cafe-staff .cafe-search label{display:none}.cafe-staff .cafe-search input{padding:6px 9px;min-height:34px;border-radius:5px;font-size:13px}
.cafe-staff .menu-categories{gap:4px;padding:6px 0;margin:0}.cafe-staff .menu-categories a{font-size:11px;border-radius:5px;padding:7px 9px;line-height:1.2}
.cafe-staff .menu-cat{padding:4px 0;scroll-margin-top:48px}.cafe-staff .menu-cat h2{font-size:14px;letter-spacing:0;margin:5px 0}
.cafe-staff .menu-grid{grid-template-columns:1fr;gap:0;border:1px solid var(--cafe-line);border-radius:5px;overflow:hidden}
.cafe-staff .menu-item{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:8px;row-gap:0;align-items:center;padding:4px 7px;border:0;border-bottom:1px solid var(--cafe-line);border-radius:0;min-height:43px}
.cafe-staff .menu-item:last-child{border-bottom:0}.cafe-staff .menu-item h3{grid-column:1;grid-row:1;font-size:13px;line-height:1.25;letter-spacing:0;overflow-wrap:anywhere}.cafe-staff .menu-item>small{grid-column:1;grid-row:2;font-size:10px;line-height:1.2}
.cafe-staff .menu-item-bottom{grid-column:2;grid-row:1/3;margin:0;padding:0;gap:8px}.cafe-staff .menu-item-bottom strong{font-size:13px;white-space:nowrap}.cafe-staff .cafe-add{width:34px;height:34px;min-height:34px;font-size:22px;border-radius:5px;padding:0}.cafe-staff .cafe-add:disabled{font-size:10px;width:62px;min-width:0;padding:3px}
.cafe-staff .cafe-cart-button{max-width:500px;border-radius:7px;padding:10px;font-size:14px;bottom:max(8px,env(safe-area-inset-bottom));box-shadow:0 2px 10px #092b4322}
.cafe-staff dialog{font-size:13px;padding:12px;border-radius:9px;width:calc(100% - 16px);max-height:94dvh}.cafe-staff dialog h2{font-size:17px;margin:4px 34px 8px 0;letter-spacing:0}.cafe-staff dialog p{font-size:12px;line-height:1.35;margin:4px 0}
.cafe-staff dialog label{font-size:11px;margin:5px 0}.cafe-staff dialog input,.cafe-staff dialog select,.cafe-staff dialog textarea{font-size:13px;padding:6px 8px;min-height:34px;border-radius:5px}.cafe-staff dialog fieldset{margin:6px 0;padding:7px;border-radius:5px}.cafe-staff dialog .cafe-choice{min-height:30px;font-size:12px;margin:2px 0}
.cafe-staff dialog input[type=radio],.cafe-staff dialog input[type=checkbox]{width:18px;height:18px;min-height:18px;margin-right:4px}.cafe-staff .cafe-close{width:32px;height:32px;font-size:23px}.cafe-staff .cafe-primary,.cafe-staff .cafe-secondary{min-height:36px;padding:7px 10px;font-size:13px;border-radius:5px}
.cafe-staff .cafe-form-grid{gap:6px}.cafe-staff .cart-line{padding:7px 0}.cafe-staff .cart-line b{font-size:13px}.cafe-staff .cart-controls{gap:8px;margin-top:4px}.cafe-staff .cart-controls button{min-width:32px;min-height:32px}.cafe-staff #checkout-summary{font-size:16px;margin:8px 0}
@media(pointer:coarse){.cafe-staff .cafe-search input,.cafe-staff dialog input,.cafe-staff dialog select,.cafe-staff dialog textarea{font-size:16px}}

.cafe-staff .menu-item .cafe-stock-hint{grid-column:1;grid-row:3;font-size:11px;line-height:1.3;color:#405968;margin:2px 0}.cafe-staff .menu-item-bottom{grid-row:1/4}.cart-reset-actions{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.cart-reset-actions button{min-height:44px!important}#place-later{font-size:12px}#undo-clear-cart[hidden]{display:none!important}

/* Staff POS shares the existing checkout form with mobile. */
@media(min-width:1100px){body.cafe-staff.cafe-pos-cart main{margin-right:400px;max-width:none}body.cafe-staff.cafe-pos-cart #cart-dialog{position:fixed;top:calc(var(--desk-chrome-height,120px) + 10px);right:12px;left:auto;bottom:12px;margin:0;width:370px;max-width:370px;max-height:calc(100dvh - var(--desk-chrome-height,120px) - 25px);border:1px solid #dce5ee;box-shadow:none;padding:14px}body.cafe-staff.cafe-pos-cart #cart-button{display:none}body.cafe-staff.cafe-pos-cart #menu-list .menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

#checkout-contact{margin:0 0 10px}#checkout-contact>summary{display:none}.cafe-staff #checkout-contact>summary{display:list-item;cursor:pointer;padding:10px 0;min-height:44px;font-size:12px;color:#596672}.cafe-staff #checkout-contact[open]{border-bottom:1px solid #dce0e4;padding-bottom:8px}

.cafe-configure{font:inherit;font-size:12px;border:1px solid var(--cafe-line);background:white;color:inherit;border-radius:6px;min-height:44px;padding:6px 8px;cursor:pointer}
.cart-controls .cart-quantity{width:64px;max-width:64px;min-height:40px;text-align:center;padding:6px;flex:0 0 64px}
.cart-line-actions{display:flex;gap:8px;margin-top:8px}.cart-line-actions button{font:inherit;font-size:12px;min-height:36px;border:1px solid var(--cafe-line);background:white;border-radius:6px;padding:6px 10px;cursor:pointer}.cart-remove{color:#9e3026}
.cafe-legacy-pending{border:1px solid #b78128;padding:12px;border-radius:8px;margin:12px 0;background:#fff6df}.cafe-legacy-pending button{min-height:44px;margin:4px 8px 4px 0}.cafe-legacy-pending p{font-size:13px}
@media(max-width:700px){.cafe-staff .menu-item-bottom{display:grid;grid-template-columns:auto 44px;gap:4px 8px}.cafe-staff .menu-item-bottom .cafe-configure{grid-column:1/-1}.cart-line-actions button{min-height:44px}}
