/* Public store assistant. Styles are scoped to avoid the site's navigation header. */
#cs-agent-open{position:fixed;right:24px;bottom:max(22px,env(safe-area-inset-bottom));z-index:140;display:flex;align-items:center;justify-content:center;gap:9px;width:56px;height:56px;padding:14px;border:1px solid #414639;border-radius:18px;background:#262c22;color:#f6ce65;box-shadow:0 5px 18px #19201526;cursor:pointer}
#cs-agent-open>svg{width:26px;height:26px;flex:none}.cs-support-badge{position:absolute;right:-4px;top:-5px;display:grid;place-items:center;height:19px;min-width:23px;border:2px solid #fbfcf8;border-radius:7px;background:#edc653;color:#3e351c;font-family:inherit;font-size:9px;font-weight:700;line-height:1}
.cs-launch-label{position:absolute;right:calc(100% + 12px);white-space:nowrap;padding:7px 10px;border:1px solid #e0e4d7;border-radius:8px;background:#fff;color:#3e4834;font-size:12px;opacity:0;transform:translateX(4px);pointer-events:none;transition:opacity .15s,transform .15s}#cs-agent-open:hover .cs-launch-label,#cs-agent-open:focus-visible .cs-launch-label{opacity:1;transform:none}
#cs-agent-panel{position:fixed;right:24px;bottom:90px;z-index:141;display:flex;flex-direction:column;box-sizing:border-box;width:min(410px,calc(100vw - 32px));height:600px;max-height:calc(100vh - 118px);max-height:calc(100dvh - 118px);overflow:hidden;border:1px solid #dce1d4;border-radius:20px;background:#fcfdf9;box-shadow:0 18px 65px #1e281d30;color:#333d2c;font-family:inherit;font-size:14px;line-height:1.6}
#cs-agent-panel[hidden]{display:none}#cs-agent-panel *{box-sizing:border-box}
#cs-agent-panel .cs-agent-head{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr) 36px;align-items:center;gap:12px;flex:none;width:100%;max-width:none;min-height:82px;margin:0;padding:18px;background:#252b22;border:0;color:#f5f6ed;box-shadow:none}
.cs-agent-avatar{display:grid;place-items:center;flex:none;width:38px;height:38px;border:1px solid #4b5141;border-radius:11px;background:#363e2e}.cs-agent-avatar img{display:block;width:24px;height:24px;object-fit:contain}.cs-agent-identity{min-width:0;flex:1}
#cs-agent-panel h2{margin:0;font-size:15px;line-height:1.4;font-weight:600;letter-spacing:-.15px;overflow-wrap:anywhere}#cs-agent-panel .cs-agent-head p{margin:4px 0 0;font-size:11px;line-height:1.5;color:#c0c9b3}
#cs-agent-panel .cs-agent-head button{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:9px;border:1px solid #46503e;border-radius:10px;background:#30382b;color:#ced6c3;cursor:pointer}#cs-agent-panel .cs-agent-head button:hover{background:#3d4535}#cs-agent-panel .cs-agent-head svg{width:17px;height:17px}
.cs-agent-messages{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 18px 12px;scrollbar-width:thin;scrollbar-color:#cbd2c1 transparent}.cs-message{max-width:94%;margin:0 0 18px}.cs-message-body{border-radius:13px;background:#eef1e9;padding:13px 15px;color:#3e4935;font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.cs-user{margin-left:auto}.cs-user .cs-message-body{background:#343e2c;color:#f5f7ee;border-bottom-right-radius:4px}.cs-assistant .cs-message-body{border-bottom-left-radius:4px}
.cs-agent-chips{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 18px}.cs-agent-chips button,.cs-agent-retry{border:1px solid #d7decd;background:#fff;color:#596449;border-radius:18px;padding:7px 11px;font:inherit;font-size:12px;cursor:pointer}.cs-agent-chips button:hover,.cs-agent-retry:hover{border-color:#a8b491;background:#f3f5ed}.cs-agent-sources{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 0}.cs-agent-sources a{display:inline-flex;align-items:center;min-height:30px;padding:4px 9px;border:1px solid #e3e6da;border-radius:8px;background:#fff;font-size:11px;line-height:1.5;color:#6e613d;text-decoration:none}.cs-agent-retry{margin-top:8px}.cs-message-error .cs-message-body{background:#faf2df}
.cs-agent-status{flex:none;padding:0 18px;color:#7d886e;font-size:11px;min-height:0}.cs-agent-status:not(:empty){padding-bottom:10px}
#cs-agent-form{flex:none;display:block;margin:0;padding:13px 16px 14px;border-top:1px solid #e3e7dc;background:#fff}
.cs-agent-compose{display:flex;align-items:flex-end;gap:8px;padding:6px 6px 6px 12px;border:1px solid #dce2d2;border-radius:13px;background:#fbfcf8}.cs-agent-compose:focus-within{border-color:#a8b58e;box-shadow:0 0 0 2px #d9e1cc45}
#cs-agent-input{display:block;flex:1;min-width:0;width:100%;max-height:100px;min-height:36px;resize:none;overflow-y:auto;padding:7px 0;margin:0;background:transparent;border:0;border-radius:0;outline:none;font:inherit;font-size:14px;line-height:22px;color:#35412b;box-shadow:none}#cs-agent-input::placeholder{color:#8c977f}
#cs-agent-send{display:grid;place-items:center;flex:none;width:36px;height:36px;border:0;border-radius:10px;background:#d9b753;color:#3e351d;cursor:pointer}#cs-agent-send svg{width:19px;height:19px}#cs-agent-send:disabled{background:#edf0e5;color:#a3ad94;cursor:default}

#cs-agent-panel button:focus-visible,#cs-agent-panel a:focus-visible,#cs-agent-open:focus-visible{outline:2px solid #bb9b4c;outline-offset:3px}#cs-agent-panel button:disabled{cursor:default}.cs-agent-chips button:disabled{opacity:.5}
@media(max-width:480px){#cs-agent-open{right:16px;bottom:max(16px,env(safe-area-inset-bottom));width:50px;height:50px;border-radius:16px;padding:12px}#cs-agent-panel{right:12px;bottom:max(78px,calc(env(safe-area-inset-bottom) + 72px));width:calc(100vw - 24px);max-height:calc(100vh - 98px);max-height:calc(100dvh - 98px);border-radius:17px}#cs-agent-input{font-size:16px}.cs-launch-label{display:none}#cs-agent-panel .cs-agent-head{padding:16px;gap:10px}}
@media(prefers-reduced-motion:reduce){.cs-launch-label{transition:none}}

.cs-agent-sources a:hover{background:#f1f4e9;border-color:#bbc6aa;color:#445332}
@media(max-width:360px){#cs-agent-panel .cs-agent-head{grid-template-columns:34px minmax(0,1fr) 34px;gap:9px;padding:14px}#cs-agent-panel h2{font-size:13px}.cs-agent-avatar{width:34px;height:34px}#cs-agent-panel .cs-agent-head button{width:34px;height:34px}}
