/* SOLINFO Chat: interfaz original inspirada en un mensajero moderno. */
.solchat-page{padding-top:82px!important;padding-bottom:20px!important;background:#f5f6fa}
.solchat-container{max-width:1740px;padding:0 18px}
.solchat-app{--solpurple:#6941df;--solpurple-deep:#4c25b8;--solink:#24243b;--solmuted:#888ba0;--solborder:#eaeaf1;--solsurface:#fff;display:grid;grid-template-columns:68px minmax(275px,335px) minmax(0,1fr);height:calc(100dvh - 110px);min-height:520px;max-height:1100px;background:var(--solsurface);color:var(--solink);border:1px solid var(--solborder);border-radius:20px;box-shadow:0 14px 36px rgba(30,26,78,.07);overflow:hidden;font-family:inherit}
.solchat-app button{font-family:inherit}
.solchat-rail{background:#5b2bc5;display:flex;flex-direction:column;align-items:center;gap:14px;padding:21px 10px;color:#fff}
.solchat-mark{height:46px;width:46px;display:grid;place-items:center;color:#fff;font-size:25px;margin-bottom:28px;background:rgba(255,255,255,.15);border-radius:15px}
.solchat-rail-btn{appearance:none;border:0;background:transparent;color:#ddd3fb;width:44px;height:44px;border-radius:13px;font-size:20px;transition:background .15s,color .15s;display:grid;place-items:center;cursor:pointer}
.solchat-rail-btn:hover,.solchat-rail-btn.is-active{background:#fff;color:#5b2bc5}
.solchat-rail-spacer{flex:1}
.solchat-rail-user{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#8e6be2;color:white;font-size:21px}
.solchat-sidebar{min-width:0;background:#fff;display:flex;flex-direction:column;border-right:1px solid var(--solborder)}
.solchat-sidebar-head{padding:27px 23px 17px;display:flex;align-items:center;justify-content:space-between;gap:9px}
.solchat-eyebrow{display:block;letter-spacing:.12em;font-size:10px;color:var(--solpurple);font-weight:800;margin-bottom:3px}
.solchat-sidebar-head h1{font-size:22px;line-height:1.2;letter-spacing:-.025em;margin:0;font-weight:750;color:#25243e}
.solchat-round-icon{width:37px;height:37px;border-radius:12px;display:grid;place-items:center;background:#f3efff;color:#7140dd;font-size:18px}
.solchat-search{margin:0 19px 25px;background:#f7f7fa;border:1px solid #f1f1f5;border-radius:12px;color:#a3a1b4;padding:0 12px;display:flex;align-items:center;gap:9px;height:44px}
.solchat-search:focus-within{background:#fff;border-color:#b9a4f5;box-shadow:0 0 0 3px rgba(105,65,223,.1)}
.solchat-search input{border:0;background:transparent;outline:0;min-width:0;flex:1;font-size:13px;color:#24243b}
.solchat-section-label{display:flex;align-items:center;justify-content:space-between;margin:0 22px 11px;color:#9596ab;font-size:10px;letter-spacing:.11em;font-weight:800}
.solchat-channels{padding:0 10px 12px}
.solchat-conversation{display:flex;gap:10px;align-items:center;text-align:left;background:transparent;border:0;border-radius:12px;min-height:64px;width:100%;padding:10px 12px;cursor:pointer;color:inherit;transition:background .15s}
.solchat-conversation:hover{background:#f8f6ff}
.solchat-conversation.is-selected{background:#f0ebff}
.solchat-channel-avatar,.solchat-room-avatar{flex:0 0 auto;display:grid;place-items:center;width:42px;height:42px;border-radius:15px;font-size:19px}
.solchat-channel-avatar.avisos,.solchat-room-avatar.avisos{background:#e9e1ff;color:#6a3bd9}
.solchat-channel-avatar.general,.solchat-room-avatar.general{background:#e0f5ef;color:#0d967a}
.solchat-conversation-meta{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.solchat-conversation-meta strong{font-size:13px;font-weight:750;color:#292743;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.solchat-conversation-meta small{font-size:11px;color:#9493a6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.solchat-count{display:grid;place-items:center;flex:0 0 auto;min-width:20px;height:20px;padding:0 5px;background:#6d43df;color:#fff;border-radius:12px;font-size:11px;font-weight:750}
.solchat-contacts-label{border-top:1px solid #f0eff5;padding-top:19px;margin-top:0}
.solchat-contacts{overflow-y:auto;flex:1;min-height:0;padding:0 10px 14px;scrollbar-width:thin;scrollbar-color:#e8e1f9 transparent}
.solchat-list-placeholder{font-size:12px;text-align:center;padding:30px 10px;color:#9795a8}
.solchat-avatar{width:42px;height:42px;flex:0 0 auto;border-radius:50%;display:grid;place-items:center;position:relative;font-size:13px;font-weight:800;color:#6740cf;background:#eee7ff}
.solchat-avatar[data-tone="1"]{background:#fce7f3;color:#c13b87}
.solchat-avatar[data-tone="2"]{background:#dff4fa;color:#0084a7}
.solchat-avatar[data-tone="3"]{background:#fff0d3;color:#b3731c}
.solchat-avatar[data-tone="4"]{background:#e5f5e6;color:#2c8b4a}
.solchat-online-dot{position:absolute;bottom:0;right:0;border:2px solid #fff;width:11px;height:11px;border-radius:50%;background:#afb3bd}
.solchat-online-dot.is-online{background:#3cc88b}
.solchat-sidebar-bottom{border-top:1px solid #f0eff5;padding:13px 23px;color:#a3a2b4;font-size:11px;display:flex;align-items:center;gap:7px}
.solchat-connection-dot{width:8px;height:8px;background:#b8bac8;border-radius:100%}
.solchat-connection-dot.is-online{background:#2dca91}
.solchat-room{display:flex;flex-direction:column;min-width:0;position:relative;background:#fbfafd}
.solchat-room-head{min-height:81px;display:flex;align-items:center;gap:13px;background:#fff;padding:14px 26px;box-shadow:0 1px 0 rgba(37,32,74,.08);z-index:1}
.solchat-room-avatar{border-radius:50%;width:44px;height:44px;font-size:19px}
.solchat-room-avatar .solchat-avatar{width:44px;height:44px}
.solchat-room-title{min-width:0;flex:1}
.solchat-room-title h2{font-size:16px;margin:0 0 3px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.solchat-room-title small{color:#8a8b9c;font-size:12px}
.solchat-room-pill{font-size:11px;font-weight:750;border:1px solid #eeeafc;color:#7854d4;background:#faf8ff;white-space:nowrap;padding:7px 10px;border-radius:30px}
.solchat-back{display:none;border:0;background:transparent;color:#4c4164;font-size:20px;padding:7px}
.solchat-room-info{font-size:12px;color:#7d719b;background:#f4f0ff;border-bottom:1px solid #eee5ff;padding:12px 24px;display:flex;gap:10px;align-items:center}
.solchat-room-info.is-hidden{display:none}
.solchat-messages{position:relative;flex:1;min-height:0;overflow-y:auto;padding:26px clamp(16px,3vw,45px) 30px;background-color:#fcfbfe;background-image:radial-gradient(rgba(108,80,180,.055) .8px,transparent .8px);background-size:22px 22px;scrollbar-color:#dfd8f2 transparent;scrollbar-width:thin}
.solchat-day{width:max-content;margin:6px auto 22px;border-radius:100px;padding:5px 12px;background:#eeeaf6;color:#827895;font-size:11px;font-weight:700}
.solchat-message{display:flex;align-items:flex-end;gap:9px;margin-bottom:15px;max-width:85%}
.solchat-message.is-mine{margin-left:auto;flex-direction:row-reverse}
.solchat-message-face{flex:0 0 auto;align-self:flex-end;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font-size:10px;font-weight:800;background:#e6defb;color:#6040a6}
.solchat-message.is-mine .solchat-message-face{background:#d0bfff;color:#5222ab}
.solchat-message-body{min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.solchat-message.is-mine .solchat-message-body{align-items:flex-end}
.solchat-message-author{font-size:11px;color:#9a90ad;margin:0 0 5px 12px;font-weight:700}
.solchat-bubble{border-radius:17px 17px 17px 4px;padding:11px 15px;background:#fff;border:1px solid #efebf5;color:#38354d;box-shadow:0 4px 14px rgba(48,36,76,.04);font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;max-width:680px}
.solchat-message.is-mine .solchat-bubble{background:linear-gradient(135deg,#7648e7,#5e2bc7);color:#fff;border-color:transparent;border-radius:17px 17px 4px 17px;box-shadow:0 7px 16px rgba(96,47,205,.12)}
.solchat-message-meta{color:#aaa3b8;font-size:10px;padding:4px 5px;display:flex;gap:5px;align-items:center}
.solchat-message.is-mine .solchat-message-meta{color:#9789b3}
.solchat-empty{height:100%;min-height:130px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:#aaa2bd}
.solchat-empty i{font-size:53px;color:#d7cbf4;margin-bottom:14px}
.solchat-empty strong{color:#72648b;font-size:17px;margin-bottom:5px}
.solchat-empty p{font-size:13px;max-width:320px}
.solchat-compose-wrap{background:#fff;padding:16px 26px 17px;border-top:1px solid #f0eef4}
.solchat-compose-label{font-size:11px;font-weight:750;color:#837a9d;margin-bottom:9px}
.solchat-compose-form{border:1px solid #e8e4ee;background:#faf9fc;border-radius:14px;display:flex;align-items:flex-end;gap:10px;padding:8px 8px 8px 15px;transition:border-color .2s,box-shadow .2s}
.solchat-compose-form:focus-within{border-color:#a58ae8;box-shadow:0 0 0 3px rgba(105,65,223,.08)}
.solchat-compose-form textarea{width:100%;flex:1;border:0;box-shadow:none;outline:0;resize:none;background:transparent;font-size:13px;min-height:37px;max-height:130px;padding:9px 0 6px;line-height:1.5;color:#342e43;scrollbar-width:thin}
.solchat-send{flex:0 0 auto;border:0;border-radius:11px;width:43px;height:43px;display:grid;place-items:center;color:#fff;background:#6a39dd;font-size:17px;cursor:pointer;transition:background .15s}
.solchat-send:hover{background:#4c25b8}
.solchat-send:disabled{opacity:.55;cursor:not-allowed}
.solchat-compose-foot{display:flex;justify-content:space-between;padding-top:8px;color:#b0abbb;font-size:10px}
.solchat-locked{background:#fff;border-top:1px solid #eeeaf3;text-align:center;padding:23px;color:#9789ae;font-size:12px}
.solchat-more{flex:0 0 auto;position:absolute;left:50%;transform:translateX(-50%);top:113px;border:1px solid #e8ddf9;background:#fff;color:#734acf;border-radius:30px;padding:6px 14px;font-size:11px;z-index:2;cursor:pointer;box-shadow:0 5px 15px rgba(0,0,0,.06)}
.solchat-error{background:#fdf0f0;color:#a32638;padding:10px 22px;font-size:12px}
.solchat-app .is-hidden{display:none!important}
/* Campana global de mensajes y avisos */
.solchat-topbar-button{position:relative;border:0;border-radius:12px;width:42px;height:42px;background:#f2eefd;color:#6839da;display:grid;place-items:center;font-size:20px;cursor:pointer}
.solchat-topbar-button:hover{background:#e8defd}
.solchat-topbar-badge{position:absolute;top:-5px;right:-7px;min-width:19px;height:19px;display:grid;place-items:center;border-radius:14px;background:#ec4d79;color:#fff;border:2px solid #fff;font-size:10px;font-weight:800;padding:0 3px}
.solchat-topbar-badge.is-hidden{display:none}
.solchat-topbar-dropdown{width:min(355px,calc(100vw - 20px));border-radius:15px;border:1px solid #ece8f4;padding:0;box-shadow:0 18px 45px rgba(28,26,48,.16);overflow:hidden}
.solchat-topbar-dropdown-head{padding:16px 17px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f0ecf5}
.solchat-topbar-dropdown-head strong{font-size:14px;color:#2c2642}
.solchat-topbar-dropdown-head small{color:#8b84a0;font-size:11px}
.solchat-topbar-items{max-height:330px;overflow-y:auto}
.solchat-topbar-item{display:flex;gap:11px;align-items:flex-start;text-decoration:none;color:inherit;padding:12px 17px;border-bottom:1px solid #f4f0f6}
.solchat-topbar-item:hover{background:#f7f4ff}
.solchat-topbar-item-icon{display:grid;place-items:center;background:#eee7ff;color:#7040d8;width:34px;height:34px;flex:0 0 34px;border-radius:11px;font-size:14px}
.solchat-topbar-item-text{display:flex;flex-direction:column;gap:4px;min-width:0}
.solchat-topbar-item-text strong{font-size:12px;color:#312a44;line-height:1.25}
.solchat-topbar-item-text small{font-size:11px;color:#817b94;line-height:1.4;overflow-wrap:anywhere}
.solchat-topbar-actions{display:flex;gap:8px;padding:11px 13px;justify-content:space-between;background:#faf9fc}
.solchat-topbar-actions a,.solchat-topbar-actions button{background:transparent;border:0;color:#6340ce;font-size:12px;font-weight:750;text-decoration:none;cursor:pointer;padding:6px}
.solchat-topbar-empty{text-align:center;font-size:12px;color:#a7a0b5;padding:25px 12px}
.solchat-toast-host{position:fixed;bottom:20px;right:20px;z-index:1090;display:flex;flex-direction:column;gap:10px;max-width:min(370px,calc(100vw - 35px))}
.solchat-toast{position:relative;background:#fff;border-radius:15px;border:1px solid #ede7f8;box-shadow:0 18px 35px rgba(39,26,75,.2);padding:15px 38px 15px 16px;min-width:280px;text-align:left;color:#2f2740;text-decoration:none;animation:solchat-in .2s ease-out}
.solchat-toast strong{display:block;margin-bottom:4px;font-size:13px}
.solchat-toast span{font-size:12px;color:#776d87;display:block;overflow-wrap:anywhere}
.solchat-toast-close{position:absolute;right:8px;top:9px;background:transparent;border:0;font-size:18px;color:#b5a4cc;cursor:pointer}
@keyframes solchat-in{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1199px){.solchat-app{grid-template-columns:60px minmax(248px,305px) minmax(0,1fr)}.solchat-rail{padding:18px 7px}.solchat-room-head{padding:12px 16px}.solchat-compose-wrap{padding:14px 17px}}
@media(max-width:850px){.solchat-container{padding:0 9px}.solchat-app{grid-template-columns:minmax(250px,325px) minmax(0,1fr)}.solchat-rail{display:none}.solchat-page{padding-top:77px!important}.solchat-room-pill{display:none}}
@media(max-width:650px){.solchat-container{padding:0}.solchat-page{padding-top:70px!important;padding-bottom:0!important}.solchat-app{display:block;height:calc(100dvh - 70px);max-height:none;min-height:360px;border:0;border-radius:0}.solchat-sidebar,.solchat-room{height:100%;width:100%}.solchat-app:not(.is-room-open) .solchat-room{display:none}.solchat-app.is-room-open .solchat-sidebar{display:none}.solchat-room-head{min-height:69px;padding:9px 12px}.solchat-back{display:block}.solchat-messages{padding:16px 12px 20px}.solchat-message{max-width:94%}.solchat-compose-wrap{padding:12px}.solchat-compose-foot{font-size:9px}.solchat-sidebar-head{padding-top:23px}.solchat-room-info{padding:9px 14px}.solchat-more{top:90px}}
@media(prefers-reduced-motion:reduce){.solchat-toast{animation:none}.solchat-app *{transition:none!important}}

/* SOLINFO Chat v2: editar, eliminar y reaccionar, con controles accesibles. */
.solchat-header-action{display:inline-flex;align-items:center;gap:7px;border:1px solid #eadff4;background:#fff;color:#82668f;border-radius:11px;padding:8px 10px;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}
.solchat-header-action:hover{color:#b73558;border-color:#edc4d2;background:#fff6f8}
.solchat-header-action:disabled{opacity:.5;cursor:wait}
.solchat-header-action i{font-size:15px}
.solchat-bubble.is-deleted,.solchat-message.is-mine .solchat-bubble.is-deleted{font-style:italic;color:#8e869c;background:#f1eef6;border:1px dashed #d5cee3;box-shadow:none}
.solchat-message-actions{position:relative;display:flex;flex-wrap:wrap;gap:5px;align-items:center;padding:0 3px;opacity:.15;transition:opacity .15s ease}
.solchat-message:hover .solchat-message-actions,.solchat-message:focus-within .solchat-message-actions{opacity:1}
.solchat-msg-action{display:inline-flex;gap:5px;align-items:center;border:1px solid #eae5f5;border-radius:8px;background:#fff;color:#82749d;padding:4px 7px;font-size:10px;line-height:1.45;cursor:pointer}
.solchat-msg-action:hover{background:#f1ebff;color:#5a32bf}
.solchat-msg-action[data-msg-action="eliminar"]:hover{background:#fff1f4;color:#af3150}
.solchat-msg-action i{font-size:12px}
.solchat-reactions{display:flex;flex-wrap:wrap;gap:5px;padding:3px 3px 1px}
.solchat-reaction-pill{display:inline-flex;align-items:center;justify-content:center;border:1px solid #e7e1f0;background:#fff;border-radius:20px;padding:3px 9px;font-size:12px;color:#4e4565;cursor:pointer;min-height:25px}
.solchat-reaction-pill:hover,.solchat-reaction-pill.is-mine{background:#eee8ff;border-color:#b3a1ec;color:#5836b4}
.solchat-inline-picker{display:flex;flex-wrap:wrap;gap:3px;flex-basis:100%;max-width:280px;padding:7px;background:#fff;border:1px solid #e6e0f2;border-radius:12px;box-shadow:0 8px 20px rgba(43,31,75,.08);z-index:3}
.solchat-inline-picker button,.solchat-emoji-picker button{display:grid;place-items:center;background:transparent;border:0;border-radius:8px;width:34px;height:33px;font-family:inherit;font-size:19px;cursor:pointer;line-height:1}
.solchat-inline-picker button:hover,.solchat-emoji-picker button:hover{background:#f0eaff}
.solchat-editor{display:flex;flex-direction:column;gap:8px;min-width:215px;width:min(460px,70vw);max-width:100%}
.solchat-editor textarea{width:100%;min-height:76px;border:1px solid #b7a1ee;border-radius:11px;background:#fff;color:#2d2840;outline:0;padding:10px;resize:vertical;font-size:13px;line-height:1.45;box-shadow:0 0 0 3px rgba(105,65,223,.07)}
.solchat-editor-buttons{display:flex;align-items:center;justify-content:flex-end;gap:7px}
.solchat-editor-buttons button{font-size:11px;font-weight:700;padding:7px 12px;border-radius:8px;border:1px solid #e5dfed;background:#fff;color:#665878;cursor:pointer}
.solchat-editor-buttons button.is-primary{background:#6b3cdb;border-color:#6b3cdb;color:#fff}
.solchat-editor-buttons button:disabled{opacity:.6;cursor:wait}
.solchat-emoji-holder{position:relative;flex:0 0 auto;align-self:center}
.solchat-emoji-toggle{border:0;border-radius:9px;background:transparent;color:#8b73ae;width:33px;height:37px;display:grid;place-items:center;font-size:21px;cursor:pointer}
.solchat-emoji-toggle:hover,.solchat-emoji-toggle[aria-expanded="true"]{background:#eee8fd;color:#6941df}
.solchat-emoji-picker{position:absolute;bottom:calc(100% + 13px);left:-7px;display:grid;grid-template-columns:repeat(8,1fr);gap:2px;width:305px;padding:8px;background:#fff;border:1px solid #e7dff6;border-radius:14px;box-shadow:0 12px 28px rgba(41,22,87,.18);z-index:15}
@media(hover:none),(pointer:coarse){.solchat-message-actions{opacity:1}}
@media(max-width:650px){.solchat-header-action span{display:none}.solchat-header-action{padding:9px}.solchat-message-actions{opacity:1}.solchat-msg-action span{display:none}.solchat-msg-action{padding:6px 8px}.solchat-editor{width:min(270px,75vw);min-width:0}.solchat-emoji-picker{width:280px;grid-template-columns:repeat(7,1fr)}.solchat-emoji-picker button{width:35px}.solchat-message{max-width:97%}}
@media(prefers-reduced-motion:reduce){.solchat-message-actions{transition:none}}
