/* Scoped, responsive consultant UI. */
#siftmere-consultant{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:1000;font:14px/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#14233b;display:flex;flex-direction:column;align-items:flex-end;gap:10px;max-width:calc(100vw - 32px)}
#siftmere-consultant *{box-sizing:border-box}#siftmere-consultant [hidden]{display:none!important}#siftmere-consultant button{font:inherit;cursor:pointer}#siftmere-consultant button:focus-visible,#siftmere-consultant a:focus-visible,#siftmere-consultant input:focus-visible{outline:2px solid #245dd1;outline-offset:3px}.sc-launch{border:0;border-radius:28px;background:#172d50;color:#fff!important;padding:13px 20px;box-shadow:0 6px 24px #172d5030;min-height:48px}.sc-panel{display:flex;flex-direction:column;width:min(380px,calc(100vw - 32px));max-height:min(630px,calc(100vh - 92px));max-height:min(630px,calc(100dvh - 92px));overflow:auto;background:white;border:1px solid #d5deeb;border-radius:18px;box-shadow:0 12px 48px #172d5030}.sc-head{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#172d50;color:white;gap:12px}.sc-head h2{font-size:16px;margin:0;color:white;line-height:1.4}.sc-close{border:0;background:transparent;color:white;font-size:25px!important;min-width:44px;min-height:44px}.sc-log{overflow:auto;min-height:78px;max-height:290px;flex:1;padding:12px;display:flex;flex-direction:column;gap:8px}.sc-message{margin:0;padding:10px 12px;background:#f3f6fb;border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere}.sc-user{background:#e5edfc;align-self:flex-end}.sc-source{display:block;color:#245dd1!important;text-decoration:underline!important;margin-top:8px}.sc-chips{display:flex;flex-wrap:wrap;gap:6px;padding:8px 12px;max-height:114px;overflow:auto;flex-shrink:0}.sc-chip{padding:7px 10px;border:1px solid #c9d6e9;border-radius:14px;background:white;color:#172d50;min-height:36px}.sc-form{display:flex;gap:6px;padding:10px 12px;border-top:1px solid #d5deeb;flex-shrink:0}.sc-input{font:inherit!important;min-width:0;width:100%;border:1px solid #b5c5dc;border-radius:10px;padding:10px;color:#14233b;background:white;font-size:16px!important}.sc-send{background:#245dd1;border:0;color:white!important;border-radius:10px;padding:8px 12px;min-height:44px}.sc-footer{padding:0 12px 10px;color:#465a73;font-size:12px;flex-shrink:0}.sc-footer p{margin:0 0 4px}.sc-reset{background:none;border:0;text-decoration:underline;color:#245dd1!important;padding:4px 0}.sc-fallback{border-left:3px solid #d5deeb}@media(max-height:500px){.sc-panel{max-height:calc(100dvh - 82px)}.sc-chips{max-height:72px}}
