/* ===== Cardápio com pedido pela mesa (v3) ===== */
.menu-body {
  --m-accent: #e5484d; --m-accent-2: #ff7a59; --m-ink: #22202b; --m-muted: #7a7686; --m-line: #eeebf2; --m-bg: #f6f4f1; --m-card: #fff;
  --m-title: 'Rubik', 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--m-bg) !important; color: var(--m-ink); font-family: var(--font);
}
/* cor de destaque de acordo com o visual do estabelecimento */
.menu-body.theme-boteco, .menu-body.theme-boteco-classico { --m-accent: #2f7d6c; --m-accent-2: #3f9a85; --m-bg: #f4f3ee; }
.menu-body.theme-represa { --m-accent: #1d6fa3; --m-accent-2: #2d8bc6; --m-bg: #f1f5f8; }

.menu-wrap { display: block; min-height: 100vh; padding: 0 0 96px; }
.menu-wrap.no-nav { padding-bottom: 24px; }
.m-page { max-width: 560px; margin: 0 auto; padding: 0 16px 24px; }

/* ---------- topo ---------- */
.m-head { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--m-line); }
.m-head__back, .m-round { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 0;
  background: #f3f1f5; color: var(--m-ink); cursor: pointer; text-decoration: none; }
.m-head__back .icon, .m-round .icon { width: 20px; height: 20px; }
.m-head__logo { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  background: var(--m-accent); color: #fff; font-weight: 800; font-size: 14px; border: 1px solid var(--m-line); }
.m-head__logo.has-img { background: #fff; }
.m-head__logo img { width: 100%; height: 100%; object-fit: contain; }
.m-head__txt { display: grid; min-width: 0; line-height: 1.2; flex: 1; }
.m-head__txt strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-head__txt span { font-size: 12px; color: var(--m-muted); font-weight: 600; }
.m-pill { text-decoration: none; flex: none; padding: 6px 12px; border-radius: 999px; background: var(--m-accent); color: #fff; font-weight: 800; font-size: 13px; white-space: nowrap; }
.m-pill--waiter { background: #22202b; }
.m-pill--view { background: #ebe8ef; color: var(--m-muted); }

/* ---------- banner ---------- */
.m-banner { position: relative; margin: 14px 0 12px; border-radius: 20px; overflow: hidden; min-height: 150px; display: flex; align-items: flex-end;
  background: var(--m-accent); color: #fff; box-shadow: 0 10px 26px rgba(30, 20, 40, .14); }
.m-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .35) 60%, rgba(0, 0, 0, .1) 100%); }
.m-banner__t { position: relative; z-index: 1; padding: 18px; display: grid; gap: 4px; }
.m-banner__t small { font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.m-banner__t b { font-family: var(--m-title); font-weight: 700; font-size: 27px; line-height: 1.05; }
.m-banner__t span { font-size: 13.5px; opacity: .92; max-width: 260px; }

/* ---------- busca e abas ---------- */
.m-search { position: relative; margin: 0 0 12px; }
.m-search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--m-muted); pointer-events: none; }
.m-search input { width: 100%; height: 46px; padding: 0 14px 0 42px; border-radius: 14px; border: 1px solid var(--m-line); background: #fff;
  font: inherit; font-size: 15px; color: var(--m-ink); }
.m-search input:focus { outline: 2px solid var(--m-accent); outline-offset: 0; }
.m-chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 6px; padding: 2px 16px 8px; scrollbar-width: none; }
.m-chips::-webkit-scrollbar { display: none; }
.m-chip { flex: none; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--m-line); background: #fff; color: var(--m-ink);
  font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }
.m-chip.is-on { background: var(--m-accent); border-color: var(--m-accent); color: #fff; }

/* ---------- categorias (faixas horizontais) ---------- */
.m-cats { position: relative; display: grid; gap: 14px; padding: 8px 0 8px 0; }
.m-cats::before { content: ""; position: absolute; left: -16px; top: 0; bottom: 0; width: 34%; border-radius: 0 26px 26px 0;
  background: linear-gradient(180deg, var(--m-accent), var(--m-accent-2)); opacity: .95; }
.m-cat { position: relative; display: flex; align-items: center; gap: 16px; min-height: 92px; margin-left: 30px; padding: 12px 52px 12px 62px;
  border: 0; border-radius: 20px; background: var(--m-card); color: var(--m-ink); text-align: left; font: inherit; cursor: pointer;
  box-shadow: 0 6px 18px rgba(30, 20, 40, .08); }
.m-cat:active { transform: scale(.99); }
.m-cat__img { position: absolute; left: -30px; top: 50%; transform: translateY(-50%); width: 80px; height: 80px; border-radius: 50%; overflow: hidden;
  background: #fff; border: 4px solid #fff; box-shadow: 0 8px 18px rgba(0, 0, 0, .18); display: grid; place-items: center;
  color: var(--m-accent); font-family: var(--m-title); font-weight: 700; font-size: 26px; }
.m-cat__img img { width: 100%; height: 100%; object-fit: cover; }
.m-cat__t { display: grid; gap: 2px; min-width: 0; }
.m-cat__t b { font-family: var(--m-title); font-weight: 700; font-size: 19px; line-height: 1.15; overflow-wrap: anywhere; }
.m-cat__t small { color: var(--m-muted); font-size: 13px; }
.m-cat__go { position: absolute; right: -10px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--m-accent); box-shadow: 0 4px 12px rgba(0, 0, 0, .14); }
.m-cat__go .icon { width: 18px; height: 18px; }
@media (max-width: 360px) { .m-cat { padding-right: 40px; } .m-cat__t b { font-size: 17px; } }

/* ---------- itens (cards com foto) ---------- */
.m-ctitle { display: flex; align-items: center; gap: 10px; margin: 14px 0 4px; }
.m-ctitle h1 { margin: 0; font-family: var(--m-title); font-size: 25px; font-weight: 700; line-height: 1.1; }
.m-cdesc { margin: 0 0 10px; color: var(--m-muted); font-size: 13.5px; }
.m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.m-card { position: relative; display: flex; flex-direction: column; border: 0; padding: 0; border-radius: 18px; overflow: hidden; background: var(--m-card);
  text-align: left; font: inherit; color: var(--m-ink); cursor: pointer; box-shadow: 0 4px 14px rgba(30, 20, 40, .07); }
.m-card.is-in { box-shadow: 0 0 0 2px var(--m-accent), 0 4px 14px rgba(30, 20, 40, .07); }
.m-card__img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; display: block; background: #eee; }
.m-card__ph { aspect-ratio: 4 / 3; display: grid; place-items: center; background: linear-gradient(135deg, var(--m-accent), var(--m-accent-2));
  color: #fff; font-family: var(--m-title); font-weight: 700; font-size: 30px; }
.m-card__b { display: grid; gap: 3px; padding: 10px 12px 12px; flex: 1; align-content: start; }
.m-card__b b { font-size: 14.5px; line-height: 1.25; overflow-wrap: anywhere; }
.m-card__b small { color: var(--m-muted); font-size: 12px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-card__p { margin-top: 4px; font-weight: 800; font-size: 15px; padding-right: 40px; }
.m-card__p.is-none { color: var(--m-muted); font-weight: 600; font-size: 12.5px; }
.m-card__add { position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: var(--m-accent); color: #fff; font-weight: 800; font-size: 18px; }
.m-card__add.has-n { font-size: 14px; }

/* ---------- página do item ---------- */
.m-item { min-height: 100vh; background: #fff; padding-bottom: 110px; }
.m-item__hero { position: relative; height: 270px; background: linear-gradient(135deg, var(--m-accent), var(--m-accent-2)); }
.m-item__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-item__hero .m-round { position: absolute; top: 14px; left: 14px; background: rgba(255, 255, 255, .95); box-shadow: 0 2px 10px rgba(0, 0, 0, .2); }
.m-item__body { position: relative; max-width: 560px; margin: -24px auto 0; padding: 22px 18px 10px; background: #fff; border-radius: 24px 24px 0 0; }
.m-item__body h1 { margin: 0 0 6px; font-family: var(--m-title); font-size: 25px; font-weight: 700; line-height: 1.15; }
.m-item__price { font-size: 21px; font-weight: 800; color: var(--m-accent); margin: 0 0 10px; }
.m-item__price.is-none { font-size: 15px; color: var(--m-muted); }
.m-item__desc { margin: 0 0 14px; color: var(--m-muted); font-size: 14.5px; line-height: 1.5; }
.m-foot-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 10px; align-items: center;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--m-line); }
.m-foot-bar > * { max-width: 560px; }
.m-foot-bar--view { justify-content: center; text-align: center; color: var(--m-muted); font-size: 13.5px; }

/* grupos de opções */
.m-grp { margin: 14px 0; padding: 0; border: 0; }
.m-grp legend { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; margin-bottom: 6px;
  border-radius: 12px; background: var(--m-bg); }
.m-grp legend b { font-size: 15px; }
.m-grp__rule { font-size: 12px; font-weight: 800; color: #9a3412; background: #fff1e6; padding: 3px 9px; border-radius: 999px; }
.m-grp__rule.is-ok { color: #047857; background: #e7f8f0; }
.m-ch { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 8px; border: 0; border-bottom: 1px solid var(--m-line); background: none;
  font: inherit; color: var(--m-ink); text-align: left; cursor: pointer; }
.m-ch:disabled { opacity: .4; cursor: not-allowed; }
.m-ch__mk { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid #cfc8da; }
.m-ch__mk.is-box { border-radius: 7px; }
.m-ch.is-on .m-ch__mk { border-color: var(--m-accent); background: var(--m-accent); box-shadow: inset 0 0 0 3px #fff; }
.m-ch.is-on .m-ch__mk.is-box { box-shadow: none; background: var(--m-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat; }
.m-ch__t { flex: 1; display: grid; }
.m-ch__t b { font-weight: 600; font-size: 15px; }
.m-ch__t small { color: var(--m-muted); font-size: 12.5px; }
.m-ch em { font-style: normal; font-weight: 800; font-size: 14px; }

/* ---------- formulários e botões ---------- */
.m-lab { display: grid; gap: 6px; margin: 14px 0 6px; font-weight: 700; font-size: 14px; }
.m-lab span { color: var(--m-muted); font-weight: 500; }
.m-input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--m-line); background: #fff; font: inherit; font-size: 15px; color: var(--m-ink); resize: vertical; }
.m-input:focus { outline: 2px solid var(--m-accent); outline-offset: 0; }
.m-qty { display: flex; align-items: center; gap: 6px; flex: none; }
.m-qty__b { width: 40px; height: 40px; border-radius: 12px; border: 1.5px solid var(--m-line); background: #fff; color: var(--m-ink);
  font-size: 22px; font-weight: 700; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.m-qty__b--add { background: var(--m-accent); border-color: var(--m-accent); color: #fff; }
.m-qty__n { min-width: 22px; text-align: center; font-weight: 800; font-size: 16px; }
.m-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 12px 18px; border: 0; border-radius: 16px;
  background: var(--m-accent); color: #fff; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; text-decoration: none; }
.m-cta:disabled { background: #d9d5e0; color: #7a7686; cursor: not-allowed; }
.m-cta--ghost { background: #fff; color: var(--m-ink); border: 1.5px solid var(--m-line); margin-top: 10px; }
.m-foot-bar .m-cta { flex: 1; }

/* ---------- barra inferior ---------- */
.m-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--m-line); box-shadow: 0 -6px 20px rgba(30, 20, 40, .06); }
.m-nav__b { position: relative; display: grid; justify-items: center; gap: 2px; padding: 6px 4px; border: 0; background: none; font: inherit;
  color: var(--m-muted); font-size: 12px; font-weight: 700; cursor: pointer; }
.m-nav__b .icon { width: 23px; height: 23px; }
.m-nav__b.is-on { color: var(--m-accent); }
.m-nav__n { position: absolute; top: 0; left: calc(50% + 6px); min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--m-accent); color: #fff; font-size: 11.5px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.m-nav__b--cart.has-items { color: #fff; }
.m-nav__b--cart.has-items::before { content: ""; position: absolute; inset: 2px 6px; border-radius: 14px; background: var(--m-accent); z-index: -1; }
.m-nav__b--cart.has-items .m-nav__n { background: #fff; color: var(--m-accent); border-color: var(--m-accent); }
.m-nav { isolation: isolate; }

/* ---------- carrinho e comanda ---------- */
.m-h2 { margin: 18px 0 12px; font-family: var(--m-title); font-size: 24px; font-weight: 700; }
.m-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.m-line { padding: 14px; background: #fff; border-radius: 16px; box-shadow: 0 3px 12px rgba(30, 20, 40, .06); display: grid; gap: 10px; }
.m-line__top { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.m-line__top > div:first-child { display: grid; min-width: 0; }
.m-line__top strong { font-size: 15px; }
.m-line__top span { font-size: 13px; color: var(--m-muted); }
.m-line__det { color: var(--m-accent) !important; font-weight: 700; }
.m-sum { display: flex; justify-content: space-between; align-items: center; margin: 16px 0 12px; padding: 16px; background: #fff; border-radius: 16px; font-weight: 700; }
.m-sum strong { font-size: 21px; color: var(--m-accent); }
.m-hint { margin: 10px 0; color: var(--m-muted); font-size: 13px; text-align: center; }
.m-err { margin: 8px 0; padding: 12px 14px; border-radius: 12px; background: #fdecec; color: #b42318; font-weight: 600; font-size: 14px; }
.m-order { margin-bottom: 10px; padding: 14px; background: #fff; border-radius: 16px; box-shadow: 0 3px 12px rgba(30, 20, 40, .06); }
.m-order.is-off { opacity: .55; }
.m-order__h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.m-order__h span { color: var(--m-muted); font-size: 13px; }
.m-order ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; }
.m-order small { color: var(--m-muted); }
.m-order__t { margin-left: auto; font-weight: 800; }
.m-tag { font-style: normal; font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: #e7f8f0; color: #047857; }
.m-tag--off { background: #f1f1f1; color: #666; }
.m-empty { text-align: center; color: var(--m-muted); padding: 30px 10px; }

/* ---------- telas de aviso (pedido enviado, mesa fechada, código) ---------- */
.m-center { max-width: 420px; margin: 0 auto; padding: 40px 22px 30px; text-align: center; }
.m-center h1, .m-center h2 { margin: 12px 0 8px; font-family: var(--m-title); font-size: 25px; font-weight: 700; }
.m-center p { color: var(--m-muted); margin: 0 0 18px; line-height: 1.5; }
.m-big-ic { width: 84px; height: 84px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: #e7f8f0; color: #047857;
  font-size: 40px; font-weight: 800; }
.m-big-ic .icon { width: 38px; height: 38px; }
.m-big-ic--lock { background: #fff1e6; color: #c2410c; }
.m-big-ic--off { background: #fdecec; color: #b42318; }
.m-code { width: 220px; max-width: 100%; height: 66px; margin: 0 auto 10px; display: block; text-align: center; letter-spacing: .5em; padding-left: .5em;
  font: inherit; font-size: 32px; font-weight: 800; border-radius: 16px; border: 2px solid var(--m-line); background: #fff; color: var(--m-ink); }
.m-code:focus { outline: none; border-color: var(--m-accent); }
.m-link { display: inline-block; margin-top: 14px; border: 0; background: none; color: var(--m-accent); font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; text-decoration: underline; }
.m-note-bar { display: flex; gap: 10px; align-items: center; margin: 10px 0 4px; padding: 12px 14px; border-radius: 14px; background: #fff7ed; color: #9a3412;
  font-size: 13.5px; font-weight: 600; border: 0; width: 100%; text-align: left; font-family: inherit; cursor: pointer; }
.m-note-bar .icon { width: 20px; height: 20px; flex: none; }

.m-loading { display: grid; place-items: center; gap: 12px; padding: 80px 20px; color: var(--m-muted); }
.m-spinner { width: 34px; height: 34px; border-radius: 50%; border: 4px solid #e4e0ea; border-top-color: var(--m-accent); animation: m-spin .8s linear infinite; }
@keyframes m-spin { to { transform: rotate(360deg); } }
.m-toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 60; padding: 12px 18px; border-radius: 14px;
  background: #22202b; color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: opacity .3s ease; white-space: nowrap; }
.m-toast.is-out { opacity: 0; }
.m-foot { text-align: center; color: var(--m-muted); font-size: 12px; margin: 26px 0 0; }

/* ---------- modo garçom ---------- */
.w-wrap { max-width: 560px; margin: 0 auto; padding: 0 16px 30px; }
.w-card { margin: 14px 0; padding: 18px; background: #fff; border-radius: 20px; box-shadow: 0 4px 16px rgba(30, 20, 40, .07); }
.w-status { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.w-dot { width: 12px; height: 12px; border-radius: 50%; background: #c9c4d1; flex: none; }
.w-dot.is-open { background: #16a34a; box-shadow: 0 0 0 4px #dcfce7; }
.w-code { margin: 14px 0 4px; text-align: center; }
.w-code small { display: block; color: var(--m-muted); font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.w-code b { display: block; font-size: 52px; font-weight: 800; letter-spacing: .18em; padding-left: .18em; color: var(--m-ink); font-variant-numeric: tabular-nums; }
.w-meta { color: var(--m-muted); font-size: 13.5px; text-align: center; margin: 0 0 12px; }
.w-actions { display: grid; gap: 10px; }
.w-cta-close { background: #22202b; }
.w-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 10px; }
.w-t { display: grid; place-items: center; gap: 2px; aspect-ratio: 1; border-radius: 16px; border: 0; background: #fff; color: var(--m-ink);
  font: inherit; cursor: pointer; text-decoration: none; box-shadow: 0 3px 10px rgba(30, 20, 40, .07); padding: 6px; }
.w-t b { font-size: 24px; font-weight: 800; line-height: 1; }
.w-t small { font-size: 11px; font-weight: 700; color: var(--m-muted); }
.w-t.is-open { background: #16a34a; color: #fff; }
.w-t.is-open small { color: #dcfce7; }
.w-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 0 6px; }
.w-top h1 { margin: 0; font-family: var(--m-title); font-size: 24px; }
.w-who { font-size: 13px; color: var(--m-muted); font-weight: 600; }

/* ---------- comandas (cliente) ---------- */
button.m-pill { border: 0; font: inherit; font-weight: 800; font-size: 13px; cursor: pointer; }
button.m-pill:disabled { cursor: default; }
.m-cmds { display: grid; gap: 10px; margin: 10px 0 6px; }
.m-cmd { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 50px 14px 14px; border: 2px solid transparent; border-radius: 18px; background: #fff;
  font: inherit; color: var(--m-ink); text-align: left; cursor: pointer; box-shadow: 0 4px 14px rgba(30, 20, 40, .07); }
.m-cmd.is-on { border-color: var(--m-accent); }
.m-cmd__n { width: 52px; height: 52px; flex: none; border-radius: 16px; display: grid; place-items: center; background: var(--m-accent); color: #fff;
  font-family: var(--m-title); font-weight: 700; font-size: 21px; }
.m-cmd__t { display: grid; gap: 2px; }
.m-cmd__t b { font-size: 16px; }
.m-cmd__t small { color: var(--m-muted); font-size: 13px; }
.m-cmd .m-cat__go { right: 10px; }
.m-newcmd { margin-top: 8px; padding: 14px; border-radius: 18px; background: #fff; border: 1.5px dashed var(--m-line); }
.m-newcmd .m-cta--ghost { margin-top: 10px; }
.m-cgroup { margin: 0 0 14px; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .6); border: 1px solid var(--m-line); }
.m-cgroup.is-mine { border-color: var(--m-accent); background: #fff; }
.m-cgroup__h { display: flex; align-items: center; gap: 8px; margin: 0 2px 10px; }
.m-cgroup__h strong { margin-left: auto; color: var(--m-accent); }
.m-cgroup .m-order { box-shadow: none; border: 1px solid var(--m-line); }
.m-line.is-blocked { opacity: .7; outline: 2px solid #fecaca; }
.m-note-bar--k { cursor: default; }
.m-toast--err { background: #b42318; }

/* ---------- modo equipe ---------- */
.w-kitchen { width: 100%; display: flex; align-items: center; gap: 10px; margin: 14px 0 0; padding: 14px 16px; border-radius: 16px; border: 0; font: inherit; cursor: pointer;
  background: #ecfdf5; color: #065f46; text-align: left; }
.w-kitchen b { font-size: 15.5px; }
.w-kitchen span:last-child { margin-left: auto; padding: 8px 12px; border-radius: 999px; background: #fff; font-weight: 800; font-size: 13px; color: #b42318; }
.w-kitchen.is-closed { background: #fef2f2; color: #991b1b; }
.w-kitchen.is-closed span:last-child { color: #047857; }
.w-people { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--m-muted); }
.w-people .icon { width: 16px; height: 16px; }
.w-people-pick { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0 4px; font-weight: 800; }
.w-people-pick--sm { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--m-line); font-size: 14px; }
.w-top--in { margin-top: 0; }
.w-top h2 { margin: 0; font-family: var(--m-title); font-size: 20px; }
.w-cmds { list-style: none; margin: 8px 0 10px; padding: 0; display: grid; gap: 8px; }
.w-cmd { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; background: var(--m-bg); }
.w-cmd__n { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--m-accent); color: #fff; font-weight: 800; font-size: 18px; }
.w-cmd.mesa .w-cmd__n { background: #22202b; }
.w-cmd__t { flex: 1; display: grid; }
.w-cmd__t small { color: var(--m-muted); }
.w-cmd .icon-btn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--m-line); background: #fff; display: grid; place-items: center; cursor: pointer; color: #b42318; }
.w-cmd .icon-btn .icon { width: 16px; height: 16px; }
.w-newcmd { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.w-newcmd .m-cta { width: auto; min-height: 46px; padding: 8px 14px; font-size: 14px; }
.w-cancel { margin-top: 8px; color: #b42318; font-size: 13px; }
.w-danger { display: grid; gap: 10px; }
.w-danger .m-cta--ghost { margin-top: 0; }
.w-t__x { font-size: 10px !important; opacity: .9; }

/* pedido rápido */
.wo-top { position: sticky; top: 61px; z-index: 15; background: var(--m-bg); padding: 10px 16px 2px; max-width: 560px; margin: 0 auto; }
.wo-cmds { margin: 0 -16px 8px; }
.wo-cmds .m-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; }
.wo-cmds .m-chip .icon { width: 15px; height: 15px; }
.m-chip--add { border-style: dashed; color: var(--m-accent); }
.wo-search { margin-bottom: 8px; }
.wo-search input { height: 52px; font-size: 17px; border-width: 2px; }
.wo-cats { margin-bottom: 0; }
.wo-cats .m-chip { padding: 7px 12px; font-size: 13px; }
.wo-k { max-width: 528px; margin: 8px auto 0; }
.wo-list { list-style: none; max-width: 560px; margin: 0 auto; padding: 6px 16px 120px; display: grid; gap: 6px; }
.wo-row__b { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border: 0; border-radius: 14px; background: #fff;
  font: inherit; color: var(--m-ink); text-align: left; cursor: pointer; box-shadow: 0 2px 8px rgba(30, 20, 40, .06); }
.wo-row__b:active { transform: scale(.99); background: #f7f7f7; }
.wo-row.is-in .wo-row__b { box-shadow: 0 0 0 2px var(--m-accent); }
.wo-row.is-off .wo-row__b { opacity: .5; cursor: not-allowed; }
.wo-row__t { flex: 1; display: grid; min-width: 0; }
.wo-row__t b { font-size: 15px; }
.wo-row__t small { color: var(--m-muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wo-row__p { font-weight: 800; font-size: 14px; white-space: nowrap; }
.wo-row__add { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--m-accent); color: #fff; font-weight: 800; font-size: 20px; }
.wo-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--m-line); }
.wo-bar .m-cta { max-width: 560px; margin: 0 auto; justify-content: space-between; }
.wo-bar__n { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: rgba(255, 255, 255, .25); display: grid; place-items: center; }
.wo-sheet .m-sheet__body h2 { margin-bottom: 10px; }
.wo-grp { margin: 0 0 14px; }
.wo-grp > b { margin-right: 8px; }
.wo-chs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.wo-ch { padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--m-line); background: #fff; font: inherit; font-weight: 700; font-size: 14px; color: var(--m-ink); cursor: pointer; }
.wo-ch.is-on { background: var(--m-accent); border-color: var(--m-accent); color: #fff; }
.wo-ch small { font-weight: 600; opacity: .8; }

/* janela de baixo (usada no pedido rápido) */
.m-lock { overflow: hidden; }
.m-sheet { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.m-sheet__bg { position: absolute; inset: 0; background: rgba(15, 10, 30, .55); }
.m-sheet__box { position: relative; width: 100%; max-width: 560px; max-height: 92vh; display: flex; flex-direction: column; background: #fff;
  border-radius: 24px 24px 0 0; overflow: hidden; animation: m-up .18s ease; }
@keyframes m-up { from { transform: translateY(30px); opacity: .6; } }
@media (min-width: 600px) { .m-sheet { align-items: center; } .m-sheet__box { border-radius: 24px; } }
.m-sheet__x { position: absolute; z-index: 2; top: 10px; right: 10px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f3f1f5;
  display: grid; place-items: center; cursor: pointer; }
.m-sheet__x .icon { width: 18px; height: 18px; }
.m-sheet__body { overflow-y: auto; padding: 18px 16px 8px; }
.m-sheet__body h2 { margin: 0 44px 4px 0; font-family: var(--m-title); font-size: 21px; font-weight: 700; }
.m-sheet__foot { display: flex; gap: 10px; align-items: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--m-line); }
.m-sheet__foot .m-cta { flex: 1; }
.m-sheet .m-lines { margin: 8px 0 10px; }
.m-sheet .m-line { box-shadow: none; border: 1px solid var(--m-line); }

/* =====================================================================
   Garçom — tela única (mesas + lançar pedido)
   ===================================================================== */
.g-body { --g-open: #16a34a; --g-open-2: #dcfce7; --g-ink: #1f1d26; --g-line: #e9e6ee; --g-soft: #f4f3f7; background: #f2f1ee !important; }
.menu-wrap.g-root { padding: 0; min-height: 100dvh; }
.g-app { display: grid; grid-template-columns: 88px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); grid-template-areas: "nav top" "nav main"; min-height: 100dvh; }
.g-app.is-order { height: 100dvh; }
.g-top { grid-area: top; position: sticky; top: 0; z-index: 15; display: flex; align-items: center; gap: 12px; padding: 10px 16px;
  background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--g-line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.g-top__who { flex: 1; display: grid; min-width: 0; line-height: 1.2; }
.g-top__who b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-top__who small { font-size: 12.5px; color: var(--m-muted); font-weight: 600; }
.g-kit { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--g-line); background: #fff; font: inherit; font-size: 13px; font-weight: 800; color: var(--g-ink); cursor: pointer; white-space: nowrap; }
.g-kit i { width: 9px; height: 9px; border-radius: 50%; background: var(--g-open); }
.g-kit.is-closed { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.g-kit.is-closed i { background: #dc2626; }
.g-kits { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.g-kits:empty { display: none; }
.g-nav { grid-area: nav; position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; gap: 6px; padding: 12px 8px; background: #1f1d26; }
.g-nav__b { display: grid; justify-items: center; gap: 4px; padding: 12px 4px; border: 0; border-radius: 16px; background: transparent; color: #b9b4c6; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.g-nav__b .icon { width: 26px; height: 26px; }
.g-nav__b:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.g-nav__b.is-on { background: #fff; color: var(--g-ink); }
.g-nav__b[data-nav="sair"] { margin-top: auto; }
.g-main { grid-area: main; min-width: 0; min-height: 0; }

/* ----- mesas ----- */
.g-mesas { max-width: 1100px; margin: 0 auto; padding: 18px 16px 28px; }
.g-mesas__h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.g-mesas__h h1 { margin: 0; font-family: var(--m-title); font-size: 28px; }
.g-count { font-size: 14px; font-weight: 700; color: var(--m-muted); }
.g-filter { display: flex; gap: 6px; margin: 12px 0 8px; }
.g-fchip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--g-line); background: #fff; font: inherit; font-size: 14px; font-weight: 700; color: var(--g-ink); cursor: pointer; }
.g-fchip.is-on { background: var(--g-ink); border-color: var(--g-ink); color: #fff; }
.g-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 14px; font-size: 12.5px; color: var(--m-muted); font-weight: 600; }
.g-legend .g-lg:not(:first-child) { margin-left: 10px; }
.g-lg { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: #c9c4d1; vertical-align: middle; }
.g-lg.is-open { background: var(--g-open); }
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 12px; }
.g-t { position: relative; display: grid; place-content: center; justify-items: center; gap: 4px; aspect-ratio: 1; border-radius: 20px; border: 2px solid var(--g-line);
  background: #fff; color: var(--g-ink); font: inherit; cursor: pointer; transition: transform .1s ease, box-shadow .15s ease; -webkit-tap-highlight-color: transparent; }
.g-t b { font-size: 30px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.g-t small { font-size: 12px; font-weight: 700; color: var(--m-muted); }
.g-t:active { transform: scale(.96); }
.g-t.is-open { background: var(--g-open); border-color: var(--g-open); color: #fff; box-shadow: 0 8px 18px rgba(22, 163, 74, .28); }
.g-t.is-open small { color: var(--g-open-2); }
.g-flash { animation: g-flash 1.2s ease-out; }
@keyframes g-flash { 0% { transform: scale(1.12); box-shadow: 0 0 0 10px rgba(22, 163, 74, .35); } 100% { transform: scale(1); } }

/* ----- janelinha da mesa ----- */
.g-tsheet { text-align: center; padding: 26px 20px 22px; }
.g-tsheet h2 { margin: 6px 0 2px; font-family: var(--m-title); font-size: 24px; }
.g-tsheet__n { width: 76px; height: 76px; margin: 0 auto; border-radius: 22px; display: grid; place-items: center; background: var(--g-soft); border: 2px solid var(--g-line); font-size: 32px; font-weight: 800; }
.g-tsheet__s { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 16px; font-weight: 700; color: var(--m-muted); }
.g-cta-open { width: 100%; min-height: 58px; font-size: 18px; background: var(--g-open); }
.g-hint { margin: 10px 0 0; font-size: 13px; color: var(--m-muted); }
.g-pick h2 { font-size: 20px; margin: 4px 0 14px; }
.g-grid--sm { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); }
.g-grid--sm .g-t b { font-size: 24px; }

/* ----- lançar pedido ----- */
.g-order { height: 100%; display: flex; flex-direction: column; min-height: 0; }
.g-ohead { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--g-line); }
.g-back { width: 44px; height: 44px; flex: none; border-radius: 14px; border: 1px solid var(--g-line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--g-ink); }
.g-back .icon { width: 20px; height: 20px; }
.g-ohead__t { flex: 1; display: grid; min-width: 0; line-height: 1.2; }
.g-ohead__t b { display: flex; align-items: center; gap: 7px; font-family: var(--m-title); font-size: 22px; }
.g-ohead__t small { font-size: 12.5px; color: var(--m-muted); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-obtn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--g-line); background: #fff; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--g-ink); cursor: pointer; white-space: nowrap; }
.g-obtn .icon { width: 18px; height: 18px; }
.g-obtn--close { color: #b42318; }
.g-sm-t { display: none; }
.g-knote { margin: 8px 14px 0; }
.g-split { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .9fr); gap: 12px; padding: 12px; }
.g-left, .g-right { min-height: 0; display: flex; flex-direction: column; background: #fff; border-radius: 18px; border: 1px solid var(--g-line); overflow: hidden; }
.g-search { position: relative; display: flex; align-items: center; gap: 8px; margin: 12px 12px 8px; padding: 0 12px; height: 52px; border-radius: 14px; border: 2px solid var(--g-line); background: var(--g-soft); }
.g-search:focus-within { border-color: var(--m-accent); background: #fff; }
.g-search > .icon { width: 20px; height: 20px; color: var(--m-muted); flex: none; }
.g-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: inherit; font-size: 17px; color: var(--g-ink); outline: none; }
.g-search input::-webkit-search-cancel-button { display: none; }
.g-search__x { width: 32px; height: 32px; flex: none; border: 0; border-radius: 50%; background: #e7e4ec; display: grid; place-items: center; cursor: pointer; }
.g-search__x .icon { width: 15px; height: 15px; }
.g-cats { display: flex; gap: 6px; overflow-x: auto; padding: 0 12px 8px; scrollbar-width: none; flex: none; }
.g-cats::-webkit-scrollbar { display: none; }
.g-cat { flex: none; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--g-line); background: #fff; font: inherit; font-size: 13px; font-weight: 700; color: var(--g-ink); cursor: pointer; white-space: nowrap; }
.g-cat.is-on { background: var(--g-ink); border-color: var(--g-ink); color: #fff; }
.g-res { list-style: none; margin: 0; padding: 0 6px 8px; overflow-y: auto; flex: 1; min-height: 0; border-top: 1px solid var(--g-line); }
.g-res .m-empty { padding: 20px 10px; }
.g-it { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 8px 8px 10px; border: 0; border-bottom: 1px solid var(--g-soft); background: transparent; font: inherit; text-align: left; color: var(--g-ink); cursor: pointer; border-radius: 10px; }
.g-it:hover { background: var(--g-soft); }
.g-it:active { background: #ebe8f0; }
.g-it__n { flex: 1; min-width: 0; font-size: 15.5px; font-weight: 700; line-height: 1.25; }
.g-it__n small { display: block; font-size: 12px; font-weight: 600; color: var(--m-muted); }
.g-it__p { font-size: 14px; font-weight: 700; color: var(--m-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.g-it__a { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--m-accent); color: #fff; font-weight: 800; font-size: 18px; }
.g-it.is-in .g-it__a { background: var(--g-ink); font-size: 14px; }
.g-it.is-off { opacity: .45; cursor: default; }
.g-it.is-off .g-it__a { background: #c9c4d1; }
.g-cmds { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 10px 12px; border-bottom: 1px solid var(--g-line); background: var(--g-soft); }
.g-cmds__l { font-size: 12.5px; font-weight: 700; color: var(--m-muted); }
.g-cmd { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--g-line); background: #fff; font: inherit; font-size: 13px; font-weight: 700; color: var(--g-ink); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.g-cmd.is-on { background: var(--g-ink); border-color: var(--g-ink); color: #fff; }
.g-cmd--add { color: var(--m-accent); border-style: dashed; }
.g-cmd--add .icon { width: 14px; height: 14px; }
.g-right__h { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 14px 6px; }
.g-right__h h2 { margin: 0; font-family: var(--m-title); font-size: 20px; }
.g-right__h span { font-size: 13px; font-weight: 700; color: var(--m-muted); }
.g-lines { list-style: none; margin: 0; padding: 0 10px; overflow-y: auto; flex: 1; min-height: 0; }
.g-empty { display: grid; justify-items: center; gap: 8px; padding: 26px 16px; text-align: center; color: var(--m-muted); font-size: 14px; }
.g-empty .icon { width: 26px; height: 26px; opacity: .6; }
.g-line { padding: 10px 4px; border-bottom: 1px solid var(--g-soft); }
.g-line.is-blocked { opacity: .55; }
.g-line__top { display: flex; align-items: flex-start; gap: 8px; }
.g-line__q { min-width: 32px; font-size: 16px; font-weight: 800; color: var(--m-accent); font-variant-numeric: tabular-nums; }
.g-line__n { flex: 1; min-width: 0; display: grid; gap: 2px; }
.g-line__n b { font-size: 15px; line-height: 1.25; }
.g-line__n small { font-size: 12.5px; color: var(--m-muted); }
.g-line__n em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 12.5px; font-weight: 600; color: #8a5a00; background: #fff7e0; border-radius: 8px; padding: 2px 7px; width: fit-content; }
.g-line__n em .icon { width: 12px; height: 12px; }
.g-line__p { font-size: 14px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.g-line__tools { display: flex; gap: 6px; margin: 8px 0 0 40px; }
.g-ib { width: 40px; height: 36px; border-radius: 10px; border: 1px solid var(--g-line); background: #fff; display: grid; place-items: center; font: inherit; font-size: 20px; font-weight: 700; color: var(--g-ink); cursor: pointer; }
.g-ib .icon { width: 17px; height: 17px; }
.g-ib.is-on { background: #fff7e0; border-color: #f5d27a; color: #8a5a00; }
.g-ib--del { margin-left: auto; color: #b42318; }
.g-line__note { display: flex; gap: 6px; margin: 8px 0 0 40px; }
.g-line__note .m-input { flex: 1; min-width: 0; margin: 0; }
.g-ok { padding: 0 14px; border-radius: 12px; border: 0; background: var(--g-ink); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.g-pop { animation: g-pop .5s ease-out; }
@keyframes g-pop { 0% { background: #fff3c4; } 100% { background: transparent; } }
.g-foot { flex: none; padding: 12px 14px 14px; border-top: 1px solid var(--g-line); background: #fff; }
.g-tot { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-weight: 700; color: var(--m-muted); }
.g-tot strong { font-size: 22px; color: var(--g-ink); font-variant-numeric: tabular-nums; }
.g-send { width: 100%; min-height: 56px; font-size: 17px; background: var(--g-open); }
.g-send:disabled { background: #c9c4d1; }
.g-send .icon { width: 20px; height: 20px; }
.g-foot .m-err { margin: 0 0 8px; }
.g-done { position: fixed; z-index: 100; left: 50%; top: 40%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 6px; padding: 22px 28px; border-radius: 22px;
  background: #fff; box-shadow: 0 24px 60px rgba(20, 10, 30, .3); text-align: center; animation: g-in .2s ease-out; }
.g-done span { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--g-open); color: #fff; }
.g-done span .icon { width: 30px; height: 30px; }
.g-done b { font-size: 18px; }
.g-done small { color: var(--m-muted); font-weight: 600; }
.g-done.is-out { opacity: 0; transition: opacity .35s ease; }
@keyframes g-in { from { transform: translate(-50%, -50%) scale(.9); opacity: 0; } }
.g-hsheet h2 { margin-top: 0; }
.g-h3 { margin: 16px 0 8px; font-size: 14px; font-weight: 800; color: var(--m-muted); text-transform: uppercase; letter-spacing: .06em; }

/* ----- celular (em pé) ----- */
@media (max-width: 759px) {
  .g-app { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "main"; }
  .g-nav { position: fixed; z-index: 30; top: auto; left: 0; right: 0; bottom: 0; height: auto; flex-direction: row; justify-content: space-around; padding: 6px 8px max(6px, env(safe-area-inset-bottom)); }
  .g-nav__b { flex: 1; padding: 8px 2px; font-size: 11px; }
  .g-nav__b .icon { width: 23px; height: 23px; }
  .g-nav__b[data-nav="sair"] { margin-top: 0; }
  .g-mesas { padding-bottom: 96px; }
  .g-grid { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; }
  .g-t b { font-size: 26px; }
  .g-app.is-order .g-nav { display: none; }
  .g-app.is-order .g-top { display: none; }
  .g-app.is-order { grid-template-rows: minmax(0, 1fr); grid-template-areas: "main"; }
  .g-ohead { gap: 6px; padding: 8px 10px; }
  .g-obtn { padding: 0 9px; gap: 4px; font-size: 12.5px; }
  .g-lg-t { display: none; }
  .g-kit { padding: 7px 10px; font-size: 12px; gap: 6px; }
  .g-sm-t { display: inline; }
  .g-ohead__t b { font-size: 19px; }
  .g-split { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 8px; padding: 8px; }
  .g-right { max-height: 46dvh; }
  .g-search { margin: 10px 10px 6px; height: 48px; }
  .g-right__h { padding: 8px 12px 2px; }
  .g-right__h h2 { font-size: 17px; }
  .g-cmds { padding: 8px 10px; }
  .g-empty { padding: 12px; grid-auto-flow: column; justify-content: center; align-items: center; }
  .g-foot { padding: 10px 12px 12px; }
  .g-tot { margin-bottom: 8px; }
  .g-send { min-height: 52px; }
}
.g-csheet { text-align: left; }
.g-csheet h2 { font-size: 21px; }
.g-copts { display: grid; gap: 8px; }
.g-copt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 16px; border: 1px solid var(--g-line); background: #fff; font: inherit; text-align: left; cursor: pointer; color: var(--g-ink); }
.g-copt:active { background: var(--g-soft); }
.g-copt__n { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--m-accent); color: #fff; font-weight: 800; font-size: 18px; }
.g-copt__t { flex: 1; display: grid; min-width: 0; }
.g-copt__t small { color: var(--m-muted); font-weight: 600; }
.g-copt__go { padding: 8px 12px; border-radius: 999px; background: #fef2f2; color: #b42318; font-size: 13px; font-weight: 800; white-space: nowrap; }
.g-cta-closeall { width: 100%; background: #22202b; }
.g-noperm { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px; border-radius: 12px; background: var(--g-soft); color: var(--m-muted); font-size: 13.5px; font-weight: 600; }
.g-noperm .icon { width: 16px; height: 16px; flex: none; }
.m-cmd.is-taken { opacity: .55; cursor: not-allowed; }
.m-cmd.is-taken small { display: inline-flex; align-items: center; gap: 4px; }
.m-cmd.is-taken small .icon { width: 12px; height: 12px; }
.g-free { flex: none; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--m-line); background: #fff; font: inherit; font-size: 12px; font-weight: 800; color: var(--g-ink, #22202b); cursor: pointer; white-space: nowrap; }
