#fg-support{position:fixed;right:20px;bottom:20px;z-index:9999;font:14px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif;color:#f1f6fa;color-scheme:dark;text-align:left;letter-spacing:normal}
#fg-support *{box-sizing:border-box}
#fg-support [hidden]{display:none!important}
#fg-support p{margin:0;color:#a6b8c7;line-height:1.55}
#fg-support button,#fg-support input,#fg-support select,#fg-support textarea{font:inherit}
#fg-support button{border:0;border-radius:10px;padding:11px 15px;background:#e5cb94;color:#241e13;font-weight:650;cursor:pointer;line-height:1.4}
#fg-support button:disabled{opacity:.45;cursor:default}
#fg-support button:not(:disabled):hover{filter:brightness(1.07)}
#fg-support a{color:#e5cb94}
#fg-support :is(button,a,summary,input,select,textarea):focus-visible{outline:2px solid #f1dfb4;outline-offset:3px}
#fg-support .fg-secondary{background:transparent;color:#e5cb94;font-size:12px;font-weight:550;padding:9px 0}
#fg-support label{display:block;margin:14px 0;color:#c6cfd5;font-size:12px;font-weight:550}
#fg-support input,#fg-support select,#fg-support textarea{display:block;width:100%;margin-top:7px;padding:11px 12px;border:1px solid #39404a;border-radius:10px;background:#10161c;color:#f1f6fa;font-size:16px;line-height:1.45}
#fg-support input::placeholder,#fg-support textarea::placeholder{color:#8f9ba5;opacity:1}
#fg-support select{min-height:44px}
#fg-support textarea{min-height:88px;resize:vertical}

/* One scrolling body keeps the conversation header and composer in view. */
#fg-support #fg-chat-panel{display:flex;flex-direction:column;width:396px;max-width:calc(100vw - 32px);height:600px;max-height:calc(100dvh - 108px);margin:0 0 12px;padding:0;overflow:hidden;background:#141a20;border:1px solid #39404a;border-radius:20px;box-shadow:0 20px 65px #0008}
#fg-support .fg-chat-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex:none;position:relative;z-index:2;padding:18px 16px 16px 20px;border-bottom:1px solid #303740;background:#1b222a}
#fg-support .fg-chat-heading{min-width:0;padding-top:1px}
#fg-support .fg-chat-heading b{display:block;font-size:16px;font-weight:700;letter-spacing:-.2px;color:#f4ecd9}
#fg-support #service-hours{margin:4px 0 0;font-size:10px;line-height:1.45;color:#a6b8c7;max-width:245px}
#fg-support .fg-header-actions{display:flex;align-items:center;gap:2px;flex:none}
#fg-support #fg-chat-close,#fg-support #chat-actions-menu summary{display:grid;place-items:center;width:32px;height:32px;margin:0;padding:0;border-radius:8px;border:0;background:transparent;color:#b9c3cb;font-size:24px;line-height:1;cursor:pointer}
#fg-support #fg-chat-close:hover,#fg-support #chat-actions-menu summary:hover,#fg-support #chat-actions-menu[open] summary{background:#303740;color:#f4ecd9}
#fg-support #chat-actions-menu{position:relative}
#fg-support #chat-actions-menu summary{list-style:none;font-weight:700;letter-spacing:1px}
#fg-support #chat-actions-menu summary::-webkit-details-marker{display:none}
#fg-support #conversation-tools{position:absolute;right:0;top:40px;width:235px;max-width:calc(100vw - 72px);padding:6px;background:#252c34;border:1px solid #454b53;border-radius:12px;box-shadow:0 12px 30px #0007}
#fg-support #conversation-tools button{display:block;width:100%;padding:11px 12px;text-align:left;color:#f0e5cd;font-size:13px;font-weight:500;border-radius:7px}
#fg-support #conversation-tools button:hover{background:#363c43}
#fg-support #conversation-tools .fg-browser-fallback{display:block;margin:3px 0 0;padding:11px 12px;border-top:1px solid #41464c;color:#a6b8c7;text-align:left;text-decoration:none;font-size:11px;line-height:1.45}
#fg-support #conversation-tools .fg-browser-fallback:hover{color:#f0e5cd;background:#363c43;border-radius:0 0 7px 7px}
#fg-support #new-chat{border-top:1px solid #41464c;border-radius:0 0 7px 7px!important}
#fg-support .fg-chat-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:18px 18px 20px;scrollbar-width:thin;scrollbar-color:#454b53 transparent}
#fg-support #messages{display:flex;flex-direction:column;gap:10px;max-height:none;overflow:visible}
#fg-support #messages:empty{display:none}
#fg-support .bubble{align-self:flex-start;max-width:91%;padding:11px 13px;margin:0;border-radius:13px 13px 13px 4px;background:#252c34;color:#e7ecf0;font-size:13px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
#fg-support .bubble.customer{align-self:flex-end;border-radius:13px 13px 4px 13px;background:#393329;color:#fff2d9}
#fg-support .fg-chat-footer{flex:none;padding:12px 16px 14px;border-top:1px solid #303740;background:#1b222a}
#fg-support #reply{display:flex;align-items:flex-end;gap:8px;margin:0}
#fg-support #text{flex:1;min-width:0;height:46px;min-height:46px;max-height:126px;margin:0;padding:11px 12px;resize:none;border-color:#414850;background:#141a20;font-size:16px;line-height:22px}
#fg-support #reply-send{flex:none;height:46px;padding:0 14px;font-size:12px}
#fg-support #status{margin:8px 1px 0;color:#9ba8b2;font-size:10px;line-height:1.45;overflow-wrap:anywhere}
#fg-support #reply[hidden]+#status{margin-top:0}
#fg-support #status:empty{display:none}

/* Intake and contextual account/order controls stay inside the conversation. */
#fg-support #intake>p{color:#f1f6fa;font-size:15px;font-weight:650}
#fg-support #choices{display:grid;gap:9px;margin:16px 0 0}
#fg-support #choices button{text-align:left;padding:13px 15px}
#fg-support #question{border:1px solid #514a3f;background:#252c34;color:#f0e5cd}
#fg-support #intro{color:#d0d8de;font-size:13px;margin-bottom:14px}
#fg-support #customer-notice,#fg-support #order-feedback,#fg-support #flow-message{font-size:12px}
#fg-support #customer-login{margin-top:10px}
#fg-support #order-feedback{margin-top:10px}
#fg-support #begin{width:100%}
#fg-support #change-topic{margin-top:8px}
#fg-support #flow-title{color:#f4ecd9;font-size:15px;font-weight:650}
#fg-support #flow-actions{display:grid;gap:8px;margin:14px 0}
#fg-support #flow-actions button{text-align:left;background:#26282b;color:#f3e9d4;border:1px solid #45413a;font-size:12px;font-weight:550}
#fg-support #flow-code{display:block;text-align:center;padding:20px 8px;margin:16px 0;border:1px solid #e5cb94;border-radius:12px;color:#e5cb94;font-size:28px;letter-spacing:4px;background:#10161c;overflow-wrap:anywhere}
#fg-support #flow-extra a{display:block;padding:14px 0;font-size:13px}
#fg-support #chat-identity,#fg-support #chat-order-panel,#fg-support #chat-history{margin:16px 0 0;padding:15px;border:1px solid #41413d;border-radius:13px;background:#20262d}
#fg-support #chat-identity{border-left:3px solid #d9b86d}
#fg-support #chat-identity strong{color:#f4ecd9;font-size:13px;font-weight:700}
#fg-support #chat-identity p{margin:6px 0 12px;font-size:12px;line-height:1.55}
#fg-support #chat-login{width:100%;font-size:12px;padding:10px 12px}
#fg-support #chat-identity-status,#fg-support #paused-notice{margin:12px 0;font-size:12px;overflow-wrap:anywhere}
#fg-support #paused-notice{padding:12px;border:1px solid #45413a;border-radius:10px;background:#26282b}
#fg-support #chat-order-status{font-size:12px}
#fg-support #chat-order-login{margin-top:12px}
#fg-support #chat-order-item{font-size:14px}
#fg-support #chat-order-confirm{font-size:12px}
#fg-support #chat-order-close{margin-left:10px}
#fg-support #chat-history:empty{display:none}
#fg-support #chat-history .fg-secondary{display:block;width:100%;padding:10px 0;text-align:left;font-size:12px;overflow-wrap:anywhere}
#fg-support #chat-history .fg-secondary+.fg-secondary{border-top:1px solid #39404a;border-radius:0}

/* The launcher is shared by Links and the isolated WooCommerce widget. */
#fg-support #fg-chat-open{display:flex;align-items:center;gap:12px;min-height:64px;padding:10px 15px 10px 10px;border:1px solid #ddc48a;border-radius:22px;background:linear-gradient(125deg,#f1dfb4,#d9b86d);color:#241e13;box-shadow:0 8px 30px #0005,inset 0 1px 0 #ffffff70;transition:transform .18s,box-shadow .18s;text-align:left}
#fg-support #fg-chat-open:hover{transform:translateY(-2px);box-shadow:0 12px 32px #0007}
#fg-support .fg-launch-icon{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:14px;background:#241e13;color:#ebd49e}
#fg-support .fg-launch-copy{display:grid;gap:2px}
#fg-support .fg-launch-copy strong{font-size:13px;font-weight:750;line-height:1.4}
#fg-support .fg-launch-copy>span{font-size:11px;line-height:1.4;color:#54452b}
#fg-support .fg-launch-chevron{font-size:20px;transition:transform .18s}
#fg-support #fg-chat-open[aria-expanded=true] .fg-launch-chevron{transform:rotate(180deg)}
@media(prefers-reduced-motion:reduce){#fg-support #fg-chat-open,#fg-support .fg-launch-chevron{transition:none}}
@media(max-width:480px){#fg-support{right:12px;bottom:max(12px,env(safe-area-inset-bottom))}#fg-support #fg-chat-panel{width:396px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 108px)}#fg-support .fg-chat-header{padding:15px 12px 13px 16px}#fg-support .fg-chat-body{padding:16px 14px}#fg-support .fg-chat-footer{padding:11px 12px 12px}}
@media(max-height:520px){#fg-support #fg-chat-panel{max-height:calc(100dvh - 100px)}#fg-support .fg-chat-header{padding-top:10px;padding-bottom:10px}#fg-support .fg-chat-footer{padding-top:8px;padding-bottom:8px}}
#fg-support #customer-resume-card{margin:0 0 16px;padding:15px;border:1px solid #514a3f;border-left:3px solid #d9b86d;border-radius:13px;background:#20262d}
#fg-support #customer-resume-title{display:block;color:#f4ecd9;font-size:13px;font-weight:700}
#fg-support #customer-resume-description{margin:6px 0 12px;font-size:12px}
#fg-support #customer-resume-items{display:grid;gap:8px}
#fg-support #customer-resume-items button{text-align:left;font-size:12px;overflow-wrap:anywhere}
#fg-support #customer-resume-new{display:block;margin-top:6px}
/* Conversation-first Frigga palette and layout. */
#fg-support #fg-chat-panel{background:#0d1820;border-color:#2c404e;border-radius:24px;box-shadow:0 24px 80px #0009}
#fg-support .fg-chat-header{align-items:center;padding:21px 20px 18px;background:#12212c;border-bottom:1px solid #2b3b47}
#fg-support .fg-brand-kicker{display:block;color:#d8bf87;font-size:9px;font-weight:750;letter-spacing:2.4px;margin-bottom:7px}
#fg-support .fg-chat-heading b{font-size:17px;letter-spacing:-.4px;color:#f1f6f9}
#fg-support #service-hours{font-size:9px;color:#9eb1c0;margin-top:6px}
#fg-support .fg-chat-body{padding:24px 20px;background:radial-gradient(ellipse at 20% 0,#18303c66,transparent 55%)}
#fg-support .fg-welcome{padding:10px 2px 22px}
#fg-support .fg-welcome-mark{display:grid;place-items:center;width:40px;height:40px;margin-bottom:20px;border:1px solid #bca87540;border-radius:13px;color:#e1c994;background:#ddc1830a;font-size:22px}
#fg-support #welcome-title{margin:0 0 9px;color:#f5f7f9;font-size:29px;line-height:1.15;font-weight:700;letter-spacing:-1px;overflow-wrap:anywhere}
#fg-support .fg-welcome p{font-size:14px;color:#aebfca;line-height:1.6}
#fg-support #choices{gap:12px;margin:0}
#fg-support #choices button{display:flex;align-items:center;gap:12px;min-height:82px;padding:16px;text-align:left;border:1px solid #334954;background:#162833;color:#eff5f8;border-radius:15px;filter:none}
#fg-support #choices button:hover{border-color:#bba371;background:#1b3240}
#fg-support #choices button>span:nth-child(2){flex:1;font-size:13px;font-weight:650}
#fg-support #choices small{display:block;margin-top:4px;color:#9fb3c2;font-size:11px;line-height:1.4;font-weight:400}
#fg-support #choices button>span:last-child{color:#baa779;font-size:22px;font-weight:400}
#fg-support .fg-choice-icon{display:grid;place-items:center;flex:none;width:32px;height:32px;border:1px solid #a2bcc629;border-radius:10px;background:#233d4b;color:#d8c28e;font-size:18px}
#fg-support #back-conversation{margin:-8px 0 18px;padding:7px 0;color:#c6d6df}
#fg-support #intro{margin:2px 0 18px;font-size:13px;color:#c1d0d9}
#fg-support #messages{gap:12px;padding-top:2px}
#fg-support .bubble{max-width:88%;padding:12px 14px;border:1px solid #34475466;border-radius:16px 16px 16px 5px;background:#1a2a35;color:#eaf1f5;font-size:13px;line-height:1.65}
#fg-support .bubble.customer{background:#19465b;color:#f0f8fc;border-color:#32667c66;border-radius:16px 16px 5px 16px;box-shadow:0 3px 12px #0002}
#fg-support .fg-message-time{display:block;text-align:right;margin-top:6px;color:#a6c7d5;font-size:9px;line-height:1.2;letter-spacing:.2px}
#fg-support .bubble.reply .fg-message-time{color:#90a7b6}
#fg-support .fg-day{align-self:center;padding:5px 10px;margin:8px 0 5px;font-size:10px;color:#99afbd;border:1px solid #52677530;border-radius:20px;background:#14232d}
#fg-support .fg-chat-footer{background:#12212c;border-color:#2b3b47;padding:14px 16px 13px}
#fg-support .fg-composer-row,#fg-support #reply{display:flex;align-items:flex-end;gap:9px}
#fg-support #first,#fg-support #text{flex:1;min-width:0;height:50px;min-height:50px;max-height:120px;resize:vertical;margin:0;padding:12px 13px;border:1px solid #354b5a;border-radius:13px;background:#0e1b24;color:#eff6fa;line-height:22px;font-size:16px}
#fg-support #first:focus,#fg-support #text:focus{border-color:#bca87a;outline:1px solid #bca87a40;outline-offset:0}
#fg-support #begin,#fg-support #reply-send{display:grid;place-items:center;flex:none;width:44px;min-height:46px;height:46px;padding:0;border-radius:13px;background:linear-gradient(135deg,#efddb3,#d8bb7b);color:#18232a;font-size:23px;font-weight:600;box-shadow:inset 0 1px 0 #ffffff60}
#fg-support #begin[data-retry=true],#fg-support #reply-send[data-retry=true]{width:auto;padding:0 11px;font-size:11px}
#fg-support #name-label{margin:0 0 12px;color:#adbfcb;font-size:11px;font-weight:400}
#fg-support #name{margin-top:6px;min-height:44px;background:#0e1b24;border-color:#354b5a;border-radius:12px}
#fg-support .fg-visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#fg-support #status{font-size:10px;color:#9db2c0;margin:10px 1px 0}
#fg-support #status:empty{display:none}
#fg-support #recent-orders{display:grid;gap:9px;margin:12px 0}
#fg-support .fg-order-card{display:block;width:100%;text-align:left;background:#172d3a;color:#ecf3f7;border:1px solid #36505f;border-radius:13px;padding:14px}
#fg-support .fg-order-card strong{display:block;font-size:12px;line-height:1.5;font-weight:600}
#fg-support .fg-order-card span{display:block;margin-top:6px;font-size:10px;font-weight:400;color:#a7c0ce}
#fg-support #flow{padding:4px 0 14px}
#fg-support #flow-actions button{background:#19313f;color:#e8f1f7;border-color:#375060;border-radius:12px;padding:13px;font-size:12px}
#fg-support #flow-title{color:#f0f5f8;line-height:1.45;font-size:16px;letter-spacing:-.25px}
#fg-support #chat-identity,#fg-support #chat-order-panel,#fg-support #customer-resume-card{background:#172a36;border-color:#3c5260}
@media(max-width:480px){#fg-support .fg-chat-header{padding:18px 16px}#fg-support .fg-chat-body{padding:20px 16px}#fg-support #welcome-title{font-size:27px}#fg-support .fg-chat-footer{padding:12px}#fg-support #choices button{min-height:76px;padding:14px}}
@media(max-height:520px){#fg-support .fg-welcome{padding:0 0 14px}#fg-support .fg-welcome-mark{display:none}#fg-support .fg-chat-header{padding:10px 14px}#fg-support .fg-chat-body{padding-top:14px}}

/* Unread replies and delivery acknowledgement never expose message content. */
#fg-support #fg-chat-open{position:relative}
#fg-support #unread-count{position:absolute;right:-5px;top:-6px;min-width:23px;height:23px;padding:2px 6px;border:2px solid #0d1820;border-radius:20px;background:#20718e;color:#fff;font-size:11px;text-align:center}
#fg-support #new-messages{align-self:center;flex:none;margin:0 0 10px;padding:7px 14px;border:1px solid #416479;border-radius:24px;background:#17394b;color:#eaf7ff;font-size:11px;box-shadow:0 3px 12px #0004}
#fg-support .fg-message-receipt{display:block;margin-top:6px;text-align:right;font-size:9px;color:#acd0df;line-height:1.2}
#fg-support .fg-message-receipt+.fg-message-time{margin-top:3px}
#fg-support #send-feedback{font-size:10px;margin:0 0 8px;color:#a6cbdc}
#fg-support #send-feedback:empty{display:none}
#fg-support #send-feedback[data-state=error]{color:#efbf9d}
#fg-support[data-keyboard=true]{bottom:calc(var(--fg-keyboard-bottom,0px) + 8px)}
#fg-support[data-keyboard=true] #fg-chat-open{display:none}
#fg-support[data-keyboard=true] #fg-chat-panel{height:var(--fg-visible-height);max-height:calc(var(--fg-visible-height) - 16px);margin-bottom:0}
#fg-support[data-keyboard=true] .fg-chat-header{padding-top:10px;padding-bottom:10px}
#fg-support[data-keyboard=true] .fg-chat-footer{padding-top:8px;padding-bottom:8px}

/* Compact time and confirmed operator receipt on the message's final line. */
#fg-support .bubble{padding:9px 12px;white-space:pre-wrap}
#fg-support .fg-message-meta{float:right;display:inline-flex;align-items:center;gap:5px;white-space:nowrap;margin:7px 0 -2px 12px;font-size:9px;line-height:13px;color:#a6c7d5}
#fg-support .bubble::after{content:"";display:block;clear:both}
#fg-support .fg-message-checks{font-size:12px;letter-spacing:-4px;padding-right:4px;line-height:13px;color:#a6b8c2;font-weight:650}
#fg-support .fg-message-checks.is-read{color:#65d3ff}
