/* InsightQera research guidance and requested human conversations. */
.iq-chat-root { --iq-chat-bottom:20px; --iq-chat-safe-top:96px; --iq-chat-height:calc(100dvh - 134px); --iq-chat-ink:#132b39; --iq-chat-muted:#536976; --iq-chat-teal:#087c78; --iq-chat-line:#d7e5e3; font:400 14px/1.5 Inter,"Segoe UI",Arial,sans-serif; letter-spacing:normal; text-align:left; color:var(--iq-chat-ink); color-scheme:light; }
.iq-chat-root,.iq-chat-root * { box-sizing:border-box; }
.iq-chat-root[hidden],.iq-chat-root [hidden] { display:none!important; }
.iq-chat-root :is(h2,h3,h4,p,ol,ul,dl) { margin:0; }
.iq-chat-root :is(button,input,textarea,select) { font:inherit; letter-spacing:normal; }
.iq-chat-root :is(button,a,input,textarea,select):focus-visible { outline:3px solid #078c84; outline-offset:3px; }
.iq-chat-root :is(button,a) { -webkit-tap-highlight-color:transparent; }
.iq-chat-root button { cursor:pointer; }
.iq-chat-root button:disabled { cursor:wait; opacity:.65; }
.iq-chat-root a { color:var(--iq-chat-teal); text-underline-offset:3px; }
.iq-chat-root :is(h2,h3,h4,p,button,a,dt,dd) { overflow-wrap:anywhere; }
.iq-chat-launcher { position:fixed; z-index:85; right:20px; bottom:var(--iq-chat-bottom); min-height:54px; display:flex; align-items:center; gap:10px; padding:12px 17px; border:1px solid #176d72; border-radius:18px 18px 5px 18px; background:#153b49; color:white; box-shadow:0 8px 28px #153b4933; transition:transform .2s; }
.iq-chat-launcher:hover { transform:translateY(-2px); background:#104852; }
.iq-chat-launcher svg { width:23px; height:23px; flex:0 0 auto; }
.iq-chat-launcher span { font-weight:700; }
.iq-chat-launcher small { display:block; font-size:10px; line-height:1.4; color:#ccece7; text-align:left; font-weight:500; }
.iq-chat-launcher .iq-chat-dot { width:7px; height:7px; background:#8ed9c9; border-radius:50%; box-shadow:0 0 0 4px #87cfc11a; }
.iq-chat-panel { position:fixed; z-index:86; top:var(--iq-chat-safe-top); bottom:var(--iq-chat-bottom); right:20px; width:390px; max-width:calc(100vw - 32px); height:min(660px,var(--iq-chat-height)); display:flex; flex-direction:column; border:1px solid #ccdedc; border-radius:23px; background:#fff; box-shadow:0 18px 70px #142d3e2e,0 3px 12px #142d3e0d; overflow:hidden; }
.iq-chat-header { display:flex; justify-content:space-between; gap:12px; padding:20px 20px 17px; background:linear-gradient(125deg,#153948,#174b51); color:white; flex:0 0 auto; }
.iq-chat-header h2 { font-size:19px; line-height:1.25; font-weight:750; color:inherit; letter-spacing:-.025em; }
.iq-chat-eyebrow { display:block; color:#bde6df; font-size:10px; font-weight:750; letter-spacing:.1em; text-transform:uppercase; margin-bottom:5px; }
.iq-chat-header p { color:#d2e7e6; font-size:11px; margin-top:7px; }
.iq-chat-close { align-self:flex-start; display:grid; place-items:center; min-width:44px; height:44px; margin:-9px -9px 0 0; padding:0; border:1px solid #ffffff38; border-radius:12px; background:transparent; color:#fff; }
.iq-chat-close:hover { background:#ffffff14; }
.iq-chat-close svg { width:18px; height:18px; }
.iq-chat-tabs { display:flex; gap:3px; padding:8px 13px; background:#f5faf9; border-bottom:1px solid var(--iq-chat-line); flex:0 0 auto; }
.iq-chat-tab { flex:1; min-height:44px; padding:8px; border:0; border-radius:9px; background:transparent; color:var(--iq-chat-muted); font-size:12px!important; font-weight:650!important; }
.iq-chat-tab[aria-selected=true] { color:#096760; background:#fff; box-shadow:0 1px 5px #153b4912; }
.iq-chat-body { overflow:auto; overscroll-behavior:contain; min-height:0; flex:1; padding:19px; scrollbar-width:thin; }
.iq-chat-body:focus { outline-offset:-3px; }
.iq-chat-stack { display:grid; gap:15px; }
.iq-chat-kicker { color:var(--iq-chat-teal); font-weight:750; font-size:10px; letter-spacing:.09em; text-transform:uppercase; }
.iq-chat-root h3 { font-size:21px; line-height:1.25; letter-spacing:-.03em; font-weight:750; color:var(--iq-chat-ink); }
.iq-chat-root h4 { font-size:14px; line-height:1.4; color:var(--iq-chat-ink); font-weight:750; }
.iq-chat-muted { color:var(--iq-chat-muted); font-size:12px; line-height:1.65; }
.iq-chat-card { border:1px solid var(--iq-chat-line); background:#f4f9f8; border-radius:15px; padding:16px; display:grid; gap:8px; }
.iq-chat-card .iq-chat-button { justify-self:start; margin-top:4px; }
.iq-chat-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.iq-chat-button { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:44px; padding:10px 14px; border:1px solid var(--iq-chat-teal); border-radius:10px; background:var(--iq-chat-teal); color:white!important; font-weight:700!important; font-size:12px!important; text-decoration:none; line-height:1.4; }
.iq-chat-button:hover { background:#096c67; }
.iq-chat-button.secondary { color:#21615f!important; border-color:#c1d8d3; background:white; }
.iq-chat-button.secondary:hover { background:#edf7f3; }
.iq-chat-link-button { min-height:44px; padding:8px 0; border:0; background:transparent; color:var(--iq-chat-teal); font-size:12px!important; text-decoration:underline; text-underline-offset:3px; }
.iq-chat-quick { display:grid; gap:7px; }
.iq-chat-question { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:49px; border:1px solid var(--iq-chat-line); border-radius:11px; padding:11px 13px; background:#fff; color:var(--iq-chat-ink); text-align:left; font-size:12px!important; line-height:1.45; }
.iq-chat-question::after { content:'\2192'; color:#41817b; font-size:17px; }
.iq-chat-question:hover { background:#f2f8f6; border-color:#9dc8bf; }
.iq-chat-note { padding:12px 13px; border-left:3px solid #9accc1; border-radius:0 8px 8px 0; background:#f2f8f6; color:var(--iq-chat-muted); font-size:11px; line-height:1.65; }
.iq-chat-status { font-size:11px; line-height:1.5; color:var(--iq-chat-muted); min-height:17px; }
.iq-chat-status:empty { display:none; }
.iq-chat-status.is-error { color:#9c402c; }
.iq-chat-form { display:grid; gap:13px; }
.iq-chat-form label,.iq-chat-search-label { display:grid; gap:5px; color:var(--iq-chat-ink); font-size:12px; font-weight:650; }
.iq-chat-form :is(input,textarea,select),.iq-chat-search { width:100%; min-height:44px; border:1px solid #bfcfcd; border-radius:9px; color:var(--iq-chat-ink); background:#fff; padding:10px 11px; font-size:13px; line-height:1.5; box-shadow:none; }
.iq-chat-form textarea { resize:vertical; min-height:92px; max-height:220px; }
.iq-chat-form .iq-chat-form-row { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.iq-chat-form small { font-size:10px; color:var(--iq-chat-muted); font-weight:400; }
.iq-chat-form .iq-chat-consent { display:flex; align-items:flex-start; gap:10px; font-size:11px; line-height:1.65; font-weight:400; padding:7px 0; cursor:pointer; }
.iq-chat-consent input { width:19px; height:19px; min-height:19px; flex:0 0 auto; margin:1px 0 0; accent-color:var(--iq-chat-teal); }
.iq-chat-review { display:grid; gap:0; border:1px solid var(--iq-chat-line); border-radius:12px; overflow:hidden; }
.iq-chat-review div { padding:10px 12px; background:#f7faf9; border-bottom:1px solid var(--iq-chat-line); }
.iq-chat-review div:last-child { border-bottom:0; }
.iq-chat-review dt { color:var(--iq-chat-muted); font-size:10px; font-weight:700; letter-spacing:.03em; }
.iq-chat-review dd { margin:3px 0 0; font-size:12px; white-space:pre-wrap; }
.iq-chat-answer { display:grid; gap:10px; font-size:13px; line-height:1.75; }
.iq-chat-answer p { white-space:pre-wrap; }
.iq-chat-answer a { font-size:12px; }
.iq-chat-search-results { display:grid; gap:7px; }
.iq-chat-concierge { padding:14px; border:1px solid #b9d8d2; border-radius:16px; background:linear-gradient(145deg,#effaf7,#fbfefd); box-shadow:0 10px 28px rgba(19,72,70,.06); }
.iq-chat-concierge::before { content:''; display:block; width:30px; height:3px; border-radius:99px; background:linear-gradient(90deg,#0a8f85,#8bd8c4); }
.iq-chat-route-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.iq-chat-route { min-height:104px; padding:13px; border:1px solid #d5e6e2; border-radius:13px; color:var(--iq-chat-ink); background:#fff; text-align:left; transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease; }
.iq-chat-route:hover { transform:translateY(-2px); border-color:#72bdb0; box-shadow:0 8px 18px rgba(18,79,73,.1); }
.iq-chat-route strong { display:block; margin-bottom:6px; font-size:12px; }
.iq-chat-route span { display:block; color:var(--iq-chat-muted); font-size:10px; line-height:1.5; }
.iq-chat-team-state { display:flex; align-items:center; gap:7px; font-size:11px; color:var(--iq-chat-muted); }
.iq-chat-team-state::before { content:''; width:7px; height:7px; background:#9aaab1; border-radius:50%; flex:0 0 auto; }
.iq-chat-team-state.is-available::before { background:#178968; }
.iq-chat-conversation { display:flex; flex-direction:column; gap:11px; }
.iq-chat-message { align-self:flex-start; max-width:93%; padding:11px 13px; border:1px solid #dde7e5; border-radius:13px 13px 13px 3px; background:#f4f8f7; }
.iq-chat-message.is-visitor { align-self:flex-end; border-color:#cce0dc; background:#eaf5f1; border-radius:13px 13px 3px 13px; }
.iq-chat-message.is-system { align-self:center; max-width:100%; border:0; padding:5px; background:transparent; text-align:center; }
.iq-chat-message strong { display:block; color:#31635f; font-size:10px; margin-bottom:4px; }
.iq-chat-message p { color:var(--iq-chat-ink); font-size:12px; line-height:1.65; white-space:pre-wrap; overflow-wrap:anywhere; }
.iq-chat-message.is-system p { font-size:10px; color:var(--iq-chat-muted); }
.iq-chat-message time { display:block; margin-top:5px; font-size:9px; color:#637b83; }
.iq-chat-live-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:5px; margin-bottom:12px; }
.iq-chat-live-heading .iq-chat-link-button { font-size:11px!important; min-height:44px; }
.iq-chat-compose { padding:12px 16px; border-top:1px solid var(--iq-chat-line); background:#fff; flex:0 0 auto; }
.iq-chat-compose textarea { min-height:62px; max-height:120px; resize:vertical; }
.iq-chat-compose .iq-chat-actions { justify-content:space-between; }
.iq-chat-footer { padding:9px 16px; border-top:1px solid var(--iq-chat-line); font-size:9px; color:#687e88; background:#f8fbfa; flex:0 0 auto; display:flex; justify-content:space-between; gap:12px; }
.iq-chat-footer a { color:#4d6c73; }
.iq-chat-sr { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
@media(max-width:480px) {
 .iq-chat-root { --iq-chat-bottom:14px; --iq-chat-safe-top:88px; --iq-chat-height:calc(100dvh - 120px); }
 .iq-chat-launcher { right:14px; min-height:50px; border-radius:15px 15px 4px 15px; }
 .iq-chat-panel { right:12px; width:calc(100vw - 24px); max-width:calc(100vw - 24px); border-radius:19px; height:min(660px,var(--iq-chat-height)); }
 .iq-chat-header { padding:17px 16px 14px; }
 .iq-chat-body { padding:16px; }
 .iq-chat-form :is(input,textarea,select),.iq-chat-search { font-size:16px; }
 .iq-chat-route-grid { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) { .iq-chat-root * { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }
@media(forced-colors:active) { .iq-chat-launcher,.iq-chat-panel,.iq-chat-card,.iq-chat-question,.iq-chat-message,.iq-chat-button { border:1px solid ButtonText; } .iq-chat-launcher,.iq-chat-header,.iq-chat-button { background:Canvas; color:CanvasText!important; } .iq-chat-eyebrow,.iq-chat-header p,.iq-chat-launcher small { color:CanvasText; } }
