/* Painel de vendas WebFly, no estilo do Agro Berna: monocromático escuro com verde de destaque. */
:root {
  --bg: #080808; --sidebar: #111; --card: #161616; --surface: #242424; --border: #ffffff10; --border-2: #ffffff1c;
  --text: #f5f5f5; --muted: #a3a3a3; --muted-2: #8a8a8a; --verde: #22c55e; --verde-2: #4ade80; --verde-fundo: #16803c;
  --curva: cubic-bezier(.23, 1, .32, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { font: 14px/1.5 "Inter", system-ui, sans-serif; color: var(--text); background: radial-gradient(ellipse 65% 390px at 66% -70px, #5a5a5a 0%, #333 25%, #161616 56%, var(--bg) 100%) fixed, var(--bg); min-height: 100svh; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--verde-2); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
svg.lucide { width: 16px; height: 16px; stroke-width: 1.8; flex: none; }

/* barra lateral */
.sidebar { position: fixed; inset: 0 auto 0 0; width: 220px; display: flex; flex-direction: column; padding: 18px 12px 14px; background: linear-gradient(160deg, #191919 0%, #0c0c0c 37%, #111 100%); border-right: 1px solid #ffffff08; z-index: 20; }
.marca-loja { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; background: #ffffff05; border: 1px solid #ffffff0a; margin-bottom: 8px; }
.loja-ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; color: #111; flex: none; }
.marca-loja b { display: block; font-size: 13px; line-height: 1.2; }
.marca-loja small { font-size: 11px; color: var(--muted-2); }
.nav-label { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #777; margin: 16px 10px 6px; }
.sidebar nav button { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--muted); font-size: 13px; text-align: left; transition: background-color 160ms, color 160ms; }
.sidebar nav button svg { color: #8a8a8a; }
.sidebar nav button.ativo { background: linear-gradient(120deg, #383838, #292929); box-shadow: inset 0 1px 0 #ffffff12; color: #fff; }
.sidebar nav button.ativo svg { color: #fff; }
@media (hover: hover) and (pointer: fine) { .sidebar nav button:not(.ativo):hover { background: #ffffff08; color: #fff; } }
.sidebar-fim { margin-top: auto; border-top: 1px solid var(--border); padding-top: 10px; display: grid; gap: 8px; }
.voltar-site { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 13px; }
@media (hover: hover) and (pointer: fine) { .voltar-site:hover { color: #fff; background: #ffffff08; } }
.usuario { display: flex; align-items: center; gap: 10px; padding: 6px 10px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, #424242, #171717); border: 1px solid #ffffff13; font-weight: 600; font-size: 13px; }
.usuario b { display: block; font-size: 12px; font-weight: 600; }
.usuario small { font-size: 11px; color: var(--muted-2); }

/* topo */
.main { margin-left: 220px; min-width: 0; }
.topbar { height: 64px; display: flex; align-items: center; gap: 16px; padding: 0 26px; }
.trilha { font-size: 12px; color: var(--muted-2); white-space: nowrap; }
.trilha b { color: var(--text); font-weight: 600; }
.busca { display: flex; align-items: center; gap: 8px; margin: 0 auto; width: 320px; padding: 0 14px; border-radius: 24px; background: #ffffff0a; border: 1px solid #ffffff10; box-shadow: inset 0 1px 1px #ffffff09; color: var(--muted-2); }
.busca input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; font-size: 16px; padding: 9px 0; color: var(--text); }
.busca input::placeholder { color: #777; font-size: 13px; }
.top-acoes { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.top-acoes select { min-height: 44px; padding: 0 12px; border-radius: 10px; background: #1b1b1b; border: 1px solid var(--border-2); font-size: 16px; color: var(--text); }
.top-acoes select option { background: #202020; color: #f5f5f5; }
.ico-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #ffffff0a; border: 1px solid var(--border); color: var(--muted); }
.ico-btn:active { transform: scale(.95); }
.ico-btn em { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; background: var(--verde); color: #04130a; font: 700 11px/18px "Inter", sans-serif; font-style: normal; }

.faixa-demo { margin: 0 26px 6px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; padding: 8px 14px; border-radius: 10px; background: #12261a; border: 1px solid #22c55e2b; color: #b8dcc3; font-size: 12.5px; }
.faixa-demo b { color: #d6f5df; }
.faixa-acoes { display: flex; gap: 4px 16px; flex-wrap: wrap; align-items: center; }
.faixa-demo a { color: var(--verde-2); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.faixa-demo a.quero { padding: 0 14px; border-radius: 999px; background: var(--verde-fundo); color: #fff; }

/* conteúdo */
.conteudo { padding: 12px 26px 40px; max-width: 1600px; }
.cab-pagina { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.cab-pagina h1 { font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.desc { color: var(--muted-2); font-size: 13px; margin-top: 2px; }
.saldo > small { color: var(--muted); font-size: 12px; }
.saldo-valor { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.saldo-valor strong { font-size: clamp(30px, 4vw, 40px); font-weight: 600; letter-spacing: -.05em; font-variant-numeric: tabular-nums; line-height: 1.3; }
.saldo-valor span { font-size: 11.5px; padding: 4px 8px; border-radius: 6px; background: #ffffff0b; color: #c6c6c6; }
.saldo-valor span.sobe { background: #1d2c20; color: #94d6a6; }
.saldo-valor span.desce { background: #3a1d1d; color: #ff9b9b; }
.saldo-det { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 12px; margin-top: 2px; }
.saldo-det span { display: inline-flex; align-items: center; gap: 6px; }
.saldo-det b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.ponto { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.ponto.verde { background: var(--verde-2); } .ponto.branco { background: #ccc; }
.periodo { display: flex; gap: 3px; padding: 4px; border-radius: 10px; border: 1px solid var(--border); background: #ffffff04; }
.periodo button { min-height: 44px; padding: 0 14px; border-radius: 7px; color: var(--muted); font-size: 13px; }
.periodo button.sel { background: #2b3930; color: #b4e4c2; box-shadow: inset 0 1px 0 #ffffff08; }

.metricas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.metrica { position: relative; isolation: isolate; overflow: hidden; min-height: 118px; padding: 15px 17px; border-radius: 13px; border: 1px solid #ffffff08; border-top-color: #ffffff14; background: radial-gradient(ellipse at 100% 0%, #3d3d3d 0%, transparent 70%), linear-gradient(145deg, #222, #101010 75%); }
.metrica::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .14; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' opacity='.6' filter='url(%23n)' d='M0 0h160v160H0z'/%3E%3C/svg%3E"); mask-image: linear-gradient(135deg, transparent 35%, black); }
.metrica p { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #c2c2c2; }
.metrica strong { display: block; font-size: 26px; font-weight: 550; letter-spacing: -.04em; margin: 22px 0 2px; font-variant-numeric: tabular-nums; }
.metrica small { font-size: 11.5px; color: var(--muted-2); }

.painel { border: 1px solid #ffffff06; border-radius: 14px; background: linear-gradient(145deg, #202020 0%, #161616 65%, #121212 100%); box-shadow: 0 5px 18px #0002; min-width: 0; }
.painel-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 16px 18px 0; }
.painel-cab p { font-size: 12px; color: var(--muted); }
.painel-cab h2 { font-size: 22px; font-weight: 550; letter-spacing: -.04em; }
.painel-cab h2.peq { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.painel-cab small { color: var(--muted-2); font-size: 12px; }
.mini { font-size: 11px; background: #ffffff08; color: #a0a0a0; padding: 4px 8px; border-radius: 5px; }
.legenda { display: flex; gap: 12px; font-size: 11.5px; color: var(--muted); }
.legenda span { display: inline-flex; align-items: center; gap: 6px; }
.legenda i { width: 7px; height: 7px; border-radius: 50%; } .legenda i.verde { background: var(--verde); } .legenda i.cinza { background: #777; }
.link { color: var(--muted); font-size: 12px; min-height: 44px; margin-top: -12px; padding: 0 4px; text-decoration: underline; text-underline-offset: 3px; }

.graficos { display: grid; grid-template-columns: 1.65fr 1.05fr; gap: 14px; }
.grafico { position: relative; height: 220px; margin: 10px 12px 12px; }
.grafico svg { width: 100%; height: 100%; display: block; overflow: visible; touch-action: pan-y; }
.grafico .grade { stroke: #ffffff0c; stroke-dasharray: 3 4; }
.grafico .anterior { fill: none; stroke: #6b6b6b; stroke-width: 1.4; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.grafico .atual { fill: none; stroke: var(--verde); stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.grafico .desenha { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: traca 1.2s var(--curva) forwards; }
@keyframes traca { to { stroke-dashoffset: 0; } }
.grafico text { fill: #777; font-size: 11px; }
.dica { position: absolute; transform: translate(-50%, calc(-100% - 10px)); padding: 6px 10px; border-radius: 8px; background: #262626; border: 1px solid var(--border-2); font-size: 12px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s; font-variant-numeric: tabular-nums; }
.dica b { display: block; color: var(--muted); font-weight: 500; font-size: 11px; }
.dica.on { opacity: 1; }
.barras { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 100%; align-items: end; padding: 0 6px; }
.barra { display: grid; grid-template-rows: 1fr auto; height: 100%; gap: 6px; text-align: center; }
.barra span { align-self: end; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #4a4a4a, #2a2a2a); transform-origin: bottom; animation: cresce .7s var(--curva) both; }
.barra.top span { background: linear-gradient(180deg, var(--verde-2), #16803c); }
@keyframes cresce { from { transform: scaleY(0.05); } }
.barra small { color: #888; font-size: 11px; }

.baixo { display: grid; grid-template-columns: 1.3fr 1.1fr .9fr; gap: 14px; margin-top: 14px; }
.atividade { list-style: none; padding: 8px 0 10px; }
.atividade li { display: flex; align-items: center; gap: 10px; padding: 9px 16px; transition: background-color .6s; }
.atividade li.nova { background: #1d2c20; }
.ativ-ico { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; background: linear-gradient(145deg, #454545, #282828); border: 1px solid #ffffff0a; color: #ddd; }
.ativ-txt { flex: 1; min-width: 0; }
.ativ-txt b { display: block; font-size: 12.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ativ-txt small { font-size: 11px; color: var(--muted-2); }
.atividade strong { font-size: 12.5px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.canais { padding: 18px 18px 8px; }
.faixa-pag { display: flex; gap: 3px; height: 10px; border-radius: 10px; overflow: hidden; margin-bottom: 14px; }
.faixa-pag i { display: block; min-width: 4px; }
.pag-leg { list-style: none; display: grid; }
.pag-leg li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #ffffff08; }
.pag-leg li:last-child { border: 0; }
.pag-leg i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.pag-leg span { flex: 1; font-size: 13px; }
.pag-leg small { display: block; font-size: 11px; color: var(--muted-2); }
.pag-leg b { font-weight: 500; font-variant-numeric: tabular-nums; }
.calor { padding: 16px 16px 6px; overflow-x: auto; }
.calor-grade { display: grid; grid-template-columns: 30px repeat(var(--cols), minmax(10px, 1fr)); gap: 3px; align-items: center; min-width: 220px; }
.calor-grade small { font-size: 10px; color: #777; text-align: center; white-space: nowrap; }
.calor-grade i { aspect-ratio: 1; border-radius: 3px; background: #262626; position: relative; }
.calor-grade i::after { content: ""; position: absolute; inset: 0; border-radius: 3px; background: var(--verde-2); opacity: var(--a); }
.calor-leg { display: flex; justify-content: flex-end; align-items: center; gap: 4px; padding: 4px 16px 14px; }
.calor-leg small { font-size: 10px; color: #777; }
.calor-leg i { width: 9px; height: 9px; border-radius: 2px; background: #2a3a2f; } .calor-leg i:nth-of-type(2) { background: #2f8a4f; } .calor-leg i:nth-of-type(3) { background: var(--verde-2); }

/* vendas */
.acoes-pg { display: flex; gap: 8px; }
.btn-sec { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 10px; background: #ffffff0a; border: 1px solid var(--border-2); font-size: 13px; }
.btn-sec:active { transform: scale(.97); }
.abas-status { display: flex; gap: 3px; padding: 4px; border: 1px solid var(--border); background: #ffffff03; border-radius: 10px; width: max-content; max-width: 100%; overflow-x: auto; margin-bottom: 12px; }
.abas-status button { min-height: 40px; padding: 0 14px; border-radius: 7px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.abas-status button[aria-selected="true"] { background: #2b3930; color: #b4e4c2; }
.tabela-wrap { overflow-x: auto; }
.tabela { width: 100%; border-collapse: collapse; font-size: 13px; }
.tabela th { text-align: left; font-weight: 500; color: var(--muted-2); font-size: 11.5px; padding: 12px 16px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.tabela td { padding: 11px 16px; border-bottom: 1px solid #ffffff07; vertical-align: middle; }
.tabela td small { display: block; color: #777; font-size: 11px; }
.tabela td.itens { max-width: 260px; color: #cfcfcf; }
.tabela .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tabela tr.nova td { background: #1d2c20; }
.tabela tfoot td { color: var(--text); font-weight: 600; border-top: 1px solid var(--border); background: #ffffff03; }
.tabela .vazio { text-align: center; color: var(--muted-2); padding: 40px; }
.status { display: inline-flex; align-items: center; white-space: nowrap; font-size: 11.5px; padding: 5px 9px; border-radius: 6px; background: #282e2a; color: #a9b5ad; }
.status.paga, .status.fiel { background: #1c3826; color: #95d5a9; }
.status.areceber { background: #3a301a; color: #f1c66b; min-height: 32px; }
button.status.areceber { cursor: pointer; }
button.status.areceber::after { content: " · receber"; color: #c9a14f; }
.status.cancelada, .status.sumido { background: #2a2a2a; color: #999; }
.status.novo { background: #1d2a3a; color: #9cc5f1; }

/* produtos e relatórios */
.duas { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.ranking { padding: 8px 18px 14px; }
.rank { display: flex; gap: 14px; padding: 11px 0; }
.pos { min-width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #ffffff10; border-radius: 6px; font-size: 12px; color: #7f9187; }
.rank > div { flex: 1; min-width: 0; }
.rank-l { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.rank-l b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-l strong { font-weight: 500; font-variant-numeric: tabular-nums; }
.trilho { height: 6px; border-radius: 9px; background: #ffffff08; overflow: hidden; }
.trilho i { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, #25623d, #48b172); transform-origin: left; animation: enche .8s var(--curva) both; }
@keyframes enche { from { transform: scaleX(0); } }
.rank small { display: block; color: #848e87; font-size: 11px; margin-top: 6px; }
.alertas { list-style: none; padding: 10px 14px 16px; display: grid; gap: 8px; }
.alertas li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 10px; background: #ffffff05; border: 1px solid #ffffff0a; font-size: 13px; color: #d4d4d4; }
.alertas li svg { margin-top: 2px; color: var(--muted); }
.alertas li.amber { background: #2a2416; border-color: #f1c66b22; } .alertas li.amber svg { color: #f1c66b; }
.alertas li.green { background: #17261b; border-color: #4ade8022; } .alertas li.green svg { color: var(--verde-2); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.kpi { padding: 18px 20px; border-radius: 12px; border: 1px solid var(--border); background: linear-gradient(135deg, #242424, #151515); }
.kpi p { color: #aaa; font-size: 12px; }
.kpi strong { display: block; font-size: 26px; font-weight: 550; letter-spacing: -.04em; margin: 16px 0 6px; font-variant-numeric: tabular-nums; }
.kpi small { color: #8c948e; font-size: 11.5px; }
.kpi.recebido { background: linear-gradient(135deg, #233b2b, #15251b); border-color: #36523e; }
.kpi.recebido strong { color: #9cddb2; }
.pag-total { display: flex; align-items: baseline; gap: 10px; padding: 14px 18px 12px; }
.pag-total strong { font-size: 34px; font-weight: 500; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.pag-total span { color: var(--muted-2); font-size: 12px; }
#faixa-pag { margin: 0 18px 12px; }
#pag-leg { padding: 0 18px 14px; }

#toast { position: fixed; z-index: 60; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 150%); padding: 12px 16px; border-radius: 12px; background: #1d2c20; border: 1px solid #36523e; color: #d6f5df; font-size: 13px; box-shadow: 0 14px 30px -10px #000a; opacity: 0; transition: transform .45s var(--curva), opacity .3s; max-width: calc(100% - 32px); text-align: center; }
#toast.on { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 1150px) {
  .sidebar { width: 190px; } .main { margin-left: 190px; }
  .metricas, .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .baixo { grid-template-columns: 1fr 1fr; } .baixo .painel:first-child { grid-column: 1 / -1; }
  .busca { width: 220px; }
}
@media (max-width: 860px) {
  .graficos, .duas { grid-template-columns: 1fr; }
  .busca { display: none; }
}
@media (max-width: 700px) {
  .sidebar { width: 64px; padding: 12px 6px; }
  .main { margin-left: 64px; }
  .marca-loja { padding: 6px; justify-content: center; background: none; border: 0; }
  .marca-loja > div, .sidebar nav span, .nav-label, .voltar-site span, .usuario > div { display: none; }
  .sidebar nav button, .voltar-site { justify-content: center; padding: 0; }
  .sidebar nav button svg, .voltar-site svg { width: 20px; height: 20px; }
  .usuario { justify-content: center; padding: 6px 0; }
  .topbar { padding: 0 12px; height: 56px; gap: 8px; }
  .trilha span { display: none; }
  .top-acoes select { max-width: 150px; }
  .faixa-demo { margin: 0 12px 6px; }
  .conteudo { padding: 10px 12px 40px; }
  .baixo { grid-template-columns: 1fr; }
  .metrica strong { font-size: 22px; margin-top: 16px; }
  .tabela td.itens, .tabela th:nth-child(3), .tabela td:nth-child(4), .tabela th:nth-child(4), .tabela td:nth-child(5), .tabela th:nth-child(5) { display: none; }
  .tabela tfoot td:first-child { display: table-cell; }
}
/* pedidos: fila do dia em colunas */
.sidebar nav button { position: relative; }
.bolinha { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: #ef4444; color: #fff; font: 700 11px/20px "Inter", sans-serif; font-style: normal; text-align: center; }
.fila-rot { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #f87171; margin-bottom: 6px; }
.fila-cab h1 { font-size: clamp(24px, 3vw, 32px); }
.btn-sec.texto { background: none; border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.filtros-fila { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; gap: 10px; align-items: end; margin-bottom: 16px; }
.filtros-fila label { display: grid; gap: 6px; font-size: 11.5px; color: var(--muted); font-weight: 500; }
.filtros-fila input, .filtros-fila select { min-height: 44px; padding: 0 12px; border-radius: 10px; background: #141414; border: 1px solid var(--border-2); color: var(--text); font-size: 16px; color-scheme: dark; min-width: 0; }
.filtros-fila select option { background: #202020; }
.filtro-botoes { display: flex; gap: 4px; }
.colunas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; align-items: start; }
.coluna { border-radius: 14px; background: linear-gradient(160deg, #1c1c1c, #131313); border: 1px solid #ffffff08; border-top: 3px solid var(--c); min-height: 260px; display: flex; flex-direction: column; }
.coluna header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px dashed #ffffff14; }
.coluna header span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.coluna header i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.coluna header b { min-width: 26px; height: 22px; padding: 0 7px; border-radius: 7px; border: 1px solid var(--border-2); display: grid; place-items: center; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.coluna-lista { padding: 12px; display: grid; gap: 10px; }
.vazio-col { border: 1px dashed #ffffff1c; border-radius: 10px; padding: 26px 12px; text-align: center; color: var(--muted-2); font-size: 13px; }
.pedido { border-radius: 12px; background: #1f1f1f; border: 1px solid #ffffff0f; padding: 12px 14px; display: grid; gap: 8px; animation: cai-pedido .45s var(--curva) both; }
.pedido.chegou { border-color: #ef444466; box-shadow: 0 0 0 3px #ef44441f; }
@keyframes cai-pedido { from { opacity: 0; transform: translateY(-8px); } }
.p-topo { display: flex; justify-content: space-between; align-items: baseline; }
.p-topo b { font-size: 15px; }
.p-topo small { color: var(--muted-2); font-size: 12px; }
.p-cli { font-size: 13px; color: #d4d4d4; }
.p-cli span { margin-left: 4px; padding: 2px 7px; border-radius: 5px; background: #ffffff0d; color: var(--muted); font-size: 11px; }
.pedido ul { list-style: none; display: grid; gap: 2px; font-size: 13px; color: #cfcfcf; }
.p-fim { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed #ffffff14; padding-top: 8px; }
.p-fim strong { font-variant-numeric: tabular-nums; }
.p-fim small { color: var(--muted-2); font-size: 12px; }
.p-acoes { display: flex; gap: 6px; }
.p-acoes button { flex: 1; min-height: 44px; border-radius: 9px; font-size: 13px; font-weight: 600; }
.p-acoes button:active { transform: scale(.97); }
.b-ok { background: var(--verde-fundo); color: #fff; }
.b-rec { background: #ffffff0a; border: 1px solid var(--border-2); color: #fca5a5; flex: 0 0 auto !important; padding: 0 12px; }
@media (hover: hover) and (pointer: fine) { .b-ok:hover { background: #21994d; } }
.concluidos .painel-cab { padding-bottom: 10px; }
@media (max-width: 1150px) { .filtros-fila { grid-template-columns: repeat(3, minmax(0, 1fr)); } .filtro-botoes { grid-column: 1 / -1; } }
@media (max-width: 860px) { .colunas { grid-template-columns: 1fr; } .coluna { min-height: 0; } }
@media (max-width: 700px) { .filtros-fila { grid-template-columns: 1fr 1fr; } .bolinha { position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px; line-height: 18px; padding: 0 4px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
