:root{--brand:#075b35;--accent:#f4c75b;--bg:#f5f4ee;--panel:#fff;--ink:#17372b;--muted:#55665d;--line:#d9e0d8;--soft:#edf3ed;--shadow:0 8px 36px #102a2014;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Tahoma,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;padding-bottom:120px}button,input,textarea,select{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #c48a00;outline-offset:3px}button{border:1px solid var(--line);background:var(--panel);color:var(--ink);border-radius:12px;padding:12px 16px;min-height:46px;font-weight:650}a{color:var(--brand)}.topbar{background:var(--brand);color:#fff;text-align:center;font-size:12px;letter-spacing:.16em;font-weight:800;padding:10px}.shell{max-width:1140px;margin:auto;padding:0 24px}.brandbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0}.identity{display:flex;align-items:center;gap:12px;min-width:0}.identity img{width:62px;height:48px;object-fit:contain;background:#fff;border-radius:9px;padding:4px}.identity strong{font-size:23px}.header-actions{display:flex;align-items:center;gap:8px}.header-actions select,.language-summary select{border:1px solid var(--line);border-radius:10px;min-height:44px;background:var(--panel);color:var(--ink);padding:6px 10px}.icon-btn{padding:8px 12px}.preview{background:#fff7df;color:#634812;padding:10px 14px;border-radius:9px;font-size:12px;line-height:1.5;margin-bottom:16px}.hero{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;background:var(--brand);color:#fff;border-radius:22px;min-height:265px}.hero-copy{padding:32px;align-self:center}.eyebrow{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#ffffffce}.hero h1{font-family:Georgia,serif;font-size:38px;line-height:1.12;margin:14px 0}.hero p:last-child{font-size:15px;line-height:1.6;margin-bottom:0}.hero>img{width:100%;height:100%;max-height:340px;object-fit:cover}.steps{display:grid;grid-template-columns:repeat(3,1fr);list-style:none;margin:18px 0 22px;padding:16px 0;border-bottom:1px solid var(--line);gap:15px}.steps li{display:flex;align-items:center;gap:12px;font-size:13px}.steps b{font-size:25px;color:var(--brand);font-family:Georgia,serif}.searchbox{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:var(--panel);border-radius:14px;padding:0 14px}.searchbox span{font-size:28px}.searchbox input{width:100%;background:transparent;border:0;color:var(--ink);padding:15px 0;min-height:52px;min-width:0}.modes{display:flex;gap:8px;margin:12px 0}.modes button{flex:1;background:var(--panel)}.modes button[aria-pressed=true]{background:var(--brand);color:white;border-color:var(--brand)}.pickup{border:1px solid var(--line);border-radius:14px;background:var(--panel);padding:14px;margin:14px 0}.pickup p{font-size:13px;line-height:1.6;color:var(--muted)}.browsebar{display:flex;align-items:center;gap:15px;justify-content:space-between;margin:20px 0 16px}.picker{display:flex;align-items:center;gap:12px;text-align:left;border-color:var(--brand);background:var(--panel);min-width:250px}.picker span:last-child{margin-left:auto}#current-category{font-weight:400;font-size:12px;color:var(--muted)}#dish-count{color:var(--muted);font-size:13px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.card{border:1px solid var(--line);border-radius:17px;background:var(--panel);overflow:hidden;box-shadow:0 3px 10px #183b2a05;display:flex;flex-direction:column}.card img{width:100%;height:175px;object-fit:cover;background:var(--soft)}.card-body{padding:17px;display:flex;flex-direction:column;flex:1}.card h2{font-size:17px;line-height:1.4;margin:0 0 8px}.card p{font-size:13px;line-height:1.55;color:var(--muted);margin:0 0 14px}.card-foot{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-top:auto}.card-foot strong{white-space:nowrap;font-size:17px}.card-foot button{background:var(--brand);color:#fff;border:0;font-size:13px;padding:10px 13px}.category-chip{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-bottom:8px}footer{padding:32px 0;font-size:12px;line-height:1.7;color:var(--muted)}.muted{color:var(--muted);font-size:13px;line-height:1.6}.floating{position:fixed;z-index:10;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:14px;max-width:620px;width:calc(100% - 32px);padding:14px 18px;background:var(--brand);color:#fff;border:1px solid #ffffff30;box-shadow:0 8px 35px #09291d40;border-radius:18px;text-align:left}.count{background:var(--accent);color:#17372b;min-width:36px;height:36px;display:grid;place-items:center;border-radius:10px}.floating-label{flex:1;min-width:0}.floating strong{font-size:16px}.floating small{display:block;font-size:10px;opacity:.86;margin-top:4px;font-weight:400}.floating>strong{white-space:nowrap}dialog{border:1px solid var(--line);border-radius:20px;background:var(--panel);color:var(--ink);padding:22px;max-width:520px;width:calc(100% - 28px);max-height:calc(100dvh - 40px);overflow-y:auto;box-shadow:var(--shadow)}dialog.wide{max-width:680px}dialog::backdrop{background:#10271cd1;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:flex-start;gap:16px;justify-content:space-between;margin-bottom:12px}.dialog-head h2{font-size:22px;margin:5px 0;line-height:1.35}.close{font-size:24px;padding:0;width:44px;min-width:44px;font-weight:400}.dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;position:sticky;bottom:-22px;background:var(--panel);padding:12px 0}label{display:block;margin:14px 0;font-size:14px;font-weight:600}label input,label textarea{display:block;width:100%;margin-top:7px;border:1px solid var(--line);padding:12px;border-radius:10px;background:var(--bg);color:var(--ink);min-height:46px}fieldset{border:1px solid var(--line);border-radius:12px;margin:16px 0;padding:10px 14px}legend{font-size:14px;font-weight:700}fieldset label{display:flex;align-items:center;gap:10px;font-weight:400}fieldset input{width:20px;height:20px;min-height:20px;margin:0;accent-color:var(--brand)}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;text-decoration:none;text-align:center;min-height:46px;border-radius:12px;padding:12px 16px;font-weight:700}.primary{background:var(--brand);color:#fff;border:1px solid var(--brand)}.secondary{background:var(--soft);color:var(--ink);border:1px solid var(--line)}.picker-options{display:grid;gap:8px}.picker-option{display:flex;align-items:center;text-align:left;justify-content:space-between;gap:15px}.picker-option[aria-pressed=true]{border-color:var(--brand);background:var(--soft)}.check{color:var(--brand);font-size:21px}.total{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:20px;font-size:20px}.tally-line{border-bottom:1px solid var(--line);padding:16px 0}.tally-line h3{font-size:16px;margin:0 0 8px}.tally-line p{margin:5px 0;font-size:13px;line-height:1.5}.line-actions{display:flex;align-items:center;gap:8px;margin-top:12px;flex-wrap:wrap}.line-actions strong{margin-left:auto}.stack-actions{display:grid;gap:10px;margin:20px 0}.error{color:#b42318;font-size:14px;line-height:1.5}.notice{padding:12px;background:var(--soft);border-left:3px solid var(--brand);font-size:14px;line-height:1.6}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:17px;line-height:1.7;user-select:text}#social-links{display:flex;gap:16px;margin:20px 0}.toast{position:fixed;z-index:100;top:16px;left:50%;transform:translateX(-50%);max-width:90%;padding:12px 20px;border-radius:12px;background:var(--ink);color:var(--panel);box-shadow:var(--shadow)}.toast:empty{display:none}.sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:absolute;left:12px;top:-100px;z-index:100;background:var(--panel);padding:12px}.skip:focus{top:12px}[data-theme=night]{--bg:#101b16;--panel:#1c2b23;--ink:#edf3eb;--muted:#bdc9be;--line:#3c4e41;--soft:#273a2d;--shadow:0 8px 36px #0005}[data-theme=night] .steps b,[data-theme=night] .check{color:var(--accent)}[data-theme=night] a{color:var(--accent)}
@media(max-width:800px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.hero h1{font-size:31px}.hero-copy{padding:24px}.identity strong{font-size:19px}}@media(max-width:540px){.shell{padding:0 14px}.topbar{font-size:10px;padding:8px}.brandbar{gap:8px;padding:12px 0;flex-wrap:wrap}.identity{gap:8px}.identity img{width:43px;height:38px}.identity strong{font-size:18px}.header-actions{gap:5px;margin-left:auto}.header-actions select{font-size:12px;padding:5px;max-width:89px}.icon-btn{font-size:11px;padding:7px;min-height:40px}.preview{font-size:10px;margin-bottom:12px}.hero{grid-template-columns:1.05fr 1fr;min-height:173px;border-radius:16px}.hero-copy{padding:16px}.hero h1{font-size:23px;margin:10px 0}.hero .eyebrow{font-size:8px;line-height:1.5;margin:0}.hero p:last-child{font-size:11px;line-height:1.5}.hero>img{max-height:235px;min-height:100%}.steps{gap:8px;padding:12px 0;margin:10px 0 14px}.steps li{display:block;font-size:10px;line-height:1.45}.steps b{display:block;font-size:22px;margin-bottom:3px}.modes button{font-size:12px;padding:10px 7px}.browsebar{gap:8px;margin:16px 0 12px;align-items:flex-start;flex-direction:column}.picker{width:100%;min-width:0;font-size:13px}.browsebar #category-picker{width:100%}#dish-count{font-size:11px}.cards{gap:10px}.card{border-radius:13px}.card img{height:115px}.card-body{padding:11px}.card h2{font-size:14px}.card p{font-size:11px;line-height:1.5}.category-chip{font-size:8px}.card-foot{align-items:stretch;flex-direction:column;gap:9px}.card-foot strong{font-size:16px}.card-foot button{font-size:12px;width:100%;min-height:44px}.floating{width:calc(100% - 20px);padding:12px;gap:10px;bottom:max(10px,env(safe-area-inset-bottom))}.floating strong{font-size:14px}.floating small{font-size:9px}.floating>strong{font-size:16px}dialog{padding:18px;max-height:calc(100dvh - 20px)}.dialog-head h2{font-size:20px}.dialog-foot{bottom:-18px}.steps span{display:block}pre{font-size:16px}.dialog-foot .primary{font-size:13px}.identity{max-width:100%}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
label select{display:block;max-width:100%;width:100%;margin-top:7px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);min-height:46px}#side-choices label{display:flex;align-items:center;gap:10px;font-weight:400}#side-choices input{width:20px;min-height:20px;height:20px;margin:0;accent-color:var(--brand)}#source-links{display:flex;gap:12px;flex-wrap:wrap;padding:16px 0}#source-links a{font-size:13px}#payment-image,#whatsapp-qr{display:block;max-width:100%;width:300px;height:auto;margin:16px auto}#payment-details,#whatsapp-qr-details{margin:20px 0}#source-page{font-size:13px}.dietary{font-size:11px!important;color:var(--brand)!important}#special-menu{margin:16px 0}.card h2{overflow-wrap:anywhere}.hero:has(>img[hidden]){grid-template-columns:1fr}.header-actions{flex-wrap:wrap}.header-actions b{white-space:nowrap}
[data-theme=night] .dietary{color:var(--accent)!important}

/* New display rules apply only to explicitly opted-in profiles. */
.offline-bar{position:relative;background:#173c2c;color:#fff;padding:15px 20px;border-bottom:3px solid #d5bd66;font:13px/1.6 system-ui}.offline-bar strong{letter-spacing:.6px}.offline-bar p{margin:4px 0 10px}.offline-bar label{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.offline-bar select{max-width:650px;background:#fff;color:#163b2c;padding:10px;border-radius:8px;font-size:16px}.offline-bar small{display:block;margin-top:8px;color:#d9e8d9}.quantity-stepper{display:flex;align-items:center;gap:0;width:max-content;max-width:100%;border:1px solid var(--border,#b9c9bd);border-radius:10px;overflow:hidden}.quantity-stepper button{height:52px;width:56px;min-height:52px;border:0;border-radius:0;background:var(--brand,#075b35);color:white;font-size:27px;font-weight:bold}.quantity-stepper input{height:52px;width:70px;min-width:0;text-align:center;font-size:22px;margin:0;border:0;border-radius:0;appearance:textfield;-moz-appearance:textfield}.quantity-stepper input::-webkit-inner-spin-button{appearance:none}.quantity-stepper button:disabled{opacity:.4}[data-option-profile="universal-options-v1"] #dish-options select{width:100%;min-height:48px;font-size:16px;padding:10px}[data-option-profile="universal-options-v1"] #dish-options fieldset[data-component]{border-left:4px solid var(--brand,#075b35)}[data-option-profile="universal-options-v1"] #dish-options input[type=checkbox],[data-option-profile="universal-options-v1"] #dish-options input[type=radio]{min-width:20px;min-height:20px}[data-option-profile="universal-options-v1"] #dish-options legend{overflow-wrap:anywhere}[data-option-profile="universal-options-v1"] #dish-options label{min-height:44px}[data-option-profile="universal-options-v1"] dialog{max-height:90dvh;overflow-y:auto}[data-option-profile="universal-options-v1"] dialog h2,[data-option-profile="universal-options-v1"] .tally-line h3{overflow-wrap:anywhere}[data-option-profile="universal-options-v1"] .line-actions button{min-height:44px}[data-option-profile="universal-options-v1"] button:focus-visible,[data-option-profile="universal-options-v1"] select:focus-visible,[data-option-profile="universal-options-v1"] input:focus-visible{outline:3px solid #b9770e;outline-offset:2px}@media(max-width:500px){.offline-bar{padding:12px}.offline-bar select{width:100%}.offline-bar label{display:block}[data-option-profile="universal-options-v1"] dialog{width:calc(100% - 20px);max-width:calc(100% - 20px);padding:16px}[data-option-profile="universal-options-v1"] #dish-options fieldset{min-width:0;padding:12px}[data-option-profile="universal-options-v1"] .dialog-head h2{font-size:21px}[data-option-profile="universal-options-v1"] .dialog-head{gap:8px}[data-option-profile="universal-options-v1"] .line-actions{flex-wrap:wrap}}

/* Keep the entire in-house staff readback on its light panel in night mode. */
[data-theme=night] #summary-dialog:has(#staff-screen:not([hidden])){
 --panel:#fff;
 --ink:#17372b;
 --muted:#55665d;
 --line:#d9e0d8;
 --soft:#edf3ed;
 color-scheme:light;
}
[data-theme=night] #summary-dialog:has(#staff-screen:not([hidden])) a{
 color:var(--brand);
}
