/* Restaurante Local - estilos compartilhados (sem fontes ou arquivos externos: funciona offline) */
:root {
  --bg: #f4f1ec;
  --card: #ffffff;
  --ink: #1d2127;
  --muted: #6b7280;
  --line: #e2ddd5;
  --brand: #c2410c;
  --brand-ink: #ffffff;
  --brand-soft: #fff1e8;
  --dark: #1f2530;
  --ok: #15803d;
  --ok-soft: #dcfce7;
  --warn: #b45309;
  --warn-soft: #fef3c7;
  --bad: #b91c1c;
  --bad-soft: #fee2e2;
  --info: #1d4ed8;
  --info-soft: #dbeafe;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.05);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3 { margin: 0 0 .5rem; line-height: 1.2; }
h1 { font-size: 1.5rem; } h2 { font-size: 1.2rem; } h3 { font-size: 1rem; }
a { color: var(--brand); }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.right { text-align: right; }
.center { text-align: center; }
.bold { font-weight: 700; }
.grow { flex: 1; min-width: 0; }
.row { display: flex; align-items: center; gap: .6rem; }
.row.wrap { flex-wrap: wrap; }
.col { display: flex; flex-direction: column; gap: .6rem; }
.gap-s { gap: .3rem; }
.mt { margin-top: .8rem; } .mb { margin-bottom: .8rem; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- barra superior ---------- */
.topbar {
  background: var(--dark); color: #fff; display: flex; align-items: center; gap: .8rem;
  padding: .55rem .9rem; position: sticky; top: 0; z-index: 20;
}
.topbar .brand { font-weight: 800; letter-spacing: .2px; white-space: nowrap; }
.topbar nav { display: flex; gap: .3rem; overflow-x: auto; flex: 1; scrollbar-width: none; }
.topbar nav::-webkit-scrollbar { display: none; }
.topbar nav a {
  color: #cbd5e1; text-decoration: none; padding: .4rem .7rem; border-radius: 8px; white-space: nowrap; font-size: .92rem;
}
.topbar nav a.on { background: rgba(255,255,255,.14); color: #fff; }
.topbar .who { font-size: .85rem; color: #cbd5e1; display: flex; align-items: center; gap: .5rem; white-space: nowrap; }
.topbar .who button { background: transparent; border: 1px solid #475569; color: #e2e8f0; border-radius: 8px; padding: .3rem .6rem; cursor: pointer; }

/* ---------- botoes e campos ---------- */
.btn {
  appearance: none; border: 1px solid var(--line); background: #fff; color: var(--ink);
  min-height: 44px; padding: .5rem 1rem; border-radius: 10px; font-size: 1rem; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn.danger { background: #fff; border-color: #f0b4b4; color: var(--bad); }
.btn.dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.btn.small { min-height: 34px; padding: .25rem .65rem; font-size: .88rem; border-radius: 8px; }
.btn.block { width: 100%; }
input, select, textarea {
  font: inherit; color: inherit; background: #fff; border: 1px solid #cfc8bd; border-radius: 10px;
  padding: .55rem .7rem; min-height: 44px; width: 100%;
}
input[type=checkbox], input[type=radio] { width: auto; min-height: 0; }
input:focus, select:focus, textarea:focus { outline: 2px solid #f4a77d; border-color: var(--brand); }
label.field { display: flex; flex-direction: column; gap: .25rem; font-size: .88rem; color: var(--muted); font-weight: 600; }
label.check { display: flex; align-items: center; gap: .5rem; font-size: .95rem; }

/* ---------- cartoes e etiquetas ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: .9rem; }
.badge { display: inline-block; padding: .15rem .55rem; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.badge.new { background: var(--info-soft); color: var(--info); }
.badge.preparing { background: var(--warn-soft); color: var(--warn); }
.badge.ready { background: var(--ok-soft); color: var(--ok); }
.badge.delivered { background: #eceae6; color: #6b7280; }
.badge.canceled { background: var(--bad-soft); color: var(--bad); }
.chips { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .2rem; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .4rem .9rem; white-space: nowrap;
  font-size: .92rem; cursor: pointer; font-weight: 600; min-height: 38px;
}
.chip.on { background: var(--dark); color: #fff; border-color: var(--dark); }

/* ---------- avisos ---------- */
#toasts { position: fixed; left: 0; right: 0; top: 4rem; display: flex; flex-direction: column; align-items: center; gap: .4rem; z-index: 100; pointer-events: none; padding: 0 .8rem; }
.toast { background: #111827; color: #fff; padding: .65rem 1rem; border-radius: 10px; box-shadow: var(--shadow); max-width: 520px; animation: pop .15s ease-out; }
.toast.err { background: var(--bad); }
.toast.ok { background: var(--ok); }
@keyframes pop { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
#offline { position: fixed; top: 0; left: 0; right: 0; background: var(--bad); color: #fff; text-align: center; padding: .4rem; z-index: 200; font-weight: 700; font-size: .9rem; }

/* ---------- janelas ---------- */
.overlay { position: fixed; inset: 0; background: rgba(15,18,24,.55); z-index: 50; display: flex; align-items: center; justify-content: center; padding: .8rem; }
.modal { background: var(--bg); border-radius: 14px; width: 100%; max-width: 560px; max-height: 92vh; display: flex; flex-direction: column; box-shadow: 0 10px 40px rgba(0,0,0,.3); }
.modal.wide { max-width: 820px; }
.modal > header { display: flex; align-items: center; padding: .8rem 1rem; border-bottom: 1px solid var(--line); gap: .5rem; }
.modal > header h2 { margin: 0; flex: 1; }
.modal > .body { padding: 1rem; overflow: auto; flex: 1; }
.modal > footer { padding: .8rem 1rem; border-top: 1px solid var(--line); display: flex; gap: .5rem; justify-content: flex-end; }
.x { border: 0; background: transparent; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); padding: .2rem .5rem; }

/* ---------- seletor de produtos (garcom e caixa) ---------- */
.mp { display: flex; flex-direction: column; gap: .6rem; min-height: 0; height: 100%; }
.mp-list { display: flex; flex-direction: column; gap: .4rem; overflow-y: auto; flex: 1; min-height: 120px; padding-bottom: .3rem; }
.mp-row { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .45rem .55rem; }
.mp-row.sel { border-color: var(--brand); background: var(--brand-soft); }
.thumb { width: 52px; height: 52px; border-radius: 10px; background: #e7e1d8; flex: none; object-fit: cover; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #8a7f70; font-size: 1.3rem; overflow: hidden; }
.mp-name { font-weight: 700; }
.mp-price { color: var(--muted); font-size: .9rem; }
.mp-note { color: var(--brand); font-size: .85rem; }
.stepper { display: flex; align-items: center; gap: .3rem; flex: none; }
.stepper button { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 1.3rem; font-weight: 700; cursor: pointer; }
.stepper button[data-act=inc] { background: var(--brand); color: #fff; border-color: var(--brand); }
.stepper .q { min-width: 1.6rem; text-align: center; font-weight: 800; }
.mp-cart { display: flex; align-items: center; gap: .6rem; background: var(--dark); color: #fff; border-radius: 12px; padding: .6rem .8rem; }
.mp-cart .btn { min-height: 42px; }

/* ---------- garcom (celular) ---------- */
.page { max-width: 760px; margin: 0 auto; padding: .8rem; }
.seg { display: flex; background: #e7e1d8; border-radius: 12px; padding: 3px; gap: 3px; }
.seg button { flex: 1; border: 0; background: transparent; padding: .6rem; border-radius: 10px; font-weight: 700; font-size: 1rem; cursor: pointer; color: #5b5448; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.tabgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .5rem; }
.tabbtn {
  border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: .55rem .3rem; min-height: 84px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem; cursor: pointer; font: inherit; color: inherit;
}
.tabbtn .n { font-size: 1.6rem; font-weight: 800; }
.tabbtn .s { font-size: .78rem; color: var(--muted); }
.tabbtn.busy { border-color: #f1a46f; background: var(--brand-soft); }
.tabbtn.busy .s { color: var(--brand); font-weight: 700; }
.tabbtn.ready { border-color: var(--ok); background: var(--ok-soft); animation: blink 1.4s ease-in-out infinite; }
.tabbtn.ready .s { color: var(--ok); font-weight: 800; }
@keyframes blink { 50% { box-shadow: 0 0 0 5px rgba(21,128,61,.18); } }
.itemrow { display: flex; gap: .6rem; padding: .6rem 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.itemrow:last-child { border-bottom: 0; }
.itemrow.canceled .nm { text-decoration: line-through; color: var(--muted); }
.sumline { display: flex; justify-content: space-between; padding: .15rem 0; }
.sumline.total { font-size: 1.25rem; font-weight: 800; border-top: 1px solid var(--line); margin-top: .3rem; padding-top: .5rem; }
.fixed-bottom { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--bg) 30%); padding: .8rem 0 .2rem; }
.fullpicker { display: flex; flex-direction: column; height: calc(100vh - 56px); height: calc(100dvh - 56px); padding: .6rem .8rem; max-width: 760px; margin: 0 auto; }

/* ---------- caixa (PC) ---------- */
.cashier { display: grid; grid-template-columns: 340px 1fr; gap: .9rem; padding: .9rem; height: calc(100vh - 56px); }
.cashier .cleft, .cashier .cright { overflow-y: auto; min-height: 0; }
.tablist { display: flex; flex-direction: column; gap: .4rem; }
.tabrow { display: flex; align-items: center; gap: .6rem; background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: .55rem .7rem; cursor: pointer; text-align: left; font: inherit; color: inherit; width: 100%; }
.tabrow.sel { border-color: var(--brand); background: var(--brand-soft); }
.tabrow.ready { border-color: var(--ok); }
.tabrow .t1 { font-weight: 800; font-size: 1.05rem; }
table.tbl { width: 100%; border-collapse: collapse; }
table.tbl th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: .4rem .5rem; border-bottom: 1px solid var(--line); background: transparent; }
table.tbl td { padding: .5rem; border-bottom: 1px solid #efeae2; vertical-align: middle; }
table.tbl tr.canceled td { color: var(--muted); text-decoration: line-through; }
.paygrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .5rem; }
.bigtotal { font-size: 1.8rem; font-weight: 800; }
.pill { background: #efeae2; border-radius: 999px; padding: .1rem .6rem; font-size: .8rem; font-weight: 700; }

/* ---------- cozinha ---------- */
.kds { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: .8rem; padding: .9rem; align-items: start; }
.kcard { background: #fff; border: 3px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.kcard header { display: flex; align-items: baseline; justify-content: space-between; padding: .55rem .8rem; background: #eef2f7; gap: .5rem; }
.kcard header .big { font-size: 1.6rem; font-weight: 900; }
.kcard.warn { border-color: #f5c04a; } .kcard.warn header { background: var(--warn-soft); }
.kcard.late { border-color: #e26a6a; } .kcard.late header { background: var(--bad-soft); }
.kcard.cooking header { box-shadow: inset 0 -4px 0 var(--warn); }
.kcard ul { list-style: none; margin: 0; padding: .4rem .8rem; }
.kcard li { padding: .35rem 0; border-bottom: 1px dashed var(--line); font-size: 1.15rem; }
.kcard li:last-child { border-bottom: 0; }
.kcard li .q { font-weight: 900; margin-right: .3rem; }
.kcard li .obs { display: block; color: var(--bad); font-weight: 800; font-size: 1rem; }
.kcard footer { display: flex; gap: .5rem; padding: .6rem .8rem .8rem; }
.kcard footer .btn { flex: 1; }
.empty { text-align: center; color: var(--muted); padding: 3rem 1rem; }

/* ---------- cadastros ---------- */
.adminwrap { max-width: 1100px; margin: 0 auto; padding: .9rem; }
.thumb.s { width: 40px; height: 40px; font-size: 1rem; border-radius: 8px; }
.imgprev { width: 120px; height: 120px; border-radius: 12px; object-fit: cover; background: #e7e1d8; display: flex; align-items: center; justify-content: center; color: #8a7f70; }
.drop { border: 2px dashed #cfc8bd; border-radius: 12px; padding: 1.2rem; text-align: center; background: #fff; }
.formgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .7rem; }

/* ---------- impressao (cupom 80mm) ---------- */
#print-area { display: none; }
@media print {
  body.printing > *:not(#print-area) { display: none !important; }
  body.printing #print-area { display: block !important; }
  body.printing { background: #fff !important; }
  @page { margin: 3mm; }
}
#print-area { width: 72mm; font-family: "Courier New", monospace; font-size: 12px; color: #000; }
#print-area .t-title { text-align: center; font-weight: 700; font-size: 14px; }
#print-area .t-big { text-align: center; font-weight: 900; font-size: 26px; margin: 4px 0; }
#print-area hr { border: 0; border-top: 1px dashed #000; margin: 5px 0; }
#print-area .t-item { font-size: 15px; font-weight: 700; margin: 3px 0; }
#print-area .t-obs { font-size: 13px; padding-left: 14px; font-weight: 700; }
#print-area .t-line { display: flex; justify-content: space-between; gap: 6px; }

/* ---------- login ---------- */
.loginwrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.loginbox { width: 100%; max-width: 380px; }

/* ---------- celular ---------- */
@media (max-width: 860px) {
  .cashier { grid-template-columns: 1fr; height: auto; }
  .cashier .cleft, .cashier .cright { overflow: visible; }
  .topbar .who .nm { display: none; }
}

/* ---------- opcoes de produto (tamanho, borda, adicionais) ---------- */
.optlist { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .9rem; }
.opt { display: flex; align-items: center; gap: .65rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .7rem .8rem; cursor: pointer; font-size: 1rem; }
.opt input { width: 20px; height: 20px; flex: none; margin: 0; }
.opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.mp-view { appearance: none; border: 0; background: transparent; color: inherit; text-align: left; flex: 1; min-width: 0; cursor: pointer; font: inherit; padding: 0; }
.mp-ctl { display: flex; align-items: center; gap: .35rem; flex: none; }
.modal h3 { margin-top: .2rem; }

/* ---------- turno ---------- */
.shiftcard { border-left: 6px solid var(--ok); }
.shiftcard.closed { border-left-color: var(--bad); background: var(--bad-soft); }
.shiftcard.long { border-left-color: var(--warn); background: var(--warn-soft); }
.diff-ok { color: var(--ok); font-weight: 800; }
.diff-bad { color: var(--bad); font-weight: 800; }

.kcard li .sz { background: var(--dark); color: #fff; border-radius: 6px; padding: .05rem .45rem; font-size: .95rem; font-weight: 800; margin-left: .25rem; white-space: nowrap; }
.kcard li .adds { display: block; color: var(--brand); font-weight: 800; font-size: 1rem; }

/* ---------- computador (tela grande): tudo maior e proporcional ao tamanho da tela ----------
   O texto cresce junto com a largura da tela (16px num notebook, ~20px numa tela Full HD)
   e os botoes, mesas e listas acompanham. No celular nada muda. */
@media screen and (min-width: 1100px) {
  html { font-size: clamp(16px, calc(8px + .62vw), 22px); }
  body { font-size: 1rem; }
  input, select, textarea { min-height: 2.75rem; }
  .btn { min-height: 2.4rem; }
  .opt input { width: 1.25rem; height: 1.25rem; }

  /* garcom: mesas */
  .page { max-width: 64rem; padding: 1rem 1.2rem; }
  .tabgrid { grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); gap: .8rem; }
  .tabbtn { min-height: 7rem; border-radius: 1rem; }
  .tabbtn .n { font-size: 2.5rem; }
  .tabbtn .s { font-size: .95rem; }

  /* lista de produtos do pedido */
  .fullpicker { max-width: 64rem; height: calc(100dvh - 3.6rem); }
  .mp-list { gap: .5rem; }
  .mp-row { padding: .6rem .8rem; gap: .9rem; }
  .thumb { width: 3.4rem; height: 3.4rem; font-size: 1.4rem; }
  .mp-name { font-size: 1.08rem; }
  .stepper button { width: 2.6rem; height: 2.6rem; font-size: 1.4rem; }
  .modal { max-width: 38rem; }
  .modal.wide { max-width: 60rem; }

  /* caixa, cozinha e cadastros */
  .cashier { grid-template-columns: minmax(20rem, 26%) 1fr; height: calc(100dvh - 3.6rem); }
  .paygrid { grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); }
  .kds { grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); }
  .adminwrap { max-width: 80rem; }
  .formgrid { grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); }
}

/* ---------- pedido em quadrados (modo touch) ----------
   Cartao com altura igual na fileira: imagem em cima (inteira, sem corte),
   nome com no maximo 2 linhas e preco sempre no rodape do cartao. */
.mp-top { gap: .5rem; align-items: stretch; }
.mp-mode { white-space: nowrap; flex: none; }
.mp-list.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); grid-auto-rows: max-content; align-content: start; gap: .75rem; padding: .6rem .5rem .6rem 0; }
.mp-tile {
  position: relative; display: flex; flex-direction: column; min-height: max-content; background: #fff; border: 2px solid var(--line);
  border-radius: 14px; overflow: hidden; cursor: pointer; user-select: none; -webkit-user-select: none;
  box-shadow: var(--shadow); transition: transform .06s ease, border-color .1s ease;
}
.mp-tile:active { transform: scale(.97); }
.mp-tile:hover { border-color: #f1a46f; }
.mp-tile.sel { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft), var(--shadow); }
.mp-tile .tpic { aspect-ratio: 4 / 3; background: #f4ede3; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); }
.mp-tile .tpic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mp-tile .tini { font-size: 2.4rem; font-weight: 800; color: #b8a994; }
.mp-tile .tbody { flex: 1; display: flex; flex-direction: column; gap: .4rem; padding: .55rem .65rem .6rem; }
.mp-tile .tn {
  font-weight: 700; line-height: 1.22; font-size: .98rem; min-height: 2.44em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mp-tile .tfoot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: .35rem; flex-wrap: wrap; }
.mp-tile .tp { color: var(--brand); font-weight: 800; font-size: 1.02rem; line-height: 1.1; white-space: nowrap; }
.mp-tile .tp small { display: block; color: var(--muted); font-size: .68rem; font-weight: 600; margin-bottom: .1rem; }
.mp-tile .tq {
  position: absolute; top: .45rem; right: .45rem; background: var(--brand); color: #fff; border-radius: 999px;
  min-width: 1.9rem; height: 1.9rem; padding: 0 .45rem; display: flex; align-items: center; justify-content: center;
  font-weight: 800; box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.mp-tile .tbtns { display: flex; gap: .25rem; margin-left: auto; }
.mp-tile .tbtn { border: 1px solid var(--line); background: #fff; border-radius: 8px; min-height: 1.9rem; padding: 0 .5rem; font-weight: 700; font-size: .78rem; cursor: pointer; }
.mp-tile .tdec { min-width: 2.1rem; font-size: 1.2rem; line-height: 1; color: var(--bad); }

/* ---------- licenca ---------- */
.licwarn { display: block; background: var(--warn-soft); color: var(--warn); font-weight: 700; text-align: center; padding: .45rem .8rem; text-decoration: none; border-bottom: 1px solid #f3d38a; }
.lic-code { font-family: ui-monospace, Consolas, monospace; font-size: 2rem; font-weight: 800; letter-spacing: .12em; text-align: center; background: #fff; border: 2px dashed var(--line); border-radius: 12px; padding: .6rem; user-select: all; }
.lic-key { font-family: ui-monospace, Consolas, monospace; font-size: 1.3rem; letter-spacing: .08em; text-transform: uppercase; text-align: center; }

/* ---------- PizzaWeb ---------- */
.pw-logo { font-weight: 900; font-size: 1.3rem; color: var(--brand); letter-spacing: .02em; }

/* ---------- balcao e delivery ---------- */
.orderbox { display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-start; background: var(--brand-soft); border: 1px solid #f6c9ad; border-radius: 12px; padding: .75rem .9rem; }
.orderbox a { color: var(--ink); text-decoration: none; font-weight: 600; }
.steps { display: flex; flex-wrap: wrap; gap: .25rem; }
.step { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .3rem .65rem; font-size: .8rem; font-weight: 700; cursor: pointer; color: var(--muted); }
.step.on { background: #fde3d2; color: var(--brand); border-color: #f6c9ad; }
.step.cur { background: var(--brand); color: #fff; border-color: var(--brand); }
.dst { font-weight: 700; }
.dst.novo { color: var(--info); } .dst.preparo { color: var(--warn); } .dst.pronto { color: var(--ok); } .dst.saiu { color: var(--brand); } .dst.entregue { color: var(--muted); }
.sugs { display: flex; flex-direction: column; gap: .3rem; }
.sugs:empty { display: none; }
.sug { text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: .45rem .7rem; cursor: pointer; }
.sug:hover { border-color: var(--brand); }
/* painel de entregas */
.dboard { display: grid; grid-template-columns: repeat(4, minmax(15rem, 1fr)); gap: .8rem; padding: .9rem; align-items: start; overflow-x: auto; }
.dcol { background: #ece6dc; border-radius: 14px; padding: .6rem; min-height: 60vh; }
.dcol h3 { margin: .1rem .3rem .6rem; display: flex; justify-content: space-between; }
.dcard { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .65rem .75rem; margin-bottom: .6rem; box-shadow: var(--shadow); }
.dcard.late { border-color: var(--bad); box-shadow: 0 0 0 2px var(--bad-soft); }
.dcard .top { display: flex; justify-content: space-between; align-items: baseline; gap: .4rem; }
.dcard .num { font-weight: 800; font-size: 1.1rem; }
.dcard .acts { display: flex; gap: .3rem; flex-wrap: wrap; margin-top: .5rem; }
@media (max-width: 860px) { .dboard { grid-template-columns: 1fr; } .dcol { min-height: 0; } }
