/* SwiftCharge Update 69.9 — scoped WhatsApp inbox and consent controls. */
.signup-communication-consent{margin:8px 0 14px;padding:14px;border:1px solid #d8dde5;border-radius:12px;background:#f8fafc}.signup-communication-consent legend{padding:0 7px;font-weight:750;color:#111827}.signup-communication-consent .terms-consent{align-items:flex-start;margin:8px 0}.signup-communication-consent .terms-consent span{font-size:.88rem;line-height:1.4;color:#4b5563}
.portal-shell .whatsapp-page-toolbar{align-items:flex-end}.portal-shell .whatsapp-config-state{white-space:nowrap}.portal-shell .whatsapp-inbox{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);height:min(720px,calc(100vh - 245px));min-height:520px;border:1px solid #d9dde3;border-radius:14px;overflow:hidden;background:#fff}.portal-shell .whatsapp-conversation-pane{display:flex;min-width:0;flex-direction:column;border-right:1px solid #e3e6eb;background:#f7f8fa}.portal-shell .whatsapp-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px;border-bottom:1px solid #e3e6eb;background:#fff}.portal-shell .whatsapp-search input{min-width:0}.portal-shell .whatsapp-conversation-list{min-height:0;overflow:auto;overscroll-behavior:contain}.portal-shell .whatsapp-conversation{display:grid;width:100%;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:start;padding:14px 12px;border:0;border-bottom:1px solid #e5e7eb;background:transparent;color:#111827;text-align:left;cursor:pointer}.portal-shell .whatsapp-conversation:hover,.portal-shell .whatsapp-conversation:focus-visible{background:#fff}.portal-shell .whatsapp-conversation.active{background:#fff;box-shadow:inset 3px 0 0 #111827}.portal-shell .whatsapp-avatar{display:grid;width:42px;height:42px;place-items:center;flex:none;border-radius:50%;background:#111827;color:#fff;font-size:.78rem;font-weight:800;letter-spacing:.02em}.portal-shell .whatsapp-conversation-copy{display:grid;min-width:0;gap:3px}.portal-shell .whatsapp-conversation-copy strong,.portal-shell .whatsapp-conversation-copy small,.portal-shell .whatsapp-conversation-copy em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.portal-shell .whatsapp-conversation-copy strong{font-size:.92rem}.portal-shell .whatsapp-conversation-copy small{color:#4b5563;font-style:normal}.portal-shell .whatsapp-conversation-copy em{font-size:.72rem;color:#8a919e;font-style:normal}.portal-shell .whatsapp-conversation-meta{display:grid;justify-items:end;gap:5px;font-size:.68rem;color:#77808e}.portal-shell .whatsapp-conversation-meta b{display:grid;min-width:20px;height:20px;padding:0 5px;place-items:center;border-radius:999px;background:#16a34a;color:#fff}.portal-shell .whatsapp-conversation-meta i{font-size:.62rem;font-style:normal;white-space:nowrap}.portal-shell .whatsapp-conversation-meta i.open{color:#15803d}.portal-shell .whatsapp-conversation-meta i.closed{color:#a16207}.portal-shell .whatsapp-chat-pane{display:flex;min-width:0;min-height:0;flex-direction:column;background:#f2f3f5}.portal-shell .whatsapp-chat-empty{display:grid;height:100%;place-content:center;justify-items:center;padding:32px;text-align:center;color:#697180}.portal-shell .whatsapp-chat-empty>span{font-size:3rem}.portal-shell .whatsapp-chat-empty h4{margin:8px 0 2px;color:#111827}.portal-shell .whatsapp-chat-header{display:flex;align-items:center;gap:11px;padding:12px 16px;border-bottom:1px solid #dfe3e8;background:#fff}.portal-shell .whatsapp-chat-header>div{min-width:0}.portal-shell .whatsapp-chat-header h4{margin:0;color:#111827}.portal-shell .whatsapp-chat-header p{overflow:hidden;margin:2px 0 0;color:#697180;font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}.portal-shell .whatsapp-window{margin-left:auto;padding:6px 9px;border-radius:999px;font-size:.7rem;font-weight:750;white-space:nowrap}.portal-shell .whatsapp-window.open{background:#dcfce7;color:#166534}.portal-shell .whatsapp-window.closed{background:#fef3c7;color:#92400e}.portal-shell .whatsapp-mobile-back{display:none;border:0;background:transparent;font-size:1.2rem}.portal-shell .whatsapp-message-stream{display:flex;min-height:0;flex:1;flex-direction:column;gap:9px;overflow:auto;padding:20px;overscroll-behavior:contain}.portal-shell .whatsapp-message{max-width:min(76%,640px);padding:10px 12px;border:1px solid #dfe3e8;border-radius:13px;background:#fff;box-shadow:0 1px 2px rgba(17,24,39,.04);overflow-wrap:anywhere}.portal-shell .whatsapp-message.received{align-self:flex-start;border-bottom-left-radius:4px}.portal-shell .whatsapp-message.sent{align-self:flex-end;border-color:#bbf7d0;border-bottom-right-radius:4px;background:#eafbf0}.portal-shell .whatsapp-message footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;margin-top:5px;color:#697180;font-size:.66rem}.portal-shell .whatsapp-message .delivery.read,.portal-shell .whatsapp-message .delivery.delivered{color:#15803d}.portal-shell .whatsapp-message .delivery.failed{color:#b91c1c}.portal-shell .whatsapp-composer{padding:12px 16px;border-top:1px solid #dfe3e8;background:#fff}.portal-shell .whatsapp-composer>label{display:block;margin-bottom:5px;font-size:.72rem;font-weight:750;color:#4b5563}.portal-shell .whatsapp-composer textarea{width:100%;min-height:62px;max-height:150px;resize:vertical}.portal-shell .whatsapp-composer>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}.portal-shell .whatsapp-composer small{color:#6b7280}.portal-shell .whatsapp-template-lock{padding:14px 16px;border-top:1px solid #f3d29b;background:#fffbeb;color:#713f12}.portal-shell .whatsapp-template-lock p{margin:4px 0 0;font-size:.8rem}.portal-shell .whatsapp-template-lock strong{color:#713f12}
@media(max-width:760px){.portal-shell .whatsapp-inbox{display:block;height:calc(100dvh - 215px);min-height:470px}.portal-shell .whatsapp-conversation-pane,.portal-shell .whatsapp-chat-pane{height:100%;border:0}.portal-shell .whatsapp-chat-pane{display:none}.portal-shell .whatsapp-inbox.chat-open .whatsapp-conversation-pane{display:none}.portal-shell .whatsapp-inbox.chat-open .whatsapp-chat-pane{display:flex}.portal-shell .whatsapp-mobile-back{display:inline-grid;place-items:center}.portal-shell .whatsapp-window{font-size:0}.portal-shell .whatsapp-window::after{content:'Open';font-size:.67rem}.portal-shell .whatsapp-window.closed::after{content:'Template only'}.portal-shell .whatsapp-message{max-width:88%}.portal-shell .whatsapp-message-stream{padding:14px 10px}.portal-shell .whatsapp-composer{padding:10px}.portal-shell .whatsapp-composer small{display:none}.portal-shell .whatsapp-page-toolbar{align-items:flex-start}.portal-shell .whatsapp-config-state{margin-top:8px}}
