#stackd-ai{--paper:#fbf8f3;--ink:#221c18;--orange:#c84216;position:fixed;right:24px;bottom:24px;z-index:99990;font:15px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink)}
#stackd-ai *{box-sizing:border-box}#stackd-ai button,#stackd-ai input{font:inherit}#stackd-ai button{cursor:pointer}#stackd-ai button:focus-visible,#stackd-ai input:focus-visible{outline:3px solid #737b45;outline-offset:3px}
#stackd-ai-open{border:0;border-radius:99px;padding:15px 22px;background:var(--orange);color:white;box-shadow:0 5px 24px #221c1826;font-weight:750}#stackd-ai-open span{margin-left:18px}
#stackd-ai-panel{position:absolute;right:0;bottom:66px;width:380px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 110px);background:var(--paper);border:1px solid #e4dacd;border-radius:20px;overflow:auto;box-shadow:0 12px 60px #221c1833}#stackd-ai-panel[hidden]{display:none}
#stackd-ai header{display:flex;justify-content:space-between;align-items:center;padding:20px 22px 10px}#stackd-ai header strong{font-size:25px;letter-spacing:-1px}#stackd-ai header small{display:block;font-size:9px;letter-spacing:2px;color:#64594f}#stackd-ai-close{background:transparent;border:0;font-size:28px;width:44px;height:44px;color:var(--ink)}
#stackd-ai .stackd-ai-mode{margin:0 22px 14px;font-size:10px;letter-spacing:1.1px;color:#596035;font-weight:750}#stackd-ai-messages{padding:0 18px;max-height:260px;overflow-y:auto;overscroll-behavior:contain}
#stackd-ai-messages p{font-size:14px;padding:12px 14px;border-radius:14px;margin:0 0 10px;white-space:pre-wrap;overflow-wrap:anywhere}#stackd-ai .stackd-ai-answer{background:#fff;border:1px solid #e8dfd3;margin-right:20px}#stackd-ai .stackd-ai-question{background:#ececde;margin-left:24px}#stackd-ai-messages .stackd-ai-note{font-size:10px;color:#64594f;padding:0 4px}
#stackd-ai .stackd-ai-quick{display:flex;flex-wrap:wrap;gap:6px;padding:12px 18px}#stackd-ai .stackd-ai-quick button{border:1px solid #d9cdbc;background:transparent;color:var(--ink);border-radius:99px;padding:8px 10px;font-size:12px;min-height:38px}
#stackd-ai-form{padding:0 18px}#stackd-ai-form label{display:block;font-size:11px;font-weight:700;margin-bottom:5px}#stackd-ai-form>div{display:flex;gap:8px}#stackd-ai-message{min-width:0;width:100%;background:#fff;border:1px solid #c9baa9;border-radius:10px;padding:12px;color:var(--ink)}#stackd-ai-send{border:0;border-radius:10px;background:var(--orange);color:#fff;min-width:44px;font-size:24px}#stackd-ai-send:disabled{opacity:.5}
#stackd-ai .stackd-ai-disclosure{font-size:10px;color:#64594f;line-height:1.5;margin:12px 20px 18px}
@media(max-width:600px){#stackd-ai{right:16px;bottom:calc(18px + env(safe-area-inset-bottom))}#stackd-ai-panel{width:calc(100vw - 32px);bottom:64px}#stackd-ai-message{font-size:16px}#stackd-ai-messages{max-height:28dvh}}
@media(prefers-reduced-motion:reduce){#stackd-ai *{scroll-behavior:auto!important}}
#stackd-ai .stackd-ai-link{display:inline-block;padding:7px 0;color:#9b2d0b;font-weight:700;text-decoration:underline}#stackd-ai .stackd-ai-disclosure a{color:#73341d;text-decoration:underline}
