/* HV624: private conversation center, brand colors, no public-page styles. */
.hv624-center .hv624-nav{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 16px;border-bottom:1px solid #dce4e6;padding-bottom:8px}
.hv624-center button:not(.hv517-close){font:inherit;cursor:pointer;border:1px solid #d9e2ce;border-radius:8px;background:#f2f6ec;color:#354d28;padding:9px 12px;font-weight:650}
.hv624-center button[aria-pressed="true"],.hv624-center #hv624-send,.hv624-center #hv624-save{background:#4f731e;color:#fff;border-color:#4f731e}
.hv624-center button:disabled{opacity:.5;cursor:not-allowed}
.hv624-toolbar{display:flex;gap:12px;align-items:center;margin:8px 0 12px}
.hv624-toolbar span{flex:1;font-size:13px;color:#59677a}
.hv624-layout{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,2.1fr);gap:12px;min-width:0}
.hv624-layout aside,.hv624-chat{border:1px solid #dce4e7;border-radius:12px;min-width:0;padding:12px}
.hv624-center label:not(.hv624-choice){display:grid;gap:6px;margin:8px 0;font-weight:650;color:#303563;font-size:14px}
.hv624-center input:not([type="radio"]),.hv624-center textarea{box-sizing:border-box;width:100%;min-width:0;border:1px solid #cad5df;border-radius:9px;padding:10px;background:#fff;color:#223347;font:inherit;resize:vertical}
.hv624-threads{display:grid;gap:5px;max-height:480px;overflow:auto;overscroll-behavior:contain}
.hv624-center .hv624-thread{display:grid;text-align:left;gap:5px;background:#fff;border-color:#e4e9ec;min-width:0;overflow-wrap:anywhere;color:#303563}
.hv624-center .hv624-thread.active{background:#eaf1df;border-color:#a6bb79}
.hv624-thread small,.hv624-contact small,#hv624-contact small{display:block;color:#677589;font-size:12px;font-weight:400}
.hv624-new{justify-self:start;font-size:11px;color:#345b16;background:#e2edcf;border-radius:6px;padding:2px 6px}
#hv624-contact{margin-bottom:10px;color:#303563;overflow-wrap:anywhere}
.hv624-messages{display:flex;flex-direction:column;gap:10px;height:340px;overflow:auto;overscroll-behavior:contain;background:#f3f5ef;border-radius:9px;padding:12px}
.hv624-bubble{max-width:88%;padding:10px 12px;border:1px solid #e2e6de;border-radius:10px;background:#fff;align-self:flex-start;color:#233347;overflow-wrap:anywhere}
.hv624-bubble.outbound{background:#e4efd8;align-self:flex-end;border-color:#d6e4c7}
.hv624-bubble p{white-space:pre-wrap;margin:0 0 5px;font-size:14px}
.hv624-bubble small{display:block;color:#657180;font-size:11px;text-align:right}
.hv624-choice{display:flex;align-items:flex-start;gap:10px;border:1px solid #dde4e7;border-radius:9px;padding:12px;margin:8px 0;color:#303563;cursor:pointer}
.hv624-choice input{margin-top:4px;accent-color:#5b7b27}.hv624-choice span{display:grid;gap:5px}
.hv624-choice small{font-size:13px;font-weight:400;color:#5f6e80}.hv624-center [hidden]{display:none!important}
@media(max-width:640px){.hv624-layout{grid-template-columns:1fr}.hv624-threads{max-height:170px}.hv624-messages{height:300px}.hv624-center .hv624-nav button{padding:8px;font-size:12px}.hv624-toolbar{flex-wrap:wrap}}

/* HV629: compact offer context beside contact name */
.hv624-center .hv629-offer{font-size:12px;font-weight:550;color:#53684a;overflow-wrap:anywhere;line-height:1.5}.hv624-center #hv624-contact .hv629-offer{font-size:14px}.hv624-center .hv624-thread strong{line-height:1.5}

/* HV664 · archivos bajo demanda */
.hv664-media{display:grid;gap:7px;max-width:min(100%,360px);margin:6px 0}.hv664-media audio,.hv664-media video,.hv664-media img{max-width:100%;width:100%;border-radius:8px}.hv664-media img{object-fit:contain;max-height:360px}.hv664-media button,.hv664-media select{width:max-content;max-width:100%}.hv664-media a{color:inherit;text-decoration:underline;font-size:.85rem}.hv664-media small{white-space:normal}
