.painel { max-width: 920px; margin: 0 auto; padding: 28px var(--gutter) 64px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; margin-left: 10px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.25); }
.brand-text strong { font: 700 16px var(--head); color: #fff; }
.painel-out { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.login-card {
  max-width: 380px; margin: 8vh auto 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 16px;
}
.login-card h1 { font: 700 30px var(--head); color: var(--navy); margin: 0; }

.push-card {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 14px; padding: 14px 16px; margin-bottom: 18px;
}
.push-card p { margin: 2px 0 0; font-size: 14px; color: var(--muted); max-width: 52ch; }
.board-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.stats { display: flex; flex-wrap: wrap; gap: 8px; }
.stat { font-size: 13px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; color: var(--muted); }
.stat b { color: var(--ink); }
.stat.warn { border-color: #e7b9b2; color: var(--danger); }
.filters { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; }
.filters button { border: 0; background: transparent; color: var(--muted); cursor: pointer; font: 700 13px var(--body); padding: 6px 12px; border-radius: 999px; }
.filters button[aria-pressed="true"] { background: var(--navy); color: #fff; }

.lead-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lead-card { color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.lead-card summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; }
.lead-card summary::-webkit-details-marker { display: none; }
.lead-main strong { display: block; font-size: 16px; }
.lead-main span { color: var(--muted); font-size: 13px; }
.lead-side { text-align: right; font-size: 12px; color: var(--muted); }
.status-pill { display: inline-block; margin-top: 4px; font-weight: 700; color: var(--navy); }
.lead-body { border-top: 1px solid var(--line); padding: 16px; display: grid; gap: 16px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px 16px; margin: 0; }
.facts div { min-width: 0; }
.facts dt { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.facts dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.facts .wide { grid-column: 1 / -1; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.edit { display: grid; gap: 10px; }
.edit select { background: #fff; color: var(--ink); border: 1.5px solid #d6d3c9; border-radius: 10px; padding: 11px; font: 16px var(--body); }
.saved { color: var(--muted); font-size: 13px; }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }
.capi-ok { color: #1e7a46; font-weight: 700; }
.capi-err { color: var(--danger); font-weight: 700; }

.tent-section { margin-top: 36px; }
.tent-title { font: 700 22px var(--head); color: var(--navy); margin: 0; }
.tent-note { color: var(--muted); font-size: 14px; margin: 4px 0 14px; }
.tent-pill { display: inline-block; margin-top: 4px; font-weight: 700; color: var(--danger); }

@media (max-width: 600px) {
  .lead-card summary { grid-template-columns: 1fr; }
  .lead-side { text-align: left; }
}

@media (max-width: 520px) {
  .topbar .brand-text { display: none; }
}
