:root {
  --bg: #f1f5f9;
  --surface: #ffffff;
  --surface2: #f8fafc;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --light: #94a3b8;
  --accent: #16a34a;
  --accent-hover: #15803d;
  --accent-soft: #f0fdf4;
  --accent-border: #bbf7d0;
  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --danger-border: #fecaca;
  --warn: #d97706;
  --warn-soft: #fffbeb;
  --warn-border: #fde68a;
  --info: #2563eb;
  --info-soft: #eff6ff;
  --info-border: #bfdbfe;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 1px 3px rgba(15, 23, 42, .08), 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--info); }

.ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ic-sm { width: 13px; height: 13px; }
.ic-lg { width: 20px; height: 20px; }
.muted { color: var(--muted); }
.tiny { font-size: 12px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.num { font-variant-numeric: tabular-nums; }
.hide { display: none !important; }

/* topo */
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.top-in { max-width: 1240px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 20px; height: 60px; }
.marca { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; white-space: nowrap; }
.marca .logo { width: 32px; height: 32px; border-radius: 9px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  border: 0; background: transparent; padding: 8px 12px; border-radius: 8px; cursor: pointer;
  color: var(--muted); font-weight: 500; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
}
.tab:hover { background: var(--surface2); color: var(--text); }
.tab.on { background: var(--accent-soft); color: var(--accent-hover); font-weight: 600; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 24px 20px 60px; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.head h1 { margin: 0; font-size: 22px; letter-spacing: -.01em; }
.head p { margin: 2px 0 0; color: var(--muted); }
.head .acoes { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  padding: 8px 14px; border-radius: 9px; font-weight: 600; font-size: 13.5px; cursor: pointer;
  transition: background .12s, border-color .12s; white-space: nowrap; text-decoration: none;
}
.btn:hover { background: var(--surface2); border-color: #cbd5e1; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.prim { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.prim:hover { background: var(--accent-hover); }
.btn.perigo { color: var(--danger); }
.btn.perigo:hover { background: var(--danger-soft); border-color: var(--danger-border); }
.btn.sm { padding: 5px 10px; font-size: 12.5px; border-radius: 8px; }
.btn.icone { padding: 7px; }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--surface2); }

/* cartões */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border-light); }
.card-h h2 { margin: 0; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.card-b { padding: 16px 18px; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow-sm); }
.kpi.sel { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent); }
.kpi .l { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.kpi .v { font-size: 24px; font-weight: 700; margin-top: 3px; letter-spacing: -.01em; }
.kpi .s { font-size: 12px; color: var(--muted); }
@media (max-width: 860px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.grid2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
@media (max-width: 960px) { .grid2 { grid-template-columns: 1fr; } }

/* selos */
.selo { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface2); color: var(--muted); white-space: nowrap; }
.selo.ok { background: var(--accent-soft); border-color: var(--accent-border); color: var(--accent-hover); }
.selo.warn { background: var(--warn-soft); border-color: var(--warn-border); color: #b45309; }
.selo.erro { background: var(--danger-soft); border-color: var(--danger-border); color: #b91c1c; }
.selo.info { background: var(--info-soft); border-color: var(--info-border); color: #1d4ed8; }
.dot { width: 8px; height: 8px; border-radius: 99px; background: var(--light); display: inline-block; flex-shrink: 0; }
.dot.on { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.dot.pulsa { animation: pulsa 1.2s infinite; }
@keyframes pulsa { 50% { opacity: .35; } }

/* linha do dia */
.dia { display: flex; flex-direction: column; gap: 10px; }
.slot { display: grid; grid-template-columns: 62px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.slot .h { font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.slot .h small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.slot.futuro { background: var(--surface2); border-style: dashed; }
.slot.agora { border-color: var(--accent-border); background: var(--accent-soft); }
.slot .t { font-weight: 600; }
.slot .c { font-size: 12.5px; color: var(--muted); }
.slot .thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--surface2); border: 1px solid var(--border); }
.barra { height: 6px; border-radius: 99px; background: var(--border-light); overflow: hidden; margin-top: 6px; }
.barra > span { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width .4s; }

/* postagens */
.filtros { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; font-size: 12.5px; padding: 5px 11px; border-radius: 7px; color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--text); color: #fff; font-weight: 600; }
.seg button .n { opacity: .6; margin-left: 4px; font-size: 11px; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.post { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.post .img { aspect-ratio: 16 / 10; background: var(--surface2) center / cover no-repeat; position: relative; display: grid; place-items: center; color: var(--light); }
.post .img .selo { position: absolute; top: 10px; left: 10px; box-shadow: var(--shadow-sm); }
.post .corpo { padding: 12px 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.post .cli { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.post .tit { font-weight: 700; font-size: 15px; line-height: 1.3; }
.post .txt { font-size: 12.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.post .meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-top: auto; padding-top: 6px; }
.post .meta span { display: inline-flex; align-items: center; gap: 4px; }
.post .rod { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--border-light); background: var(--surface2); }
.post.pausada { opacity: .7; }

/* tabelas */
.tabela { width: 100%; border-collapse: collapse; }
.tabela th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; padding: 10px 14px; background: var(--surface2); border-bottom: 1px solid var(--border); white-space: nowrap; }
.tabela td { padding: 11px 14px; border-bottom: 1px solid var(--border-light); vertical-align: middle; }
.tabela tr:last-child td { border-bottom: 0; }
.tabela .r { text-align: right; }
.rolagem { overflow-x: auto; }
.vazio { padding: 36px 16px; text-align: center; color: var(--muted); }
.vazio .ic { width: 28px; height: 28px; color: var(--light); margin-bottom: 6px; }

/* formulários */
.campo { display: flex; flex-direction: column; gap: 5px; }
.campo > label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.campo .ajuda { font-size: 12px; color: var(--light); }
.inp {
  width: 100%; border: 1px solid var(--border); border-radius: 9px; padding: 9px 11px; background: var(--surface);
  outline: none; transition: border-color .12s, box-shadow .12s;
}
.inp:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea.inp { resize: vertical; min-height: 120px; line-height: 1.45; }
.linha { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.form { display: flex; flex-direction: column; gap: 14px; }
.chave { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.chave input { display: none; }
.chave .trilho { width: 38px; height: 22px; border-radius: 99px; background: #cbd5e1; position: relative; transition: background .15s; flex-shrink: 0; }
.chave .trilho::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 99px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .15s; }
.chave input:checked + .trilho { background: var(--accent); }
.chave input:checked + .trilho::after { transform: translateX(16px); }

.horas { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px; }
.hora { border: 1px solid var(--border); background: var(--surface); border-radius: 9px; padding: 9px 0; font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums; }
.hora.on { background: var(--accent); border-color: var(--accent); color: #fff; }

.upload { border: 1.5px dashed var(--border); border-radius: var(--radius); padding: 14px; display: flex; gap: 14px; align-items: center; cursor: pointer; background: var(--surface2); }
.upload:hover { border-color: var(--accent); }
.upload img { width: 88px; height: 88px; border-radius: 9px; object-fit: cover; border: 1px solid var(--border); }
.upload .vaz { width: 88px; height: 88px; border-radius: 9px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--light); }

/* prévia estilo WhatsApp */
.zap { background: #efeae2; border-radius: var(--radius); padding: 14px; min-height: 100%; }
.zap .bolha { background: #fff; border-radius: 8px; padding: 4px; max-width: 320px; box-shadow: 0 1px .5px rgba(0, 0, 0, .13); }
.zap .bolha img { width: 100%; border-radius: 6px; display: block; }
.zap .bolha .tx { padding: 6px 7px 2px; font-size: 13.5px; white-space: pre-wrap; word-break: break-word; }
.zap .bolha .hr { text-align: right; font-size: 11px; color: #667781; padding: 0 6px 2px; }

/* modal */
.modal { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); display: none; align-items: flex-start; justify-content: center; padding: 40px 16px; z-index: 50; overflow-y: auto; }
.modal.aberto { display: flex; }
.modal .caixa { background: var(--surface); border-radius: var(--radius-lg); width: 100%; max-width: 560px; box-shadow: var(--shadow-lg); }
.modal .caixa.larga { max-width: 940px; }
.modal .mh { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border-light); }
.modal .mh h3 { margin: 0; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.modal .mb { padding: 18px 20px; }
.modal .mf { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--border-light); background: var(--surface2); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.cols-post { display: grid; grid-template-columns: 1fr 300px; gap: 18px; }
@media (max-width: 780px) { .cols-post { grid-template-columns: 1fr; } }

/* gráfico */
.grafico { display: flex; align-items: flex-end; gap: 3px; height: 150px; padding-top: 8px; }
.grafico .b { flex: 1; background: var(--accent); border-radius: 4px 4px 0 0; min-height: 2px; position: relative; opacity: .85; }
.grafico .b:hover { opacity: 1; }
.grafico .b.zero { background: var(--border); }
.eixo { display: flex; justify-content: space-between; font-size: 11px; color: var(--light); margin-top: 6px; }

/* aviso e toast */
.aviso { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--warn-border); background: var(--warn-soft); color: #92400e; margin-bottom: 16px; }
.aviso.erro { border-color: var(--danger-border); background: var(--danger-soft); color: #991b1b; }
.aviso.ok { border-color: var(--accent-border); background: var(--accent-soft); color: #166534; }
.aviso .btn { margin-left: auto; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--text); color: #fff; padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: all .2s; z-index: 80; font-weight: 500; max-width: calc(100% - 32px); }
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.erro { background: var(--danger); }

/* login */
.login { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login .card { width: 100%; max-width: 380px; padding: 28px; }
.login h1 { margin: 14px 0 4px; font-size: 20px; }

@media (max-width: 640px) {
  .top-in { gap: 10px; padding: 0 12px; }
  .marca span { display: none; }
  .wrap { padding: 18px 14px 50px; }
  .slot { grid-template-columns: 50px 1fr; }
  .slot > :last-child { grid-column: 1 / -1; }
}

/* cidades */
.cidades-sel { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.cid { border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 5px 11px; font-size: 12.5px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.cid small { color: var(--light); }
.cid.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-hover); font-weight: 600; }
.cid.on small { color: var(--accent-hover); opacity: .7; }
.escolhas { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.escolha { display: flex; gap: 10px; align-items: center; min-width: 0; }
.escolha .thumb { width: 36px; height: 36px; }
.escolha .cid-txt { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.corrigida { border-color: var(--info-border) !important; background: var(--info-soft) !important; }

/* horários do cliente */
.hora { position: relative; }
.hora small { position: absolute; top: -7px; right: -5px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--warn); color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; padding: 0 4px; }
.hora.on small { background: var(--text); }
.mini-horas { display: flex; gap: 4px; flex-wrap: wrap; }
.mini-horas span { font-size: 11.5px; font-weight: 700; padding: 1px 7px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-hover); }
.mini-horas.padrao span { background: var(--surface2); color: var(--muted); }

/* celular: menu embaixo */
.baixo, .folha { display: none; }
@media (max-width: 760px) {
  .top .tabs, .top #sair { display: none; }
  .top-in { height: 54px; }
  .marca span { display: inline !important; }
  .wrap { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .baixo {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--surface); border-top: 1px solid var(--border);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 24px rgba(15, 23, 42, .06);
  }
  .baixo button {
    flex: 1; border: 0; background: transparent; color: var(--muted); display: flex; flex-direction: column;
    align-items: center; gap: 3px; padding: 6px 0; border-radius: 10px; font-size: 11px; font-weight: 600; cursor: pointer;
  }
  .baixo button .ic { width: 22px; height: 22px; }
  .baixo button.on { color: var(--accent-hover); }
  .baixo button.on .ic { stroke-width: 2.4; }
  .folha { position: fixed; inset: 0; z-index: 60; background: rgba(15, 23, 42, .4); align-items: flex-end; }
  .folha.aberta { display: flex; }
  .folha-in { width: 100%; background: var(--surface); border-radius: 20px 20px 0 0; padding: 10px 14px calc(18px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 4px; }
  .folha-alca { width: 40px; height: 5px; border-radius: 3px; background: var(--border); margin: 0 auto 8px; }
  .folha button { display: flex; align-items: center; gap: 14px; border: 0; background: transparent; padding: 14px 12px; border-radius: 12px; font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; }
  .folha button.on { background: var(--accent-soft); color: var(--accent-hover); }
  .folha button.perigo { color: var(--danger); }
  .head h1 { font-size: 20px; }
  .head p { font-size: 13px; }
  .modal { padding: 0; align-items: flex-end; }
  .modal .caixa { border-radius: 20px 20px 0 0; max-height: 92vh; overflow-y: auto; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* celular: tabela vira bloco por linha; o rótulo de cada dado vem do cabeçalho (data-label, posto pelo app.js) */
@media (max-width: 760px) {
  .rolagem:has(> .tabela) { background: transparent; border: 0; box-shadow: none; overflow: visible; }
  .rolagem:has(> .tabela) > .card-h { padding: 0 2px 10px; border: 0; }
  .tabela, .tabela tbody, .tabela tr, .tabela td { display: block; width: 100%; }
  .tabela thead { display: none; }
  .tabela tr { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 12px; padding: 12px 14px; box-shadow: var(--shadow-sm); }
  .tabela td { border: 0; padding: 7px 0; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 4px 6px; text-align: right; }
  .tabela td + td { border-top: 1px solid var(--border-light); }
  .tabela td[data-label]::before { margin-right: auto; padding-right: 10px; content: attr(data-label); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); text-align: left; flex-shrink: 0; }
  .tabela td[data-label=""]::before { display: none; }
  .tabela td.r { text-align: right; }
  /* primeira coluna é o título do bloco */
  .tabela td:first-child { display: block; text-align: left; padding-top: 2px; font-size: 15px; }
  .tabela td:first-child::before { display: none; }
  .tabela td > div { min-width: 0; }
  .tabela td .mini-horas { justify-content: flex-end; }
  .tabela td .acts, .tabela td > div[style*="display:flex"] { flex-wrap: wrap; justify-content: flex-end; }
  .tabela td[colspan] { display: block; text-align: center; }
  .tabela td[colspan]::before { display: none; }
  .tabela tr:has(td[colspan]) { box-shadow: none; }
  #bots .tabela tr { box-shadow: none; }
}

/* aprovação das postagens do cliente */
.post .pedido { display: flex; align-items: center; gap: 10px; justify-content: space-between; margin: 0 14px 14px; padding: 9px 11px; border-radius: 10px; background: var(--warn-soft, #fffbeb); border: 1px solid var(--warn-border, #fde68a); font-size: 12.5px; }
.post .pedido.recusado { background: var(--danger-soft); border-color: var(--danger-border); color: var(--danger); }
.analise { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.analise .lado h4 { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.analise .lado .meta-a { font-size: 12.5px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.analise .lado .meta-a b { color: var(--text); }
.analise .lado .mudou { color: var(--accent-hover); font-weight: 600; }

/* funil do site */
.funil .etapa { display: grid; grid-template-columns: minmax(150px, 260px) 1fr 150px; gap: 14px; align-items: center; padding: 7px 0; }
.funil .nome { font-weight: 600; font-size: 13.5px; }
.funil .barra { height: 22px; background: var(--surface2); border-radius: 7px; overflow: hidden; }
.funil .barra i { display: block; height: 100%; background: var(--accent); border-radius: 7px; }
.funil .num { display: flex; gap: 8px; align-items: baseline; }
.funil .num b { font-size: 18px; font-variant-numeric: tabular-nums; }
.funil .num span { font-size: 12px; color: var(--muted); }
#siteGrafico .b .contas { position: absolute; left: 0; right: 0; bottom: 0; background: var(--accent-hover); border-radius: inherit; }
.links-site { display: grid; gap: 8px; }
.link-site { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface2); }
@media (max-width: 760px) { .funil .etapa { grid-template-columns: 1fr auto; } .funil .barra { grid-column: 1 / -1; grid-row: 2; } }

/* uso dos bots */
.bots-uso { display: grid; gap: 14px; }
.bot-uso { padding: 16px 18px; }
.bu-topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.bu-nome { font-weight: 700; display: flex; align-items: center; gap: 6px; }
.bu-barra { height: 6px; background: var(--surface2); border-radius: 4px; margin: 12px 0; overflow: hidden; }
.bu-barra i { display: block; height: 100%; background: var(--accent); }
.bu-nums { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.bu-nums div { display: flex; flex-direction: column; }
.bu-nums b { font-size: 17px; font-variant-numeric: tabular-nums; }
.bu-nums span { font-size: 12px; color: var(--muted); }
.bu-dias { display: flex; align-items: flex-end; gap: 3px; height: 56px; margin-top: 14px; }
.bu-dia { flex: 1; height: 100%; display: flex; flex-direction: column-reverse; background: var(--surface2); border-radius: 3px; overflow: hidden; }
.bu-dia i { display: block; background: var(--accent); }
.bu-dia em { display: block; background: var(--danger); }
.bu-erros { margin-top: 12px; }
.bu-erros summary { cursor: pointer; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.bu-erros div { padding: 4px 0; border-bottom: 1px solid var(--border-light); word-break: break-word; }
