:root {
  --sea: #0b7f86;
  --sea-2: #12a4ad;
  --sea-soft: #dff4f4;
  --sun: #ffc83d;
  --sun-soft: #fff1c7;
  --coral: #ff6b57;
  --coral-2: #e8513d;
  --coral-soft: #ffe3de;
  --sand: #fff6e5;
  --sand-2: #f4e3c3;
  --ink: #16323a;
  --ink-2: #4d6970;
  --line: #e7dcc6;
  --card: #ffffff;
  --ok: #18a35b;
  --bg: var(--sand);
  --shadow: 0 10px 30px rgba(22, 50, 58, .16);
  --shadow-sm: 0 2px 10px rgba(22, 50, 58, .10);
  --radius: 18px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eaf6f5; --ink-2: #a8c3c4; --card: #15292f; --bg: #0e1f24; --sand: #0e1f24; --sand-2: #1d363d;
    --line: #27434a; --coral-soft: #4a2620; --sea-soft: #12373b; --sun-soft: #3a3115; --shadow: 0 10px 30px rgba(0,0,0,.45); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #eaf6f5; --ink-2: #a8c3c4; --card: #15292f; --bg: #0e1f24; --sand: #0e1f24; --sand-2: #1d363d;
  --line: #27434a; --coral-soft: #4a2620; --sea-soft: #12373b; --sun-soft: #3a3115; --shadow: 0 10px 30px rgba(0,0,0,.45); color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  font-family: Nunito, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg); color: var(--ink); overflow: hidden; overscroll-behavior: none;
  font-size: 16px; line-height: 1.4;
}
h1, h2, h3, .brand { font-family: "Baloo 2", Nunito, sans-serif; line-height: 1.1; margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }
.hidden { display: none !important; }

/* ------------------------------------------------------------- mapa */
#map { position: fixed; inset: 0; z-index: 0; background: linear-gradient(180deg, #bfe9ec 0 55%, #f4e3c3 55%); }
.leaflet-control-attribution { font-size: 9px; }
.leaflet-top { top: calc(var(--safe-t) + 64px); }
.pin {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--card); border: 3px solid var(--sea); font-size: 22px; box-shadow: var(--shadow-sm);
  transition: transform .2s;
}
.pin.quiosque, .pin.restaurante { border-color: var(--coral); border-radius: 12px; }
.pin.busy { opacity: .55; }
.pin.peer { width: 50px; height: 50px; font-size: 26px; border-color: var(--coral); animation: bob 1.6s ease-in-out infinite; }
.pin.customer { border-color: var(--sun); }
.me-dot { width: 22px; height: 22px; border-radius: 50%; background: #2a7bf6; border: 4px solid #fff; box-shadow: 0 0 0 0 rgba(42,123,246,.5); animation: pulse 2s infinite; }
.me-dot.manual { background: var(--coral); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(42,123,246,.45); } 70% { box-shadow: 0 0 0 18px rgba(42,123,246,0); } 100% { box-shadow: 0 0 0 0 rgba(42,123,246,0); } }
@keyframes bob { 50% { transform: translateY(-4px); } }
.leaflet-popup-content-wrapper { border-radius: 14px; background: var(--card); color: var(--ink); }
.leaflet-popup-tip { background: var(--card); }
.leaflet-popup-content { margin: 12px 14px; font-family: Nunito, sans-serif; }
.radar {
  width: 260px; height: 260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(18,164,173,.35) 0%, rgba(18,164,173,0) 70%);
  animation: radar 1.8s ease-out infinite;
}
@keyframes radar { from { transform: scale(.2); opacity: 1; } to { transform: scale(1); opacity: 0; } }

/* ------------------------------------------------------------- barra superior */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 45;
  padding: calc(var(--safe-t) + 10px) 12px 10px; display: flex; align-items: center; gap: 8px; pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.brand-pill {
  display: flex; align-items: center; gap: 8px; background: var(--card); padding: 6px 14px 6px 6px;
  border-radius: 999px; box-shadow: var(--shadow-sm); font-size: 19px; font-weight: 800; color: var(--sea);
}
.wm { white-space: nowrap; letter-spacing: -.01em; }
.wm-o { color: var(--coral); }
.auth-hero .wm-o, .loading .wm-o { color: var(--sun); }
.brand-pill img { width: 30px; height: 30px; border-radius: 9px; }
.spacer { flex: 1; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; background: var(--card); box-shadow: var(--shadow-sm);
  display: grid; place-items: center; font-size: 20px; overflow: hidden; flex: none;
}
.icon-btn img { width: 100%; height: 100%; object-fit: cover; }
.avatar { font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--coral), var(--sun)); }
.float-btns { position: fixed; right: 12px; z-index: 15; display: flex; flex-direction: column; gap: 10px; transition: bottom .25s; }
.chip-btn {
  background: var(--card); border-radius: 999px; padding: 9px 14px; box-shadow: var(--shadow-sm);
  font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px;
}
.banner {
  position: fixed; left: 12px; right: 12px; z-index: 18; top: calc(var(--safe-t) + 66px);
  background: var(--sun-soft); color: var(--ink); border-radius: 14px; padding: 10px 12px; font-size: 14px;
  box-shadow: var(--shadow-sm); display: flex; gap: 8px; align-items: center;
}
.banner.adjust { background: var(--coral); color: #fff; font-weight: 700; }

/* ------------------------------------------------------------- bottom sheet */
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; max-height: 60vh; overflow-y: auto;
  background: var(--card); border-radius: 24px 24px 0 0; box-shadow: 0 -8px 30px rgba(22,50,58,.18);
  padding: 8px 16px calc(16px + var(--safe-b)); overscroll-behavior: contain;
  max-width: 640px; margin: 0 auto;
}
.sheet.collapsed { max-height: 120px; overflow: hidden; }
.handle { display: block; width: 100%; padding: 4px 0 10px; }
.handle::before { content: ""; display: block; margin: 0 auto; width: 44px; height: 5px; border-radius: 3px; background: var(--line); }
.sheet h2 { font-size: 24px; margin-bottom: 4px; }
.sheet .sub { color: var(--ink-2); font-size: 14px; margin-bottom: 12px; }

.cat-grid {
  display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 98px;
  gap: 8px; margin: 10px -16px 10px; padding: 0 16px 4px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
}
.cat-grid::-webkit-scrollbar { display: none; }
.cat-grid .cat { scroll-snap-align: start; }
.sel-cat { display: flex; align-items: center; gap: 12px; background: var(--sea-soft); border-radius: 16px; padding: 10px 12px; margin: 8px 0; }
.sel-cat .e { font-size: 34px; }
.sel-cat .n { flex: 1; font-weight: 800; font-size: 17px; }
.cat {
  border: 2px solid var(--line); border-radius: 16px; padding: 10px 4px 8px; text-align: center; background: var(--card);
  display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 86px; position: relative;
  transition: transform .1s, border-color .15s, background .15s;
}
.cat:active { transform: scale(.96); }
.cat .e { font-size: 30px; line-height: 1.1; }
.cat .n { font-size: 12.5px; font-weight: 700; line-height: 1.15; }
.cat .count {
  position: absolute; top: 4px; right: 6px; font-size: 11px; font-weight: 800; color: var(--sea);
}
.cat.none { opacity: .45; }
.cat.sel { border-color: var(--sea); background: var(--sea-soft); }

.field { display: block; margin: 8px 0; }
.field span { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 4px; }
.input {
  width: 100%; border: 2px solid var(--line); background: var(--card); border-radius: 14px; padding: 12px 14px;
  font-size: 16px; outline: none; transition: border-color .15s;
}
.input:focus { border-color: var(--sea); }
textarea.input { resize: none; min-height: 60px; }

.btn {
  display: flex; width: 100%; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 18px; border-radius: 16px; font-weight: 800; font-size: 17px; transition: transform .1s, filter .15s;
  min-height: 54px;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: linear-gradient(135deg, var(--coral), var(--coral-2)); color: #fff; box-shadow: 0 6px 18px rgba(232,81,61,.35); }
.btn.sea { background: var(--sea); color: #fff; }
.btn.ok { background: var(--ok); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink-2); font-weight: 700; min-height: 44px; padding: 10px; }
.btn.outline { border: 2px solid var(--line); background: var(--card); color: var(--ink); }
.btn.google { background: #fff; color: #1f1f1f; border: 1px solid #dadce0; font-weight: 700; }
.row { display: flex; gap: 10px; align-items: center; }
.row > .btn { flex: 1; }
.stack > * + * { margin-top: 10px; }

/* busca */
.searching { text-align: center; padding: 6px 0 4px; }
.searching .big-emoji { font-size: 54px; display: inline-block; animation: bob 1.3s ease-in-out infinite; }
.progress { height: 6px; border-radius: 3px; background: var(--sea-soft); overflow: hidden; margin: 12px 0; }
.progress > i { display: block; height: 100%; background: var(--sea); border-radius: 3px; transition: width 1s linear; }
.steps { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.steps i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.steps i.on { background: var(--sea); }

/* cartão do vendedor / cliente */
.person { display: flex; gap: 12px; align-items: center; padding: 4px 0 10px; }
.person .ph {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 30px;
  background: var(--sun-soft); flex: none; overflow: hidden;
}
.person .ph img { width: 100%; height: 100%; object-fit: cover; }
.person .nm { font-weight: 800; font-size: 18px; }
.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 800;
  background: var(--sea-soft); color: var(--sea);
}
.badge.coral { background: #ffe3de; color: var(--coral-2); }
.badge.sun { background: var(--sun-soft); color: #8a6500; }
.badge.ok { background: #dcf5e7; color: #0e7a42; }
.badge.gray { background: var(--sand-2); color: var(--ink-2); }
.eta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0 12px; }
.eta > div { background: var(--sand-2); border-radius: 14px; padding: 10px 12px; }
.eta b { display: block; font-size: 22px; font-family: "Baloo 2", sans-serif; }
.eta small { color: var(--ink-2); font-weight: 700; }
.code-box {
  background: linear-gradient(135deg, var(--sea), var(--sea-2)); color: #fff; border-radius: 18px; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px;
}
.code-box .lbl { font-size: 13px; opacity: .9; font-weight: 700; max-width: 52%; }
.code-box .code { font-family: "Baloo 2", monospace; font-size: 38px; letter-spacing: 6px; font-weight: 800; }

/* chat */
.chat { background: var(--sand-2); border-radius: 16px; padding: 10px; margin-bottom: 10px; max-height: 200px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.msg { max-width: 82%; padding: 7px 11px; border-radius: 14px; font-size: 14.5px; background: var(--card); align-self: flex-start; word-wrap: break-word; }
.msg.mine { align-self: flex-end; background: var(--sea); color: #fff; }
.msg.system { align-self: center; background: transparent; color: var(--ink-2); font-size: 13px; font-style: italic; }
.quick { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 4px; scrollbar-width: none; }
.quick::-webkit-scrollbar { display: none; }
.quick button { white-space: nowrap; border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; font-weight: 700; background: var(--card); }
.send-row { display: flex; gap: 8px; }
.send-row .input { padding: 10px 12px; }
.send-row button { flex: none; width: 48px; border-radius: 14px; background: var(--sea); color: #fff; font-size: 20px; }

.tabs { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 10px; scrollbar-width: none; }
.tabs button { white-space: nowrap; padding: 7px 12px; border-radius: 999px; font-weight: 800; font-size: 13.5px; background: var(--sand-2); }
.tabs button.on { background: var(--ink); color: var(--card); }

.stars { display: flex; justify-content: center; gap: 6px; margin: 10px 0 14px; }
.stars button { font-size: 40px; filter: grayscale(1); opacity: .5; transition: transform .1s; }
.stars button.on { filter: none; opacity: 1; }
.stars button:active { transform: scale(1.2); }

.done-hero { text-align: center; padding: 4px 0; }
.done-hero .big { font-size: 64px; }

/* ------------------------------------------------------------- vendedor */
.online-card {
  display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; margin-bottom: 12px;
  background: var(--sand-2); transition: background .2s;
}
.online-card.on { background: linear-gradient(135deg, #18a35b, #12a4ad); color: #fff; }
.online-card .t { font-weight: 800; font-size: 18px; font-family: "Baloo 2", sans-serif; }
.online-card .d { font-size: 13px; opacity: .9; }
.switch { position: relative; width: 64px; height: 36px; flex: none; border-radius: 999px; background: #c9bfae; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 4px; left: 4px; width: 28px; height: 28px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 2px 5px rgba(0,0,0,.2); }
.switch.on { background: rgba(255,255,255,.35); }
.switch.on::after { transform: translateX(28px); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.stats > div { background: var(--sand-2); border-radius: 14px; padding: 8px 10px; text-align: center; }
.stats b { display: block; font-family: "Baloo 2", sans-serif; font-size: 22px; }
.stats small { font-size: 12px; color: var(--ink-2); font-weight: 700; }
.job { border: 2px solid var(--line); border-radius: 18px; padding: 12px; margin-bottom: 10px; }
.job.focus { border-color: var(--sea); }
.job-head { display: flex; gap: 10px; align-items: center; }
.job-head .e { font-size: 30px; }
.job-head .nm { font-weight: 800; }
.note { background: var(--sun-soft); border-radius: 12px; padding: 8px 10px; font-size: 14px; margin: 8px 0; }
.code-input { display: flex; gap: 8px; margin: 10px 0 6px; }
.code-input input { text-align: center; font-size: 26px; letter-spacing: 10px; font-weight: 800; font-family: "Baloo 2", monospace; }
.empty { text-align: center; padding: 14px 6px; color: var(--ink-2); }
.empty .big { font-size: 44px; }

/* oferta (tela cheia) */
.offer {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; justify-content: flex-end;
  background: rgba(11, 30, 36, .55); backdrop-filter: blur(2px); animation: fade .2s;
}
.offer-card {
  background: var(--card); border-radius: 28px 28px 0 0; padding: 20px 18px calc(18px + var(--safe-b)); text-align: center;
  animation: up .25s ease-out; max-width: 640px; width: 100%; margin: 0 auto;
}
.ring { --p: 100; width: 120px; height: 120px; margin: -70px auto 6px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--coral) calc(var(--p) * 1%), var(--sand-2) 0); box-shadow: var(--shadow); }
.ring > div { width: 100px; height: 100px; border-radius: 50%; background: var(--card); display: grid; place-items: center; font-size: 46px; }
.offer-card h2 { font-size: 28px; }
.offer-card .dist { font-size: 40px; font-family: "Baloo 2", sans-serif; font-weight: 800; color: var(--sea); line-height: 1; margin: 6px 0; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }

/* ------------------------------------------------------------- telas cheias */
.screen { position: fixed; inset: 0; z-index: 40; overflow-y: auto; background: var(--bg); }
.auth { background: linear-gradient(180deg, #12a4ad 0%, #0b7f86 38%, var(--bg) 38.1%); }
.auth-hero { color: #fff; text-align: center; padding: calc(var(--safe-t) + 34px) 20px 22px; position: relative; }
.auth-hero .sun { position: absolute; right: 22px; top: calc(var(--safe-t) + 18px); width: 64px; height: 64px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 40px rgba(255,200,61,.7); }
.auth-hero img { width: 84px; height: 84px; border-radius: 24px; box-shadow: var(--shadow); }
.auth-hero h1 { font-size: 40px; margin-top: 10px; }
.auth-hero p { margin: 4px 0 0; font-size: 17px; opacity: .95; font-weight: 600; }
.auth-card { background: var(--card); margin: 0 14px 24px; border-radius: 24px; padding: 18px 16px; box-shadow: var(--shadow); max-width: 460px; margin-inline: auto; }
@media (max-width: 488px) { .auth-card { margin-inline: 14px; } }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--sand-2); border-radius: 14px; padding: 4px; margin-bottom: 14px; }
.seg button { padding: 10px; border-radius: 11px; font-weight: 800; font-size: 14.5px; color: var(--ink-2); }
.seg button.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.divider { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 13px; margin: 14px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.link { color: var(--sea); font-weight: 800; text-decoration: underline; }
.how { display: grid; gap: 10px; max-width: 460px; margin: 0 auto 30px; padding: 0 14px; }
.how > div { display: flex; gap: 12px; align-items: center; background: var(--card); padding: 12px; border-radius: 16px; box-shadow: var(--shadow-sm); }
.how .n { width: 36px; height: 36px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-weight: 800; flex: none; color: #16323a; }
.demo-note { background: var(--sun-soft); border-radius: 14px; padding: 10px 12px; font-size: 13.5px; margin-top: 12px; }

.page { max-width: 760px; margin: 0 auto; padding: calc(var(--safe-t) + 70px) 14px 40px; }
.page h2 { font-size: 26px; margin: 8px 0 12px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
@media (min-width: 560px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.kpi { background: var(--card); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow-sm); }
.kpi b { display: block; font-family: "Baloo 2", sans-serif; font-size: 28px; color: var(--sea); }
.kpi small { color: var(--ink-2); font-weight: 700; }
.list-item { background: var(--card); border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; box-shadow: var(--shadow-sm); }
.list-item .top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.list-item .nm { font-weight: 800; font-size: 17px; flex: 1; min-width: 140px; }
.list-item .acts { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.list-item .acts button { padding: 8px 12px; border-radius: 12px; font-weight: 800; font-size: 13.5px; background: var(--sand-2); }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.check-grid label { display: flex; gap: 6px; align-items: center; font-size: 14px; padding: 8px; border-radius: 10px; background: var(--sand-2); }

.modal { position: fixed; inset: 0; z-index: 70; background: rgba(11,30,36,.5); display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
.modal-card { background: var(--card); width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; border-radius: 24px 24px 0 0; padding: 18px 16px calc(18px + var(--safe-b)); animation: up .2s; }
@media (min-width: 600px) { .modal { align-items: center; } .modal-card { border-radius: 24px; } }
.modal-card h3 { font-size: 22px; margin-bottom: 10px; }
.menu-item { display: flex; gap: 12px; align-items: center; width: 100%; padding: 14px 6px; border-bottom: 1px solid var(--line); font-weight: 700; text-align: left; }
.menu-item:last-child { border-bottom: 0; }

#toasts { position: fixed; left: 0; right: 0; top: calc(var(--safe-t) + 12px); z-index: 100; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 12px; }
.toast { background: var(--ink); color: var(--card); padding: 11px 16px; border-radius: 14px; font-weight: 700; font-size: 14.5px; box-shadow: var(--shadow); animation: up .2s; max-width: 520px; }
.toast.err { background: var(--coral-2); color: #fff; }
.toast.ok { background: var(--ok); color: #fff; }

.loading { position: fixed; inset: 0; display: grid; place-items: center; background: var(--sea); color: #fff; z-index: 90; text-align: center; }
.loading img { width: 90px; border-radius: 26px; animation: bob 1.4s ease-in-out infinite; }
.offline-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 95; background: var(--coral-2); color: #fff; text-align: center; font-size: 13px; font-weight: 700; padding: 4px calc(var(--safe-b) + 4px); }

/* ------------------------------------------------------------- páginas legais */
body.legal { overflow: auto; background: var(--bg); }
.legal-page {
  max-width: 720px; margin: 0 auto; line-height: 1.6;
  padding: calc(var(--safe-t) + 20px) max(18px, env(safe-area-inset-right, 0px)) calc(var(--safe-b) + 48px) max(18px, env(safe-area-inset-left, 0px));
}
.legal-page h1 { font-size: 30px; }
.legal-page h2 { font-size: 20px; margin: 28px 0 6px; color: var(--sea); }
.legal-page ul { padding-left: 20px; }
.legal-page li + li { margin-top: 4px; }
.legal-head { display: flex; gap: 14px; align-items: center; margin: 14px 0 16px; }
.legal-head img { border-radius: 16px; }
.legal-head p { margin: 2px 0 0; }
.legal-back { color: var(--sea); font-weight: 800; text-decoration: none; }
.legal-note { background: var(--sun-soft); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.legal-table th, .legal-table td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { font-weight: 800; color: var(--ink-2); }

/* ------------------------------------------------------------- aceite, perfil, cardápio, denúncia */
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.35; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--sea); }
.vphoto { width: 100%; height: 100%; object-fit: cover; }
.menu-list { display: grid; gap: 4px; margin: 6px 0 10px; }
.menu-list .mi { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; background: var(--sand-2); border-radius: 10px; font-size: 14.5px; }
.menu-list .mi b { font-variant-numeric: tabular-nums; white-space: nowrap; }
details.menu-box { margin: 0 0 10px; }
details.menu-box summary { cursor: pointer; font-weight: 800; color: var(--sea); padding: 4px 0; }
.menu-edit { display: grid; grid-template-columns: 1fr 96px 40px; gap: 6px; margin-bottom: 6px; }
.menu-edit .input { padding: 10px; }
.menu-edit button { border-radius: 12px; background: var(--sand-2); font-size: 18px; }
.photo-pick { display: flex; gap: 12px; align-items: center; margin: 6px 0 10px; }
.photo-pick .ph { width: 72px; height: 72px; border-radius: 18px; background: var(--sun-soft); display: grid; place-items: center; font-size: 30px; overflow: hidden; flex: none; }
.reasons { display: grid; gap: 6px; margin: 8px 0; }
.reasons label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; font-weight: 700; font-size: 14.5px; }
.reasons label:has(input:checked) { border-color: var(--coral); background: #ffe3de; color: #7a2418; }
.push-cta { display: flex; gap: 10px; align-items: center; background: var(--sea-soft); border-radius: 14px; padding: 10px 12px; margin-bottom: 12px; font-size: 14px; }
.push-cta b { display: block; }
.push-cta button { flex: none; background: var(--sea); color: #fff; border-radius: 10px; padding: 8px 12px; font-weight: 800; font-size: 13.5px; }
.link-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; font-size: 13px; margin-top: 10px; }
.link-row a { color: var(--ink-2); }
.danger { color: var(--coral-2) !important; }

/* ------------------------------------------------------------- pedido de localização */
.geo-card { text-align: center; padding: 4px 0 2px; display: flex; flex-direction: column; gap: 8px; }
.geo-card h2 { margin: 0; }
.geo-card .sub { margin: 0 0 4px; }
.geo-icon { font-size: 46px; line-height: 1; margin-top: 2px; }
.geo-icon.pulse { animation: bob 1.3s ease-in-out infinite; }
.geo-steps { text-align: left; margin: 0 0 6px; padding: 12px 14px 12px 34px; background: var(--sand-2); border-radius: 14px; font-size: 14.5px; line-height: 1.45; }
.geo-steps li + li { margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .geo-icon.pulse, .searching .big-emoji, .pin.peer, .radar { animation: none; } }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 14px; }
.creds > div { background: var(--sand-2); border-radius: 14px; padding: 10px 12px; min-width: 0; }
.creds small { display: block; color: var(--ink-2); font-weight: 700; font-size: 12px; }
.creds b { font-family: "Baloo 2", monospace; font-size: 20px; word-break: break-all; }
.banner.update { background: var(--sea); color: #fff; font-weight: 800; border: 0; width: auto; text-align: left; cursor: pointer; }

/* ------------------------------------------------------------- status do vendedor */
.status-card { border-radius: 18px; padding: 14px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 12px; }
.status-card.off { background: var(--coral-soft); color: var(--ink); border: 2px solid var(--coral); }
.status-card.on { background: linear-gradient(135deg, #18a35b, #12a4ad); color: #fff; }
.status-head { display: flex; gap: 12px; align-items: flex-start; }
.status-card .t { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 20px; line-height: 1.15; }
.status-card .d { font-size: 14px; opacity: .92; }
.status-card .dot { width: 14px; height: 14px; border-radius: 50%; flex: none; margin-top: 6px; background: var(--coral); }
.status-card.on .dot { background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.btn-online {
  width: 100%; min-height: 58px; border-radius: 16px; background: #18a35b; color: #fff; font-weight: 800; font-size: 19px;
  box-shadow: 0 6px 18px rgba(24,163,91,.35); animation: nudge 2.4s ease-in-out infinite;
}
.btn-online:disabled { animation: none; opacity: .7; }
@keyframes nudge { 0%, 85%, 100% { transform: scale(1); } 92% { transform: scale(1.03); } }
.btn-off { align-self: flex-start; background: rgba(255,255,255,.2); color: #fff; border: 1.5px solid rgba(255,255,255,.7); border-radius: 12px; padding: 7px 14px; font-weight: 800; font-size: 14px; }
.status-pill { padding: 8px 12px; border-radius: 999px; font-weight: 800; font-size: 13px; background: var(--coral); color: #fff; box-shadow: var(--shadow-sm); display: inline-flex; align-items: center; gap: 6px; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.status-pill.on { background: #18a35b; }
@media (prefers-reduced-motion: reduce) { .btn-online, .status-card.on .dot { animation: none; } }
.install-cta { background: var(--sun-soft); }
.install-cta button.x { background: transparent; color: var(--ink-2); width: 32px; padding: 0; font-size: 16px; }
