/* Demo chat bubble: themed by the demo's preset colors. Sits above the mobile call bar. */
.nc{--nc-p:var(--wp--preset--color--primary);--nc-on:var(--wp--preset--color--on-primary);--nc-text:#1f2328;position:fixed;right:18px;bottom:18px;z-index:90;font:400 15px/1.45 var(--wp--preset--font-family--body,system-ui),system-ui,sans-serif}
/* bottom right, clear of the text column (it used to cover the start of lines); on phones above the call bar */
@media (max-width:781px){.nc{bottom:74px;right:12px}}
/* a compact 56px round icon button on every width (rubric 8: ≤64px); the label stays as its accessible name */
.nc-bubble{display:flex;align-items:center;justify-content:center;width:56px;height:56px;padding:0;border:0;border-radius:50%;background:#1f2328;color:#fff;font:700 15px/1 inherit;cursor:pointer;box-shadow:0 10px 30px rgba(0,0,0,.28)}
.nc-bubble svg{width:24px;height:24px}
.nc-bubble span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.nc.is-open .nc-bubble{display:none}
@media (max-width:781px){.nc-bubble{width:52px;height:52px}}
/* phones: hidden while the hero's buttons are on screen (chat.js nc-wait), so it never covers the first screen's calls to action */
@media (max-width:781px){.nc.nc-wait:not(.is-open) .nc-bubble{visibility:hidden;opacity:0;transform:translateY(8px);pointer-events:none}}
@media (prefers-reduced-motion:no-preference){.nc-bubble{transition:opacity .2s ease-out,transform .2s ease-out,visibility .2s}}
.nc-panel{position:absolute;right:0;bottom:0;width:min(360px,calc(100vw - 24px));max-height:min(560px,calc(100vh - 110px));display:flex;flex-direction:column;background:#fff;color:var(--nc-text);border-radius:18px;box-shadow:0 24px 60px rgba(0,0,0,.3);overflow:hidden}
.nc-panel[hidden]{display:none}
.nc-head{display:flex;align-items:center;gap:10px;padding:14px 14px 14px 16px;background:var(--nc-p);color:var(--nc-on)}
.nc-head div{flex:1;display:grid}
.nc-head small{opacity:.9;font-size:12px;display:flex;align-items:center;gap:6px}
.nc-head small i{width:8px;height:8px;border-radius:50%;background:#3ddc84}
.nc-av{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.22);font-weight:800}
.nc-x{border:0;background:transparent;color:inherit;font-size:26px;line-height:1;cursor:pointer;padding:0 4px}
.nc-log{flex:1;overflow-y:auto;padding:14px;display:grid;gap:8px;align-content:start;background:#f6f7f9;min-height:160px}
.nc-msg{max-width:85%;padding:9px 12px;border-radius:14px;font-size:14.5px}
.nc-msg small{display:block;font-size:12px;opacity:.75;margin-top:2px}
.nc-them{background:#fff;border:1px solid #e3e5e8;justify-self:start;border-bottom-left-radius:4px}
.nc-me{background:var(--nc-p);color:var(--nc-on);justify-self:end;border-bottom-right-radius:4px}
.nc-note{background:#e7f6ee;border-color:#c5e8d4;color:#1d5c3c;font-size:13.5px}
.nc-typing{display:flex;gap:4px;padding:12px 14px}
.nc-typing span{width:7px;height:7px;border-radius:50%;background:#9aa1ab;animation:nc-b 1s infinite}
.nc-typing span:nth-child(2){animation-delay:.15s}.nc-typing span:nth-child(3){animation-delay:.3s}
@keyframes nc-b{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-4px)}}
.nc-input{padding:10px 12px;border-top:1px solid #e3e5e8;background:#fff}
.nc-input:empty{display:none}
.nc-chips{display:flex;flex-wrap:wrap;gap:6px}
.nc-chips button{border:1.5px solid var(--nc-p);background:#fff;color:var(--nc-text);border-radius:999px;padding:7px 12px;font:600 13.5px/1.2 inherit;cursor:pointer}
.nc-chips button:hover{background:var(--nc-p);color:var(--nc-on)}
.nc-form{display:grid;gap:6px}
.nc-form input,.nc-form textarea{font:inherit;font-size:14.5px;padding:9px 10px;border:1px solid #d6d9dd;border-radius:10px;width:100%;box-sizing:border-box;color:#1f2328;background:#fff}
.nc-form button{border:0;border-radius:10px;padding:10px;background:var(--nc-p);color:var(--nc-on);font:700 14.5px/1 inherit;cursor:pointer}
.nc-demo{margin:0;padding:6px 12px 10px;font-size:11.5px;color:#6b717a;background:#fff;text-align:center}
.nc :focus-visible{outline:3px solid var(--wp--preset--color--accent,#2563eb);outline-offset:2px}
@media (prefers-reduced-motion:reduce){.nc-typing span{animation:none}}
@media (max-width:781px){.nc--bar .nc-bubble{display:none}}
.nc-consent{display:flex;gap:8px;align-items:flex-start;font-size:12px;line-height:1.4;color:#3d434a}.nc-consent input{flex:none;width:18px;height:18px;margin-top:1px}
