/* Light, readable message surfaces on the website, portal and Master. */
#hhReception,.hc68,.hc96-workspace{color-scheme:light!important}
#hhReception :is(input:not([type=checkbox]):not([type=radio]),select,textarea),.hc68 :is(input:not([type=checkbox]):not([type=radio]),select,textarea),.hc96-workspace :is(input:not([type=checkbox]):not([type=radio]),select,textarea){box-sizing:border-box!important;background:#fff!important;color:#173f4b!important;-webkit-text-fill-color:#173f4b!important;caret-color:#173f4b!important;border:1px solid #87afb4!important;border-radius:9px!important;font-size:16px!important;line-height:1.5!important;min-width:0}
#hhReception :is(input,textarea)::placeholder,.hc68 :is(input,textarea)::placeholder,.hc96-workspace :is(input,textarea)::placeholder{color:#526e77!important;-webkit-text-fill-color:#526e77!important;opacity:1!important}
#hhReception .hh-inner{background:#fff!important;color:#173f4b!important}
#hhReception .hh-inner :is(p,li,label,legend,summary,small,dt,dd,h2,h3,h4),#hhReception .hh-message :is(p,span,small,strong){color:#173f4b!important;-webkit-text-fill-color:#173f4b!important}
#hhReception .hh-inner :is(p,li,label,summary,dd){font-size:15px!important;line-height:1.6!important}
#hhReception .hh-message{background:#eaf3f5!important;color:#173f4b!important;line-height:1.6!important;font-size:16px!important}
#hhReception .hh-message.user{background:#dff2ed!important;color:#123e45!important}
#hhReception .hh-inner :is(a,button){font-size:14px!important;line-height:1.4!important;min-height:40px}
#hhReception .hh-inner button{color:#173f4b!important;background:#edf7f5!important;border-color:#8bb7b6!important}
#hhReception .hh-inner :is(a){color:#006e79!important}
#hhReception header :is(strong,small,button){color:#fff!important;-webkit-text-fill-color:#fff!important}
#hhReception .hh-inner [type=checkbox],#hhReception .hh-inner [type=radio]{width:auto!important;min-width:16px;height:16px;accent-color:#008a93}
#hhReception #hhLeadForm{display:block!important;padding-top:8px}
#hhReception #hhLeadForm label{display:block!important;margin-top:12px!important}
#hhReception #hhLeadReview{margin-top:16px!important;padding-top:14px!important;border-top:1px solid #b8d0d3;color:#173f4b!important}
#hhReception .hh52-composer,.hc68 .hh52-composer,.hc96-workspace .hh52-composer{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important;gap:8px 10px!important;background:#fff!important;color:#173f4b!important;padding:12px!important;margin:0!important;border-top:1px solid #b8d0d3!important}
#hhReception .hh52-composer[hidden],.hc68 .hh52-composer[hidden],.hc96-workspace .hh52-composer[hidden]{display:none!important}
#hhReception.hh52-request-active>#hhChatForm{display:none!important}
#hhReception #hhChatForm>label{grid-column:1/-1!important;position:static!important;width:auto!important;height:auto!important;clip-path:none!important;overflow:visible!important;white-space:normal!important;margin:0!important;padding:0!important;font-size:14px!important;font-weight:650!important;color:#173f4b!important}
#hhReception .hh52-composer>textarea,.hc68 .hh52-composer>textarea,.hc96-workspace .hh52-composer>textarea{grid-column:1!important;width:100%!important;min-width:0!important;min-height:64px!important;max-height:150px!important;margin:0!important;padding:10px!important;resize:vertical!important;overflow-y:auto!important;align-self:stretch!important;border-radius:9px!important}
#hhReception .hh52-composer>button[type=submit],.hc68 .hh52-composer>button[type=submit],.hc96-workspace .hh52-composer>button[type=submit]{grid-column:2!important;flex:none!important;width:auto!important;min-width:72px!important;height:46px!important;min-height:46px!important;border-radius:9px!important;background:#007e88!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #006b74!important;font-size:16px!important;font-weight:650!important;padding:10px 15px!important;align-self:end!important}
.hh52-compose-tools{grid-column:1/-1!important;display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important;position:relative!important;min-width:0}
#hhReception .hh52-compose-tools>button,.hc68 .hh52-compose-tools>button,.hc96-workspace .hh52-compose-tools>button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:auto!important;height:auto!important;min-height:40px!important;padding:8px 10px!important;border:1px solid #91b8bb!important;border-radius:8px!important;background:#edf7f5!important;color:#173f4b!important;-webkit-text-fill-color:#173f4b!important;font-size:14px!important;line-height:1.35!important}
#hhReception .hh52-compose-tools>button[hidden],.hc68 .hh52-compose-tools>button[hidden],.hc96-workspace .hh52-compose-tools>button[hidden]{display:none!important}
#hhReception.hh52-request-active #hhChatForm{display:none!important}
.hh52-composer input[type=file][hidden]{display:none!important}
.hh52-compose-tools>button svg{width:19px!important;height:19px!important}
.hh52-attachment-hint{grid-column:1/-1!important;color:#46616b!important;-webkit-text-fill-color:#46616b!important;font:12px/1.5 Arial,sans-serif!important}
.hh52-emoji-picker{position:absolute!important;bottom:calc(100% + 8px)!important;left:0!important;display:grid!important;grid-template-columns:repeat(6,36px)!important;gap:3px!important;padding:8px!important;background:#fff!important;border:1px solid #8bb5b6!important;border-radius:10px!important;box-shadow:0 8px 25px #153b4933;z-index:6}
#hhReception .hh52-emoji-picker button,.hc68 .hh52-emoji-picker button,.hc96-workspace .hh52-emoji-picker button{width:36px!important;height:38px!important;min-height:38px!important;padding:3px!important;font-size:23px!important;line-height:1!important;background:#f2f8f6!important;border:0!important;border-radius:6px!important;color:#173f4b!important}
.hh52-file-open{display:inline-block;margin-left:8px;font-size:12px;font-weight:650;color:#006f79}
.hc68 .hc68-status,.hc96-workspace .hc68-status{font-size:13px!important;line-height:1.5!important;color:#46616b!important}
#hhReception [data-hh52-chat-back]{min-height:40px;margin:0 0 10px;font-size:14px!important;color:#006f79!important;background:#edf7f5!important;border:1px solid #8bb5b6!important;border-radius:8px!important}
.hh52-file-preview{width:min(940px,calc(100vw - 28px));max-width:none;max-height:calc(100dvh - 28px);padding:0;border:1px solid #8bb5b6;border-radius:14px;background:#fff;color:#173f4b;box-shadow:0 20px 70px #06252e66;overflow:auto;color-scheme:light;font:15px/1.5 "Segoe UI",Arial,sans-serif}
.hh52-file-preview::backdrop{background:#052832b8}
.hh52-file-preview>header{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#0b3a43!important;color:#fff!important;padding:14px 18px!important}
.hh52-file-preview>header h2{margin:0!important;font-size:18px!important;line-height:1.4!important;color:#fff!important;overflow-wrap:anywhere}
.hh52-file-preview button,.hh52-file-preview footer a{font:14px/1.4 "Segoe UI",Arial,sans-serif;min-height:40px;box-sizing:border-box;border:1px solid #90b9bb;border-radius:8px;background:#edf7f5;color:#173f4b;padding:9px 12px;white-space:nowrap;text-decoration:none}
.hh52-file-preview>header button{flex:none}
.hh52-file-body{display:grid;place-items:center;min-height:200px;background:#edf4f4;padding:12px}
.hh52-file-body img{display:block;max-width:100%;max-height:66dvh;object-fit:contain;background:#fff}
.hh52-file-body iframe{display:block;width:100%;height:66dvh;border:0;background:#fff}
.hh52-file-preview>footer{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:14px 18px;background:#fff!important;color:#173f4b!important}
.hh52-file-preview footer p{flex-basis:100%;margin:0;color:#46616b!important;font-size:13px}
@media(max-width:450px){#hhReception.hc71-ai{width:calc(100vw - 16px)!important;right:8px!important;max-height:calc(100dvh - 84px)!important}.hh52-compose-tools>button{font-size:13px!important}.hh52-emoji-picker{grid-template-columns:repeat(6,34px)!important}.hh52-file-preview>header{padding:12px!important;gap:10px}.hh52-file-preview>header h2{font-size:16px!important}}

/* Shared House Hippo identity: dark teal chrome, light readable working area. */
body #hhReception.hc71-ai{width:min(440px,calc(100vw - 24px))!important;background:#0b3037!important;border:1px solid #4f8d8c!important;border-radius:16px!important;box-shadow:0 14px 45px #04272e55!important}
body #hhReception>header{background:#0b3037!important;border-bottom:1px solid #3c6c70!important;padding:14px 16px!important;gap:11px!important}
body #hhReception>header strong{font-family:"Segoe UI",Arial,sans-serif!important;font-size:18px!important;letter-spacing:0!important;color:#f1faf7!important}
body #hhReception>header small{font-size:13px!important;color:#d1e8e1!important}
body #hhReception>header img{width:42px!important;height:42px!important;object-fit:cover;border:2px solid #64cbbd;border-radius:50%}
body #hhReception>header button{min-width:38px;min-height:38px;border:1px solid #5d8e90!important;border-radius:9px!important;background:#17494f!important;color:#fff!important;font-size:22px!important;line-height:1!important;padding:5px!important}
body #hhReception>.hc69-presence{background:#e6f3ef!important;color:#173f4b!important;padding:9px 12px!important;border-bottom:1px solid #b6d3cf!important;font-size:13px!important}
body #hhReception .hh-inner{padding:14px!important;background:#f7fbfa!important}
body #hhReception .hh-message{border:1px solid #c3d9d8!important;border-radius:13px!important;background:#fff!important;padding:12px 14px!important;margin-bottom:12px!important;color:#173f4b!important}
body #hhReception .hh-message.user{background:#dff2ec!important;border-color:#a2cec5!important;color:#123e45!important}
body #hhReception .hh-inner .hh-actions{gap:8px!important}
body #hhReception .hh-inner :is(.hc71-contact-details,.hc71-ai-tools,.hc80-ai-extras){background:#edf6f2!important;border:1px solid #bfd7d2!important;border-radius:10px!important;padding:11px!important;margin:0 0 12px!important}
body #hhReception .hh-inner :is(.hc71-contact-details,.hc71-ai-tools,.hc80-ai-extras)>summary{font-size:14px!important;font-weight:600!important;color:#17565f!important}
body #hhReception .hh52-composer{border-top:1px solid #a5c8c2!important;background:#fff!important}
body #hhReception .hh52-composer>button[type=submit],body .hc68 .hh52-composer>button[type=submit],body .hc96-workspace .hh52-composer>button[type=submit]{background:#56c7bd!important;border-color:#3aaea5!important;color:#082d33!important;-webkit-text-fill-color:#082d33!important}
body .hc68 :is(.hc68-window,.hc68-picker){border:1px solid #4f8d8c!important;border-radius:15px!important;background:#f7fbfa!important;color:#173f4b!important}
body .hc68 :is(.hc68-title,.hc68-picker-title),body .hc96-workspace .hc96-heading{background:#0b3037!important;color:#fff!important;border-color:#3c6c70!important}
body .hc68 .hc68-title :is(strong,small,button),body .hc96-workspace .hc96-heading :is(h2,p,button){color:#f0faf7!important;-webkit-text-fill-color:#f0faf7!important}
body .hc68 .hc68-log{background:#f7fbfa!important}
@media(max-width:450px){body #hhReception.hc71-ai{width:calc(100vw - 16px)!important;right:8px!important}body #hhReception>header{padding:12px!important}body #hhReception .hh-inner{padding:12px!important}}

/* Fix2: outrank the shipped native ID selectors, including styles inserted later.
   Keep native field/button nodes and their existing business handlers. */
body #hhReception.hc71-ai > form#hhChatForm.hh52-composer {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 80px!important;
  grid-template-areas:"label label" "tools tools" "input send" "hint hint"!important;
  grid-template-rows:auto auto minmax(64px,auto) auto!important;
  gap:8px 10px!important;align-items:end!important;
  flex:none!important;box-sizing:border-box!important;
  min-width:0!important;max-width:100%!important;
  padding:12px!important;margin:0!important;background:#fff!important;
}
body #hhReception.hc71-ai > form#hhChatForm.hh52-composer[hidden],
body #hhReception.hc71-ai.hh52-request-active > form#hhChatForm.hh52-composer {
  display:none!important;
}
body #hhReception.hc71-ai > form#hhChatForm.hh52-composer > label {
  grid-area:label!important;position:static!important;display:block!important;
  width:auto!important;height:auto!important;min-width:0!important;
  margin:0!important;padding:0!important;clip:auto!important;clip-path:none!important;
  white-space:normal!important;overflow:visible!important;
  font:600 14px/1.4 "Segoe UI",Arial,sans-serif!important;color:#173f4b!important;
}
body #hhReception.hc71-ai > form#hhChatForm.hh52-composer > .hh52-compose-tools {
  grid-area:tools!important;display:flex!important;flex-direction:row!important;
  flex-wrap:wrap!important;align-items:center!important;gap:7px!important;
  min-width:0!important;width:auto!important;margin:0!important;
}
body #hhReception.hc71-ai > form#hhChatForm.hh52-composer > textarea#hhQuestion {
  grid-area:input!important;display:block!important;box-sizing:border-box!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  min-height:72px!important;height:72px!important;max-height:150px!important;
  margin:0!important;padding:10px!important;resize:vertical!important;
  overflow:auto!important;align-self:stretch!important;
  border:1px solid #8bb5b6!important;border-radius:9px!important;
  font:16px/1.45 "Segoe UI",Arial,sans-serif!important;
  background:#fff!important;color:#173f4b!important;-webkit-text-fill-color:#173f4b!important;
}
body #hhReception.hc71-ai > form#hhChatForm.hh52-composer > button[type=submit] {
  grid-area:send!important;display:inline-flex!important;align-items:center!important;
  justify-content:center!important;align-self:end!important;box-sizing:border-box!important;
  flex:none!important;width:80px!important;min-width:80px!important;max-width:none!important;
  height:46px!important;min-height:46px!important;max-height:none!important;
  margin:0!important;padding:10px 12px!important;overflow:visible!important;
  border:1px solid #006b74!important;border-radius:9px!important;
  font:650 16px/1.3 "Segoe UI",Arial,sans-serif!important;white-space:nowrap!important;
  background:#007e88!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
}
body #hhReception.hc71-ai > form#hhChatForm.hh52-composer > .hh52-attachment-hint {
  grid-area:hint!important;display:block!important;min-width:0!important;width:auto!important;
  margin:0!important;font:12px/1.5 "Segoe UI",Arial,sans-serif!important;
}
body .hc68 form.hc68-compose.hh52-composer,
body .hc96-workspace form.hc68-compose.hh52-composer {
  display:grid!important;grid-template-columns:minmax(0,1fr) 80px!important;
  gap:8px 10px!important;align-items:end!important;box-sizing:border-box!important;
  min-width:0!important;padding:12px!important;
}
body .hc68 form.hc68-compose.hh52-composer > .hh52-compose-tools,
body .hc96-workspace form.hc68-compose.hh52-composer > .hh52-compose-tools {
  grid-column:1/-1!important;display:flex!important;flex-wrap:wrap!important;
  gap:7px!important;min-width:0!important;
}
body .hc68 form.hc68-compose.hh52-composer > textarea,
body .hc96-workspace form.hc68-compose.hh52-composer > textarea {
  grid-column:1!important;box-sizing:border-box!important;width:100%!important;
  min-width:0!important;min-height:64px!important;padding:10px!important;
  border:1px solid #8bb5b6!important;border-radius:9px!important;background:#fff!important;
}
body .hc68 form.hc68-compose.hh52-composer > button.hc68-send,
body .hc96-workspace form.hc68-compose.hh52-composer > button.hc68-send {
  grid-column:2!important;display:inline-flex!important;align-items:center!important;
  justify-content:center!important;box-sizing:border-box!important;flex:none!important;
  width:80px!important;min-width:80px!important;height:46px!important;min-height:46px!important;
  padding:10px 12px!important;border:1px solid #006b74!important;border-radius:9px!important;
  font:650 16px/1.3 "Segoe UI",Arial,sans-serif!important;white-space:nowrap!important;
  background:#007e88!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
}
