.duck-chat,.duck-dialog,.duck-launcher{--duck-ink:#292337;--duck-muted:#746b83;--duck-bg:#fcfbff;--duck-surface:#fff;--duck-line:#e9e4ef;--duck-tint:#eee9fa;--duck-purple:#6c51a4;color:var(--duck-ink);box-sizing:border-box;font-family:Arial,Helvetica,sans-serif}html[data-theme=dark] :is(.duck-chat,.duck-dialog,.duck-launcher){--duck-ink:#f2edf9;--duck-muted:#b1a6c2;--duck-bg:#1d1925;--duck-surface:#292331;--duck-line:#3d344a;--duck-tint:#3c2f51;--duck-purple:#c5acef}.duck-chat *{box-sizing:border-box}.duck-chat{background:var(--duck-bg);border:1px solid var(--duck-line);isolation:isolate;border-radius:24px;flex-direction:column;display:flex;overflow:hidden}.duck-chat-header{background:var(--duck-surface);border-bottom:1px solid var(--duck-line);flex-shrink:0;align-items:center;gap:12px;padding:17px 20px;display:flex}.duck-avatar{object-fit:cover;border-radius:16px}.duck-header-title{flex:1;min-width:0}.duck-header-title h2{letter-spacing:-.4px;margin:0 0 5px;font-size:17px;font-weight:700;line-height:1.2}.duck-header-title h2 span{color:var(--duck-purple)}.duck-header-title p{color:var(--duck-muted);margin:0;font-size:11px}.duck-header-actions{gap:3px;display:flex}.duck-header-actions :is(button,a){width:32px;height:36px;color:var(--duck-muted);cursor:pointer;background:0 0;border:0;border-radius:9px;justify-content:center;align-items:center;font:22px/1 Arial;text-decoration:none;display:flex}.duck-header-actions :is(button,a):hover{background:var(--duck-tint);color:var(--duck-ink)}.duck-header-actions button:disabled{opacity:.3;cursor:default}.duck-mode{color:var(--duck-muted);text-align:center;border-bottom:1px solid var(--duck-line);flex-shrink:0;padding:10px 12px;font:10px/1.5 monospace}.duck-transcript{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--duck-line) transparent;flex:1;min-height:0;padding:0 20px 14px;overflow:auto}.duck-welcome{text-align:center;max-width:360px;margin:auto;padding:25px 0 10px}.duck-welcome>img{border-radius:36px;width:140px;height:140px;margin:0 auto 20px;display:block}.duck-welcome h3{letter-spacing:-.8px;margin:0 0 13px;font-size:24px;font-weight:600;line-height:1.2}.duck-welcome>p{color:var(--duck-muted);margin:0 0 22px;font-size:13px;line-height:1.65}.ask-starters{flex-wrap:wrap;justify-content:center;gap:7px;display:flex}.ask-starters button{border:1px solid var(--duck-line);background:var(--duck-surface);min-height:38px;color:var(--duck-ink);cursor:pointer;border-radius:100px;align-items:center;gap:10px;padding:9px 12px;font:11px/1.4 Arial;display:flex}.ask-starters button:hover{border-color:var(--duck-purple);background:var(--duck-tint)}.ask-starters button span{color:var(--duck-purple);font-size:14px}.ask-turn{flex-direction:column;align-items:flex-start;gap:18px;padding-top:24px;display:flex}.ask-question{background:var(--duck-tint);border-radius:17px 17px 4px;align-self:flex-end;max-width:85%;padding:12px 15px}.ask-speaker{text-transform:uppercase;letter-spacing:.05em;color:var(--duck-muted);align-items:center;gap:8px;margin-bottom:5px;font:9px/1.5 monospace;display:flex}.ask-turn p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font:14px/1.65 Arial}.duck-answer-row{align-items:flex-start;gap:9px;width:94%;display:flex}.duck-answer-row>img{border-radius:10px;flex-shrink:0;margin-top:2px}.ask-answer{border:1px solid var(--duck-line);background:var(--duck-surface);border-radius:4px 17px 17px;min-width:0;max-width:calc(100% - 35px);padding:11px 14px 13px}.ask-project-status{letter-spacing:.02em;border:1px solid var(--duck-line);border-radius:4px;padding:1px 5px;font-size:8px}.ask-answer blockquote{color:var(--duck-muted);border-left:2px solid var(--duck-purple);overflow-wrap:anywhere;margin:11px 0 0;padding-left:11px;font-size:13px;line-height:1.7}.duck-chat a{color:var(--duck-purple)}.ask-source{margin-top:12px;font:11px/1.6 Arial;text-decoration:none;display:block}.ask-source:hover{text-decoration:underline}.duck-composer-area{background:var(--duck-bg);flex-shrink:0;padding:12px 16px 14px}.ask-form{border:0;margin:0;padding:0}.ask-compose{background:var(--duck-surface);border:1px solid var(--duck-line);border-radius:20px;align-items:flex-end;gap:8px;padding:7px;display:flex;box-shadow:0 2px 4px #281b4010}.ask-compose:focus-within{border-color:var(--duck-purple);box-shadow:0 0 0 2px #a58bc82a}.ask-compose textarea{color:var(--duck-ink);resize:none;field-sizing:content;background:0 0;border:0;outline:none;width:100%;min-width:0;min-height:38px;max-height:120px;padding:8px 5px 8px 9px;font:14px/1.5 Arial}.ask-compose textarea::placeholder{color:var(--duck-muted)}.ask-compose button{color:#fff;cursor:pointer;background:#6c51a4;border:0;border-radius:50%;flex-shrink:0;place-items:center;width:38px;height:38px;display:grid}.ask-compose button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.ask-compose button:disabled{opacity:.35;cursor:default}.ask-form-foot{color:var(--duck-muted);justify-content:space-between;gap:10px;padding:9px 4px 0;font:9px/1.5 Arial;display:flex}.duck-sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.ask-limit{text-align:center}.ask-limit p{font:12px/1.5 Arial}.ask-limit button{border:1px solid var(--duck-line);background:var(--duck-tint);color:var(--duck-ink);cursor:pointer;border-radius:14px;padding:10px 18px}.duck-chat :is(a,button):focus-visible,.duck-launcher:focus-visible{outline:3px solid var(--duck-purple);outline-offset:3px}.duck-typing{gap:4px;padding:8px 0;display:flex}.duck-typing i{background:var(--duck-muted);border-radius:50%;width:5px;height:5px;animation:1s infinite duck-dot}.duck-typing i:nth-child(2){animation-delay:.15s}.duck-typing i:nth-child(3){animation-delay:.3s}@keyframes duck-dot{50%{opacity:.35;transform:translateY(-3px)}}.duck-chat-page{width:min(100%,680px);height:min(740px,100dvh - 160px);min-height:500px;margin:35px auto}.duck-chat-page .duck-transcript{padding-left:28px;padding-right:28px}.duck-chat-page .duck-welcome>img{width:160px;height:160px}.duck-chat-page .duck-welcome h3{font-size:30px}.duck-chat-page .duck-composer-area{padding:16px 24px}.duck-launcher{right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));cursor:pointer;z-index:90;background:#eee9fa;border:2px solid #fff;border-radius:24px;width:68px;height:68px;padding:0;transition:transform .18s,box-shadow .18s;position:fixed;box-shadow:0 6px 24px #33204a29,0 1px 3px #33204a18}.duck-launcher:hover{transform:translateY(-3px)rotate(-4deg);box-shadow:0 10px 32px #33204a38}.duck-launcher>img{object-fit:cover;border-radius:22px;width:100%;height:100%}.duck-launcher-dot{background:#b69b5d;border:3px solid #fff;border-radius:50%;width:12px;height:12px;position:absolute;bottom:1px;right:-2px}.duck-launcher-tooltip{white-space:nowrap;color:var(--duck-ink);background:var(--duck-surface);border:1px solid var(--duck-line);opacity:0;pointer-events:none;border-radius:12px;padding:9px 12px;font:12px/1.4 Arial;transition:all .15s;position:absolute;top:18px;right:calc(100% + 12px);transform:translate(4px);box-shadow:0 3px 12px #33204a12}.duck-launcher:hover .duck-launcher-tooltip,.duck-launcher:focus-visible .duck-launcher-tooltip{opacity:1;transform:none}.duck-dialog{inset:auto max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) auto;background:0 0;border:0;border-radius:24px;width:420px;max-width:calc(100vw - 32px);height:min(680px,100dvh - 48px);max-height:none;margin:0;padding:0;position:fixed;overflow:visible;box-shadow:0 24px 90px #21122e38}.duck-dialog::backdrop{-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);background:#25163212}.duck-chat-compact{width:100%;height:100%}.duck-chat-compact .duck-welcome>img{width:116px;height:116px;margin-bottom:18px}.duck-chat-compact .duck-welcome h3{font-size:25px}.duck-chat-compact .duck-welcome{padding-top:26px}@media (max-width:600px){.duck-launcher{right:18px;bottom:max(18px,env(safe-area-inset-bottom));border-radius:22px;width:62px;height:62px}.duck-launcher>img{border-radius:20px}.duck-dialog{inset:auto 8px max(8px,env(safe-area-inset-bottom)) 8px;border-radius:23px;width:auto;max-width:none;height:min(680px,100dvh - 24px)}.duck-chat-header{gap:10px;padding:14px 15px}.duck-header-actions{gap:0}.duck-header-actions :is(button,a){width:30px}.duck-chat-page{width:calc(100% - 24px);height:calc(100dvh - 130px);min-height:480px;margin:18px 12px}.duck-chat-page .duck-transcript{padding-left:16px;padding-right:16px}.duck-chat-page .duck-composer-area{padding:12px}.duck-chat-page .duck-welcome>img{width:135px;height:135px}.duck-chat-page .duck-welcome h3{font-size:26px}.duck-chat-page .duck-welcome{padding-top:24px}.ask-compose textarea{font-size:16px}.duck-transcript{padding-left:14px;padding-right:14px}.duck-welcome>p{font-size:13px}.duck-chat .ask-answer{padding:10px 12px}.ask-turn p{font-size:14px}.duck-mode{font-size:9px}.duck-header-title h2{font-size:16px}.duck-header-title p{font-size:10px}}@media (prefers-reduced-motion:reduce){.duck-chat *,.duck-launcher,.duck-launcher *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.duck-chat-page .duck-welcome{max-width:440px}.duck-embed{background:0 0;height:100dvh;margin:0}.duck-embed>.duck-chat{border:0;border-radius:0;height:100%}body:has(.duck-embed){background:0 0;margin:0}html[data-deploy-preview=true] .duck-launcher{bottom:max(92px,env(safe-area-inset-bottom))}.duck-chat .duck-welcome{padding-top:48px;padding-bottom:24px}.duck-chat .duck-welcome h3{max-width:320px;margin:0 auto 14px;font-size:25px}.duck-answer-row{width:94%}.duck-chat .ask-answer{max-width:100%}.duck-chat-page .duck-welcome{padding-top:65px}@media (max-width:600px){.duck-chat .duck-welcome{padding-top:36px;padding-bottom:18px}.duck-chat .duck-welcome h3{max-width:290px;font-size:24px}.duck-chat-header .duck-avatar{width:44px;height:44px}}.duck-access-form{gap:.65rem;padding:.4rem;font-size:.9rem;display:grid}.duck-access-form p{margin:0}.duck-access-form input{box-sizing:border-box;background:var(--panel);width:100%;min-width:0;color:inherit;font:inherit;border:1px solid;border-radius:.6rem;padding:.65rem}.duck-access-form button{font:inherit;cursor:pointer;border:1px solid;border-radius:.6rem;justify-self:start;padding:.6rem .9rem}.duck-access-form button:disabled{opacity:.5;cursor:default}.duck-access-form [role=alert]{font-weight:600}
