/* Airport setting only while the live provider chat is open. */
body:has(#chat-panel:not([hidden])){background:#d9edf0 url('VISTA_Aeroporto_Chat_V30.png') left center/cover no-repeat fixed;color:#073b50}
body:has(#chat-panel:not([hidden])) main{max-width:none;width:100%;height:100dvh;min-height:0;padding:12px 3%;display:flex;flex-direction:column;gap:10px}
body:has(#chat-panel:not([hidden])) .identity{flex:0 0 auto;background:#f7fffff2;border-bottom:3px solid #efc75d;border-radius:7px;margin:0;}
body:has(#chat-panel:not([hidden])) .layout{flex:1;min-height:0;display:flex;align-items:flex-end;}
body:has(#chat-panel:not([hidden])) .chat-panel{display:flex;flex-direction:column;width:54%;height:100%;min-height:0;background:#fff;border:3px solid #d9e8e9;border-bottom:6px solid #e9bd56;border-radius:8px;box-shadow:0 8px 22px #073b5033;}
body:has(#chat-panel:not([hidden])) .chat-heading{flex:0 0 auto;background:#073b50;color:#fff;padding:12px 16px;border-bottom:3px solid #e9bd56;}
body:has(#chat-panel:not([hidden])) .chat-heading h1{font-size:24px;color:#fff}.chat-heading .eyebrow{color:#ffe08f!important}
body:has(#chat-panel:not([hidden])) .chat-heading img{width:50px;height:50px;}
body:has(#chat-panel:not([hidden])) #chat-body{flex:1;min-height:0;display:flex;flex-direction:column;}
body:has(#chat-panel:not([hidden])) .chat-frame{flex:1;height:auto;min-height:0;max-height:none;}
body:has(#chat-panel:not([hidden])) .chat-toolbar{flex:0 0 auto;}
body:has(#chat-panel:not([hidden])) footer{flex:0 0 auto;margin-left:46%;background:#073b50f2;color:#fff;padding:8px 12px;border-radius:4px;font-size:12px;}
body:has(#chat-panel:not([hidden])) footer strong{color:#ffdd7d;}
@media(max-width:700px){body:has(#chat-panel:not([hidden])){background-position:left top;background-size:auto 500px;background-attachment:scroll}body:has(#chat-panel:not([hidden])) main{padding:8px;gap:8px}body:has(#chat-panel:not([hidden])) .identity-message-v26{display:none}body:has(#chat-panel:not([hidden])) .layout{padding-top:120px}body:has(#chat-panel:not([hidden])) .chat-panel{width:100%}body:has(#chat-panel:not([hidden])) footer{margin-left:0;font-size:11px}body:has(#chat-panel:not([hidden])) .chat-heading{padding:8px 10px}body:has(#chat-panel:not([hidden])) .chat-heading h1{font-size:20px}body:has(#chat-panel:not([hidden])) .chat-heading img{display:none}}
@media(max-height:550px){body:has(#chat-panel:not([hidden])) .layout{padding-top:0}body:has(#chat-panel:not([hidden])) .chat-heading p{display:none}body:has(#chat-panel:not([hidden])) main{height:auto;min-height:100dvh}body:has(#chat-panel:not([hidden])) .chat-panel{height:380px}}

/* V30: allineamento esplicito: annulla i margini automatici precedenti. */
@media(min-width:701px){body:has(#chat-panel:not([hidden])) .chat-panel{margin-left:auto!important;margin-right:0!important;align-self:flex-end!important;width:54%!important;max-width:none!important}body:has(#chat-panel:not([hidden])) .layout{align-items:flex-end!important}}
