.portal-inquiry{margin-top:1.25rem;padding:1.1rem;background:#f3f7fa;border:1px solid #ccdbe5;border-radius:6px;max-width:100%}.portal-inquiry label{display:grid;gap:.5rem}.portal-inquiry input[type=file]{width:100%;min-width:0}.portal-inquiry p{font-size:.9rem;line-height:1.7;overflow-wrap:anywhere}.portal-inquiry button:disabled,.portal-chat button:disabled{opacity:.55;cursor:not-allowed}.portal-chat{position:fixed;right:20px;bottom:20px;z-index:80;width:350px;max-width:calc(100vw - 32px);padding:14px;background:#fff;border:1px solid #c9d5dc;border-radius:10px;box-shadow:0 8px 30px #102d4030;max-height:calc(100dvh - 40px);overflow:auto}.portal-chat summary{font-weight:700;color:#126085;cursor:pointer}.portal-chat h2{font-size:1.1rem;margin:12px 0}.portal-chat p{font-size:.9rem;overflow-wrap:anywhere}.portal-chat-log{max-height:220px;overflow:auto;white-space:pre-wrap;background:#f4f7f9;padding:8px}.portal-chat form{display:grid;gap:8px;margin:10px 0}.portal-chat input,.portal-chat textarea{width:100%;box-sizing:border-box;border:1px solid #9eacb4;padding:8px;border-radius:4px}.portal-chat textarea{min-height:70px;resize:vertical}.portal-chat button{min-height:40px}.portal-chat :focus-visible,.portal-inquiry :focus-visible{outline:3px solid #e0a62c;outline-offset:3px}@media(max-width:600px){.portal-chat{right:16px;bottom:12px}.portal-inquiry{padding:12px}.portal-chat-log{max-height:160px}}
.portal-client-ready .side-consultation{display:none}
.consultation-form>.portal-inquiry{grid-column:1/-1}
.consultation-form>.portal-inquiry h2{margin:0 0 16px;font-size:22px}
.portal-inquiry-compact{padding:0;margin-top:12px;border:0;background:transparent}
.portal-inquiry-compact>.button{min-width:132px}
.portal-inquiry-compact>.form-status:empty{display:none}
.portal-chat{width:400px;padding:0;border-color:#d8dedb;border-radius:12px;box-shadow:0 16px 48px #1233282b;color:#20352b;overflow:hidden}
.portal-chat[open]{height:min(620px,calc(100dvh - 40px))}
.portal-chat[open]::details-content{display:contents}
.portal-chat-window{height:100%;min-height:0;display:flex;flex-direction:column}
.portal-chat>summary{display:flex;align-items:center;gap:14px;padding:17px 22px;color:white;background:#225b40;list-style:none;font-size:17px}
.portal-chat>summary::-webkit-details-marker{display:none}
.portal-chat-toggle-note{font-size:13px;font-weight:400;color:#d5e9dc}
.portal-chat[open]>summary{display:none}
.portal-chat-header{position:relative;flex-shrink:0;padding:17px 18px 13px;background:#fafafa;border-bottom:1px solid #e1e3e2}
.portal-chat .portal-chat-header h2{font-size:18px;line-height:1.4;margin:0 32px 4px 0;color:#20352b}
.portal-chat .portal-chat-header p{color:#768079;margin:0;font-size:12px}
.portal-chat .portal-chat-close{position:absolute;right:10px;top:10px;border:0;border-radius:6px;background:transparent;color:#69756d;font-size:25px;width:36px;padding:0}
.portal-chat .portal-chat-status{flex-shrink:0;margin:0;padding:8px 16px;background:#f7f8f7;font-size:12px;line-height:1.5;color:#748078;border-bottom:1px solid #e5e7e5}
.portal-chat-thread{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;background:#ededed;padding:18px 14px;scrollbar-width:thin}
.portal-chat-welcome{text-align:center;padding:0 22px 18px;color:#929992}
.portal-chat-welcome strong{font-weight:400;font-size:12px}
.portal-chat .portal-chat-welcome p{margin:6px 0 0;font-size:12px;line-height:1.7;color:#929992}
.portal-chat-log{display:flex;flex-direction:column;gap:18px;margin:0;padding:0;background:transparent;max-height:none;overflow:visible;white-space:normal}
.portal-chat-log:empty{display:none}
.portal-chat-message{display:flex;align-items:flex-start;gap:10px;min-width:0}
.portal-chat-message.is-visitor{flex-direction:row-reverse}
.portal-chat-avatar{display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:5px;background:#225b40;color:white;font-size:11px;user-select:none}
.is-visitor .portal-chat-avatar{background:#d1ded6;color:#41624b;font-size:14px}
.portal-chat-log .portal-chat-bubble{position:relative;max-width:calc(100% - 84px);min-width:0;margin:0;padding:10px 12px;border:1px solid #e4e6e4;background:white;color:#252a26;border-radius:5px;font-size:15px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.portal-chat-bubble::before{content:"";position:absolute;top:11px;left:-5px;width:8px;height:8px;transform:rotate(45deg);background:white;border-left:1px solid #e4e6e4;border-bottom:1px solid #e4e6e4}
.portal-chat-log .is-visitor .portal-chat-bubble{background:#95ec69;border-color:#8fe363}
.is-visitor .portal-chat-bubble::before{left:auto;right:-5px;background:#95ec69;border:0;border-top:1px solid #8fe363;border-right:1px solid #8fe363}
.portal-chat-sender{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.portal-chat-composer{flex-shrink:0;background:#fafafa;border-top:1px solid #ddd;padding:8px 14px 10px}
.portal-chat form{margin:0;gap:7px}
.portal-chat-contact summary{font-size:12px;font-weight:400;color:#78857b;cursor:pointer;padding:3px 0}
.portal-chat-contact input{margin:5px 0;font-size:14px}
.portal-chat .portal-chat-save-contact{min-height:30px;padding:5px 12px;border:1px solid #b7cfc0;border-radius:4px;background:#edf5ef;color:#225b40;font-size:12px;cursor:pointer}
.portal-chat .portal-chat-contact-status{margin:5px 0 0;color:#6a7c70;font-size:11px;line-height:1.5}
.portal-chat input,.portal-chat textarea{font:inherit;font-size:15px;padding:10px;border-color:#dce2dd}
.portal-chat-input-row{display:flex;align-items:flex-end;gap:10px;min-width:0}
.portal-chat textarea{flex:1;min-width:0;min-height:64px;height:64px;resize:none;background:white;border-radius:5px}
.portal-chat-input-row>.button{flex-shrink:0;min-width:62px;padding:7px 12px;min-height:36px;border:0;border-radius:4px;background:#07b75b;color:white;font-size:14px}
.portal-chat-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:7px}
.portal-chat-actions button{background:transparent;border:0;padding:0;color:#8a938d;min-height:26px;font:inherit;font-size:11px;cursor:pointer}
.portal-chat-telephone{display:block;flex-shrink:0;padding:9px 14px;color:#637c6c;font-size:12px;text-align:center}
.portal-chat-actions .portal-chat-telephone{padding:0;font-size:11px}
.portal-chat .portal-chat-keyboard-help{margin:5px 0 0;font-size:11px;line-height:1.5;color:#6a7c70}
@media(max-width:600px){.portal-chat{width:calc(100vw - 32px);max-height:calc(100dvh - 24px)}.portal-chat[open]{height:min(620px,calc(100dvh - 24px))}.portal-chat-toggle-note{font-size:12px}.portal-chat>summary{padding:15px 18px}.portal-chat-thread{padding:16px 12px}}
