.risk-banner {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 17px;
  margin: 0 0 18px; border: 1px solid #edcf9a; border-radius: 13px;
  background: #fff7e8; color: #735522; font-size: 12px; line-height: 1.5;
}
.risk-banner strong { white-space: nowrap; }
.connection-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 21px; }
.connection-card header { display: flex; justify-content: space-between; gap: 12px; }
.connection-card h4 { margin: 16px 0 5px; font: 700 17px Manrope; }
.connection-card p { margin: 0; color: var(--muted); font-size: 12px; }
.connection-card footer { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.channel-logo { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: #e4f4e9; color: #17643e; font: 800 14px Manrope; }
.channel-logo.waha { background: #edf0ff; color: #4654a2; }
.badge.working, .badge.configured { background: #e5f2d6; color: #35612d; }
.badge.unreachable, .badge.failed { background: #fbe3df; color: #a03939; }
.badge.scan_qr_code, .badge.starting { background: #fff0d6; color: #93631b; }
.mini-button { border: 0; border-radius: 8px; padding: 8px 10px; background: #edf1eb; color: var(--forest); font-size: 11px; font-weight: 700; cursor: pointer; }
.consent-box { padding: 13px; border: 1px solid #edcf9a; border-radius: 11px; background: #fff8eb; }
.consent-box label { display: flex; grid-template-columns: none; align-items: flex-start; gap: 9px; line-height: 1.45; }
.consent-box input { width: auto; margin-top: 3px; }
.qr-stage { display: grid; justify-items: center; gap: 12px; padding: 20px; border-radius: 14px; background: #f5f7f2; text-align: center; }
.qr-stage img { width: min(320px,75vw); height: min(320px,75vw); object-fit: contain; background: #fff; border-radius: 8px; }
.qr-stage img:not([src]) { visibility: hidden; height: 50px; }
.qr-stage p { margin: 0; }
@media (max-width: 720px) {
  .risk-banner { display: grid; }
  .connection-card footer { align-items: stretch; }
  .mini-button { flex: 1; }
}
