:root{font-family:system-ui,sans-serif;color:#20242a;background:#f3f4f6;font-size:16px;--red:#bd2635}*{box-sizing:border-box}body{margin:0}header{background:#18191c;color:white;display:flex;align-items:center;gap:18px;padding:20px 5%;flex-wrap:wrap}.brand{font-size:24px;font-weight:850;letter-spacing:1px;color:white;text-decoration:none}.brand span{color:#ff6a71}#identity{margin-left:auto}nav{background:white;padding:12px 5%;display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid #ddd}main{max-width:1300px;margin:auto;padding:28px 5%}.narrow{max-width:550px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.card{background:white;border:1px solid #e2e2e2;border-radius:14px;padding:20px;box-shadow:0 3px 15px #00000006}h1{font-size:30px;margin-top:0}h2{font-size:21px}h3{margin:0 0 8px}button{background:var(--red);color:white;border:0;border-radius:8px;padding:11px 15px;cursor:pointer;font:inherit}button.secondary{background:#e9e9ec;color:#222}button:disabled{opacity:.45;cursor:wait}input,select,textarea{font:inherit;border:1px solid #c6c9ce;border-radius:7px;padding:10px;width:100%;margin:6px 0 14px;background:white}input[type=checkbox]{width:auto;margin:10px}label{display:block}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.row>*{flex:1}.row button{flex:0 0 auto}.muted{color:#656a72;font-size:14px}.badge{padding:5px 8px;background:#f0e1e3;display:inline-block;border-radius:6px;font-size:13px}.price{font-weight:750;font-size:22px}table{border-collapse:collapse;width:100%;background:white}td,th{text-align:left;padding:11px;border-bottom:1px solid #e2e2e2}th{background:#eeeff2}.scroll{overflow:auto}.toolbar{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}.toolbar button{white-space:nowrap}.two{display:grid;grid-template-columns:2fr 1fr;gap:20px}#notice{position:fixed;bottom:20px;left:5%;right:5%;padding:18px;background:#20242a;color:white;border-radius:8px;z-index:50}.product-image{height:140px;width:100%;object-fit:cover;border-radius:8px;margin-bottom:12px}.cart-item{padding:12px 0;border-bottom:1px solid #eee}dialog{border:0;border-radius:14px;max-width:650px;width:95%;padding:25px}dialog::backdrop{background:#0008}.turns{font-size:32px;font-weight:700}.turns .card{min-height:220px}.turns li{margin:15px}.danger{color:#a41927}.pending-note{padding:12px;background:#fff2d4;border-radius:8px}.hidden{display:none}@media(max-width:760px){.two{grid-template-columns:1fr}main{padding:20px 4%}.toolbar{gap:6px}header{padding:15px 4%}h1{font-size:25px}}
.map{height:320px;min-width:250px;margin:16px 0;border-radius:12px;border:1px solid #d9d9d9;z-index:0}.qr-url{overflow-wrap:anywhere;font-size:.85rem}dialog .map{width:min(640px,70vw)}
[hidden]{display:none!important}dialog .map{width:100%;max-width:100%;min-width:0}input[type=checkbox]{width:auto}
@media(max-width:1000px){.two{grid-template-columns:1fr}}
/* Workspace layout: restaurant identity and accessible desktop/tablet panels. */
:root{--accent:#bd2635;--ink:#252832;--soft:#f5f6f8;--line:#e7e9ee;--sidebar:236px;--header:72px}
body{color:var(--ink);background:var(--soft)}button{font-size:14px;font-weight:650;transition:background .15s,box-shadow .15s}button:hover{filter:brightness(.96)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e89099;outline-offset:3px}input,select,textarea{border-color:#dce0e7;min-height:44px}h1{font-size:28px;letter-spacing:-.6px}h2{letter-spacing:-.3px}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:750;color:#9297a3;margin:0 0 8px}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.page-heading h1{margin:0}.page-description{color:#737a88;margin:-8px 0 24px}.card{border-color:var(--line);box-shadow:0 2px 8px #22222203}.header-caption{font-size:13px;color:#959ba8}.icon-button{background:transparent;color:inherit;min-width:40px;padding:8px;font-size:24px;line-height:1}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.staff-workspace>header{position:fixed;inset:0 0 auto;height:var(--header);padding:0 24px;z-index:20;background:white;color:var(--ink);border-bottom:1px solid var(--line);flex-wrap:nowrap;gap:18px}.staff-workspace .brand{color:#22252c;font-size:19px;letter-spacing:1px;white-space:nowrap}.staff-workspace .brand span{color:var(--accent);font-size:11px}.staff-workspace #identity{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.staff-workspace #logout{background:#f1f2f5;color:#626879}.staff-workspace>nav{position:fixed;top:var(--header);left:0;bottom:0;width:var(--sidebar);padding:18px 12px;background:#20232b;color:#fff;display:flex;flex-direction:column;flex-wrap:nowrap;gap:4px;overflow:auto;z-index:19;border:0;transition:transform .2s}.staff-workspace>main{margin:var(--header) 0 0 var(--sidebar);max-width:none;padding:32px;min-height:calc(100vh - var(--header));transition:margin .2s}.staff-workspace>nav button{display:flex;align-items:center;gap:12px;text-align:left;background:transparent;color:#bfc3cf;padding:11px 14px;border-radius:8px;font-size:13px;min-height:42px}.staff-workspace>nav button:hover{background:#2e323e;color:#fff}.staff-workspace>nav button.nav-active{background:var(--accent);color:white;box-shadow:0 4px 12px #0002}.nav-icon{font-size:19px;width:22px;text-align:center;font-weight:400}.nav-caption{font-size:9px;letter-spacing:1.8px;color:#747c8e;padding:4px 14px;margin:12px 0 6px}.sidebar-business{display:flex;gap:11px;align-items:center;padding:4px 10px 20px;border-bottom:1px solid #343846}.business-avatar{height:38px;width:38px;border-radius:12px;background:#3b2b32;display:grid;place-items:center;color:#ff97a1;font-weight:800}.sidebar-business strong{font-size:13px;display:block}.sidebar-business small{font-size:11px;color:#8a92a4}.sidebar-footer{margin-top:auto;padding:24px 14px 6px;color:#747c8e;font-size:10px}.sidebar-collapsed>nav{transform:translateX(-100%)}.staff-workspace.sidebar-collapsed>main{margin-left:0}
.empty-state{padding:48px 24px;background:white;border:1px dashed #d8dce5;border-radius:14px;text-align:center;width:100%;color:#8a90a0}.empty-state h2,.empty-state h3{color:#4b5260}.status-pill{display:inline-block;padding:4px 9px;border-radius:6px;background:#f1f2f5;color:#83899a;font-size:11px;font-weight:650}.status-pill.is-active{background:#e8f7ef;color:#29815d}
.catalog-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:24px}.section-menu{align-self:start;border:1px solid var(--line);background:#fff;border-radius:12px;padding:16px 10px}.section-menu .eyebrow{padding:0 8px}.section-menu #entity{display:none}.section-menu button{display:block;width:100%;text-align:left;font-size:12px;background:transparent;color:#727986;margin:2px 0;padding:10px}.section-menu button.selected{background:#faeaec;color:var(--accent)}.catalog-heading{display:flex;justify-content:space-between;align-items:center}.catalog-heading h2{margin:0}.catalog-heading .muted{margin:6px 0 16px}.catalog-filters{margin-bottom:18px}.catalog-filters input{max-width:380px;margin-top:0}.category-tabs{display:flex;gap:5px;overflow:auto;padding-bottom:6px}.category-tabs button{white-space:nowrap;padding:8px 12px;background:transparent;font-size:12px;color:#737a88}.category-tabs button.selected{background:var(--ink);color:white}.product-row{display:flex;align-items:center;gap:16px;background:white;padding:15px;border:1px solid var(--line);border-bottom:0}.product-row:first-child{border-radius:12px 12px 0 0}.product-row:last-child{border-bottom:1px solid var(--line);border-radius:0 0 12px 12px}.product-row:only-child{border-radius:12px}.product-thumb{width:60px;height:60px;border-radius:10px;overflow:hidden;background:#f4f1ee;flex:none;display:grid;place-items:center;font-size:25px}.product-thumb img{width:100%;height:100%;object-fit:cover}.product-summary{flex:1;min-width:0}.product-summary strong{font-size:14px}.product-summary p{font-size:11px;color:#959ba8;margin:5px 0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.product-row-price{font-size:14px;font-weight:700;white-space:nowrap}.product-row button{padding:9px 12px;font-size:12px}.related-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px;background:white;border:1px solid var(--line);border-radius:10px;margin-bottom:8px}.related-row strong{font-size:14px}.related-row p{margin:6px 0 0}
dialog.drawer{position:fixed;inset:0 0 0 auto;margin:0;width:560px;max-width:calc(100vw - 24px);height:100dvh;max-height:100dvh;border-radius:0;padding:0;border:0;box-shadow:-8px 0 45px #0002;overflow:auto;transform:translateX(0)}dialog.drawer::backdrop{background:#161e2b55}dialog.drawer .drawer-heading{position:sticky;top:0;background:white;border-bottom:1px solid var(--line);padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;z-index:2}.drawer-heading h2{margin:0;font-size:20px}.drawer-body{padding:24px}.editor-image{width:100%;height:170px;object-fit:cover;border-radius:12px;margin-bottom:20px}.editor-form label{font-size:12px;font-weight:650;color:#7c8290}.editor-form input,.editor-form select,.editor-form textarea{font-size:14px;color:var(--ink);font-weight:400}.form-footer{position:sticky;bottom:0;padding:16px 0 0;background:#fff;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);margin-top:14px}.form-error{padding:12px;background:#fff0f1;color:#b32035;border-radius:8px}.related-tools{display:grid;gap:7px;margin-top:30px;border-top:8px solid var(--soft);padding-top:22px}.related-tools button{text-align:left;background:white!important;border:1px solid var(--line);padding:16px;color:#454c5b}dialog.product-config{padding:0 24px 24px}dialog.product-config .drawer-heading{margin:0 -24px 22px}dialog.product-config form>label{font-size:13px;font-weight:650;color:#5b6270}dialog.product-config form h3{margin:24px 0 12px;font-size:15px}dialog.product-config input[type=checkbox]{accent-color:var(--accent)}dialog.product-config fieldset{border:1px solid var(--line);border-radius:10px;padding:15px;margin-bottom:18px}dialog.product-config legend{font-size:13px;font-weight:750}#notice{z-index:1000;left:auto;right:24px;width:min(440px,calc(100vw - 48px));font-size:14px;box-shadow:0 10px 30px #0002}
@media(min-width:1000px){dialog.drawer[style]{width:calc(560px - var(--depth,0)*16px)}}
@media(max-width:1200px){.catalog-layout{grid-template-columns:165px minmax(0,1fr)}.staff-workspace>main{padding:24px}.header-caption{display:none}.two{grid-template-columns:1fr}.product-summary p{-webkit-line-clamp:1}}
@media(max-width:900px){.staff-workspace>main{margin-left:0;padding:24px 18px}.staff-workspace>header{padding:0 14px;gap:10px}.staff-workspace #identity{font-size:11px}.catalog-layout{grid-template-columns:1fr}.section-menu{padding:10px}.section-menu #entity{display:block;margin:0}.section-menu #entity-nav,.section-menu>.eyebrow{display:none}.product-row{gap:10px;padding:12px}.product-thumb{width:45px;height:45px}.product-row-price{font-size:12px}.staff-workspace .brand{font-size:16px}#logout{font-size:12px}.drawer-body{padding:20px}.grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}}
@media(max-width:480px){.product-summary p{display:none}.product-row button{padding:8px}.product-thumb{display:none}.staff-workspace #identity{max-width:100px}.drawer-heading h2{font-size:18px}}
dialog.product-config label:has(>input[type=checkbox]){display:flex;align-items:center;gap:10px;padding:8px 0;color:#454c5b;font-weight:500}dialog.product-config input[type=checkbox]{min-height:0;height:18px;width:18px;margin:0;flex:none}dialog.product-config form>label:has(>input[type=checkbox]){font-size:14px}dialog.product-config .form-footer{padding-bottom:12px}
body:not(.staff-workspace) .header-caption{display:none}
.confirmation-text{white-space:pre-line;line-height:1.8}
