
#view-messagecenter .hero{background:linear-gradient(120deg,#073f38,#0b7a64 55%,#23a879);color:#fff;border-radius:18px;padding:22px;margin-bottom:16px}
#view-messagecenter .hero p{color:#d9fff2}.bp-message-card{border-color:#e0e8e6;box-shadow:0 10px 26px rgba(13,68,59,.08)}
.bp-message-card .section-head h3{margin:0}.bp-message-wa-status{display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:5px 9px;border-radius:999px;background:#e8fff5;color:#087852;font-size:12px;font-weight:var(--w-strong,600)}
.bp-message-row{display:flex;gap:10px;padding:14px 0}.bp-message-row b{line-height:1.4}.bp-message-status{align-self:flex-start;white-space:nowrap;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:var(--w-strong,600);background:#eef3f7;color:#526170}.bp-message-status.sent{background:#dcfce7;color:#167a3d}.bp-message-status.partial{background:#fff4d6;color:#9a6700}.bp-message-status.failed{background:#fee2e2;color:#b42318}.bp-message-status.skipped{background:#edf2f7;color:#51606f}.bp-message-status.sending,.bp-message-status.queued{background:#e6f4ff;color:#1368a8}
.bp-message-quick{padding:13px!important;border:1px solid #cbeee0;border-radius:14px;background:linear-gradient(135deg,#f5fffb,#edf9f5)}.bp-message-quick-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.bp-message-quick-head b{font-size:13px;color:#075c47}.bp-message-quick .bp-message-wa-status{margin:0;font-size:10px;padding:4px 7px}.bp-message-quick label{display:block;margin:10px 0 4px;font-size:10px;font-weight:var(--w-strong,600);color:#385249}.bp-message-quick input,.bp-message-quick select{width:100%;box-sizing:border-box;border:1px solid #c9ddd4;border-radius:9px;background:#fff;padding:8px;font-size:11px}.bp-message-quick-actions{display:flex;gap:7px;margin-top:10px}.bp-message-quick-actions .btn{flex:1!important;margin:0}.bp-message-quick .btn.secondary{background:#fff;color:#12634f;border:1px solid #bde5d6}.bp-message-quick-status{display:block;margin-top:8px;font-size:10px;line-height:1.35;color:#496158}
.bp-dashboard-message-center{border-color:#bfe4d4!important;background:linear-gradient(145deg,#fbfffd,#f3fbf7)}.bp-message-composer-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:13px}.bp-message-composer-head h3{margin:2px 0 4px;color:#075c47;font-size:17px}.bp-message-composer-head p{margin:0;color:#546b62;font-size:12px;line-height:1.35}.bp-message-kicker{font-size:10px;letter-spacing:.09em;text-transform:uppercase;font-weight:var(--w-medium,500);color:#15805f}.bp-message-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bp-message-field{min-width:0}.bp-message-field.full{grid-column:1/-1}.bp-message-field label{display:block;margin:0 0 5px;font-size:11px;color:#355249;font-weight:var(--w-strong,600)}.bp-message-field select,.bp-message-field input,.bp-message-field textarea{box-sizing:border-box;width:100%;border:1px solid #c8ddd3;border-radius:10px;background:#fff;padding:9px 10px;font:inherit;color:#193f34}.bp-message-field textarea{min-height:78px;resize:vertical;line-height:1.4}.bp-message-recipient-help{display:block;margin-top:5px;color:#526c61;font-size:10px;line-height:1.35}.bp-message-send-row{display:flex;align-items:center;gap:9px;margin-top:12px;flex-wrap:wrap}.bp-message-send-row .btn{margin:0!important}.bp-message-send-status{font-size:11px;line-height:1.4;color:#486157;flex:1;min-width:170px}.bp-message-send-status.error{color:#b42318}.bp-message-action{border-color:#9ad8bd!important;background:#effcf5!important;color:#075c47!important}.bp-message-action:hover{background:#dcf7e8!important}.bp-message-action span{color:#39705b!important}.bp-message-modal{position:fixed;inset:0;z-index:260;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(7,31,25,.48);backdrop-filter:blur(4px)}.bp-message-modal.on{display:flex}.bp-message-dialog{width:min(760px,100%);max-height:min(790px,calc(100vh - 36px));overflow:auto;background:#f8fcfa;border:1px solid #c9e8d8;border-radius:20px;box-shadow:0 24px 70px rgba(5,50,37,.33);padding:20px}.bp-message-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.bp-message-dialog-head h2{margin:0;color:#073f38;font-size:22px}.bp-message-close{width:36px;height:36px;border:1px solid #c8ddd3;border-radius:50%;background:#fff;color:#165d49;font-size:21px;cursor:pointer}.bp-message-history{margin-top:16px;border-top:1px solid #dcece4;padding-top:14px}.bp-message-history h3{margin:0 0 8px;color:#25483c;font-size:15px}.bp-message-history .empty,.bp-message-history .alert{margin:0}.bp-message-dialog .bp-message-row{border-top:1px solid #e3eee8}.bp-message-dialog .bp-message-row:first-of-type{border-top:0}.bp-message-dialog .bp-message-row small{display:block;margin-top:4px;color:#61746c;font-size:11px}
@media(max-width:700px){.bp-message-form-grid{grid-template-columns:1fr}.bp-message-field.full{grid-column:auto}.bp-message-dialog{padding:16px;border-radius:16px}.bp-message-composer-head{align-items:flex-start}.bp-message-composer-head .bp-message-wa-status{font-size:10px;text-align:center}.bp-message-send-row .btn{width:100%}.bp-message-send-status{min-width:0}}
@container bpops (max-width:700px){.bp-message-form-grid{grid-template-columns:1fr}.bp-message-field.full{grid-column:auto}.bp-message-send-row .btn{width:100%}.bp-message-send-status{min-width:0}}
@media(max-width:700px){.bp-message-row{flex-direction:column;gap:6px}.bp-message-status{align-self:flex-start}}
@container bpops (max-width:700px){.bp-message-row{flex-direction:column;gap:6px}}

/* Guest requests enter through the same Message Center route and history. */
.bp-guest-request-action{border-color:#dfe6ee!important;background:#fff!important;color:#10213d!important}.bp-guest-request-action:hover{background:#f8fafc!important}.bp-guest-request-action>span.bp-guest-request-copy{display:flex!important;flex:1 1 auto!important;min-width:0!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:2px!important;margin:0!important;color:inherit!important;font-size:inherit!important;line-height:1.15!important}.bp-guest-request-action .bp-guest-request-copy strong{display:block!important;min-width:0!important;color:inherit!important;font-size:inherit!important;font-weight:var(--w-strong,600)!important;line-height:1.15!important;white-space:normal!important;overflow-wrap:anywhere!important}.bp-guest-request-action .bp-guest-request-copy small{display:block!important;min-width:0!important;color:#64748b!important;font-size:8px!important;font-weight:var(--w-medium,500)!important;line-height:1.15!important;white-space:normal!important;overflow-wrap:anywhere!important}

