/* Restaurant Menu – Orders: front end (needs the menu styles of Restaurant Menu). */
/* Take-away order (0.1.14): "+ Add" under the dish (prices and column heads keep their alignment), the bar at
   the bottom, the full-screen order page. Only in order mode (html.rm-ordering). */
.rm-order-start-wrap{margin:.6rem 0 0}
.rm .rm-order-start,.rm-order .rm-order-pdf,.rm-order .rm-order-back,.rm-order .rm-order-clear{appearance:none;display:inline-flex;align-items:center;min-height:44px;margin:0;padding:0 1rem;border:1px solid var(--rm-ink,#1e1e1e);border-radius:3px;background:transparent;color:var(--rm-ink,#1e1e1e);font:inherit;font-size:.9rem;font-weight:600;cursor:pointer}
.rm-adds{display:flex;flex-wrap:wrap;gap:.35rem;margin:.35rem 0 0}
.rm .rm-add{appearance:none;display:inline-flex;align-items:center;min-height:32px;margin:0;padding:0 .7rem;border:1px solid var(--rm-ink,#1e1e1e);border-radius:999px;background:transparent;color:var(--rm-ink,#1e1e1e);font:inherit;font-size:.8rem;font-weight:600;line-height:1.1;cursor:pointer;position:relative;white-space:nowrap}
.rm .rm-add::before{content:"";position:absolute;left:0;right:0;top:50%;height:44px;transform:translateY(-50%)}/* 44px touch target. */
.rm .rm-add.rm-added{background:var(--rm-ink,#1e1e1e);color:#fff}
.rm-orderbar{position:fixed;left:0;right:0;bottom:0;z-index:100001;padding:.4rem .8rem;padding-bottom:calc(.4rem + env(safe-area-inset-bottom,0px));background:var(--rm-bg,#fff);box-shadow:0 -2px 8px rgba(0,0,0,.15)}
.rm-orderbar[hidden]{display:none}
.rm-orderbar-go{appearance:none;display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin:0;border:0;border-radius:3px;background:var(--theme-palette-color-4,#1e1e1e);color:#fff;font:600 .95rem/1.2 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer}
html.rm-has-order body{padding-bottom:70px}
html.rm-has-order .rm-appbar{display:none}/* The order bar takes the bottom edge. */
.rm-order{position:fixed;inset:0;z-index:100002;overflow-y:auto;-webkit-overflow-scrolling:touch;background:var(--rm-bg,#fff);color:var(--theme-text-color,#2b2b2b)}
.rm-order[hidden]{display:none}
html.rm-order-open,html.rm-order-open body{overflow:hidden}
.rm-order-in{box-sizing:border-box;max-width:640px;margin:0 auto;padding:1rem 16px calc(2rem + env(safe-area-inset-bottom,0px))}
.rm-order-in *{box-sizing:border-box}
.rm-order h2{margin:.8rem 0 .3rem;font-size:1.6rem;line-height:1.2;color:var(--theme-headings-color,inherit)}
.rm-order h2:focus{outline:none}
.rm-order-intro,.rm-order-empty{margin:0 0 1rem;font-size:.9rem;opacity:.85}
.rm-order-list{list-style:none;margin:0 0 1rem;padding:0}
.rm-order-line{padding:.7rem 0;border-bottom:1px solid color-mix(in srgb,var(--rm-ink,#1e1e1e) 15%,transparent)}
.rm-order-row{display:flex;align-items:center;justify-content:space-between;gap:.6rem}
.rm-order-row+.rm-order-row{margin-top:.45rem;align-items:flex-start}
.rm-order-name{flex:1 1 auto;min-width:0;font-weight:600;overflow-wrap:anywhere}
.rm-order-var{font-weight:400;opacity:.8}
.rm-order-price{flex:0 0 auto;font-weight:600;white-space:nowrap}
.rm-order-qty{flex:0 0 auto;display:inline-flex;align-items:center;border:1px solid var(--rm-ink,#1e1e1e);border-radius:3px}
.rm-order-qty button{appearance:none;width:44px;height:40px;margin:0;padding:0;border:0;background:transparent;color:inherit;font:600 1.2rem/1 system-ui,sans-serif;cursor:pointer}
.rm-order-qty output{min-width:1.8rem;text-align:center;font-weight:600}
.rm-order-line textarea,.rm-order-f input,.rm-order-f textarea{width:100%;min-height:40px;margin:0;padding:.5rem .6rem;border:1px solid color-mix(in srgb,var(--rm-ink,#1e1e1e) 35%,transparent);border-radius:3px;background:#fff;color:#1e1e1e;font:inherit;font-size:16px}/* 16px: no zoom on iPhone. */
.rm-order-line textarea{flex:1 1 auto;min-width:0;resize:vertical}
.rm-order-f{margin:0 0 .8rem}
.rm-order-f label{display:block;margin:0 0 .25rem;font-size:.85rem;font-weight:600}
.rm-order-f [aria-invalid="true"]{border-color:#b32d2e;box-shadow:0 0 0 1px #b32d2e}
.rm-order-total{display:flex;justify-content:space-between;gap:.6rem;margin:0 0 1.2rem;padding:.6rem 0;font-size:.95rem;border-bottom:1px solid color-mix(in srgb,var(--rm-ink,#1e1e1e) 15%,transparent)}
.rm-order-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0}
.rm-order .rm-order-send{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 1.2rem;border-radius:3px;text-decoration:none !important;font-weight:700}
.rm-order .rm-order-back{border:0;padding:0;min-height:44px}
.rm-order .rm-order-clear{border-color:transparent;padding:0;font-weight:400;text-decoration:underline;opacity:.8}
.rm-order button:focus-visible,.rm-order a:focus-visible,.rm .rm-add:focus-visible,.rm .rm-order-start:focus-visible{outline:2px solid var(--rm-accent,#1e1e1e);outline-offset:2px}
@media print{.rm-adds,.rm-orderbar,.rm-order,.rm-order-start-wrap{display:none !important}}
/* Options (0.1.16): choice under the dish (pasta for a sauce, extras), choices and bin on the order page. */
.rm-order-off .rm-adds{display:none}
.rm-choose{margin:.5rem 0 .2rem;padding:.6rem .7rem;border:1px solid var(--rm-ink,#1e1e1e);border-radius:3px;background:var(--rm-bg,#fff)}
.rm-choose-h{margin:0 0 .3rem;font-weight:700;font-size:.9rem}
.rm-choose fieldset,.rm-order-opts details{margin:0 0 .4rem;padding:0;border:0}
.rm-choose legend{padding:0;margin:0 0 .2rem;font-size:.82rem;font-weight:600;opacity:.85}
.rm-choose-o{display:flex;align-items:center;gap:.5rem;min-height:40px;font-size:.88rem;cursor:pointer}
.rm-choose-o input{flex:0 0 auto;width:20px;height:20px;margin:0}
.rm-choose-n{flex:1 1 auto;min-width:0}
.rm-choose-p{flex:0 0 auto;font-weight:600;white-space:nowrap}
.rm-choose-act{display:flex;flex-wrap:wrap;gap:.5rem;margin:.4rem 0 0}
.rm .rm-choose-ok,.rm .rm-choose-no{appearance:none;min-height:44px;margin:0;padding:0 1rem;border:1px solid var(--rm-ink,#1e1e1e);border-radius:3px;background:var(--rm-ink,#1e1e1e);color:#fff;font:inherit;font-size:.88rem;font-weight:600;cursor:pointer}
.rm .rm-choose-no{background:transparent;color:var(--rm-ink,#1e1e1e)}
.rm .rm-choose-ok:disabled{opacity:.45;cursor:not-allowed}
.rm-order-opts summary{cursor:pointer;min-height:36px;display:flex;align-items:center;gap:.3rem;font-size:.85rem}
.rm-order-opts summary strong{font-weight:600}
.rm-order-del{appearance:none;flex:0 0 auto;width:40px;height:40px;margin:0 -8px 0 0;padding:0;border:0;background:transparent;font-size:1.05rem;cursor:pointer;opacity:.75}
.rm-order-del:hover{opacity:1}
@media print{.rm-choose{display:none !important}}
.rm-order-hint{display:block;margin:.25rem 0 0;font-size:.78rem;opacity:.75}
.rm-order-thumb{flex:0 0 44px;width:44px;height:44px;object-fit:cover;border-radius:4px}
.rm-order-closed{margin:0 0 1rem;padding:.7rem .8rem;border-radius:3px;background:#fcebea;color:#8a1f11;font-weight:700}
.rm-order-later{margin:0 0 1rem;padding:.6rem .8rem;border-radius:3px;background:color-mix(in srgb,var(--rm-ink,#1e1e1e) 7%,transparent);font-weight:600}
.rm-order .rm-off,.rm-order button:disabled{opacity:.45;pointer-events:none;cursor:not-allowed}
/* Table orders (0.2.0): people stepper, one button per guest, review by guest. */
.rm-table-ask{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem}
.rm-table-q{font-weight:600}
.rm-table-tabs{display:flex;flex-wrap:wrap;gap:.4rem;margin:.4rem 0 1rem}
.rm-order .rm-table-tab{appearance:none;min-width:44px;min-height:40px;margin:0;padding:0 .7rem;border:1px solid var(--rm-ink,#1e1e1e);border-radius:3px;background:transparent;color:var(--rm-ink,#1e1e1e);font:inherit;font-size:.85rem;font-weight:600;cursor:pointer}
.rm-order .rm-table-tab[aria-pressed="true"]{background:var(--rm-ink,#1e1e1e);color:#fff}
.rm-order .rm-table-all{margin-left:auto}
.rm-table-review .rm-order-row{margin-bottom:.3rem}
.rm-table-dishes{list-style:none;margin:0;padding:0}
.rm-table-dishes li{display:flex;justify-content:space-between;gap:.6rem;padding:.2rem 0;font-size:.9rem}
.rm-table-dishes .rm-order-name{font-weight:400}
.rm-table-review .rm-order-empty{margin:0;font-style:italic}
.rm-order .rm-table-edit{min-height:40px}
.rm-order .rm-table-new{margin-top:.4rem}
.rm-order .rm-table-course{margin:1.4rem 0 .2rem;padding-bottom:.3rem;border-bottom:2px solid var(--rm-ink,#1e1e1e);font-size:1.05rem;letter-spacing:.04em;text-transform:uppercase;color:var(--theme-headings-color,inherit)}
.rm-table-ctabs{margin-bottom:.2rem}
.rm-table-choice{display:inline-flex;flex-wrap:wrap;border:1px solid var(--rm-ink,#1e1e1e);border-radius:3px;overflow:hidden}
.rm-order .rm-table-opt{appearance:none;min-height:40px;margin:0;padding:0 .8rem;border:0;border-radius:0;background:transparent;color:var(--rm-ink,#1e1e1e);font:inherit;font-size:.85rem;font-weight:600;cursor:pointer}
.rm-order .rm-table-opt[aria-checked="true"]{background:var(--rm-ink,#1e1e1e);color:#fff}
.rm-table-phone{margin-top:.6rem}
.rm-share{display:inline-flex;align-items:center;gap:.45rem;min-height:36px;margin:.2rem 0 0;font-size:.85rem;font-weight:600;cursor:pointer}
.rm-share input{width:20px;height:20px;margin:0}
.rm-table-after{margin-top:.4rem}
.rm-order .rm-table-together{min-height:40px}
.rm-order-ok{margin:0 0 1rem;padding:.7rem .8rem;border-radius:3px;background:#e6f4ea;color:#1e4620;font-weight:700}
.rm-order .rm-order-send[aria-busy="true"]{opacity:.6;pointer-events:none}
.rm-order-start-wrap{display:flex;flex-wrap:wrap;gap:.5rem}
.rm .rm-call,.rm-order .rm-call{appearance:none;display:inline-flex;align-items:center;min-height:44px;margin:0;padding:0 1rem;border:1px solid #b45309;border-radius:3px;background:#fff7ed;color:#7c2d12;font:inherit;font-size:.9rem;font-weight:700;cursor:pointer}
.rm .rm-call.rm-called,.rm-order .rm-call.rm-called{border-color:#15803d;background:#e6f4ea;color:#1e4620;cursor:default}
.rm-table-top{display:flex;align-items:center;justify-content:space-between;gap:.6rem}
.rm-dup p{margin:0 0 .6rem}
.rm-dup .rm-order-actions{margin:0}
.rm [hidden],.rm-order [hidden]{display:none !important}/* Buttons with display:inline-flex would ignore the hidden attribute. */
.rm-order-gone .rm-order-name,.rm-table-dishes .rm-order-gone{text-decoration:line-through;opacity:.6}
.rm-order-gone-note{color:#8a1f11;font-weight:700}
