/* CREIntel Daily chat pop-up. First-party, no external requests. */
.cw-btn{position:fixed;right:18px;bottom:18px;z-index:2147483000;display:inline-flex;align-items:center;gap:8px;padding:12px 18px;background:var(--navy,#0F1A2E);color:var(--bg,#FBFAF6);border:1px solid var(--rule-2,#0F1A2E);border-radius:999px;font:600 12.5px/1 Archivo,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;box-shadow:0 6px 22px rgba(15,26,46,.28)}
.cw-btn:focus-visible,.cw-x:focus-visible,.cw-send:focus-visible,.cw-link:focus-visible,.cw-panel input:focus-visible,.cw-panel textarea:focus-visible{outline:3px solid var(--brass,#9C7A3C);outline-offset:2px}
.cw-btn .cw-dot{width:8px;height:8px;border-radius:50%;background:var(--brass,#C9A55C)}
.cw-panel{position:fixed;right:18px;bottom:18px;z-index:2147483001;width:370px;max-width:calc(100vw - 24px);height:min(560px,calc(100vh - 36px));display:flex;flex-direction:column;background:var(--surface,#fff);color:var(--ink,#0F1A2E);border:1px solid var(--rule-2,#0F1A2E);border-top:5px solid var(--red,#E30613);border-radius:4px;box-shadow:0 14px 44px rgba(15,26,46,.35);font:14.5px/1.45 "Source Serif 4",Georgia,serif}
.cw-panel[hidden],.cw-btn[hidden],.cw-panel [hidden]{display:none!important}
body:has(#consentGate:not([hidden])) .cw-btn{display:none} /* keep clear of the cookie choices bar until the visitor has chosen */
.cw-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:12px 14px 10px;border-bottom:1px solid var(--rule,#E4DFD2)}
.cw-head h2{margin:0;font:700 15px/1.2 "Source Serif 4",Georgia,serif;color:var(--ink,#0F1A2E)}
.cw-head p{margin:3px 0 0;font:12px/1.35 Archivo,system-ui,sans-serif;color:var(--muted,#677286)}
.cw-x{flex:none;background:transparent;border:1px solid var(--rule,#E4DFD2);border-radius:3px;color:var(--ink-2,#3A465A);width:30px;height:30px;font-size:18px;line-height:1;cursor:pointer}
.cw-log{flex:1;overflow-y:auto;padding:12px 14px;display:flex;flex-direction:column;gap:9px;background:var(--bg,#FBFAF6)}
.cw-m{max-width:88%;padding:8px 11px;border-radius:4px;white-space:pre-wrap;overflow-wrap:anywhere}
.cw-a{align-self:flex-start;background:var(--surface-2,#F1EEE6);border:1px solid var(--rule,#E4DFD2)}
.cw-u{align-self:flex-end;background:var(--navy,#0F1A2E);color:var(--bg,#FBFAF6)}
.cw-note{font:11.5px/1.35 Archivo,system-ui,sans-serif;color:var(--ink-2,#3A465A);padding:6px 14px 4px;background:var(--surface,#fff)}
.cw-form{display:flex;gap:8px;padding:10px 14px;border-top:1px solid var(--rule,#E4DFD2);background:var(--surface,#fff)}
.cw-form textarea,.cw-person input,.cw-person textarea{width:100%;box-sizing:border-box;padding:8px 10px;border:1px solid var(--rule-2,#0F1A2E);border-radius:3px;background:var(--surface,#fff);color:var(--ink,#0F1A2E);font:14px/1.35 "Source Serif 4",Georgia,serif}
.cw-form textarea{resize:none;height:40px}
.cw-send{flex:none;padding:0 14px;background:var(--navy,#0F1A2E);color:var(--bg,#FBFAF6);border:0;border-radius:3px;font:600 12px Archivo,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.cw-send[disabled]{opacity:.55;cursor:default}
.cw-foot{padding:0 14px 10px;background:var(--surface,#fff);font:12px Archivo,system-ui,sans-serif}
.cw-link{background:none;border:0;padding:0;color:var(--red-ink,#C50510);text-decoration:underline;cursor:pointer;font:inherit;font-weight:600}
.cw-person{flex:1;overflow-y:auto;padding:12px 14px;display:flex;flex-direction:column;gap:9px}
.cw-person label{display:block;font:600 12px Archivo,system-ui,sans-serif;color:var(--ink-2,#3A465A);margin-bottom:3px}
.cw-person textarea{height:70px;resize:vertical}
.cw-err{color:var(--red-ink,#C50510);font:600 12.5px Archivo,system-ui,sans-serif;margin:0}
.cw-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
@media (max-width:520px){.cw-panel{right:0;bottom:0;left:0;width:auto;max-width:none;height:min(78vh,calc(100vh - 12px));border-radius:6px 6px 0 0}.cw-btn{right:12px;bottom:12px}}
@media (prefers-reduced-motion:no-preference){.cw-panel{animation:cwin .16s ease-out}@keyframes cwin{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}
