/* Persistent assistant: a quiet launcher, one shared conversation. */
.fd-chat-home{position:relative;width:min(736px,100%);margin:32px auto 0;text-align:left}
.fd-chat-home>.fd-conversation{width:100%;margin:0}
.fd-chat-home .fd-chat-open .fd-composer{border-top:0!important}
.fd-chat-resume{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;min-height:160px;padding:28px;border:1px solid #d8e2ef;border-radius:28px;background:#f6f9fe;color:#213e60;font:500 17px/1.6 Anuphan,sans-serif;cursor:pointer}
.fd-chat-resume svg{width:25px;height:25px}.fd-chat-resume svg:last-child{width:18px}.fd-chat-resume .fd-ai-mascot{width:32px;height:32px;object-fit:contain}
.fd-chat-launcher{position:fixed;right:24px;bottom:24px;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));z-index:45;display:flex;align-items:center;gap:10px;min-height:50px;padding:11px 20px;border:1px solid #dce3ec;border-radius:999px;background:#fff;color:#213e60;box-shadow:0 2px 5px #13273d08,0 8px 30px #13273d1a;font:600 14px/1.5 Anuphan,sans-serif;cursor:pointer;transition:box-shadow .2s,transform .2s}
.fd-chat-launcher>svg{width:25px;height:25px}.fd-chat-launcher>.fd-ai-mascot{width:30px;height:30px;object-fit:contain}
.fd-chat-launcher:hover{transform:translateY(-2px);box-shadow:0 3px 8px #13273d0d,0 10px 32px #13273d26}
.fd-chat-launcher i{display:none;width:7px;height:7px;border-radius:50%;background:#e68c3a}
.fd-chat-launcher.fd-has-reply i,.fd-chat-launcher.fd-is-pending i{display:block}
.fd-chat-launcher.fd-is-pending i{background:#94b6ef;animation:fd-dock-pulse 1.2s ease-in-out infinite}
.fd-dock{position:fixed;inset:12px 12px 12px auto;z-index:80;display:flex;flex-direction:column;width:440px;max-width:calc(100vw - 24px);height:calc(100vh - 24px);height:calc(100dvh - 24px);border:1px solid #dce3eb;border-radius:24px;background:#fbfcfe;color:#213e60;box-shadow:-12px 4px 60px #13273d1a,0 4px 12px #13273d0a;overflow:hidden;text-align:left;color-scheme:light;animation:fd-dock-enter .22s ease-out}
.fd-dock.fd-dock-expanded{width:min(760px,calc(100vw - 48px))}
.fd-dock-header{display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #e8edf3;background:#fff}
.fd-dock-brand{display:flex;align-items:center;gap:10px}.fd-dock-brand>svg{width:27px;height:27px}.fd-dock-brand>.fd-ai-mascot{width:30px;height:30px;object-fit:contain}
.fd-dock-brand>span{font:600 18px/1.2 Anuphan,sans-serif;letter-spacing:-.025em}.fd-dock-brand b{font-weight:400}
.fd-dock-brand small{display:block;margin-top:4px;font:400 10px/1.3 Anuphan,sans-serif;letter-spacing:.02em;color:#8190a3}
.fd-dock-controls{display:flex;gap:2px}.fd-dock-controls button{display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:12px;background:transparent;color:#687789;cursor:pointer}.fd-dock-controls button:hover{background:#edf2f8;color:#213e60}.fd-dock-controls svg{width:19px;height:19px}
.fd-dock-content{display:flex;flex:1;min-height:0;overflow:hidden}
.fd-dock .fd-conversation{display:flex;flex:1;flex-direction:column;width:100%;min-height:0;margin:0}
.fd-dock .fd-context-bar{display:none}
.fd-dock .fd-chat-shell{display:flex;flex:1;flex-direction:column;min-height:0;border:0;border-radius:0;box-shadow:none;background:transparent}
.fd-dock #fd-chat-body{flex:1;max-height:none;min-height:0;overflow-y:auto;scroll-padding:20px}
.fd-dock #fd-chat-log{padding:24px 22px 0}
.fd-dock .fd-message{max-width:94%;margin-bottom:26px}.fd-dock .fd-message p{font-size:14px;line-height:1.85}.fd-dock .fd-message-user{background:#eaf0f8;border-radius:20px 20px 5px 20px}
body.frontdoor-preview .fd-dock .fd-conversation .fd-composer{flex:none;width:calc(100% - 24px);margin:4px 12px 12px;padding:16px 10px 10px 18px;border:1px solid #dce3eb!important;border-radius:24px;background:#fff;box-shadow:0 2px 6px #13273d05;max-height:50%;overflow-y:auto}
body.frontdoor-preview .fd-dock .fd-conversation .fd-composer:focus-within{border-color:#94b6ef!important}
body.frontdoor-preview .fd-dock .fd-conversation .fd-composer textarea{font-size:16px;height:48px;min-height:max(48px,var(--fd-example-height,0px));max-height:128px}
.fd-dock .fd-prompt-example{inset:16px 18px auto;font-size:16px}
.fd-dock .fd-composer-bottom{gap:6px}.fd-dock .fd-composer-actions{gap:2px}
.fd-chat-welcome{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100%;padding:40px 26px;text-align:center}
.fd-welcome-mark{display:grid;place-items:center;width:64px;height:64px;margin-bottom:22px;border-radius:22px;background:#eaf1fa;color:#213e60}.fd-welcome-mark svg{width:37px;height:37px}.fd-welcome-mark .fd-ai-mascot{width:52px;height:52px;object-fit:contain}
.fd-chat-welcome h2{margin:0 0 10px;color:#213e60;font:600 22px/1.5 Anuphan,sans-serif;letter-spacing:-.025em}.fd-chat-welcome p{max-width:320px;margin:0;color:#687789;font:400 14px/1.8 Anuphan,sans-serif}
.fd-dock .fd-chat-review{margin:0 16px 20px;padding:20px}.fd-dock .fd-chat-review h2{font-size:19px}.fd-dock .fd-chat-review dl{gap:14px}.fd-dock .fd-chat-review dd{font-size:13px}
/* Shortcuts belong to the panel, including before its script has initialized. */
body>.fd-floating-actions{display:none}
.fd-dock .fd-floating-actions{position:static;display:flex;flex-direction:row;justify-content:center;flex:none;gap:0;padding:0 12px 12px;visibility:visible;pointer-events:auto}
.fd-dock .fd-floating-actions a{display:flex;flex-direction:row;gap:6px;width:auto;height:auto;min-height:32px;padding:4px 14px;border:0;border-radius:8px;box-shadow:none;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;color:#687789;transform:none}
.fd-dock .fd-floating-actions a+a{border-left:1px solid #dce3eb;border-radius:0}
.fd-dock .fd-floating-actions a::before,.fd-dock .fd-floating-actions a::after,.fd-dock .fd-action-tooltip{display:none}.fd-dock .fd-floating-actions .icon{width:16px;height:16px}.fd-dock .fd-action-caption{font-size:11px;font-weight:400}
.fd-chat-launcher:focus-visible,.fd-chat-resume:focus-visible,.fd-dock button:focus-visible{outline:3px solid #94b6ef;outline-offset:3px}
.fd-chat-launcher[hidden],.fd-chat-resume[hidden],.fd-dock[hidden]{display:none!important}
body:has(dialog[open]) .fd-chat-launcher,body:has(#discover-view[hidden]) .fd-chat-launcher{visibility:hidden}
@keyframes fd-dock-enter{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none}}
@keyframes fd-dock-pulse{50%{opacity:.35}}
@media(max-width:700px){
  .fd-dock,.fd-dock.fd-dock-expanded{inset:var(--fd-dock-top,0px) 0 auto;width:100%;max-width:none;height:var(--fd-dock-height,100dvh);border:0;border-radius:0;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
  .fd-dock-header{padding:10px 12px}.fd-dock-controls button{width:44px;height:44px}.fd-dock [data-dock-expand]{display:none}
  .fd-chat-launcher{right:16px;bottom:16px;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));min-height:48px;padding:10px 16px;font-size:13px}
  .fd-dock .fd-floating-actions{padding-bottom:4px}
}
@media(max-width:600px){.fd-chat-home{margin-top:24px}.fd-chat-resume{min-height:158px;font-size:15px}}
@media(max-width:600px) and (max-height:740px){.fd-chat-home{margin-top:20px}}
@media(max-width:359px) and (max-height:650px){.fd-chat-home{margin-top:12px}}
@media(max-width:359px){.fd-dock .fd-composer-bottom{flex-wrap:nowrap}.fd-dock .fd-composer-actions{gap:0}.fd-dock .fd-composer-tools{gap:0}.fd-dock .fd-mic,.fd-dock .fd-attach{width:40px}}
@media(prefers-reduced-motion:reduce){.fd-dock,.fd-chat-launcher.fd-is-pending i{animation:none}.fd-chat-launcher{transition:none}.fd-chat-launcher:hover{transform:none}}
