.an-chat-launcher,.an-chat,.an-skill-dialog{font-family:Archivo,system-ui,sans-serif;box-sizing:border-box;color:#141410}.an-chat-launcher{position:fixed;right:24px;bottom:24px;z-index:900;width:56px;height:56px;border:1px solid #b32620;background:#cf3028;color:#fff;border-radius:50%;padding:15px;box-shadow:0 5px 18px #331b1826;cursor:pointer;display:grid;place-items:center}.an-chat-launcher img{width:24px;height:24px;filter:brightness(0) invert(1)}.an-chat-launcher:hover{background:#b92b24}.an-chat-launcher:focus-visible,.an-chat button:focus-visible,.an-chat a:focus-visible,.an-skill-dialog button:focus-visible,.an-skill-dialog a:focus-visible{outline:2px solid #2147f5;outline-offset:3px}.an-chat{position:fixed;right:24px;bottom:92px;z-index:901;width:min(420px,calc(100vw - 32px));height:min(610px,calc(100dvh - 124px));min-height:280px;background:#f2efe7;border:1px solid #d3d0c6;border-radius:20px;box-shadow:0 12px 40px #14141024;display:flex;flex-direction:column;overflow:hidden;font-size:14px;line-height:1.5}.an-chat[hidden],.an-chat [hidden]{display:none!important}.an-chat *,.an-skill-dialog *{box-sizing:border-box}.an-chat button,.an-skill-dialog button{font:inherit;color:inherit;cursor:pointer}.an-chat-top,.an-skill-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #14141014;flex:none}.an-chat-heading{display:flex;flex-direction:column;gap:2px}.an-chat h2{margin:0;font:25px/1.1 'Instrument Serif',Georgia,serif;letter-spacing:0}.an-ai-label{font:10px/1.4 'Space Mono',monospace;color:#74736c}.an-icon-button{height:44px;min-width:44px;padding:11px;border:0;border-radius:50%;background:transparent;display:inline-flex;align-items:center;justify-content:center;flex:none}.an-icon-button:hover{background:#14141009}.an-chat-log{overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:18px 16px;scrollbar-width:thin}.an-suggestions{display:flex;flex-direction:column;align-items:start;gap:10px;padding-top:8px}.an-suggestion{padding:11px 13px;min-height:44px;text-align:left;border:1px solid #14141026;background:transparent;border-radius:12px;line-height:1.4}.an-suggestion:hover{background:#fff7}.an-message{margin:0 0 16px;max-width:100%;overflow-wrap:anywhere}.an-message-user{background:#e5e2d8;border-radius:14px 14px 4px 14px;padding:10px 13px;margin-left:26px}.an-message-assistant{padding-right:8px}.an-message-text{white-space:pre-wrap}.an-thinking{color:#74736c}.an-chat-sources{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.an-source-link{display:inline-flex;align-items:center;min-height:44px;padding:6px 10px;border:1px solid #14141020;border-radius:9px;color:#2147f5;text-decoration:none;font-size:12px}.an-source-link:hover{text-decoration:underline}.an-chat-form{display:flex;gap:8px;align-items:end;margin:0 12px;padding:7px 7px 7px 12px;border:1px solid #14141030;border-radius:15px;background:#ffffff70;flex:none}.an-chat-input{width:100%;min-width:0;min-height:38px;max-height:120px;resize:none;border:0;background:transparent;padding:8px 0;outline:0;font:16px/1.4 Archivo,system-ui,sans-serif;color:#141410}.an-chat-form:focus-within{border-color:#2147f5}.an-chat-send{display:grid;place-items:center;width:44px;height:44px;flex:none;border:0;border-radius:11px;background:#141410;color:#f2efe7}.an-chat-send img{filter:invert(1)}.an-chat-send:disabled{opacity:.45;cursor:wait}.an-chat-bottom{padding:4px 14px 8px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#74736c}.an-text-button{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;border:0;background:transparent;text-decoration:underline;text-underline-offset:3px}.an-chat-error{padding:10px 16px 14px;flex:none;font-size:13px;max-height:190px;overflow:auto}.an-chat-error p{margin:0 0 8px}.an-error-actions,.an-skill-actions{display:flex;flex-wrap:wrap;gap:8px}.an-small-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 12px;border:1px solid #14141030;border-radius:10px;background:transparent;color:#141410;text-decoration:none;font:14px/1.4 Archivo,system-ui,sans-serif}.an-small-button:hover{background:#fff7}.an-small-button img{width:18px;height:18px}.an-skill-dialog{margin:auto;inset:0;width:min(600px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid #d3d0c6;border-radius:20px;background:#f2efe7;box-shadow:0 12px 40px #14141024;font-size:15px;line-height:1.5;overflow:auto}.an-skill-dialog::backdrop{background:#14141066}.an-skill-dialog .an-skill-top{padding:0 0 14px;border:0}.an-skill-dialog h2{margin:0;font:34px/1.1 'Instrument Serif',Georgia,serif}.an-skill-dialog>p{margin:4px 0 18px}.an-command{display:flex;align-items:center;gap:8px;border:1px solid #14141026;border-radius:12px;padding:10px;background:#fff6}.an-command code{font:12px/1.6 'Space Mono',monospace;overflow-wrap:anywhere;white-space:pre-wrap;flex:1;user-select:all}.an-skill-dialog .an-skill-note{font-size:12px;color:#74736c;margin:10px 0 20px}.an-skill-dialog>.an-text-button{margin-top:10px}.an-skill-dialog .an-copy-status{font-size:12px;min-height:18px;margin:4px 0 0;color:#2147f5}@media(max-width:600px){.an-chat-launcher{right:16px;bottom:max(16px,env(safe-area-inset-bottom))}.an-chat{right:12px;bottom:calc(84px + env(safe-area-inset-bottom));width:calc(100vw - 24px);height:min(610px,calc(100dvh - 104px - env(safe-area-inset-bottom)));border-radius:18px}.an-skill-dialog{padding:20px}.an-skill-dialog h2{font-size:30px}.an-command{align-items:start}.an-chat-top{padding:12px}.an-chat-bottom{padding-bottom:4px}}@media(prefers-reduced-motion:no-preference){.an-chat-launcher,.an-suggestion,.an-small-button{transition:background-color .15s ease}}
