/* WhatsApp Albano e Occhialiweb: composizione più alta e anteprima messaggio manuale, PC + mobile. */
:is(#chat375,#chatweb) .bizConversation {
  height:clamp(480px,calc(100vh - 295px),565px)!important;
  min-height:0!important;
}
:is(#chat375,#chatweb) .bizWaMessages { padding-bottom:18px!important; scroll-padding-bottom:18px }
:is(#chat375,#chatweb) .bizComposer {padding:11px 13px!important; align-items:center!important}
:is(#chat375,#chatweb) .bizComposer textarea{
  min-height:64px!important;
  max-height:160px!important;
  font-size:15px!important;
  line-height:1.45!important;
  padding:12px 16px!important;
  border-radius:15px!important;
  resize:vertical!important
}
:is(#chat375,#chatweb) .bizComposerHint{font-size:11px!important;padding:3px 10px 9px!important}
:is(#chat375,#chatweb) .bizSendBtn {width:48px!important;height:48px!important;flex-shrink:0}
:is(#chat375,#chatweb) .bizWaReview{
  min-width:0;
  box-sizing:border-box;
  background:#f8fafc;
  border:1px solid #dbe4ec;
  border-radius:15px;
  overflow:auto;
  max-height:565px;
  padding:15px 13px;
  color:#243547;
}
:is(#chat375,#chatweb) .bizWaReviewHead{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}
:is(#chat375,#chatweb) .bizWaReview h3{font-size:16px;margin:0;color:#13293b}
:is(#chat375,#chatweb) .bizWaReviewTag{background:#fff0d2;color:#89520b;padding:4px 7px;border-radius:999px;font-size:10px;font-weight:800}
:is(#chat375,#chatweb) .bizWaReviewTo{font-size:12px;color:#596b7e;margin:11px 0 15px;overflow-wrap:anywhere}
:is(#chat375,#chatweb) .bizWaReviewBubble{white-space:pre-wrap;overflow-wrap:anywhere;background:#d9fbd2;border-radius:10px 10px 3px 10px;border:1px solid #b6ecc0;font:14px/1.52 system-ui,sans-serif;color:#17362d;padding:13px;max-height:260px;overflow:auto;min-height:74px}
:is(#chat375,#chatweb) .bizWaReviewEmpty{font-size:13px;color:#6c7d87;line-height:1.5}
:is(#chat375,#chatweb) .bizWaReviewFile{font-size:12px;word-break:break-word;margin-top:10px;color:#40546a}
:is(#chat375,#chatweb) .bizWaReviewFile img{display:block;max-width:100%;max-height:135px;object-fit:contain;border-radius:8px;margin:7px 0}
:is(#chat375,#chatweb) .bizWaReviewFoot{display:grid;gap:9px;margin-top:14px}
:is(#chat375,#chatweb) .bizWaReviewFoot button{min-height:44px;border:0;border-radius:10px;font-weight:800;background:#029775;color:white;cursor:pointer;font-size:13px}
:is(#chat375,#chatweb) .bizWaReviewFoot button:disabled{opacity:.4;cursor:not-allowed}
:is(#chat375,#chatweb) .bizWaReviewHint{font-size:11px;color:#6b7584;line-height:1.4}
:is(#chat375,#chatweb) .bizWaReview:focus-within{border-color:#14b8a6}
@media(min-width:1460px){
  :is(#chat375,#chatweb) .bizChatGrid{
    grid-template-columns:minmax(300px,340px) minmax(0,1fr) minmax(245px,290px)!important;
    width:100%!important;
    align-items:stretch!important;
    justify-content:stretch!important;
  }
  :is(#chat375,#chatweb) .bizConversation{max-width:none!important;width:100%!important}
  :is(#chat375,#chatweb) .bizWaReview{grid-column:3;grid-row:1;align-self:start}
}
@media(min-width:981px) and (max-width:1459px){
  :is(#chat375,#chatweb) .bizChatGrid{
    grid-template-columns:minmax(265px,335px) minmax(0,1fr)!important;
    justify-content:stretch!important;
  }
  :is(#chat375,#chatweb) .bizConversation{max-width:none!important;width:100%!important}
  :is(#chat375,#chatweb) .bizWaReview{grid-column:2;grid-row:2;max-height:285px;margin-top:8px}
  :is(#chat375,#chatweb) .bizWaReviewBubble{max-height:140px}
}
@media(max-width:980px){
  :is(#chat375,#chatweb) .bizConversation{height:clamp(420px,calc(100dvh - 300px),555px)!important; min-height:420px!important}
  :is(#chat375,#chatweb) .bizWaReview{max-height:320px;margin:9px 0}
  :is(#chat375,#chatweb) .bizWaReviewBubble{max-height:140px}
}
@media(max-width:640px){
  :is(#chat375,#chatweb) .bizConversation{height:clamp(415px,calc(100dvh - 235px),525px)!important;min-height:415px!important}
  :is(#chat375,#chatweb) .bizComposer textarea{min-height:58px!important;font-size:16px!important}
  :is(#chat375,#chatweb) .bizWaReview{padding:12px}
}
