.simple-page,.simple-nav,.simple-card,.simple-customer,.ticket-actions{--simple-bg:#fff;--simple-ink:#183b31;--simple-muted:#485f57;--simple-line:#b7c9c0;--simple-surface:#f1f5ef;color:var(--simple-ink);font-family:SufraCairo,Arial,sans-serif;font-size:16px;line-height:1.65;box-sizing:border-box}
[data-theme=dark] :is(.simple-page,.simple-nav,.simple-card,.simple-customer,.ticket-actions){--simple-bg:var(--surface);--simple-ink:var(--ink);--simple-muted:var(--muted);--simple-line:var(--line);--simple-surface:var(--surface-2)}
[data-theme=warm] :is(.simple-page,.simple-nav,.simple-card,.simple-customer,.ticket-actions){--simple-bg:#fffaf0;--simple-ink:#3d2e20;--simple-muted:#69503c;--simple-line:#c5b49a;--simple-surface:#f4ead8}
.simple-page{width:100%;max-width:660px;margin:24px auto;padding:20px}.simple-page.wide{max-width:1200px}.simple-page h1{font-size:clamp(24px,5vw,32px)}.simple-page h2,.simple-card h2{font-size:20px}.simple-page h3{font-size:18px}.simple-page :is(input,select,textarea){font:inherit;max-width:100%;box-sizing:border-box;min-height:44px}.simple-page :is(button,.button),.simple-card :is(button,.button){font:inherit;min-height:44px;white-space:normal}.simple-customer :is(button,.button,summary){min-height:48px}.simple-page :is(button,input,select,textarea,a,summary):focus-visible,.simple-card :focus-visible{outline:3px solid var(--accent);outline-offset:3px}.simple-page p{overflow-wrap:anywhere}.simple-page [role=status]{min-height:1.5em}.simple-page [hidden],.simple-card [hidden]{display:none!important}
.simple-card{display:block;border:1px solid var(--simple-line);border-radius:18px;padding:18px;background:var(--simple-bg);margin-block:16px}.simple-card>summary{cursor:pointer;font-weight:700;padding:8px;min-height:44px}.simple-card p{color:var(--simple-muted)}.simple-form{display:grid;gap:16px;background:var(--simple-bg);padding:20px;border:1px solid var(--simple-line);border-radius:18px}.simple-form label{display:block}.simple-form label:has(input[type=checkbox]),.simple-form fieldset label{display:flex;align-items:center;gap:10px;min-height:44px}.simple-form input[type=checkbox],.simple-form input[type=radio]{width:22px;height:22px;min-height:22px;accent-color:#247052}.simple-form fieldset{border:1px solid var(--simple-line);border-radius:12px}.simple-form textarea{width:100%}.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px}.settings-grid a{text-decoration:none}.settings-grid .simple-card{margin:0}.simple-nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:14px;background:var(--simple-bg);border-bottom:1px solid var(--simple-line)}.simple-nav a{display:flex;align-items:center;gap:10px;padding:10px;border-radius:10px;color:var(--simple-ink);text-decoration:none;min-height:44px;font-size:15px}.simple-nav a:hover{background:var(--simple-surface)}.simple-nav svg{flex-shrink:0}.simple-nav .simple-brand{font-size:24px;font-weight:700}.simple-brand span{font-size:13px}.sidebar .simple-nav{display:grid;background:transparent;border:0;color:inherit}.sidebar .simple-nav a{color:inherit}.sidebar .simple-brand{display:block}.sidebar .simple-brand span{display:block}.simple-feedback-footer{text-align:center;padding:20px}.simple-feedback-footer a{display:inline-block;padding:12px}
.branch-portal .brand-identity{margin-block:10px}.portal-actions{display:grid;gap:12px}.portal-actions>.button{width:100%;justify-content:center;font-size:20px}.portal-actions .simple-card{margin:0}.portal-board{display:grid;grid-template-columns:1fr 1fr;gap:12px}.portal-board h3{font-size:18px}.portal-board .board-number{display:inline-block;direction:ltr;border:1px solid var(--simple-line);border-radius:12px;padding:10px;margin:4px;font-size:26px;font-weight:700}.simple-status{color:var(--simple-muted);text-align:center}.branch-portal footer{text-align:center;padding:24px}.branch-portal .customer-discovery{margin:0}.ticket-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;padding:14px}.ticket-actions a{padding:10px;border:1px solid var(--simple-line);border-radius:10px;background:var(--simple-bg)}
#feedback-preview{max-width:100%;max-height:260px;object-fit:contain}.feedback-item{white-space:pre-wrap}.feedback-item img{max-width:100%;max-height:320px;object-fit:contain}.hours-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.hours-row input[type=time]{width:130px}.hours-row label{min-width:85px}.hours-row input[type=checkbox]{width:20px}.pending-section{color:var(--simple-ink)}.pending-section form{display:flex;gap:10px;flex-wrap:wrap;align-items:end}.pending-section input{max-width:180px}.pending-section video{width:320px;max-width:100%}.quick-bill{display:grid;gap:8px}.quick-bill p{margin:0}.quick-pay{display:flex;flex-wrap:wrap;gap:10px;align-items:end}.quick-edit{display:grid;gap:10px}.quick-edit fieldset{border:1px solid var(--simple-line);padding:12px}.simple-page .secondary,.simple-card .secondary{background:var(--simple-bg);color:var(--simple-ink);border:1px solid var(--simple-line)}
.menu-v2-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.menu-v2-tabs{display:flex;gap:8px;overflow-x:auto;padding-block:12px}.menu-v2-tabs button{flex-shrink:0}.menu-v2-tabs [aria-pressed=true]{background:var(--primary);color:white}.menu-v2-list{display:grid;gap:10px}.menu-v2-item{display:grid;grid-template-columns:72px 1fr auto;gap:12px;align-items:center;background:var(--simple-bg);border:1px solid var(--simple-line);border-radius:14px;padding:12px}.menu-v2-item img{width:72px;height:72px;border-radius:10px;object-fit:cover}.menu-v2-item h3,.menu-v2-item p{margin:0}.menu-v2-item p{font-size:14px;color:var(--simple-muted)}.menu-v2-item button{min-width:48px}.menu-v2-options{width:calc(100% - 24px);max-width:560px;max-height:88dvh;overflow:auto;background:var(--simple-bg);color:var(--simple-ink);border:1px solid var(--simple-line);border-radius:22px;padding:20px}.menu-v2-options fieldset{margin-block:14px;border:1px solid var(--simple-line);border-radius:12px;padding:12px}.menu-v2-options label{display:flex;align-items:center;gap:10px;min-height:48px}.menu-v2-options input[type=checkbox],.menu-v2-options input[type=radio]{width:22px;height:22px}.menu-v2-options input[type=number],input[data-numeric],.menu-v2-options input[type=text]{width:100%;font:inherit;min-height:48px}.menu-v2-options::backdrop{background:#061e19aa}.menu-v2-orderbar{position:sticky;bottom:8px;z-index:3;margin-block:12px;width:100%;box-shadow:0 4px 22px #0003}.menu-v2-cart{scroll-margin-block-start:16px}.menu-v2-cart .cart-line{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--simple-line);padding:12px 0}.menu-v2-cart .cart-line span{overflow-wrap:anywhere}.menu-v2-page{padding-bottom:24px}.menu-v2-page .active-orders{margin-block:12px}.menu-v2-page [data-customer-pages] img{max-width:100%;height:auto}.simple-page .muted{color:var(--simple-muted)}
@media(max-width:600px){.simple-page{padding:14px;margin:8px auto}.simple-form{padding:14px}.simple-card{padding:14px}.menu-v2-item{grid-template-columns:64px 1fr auto;gap:8px;padding:10px}.menu-v2-item img{width:64px;height:64px}.simple-nav{overflow:auto;flex-wrap:nowrap}.simple-nav a{flex-shrink:0}.simple-brand{display:none!important}.portal-board{gap:6px}.portal-board .board-number{font-size:22px;padding:8px}.ticket-actions{font-size:14px}}
@media(prefers-reduced-motion:reduce){.simple-page *{scroll-behavior:auto!important;animation:none!important}}

.menu-v2-header{position:sticky;top:0;z-index:4;background:var(--paper,#f7f8f5);padding-block:10px;flex-wrap:wrap;border-bottom:1px solid var(--simple-line)}.menu-v2-header img{object-fit:contain;border-radius:8px}.menu-v2-header a{min-height:44px;display:inline-flex;align-items:center}.simple-page.self-order .self-code{font-size:clamp(36px,12vw,64px)}.simple-page.self-order .self-cart>img{width:150px;height:150px}.simple-page.self-order .button{min-height:48px}.simple-page :is(input,select,textarea){color:var(--simple-ink);background:var(--simple-bg)}.simple-page .menu-v2-options input{accent-color:#24644d}

/* Scope legacy components to an accessible palette when the pilot is enabled. */
html[data-simple="1"] body[data-view]{--muted:#485f57}
html[data-simple="1"][data-theme=warm] body[data-view]{--muted:#69503c}
html[data-simple="1"][data-theme=dark] body[data-view]{--muted:#CDBBBE}
html[data-simple="1"][data-theme] :is(.simple-page,.simple-card) .button.secondary{background:var(--simple-bg);color:var(--simple-ink);border-color:var(--simple-line)}
html[data-simple="1"][data-theme] .menu-v2-tabs button[aria-pressed=true]{background:var(--primary);color:#fff}
html[data-simple="1"][data-theme] .branch-portal :is(.tracking-restaurant p,.restaurant-welcome,#pending-orders-state){color:var(--simple-muted)}
html[data-simple="1"][data-theme] body[data-view] :is(.eyebrow,.eyebrow span,.muted,.customer-entry-toolbar span,.stat-card small,.stat-foot,.breadcrumb span,.order-time,.panel-footer span,.app-footer span,.app-footer b){color:var(--muted)}
html[data-simple="1"][data-theme] body[data-view] :is(.count-pill,.stat-icon,.status.received){background:var(--cream);color:var(--ink)}
html[data-simple="1"][data-theme] body[data-view] :is(.filters button,.search span,.icon-button){color:var(--ink)}
html[data-simple="1"][data-theme] body[data-view] .button.secondary{background:var(--white);color:var(--ink);border-color:var(--line)}

html[data-simple="1"][data-theme] body[data-view] .stat-top>span{color:var(--muted)}
html[data-simple="1"][data-theme] body[data-view] .eta.late{color:#955527}
html[data-simple="1"][data-theme=dark] body[data-view] .eta.late{color:var(--danger)}

/* The supplied 1.12 mockups: a compact identity and three clear entry tiles. */
.portal-brand{display:flex;gap:12px;align-items:center;margin:8px 0 12px}.portal-brand h1{font-size:23px;margin:0}.portal-brand p{margin:0;color:var(--simple-muted)}.portal-brand img{border-radius:14px;object-fit:contain}.portal-mark{width:56px;height:56px;display:grid;place-items:center;background:var(--simple-surface);border-radius:14px;font-size:24px;flex-shrink:0}.portal-table{margin-inline-start:auto;padding:5px 10px;border-radius:20px;background:var(--simple-surface);font-size:14px}.portal-tile{display:flex;align-items:center;gap:12px;text-align:start;padding:16px!important;border-radius:18px}.portal-tile>span:nth-child(2){flex:1}.portal-tile b{display:block;font-size:19px}.portal-tile small{display:block;font-size:14px;line-height:1.5;color:inherit}.portal-tile svg{flex-shrink:0}.portal-track h2,.portal-track p{margin:0 0 8px}.portal-track form{display:flex;flex-wrap:wrap;gap:10px;align-items:end}.portal-track label{flex:1;min-width:140px}.portal-track input{width:100%}.portal-track [role=alert]{width:100%}.portal-actions>.portal-tile{justify-content:flex-start}.branch-portal>.simple-status{text-align:start;font-size:14px}.branch-portal #pending-orders{max-width:none;width:100%;margin:0 0 12px;padding:14px}.branch-portal #pending-orders h2{font-size:17px}.menu-item-quantity{display:flex;flex-direction:column;align-items:center;gap:4px}.menu-item-quantity output{font-size:16px;font-weight:700;min-width:24px;text-align:center}.menu-item-quantity .button{padding:6px;min-width:48px;min-height:48px}.menu-v2-item{align-items:start}.menu-v2-item>img{align-self:center}.menu-v2-options{padding-bottom:max(20px,env(safe-area-inset-bottom))}
@media(max-width:600px){.menu-v2-options{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:90dvh;box-sizing:border-box;border-radius:22px 22px 0 0}.portal-brand h1{font-size:22px}.portal-table{max-width:100px}.portal-tile b{font-size:18px}}
/* Reset the legacy vertical label layout for compact choice controls. */
.simple-form label:has(input[type=radio]),.simple-form label:has(input[type=checkbox]),.menu-v2-options label:has(input[type=radio]),.menu-v2-options label:has(input[type=checkbox]),.hours-row label{display:flex;flex-direction:row;align-items:center;gap:10px;text-align:start}
.menu-v2-options label:has(input[type=radio]),.menu-v2-options label:has(input[type=checkbox]){font-size:16px;font-weight:500}.menu-v2-options label input[type=radio],.menu-v2-options label input[type=checkbox]{flex:0 0 22px;margin:0}
.portal-track form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end}.portal-track form label{min-width:0}.portal-track form [role=alert]{grid-column:1/-1}.portal-track form button{grid-column:2;grid-row:1}.portal-track form input{min-width:0}.menu-v2-options>.primary{width:100%}
/* 1.13.16 */
.settings-back{display:inline-flex;align-items:center;gap:6px;min-height:40px;margin:0 0 6px;color:var(--primary-text,var(--primary));font-weight:700;text-decoration:none}
.settings-back::before{content:"";width:9px;height:9px;border-inline-start:2px solid currentColor;border-block-end:2px solid currentColor;transform:rotate(45deg)}
[dir=rtl] .settings-back::before{transform:rotate(-45deg)}
main>.settings-back{display:flex;width:fit-content}
