.message-app{min-width:0}.chat-workspace{display:grid;grid-template-columns:minmax(230px,.75fr) minmax(0,1.65fr);gap:18px;align-items:start}.chat-filters{display:grid;grid-template-columns:minmax(160px,2fr) repeat(4,minmax(95px,1fr)) auto;gap:10px;align-items:end;margin-bottom:18px}.chat-filters label{font-size:12px;color:#e2e2e8}.chat-filters input,.chat-filters select{width:100%;min-width:0;min-height:44px;margin-top:6px;font-size:14px}.chat-inbox{overflow:auto;max-height:calc(100dvh - 240px);min-height:220px;padding:8px;border-radius:18px}.chat-preview{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:6px;width:100%;padding:14px 12px;margin:0 0 7px;min-height:100px;border:1px solid #ffffff16;border-radius:12px;background:linear-gradient(120deg,#ffffff08,#c7a44707);color:#eee;cursor:pointer;transition:background .2s,border-color .2s;overflow:hidden}.chat-preview strong{font-size:12px;color:#ead47c}.chat-preview span{font-size:12px}.chat-preview p{font-size:13px;line-height:1.5;margin:0;max-width:100%;overflow-wrap:anywhere}.chat-preview small{font-size:10px;color:#c6c6ce}.chat-preview.selected,.chat-preview:hover{border-color:#e4cd7366;background:linear-gradient(120deg,#e9cf6720,#ffffff08)}.chat-preview:focus-visible{outline:2px solid #ffe31b;outline-offset:-2px}.chat-count{display:inline-flex;align-items:center;margin-left:7px;font-size:10px!important;font-weight:600;line-height:1.4;color:#ffe98e;background:#d7b64714;border:1px solid #d6ba6450;border-radius:6px;padding:3px 6px;max-width:110px;white-space:normal}.chat-count[hidden]{display:none!important}.chat-panel{display:flex;flex-direction:column;min-width:0;height:calc(100dvh - 235px);min-height:520px;max-height:920px;border-radius:18px;overflow:hidden;background:linear-gradient(145deg,#ffffff08,#111217e8 36%,#b69a3e0c)}.chat-panel>header.chat-context{position:relative!important;top:auto!important;z-index:auto!important;background:linear-gradient(100deg,#ffffff08,#c5a44a0b)!important;border:0;border-bottom:1px solid #ffffff12;padding:16px 20px;box-shadow:none!important;flex-shrink:0;max-height:45%;overflow:auto;backdrop-filter:none!important}.chat-context h2{font-size:20px;line-height:1.4;margin:4px 0}.chat-context p{font-size:12px;color:#d2d2db;line-height:1.6;margin:4px 0}.chat-context-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.chat-context-actions .button{padding:6px 10px;min-height:36px;font-size:11px;border-radius:8px}.chat-request-details{margin-top:10px;color:#d3d3dd;font-size:12px}.chat-request-details summary{cursor:pointer;min-height:36px;display:flex;align-items:center}.chat-original{white-space:pre-wrap;overflow-wrap:anywhere}.chat-history{flex:1;min-height:0;overflow:auto;padding:18px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cbb86555 transparent}.chat-history:focus-visible{outline:2px solid #ffe31b;outline-offset:-3px}#message-bubbles{display:flex;flex-direction:column;gap:12px}.chat-bubble{width:fit-content;max-width:86%;padding:12px 15px;border-radius:14px;border:1px solid #ffffff26;box-shadow:inset 0 1px #fff1,0 4px 14px #0002}.chat-bubble.chat-own{align-self:flex-end;background:linear-gradient(135deg,#e8ca6324,#b8953520);border-color:#d7be6150;border-bottom-right-radius:4px}.chat-bubble.chat-other{align-self:flex-start;background:linear-gradient(135deg,#ffffff10,#ffffff07);border-bottom-left-radius:4px}.chat-bubble strong{font-size:11px;color:#e8d389}.chat-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;color:#f1f1f5;font-size:14px;line-height:1.6;margin:4px 0 7px}.chat-bubble time{display:block;text-align:right;font-size:10px;color:#c8c8d2}.chat-composer{position:sticky;bottom:0;flex-shrink:0;padding:12px 18px max(12px,env(safe-area-inset-bottom));background:linear-gradient(135deg,#1c1c20fa,#111216fa);border-top:1px solid #ffffff20}.chat-compose-row{display:flex;gap:10px;align-items:flex-end}.chat-composer textarea{width:100%;min-width:0;min-height:52px;max-height:140px;resize:vertical;border-radius:10px;padding:10px 12px;font-size:16px;line-height:1.4}.chat-compose-row .button{min-height:44px;min-width:68px;padding:10px 14px;font-size:13px;border-radius:10px}.chat-message-label{font-size:12px;display:block;margin-bottom:6px}.chat-composer-note{display:block;font-size:10px;color:#bfc0cb;line-height:1.5;margin-top:7px}.chat-composer .message:empty{display:none}.chat-update{font-size:11px;color:#ead47c;margin:0;padding:0 18px;line-height:1.6}.chat-update:not(:empty){padding-block:6px}.chat-replies{display:flex;align-items:end;gap:12px;margin-bottom:10px}.chat-replies label{flex:1;font-size:11px}.chat-replies select{display:block;width:100%;max-width:100%;font-size:12px;min-height:36px;padding:6px 8px;margin-top:4px}.chat-replies .text-link{min-height:36px;cursor:pointer;background:none;border:0;color:#e1cb77;font-size:11px}.chat-list-empty,.chat-empty{padding:22px;color:#cccdd6;font-size:14px;line-height:1.7}.chat-empty h2{font-size:22px;color:#fff}.chat-empty{margin:auto;text-align:center}.chat-back{display:none!important}.chat-more{margin:8px auto;font-size:12px;min-height:40px}#older-messages{display:block;margin:0 auto 18px;font-size:11px;min-height:36px}#older-messages[hidden]{display:none}#chat-extra:not(:empty){padding-top:14px;border-top:1px solid #ffffff1a;margin-top:12px}#chat-extra .form-grid{gap:12px}#chat-extra textarea,#chat-extra input,#chat-extra select{font-size:16px}#chat-extra h3{font-size:17px}.chat-check{display:flex;align-items:center;gap:10px;margin-top:12px}.chat-check input{width:20px;min-height:20px}.chat-account-alert{display:block;padding:14px 18px;border-color:#d7be6150;margin:12px 0 20px;color:#f6e2a1}.chat-open{min-height:40px;font-size:12px;padding:8px 12px}.booking-compact>.chat-open{grid-column:1/-1;justify-self:start;margin-top:3px}
@media(min-width:1024px){.desktop-hub:not(.dn-expanded) .chat-count{position:absolute;right:3px;top:4px;width:7px;height:7px;padding:0;min-height:0;font-size:0!important;overflow:hidden;border-radius:50%;background:#ffe31b}.desktop-hub.dn-expanded .chat-count{font-size:9px!important;max-width:70px;margin-left:0}.desktop-hub.dn-expanded .dn-item:has(.chat-count:not([hidden])){gap:7px}}
@media(max-width:1100px){.chat-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.chat-filters label:first-child{grid-column:span 2}.chat-workspace{grid-template-columns:minmax(210px,.8fr) minmax(0,1.5fr)}}
@media(max-width:767px){.chat-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}.chat-filters label:first-child{grid-column:1/-1}.chat-filters input,.chat-filters select{font-size:16px;min-height:44px}.chat-filters .button{min-height:44px;padding:8px 12px;font-size:12px}.chat-workspace{display:block}.chat-panel{display:none;min-height:0;height:calc(100dvh - 200px - env(safe-area-inset-bottom));max-height:none;border-radius:14px}.chat-selected .chat-panel{display:flex}.chat-selected .chat-inbox,.chat-selected .chat-filters{display:none}.chat-inbox{max-height:none;min-height:150px;padding:6px}.chat-preview{min-height:90px;padding:12px;gap:5px}.chat-context h2{font-size:16px}.chat-panel>header.chat-context{padding:10px 12px;max-height:36%}.chat-context-actions{gap:5px}.chat-context-actions .button{min-height:44px;padding:7px 9px;font-size:10px}.chat-back{display:inline-flex!important;min-height:44px;padding:8px 10px;font-size:11px;margin-bottom:8px}.chat-history{padding:12px}.chat-bubble{padding:10px 12px;max-width:91%;border-radius:12px}.chat-bubble p{font-size:14px}.chat-composer{padding:10px 12px max(10px,env(safe-area-inset-bottom))}.chat-compose-row{gap:8px}.chat-compose-row .button{min-width:60px;padding:10px 12px}.chat-composer textarea{min-height:50px}.chat-replies select{font-size:16px;min-height:44px}.chat-composer-note{font-size:10px}.chat-request-details summary{min-height:44px}.chat-update{padding-inline:12px}.chat-open{min-height:44px}.chat-selected{scroll-margin-top:80px}}
@media(max-width:359px){.chat-context-actions{gap:4px}.chat-context-actions .button{font-size:10px}.chat-context h2{font-size:15px}.chat-panel{height:calc(100dvh - 180px - env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.chat-preview{transition:none}}
@media(max-width:767px){.chat-panel{height:var(--chat-mobile-height,calc(100dvh - 200px - env(safe-area-inset-bottom)));scroll-margin-top:80px}}
.chat-panel>header.chat-context{flex-shrink:1;min-height:0}.chat-panel:has(#chat-extra:not(:empty))>header.chat-context{max-height:75%}
@media(max-width:767px){body.mobile-keyboard .chat-composer .chat-replies,body.mobile-keyboard .chat-composer .chat-composer-note{display:none}}
