/* OSSOLA V3.5 - messaggi semplici e compatti per mobile */
.v35-panel{margin:22px 0;padding:22px}
.v35-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.v35-heading h2{margin:4px 0 0;font-size:clamp(1.25rem,3.6vw,1.6rem)}
.v35-count{display:inline-flex;align-items:center;justify-content:center;border-radius:100px;background:#a6f500;color:#17353c;padding:1px 8px;font-size:.72em;margin-left:5px}
.v35-note{color:#31646a;font-size:.88rem;min-height:1.15em;margin:8px 0 12px}
.v35-note.is-error{color:#b03943}
.v35-layout{display:grid;grid-template-columns:minmax(195px,.9fr) minmax(0,1.6fr);gap:14px;align-items:stretch}
.v35-threads{border:1px solid #e1eceb;border-radius:15px;background:#f8fcfa;overflow:auto;max-height:455px;padding:8px}
.v35-threads>.muted{padding:12px}
.v35-thread{border:1px solid transparent;border-radius:12px;background:#fff;width:100%;display:flex;gap:9px;padding:12px 9px;text-align:left;align-items:center;color:#17353c;margin-bottom:7px;cursor:pointer}
.v35-thread.is-active{border-color:#04b5c7;background:#e9faf8}
.v35-thread-icon{flex:none;width:30px;height:30px;border-radius:10px;background:#e9faf8;display:grid;place-items:center;font-size:17px}
.v35-thread strong{display:block;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
.v35-thread small{display:block;font-size:.79rem;color:#627983;line-height:1.45;margin-top:2px}
.v35-chat{border:1px solid #e1eceb;border-radius:15px;overflow:hidden;background:#fff;min-width:0}
.v35-chat-title{padding:14px;background:#f1f9f7;font-weight:750;color:#1d444b;border-bottom:1px solid #e1eceb}
.v35-messages{min-height:180px;max-height:340px;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px}
.v35-messages>.muted{align-self:start}
.v35-bubble{max-width:88%;padding:10px 12px;border-radius:14px 14px 14px 4px;background:#f1f5f5;color:#163740;overflow-wrap:anywhere}
.v35-bubble.is-mine{align-self:flex-end;background:#e6faee;border-radius:14px 14px 4px 14px}
.v35-bubble.is-peer{align-self:flex-start}
.v35-bubble p{margin:0;white-space:pre-wrap;font-size:.94rem;line-height:1.45}
.v35-bubble small{display:block;color:#587476;font-size:.68rem;margin-top:6px}
.v35-send-form{padding:10px 12px;border-top:1px solid #e1eceb;display:flex;align-items:center;gap:9px}
.v35-send-form textarea{resize:vertical;min-height:60px;max-height:140px;flex:1;min-width:0;border-radius:11px;border:1px solid #cadbd9;padding:10px;font:inherit;background:#fff}
.v35-send-form button{flex:none;align-self:stretch;padding:10px 16px}
.v35-send-form button:disabled{opacity:.45;cursor:not-allowed}
.v35-security-note{margin:0;padding:0 12px 12px;font-size:.75rem}
.v35-host-shortcut{margin:20px auto 0;max-width:1100px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.v35-header-mail{background:#e9f8f7;color:#008ba5;border:1px solid #e0f0ef;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;position:relative;width:45px;height:45px;cursor:pointer}
.v35-header-mail svg{width:22px;height:22px;stroke:currentColor;stroke-width:2;fill:none}
.v35-head-count{position:absolute;top:-5px;right:-5px;background:#a5f300;color:#16353b;min-width:19px;height:19px;padding:0 4px;border-radius:99px;display:grid;place-items:center;font-size:11px;font-weight:750}
@media(max-width:730px){.v35-layout{grid-template-columns:minmax(0,1fr)}.v35-threads{max-height:260px}.v35-chat{width:100%}.v35-messages{min-height:150px;max-height:360px}.v35-panel{padding:18px 14px}.v35-host-shortcut{padding:0 16px}}
@media(max-width:380px){.v35-header-mail{width:39px;height:41px}.v35-send-form{flex-direction:column;align-items:stretch}.v35-send-form button{min-height:42px}}

.v35-room-chat-link{margin-top:9px}
